@windstream/react-shared-components 0.1.56 → 0.1.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contentful/index.esm.js +2 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/index.esm.js +4 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +1 -1
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +1 -1
- package/dist/next/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/next-image/index.tsx +1 -7
- package/src/contentful/blocks/breadcrumbs/index.tsx +75 -76
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import i,{isValidElement as o,cloneElement as a,forwardRef as s,useMemo as l,createElement as c,useRef as u,useState as d,useEffect as p,useCallback as h,createContext as m,useLayoutEffect as f,useContext as g,useInsertionEffect as b,useId as v,Children as y,Fragment as x,useReducer as I,Component as C}from"react";import w from"next/link";import A from"next/image";import N,{flushSync as E,createPortal as k}from"react-dom";import{useRouter as T,usePathname as G,useSearchParams as P}from"next/navigation";function B(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=B(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function S(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=B(e))&&(r&&(r+=" "),r+=t);return r}const R=e=>{const t=D(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),V(n,t)||M(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},V=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?V(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},L=/^\[(.+)\]$/,M=e=>{if(L.test(e)){const t=L.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},D=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)O(n[e],r,e,t);return r},O=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:X(t,e)).classGroupId=n)}if("function"==typeof e)return W(e)?void O(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{O(i,X(t,e),n,r)})})},X=(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},W=e=>e.isThemeGetter,F=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},H=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=z(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},z=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,Z=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},j=/\s+/;function Y(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=J(e))&&(r&&(r+=" "),r+=t);return r}const J=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=J(e[r]))&&(n&&(n+=" "),n+=t);return n};function U(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:F(e.cacheSize),parseClassName:H(e),sortModifiers:Z(e),...R(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(j);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let m=!!h,f=r(m?p.substring(0,h):p);if(!f){if(!m){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}m=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(a.includes(v))continue;a.push(v);const y=i(f,m);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(Y.apply(null,arguments))}}const _=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},$=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Q=/^\((?:(\w[\w-]*):)?(.+)\)$/i,K=/^\d+\/\d+$/,q=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ee=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,te=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ne=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,re=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ie=e=>K.test(e),oe=e=>!!e&&!Number.isNaN(Number(e)),ae=e=>!!e&&Number.isInteger(Number(e)),se=e=>e.endsWith("%")&&oe(e.slice(0,-1)),le=e=>q.test(e),ce=()=>!0,ue=e=>ee.test(e)&&!te.test(e),de=()=>!1,pe=e=>ne.test(e),he=e=>re.test(e),me=e=>!ge(e)&&!Ce(e),fe=e=>Ge(e,Re,de),ge=e=>$.test(e),be=e=>Ge(e,Ve,ue),ve=e=>Ge(e,Le,oe),ye=e=>Ge(e,Be,de),xe=e=>Ge(e,Se,he),Ie=e=>Ge(e,De,pe),Ce=e=>Q.test(e),we=e=>Pe(e,Ve),Ae=e=>Pe(e,Me),Ne=e=>Pe(e,Be),Ee=e=>Pe(e,Re),ke=e=>Pe(e,Se),Te=e=>Pe(e,De,!0),Ge=(e,t,n)=>{const r=$.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Pe=(e,t,n=!1)=>{const r=Q.exec(e);return!!r&&(r[1]?t(r[1]):n)},Be=e=>"position"===e||"percentage"===e,Se=e=>"image"===e||"url"===e,Re=e=>"length"===e||"size"===e||"bg-size"===e,Ve=e=>"length"===e,Le=e=>"number"===e,Me=e=>"family-name"===e,De=e=>"shadow"===e,Oe=()=>{const e=_("color"),t=_("font"),n=_("text"),r=_("font-weight"),i=_("tracking"),o=_("leading"),a=_("breakpoint"),s=_("container"),l=_("spacing"),c=_("radius"),u=_("shadow"),d=_("inset-shadow"),p=_("text-shadow"),h=_("drop-shadow"),m=_("blur"),f=_("perspective"),g=_("aspect"),b=_("ease"),v=_("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ce,ge],x=()=>[Ce,ge,l],I=()=>[ie,"full","auto",...x()],C=()=>[ae,"none","subgrid",Ce,ge],w=()=>["auto",{span:["full",ae,Ce,ge]},ae,Ce,ge],A=()=>[ae,"auto",Ce,ge],N=()=>["auto","min","max","fr",Ce,ge],E=()=>["auto",...x()],k=()=>[ie,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],T=()=>[e,Ce,ge],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ne,ye,{position:[Ce,ge]}],P=()=>["auto","cover","contain",Ee,fe,{size:[Ce,ge]}],B=()=>[se,we,be],S=()=>["","none","full",c,Ce,ge],R=()=>["",oe,we,be],V=()=>[oe,se,Ne,ye],L=()=>["","none",m,Ce,ge],M=()=>["none",oe,Ce,ge],D=()=>["none",oe,Ce,ge],O=()=>[oe,Ce,ge],X=()=>[ie,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[le],breakpoint:[le],color:[ce],container:[le],"drop-shadow":[le],ease:["in","out","in-out"],font:[me],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[le],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[le],shadow:[le],spacing:["px",oe],text:[le],"text-shadow":[le],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ie,ge,Ce,g]}],container:["container"],columns:[{columns:[oe,ge,Ce,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[ae,"auto",Ce,ge]}],basis:[{basis:[ie,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[oe,ie,"auto","initial","none",ge]}],grow:[{grow:["",oe,Ce,ge]}],shrink:[{shrink:["",oe,Ce,ge]}],order:[{order:[ae,"first","last","none",Ce,ge]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:k()}],w:[{w:[s,"screen",...k()]}],"min-w":[{"min-w":[s,"screen","none",...k()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...k()]}],h:[{h:["screen","lh",...k()]}],"min-h":[{"min-h":["screen","lh","none",...k()]}],"max-h":[{"max-h":["screen","lh",...k()]}],"font-size":[{text:["base",n,we,be]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Ce,ve]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",se,ge]}],"font-family":[{font:[Ae,ge,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,Ce,ge]}],"line-clamp":[{"line-clamp":[oe,"none",Ce,ve]}],leading:[{leading:[o,...x()]}],"list-image":[{"list-image":["none",Ce,ge]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ce,ge]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[oe,"from-font","auto",Ce,be]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[oe,"auto",Ce,ge]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ce,ge]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ce,ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ae,Ce,ge],radial:["",Ce,ge],conic:[ae,Ce,ge]},ke,xe]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:B()}],"gradient-via-pos":[{via:B()}],"gradient-to-pos":[{to:B()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],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: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:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[oe,Ce,ge]}],"outline-w":[{outline:["",oe,we,be]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,Te,Ie]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,Te,Ie]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[oe,be]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,Te,Ie]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[oe,Ce,ge]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[oe]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":V()}],"mask-image-t-to-pos":[{"mask-t-to":V()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":V()}],"mask-image-r-to-pos":[{"mask-r-to":V()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":V()}],"mask-image-b-to-pos":[{"mask-b-to":V()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":V()}],"mask-image-l-to-pos":[{"mask-l-to":V()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":V()}],"mask-image-x-to-pos":[{"mask-x-to":V()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":V()}],"mask-image-y-to-pos":[{"mask-y-to":V()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[Ce,ge]}],"mask-image-radial-from-pos":[{"mask-radial-from":V()}],"mask-image-radial-to-pos":[{"mask-radial-to":V()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[oe]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ce,ge]}],filter:[{filter:["","none",Ce,ge]}],blur:[{blur:L()}],brightness:[{brightness:[oe,Ce,ge]}],contrast:[{contrast:[oe,Ce,ge]}],"drop-shadow":[{"drop-shadow":["","none",h,Te,Ie]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",oe,Ce,ge]}],"hue-rotate":[{"hue-rotate":[oe,Ce,ge]}],invert:[{invert:["",oe,Ce,ge]}],saturate:[{saturate:[oe,Ce,ge]}],sepia:[{sepia:["",oe,Ce,ge]}],"backdrop-filter":[{"backdrop-filter":["","none",Ce,ge]}],"backdrop-blur":[{"backdrop-blur":L()}],"backdrop-brightness":[{"backdrop-brightness":[oe,Ce,ge]}],"backdrop-contrast":[{"backdrop-contrast":[oe,Ce,ge]}],"backdrop-grayscale":[{"backdrop-grayscale":["",oe,Ce,ge]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[oe,Ce,ge]}],"backdrop-invert":[{"backdrop-invert":["",oe,Ce,ge]}],"backdrop-opacity":[{"backdrop-opacity":[oe,Ce,ge]}],"backdrop-saturate":[{"backdrop-saturate":[oe,Ce,ge]}],"backdrop-sepia":[{"backdrop-sepia":["",oe,Ce,ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ce,ge]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[oe,"initial",Ce,ge]}],ease:[{ease:["linear","initial",b,Ce,ge]}],delay:[{delay:[oe,Ce,ge]}],animate:[{animate:["none",v,Ce,ge]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Ce,ge]}],"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:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:O()}],"skew-x":[{"skew-x":O()}],"skew-y":[{"skew-y":O()}],transform:[{transform:[Ce,ge,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:X()}],"translate-x":[{"translate-x":X()}],"translate-y":[{"translate-y":X()}],"translate-z":[{"translate-z":X()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ce,ge]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ce,ge]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[oe,we,be,ve]}],stroke:[{stroke:["none",...T()]}],"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"]}},Xe=(e,t,n)=>{void 0!==n&&(e[t]=n)},We=(e,t)=>{if(t)for(const n in t)Xe(e,n,t[n])},Fe=(e,t)=>{if(t)for(const n in t)He(e,t,n)},He=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},ze=((e,...t)=>"function"==typeof e?U(Oe,e,...t):U(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(Xe(e,"cacheSize",t),Xe(e,"prefix",n),Xe(e,"experimentalParseClassName",r),We(e.theme,o.theme),We(e.classGroups,o.classGroups),We(e.conflictingClassGroups,o.conflictingClassGroups),We(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Xe(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Fe(e.theme,i.theme),Fe(e.classGroups,i.classGroups),Fe(e.conflictingClassGroups,i.conflictingClassGroups),Fe(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),He(e,i,"orderSensitiveModifiers"),e))(Oe(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),Ze=(...e)=>ze(S(...e)),je="function"==typeof Buffer,Ye="function"==typeof TextDecoder?new TextDecoder:void 0,Je="function"==typeof TextEncoder?new TextEncoder:void 0,Ue=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),_e=(()=>{let e={};return Ue.forEach((t,n)=>e[t]=n),e})(),$e=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Qe=String.fromCharCode.bind(String),Ke="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),qe=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),et=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),tt=e=>{let t,n,r,i,o="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=Ue[t>>18&63]+Ue[t>>12&63]+Ue[t>>6&63]+Ue[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},nt="function"==typeof btoa?e=>btoa(e):je?e=>Buffer.from(e,"binary").toString("base64"):tt,rt=je?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Qe.apply(null,e.subarray(n,n+4096)));return nt(t.join(""))},it=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Qe(192|t>>>6)+Qe(128|63&t):Qe(224|t>>>12&15)+Qe(128|t>>>6&63)+Qe(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Qe(240|t>>>18&7)+Qe(128|t>>>12&63)+Qe(128|t>>>6&63)+Qe(128|63&t)},ot=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,at=e=>e.replace(ot,it),st=je?e=>Buffer.from(e,"utf8").toString("base64"):Je?e=>rt(Je.encode(e)):e=>nt(at(e)),lt=(e,t=!1)=>t?qe(st(e)):st(e),ct=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ut=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Qe((t>>>10)+55296)+Qe(56320+(1023&t));case 3:return Qe((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Qe((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},dt=e=>e.replace(ct,ut),pt=e=>{if(e=e.replace(/\s+/g,""),!$e.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=_e[e.charAt(o++)]<<18|_e[e.charAt(o++)]<<12|(n=_e[e.charAt(o++)])<<6|(r=_e[e.charAt(o++)]),64===n?i.push(Qe(t>>16&255)):64===r?i.push(Qe(t>>16&255,t>>8&255)):i.push(Qe(t>>16&255,t>>8&255,255&t));return i.join("")},ht="function"==typeof atob?e=>atob(et(e)):je?e=>Buffer.from(e,"base64").toString("binary"):pt,mt=je?e=>Ke(Buffer.from(e,"base64")):e=>Ke(ht(e).split("").map(e=>e.charCodeAt(0))),ft=je?e=>Buffer.from(e,"base64").toString("utf8"):Ye?e=>Ye.decode(mt(e)):e=>dt(ht(e)),gt=e=>et(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),bt=e=>ft(gt(e)),vt=lt,yt=bt;
|
|
4
4
|
/*! js-cookie v3.0.5 | MIT */
|
|
5
|
-
function xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var It=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=xt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",xt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,xt({},this.attributes,t))},withConverter:function(t){return e(xt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const Ct=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const wt=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,At=e=>{if(!e)return null;if(wt(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return wt(t)?t:null}return null};var Nt=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),Et=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),kt=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});const Tt=[Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.OL_LIST,Nt.UL_LIST,Nt.HR,Nt.QUOTE,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Nt.EMBEDDED_RESOURCE,Nt.TABLE],Gt=[Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.OL_LIST,Nt.UL_LIST,Nt.HR,Nt.QUOTE,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Nt.EMBEDDED_RESOURCE];Nt.TABLE,Nt.TABLE_ROW,Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL,Nt.HR,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Nt.EMBEDDED_RESOURCE;const Pt={[Nt.OL_LIST]:[Nt.LIST_ITEM],[Nt.UL_LIST]:[Nt.LIST_ITEM],[Nt.LIST_ITEM]:Gt,[Nt.QUOTE]:[Nt.PARAGRAPH],[Nt.TABLE]:[Nt.TABLE_ROW],[Nt.TABLE_ROW]:[Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL],[Nt.TABLE_CELL]:[Nt.PARAGRAPH,Nt.UL_LIST,Nt.OL_LIST],[Nt.TABLE_HEADER_CELL]:[Nt.PARAGRAPH]};Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6;Nt.PARAGRAPH,Nt.DOCUMENT,Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.OL_LIST,Nt.UL_LIST,Nt.LIST_ITEM,Nt.HR,Nt.QUOTE,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Et.HYPERLINK,Et.ENTRY_HYPERLINK,Et.ASSET_HYPERLINK,Et.EMBEDDED_ENTRY,kt.BOLD,kt.CODE,kt.ITALIC,kt.UNDERLINE,Nt.DOCUMENT,Nt.PARAGRAPH;function Bt(e){if(!function(e){return null!=e&&"object"==typeof e&&"content"in e&&Array.isArray(e.content)}(e)||e.content.length<2)return e;return function(e){if(e.nodeType!==Nt.PARAGRAPH)return!1;if(1!==e.content.length)return!1;const t=e.content[0];return"text"===t.nodeType&&""===t.value}(e.content[e.content.length-1])?{...e,content:e.content.slice(0,-1)}:e}const St=({path:e,property:t,typeName:n,value:r})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:r});class Rt{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,r=e??this.path.last()??"value";return this.catch(St({typeName:"Object",property:r,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(St({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(St({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(St({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let r=!1;n.forEach((n,i)=>{if(r)return;const o=t(n,this.path.of(e).of(i));o.length>0&&(r=!0),this.catch(...o)})}}const Vt=[];class Lt{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Rt(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:r,min:i=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===r.length&&i>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${i} with no nodeTypes`);if(n.minLength("content",i),0===r.length?n.empty("content"):n.each("content",(e,t)=>{const n=new Rt(e,t);return n.object()?(n.enum("nodeType",r),n.errors):n.errors}),n.object("data")){const r=this.validateData?.(e.data,t.of("data"))??[];n.catch(...r)}return n.errors}}class Mt extends Lt{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new Rt(e,t);if(n.object("target")){const r=new Rt(e.target.sys,t.of("target").of("sys"));r.object()&&(r.enum("type",[this.type]),r.enum("linkType",[this.linkType]),"Link"===this.type?(r.string("id"),r.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(r.string("urn"),r.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...r.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const Dt=(e,t)=>new Lt(e,t),Ot=(e,t)=>new Mt(e,t);Dt([...Object.values(Et),"text"].sort()),Dt([Nt.LIST_ITEM]),Ot("Entry",Vt),Dt(()=>({nodeTypes:[Nt.PARAGRAPH],min:1}),(e,t)=>{const n=new Rt(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});function Xt(e,t){return e.map((e,n)=>{return r=Wt(e,t),i=n,o(r)&&null===r.key?a(r,{key:i}):r;var r,i})}function Wt(e,t){const{renderNode:n,renderMark:r,renderText:o,preserveWhitespace:a}=t;if(function(e){return"text"===e.nodeType}(e)){let t=o?o(e.value):e.value;if(a&&!o){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const e=t.split("\n"),n=[];e.forEach((t,r)=>{n.push(t),r!==e.length-1&&n.push(i.createElement("br",null))}),t=n}return e.marks.reduce((e,t)=>r[t.type]?r[t.type](e):e,t)}{const r=Xt(e.content,t);return e.nodeType&&n[e.nodeType]?n[e.nodeType](e,r):i.createElement(i.Fragment,null,r)}}Nt.DOCUMENT,Dt(Tt),Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.QUOTE,Dt(Pt[Nt.QUOTE]),Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Ot("Asset",Vt),Nt.EMBEDDED_RESOURCE,Ot("Contentful:Entry",Vt),Nt.HR,Dt(Vt),Nt.OL_LIST,Nt.UL_LIST,Nt.LIST_ITEM,Dt([...Gt].sort()),Nt.TABLE,Dt(()=>({nodeTypes:[Nt.TABLE_ROW],min:1})),Nt.TABLE_ROW,Dt(()=>({nodeTypes:[Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL],min:1})),Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL,Et.HYPERLINK,new class extends Lt{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Rt(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Et.EMBEDDED_ENTRY,Et.EMBEDDED_RESOURCE,Ot("Contentful:Entry",Vt),Et.ENTRY_HYPERLINK,Ot("Entry",["text"]),Et.ASSET_HYPERLINK,Ot("Asset",["text"]),Et.RESOURCE_HYPERLINK,Ot("Contentful:Entry",["text"]);const Ft={[Nt.DOCUMENT]:(e,t)=>t,[Nt.PARAGRAPH]:(e,t)=>i.createElement("p",null,t),[Nt.HEADING_1]:(e,t)=>i.createElement("h1",null,t),[Nt.HEADING_2]:(e,t)=>i.createElement("h2",null,t),[Nt.HEADING_3]:(e,t)=>i.createElement("h3",null,t),[Nt.HEADING_4]:(e,t)=>i.createElement("h4",null,t),[Nt.HEADING_5]:(e,t)=>i.createElement("h5",null,t),[Nt.HEADING_6]:(e,t)=>i.createElement("h6",null,t),[Nt.EMBEDDED_ENTRY]:(e,t)=>i.createElement("div",null,t),[Nt.EMBEDDED_RESOURCE]:(e,t)=>i.createElement("div",null,t),[Nt.UL_LIST]:(e,t)=>i.createElement("ul",null,t),[Nt.OL_LIST]:(e,t)=>i.createElement("ol",null,t),[Nt.LIST_ITEM]:(e,t)=>i.createElement("li",null,t),[Nt.QUOTE]:(e,t)=>i.createElement("blockquote",null,t),[Nt.HR]:()=>i.createElement("hr",null),[Nt.TABLE]:(e,t)=>i.createElement("table",null,i.createElement("tbody",null,t)),[Nt.TABLE_ROW]:(e,t)=>i.createElement("tr",null,t),[Nt.TABLE_HEADER_CELL]:(e,t)=>i.createElement("th",null,t),[Nt.TABLE_CELL]:(e,t)=>i.createElement("td",null,t),[Et.ASSET_HYPERLINK]:e=>zt(Et.ASSET_HYPERLINK,e),[Et.ENTRY_HYPERLINK]:e=>zt(Et.ENTRY_HYPERLINK,e),[Et.RESOURCE_HYPERLINK]:e=>Zt(Et.RESOURCE_HYPERLINK,e),[Et.EMBEDDED_ENTRY]:e=>zt(Et.EMBEDDED_ENTRY,e),[Et.EMBEDDED_RESOURCE]:(e,t)=>Zt(Et.EMBEDDED_RESOURCE,e),[Et.HYPERLINK]:(e,t)=>i.createElement("a",{href:e.data.uri},t)},Ht={[kt.BOLD]:e=>i.createElement("b",null,e),[kt.ITALIC]:e=>i.createElement("i",null,e),[kt.UNDERLINE]:e=>i.createElement("u",null,e),[kt.CODE]:e=>i.createElement("code",null,e),[kt.SUPERSCRIPT]:e=>i.createElement("sup",null,e),[kt.SUBSCRIPT]:e=>i.createElement("sub",null,e),[kt.STRIKETHROUGH]:e=>i.createElement("s",null,e)};function zt(e,t){return i.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function Zt(e,t){return i.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}function jt(e,t={}){if(!e)return null;let n=e;return t.stripEmptyTrailingParagraph&&(n=Bt(e)),Wt(n,{renderNode:{...Ft,...t.renderNode},renderMark:{...Ht,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}const Yt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Jt=s(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ze("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:i,...o,children:t})});Jt.displayName="ListItem";const Ut=s(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ze(u,`list--${t}`,`list--${a}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(Jt,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});Ut.displayName="List";const _t=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Ze("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};_t.displayName="MaterialIcon";const $t=s(({children:e,as:t,className:n="",style:r,...o},a)=>{const s=t||"p";return i.createElement(s,{ref:a,className:n,style:r,...o},e)});$t.displayName="Text";const Qt=n=>{const{items:r,listIconName:i="check",listItemClassName:o,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==i;return(null==r?void 0:r.length)?e(Ut,{className:Ze("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:r.map((n,r)=>t(Jt,{variant:d?"unstyled":"default",className:Ze(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[d&&e("div",{className:"flex leading-none",children:e(_t,{name:i,size:s,color:Yt[c],weight:"600",className:Ze("block","top"===l?"mt-1":"",u)})}),e($t,{as:"div",children:n})]},r))}):null};Qt.displayName="Checklist";const Kt=s(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},h=Ze(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:h,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",{...m,children:t}):e(w,{href:n||"#",className:h,onClick:p,...c,children:t})});Kt.displayName="Link";const qt={renderMark:{[kt.BOLD]:t=>e("strong",{className:"label3",children:t}),[kt.ITALIC]:t=>e("em",{children:t}),[kt.UNDERLINE]:t=>e("u",{children:t}),[kt.CODE]:t=>e("code",{children:t})},renderNode:{[Nt.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[Nt.HEADING_1]:(t,n)=>e($t,{as:"h1",className:"heading2 md:heading1",children:n}),[Nt.HEADING_2]:(t,n)=>e($t,{as:"h2",className:"heading6 md:heading5",children:n}),[Nt.HEADING_3]:(t,n)=>e($t,{as:"h3",className:"heading6 md:heading5",children:n}),[Nt.HEADING_4]:(t,n)=>e($t,{as:"h3",className:"headingClass",children:n}),[Nt.HEADING_5]:(t,n)=>e($t,{as:"h3",className:"heading6 md:heading5",children:n}),[Nt.HEADING_6]:(t,n)=>e($t,{as:"h3",className:"heading6",children:n}),[Nt.QUOTE]:(t,n)=>e("blockquote",{children:n}),[Nt.UL_LIST]:(t,n)=>e("ul",{children:n}),[Nt.OL_LIST]:(t,n)=>e("ol",{children:n}),[Nt.LIST_ITEM]:(t,n)=>e("li",{children:n}),[Et.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=/^https?:\/\//.test(i);return e("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,children:n})},[Nt.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,a=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.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%"}})},[Nt.EMBEDDED_ENTRY]:n=>{var r,i,o,a;const s=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"callout"===(null===(a=null===(o=null===(i=null==s?void 0:s.sys)||void 0===i?void 0:i.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},[Et.EMBEDDED_ENTRY]:n=>{var r,i,o,a,s,l;const c=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"componentCheckList"===(null===(a=null===(o=null===(i=null==c?void 0:c.sys)||void 0===i?void 0:i.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 en(t,n,r="body1",i="body1 font-bold",o){if(!t||!Array.isArray(t.content))return null;const a={...qt,...o,renderNode:{...qt.renderNode,...null==o?void 0:o.renderNode,[Nt.PARAGRAPH]:(t,n)=>e("div",{className:r,children:n}),[Et.HYPERLINK]:(t,r)=>{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(Kt,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:i,children:r})}}};return jt(t,a)}function tn(e,t){return l(()=>{if(!e||!Array.isArray(e.content))return null;const n={...qt,renderMark:{...qt.renderMark,...null==t?void 0:t.renderMark},renderNode:{...qt.renderNode,...null==t?void 0:t.renderNode}};return jt(e,n)},[e,t])}function nn(r,i){if(!r||!Array.isArray(r.content))return null;const o={...qt,renderMark:{...qt.renderMark,[kt.BOLD]:t=>e("strong",{className:"label2",children:t})},renderNode:{...qt.renderNode,[Nt.PARAGRAPH]:(t,n)=>e("div",{className:"body2",children:n}),[Nt.TABLE]:(t,n)=>{var r,i;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===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[Nt.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[Nt.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center ${i?"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})},[Nt.TABLE_CELL]:(r,i)=>{var o,a,s,l;const c=(null===(o=r.parent)||void 0===o?void 0:o.content.length)>2,u=null===(l=null===(s=null===(a=r.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(_t,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(_t,{name:"cancel",color:"#CECECE",fill:1}):i]})})},[Et.EMBEDDED_ENTRY]:t=>{var n,r,o,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==i?void 0:i.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.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 en(At(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e(Qt,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e("span",{children:l.title||""})}}};return jt(r,o)}const rn={renderMark:{[kt.BOLD]:e=>c("span",{className:"label1"},e)}};function on(e,t,n,r){return l(()=>{var i,o;const a=null!==(o=null===(i=null==e?void 0:e.list)||void 0===i?void 0:i.items)&&void 0!==o?o:[];return t?a.map(e=>{var t,i;return null!==(i=en(At(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:""}):a.map(e=>{var t,i,o,a,s;return{title:null!==(i=en(At(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:"",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,r])}const an=s(({children:t,className:n="",style:r,disabled:i,...o},a)=>e("button",{ref:a,className:Ze(n),style:r,disabled:i,...o,children:t}));an.displayName="Button";const sn=t=>{const{open:n,children:r}=t,i=u(null),[o,a]=d(0);return p(()=>{const e=i.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:r})})};sn.displayName="Collapse";const ln=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[f,g]=d(Boolean(!1));return p(()=>{if(h){const e=window.innerWidth>=1024;g(e)}else g(Boolean(i))},[h,i]),t("div",{className:Ze(m?"rounded-none border":"rounded-surface-xs border",a),children:[t(an,{type:"button",className:Ze(m?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>g(e=>!e),children:[e("span",{className:Ze("label5 flex-1",s),children:r}),e(_t,{className:Ze("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(sn,{open:f,children:e("div",{className:Ze("px-4 py-4",l),children:o})})]})};ln.displayName="Accordion";const cn=t=>{const{className:n,...r}=t;return e("div",{className:Ze("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};cn.displayName="Divider";const un=({items:n,title:r,anchorId:i,background:o="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:h})=>{const[m,f]=d(l);p(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[c]);return e("section",{id:i,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($t,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=h?h:""}`,children:null==n?void 0:n.map((r,i)=>{const o=r.anchorId||`item-${i}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(ln,{title:r.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,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:u,children:e($t,{as:"div",children:r.description})})}),i<n.length-1&&e(cn,{className:"my-6 md:my-10"},`divider-${i}`)]},o)})})]})})},dn=({href:r,title:i,description:o,date:a,category:s,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:h})=>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":h,children:[e(w,{href:r,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e(A,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),i&&e(w,{href:r,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:i}),o&&e($t,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o}),t(w,{href:r,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${i||"this article"}`,children:[e($t,{"aria-label":`${c} about ${i||"this article"}`,className:"label1 text-nowrap",children:c}),e(_t,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),pn=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()},hn=s(({variant:r="primary_brand",isLoading:i=!1,text:o,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},h)=>{const m=(()=>{const e=Ze((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=Ze((s||i)&&"cursor-not-allowed",i&&"pl-7");return Ze(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[r]||"",t,c)})();let f=`button--${r}`;i&&(f+=" button--loading"),s&&(f+=" button--disabled");const g=`${f} ${m}`,b=t(n,{children:[i?e(_t,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ze(pn(u)),children:a}),o]}):o]});return"a"===d?e("a",{ref:h,className:Ze(g),...p,children:b}):e("button",{ref:h,className:Ze(g),disabled:s||i,...p,children:b})});hn.displayName="BrandButton";const mn=n=>{const{showButtonAs:r="solid",buttonVariant:i="primary_brand",buttonLabel:o,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:h,renderCheckPlans:m,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:C,iconSize:w=24,preserveQueryParameters:A,...N}=n;if("check availability"===h){return null==m?void 0:m({ctaText:o,buttonVariant:i,showButtonAs:r,cta:{...n}})}function E(){"modal"===g&&(null==v||v(b))}function k(e){E(),null==y||y(e)}function T(e){E(),null==y||y(e)}const G="undefined"!=typeof window?window.location.search:"",P=s&&A&&G?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(Ct),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(s,G):s;let B=e(an,{onClick:T,className:f,...N});switch(r){case"solid":B=e(hn,P?{as:"a",href:P,id:c,variant:i,text:o,label:a,fullWidth:p,buttonClassName:f,size:C,onClick:k}:{id:c,variant:i,text:o,label:a,fullWidth:p,size:C,onClick:T,buttonClassName:f});break;case"text":B=t(Kt,{title:o,href:P,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:k,children:[o," ",x&&e(_t,{name:x,size:w,fill:I})]})}return B},fn={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},gn="function"==typeof A.default?A.default:A,bn=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},vn=s(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:bn,unoptimized:!1}:{unoptimized:s};return e(gn,{ref:r,className:Ze(t),...n,...l})});vn.displayName="NextImage";const yn=({card:n,lgWidth:r,mdWidth:i})=>{var o,a,s;const l=(null===(o=n.imageAlignment)||void 0===o?void 0:o.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${i} ${r} w-full ${null!==(s=fn[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,r,i;if(!t.image)return null;const o=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(vn,"full"===o?{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(i=t.title)&&void 0!==i?i:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[n.title&&e($t,{as:"h5",className:"heading6 text-text md:heading5",children:n.title}),n.body&&e($t,{as:"div",className:"body1 text-text",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(mn,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right",iconFill:1})})]})})},xn=({title:n,items:r,enableHeading:i=!1,subtitle:o,color:a="dark",maxWidth:s=!0,maxCardsPerRow:l,cardType:c="simple"})=>{const u={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===r.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==a?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",children:[n&&e($t,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e($t,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:r.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(dn,{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(yn,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},In=({fields:t})=>e("div",{children:e($t,{children:"Cards"})}),Cn=s(({as:t,className:n="",...r},i)=>{const o=Ze(n);if(t){return e(t,{ref:i,className:o,...r})}return e("img",{ref:i,className:o,...r})});Cn.displayName="Image";const wn=({onSelect:r,speed:i,isSelected:o=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:c,techType:u,isMax:p})=>{const[h,m]=d(!1),f=`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"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:h,setModalOpen:()=>{m(!1)},speed:i,techType:u,isMax:p},cta:c});return t(n,{children:[t(an,{onClick:()=>{m(!0),r()},className:Ze(f,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${i}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(_t,{className:Ze(l,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},An=({planName:r,planSubtext:i,speed:o,price:a,description:s,bestValue:l=!1,bestValueText:c="best value",giftBadge:u,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,A]=d(!1),N=void 0!==g?g:w,E="dark"===h;return t("article",{className:Ze("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:c}),t("div",{className:Ze("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"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($t,{as:"h3",className:Ze("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e($t,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),t("div",{className:"flex items-start",children:[e($t,{as:"span",className:Ze("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e($t,{as:"span",className:Ze("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t($t,{as:"span",className:Ze("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e($t,{className:Ze("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==u?void 0:u.length)?e("div",{className:Ze("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==u?void 0:u.map(n=>t("div",{className:"flex items-center gap-2",children:[e(Cn,{src:n.icon,alt:n.title,width:24,height:24}),e($t,{as:"div",className:Ze("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(wn,{onSelect:v,speed:o,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:C}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(an,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e($t,{as:"h4",className:Ze("label3",E?"text-text-inverse":"text-text"),children:m}),e(_t,{name:"keyboard_arrow_down",fill:1,size:24,className:Ze("transition-transform duration-300",N&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ze("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(Qt,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(Cn,{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($t,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},Nn=({title:n,quote:r,rating:i,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:S("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e($t,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),i?e("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e(_t,{size:24,name:"star",fill:1,className:S("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(A,{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($t,{as:"p",className:"body3 text-text",children:a})]})]})]});function En({fields:r,renderCheckPlans:i}){var o,a,s,l;const c=(null===(s=null===(a=null===(o=null==r?void 0:r.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[m,f]=d(c),[g,b]=d({}),[v,y]=d(0),x=(null===(l=null==r?void 0:r.items)||void 0===l?void 0:l.items)||[],I=x.length>2,C=u([]),w=h(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),A=h(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(p(()=>{if(!I)return;const e=()=>{const e=C.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,m,x.length]),!x.length&&!(null==r?void 0:r.title))return null;const N=(t,n,r=!1)=>{var o,a,s,l,c,u,d,p;const h=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},k=r?g[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:Ze(r?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(An,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{r?b(e=>({...e,[n]:!e[n]})):f(!m)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:i,cta:t.cta,hostType:"smb"})},n)},E=[...x,...x,...x,...x,...x],k=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>N(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(an,{onClick:w,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(_t,{name:"arrow_back",size:24})}),e(an,{onClick:A,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(_t,{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(-${k+v} * (392px + 12px)))`},children:E.map((e,t)=>N(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>N(e,t))})}const kn=i.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),h=u*c+o/l*100,m=!s||(a?d||p:d);return e("div",{className:Ze("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",m?"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(${h}%)`},children:e(Nn,{...t,isActive:d,className:"h-full"})})});kn.displayName="TestimonialCarouselSlide";const Tn=({fields:n,autoScroll:r=!0,autoScrollInterval:i=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:r=.15,mobileBreakpoint:i=768,autoScrollInterval:o=8e3,enableAutoScroll:a=!0}=e,[s,l]=d(0),[c,m]=d(0),[f,g]=d(!1),[b,v]=d(window.innerWidth),[y,x]=d(!1),I=u(null),C=u(0),w=u(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:o};p(()=>{const e=()=>{var e;v((null===(e=w.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=h(()=>{0!==t&&l(e=>(e+1)%t)},[t]),E=h(()=>{0!==t&&l(e=>0===e?t-1:e-1)},[t]),k=h(e=>{e<0||e>=t||l(e)},[t]),T=h(e=>{C.current=e.touches[0].clientX,g(!0),I.current&&clearInterval(I.current)},[]),G=h(e=>{if(!f)return;const t=e.touches[0].clientX-C.current;m(t)},[f]),P=h(()=>{g(!1);const e=b*r;c>e?E():c<-e&&N(),m(0),a&&o>0&&(I.current=setInterval(()=>{N()},o))},[c,b,r,E,N,a,o]);return p(()=>{const e=()=>{x(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),p(()=>{if(a&&0!==t&&0!==o)return I.current=setInterval(()=>{N()},o),()=>{I.current&&clearInterval(I.current)}},[N,t,a,o]),{currentIndex:s,swipeOffset:c,isSwiping:f,isMobile:y,containerWidth:b,containerRef:w,nextSlide:N,prevSlide:E,goToSlide:k,handleTouchStart:T,handleTouchMove:G,handleTouchEnd:P,constants:A}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(an,{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(_t,{name:"arrow_back",size:24})}),e(an,{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(_t,{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(kn,{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:Ze("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))})]})},Gn=({tabs:n,activeTab:r,onChange:i,className:o})=>{const a=n.indexOf(r),s=u([]),[l,c]=d({width:0,left:0});return p(()=>{const e=s.current[a];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ze("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:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>i(t),className:Ze("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Pn=({fields:n,hasTestimonialCards:r,hasProductCards:i,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:h=!1})=>t("div",{className:`${a} ${i?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e($t,{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($t,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),h&&i&&t("div",{className:"flex flex-col gap-8",children:[h&&i&&c.length>1&&e(Gn,{tabs:c,activeTab:s,onChange:l}),i&&e(En,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),r&&e(Tn,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),o&&e($t,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),Bn=({title:n,subtitle:r,description:i,disclaimer:o,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(vn,{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($t,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e($t,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),i&&e($t,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(mn,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e($t,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),Sn=({body:n,links:r,bottomLinks:o,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(cn,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,a;return t(i.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e($t,{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(mn,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(cn,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(cn,{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(mn,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},Rn=({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(_t,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Vn=t=>{const{link:n,containerClassName:r,autoplay:i=!1,debug:o=!1}=t,{href:a,embedId:s}=l(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""})(e);return{href:e,embedId:t}},[n]);if(o&&console.log("[VimeoEmbed] href:",a,"id:",s),!s)return null;const 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],r=n[2],i=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${s}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Ln=t=>{const{link:n,containerClassName:r,autoplay:i=!1}=t,o=l(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),a=i?"?autoplay=1":"";return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${o}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Mn=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:a,disclaimer:s,description:l,image:c,imageLinks:u,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,A;const[N,E]=d(""),[k,T]=d(!1),G=null!==(w=null==g?void 0:g.link)&&void 0!==w?w:"",P=null==g?void 0:g.image,B=null!==(A=null==g?void 0:g.videoPopup)&&void 0!==A&&A,S=Boolean(N&&N===G),R=g&&P?G.includes("vimeo")?e(Vn,{link:G,autoplay:S}):e(Ln,{link:G,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($t,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e($t,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e($t,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e($t,{as:"div",className:"body1",children:l}),h.length>0&&e(Qt,{items:h,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(Kt,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(Cn,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(mn,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(mn,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,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:[c&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(vn,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:Ze("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;E(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[t("div",{className:Ze(S&&!B&&"hidden",S&&!B?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(vn,{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(Rn,{isHovered:k})})]}),!B&&S&&e("div",{className:Ze("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:R})]})]})]})}),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(),E("")},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})})]})},Dn=({link:n,anchorName:r})=>{const[o,a]=i.useState(!1),s=i.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};p(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(mn,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:l,title:c,items:u}=n,d=Array.isArray(null==u?void 0:u.items)?u.items:[],h=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:h},ref:s,children:[t(mn,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e($t,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e(_t,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},l),e("div",{className:Ze("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&d.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:h,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:d.map((t,n)=>e("li",{className:"submenu-link",children:e(mn,{...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}`))})})]})},On=({link:r})=>{const[o,a]=i.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(mn,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(mn,{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(_t,{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(Xn,{items:u})]})},Xn=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(mn,{...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}`),Wn=n=>{const{showBlinkDot:r=!1,buttonStyle:i="primary",size:o="md",children:a,className:s,...l}=n;return t(Kt,{...l,className:Ze("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]} items-center justify-center rounded-full bg-icon-brand`,children:e(_t,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};Wn.displayName="CallButton";const Fn=s((n,r)=>{const{className:i,size:o,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:p,prefixIconFill:m=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...A}=n,N=C?"error":c,[E,k]=d(!1),[T,G]=d(!1),[P,B]=d(w||"text"),S=h(e=>{e.stopPropagation(),B(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ze("inline-block pb-1"),children:t($t,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ze("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,(E||"hover"===N)&&!T&&"error"!==N&&"border-input-border-hover",(T||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[p?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(_t,{name:p,fill:m?1:0,size:g,className:Ze(x)})}):null,e("input",{ref:r,id:l,disabled:I||A.disabled,className:Ze("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:s,type:P,...A,onMouseOver:()=>k(!0),onMouseOut:()=>k(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),G(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),G(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(_t,{name:"text"===P?"visibility":"visibility_off",size:v,fill:f?1:0})}):null]}),"error"===N&&u&&""!=u?t($t,{className:Ze("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(_t,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Fn.displayName="Input";const Hn=n=>{const{primaryNavigationLinks:r,utilityNavigationLinks:i,checkPlansJSX:o,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,onSearch:p=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==i?void 0:i.map((t,n)=>e("li",{children:e(mn,{linkClassName:Ze("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(Wn,{className:"border-none",href:u,children:e($t,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(Dn,{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(Kt,{href:"/",className:"flex",children:e(vn,{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(Wn,{href:u,children:e($t,{as:"span",className:"footnote",children:d})}),e(zn,{...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(Kt,{href:"/",className:"flex",children:e(vn,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-[64px]"})}),e("div",{className:"flex h-full items-center gap-5",children:null==r?void 0:r.map((t,n)=>e(Dn,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(jn,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(Dn,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),o&&e("div",{className:"md:hidden",children:o})]})},zn=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=c?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(mn,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(_t,{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:Ze("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(Wn,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(mn,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(_t,{name:"close"})})})]}),e(Zn,{closeMenu:d,isMenuOpen:c,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(On,{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(mn,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ze("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}`))})]})]})})]})},Zn=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{r(),e.preventDefault(),o(l)};return i.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(vn,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Fn,{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"})})]})},jn=n=>{const{searchBarIconURL:r,onSearch:o}=n,[a,s]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(vn,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Fn,{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"})]})},Yn=n=>{var r;const{title:i,showAsHeading:o,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r: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:Ze("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:Ze("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[i&&e($t,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:i}),a&&e($t,{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($t,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e($t,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e($t,{as:"p",className:"subheading5",children:u}),p?e($t,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(Qt,{listItemClassName:"text-white text-left",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Ze("md:block",x&&"hidden"),children:e(mn,{...s,renderCheckPlans:m,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e($t,{as:"span",className:"body2 mr-1",children:v}),b&&e(mn,{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(mn,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),g?e($t,{as:"p",className:"body3 hidden md:block",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(vn,{src:f,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(vn,{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(mn,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),g?e($t,{as:"p",className:"body3 md:hidden",children:g}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e($t,{as:"span",className:"body2 mr-1",children:v}),b&&e(mn,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Ze("relative hidden lg:block"),children:[f?e(vn,{src:f,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(vn,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Jn=({fields:t})=>e("div",{children:e($t,{children:"Text Block"})}),Un={closed:{opacity:0},open:{opacity:1}},_n={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},$n={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Qn=m({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Kn=m({}),qn=m(null),er="undefined"!=typeof document,tr=er?f:p,nr=m({strict:!1});function rr(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ir(e){return"string"==typeof e||Array.isArray(e)}function or(e){return"object"==typeof e&&"function"==typeof e.start}const ar=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],sr=["initial",...ar];function lr(e){return or(e.animate)||sr.some(t=>ir(e[t]))}function cr(e){return Boolean(lr(e)||e.variants)}function ur(e){const{initial:t,animate:n}=function(e,t){if(lr(e)){const{initial:t,animate:n}=e;return{initial:!1===t||ir(t)?t:void 0,animate:ir(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,g(Kn));return l(()=>({initial:t,animate:n}),[dr(t),dr(n)])}function dr(e){return Array.isArray(e)?e.join(" "):e}const pr={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"]},hr={};for(const e in pr)hr[e]={isEnabled:t=>pr[e].some(e=>!!t[e])};const mr=m({}),fr=m({}),gr=Symbol.for("motionComponentSymbol");function br({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:o}){e&&function(e){for(const t in e)hr[t]={...hr[t],...e[t]}}(e);const a=s(function(a,s){let l;const c={...g(Qn),...a,layoutId:vr(a)},{isStatic:d}=c,m=ur(a),f=i(a,d);if(!d&&er){m.visualElement=function(e,t,n,r){const{visualElement:i}=g(Kn),o=g(nr),a=g(qn),s=g(Qn).reducedMotion,l=u();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const c=l.current;return b(()=>{c&&c.update(n,a)}),tr(()=>{c&&c.render()}),p(()=>{c&&c.updateFeatures()}),(window.HandoffAppearAnimations?tr:p)(()=>{c&&c.animationState&&c.animationState.animateChanges()}),c}(o,f,c,t);const n=g(fr),r=g(nr).strict;m.visualElement&&(l=m.visualElement.loadFeatures(c,r,e,n))}return r.createElement(Kn.Provider,{value:m},l&&m.visualElement?r.createElement(l,{visualElement:m.visualElement,...c}):null,n(o,a,function(e,t,n){return h(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):rr(n)&&(n.current=r))},[t])}(f,m.visualElement,s),f,d,m.visualElement))});return a[gr]=o,a}function vr({layoutId:e}){const t=g(mr).id;return t&&void 0!==e?t+"-"+e:e}function yr(e){function t(t,n={}){return br(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const xr=["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 Ir(e){return"string"==typeof e&&!e.includes("-")&&!!(xr.indexOf(e)>-1||/[A-Z]/.test(e))}const Cr={};const wr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Ar=new Set(wr);function Nr(e,{layout:t,layoutId:n}){return Ar.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Cr[e]||"opacity"===e)}const Er=e=>Boolean(e&&e.getVelocity),kr={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Tr=wr.length;const Gr=e=>t=>"string"==typeof t&&t.startsWith(e),Pr=Gr("--"),Br=Gr("var(--"),Sr=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Rr=(e,t,n)=>Math.min(Math.max(n,e),t),Vr={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Lr={...Vr,transform:e=>Rr(0,1,e)},Mr={...Vr,default:1},Dr=e=>Math.round(1e5*e)/1e5,Or=/(-)?([\d]*\.?[\d])+/g,Xr=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Wr=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Fr(e){return"string"==typeof e}const Hr=e=>({test:t=>Fr(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),zr=Hr("deg"),Zr=Hr("%"),jr=Hr("px"),Yr=Hr("vh"),Jr=Hr("vw"),Ur={...Zr,parse:e=>Zr.parse(e)/100,transform:e=>Zr.transform(100*e)},_r={...Vr,transform:Math.round},$r={borderWidth:jr,borderTopWidth:jr,borderRightWidth:jr,borderBottomWidth:jr,borderLeftWidth:jr,borderRadius:jr,radius:jr,borderTopLeftRadius:jr,borderTopRightRadius:jr,borderBottomRightRadius:jr,borderBottomLeftRadius:jr,width:jr,maxWidth:jr,height:jr,maxHeight:jr,size:jr,top:jr,right:jr,bottom:jr,left:jr,padding:jr,paddingTop:jr,paddingRight:jr,paddingBottom:jr,paddingLeft:jr,margin:jr,marginTop:jr,marginRight:jr,marginBottom:jr,marginLeft:jr,rotate:zr,rotateX:zr,rotateY:zr,rotateZ:zr,scale:Mr,scaleX:Mr,scaleY:Mr,scaleZ:Mr,skew:zr,skewX:zr,skewY:zr,distance:jr,translateX:jr,translateY:jr,translateZ:jr,x:jr,y:jr,z:jr,perspective:jr,transformPerspective:jr,opacity:Lr,originX:Ur,originY:Ur,originZ:jr,zIndex:_r,fillOpacity:Lr,strokeOpacity:Lr,numOctaves:_r};function Qr(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Pr(e)){o[e]=n;continue}const r=$r[e],d=Sr(n,r);if(Ar.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<Tr;t++){const n=wr[t];void 0!==e[n]&&(o+=`${kr[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const Kr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function qr(e,t,n){for(const r in t)Er(t[r])||Nr(r,n)||(e[r]=t[r])}function ei(e,t,n){const r={};return qr(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return l(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Qr(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function ti(e,t,n){const r={},i=ei(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const ni=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 ri(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||ni.has(e)}let ii=e=>!ri(e);try{(oi=require("@emotion/is-prop-valid").default)&&(ii=e=>e.startsWith("on")?!ri(e):oi(e))}catch(e){}var oi;function ai(e,t,n){return"string"==typeof e?e:jr.transform(t+n*e)}const si={offset:"stroke-dashoffset",array:"stroke-dasharray"},li={offset:"strokeDashoffset",array:"strokeDasharray"};function ci(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(Qr(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:f}=e;h.transform&&(f&&(m.transform=h.transform),delete h.transform),f&&(void 0!==i||void 0!==o||m.transform)&&(m.transformOrigin=function(e,t,n){return`${ai(t,e.x,e.width)} ${ai(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?si:li;e[o.offset]=jr.transform(-r);const a=jr.transform(t),s=jr.transform(n);e[o.array]=`${a} ${s}`}(h,a,s,l,!1)}const ui=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),di=e=>"string"==typeof e&&"svg"===e.toLowerCase();function pi(e,t,n,r){const i=l(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return ci(n,t,{enableHardwareAcceleration:!1},di(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};qr(t,e.style,e),i.style={...t,...i.style}}return i}function hi(e=!1){return(t,n,r,{latestValues:i},o)=>{const a=(Ir(t)?pi:ti)(n,i,o,t),s=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(ii(i)||!0===n&&ri(i)||!t&&!ri(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),u={...s,...a,ref:r},{children:d}=n,p=l(()=>Er(d)?d.get():d,[d]);return c(t,{...u,children:p})}}const mi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function fi(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const gi=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 bi(e,t,n,r){fi(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(gi.has(n)?n:mi(n),t.attrs[n])}function vi(e,t){const{style:n}=e,r={};for(const i in n)(Er(n[i])||t.style&&Er(t.style[i])||Nr(i,e))&&(r[i]=n[i]);return r}function yi(e,t){const n=vi(e,t);for(const r in e)if(Er(e[r])||Er(t[r])){n[-1!==wr.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function xi(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}function Ii(e){const t=u(null);return null===t.current&&(t.current=e()),t.current}const Ci=e=>Array.isArray(e),wi=e=>Ci(e)?e[e.length-1]||0:e;function Ai(e){const t=Er(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Ni=e=>(t,n)=>{const r=g(Kn),i=g(qn),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:Ei(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,i);return n?o():Ii(o)};function Ei(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=Ai(o[e]);let{initial:a,animate:s}=e;const l=lr(e),c=cr(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&&!or(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=xi(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const ki={useVisualState:Ni({scrapeMotionValuesFromProps:yi,createRenderState:ui,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}ci(n,r,{enableHardwareAcceleration:!1},di(t.tagName),e.transformTemplate),bi(t,n)}})},Ti={useVisualState:Ni({scrapeMotionValuesFromProps:vi,createRenderState:Kr})};function Gi(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Pi=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Bi(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Si(e,t,n,r){return Gi(e,t,(e=>t=>Pi(t)&&e(t,Bi(t)))(n),r)}const Ri=(e,t)=>n=>t(e(n)),Vi=(...e)=>e.reduce(Ri);function Li(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Mi=Li("dragHorizontal"),Di=Li("dragVertical");function Oi(e){let t=!1;if("y"===e)t=Di();else if("x"===e)t=Mi();else{const e=Mi(),n=Di();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Xi(){const e=Oi(!0);return!e||(e(),!1)}class Wi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Fi={delta:0,timestamp:0,isProcessing:!1};let Hi=!0,zi=!1;const Zi=["read","update","preRender","render","postRender"],ji=Zi.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}(()=>zi=!0),e),{}),Yi=e=>ji[e].process(Fi),Ji=e=>{zi=!1,Fi.delta=Hi?1e3/60:Math.max(Math.min(e-Fi.timestamp,40),1),Fi.timestamp=e,Fi.isProcessing=!0,Zi.forEach(Yi),Fi.isProcessing=!1,zi&&(Hi=!1,requestAnimationFrame(Ji))},Ui=Zi.reduce((e,t)=>{const n=ji[t];return e[t]=(e,t=!1,r=!1)=>(zi||(zi=!0,Hi=!0,Fi.isProcessing||requestAnimationFrame(Ji)),n.schedule(e,t,r)),e},{});function _i(e){Zi.forEach(t=>ji[t].cancel(e))}function $i(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Si(e.current,n,(n,i)=>{if("touch"===n.type||Xi())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&Ui.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const Qi=(e,t)=>!!t&&(e===t||Qi(e,t.parentElement)),Ki=e=>e;function qi(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Bi(n))}const eo=new WeakMap,to=new WeakMap,no=e=>{const t=eo.get(e.target);t&&t(e)},ro=e=>{e.forEach(no)};function io(e,t,n){const r=function({root:e,...t}){const n=e||document;to.has(n)||to.set(n,{});const r=to.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ro,{root:e,...t})),r[i]}(t);return eo.set(e,n),r.observe(e),()=>{eo.delete(e),r.unobserve(e)}}const oo={some:0,all:1};const ao={inView:{Feature:class extends Wi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:oo[r]};return io(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Wi{constructor(){super(...arguments),this.removeStartListeners=Ki,this.removeEndListeners=Ki,this.removeAccessibleListeners=Ki,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Si(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Ui.update(()=>{Qi(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=Si(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Vi(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Gi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Gi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&qi("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Ui.update(()=>n(e,t))})}),qi("down",(e,t)=>{this.startPress(e,t)})}),t=Gi(this.node.current,"blur",()=>{this.isPressing&&qi("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Vi(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Ui.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Xi()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ui.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Si(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Gi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Vi(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Wi{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Vi(Gi(this.node.current,"focus",()=>this.onFocus()),Gi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Wi{mount(){this.unmount=Vi($i(this.node,!0),$i(this.node,!1))}unmount(){}}}};function so(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function lo(e,t,n){const r=e.getProps();return xi(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const co="data-"+mi("framerAppearId");let uo=Ki,po=Ki;"production"!==process.env.NODE_ENV&&(uo=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},po=(e,t)=>{if(!e)throw new Error(t)});const ho=e=>1e3*e,mo=e=>e/1e3,fo=!1,go=e=>Array.isArray(e)&&"number"==typeof e[0];function bo(e){return Boolean(!e||"string"==typeof e&&yo[e]||go(e)||Array.isArray(e)&&e.every(bo))}const vo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,yo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:vo([0,.65,.55,1]),circOut:vo([.55,0,1,.45]),backIn:vo([.31,.01,.66,-.59]),backOut:vo([.33,1.53,.69,.99])};function xo(e){if(e)return go(e)?vo(e):Array.isArray(e)?e.map(xo):yo[e]}const Io={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Co={},wo={};for(const e in Io)wo[e]=()=>(void 0===Co[e]&&(Co[e]=Io[e]()),Co[e]);const Ao=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function No(e,t,n,r){if(e===t&&n===r)return Ki;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=Ao(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Ao(i(e),t,r)}const Eo=No(.42,0,1,1),ko=No(0,0,.58,1),To=No(.42,0,.58,1),Go=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Po=e=>t=>1-e(1-t),Bo=e=>1-Math.sin(Math.acos(e)),So=Po(Bo),Ro=Go(So),Vo=No(.33,1.53,.69,.99),Lo=Po(Vo),Mo=Go(Lo),Do={linear:Ki,easeIn:Eo,easeInOut:To,easeOut:ko,circIn:Bo,circInOut:Ro,circOut:So,backIn:Lo,backInOut:Mo,backOut:Vo,anticipate:e=>(e*=2)<1?.5*Lo(e):.5*(2-Math.pow(2,-10*(e-1)))},Oo=e=>{if(Array.isArray(e)){po(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return No(t,n,r,i)}return"string"==typeof e?(po(void 0!==Do[e],`Invalid easing type '${e}'`),Do[e]):e},Xo=(e,t)=>n=>Boolean(Fr(n)&&Wr.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Wo=(e,t,n)=>r=>{if(!Fr(r))return r;const[i,o,a,s]=r.match(Or);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Fo={...Vr,transform:e=>Math.round((e=>Rr(0,255,e))(e))},Ho={test:Xo("rgb","red"),parse:Wo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Fo.transform(e)+", "+Fo.transform(t)+", "+Fo.transform(n)+", "+Dr(Lr.transform(r))+")"};const zo={test:Xo("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:Ho.transform},Zo={test:Xo("hsl","hue"),parse:Wo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Zr.transform(Dr(t))+", "+Zr.transform(Dr(n))+", "+Dr(Lr.transform(r))+")"},jo={test:e=>Ho.test(e)||zo.test(e)||Zo.test(e),parse:e=>Ho.test(e)?Ho.parse(e):Zo.test(e)?Zo.parse(e):zo.parse(e),transform:e=>Fr(e)?e:e.hasOwnProperty("red")?Ho.transform(e):Zo.transform(e)},Yo=(e,t,n)=>-n*e+n*t+e;function Jo(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 Uo=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},_o=[zo,Ho,Zo];function $o(e){const t=(n=e,_o.find(e=>e.test(n)));var n;po(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===Zo&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Jo(s,r,e+1/3),o=Jo(s,r,e),a=Jo(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const Qo=(e,t)=>{const n=$o(e),r=$o(t),i={...n};return e=>(i.red=Uo(n.red,r.red,e),i.green=Uo(n.green,r.green,e),i.blue=Uo(n.blue,r.blue,e),i.alpha=Yo(n.alpha,r.alpha,e),Ho.transform(i))};const Ko={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Ki},qo={regex:Xr,countKey:"Colors",token:"${c}",parse:jo.parse},ea={regex:Or,countKey:"Numbers",token:"${n}",parse:Vr.parse};function ta(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function na(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&ta(n,Ko),ta(n,qo),ta(n,ea),n}function ra(e){return na(e).values}function ia(e){const{values:t,numColors:n,numVars:r,tokenised:i}=na(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(Ko.token,e[i]):i<r+n?t.replace(qo.token,jo.transform(e[i])):t.replace(ea.token,Dr(e[i]));return t}}const oa=e=>"number"==typeof e?0:e;const aa={test:function(e){var t,n;return isNaN(e)&&Fr(e)&&((null===(t=e.match(Or))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Xr))||void 0===n?void 0:n.length)||0)>0},parse:ra,createTransformer:ia,getAnimatableNone:function(e){const t=ra(e);return ia(e)(t.map(oa))}},sa=(e,t)=>n=>`${n>0?t:e}`;function la(e,t){return"number"==typeof e?n=>Yo(e,t,n):jo.test(e)?Qo(e,t):e.startsWith("var(")?sa(e,t):da(e,t)}const ca=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>la(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},ua=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=la(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},da=(e,t)=>{const n=aa.createTransformer(t),r=na(e),i=na(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Vi(ca(r.values,i.values),n):(uo(!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.`),sa(e,t))},pa=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},ha=(e,t)=>n=>Yo(e,t,n);function ma(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?ha:"string"==typeof o?jo.test(o)?Qo:da:Array.isArray(o)?ca:"object"==typeof o?ua:ha);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Ki:t;o=Vi(e,o)}r.push(o)}return r}function fa(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(po(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=ma(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=pa(e[n],e[n+1],t);return a[n](r)};return n?t=>l(Rr(e[0],e[o-1],t)):l}function ga(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=pa(0,t,r);e.push(Yo(n,1,i))}}(t,e.length-1),t}function ba({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Oo):Oo(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:ga(t),e),s=fa(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||To).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function va(e,t){return t?e*(1e3/t):0}function ya(e,t,n){const r=Math.max(t-5,0);return va(n-e(r),t-r)}const xa=.001;function Ia({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;uo(e<=ho(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Rr(.05,1,a),e=Rr(.01,10,mo(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=wa(t,a),l=Math.exp(-i);return xa-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=wa(Math.pow(t,2),a);return(-i(t)+xa>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Ca;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=ho(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Ca=12;function wa(e,t){return e*Math.sqrt(1-t*t)}const Aa=["duration","bounce"],Na=["stiffness","damping","mass"];function Ea(e,t){return t.some(t=>void 0!==e[t])}function ka({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Ea(e,Na)&&Ea(e,Aa)){const n=Ia(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-mo(u):0,m=l/(2*Math.sqrt(s*c)),f=o-i,g=mo(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=wa(g,m);v=t=>{const n=Math.exp(-m*g*t);return o-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>o-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return o-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let i=h;0!==e&&(i=m<1?ya(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function Ta({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),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,I;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=ka({keyframes:[p.value,h(p.value)],velocity:ya(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Ga=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ui.update(t,!0),stop:()=>_i(t),now:()=>Fi.isProcessing?Fi.timestamp:performance.now()}};function Pa(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 Ba={decay:Ta,inertia:Ta,tween:ba,keyframes:ba,spring:ka};function Sa({autoplay:e=!0,delay:t=0,driver:n=Ga,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=Ba[i]||ba;let x;y!==ba&&"number"!=typeof r[0]&&(x=fa([0,100],r,{clamp:!1}),r=[0,100]);const I=y({...p,keyframes:r});let C;"mirror"===s&&(C=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,E=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=Pa(I));const{calculatedDuration:k}=I;let T=1/0,G=1/0;null!==k&&(T=k+a,G=T*(o+1)-a);let P=0;const B=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),P=null!==A?A:(e-N)*f;const n=P-t,i=n<0;P=Math.max(n,0),"finished"===w&&null===A&&(P=G);let l=P,c=I;if(o){const e=P/T;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/T)):"mirror"===s&&(c=C));let i=Rr(0,1,n);P>G&&(i="reverse"===s&&r?1:0),l=i*T}const u=i?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;i||null===k||(p=P>=G);const h=null===A&&("finished"===w||"running"===w&&p||f<0&&P<=0);return d&&d(u.value),h&&V(),u},S=()=>{v&&v.stop(),v=void 0},R=()=>{w="idle",S(),b(),N=E=null},V=()=>{w="finished",u&&u(),S(),b()},L=()=>{if(g)return;v||(v=n(B));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),E=N,A=null,w="running",v.start()};e&&L();const M={then:(e,t)=>m.then(e,t),get time(){return mo(P)},set time(e){e=ho(e),P=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?Pa(I):I.calculatedDuration;return mo(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=mo(P))},get state(){return w},play:L,pause:()=>{w="paused",A=P},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),R())},cancel:()=>{null!==E&&B(E),R()},complete:()=>{w="finished"},sample:e=>(N=0,B(e))};return M}const Ra=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Va(e,t,{onUpdate:n,onComplete:r,...i}){if(!(wo.waapi()&&Ra.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!bo(t.ease))(t,i)){const e=Sa({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=xo(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),m=()=>h.cancel(),f=()=>{Ui.update(m),o(),l()};return h.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),f()},{then:(e,t)=>a.then(e,t),get time(){return mo(h.currentTime||0)},set time(e){h.currentTime=ho(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return mo(u)},play:()=>{s||(h.play(),_i(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Sa({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const La={type:"spring",stiffness:500,damping:25,restSpeed:10},Ma={type:"keyframes",duration:.8},Da={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Oa=(e,{keyframes:t})=>t.length>2?Ma:Ar.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:La:Da,Xa=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!aa.test(t)&&"0"!==t||t.startsWith("url("))),Wa=new Set(["brightness","contrast","saturate","opacity"]);function Fa(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Or)||[];if(!r)return e;const i=n.replace(r,"");let o=Wa.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Ha=/([a-z-]*)\(.*?\)/g,za={...aa,getAnimatableNone:e=>{const t=e.match(Ha);return t?t.map(Fa).join(" "):e}},Za={...$r,color:jo,backgroundColor:jo,outlineColor:jo,fill:jo,stroke:jo,borderColor:jo,borderTopColor:jo,borderRightColor:jo,borderBottomColor:jo,borderLeftColor:jo,filter:za,WebkitFilter:za},ja=e=>Za[e];function Ya(e,t){let n=ja(e);return n!==za&&(n=aa),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ja=e=>/^0[^.\s]+$/.test(e);function Ua(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Ja(e):void 0}function _a(e,t){return e[t]||e.default||e}const $a=(e,t,n,r={})=>i=>{const o=_a(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=ho(a);const l=function(e,t,n,r){const i=Xa(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),Ua(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=Ya(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=Xa(e,c),p=Xa(e,u);uo(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(h={...h,...Oa(e,h)}),h.duration&&(h.duration=ho(h.duration)),h.repeatDelay&&(h.repeatDelay=ho(h.repeatDelay)),!d||!p||fo||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Ki,pause:Ki,stop:Ki,then:e=>(e(),Promise.resolve()),cancel:Ki,complete:Ki});return t?Sa({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Va(t,e,h);if(n)return n}return Sa(h)};function Qa(e){return Boolean(Er(e)&&e.add)}const Ka=e=>/^\-?\d*\.?\d+$/.test(e);function qa(e,t){-1===e.indexOf(t)&&e.push(t)}function es(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ts{constructor(){this.subscriptions=[]}add(e){return qa(this.subscriptions,e),()=>es(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ns=new Set;function rs(e,t,n){e||ns.has(t)||(console.warn(t),ns.add(t))}class is{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=Fi;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Ui.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=()=>Ui.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&&rs(!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 ts);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ui.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?va(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 os(e,t){return new is(e,t)}const as=e=>t=>t.test(e),ss=[Vr,jr,Zr,zr,Jr,Yr,{test:e=>"auto"===e,parse:e=>e}],ls=e=>ss.find(as(e)),cs=[...ss,jo,aa],us=e=>cs.find(as(e));function ds(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,os(n))}function ps(e,t){if(!t)return;return(t[e]||t.default||t).from}function hs({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function ms(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&hs(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[co];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,Ui))}r.start($a(t,r,i,e.shouldReduceMotion&&Ar.has(t)?{type:!1}:a));const d=r.animation;Qa(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=lo(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)ds(e,t,wi(o[t]))}(e,a)}),c}function fs(e,t,n={}){const r=lo(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(ms(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(gs).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(fs(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function gs(e,t){return e.sortNodePosition(t)}const bs=[...ar].reverse(),vs=ar.length;function ys(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>fs(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=fs(e,t,n);else{const i="function"==typeof t?lo(e,t,n.custom):t;r=Promise.all(ms(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function xs(e){let t=ys(e);const n={animate:Cs(!0),whileInView:Cs(),whileHover:Cs(),whileTap:Cs(),whileDrag:Cs(),whileFocus:Cs(),exit:Cs()};let r=!0;const i=(t,n)=>{const r=lo(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<vs;t++){const h=bs[t],m=n[h],f=void 0!==s[h]?s[h]:l[h],g=ir(f),b=h===a?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||or(f)||"boolean"==typeof f)continue;const y=Is(m.prevProp,f);let x=y||h===a&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Ci(t)&&Ci(n)?!so(t,n)||y?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Is(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!so(t,e)}function Cs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let ws=0;const As={animation:{Feature:class extends Wi{constructor(e){super(e),e.animationState||(e.animationState=xs(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),or(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 Wi{constructor(){super(...arguments),this.id=ws++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Ns=(e,t)=>Math.abs(e-t);class Es{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=Gs(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Ns(e.x,t.x),r=Ns(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=Fi;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ks(t,this.transformPagePoint),Ui.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=Gs("pointercancel"===e.type?this.lastMoveEventInfo:ks(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Pi(e))return;this.handlers=t,this.transformPagePoint=n;const r=ks(Bi(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=Fi;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,Gs(r,this.history)),this.removeListeners=Vi(Si(window,"pointermove",this.handlePointerMove),Si(window,"pointerup",this.handlePointerUp),Si(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),_i(this.updatePoint)}}function ks(e,t){return t?{point:t(e.point)}:e}function Ts(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Gs({point:e},t){return{point:e,delta:Ts(e,Bs(t)),offset:Ts(e,Ps(t)),velocity:Ss(t,.1)}}function Ps(e){return e[0]}function Bs(e){return e[e.length-1]}function Ss(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Bs(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>ho(t)));)n--;if(!r)return{x:0,y:0};const o=mo(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Rs(e){return e.max-e.min}function Vs(e,t=0,n=.01){return Math.abs(e-t)<=n}function Ls(e,t,n,r=.5){e.origin=r,e.originPoint=Yo(t.min,t.max,e.origin),e.scale=Rs(n)/Rs(t),(Vs(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Yo(n.min,n.max,e.origin)-e.originPoint,(Vs(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ms(e,t,n,r){Ls(e.x,t.x,n.x,r?r.originX:void 0),Ls(e.y,t.y,n.y,r?r.originY:void 0)}function Ds(e,t,n){e.min=n.min+t.min,e.max=e.min+Rs(t)}function Os(e,t,n){e.min=t.min-n.min,e.max=e.min+Rs(t)}function Xs(e,t,n){Os(e.x,t.x,n.x),Os(e.y,t.y,n.y)}function Ws(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 Fs(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const Hs=.35;function zs(e,t,n){return{min:Zs(e,t),max:Zs(e,n)}}function Zs(e,t){return"number"==typeof e?e:e[t]||0}const js=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Ys(e){return[e("x"),e("y")]}function Js({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Us(e){return void 0===e||1===e}function _s({scale:e,scaleX:t,scaleY:n}){return!Us(e)||!Us(t)||!Us(n)}function $s(e){return _s(e)||Qs(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Qs(e){return Ks(e.x)||Ks(e.y)}function Ks(e){return e&&"0%"!==e}function qs(e,t,n){return n+t*(e-n)}function el(e,t,n,r,i){return void 0!==i&&(e=qs(e,i,r)),qs(e,n,r)+t}function tl(e,t=0,n=1,r,i){e.min=el(e.min,t,n,r,i),e.max=el(e.max,t,n,r,i)}function nl(e,{x:t,y:n}){tl(e.x,t.translate,t.scale,t.originPoint),tl(e.y,n.translate,n.scale,n.originPoint)}function rl(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function il(e,t){e.min=e.min+t,e.max=e.max+t}function ol(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=Yo(e.min,e.max,o);tl(e,t[n],t[r],a,t.scale)}const al=["x","scaleX","originX"],sl=["y","scaleY","originY"];function ll(e,t){ol(e.x,t,al),ol(e.y,t,sl)}function cl(e,t){return Js(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const ul=new WeakMap;class dl{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 Es(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Bi(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Oi(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),Ys(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Zr.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Rs(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&Ui.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&Ui.update(()=>i(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!pl(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?Yo(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?Yo(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&rr(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:Ws(e.x,n,i),y:Ws(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Hs){return!1===e?e=0:!0===e&&(e=Hs),{x:zs(e,"left","right"),y:zs(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Ys(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||!rr(e))return!1;const n=e.current;po(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=cl(e,n),{scroll:i}=t;return i&&(il(r.x,i.offset.x),il(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Fs(e.x,t.x),y:Fs(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=Js(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Ys(a=>{if(!pl(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start($a(e,n,0,t))}stopAnimation(){Ys(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Ys(t=>{const{drag:n}=this.getProps();if(!pl(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-Yo(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!rr(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Ys(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Rs(e),i=Rs(t);return i>r?n=pa(t.min,t.max-r,e.min):r>i&&(n=pa(e.min,e.max-i,t.min)),Rr(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Ys(t=>{if(!pl(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(Yo(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;ul.set(this.visualElement,this);const e=Si(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();rr(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const i=Gi(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Ys(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Hs,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function pl(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const hl=e=>(t,n)=>{e&&Ui.update(()=>e(t,n))};const ml={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function fl(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const gl={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!jr.test(e))return e;e=parseFloat(e)}return`${fl(e,t.target.x)}% ${fl(e,t.target.y)}%`}},bl={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=aa.parse(e);if(i.length>5)return r;const o=aa.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=Yo(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class vl extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=xl,Object.assign(Cr,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),ml.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||Ui.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function yl(e){const[t,n]=function(){const e=g(qn);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=v();return p(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),r=g(mr);return i.createElement(vl,{...e,layoutGroup:r,switchLayoutGroup:g(fr),isPresent:t,safeToRemove:n})}const xl={borderRadius:{...gl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gl,borderTopRightRadius:gl,borderBottomLeftRadius:gl,borderBottomRightRadius:gl,boxShadow:bl},Il=["TopLeft","TopRight","BottomLeft","BottomRight"],Cl=Il.length,wl=e=>"string"==typeof e?parseFloat(e):e,Al=e=>"number"==typeof e||jr.test(e);function Nl(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const El=Tl(0,.5,So),kl=Tl(.5,.95,Ki);function Tl(e,t,n){return r=>r<e?0:r>t?1:n(pa(e,t,r))}function Gl(e,t){e.min=t.min,e.max=t.max}function Pl(e,t){Gl(e.x,t.x),Gl(e.y,t.y)}function Bl(e,t,n,r,i){return e=qs(e-=t,1/n,r),void 0!==i&&(e=qs(e,1/i,r)),e}function Sl(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){Zr.test(t)&&(t=parseFloat(t),t=Yo(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=Yo(o.min,o.max,r);e===o&&(s-=t),e.min=Bl(e.min,t,n,s,i),e.max=Bl(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const Rl=["x","scaleX","originX"],Vl=["y","scaleY","originY"];function Ll(e,t,n,r){Sl(e.x,t,Rl,n?n.x:void 0,r?r.x:void 0),Sl(e.y,t,Vl,n?n.y:void 0,r?r.y:void 0)}function Ml(e){return 0===e.translate&&1===e.scale}function Dl(e){return Ml(e.x)&&Ml(e.y)}function Ol(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 Xl(e){return Rs(e.x)/Rs(e.y)}class Wl{constructor(){this.members=[]}add(e){qa(this.members,e),e.scheduleRender()}remove(e){if(es(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Fl(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const Hl=(e,t)=>e.depth-t.depth;class zl{constructor(){this.children=[],this.isDirty=!1}add(e){qa(this.children,e),this.isDirty=!0}remove(e){es(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Hl),this.isDirty=!1,this.children.forEach(e)}}const Zl=["","X","Y","Z"];let jl=0;const Yl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Jl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=jl++,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;Yl.totalNodes=Yl.resolvedTargetDeltas=Yl.recalculatedProjection=0,this.nodes.forEach($l),this.nodes.forEach(rc),this.nodes.forEach(ic),this.nodes.forEach(Ql),e=Yl,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 zl)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ts),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(_i(r),e(o-t))};return Ui.read(r,!0),()=>_i(r)}(r,250),ml.hasAnimatedSinceResize&&(ml.hasAnimatedSinceResize=!1,this.nodes.forEach(nc))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||uc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Ol(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={..._a(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||nc(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,_i(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(oc),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(ql);this.isUpdating||this.nodes.forEach(ec),this.isUpdating=!1,this.nodes.forEach(tc),this.nodes.forEach(Ul),this.nodes.forEach(_l),this.clearAllSnapshots();const e=performance.now();Fi.delta=Rr(0,1e3/60,e-Fi.timestamp),Fi.timestamp=e,Fi.isProcessing=!0,ji.update.process(Fi),ji.preRender.process(Fi),ji.render.process(Fi),Fi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Kl),this.sharedNodes.forEach(ac)}scheduleUpdateProjection(){Ui.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Ui.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Dl(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||$s(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),dc((r=n).x),dc(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(il(t.x,n.offset.x),il(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Pl(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){Pl(t,e);const{scroll:n}=this.root;n&&(il(t.x,-n.offset.x),il(t.y,-n.offset.y))}il(t.x,i.offset.x),il(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Pl(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&ll(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),$s(r.latestValues)&&ll(n,r.latestValues)}return $s(this.latestValues)&&ll(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Pl(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!$s(n.latestValues))continue;_s(n.latestValues)&&n.updateSnapshot();const r=js();Pl(r,n.measurePageBox()),Ll(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return $s(this.latestValues)&&Ll(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!==Fi.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=Fi.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}},Xs(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Pl(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,Ds(a.x,s.x,l.x),Ds(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Pl(this.target,this.layout.layoutBox),nl(this.target,this.targetDelta)):Pl(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}},Xs(this.relativeTargetOrigin,this.target,e.target),Pl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Yl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!_s(this.parent.latestValues)&&!Qs(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===Fi.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!o)return;Pl(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&ll(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,nl(e,a)),r&&$s(o.latestValues)&&ll(e,o.latestValues))}t.x=rl(t.x),t.y=rl(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;Ms(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Fl(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Yl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(cc));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;sc(o.x,e.x,n),sc(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Xs(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){lc(e.x,t.x,n.x,r),lc(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Ol(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Pl(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=Yo(0,void 0!==n.opacity?n.opacity:1,El(r)),e.opacityExit=Yo(void 0!==t.opacity?t.opacity:1,0,kl(r))):o&&(e.opacity=Yo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Cl;i++){const o=`border${Il[i]}Radius`;let a=Nl(t,o),s=Nl(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Al(a)===Al(s)?(e[o]=Math.max(Yo(wl(a),wl(s),r),0),(Zr.test(s)||Zr.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=Yo(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(_i(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ui.update(()=>{ml.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Er(e)?e:os(e);return r.start($a("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&pc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Rs(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Rs(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Pl(t,n),ll(t,i),Ms(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Wl);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<Zl.length;t++){const i="rotate"+Zl[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Ai(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Ai(e.pointerEvents)||""),this.hasProjected&&!$s(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=Fl(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Cr){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Cr[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?Ai(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(ql),this.root.sharedNodes.clear()}}}function Ul(e){e.updateLayout()}function _l(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?Ys(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=Rs(r);r.min=t[e].min,r.max=r.min+i}):pc(i,n.layoutBox,t)&&Ys(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=Rs(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ms(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?Ms(s,e.applyTransform(r,!0),n.measuredBox):Ms(s,t,n.layoutBox);const l=!Dl(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};Xs(a,n.layoutBox,i.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Xs(s,t,o.layoutBox),Ol(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function $l(e){Yl.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 Ql(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Kl(e){e.clearSnapshot()}function ql(e){e.clearMeasurements()}function ec(e){e.isLayoutDirty=!1}function tc(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function rc(e){e.resolveTargetDelta()}function ic(e){e.calcProjection()}function oc(e){e.resetRotation()}function ac(e){e.removeLeadSnapshot()}function sc(e,t,n){e.translate=Yo(t.translate,0,n),e.scale=Yo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lc(e,t,n,r){e.min=Yo(t.min,n.min,r),e.max=Yo(t.max,n.max,r)}function cc(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const uc={duration:.45,ease:[.4,0,.1,1]};function dc(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function pc(e,t,n){return"position"===e||"preserve-aspect"===e&&!Vs(Xl(t),Xl(n),.2)}const hc=Jl({attachResizeListener:(e,t)=>Gi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),mc={current:void 0},fc=Jl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!mc.current){const e=new hc({});e.mount(window),e.setOptions({layoutScroll:!0}),mc.current=e}return mc.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),gc={pan:{Feature:class extends Wi{constructor(){super(...arguments),this.removePointerDownListener=Ki}onPointerDown(e){this.session=new Es(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:hl(e),onStart:hl(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Ui.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Si(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 Wi{constructor(e){super(e),this.removeGroupControls=Ki,this.removeListeners=Ki,this.controls=new dl(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ki}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:fc,MeasureLayout:yl}},bc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function vc(e,t,n=1){po(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=bc.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():Br(i)?vc(i,t,n+1):i}const yc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),xc=e=>yc.has(e),Ic=e=>e===Vr||e===jr,Cc=(e,t)=>parseFloat(e.split(", ")[t]),wc=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Cc(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Cc(t[1],e):0}},Ac=new Set(["x","y","z"]),Nc=wr.filter(e=>!Ac.has(e));const Ec={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:wc(4,13),y:wc(5,14)},kc=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(xc);let o=[],a=!1;const s=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=ls(c);const d=t[i];let p;if(Ci(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=ls(c);for(let n=t;n<e&&null!==d[n];n++)p?po(ls(d[n])===p,"All keyframes must be of the same type"):(p=ls(d[n]),po(p===u||Ic(u)&&Ic(p),"Keyframes must be of the same dimension as the current value"))}else p=ls(d);if(u!==p)if(Ic(u)&&Ic(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===jr&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[i]=u.transform(d):(a||(o=function(e){const t=[];return Nc.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Ec[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Ec[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),er&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function Tc(e,t,n,r){return(e=>Object.keys(e).some(xc))(t)?kc(e,t,n,r):{target:t,transitionEnd:r}}const Gc=(e,t,n,r)=>{const i=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Br(t))return;const n=vc(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!Br(i))continue;const o=vc(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return Tc(e,t=i.target,n,r=i.transitionEnd)},Pc={current:null},Bc={current:!1};const Sc=new WeakMap,Rc=Object.keys(hr),Vc=Rc.length,Lc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Mc=sr.length;class Dc{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ui.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=lr(t),this.isVariantNode=cr(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]&&Er(t)&&(t.set(a[e],!1),Qa(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Sc.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)),Bc.current||function(){if(Bc.current=!0,er)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Pc.current=e.matches;e.addListener(t),t()}else Pc.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Pc.current),"production"!==process.env.NODE_ENV&&rs(!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(){Sc.delete(this.current),this.projection&&this.projection.unmount(),_i(this.notifyUpdate),_i(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=Ar.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ui.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?uo(!1,e):po(!1,e)}for(let e=0;e<Vc;e++){const n=Rc[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=hr[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&rr(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Lc.length;t++){const n=Lc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(Er(o))e.addValue(i,o),Qa(r)&&r.add(i),"development"===process.env.NODE_ENV&&rs("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(Er(a))e.addValue(i,os(o,{owner:e})),Qa(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,os(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Mc;e++){const n=sr[e],r=this.props[n];(ir(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=os(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=xi(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||Er(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new ts),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Oc extends Dc{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){const r={};for(const i in e){const e=ps(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=c&&("string"==typeof c&&(Ka(c)||Ja(c))?c=parseFloat(c):!us(c)&&aa.test(l)&&(c=Ya(a,l)),e.addValue(a,os(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=Gc(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Xc extends Oc{readValueFromInstance(e,t){if(Ar.has(t)){const e=ja(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(Pr(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return cl(e,t)}build(e,t,n,r){Qr(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return vi(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Er(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){fi(e,t,n,r)}}class Wc extends Oc{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Ar.has(t)){const e=ja(t);return e&&e.default||0}return t=gi.has(t)?t:mi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return yi(e,t)}build(e,t,n,r){ci(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){bi(e,t,0,r)}mount(e){this.isSVGTag=di(e.tagName),super.mount(e)}}const Fc=(e,t)=>Ir(e)?new Wc(t,{enableHardwareAcceleration:!1}):new Xc(t,{enableHardwareAcceleration:!0}),Hc={...As,...ao,...gc,...{layout:{ProjectionNode:fc,MeasureLayout:yl}}},zc=yr((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Ir(e)?ki:Ti,preloadedFeatures:n,useRender:hi(t),createVisualElement:r,Component:e}}(e,t,Hc,Fc));function Zc(){const e=u(!1);return tr(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class jc extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Yc({children:e,isPresent:t}){const n=v(),i=u(null),o=u({width:0,height:0,top:0,left:0});return b(()=>{const{width:e,height:r,top:a,left:s}=o.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(jc,{isPresent:t,childRef:i,sizeRef:o},r.cloneElement(e,{ref:i}))}const Jc=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const c=Ii(Uc),u=v(),d=l(()=>({id:u,initial:t,isPresent:n,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),a?void 0:[n]);return l(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),r.useEffect(()=>{!n&&!c.size&&i&&i()},[n]),"popLayout"===s&&(e=r.createElement(Yc,{isPresent:n},e)),r.createElement(qn.Provider,{value:d},e)};function Uc(){return new Map}const _c=e=>e.key||"";const $c=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:s,presenceAffectsLayout:l=!0,mode:c="sync"})=>{po(!s,"Replace exitBeforeEnter with mode='wait'");const m=g(mr).forceRender||function(){const e=Zc(),[t,n]=d(0),r=h(()=>{e.current&&n(t+1)},[t]);return[h(()=>Ui.postRender(r),[r]),t]}()[0],f=Zc(),b=function(e){const t=[];return y.forEach(e,e=>{o(e)&&t.push(e)}),t}(e);let v=b;const x=u(new Map).current,I=u(v),C=u(new Map).current,w=u(!0);var A;if(tr(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=_c(e);t.set(n,e)})}(b,C),I.current=v}),A=()=>{w.current=!0,C.clear(),x.clear()},p(()=>()=>A(),[]),w.current)return r.createElement(r.Fragment,null,v.map(e=>r.createElement(Jc,{key:_c(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:l,mode:c},e)));v=[...v];const N=I.current.map(_c),E=b.map(_c),k=N.length;for(let e=0;e<k;e++){const t=N[e];-1!==E.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===c&&x.size&&(v=[]),x.forEach((e,n)=>{if(-1!==E.indexOf(n))return;const o=C.get(n);if(!o)return;const a=N.indexOf(n);let s=e;if(!s){const e=()=>{C.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=b,!1===f.current)return;m(),i&&i()}};s=r.createElement(Jc,{key:_c(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:l,mode:c},o),x.set(n,s)}v.splice(a,0,s)}),v=v.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(Jc,{key:_c(e),isPresent:!0,presenceAffectsLayout:l,mode:c},e)}),"production"!==process.env.NODE_ENV&&"wait"===c&&v.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),r.createElement(r.Fragment,null,x.size?v:v.map(e=>a(e)))};function Qc(){return Qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qc.apply(null,arguments)}function Kc(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function qc(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function eu(...e){return h(qc(...e),e)}function tu(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return l(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const nu=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?f:()=>{},ru=r["useId".toString()]||(()=>{});let iu=0;function ou(e){const[t,n]=r.useState(ru());return nu(()=>{n(e=>null!=e?e:String(iu++))},[e]),e||(t?`radix-${t}`:"")}function au(e){const t=u(e);return p(()=>{t.current=e}),l(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function su({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=d(e),[r]=n,i=u(r),o=au(t);return p(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,a=o?e:r,s=au(n);return[a,h(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[o,e,i,s])]}const lu=s((e,t)=>{const{children:n,...r}=e,i=y.toArray(n),s=i.find(du);if(s){const e=s.props.children,n=i.map(t=>t===s?y.count(e)>1?y.only(null):o(e)?e.props.children:null:t);return c(cu,Qc({},r,{ref:t}),o(e)?a(e,void 0,n):null)}return c(cu,Qc({},r,{ref:t}),n)});lu.displayName="Slot";const cu=s((e,t)=>{const{children:n,...r}=e;return o(n)?a(n,{...pu(r,n.props),ref:t?qc(t,n.ref):n.ref}):y.count(n)>1?y.only(null):null});cu.displayName="SlotClone";const uu=({children:e})=>c(x,null,e);function du(e){return o(e)&&e.type===uu}function pu(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const hu=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=s((e,n)=>{const{asChild:r,...i}=e,o=r?lu:t;return p(()=>{window[Symbol.for("radix-ui")]=!0},[]),c(o,Qc({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const mu="dismissableLayer.update",fu="dismissableLayer.pointerDownOutside",gu="dismissableLayer.focusOutside";let bu;const vu=m({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yu=s((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...h}=e,m=g(vu),[f,b]=d(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=d({}),x=eu(t,e=>b(e)),I=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=f?I.indexOf(f):-1,N=m.layersWithOutsidePointerEventsDisabled.size>0,E=A>=w,k=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=au(e),r=u(!1),i=u(()=>{});return p(()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){Iu(fu,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...m.branches].some(e=>e.contains(t));E&&!n&&(null==o||o(e),null==s||s(e),e.defaultPrevented||null==l||l())},v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=au(e),r=u(!1);return p(()=>{const e=e=>{if(e.target&&!r.current){Iu(gu,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...m.branches].some(e=>e.contains(t))||(null==a||a(e),null==s||s(e),e.defaultPrevented||null==l||l())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=au(e);p(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===m.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},v),p(()=>{if(f)return r&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(bu=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(f)),m.layers.add(f),xu(),()=>{r&&1===m.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=bu)}},[f,v,r,m]),p(()=>()=>{f&&(m.layers.delete(f),m.layersWithOutsidePointerEventsDisabled.delete(f),xu())},[f,m]),p(()=>{const e=()=>y({});return document.addEventListener(mu,e),()=>document.removeEventListener(mu,e)},[]),c(hu.div,Qc({},h,{ref:x,style:{pointerEvents:N?E?"auto":"none":void 0,...e.style},onFocusCapture:Kc(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Kc(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Kc(e.onPointerDownCapture,k.onPointerDownCapture)}))});function xu(){const e=new CustomEvent(mu);document.dispatchEvent(e)}function Iu(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&E(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const Cu="focusScope.autoFocusOnMount",wu="focusScope.autoFocusOnUnmount",Au={bubbles:!1,cancelable:!0},Nu=s((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=d(null),m=au(i),f=au(o),g=u(null),b=eu(t,e=>l(e)),v=u({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p(()=>{if(r){function e(e){if(v.paused||!s)return;const t=e.target;s.contains(t)?g.current=t:Gu(g.current,{select:!0})}function t(e){if(v.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||Gu(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Gu(s)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const i=new MutationObserver(n);return s&&i.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[r,s,v.paused]),p(()=>{if(s){Pu.add(v);const t=document.activeElement;if(!s.contains(t)){const n=new CustomEvent(Cu,Au);s.addEventListener(Cu,m),s.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Gu(r,{select:t}),document.activeElement!==n)return}((e=Eu(s),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Gu(s))}return()=>{s.removeEventListener(Cu,m),setTimeout(()=>{const e=new CustomEvent(wu,Au);s.addEventListener(wu,f),s.dispatchEvent(e),e.defaultPrevented||Gu(null!=t?t:document.body,{select:!0}),s.removeEventListener(wu,f),Pu.remove(v)},0)}}var e},[s,m,f,v]);const y=h(e=>{if(!n&&!r)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[r,o]=function(e){const t=Eu(e),n=ku(t,e),r=ku(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&Gu(o,{select:!0})):(e.preventDefault(),n&&Gu(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return c(hu.div,Qc({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function Eu(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 ku(e,t){for(const n of e)if(!Tu(n,{upTo:t}))return n}function Tu(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 Gu(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 Pu=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Bu(e,t),e.unshift(t)},remove(t){var n;e=Bu(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Bu(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Su=s((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?N.createPortal(c(hu.div,Qc({},i,{ref:t})),r):null});const Ru=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=d(),r=u({}),i=u(e),o=u("none"),a=e?"mounted":"unmounted",[s,l]=function(e,t){return I((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p(()=>{const e=Vu(r.current);o.current="mounted"===s?e:"none"},[s]),nu(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=Vu(t);if(e)l("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))l("UNMOUNT");else{l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,l]),nu(()=>{if(t){const e=e=>{const n=Vu(r.current).includes(e.animationName);e.target===t&&n&&E(()=>l("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=Vu(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):y.only(n),o=eu(r.ref,i.ref);return"function"==typeof n||r.isPresent?a(i,{ref:o}):null};function Vu(e){return(null==e?void 0:e.animationName)||"none"}Ru.displayName="Presence";let Lu=0;function Mu(){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 Du=function(){return Du=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Du.apply(this,arguments)};function Ou(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Xu="right-scroll-bar-position",Wu="width-before-scroll-bar";function Fu(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Hu="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,zu=new WeakMap;function Zu(e,t){var n,r,i,o=(n=null,r=function(t){return e.forEach(function(e){return Fu(e,t)})},(i=d(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return Hu(function(){var t=zu.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||Fu(e,null)}),r.forEach(function(e){n.has(e)||Fu(e,i)})}zu.set(o,e)},[e]),o}function ju(e){return e}var Yu=function(e){var t=e.sideCar,n=Ou(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return r.createElement(i,Du({},n))};Yu.isSideCarExport=!0;var Ju=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=ju);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=Du({async:!0,ssr:!1},e),t}(),Uu=function(){},_u=r.forwardRef(function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:Uu,onWheelCapture:Uu,onTouchMoveCapture:Uu}),o=i[0],a=i[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=Ou(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=Zu([n,t]),C=Du(Du({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:Ju,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),Du(Du({},C),{ref:I})):r.createElement(v,Du({},C,{className:c,ref:I}),l))});_u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},_u.classNames={fullWidth:Wu,zeroRight:Xu};function $u(){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 Qu=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=$u())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Ku=function(){var e,t=(e=Qu(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},qu={left:0,top:0,right:0,gap:0},ed=function(e){return parseInt(e||"",10)||0},td=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return qu;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[ed(n),ed(r),ed(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},nd=Ku(),rd="data-scroll-locked",id=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(rd,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Xu," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Wu," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Xu," .").concat(Xu," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Wu," .").concat(Wu," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(rd,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},od=function(){var e=parseInt(document.body.getAttribute(rd)||"0",10);return isFinite(e)?e:0},ad=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(rd,(od()+1).toString()),function(){var e=od()-1;e<=0?document.body.removeAttribute(rd):document.body.setAttribute(rd,e.toString())}},[]);var a=r.useMemo(function(){return td(o)},[o]);return r.createElement(nd,{styles:id(a,!t,o,n?"":"!important")})},sd=!1;if("undefined"!=typeof window)try{var ld=Object.defineProperty({},"passive",{get:function(){return sd=!0,!0}});window.addEventListener("test",ld,ld),window.removeEventListener("test",ld,ld)}catch(e){sd=!1}var cd=!!sd&&{passive:!1},ud=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])},dd=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),pd(e,n)){var r=hd(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},pd=function(e,t){return"v"===e?function(e){return ud(e,"overflowY")}(t):function(e){return ud(e,"overflowX")}(t)},hd=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},md=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},fd=function(e){return[e.deltaX,e.deltaY]},gd=function(e){return e&&"current"in e?e.current:e},bd=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},vd=0,yd=[];var xd,Id=(xd=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(vd++)[0],a=r.useState(function(){return Ku()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(gd),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=md(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=dd(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=dd(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var h=i.current||r;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=hd(e,a),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&pd(e,a)&&(u+=m,d+=h),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=r.useCallback(function(e){var n=e;if(yd.length&&yd[yd.length-1]===a){var r="deltaY"in n?fd(n):md(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(gd).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=r.useCallback(function(e){n.current=md(e),i.current=void 0},[]),p=r.useCallback(function(t){u(t.type,fd(t),t.target,l(t,e.lockRef.current))},[]),h=r.useCallback(function(t){u(t.type,md(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return yd.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,cd),document.addEventListener("touchmove",c,cd),document.addEventListener("touchstart",d,cd),function(){yd=yd.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,cd),document.removeEventListener("touchmove",c,cd),document.removeEventListener("touchstart",d,cd)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:bd(o)}):null,m?r.createElement(ad,{gapMode:"margin"}):null)},Ju.useMedium(xd),Yu),Cd=r.forwardRef(function(e,t){return r.createElement(_u,Du({},e,{ref:t,sideCar:Id}))});Cd.classNames=_u.classNames;var wd=new WeakMap,Ad=new WeakMap,Nd={},Ed=0,kd=function(e){return e&&(e.host||kd(e.parentNode))},Td=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=kd(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]);Nd[n]||(Nd[n]=new WeakMap);var o=Nd[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(wd.get(e)||0)+1,c=(o.get(e)||0)+1;wd.set(e,l),o.set(e,c),a.push(e),1===l&&i&&Ad.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Ed++,function(){a.forEach(function(e){var t=wd.get(e)-1,i=o.get(e)-1;wd.set(e,t),o.set(e,i),t||(Ad.has(e)||e.removeAttribute(r),Ad.delete(e)),i||e.removeAttribute(n)}),--Ed||(wd=new WeakMap,wd=new WeakMap,Ad=new WeakMap,Nd={})}},Gd=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),Td(r,i,n,"aria-hidden")):function(){return null}};const Pd="Dialog",[Bd,Sd]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>m(e));return function(n){const r=(null==n?void 0:n[e])||t;return l(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=m(r),o=n.length;function a(t){const{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][o])||i,u=l(()=>a,Object.values(a));return c(s.Provider,{value:u},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][o])||i,l=g(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},tu(r,...t)]}(Pd),[Rd,Vd]=Bd(Pd),Ld="DialogPortal",[Md,Dd]=Bd(Ld,{forceMount:void 0}),Od="DialogOverlay",Xd=s((e,t)=>{const n=Dd(Od,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Vd(Od,e.__scopeDialog);return o.modal?c(Ru,{present:r||o.open},c(Wd,Qc({},i,{ref:t}))):null}),Wd=s((e,t)=>{const{__scopeDialog:n,...r}=e,i=Vd(Od,n);return c(Cd,{as:lu,allowPinchZoom:!0,shards:[i.contentRef]},c(hu.div,Qc({"data-state":_d(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Fd="DialogContent",Hd=s((e,t)=>{const n=Dd(Fd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Vd(Fd,e.__scopeDialog);return c(Ru,{present:r||o.open},o.modal?c(zd,Qc({},i,{ref:t})):c(Zd,Qc({},i,{ref:t})))}),zd=s((e,t)=>{const n=Vd(Fd,e.__scopeDialog),r=u(null),i=eu(t,n.contentRef,r);return p(()=>{const e=r.current;if(e)return Gd(e)},[]),c(jd,Qc({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Kc(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Kc(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Kc(e.onFocusOutside,e=>e.preventDefault())}))}),Zd=s((e,t)=>{const n=Vd(Fd,e.__scopeDialog),r=u(!1),i=u(!1);return c(jd,Qc({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),jd=s((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=Vd(Fd,n),l=eu(t,u(null));return p(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Mu()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Mu()),Lu++,()=>{1===Lu&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Lu--}},[]),c(x,null,c(Nu,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},c(yu,Qc({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":_d(s.open)},a,{ref:l,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),Yd="DialogTitle",Jd="DialogClose",Ud=s((e,t)=>{const{__scopeDialog:n,...r}=e,i=Vd(Jd,n);return c(hu.button,Qc({type:"button"},r,{ref:t,onClick:Kc(e.onClick,()=>i.onOpenChange(!1))}))});function _d(e){return e?"open":"closed"}!function(e,t){const n=m(t);function r(e){const{children:t,...r}=e,i=l(()=>r,Object.values(r));return c(n.Provider,{value:i},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Fd,titleName:Yd,docsSlug:"dialog"});const $d=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=u(null),l=u(null),[d=!1,p]=su({prop:r,defaultProp:i,onChange:o});return c(Rd,{scope:t,triggerRef:s,contentRef:l,contentId:ou(),titleId:ou(),descriptionId:ou(),open:d,onOpenChange:p,onOpenToggle:h(()=>p(e=>!e),[p]),modal:a},n)},Qd=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Vd(Ld,t);return c(Md,{scope:t,forceMount:n},y.map(r,e=>c(Ru,{present:n||o.open},c(Su,{asChild:!0,container:i},e))))},Kd=Xd,qd=Hd,ep=Ud,tp=n=>{const{isOpen:r,onRequestClose:i,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e($d,{open:r,onOpenChange:()=>r&&(null==i?void 0:i()),children:t(Qd,{children:[e(zc.div,{initial:"closed",animate:r?"open":"closed",variants:Un,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Kd,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(zc.div,{initial:"closed",animate:r?"open":"closed",variants:_n,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(qd,{className:Ze("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:$n[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(ep,{asChild:!0,children:e(mn,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(_t,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e($t,{className:Ze("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($t,{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]})]})]})})})})]})})},np=({children:n,background:r,className:i,fill:o="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof r&&r in d,h=p?d[r]:void 0,m=r&&!p?{background:r}:void 0,f=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=i?i:""} ${a?"max-content":""} ${null!=h?h:m?"":"bg-white"}`,style:m,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,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 ${f}`,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 ${f}`,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 ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:i,style:m,children:n})},rp=({title:n,background:r="white",button:i,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>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"}[r]} 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($t,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e($t,{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(mn,{...i,renderCheckPlans:h,onModalButtonClick:p,size:{base:"large"}})})]})}),ip=({background:r="white",description:i,enableHeading:o,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e($t,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e($t,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[i&&e($t,{as:"p",className:"body1",children:i}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(Kt,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(Kt,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(vn,{width:472,height:100,src:a,alt:"image"})})]})]})}),op=({title:n,disclaimer:r,table:i,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(o?"max-w-120 xl:mx-auto":""),children:[e($t,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:i}),e($t,{as:"div",className:"micro mt-8 text-center",children:r})]})}),ap=({currentPage:n,totalPages:r,onPageChange:i,ariaLabel:o="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const r=Math.max(2,e-1),i=Math.min(t-1,e+1);for(let e=r;e<=i;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(n,r),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e(an,{className:s,onClick:()=>i(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(_t,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,r)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e(an,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>i(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(an,{className:s,onClick:()=>i(n+1),disabled:n===r,"aria-label":"Go to next page",children:e(_t,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function sp(e){return sp="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},sp(e)}function lp(e){var t=function(e,t){if("object"!=sp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=sp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==sp(t)?t:t+""}function cp(e,t,n){return(t=lp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function up(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?up(Object(n),!0).forEach(function(t){cp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):up(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function hp(e,t){if(e){if("string"==typeof e)return pp(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)?pp(e,t):void 0}}function mp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||hp(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 fp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var gp=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function bp(){return bp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bp.apply(null,arguments)}function vp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,lp(r.key),r)}}function yp(e,t){return yp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yp(e,t)}function xp(e){return xp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},xp(e)}function Ip(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ip=function(){return!!e})()}function Cp(e,t){if(t&&("object"==sp(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 wp(e){return function(e){if(Array.isArray(e))return pp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||hp(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 Ap=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}(),Np="-ms-",Ep="-moz-",kp="-webkit-",Tp="comm",Gp="rule",Pp="decl",Bp="@keyframes",Sp=Math.abs,Rp=String.fromCharCode,Vp=Object.assign;function Lp(e){return e.trim()}function Mp(e,t,n){return e.replace(t,n)}function Dp(e,t){return e.indexOf(t)}function Op(e,t){return 0|e.charCodeAt(t)}function Xp(e,t,n){return e.slice(t,n)}function Wp(e){return e.length}function Fp(e){return e.length}function Hp(e,t){return t.push(e),e}var zp=1,Zp=1,jp=0,Yp=0,Jp=0,Up="";function _p(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:zp,column:Zp,length:a,return:""}}function $p(e,t){return Vp(_p("",null,null,"",null,null,0),e,{length:-e.length},t)}function Qp(){return Jp=Yp>0?Op(Up,--Yp):0,Zp--,10===Jp&&(Zp=1,zp--),Jp}function Kp(){return Jp=Yp<jp?Op(Up,Yp++):0,Zp++,10===Jp&&(Zp=1,zp++),Jp}function qp(){return Op(Up,Yp)}function eh(){return Yp}function th(e,t){return Xp(Up,e,t)}function nh(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 rh(e){return zp=Zp=1,jp=Wp(Up=e),Yp=0,[]}function ih(e){return Up="",e}function oh(e){return Lp(th(Yp-1,lh(91===e?e+2:40===e?e+1:e)))}function ah(e){for(;(Jp=qp())&&Jp<33;)Kp();return nh(e)>2||nh(Jp)>3?"":" "}function sh(e,t){for(;--t&&Kp()&&!(Jp<48||Jp>102||Jp>57&&Jp<65||Jp>70&&Jp<97););return th(e,eh()+(t<6&&32==qp()&&32==Kp()))}function lh(e){for(;Kp();)switch(Jp){case e:return Yp;case 34:case 39:34!==e&&39!==e&&lh(Jp);break;case 40:41===e&&lh(e);break;case 92:Kp()}return Yp}function ch(e,t){for(;Kp()&&e+Jp!==57&&(e+Jp!==84||47!==qp()););return"/*"+th(t,Yp-1)+"*"+Rp(47===e?e:Kp())}function uh(e){for(;!nh(qp());)Kp();return th(e,Yp)}function dh(e){return ih(ph("",null,null,null,[""],e=rh(e),0,[0],e))}function ph(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,f=1,g=1,b=1,v=0,y="",x=i,I=o,C=r,w=y;g;)switch(m=v,v=Kp()){case 40:if(108!=m&&58==Op(w,d-1)){-1!=Dp(w+=Mp(oh(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=oh(v);break;case 9:case 10:case 13:case 32:w+=ah(m);break;case 92:w+=sh(eh()-1,7);continue;case 47:switch(qp()){case 42:case 47:Hp(mh(ch(Kp(),eh()),t,n),l);break;default:w+="/"}break;case 123*f:s[c++]=Wp(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=Mp(w,/\f/g,"")),h>0&&Wp(w)-d&&Hp(h>32?fh(w+";",r,n,d-1):fh(Mp(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(Hp(C=hh(w,t,n,c,u,i,s,y,x=[],I=[],d),o),123===v)if(0===u)ph(w,t,C,C,x,o,d,s,I);else switch(99===p&&110===Op(w,3)?100:p){case 100:case 108:case 109:case 115:ph(e,C,C,r&&Hp(hh(e,C,C,0,0,i,s,y,i,x=[],d),I),i,I,d,s,r?x:I);break;default:ph(w,C,C,C,[""],I,0,s,I)}}c=u=h=0,f=b=1,y=w="",d=a;break;case 58:d=1+Wp(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Qp())continue;switch(w+=Rp(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Wp(w)-1)*b,b=1;break;case 64:45===qp()&&(w+=oh(Kp())),p=qp(),u=d=Wp(y=w+=uh(eh())),v++;break;case 45:45===m&&2==Wp(w)&&(f=0)}}return o}function hh(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=Fp(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=Xp(e,d+1,d=Sp(f=a[m])),y=e;b<h;++b)(y=Lp(f>0?p[b]+" "+v:Mp(v,/&\f/g,p[b])))&&(l[g++]=y);return _p(e,t,n,0===i?Gp:s,l,c,u)}function mh(e,t,n){return _p(e,t,n,Tp,Rp(Jp),Xp(e,2,-2),0)}function fh(e,t,n,r){return _p(e,t,n,Pp,Xp(e,0,r),Xp(e,r+1,-1),r)}function gh(e,t){for(var n="",r=Fp(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function bh(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Pp:return e.return=e.return||e.value;case Tp:return"";case Bp:return e.return=e.value+"{"+gh(e.children,r)+"}";case Gp:e.value=e.props.join(",")}return Wp(n=gh(e.children,r))?e.return=e.value+"{"+n+"}":""}function vh(e){var t=Fp(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function yh(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var xh="undefined"!=typeof document,Ih=function(e,t,n){for(var r=0,i=0;r=i,i=qp(),38===r&&12===i&&(t[n]=1),!nh(i);)Kp();return th(e,Yp)},Ch=function(e,t){return ih(function(e,t){var n=-1,r=44;do{switch(nh(r)){case 0:38===r&&12===qp()&&(t[n]=1),e[n]+=Ih(Yp-1,t,n);break;case 2:e[n]+=oh(r);break;case 4:if(44===r){e[++n]=58===qp()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Rp(r)}}while(r=Kp());return e}(rh(e),t))},wh=new WeakMap,Ah=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||wh.get(n))&&!r){wh.set(e,!0);for(var i=[],o=Ch(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Nh=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Eh(e,t){switch(function(e,t){return 45^Op(e,0)?(((t<<2^Op(e,0))<<2^Op(e,1))<<2^Op(e,2))<<2^Op(e,3):0}(e,t)){case 5103:return kp+"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 kp+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return kp+e+Ep+e+Np+e+e;case 6828:case 4268:return kp+e+Np+e+e;case 6165:return kp+e+Np+"flex-"+e+e;case 5187:return kp+e+Mp(e,/(\w+).+(:[^]+)/,kp+"box-$1$2"+Np+"flex-$1$2")+e;case 5443:return kp+e+Np+"flex-item-"+Mp(e,/flex-|-self/,"")+e;case 4675:return kp+e+Np+"flex-line-pack"+Mp(e,/align-content|flex-|-self/,"")+e;case 5548:return kp+e+Np+Mp(e,"shrink","negative")+e;case 5292:return kp+e+Np+Mp(e,"basis","preferred-size")+e;case 6060:return kp+"box-"+Mp(e,"-grow","")+kp+e+Np+Mp(e,"grow","positive")+e;case 4554:return kp+Mp(e,/([^-])(transform)/g,"$1"+kp+"$2")+e;case 6187:return Mp(Mp(Mp(e,/(zoom-|grab)/,kp+"$1"),/(image-set)/,kp+"$1"),e,"")+e;case 5495:case 3959:return Mp(e,/(image-set\([^]*)/,kp+"$1$`$1");case 4968:return Mp(Mp(e,/(.+:)(flex-)?(.*)/,kp+"box-pack:$3"+Np+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+kp+e+e;case 4095:case 3583:case 4068:case 2532:return Mp(e,/(.+)-inline(.+)/,kp+"$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(Wp(e)-1-t>6)switch(Op(e,t+1)){case 109:if(45!==Op(e,t+4))break;case 102:return Mp(e,/(.+:)(.+)-([^]+)/,"$1"+kp+"$2-$3$1"+Ep+(108==Op(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Dp(e,"stretch")?Eh(Mp(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Op(e,t+1))break;case 6444:switch(Op(e,Wp(e)-3-(~Dp(e,"!important")&&10))){case 107:return Mp(e,":",":"+kp)+e;case 101:return Mp(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+kp+(45===Op(e,14)?"inline-":"")+"box$3$1"+kp+"$2$3$1"+Np+"$2box$3")+e}break;case 5936:switch(Op(e,t+11)){case 114:return kp+e+Np+Mp(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return kp+e+Np+Mp(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return kp+e+Np+Mp(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return kp+e+Np+e+e}return e}var kh,Th,Gh,Ph=xh?void 0:(kh=function(){return yh(function(){return{}})},Th=new WeakMap,function(e){if(Th.has(e))return Th.get(e);var t=kh(e);return Th.set(e,t),t}),Bh=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Pp:e.return=Eh(e.value,e.length);break;case Bp:return gh([$p(e,{value:Mp(e.value,"@","@"+kp)})],r);case Gp: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 gh([$p(e,{props:[Mp(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return gh([$p(e,{props:[Mp(t,/:(plac\w+)/,":"+kp+"input-$1")]}),$p(e,{props:[Mp(t,/:(plac\w+)/,":-moz-$1")]}),$p(e,{props:[Mp(t,/:(plac\w+)/,Np+"input-$1")]})],r)}return""})}}],Sh=function(e){var t=e.key;if(xh&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||Bh,a={},s=[];xh&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Ah,Nh];if(Ph){var u=[bh],d=vh(c.concat(o,u)),p=Ph(o)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=gh(dh(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=h(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var m,f=[bh,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=vh(c.concat(o,f));i=function(e,t,n,r){m=n,gh(dh(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Ap({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},Rh={exports:{}},Vh={};var Lh,Mh,Dh,Oh,Xh={};
|
|
5
|
+
function xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var It=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=xt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",xt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,xt({},this.attributes,t))},withConverter:function(t){return e(xt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const Ct=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const wt=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,At=e=>{if(!e)return null;if(wt(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return wt(t)?t:null}return null};var Nt=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),Et=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),kt=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});const Tt=[Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.OL_LIST,Nt.UL_LIST,Nt.HR,Nt.QUOTE,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Nt.EMBEDDED_RESOURCE,Nt.TABLE],Gt=[Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.OL_LIST,Nt.UL_LIST,Nt.HR,Nt.QUOTE,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Nt.EMBEDDED_RESOURCE];Nt.TABLE,Nt.TABLE_ROW,Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL,Nt.HR,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Nt.EMBEDDED_RESOURCE;const Pt={[Nt.OL_LIST]:[Nt.LIST_ITEM],[Nt.UL_LIST]:[Nt.LIST_ITEM],[Nt.LIST_ITEM]:Gt,[Nt.QUOTE]:[Nt.PARAGRAPH],[Nt.TABLE]:[Nt.TABLE_ROW],[Nt.TABLE_ROW]:[Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL],[Nt.TABLE_CELL]:[Nt.PARAGRAPH,Nt.UL_LIST,Nt.OL_LIST],[Nt.TABLE_HEADER_CELL]:[Nt.PARAGRAPH]};Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6;Nt.PARAGRAPH,Nt.DOCUMENT,Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.OL_LIST,Nt.UL_LIST,Nt.LIST_ITEM,Nt.HR,Nt.QUOTE,Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Et.HYPERLINK,Et.ENTRY_HYPERLINK,Et.ASSET_HYPERLINK,Et.EMBEDDED_ENTRY,kt.BOLD,kt.CODE,kt.ITALIC,kt.UNDERLINE,Nt.DOCUMENT,Nt.PARAGRAPH;function Bt(e){if(!function(e){return null!=e&&"object"==typeof e&&"content"in e&&Array.isArray(e.content)}(e)||e.content.length<2)return e;return function(e){if(e.nodeType!==Nt.PARAGRAPH)return!1;if(1!==e.content.length)return!1;const t=e.content[0];return"text"===t.nodeType&&""===t.value}(e.content[e.content.length-1])?{...e,content:e.content.slice(0,-1)}:e}const St=({path:e,property:t,typeName:n,value:r})=>({details:`The type of "${t}" is incorrect, expected type: ${n}`,name:"type",path:e.toArray(),type:n,value:r});class Rt{obj;path;_errors=[];constructor(e,t){this.obj=e,this.path=t}catch=(...e)=>{this._errors.push(...e)};get errors(){const e=e=>JSON.stringify({details:e.details,path:e.path});return this._errors.filter((t,n)=>this._errors.findIndex(n=>e(t)===e(n))===n)}exists=e=>e in this.obj||(this.catch((({property:e,path:t})=>({details:`The property "${e}" is required here`,name:"required",path:t.toArray()}))({property:e,path:this.path.of(e)})),!1);object=e=>{const t=e?this.obj[e]:this.obj;if(e&&!this.exists(e))return!1;if("object"==typeof t&&!Array.isArray(t)&&null!==t)return!0;const n=e?this.path.of(e):this.path,r=e??this.path.last()??"value";return this.catch(St({typeName:"Object",property:r,path:n,value:t})),!1};string=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&("string"==typeof t||(this.catch(St({typeName:"String",property:e,path:this.path.of(e),value:t})),!1))};number=(e,t)=>{const n=this.obj[e];return!(!t||e in this.obj)||!!this.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(this.catch(St({typeName:"Number",property:e,path:this.path.of(e),value:n})),!1))};array=e=>{const t=this.obj[e];return!(e&&!this.exists(e))&&(!!Array.isArray(t)||(this.catch(St({typeName:"Array",property:e,path:this.path.of(e),value:t})),!1))};enum=(e,t)=>{const n=this.obj[e];return!("string"!=typeof n||!t.includes(n))||(this.catch((({expected:e,value:t,path:n})=>({details:"Value must be one of expected values",name:"in",expected:[...e].sort(),path:n.toArray(),value:t}))({expected:t,value:n,path:this.path.of(e)})),!1)};empty=e=>{if(!this.array(e))return!1;const t=this.obj[e];return 0===t.length||(this.catch((({max:e,value:t,path:n})=>({name:"size",max:e,path:n.toArray(),details:`Size must be at most ${e}`,value:t}))({max:0,value:t,path:this.path.of(e)})),!1)};minLength=(e,t)=>{if(!this.array(e))return!1;const n=this.obj[e];return n.length>=t||(this.catch((({min:e,value:t,path:n})=>({name:"size",min:e,path:n.toArray(),details:`Size must be at least ${e}`,value:t}))({min:t,value:n,path:this.path.of(e)})),!1)};noAdditionalProperties=e=>{const t=Object.keys(this.obj).sort().filter(t=>!e.includes(t));return t.forEach(e=>this.catch((({property:e,path:t})=>({details:`The property "${e}" is not expected`,name:"unexpected",path:t.toArray()}))({property:e,path:this.path.of(e)}))),0===t.length};each=(e,t)=>{if(!this.array(e))return;const n=this.obj[e];let r=!1;n.forEach((n,i)=>{if(r)return;const o=t(n,this.path.of(e).of(i));o.length>0&&(r=!0),this.catch(...o)})}}const Vt=[];class Lt{contentRule;validateData;constructor(e,t){this.contentRule=e,this.validateData=t}assert(e,t){const n=new Rt(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);const{nodeTypes:r,min:i=0}=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t);if(0===r.length&&i>0)throw new Error(`Invalid content rule. Cannot have enforce a 'min' of ${i} with no nodeTypes`);if(n.minLength("content",i),0===r.length?n.empty("content"):n.each("content",(e,t)=>{const n=new Rt(e,t);return n.object()?(n.enum("nodeType",r),n.errors):n.errors}),n.object("data")){const r=this.validateData?.(e.data,t.of("data"))??[];n.catch(...r)}return n.errors}}class Mt extends Lt{linkType;type;constructor(e,t){super(t,(e,t)=>this.assertLink(e,t)),this.linkType=e,this.type=this.linkType.startsWith("Contentful:")?"ResourceLink":"Link"}assertLink=(e,t)=>{const n=new Rt(e,t);if(n.object("target")){const r=new Rt(e.target.sys,t.of("target").of("sys"));r.object()&&(r.enum("type",[this.type]),r.enum("linkType",[this.linkType]),"Link"===this.type?(r.string("id"),r.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===this.type&&(r.string("urn"),r.noAdditionalProperties(["type","linkType","urn"]))),n.catch(...r.errors)}return n.noAdditionalProperties(["target"]),n.errors}}const Dt=(e,t)=>new Lt(e,t),Ot=(e,t)=>new Mt(e,t);Dt([...Object.values(Et),"text"].sort()),Dt([Nt.LIST_ITEM]),Ot("Entry",Vt),Dt(()=>({nodeTypes:[Nt.PARAGRAPH],min:1}),(e,t)=>{const n=new Rt(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});function Xt(e,t){return e.map((e,n)=>{return r=Wt(e,t),i=n,o(r)&&null===r.key?a(r,{key:i}):r;var r,i})}function Wt(e,t){const{renderNode:n,renderMark:r,renderText:o,preserveWhitespace:a}=t;if(function(e){return"text"===e.nodeType}(e)){let t=o?o(e.value):e.value;if(a&&!o){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const e=t.split("\n"),n=[];e.forEach((t,r)=>{n.push(t),r!==e.length-1&&n.push(i.createElement("br",null))}),t=n}return e.marks.reduce((e,t)=>r[t.type]?r[t.type](e):e,t)}{const r=Xt(e.content,t);return e.nodeType&&n[e.nodeType]?n[e.nodeType](e,r):i.createElement(i.Fragment,null,r)}}Nt.DOCUMENT,Dt(Tt),Nt.PARAGRAPH,Nt.HEADING_1,Nt.HEADING_2,Nt.HEADING_3,Nt.HEADING_4,Nt.HEADING_5,Nt.HEADING_6,Nt.QUOTE,Dt(Pt[Nt.QUOTE]),Nt.EMBEDDED_ENTRY,Nt.EMBEDDED_ASSET,Ot("Asset",Vt),Nt.EMBEDDED_RESOURCE,Ot("Contentful:Entry",Vt),Nt.HR,Dt(Vt),Nt.OL_LIST,Nt.UL_LIST,Nt.LIST_ITEM,Dt([...Gt].sort()),Nt.TABLE,Dt(()=>({nodeTypes:[Nt.TABLE_ROW],min:1})),Nt.TABLE_ROW,Dt(()=>({nodeTypes:[Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL],min:1})),Nt.TABLE_CELL,Nt.TABLE_HEADER_CELL,Et.HYPERLINK,new class extends Lt{constructor(){super(["text"],(e,t)=>this.assertLink(e,t))}assertLink=(e,t)=>{const n=new Rt(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}},Et.EMBEDDED_ENTRY,Et.EMBEDDED_RESOURCE,Ot("Contentful:Entry",Vt),Et.ENTRY_HYPERLINK,Ot("Entry",["text"]),Et.ASSET_HYPERLINK,Ot("Asset",["text"]),Et.RESOURCE_HYPERLINK,Ot("Contentful:Entry",["text"]);const Ft={[Nt.DOCUMENT]:(e,t)=>t,[Nt.PARAGRAPH]:(e,t)=>i.createElement("p",null,t),[Nt.HEADING_1]:(e,t)=>i.createElement("h1",null,t),[Nt.HEADING_2]:(e,t)=>i.createElement("h2",null,t),[Nt.HEADING_3]:(e,t)=>i.createElement("h3",null,t),[Nt.HEADING_4]:(e,t)=>i.createElement("h4",null,t),[Nt.HEADING_5]:(e,t)=>i.createElement("h5",null,t),[Nt.HEADING_6]:(e,t)=>i.createElement("h6",null,t),[Nt.EMBEDDED_ENTRY]:(e,t)=>i.createElement("div",null,t),[Nt.EMBEDDED_RESOURCE]:(e,t)=>i.createElement("div",null,t),[Nt.UL_LIST]:(e,t)=>i.createElement("ul",null,t),[Nt.OL_LIST]:(e,t)=>i.createElement("ol",null,t),[Nt.LIST_ITEM]:(e,t)=>i.createElement("li",null,t),[Nt.QUOTE]:(e,t)=>i.createElement("blockquote",null,t),[Nt.HR]:()=>i.createElement("hr",null),[Nt.TABLE]:(e,t)=>i.createElement("table",null,i.createElement("tbody",null,t)),[Nt.TABLE_ROW]:(e,t)=>i.createElement("tr",null,t),[Nt.TABLE_HEADER_CELL]:(e,t)=>i.createElement("th",null,t),[Nt.TABLE_CELL]:(e,t)=>i.createElement("td",null,t),[Et.ASSET_HYPERLINK]:e=>zt(Et.ASSET_HYPERLINK,e),[Et.ENTRY_HYPERLINK]:e=>zt(Et.ENTRY_HYPERLINK,e),[Et.RESOURCE_HYPERLINK]:e=>Zt(Et.RESOURCE_HYPERLINK,e),[Et.EMBEDDED_ENTRY]:e=>zt(Et.EMBEDDED_ENTRY,e),[Et.EMBEDDED_RESOURCE]:(e,t)=>Zt(Et.EMBEDDED_RESOURCE,e),[Et.HYPERLINK]:(e,t)=>i.createElement("a",{href:e.data.uri},t)},Ht={[kt.BOLD]:e=>i.createElement("b",null,e),[kt.ITALIC]:e=>i.createElement("i",null,e),[kt.UNDERLINE]:e=>i.createElement("u",null,e),[kt.CODE]:e=>i.createElement("code",null,e),[kt.SUPERSCRIPT]:e=>i.createElement("sup",null,e),[kt.SUBSCRIPT]:e=>i.createElement("sub",null,e),[kt.STRIKETHROUGH]:e=>i.createElement("s",null,e)};function zt(e,t){return i.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function Zt(e,t){return i.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}function jt(e,t={}){if(!e)return null;let n=e;return t.stripEmptyTrailingParagraph&&(n=Bt(e)),Wt(n,{renderNode:{...Ft,...t.renderNode},renderMark:{...Ht,...t.renderMark},renderText:t.renderText,preserveWhitespace:t.preserveWhitespace})}const Yt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},Jt=s(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ze("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:a,className:s,style:i,...o,children:t})});Jt.displayName="ListItem";const Ut=s(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ze(u,`list--${t}`,`list--${a}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e(Jt,{className:t.className,variant:a,children:t.content},t.id||n)):null),h={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...h,ref:c})});Ut.displayName="List";const _t=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:Ze("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};_t.displayName="MaterialIcon";const $t=s(({children:e,as:t,className:n="",style:r,...o},a)=>{const s=t||"p";return i.createElement(s,{ref:a,className:n,style:r,...o},e)});$t.displayName="Text";const Qt=n=>{const{items:r,listIconName:i="check",listItemClassName:o,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==i;return(null==r?void 0:r.length)?e(Ut,{className:Ze("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:r.map((n,r)=>t(Jt,{variant:d?"unstyled":"default",className:Ze(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,o),children:[d&&e("div",{className:"flex leading-none",children:e(_t,{name:i,size:s,color:Yt[c],weight:"600",className:Ze("block","top"===l?"mt-1":"",u)})}),e($t,{as:"div",children:n})]},r))}):null};Qt.displayName="Checklist";const Kt=s(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},h=Ze(d,`link--${o}`,l&&"link--disabled",r),m={...c,ref:u,className:h,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",{...m,children:t}):e(w,{href:n||"#",className:h,onClick:p,...c,children:t})});Kt.displayName="Link";const qt={renderMark:{[kt.BOLD]:t=>e("strong",{className:"label3",children:t}),[kt.ITALIC]:t=>e("em",{children:t}),[kt.UNDERLINE]:t=>e("u",{children:t}),[kt.CODE]:t=>e("code",{children:t})},renderNode:{[Nt.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[Nt.HEADING_1]:(t,n)=>e($t,{as:"h1",className:"heading2 md:heading1",children:n}),[Nt.HEADING_2]:(t,n)=>e($t,{as:"h2",className:"heading6 md:heading5",children:n}),[Nt.HEADING_3]:(t,n)=>e($t,{as:"h3",className:"heading6 md:heading5",children:n}),[Nt.HEADING_4]:(t,n)=>e($t,{as:"h3",className:"headingClass",children:n}),[Nt.HEADING_5]:(t,n)=>e($t,{as:"h3",className:"heading6 md:heading5",children:n}),[Nt.HEADING_6]:(t,n)=>e($t,{as:"h3",className:"heading6",children:n}),[Nt.QUOTE]:(t,n)=>e("blockquote",{children:n}),[Nt.UL_LIST]:(t,n)=>e("ul",{children:n}),[Nt.OL_LIST]:(t,n)=>e("ol",{children:n}),[Nt.LIST_ITEM]:(t,n)=>e("li",{children:n}),[Et.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=/^https?:\/\//.test(i);return e("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,children:n})},[Nt.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,a=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.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%"}})},[Nt.EMBEDDED_ENTRY]:n=>{var r,i,o,a;const s=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"callout"===(null===(a=null===(o=null===(i=null==s?void 0:s.sys)||void 0===i?void 0:i.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},[Et.EMBEDDED_ENTRY]:n=>{var r,i,o,a,s,l;const c=null===(r=null==n?void 0:n.data)||void 0===r?void 0:r.target;return"componentCheckList"===(null===(a=null===(o=null===(i=null==c?void 0:c.sys)||void 0===i?void 0:i.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 en(t,n,r="body1",i="body1 font-bold",o){if(!t||!Array.isArray(t.content))return null;const a={...qt,...o,renderNode:{...qt.renderNode,...null==o?void 0:o.renderNode,[Nt.PARAGRAPH]:(t,n)=>e("div",{className:r,children:n}),[Et.HYPERLINK]:(t,r)=>{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(Kt,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:i,children:r})}}};return jt(t,a)}function tn(e,t){return l(()=>{if(!e||!Array.isArray(e.content))return null;const n={...qt,renderMark:{...qt.renderMark,...null==t?void 0:t.renderMark},renderNode:{...qt.renderNode,...null==t?void 0:t.renderNode}};return jt(e,n)},[e,t])}function nn(r,i){if(!r||!Array.isArray(r.content))return null;const o={...qt,renderMark:{...qt.renderMark,[kt.BOLD]:t=>e("strong",{className:"label2",children:t})},renderNode:{...qt.renderNode,[Nt.PARAGRAPH]:(t,n)=>e("div",{className:"body2",children:n}),[Nt.TABLE]:(t,n)=>{var r,i;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===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[Nt.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[Nt.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center ${i?"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})},[Nt.TABLE_CELL]:(r,i)=>{var o,a,s,l;const c=(null===(o=r.parent)||void 0===o?void 0:o.content.length)>2,u=null===(l=null===(s=null===(a=r.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(_t,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(_t,{name:"cancel",color:"#CECECE",fill:1}):i]})})},[Et.EMBEDDED_ENTRY]:t=>{var n,r,o,a;const s=t.data.target.sys.id,l=null===(r=null===(n=null==i?void 0:i.entries)||void 0===n?void 0:n.inline)||void 0===r?void 0:r.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 en(At(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"body2")}))||[];return e(Qt,{items:t,listIconName:"disc",listItemClassName:"items-baseline body2"})}return e("span",{children:l.title||""})}}};return jt(r,o)}const rn={renderMark:{[kt.BOLD]:e=>c("span",{className:"label1"},e)}};function on(e,t,n,r){return l(()=>{var i,o;const a=null!==(o=null===(i=null==e?void 0:e.list)||void 0===i?void 0:i.items)&&void 0!==o?o:[];return t?a.map(e=>{var t,i;return null!==(i=en(At(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:""}):a.map(e=>{var t,i,o,a,s;return{title:null!==(i=en(At(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,r,void 0,n))&&void 0!==i?i:"",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,r])}const an=s(({children:t,className:n="",style:r,disabled:i,...o},a)=>e("button",{ref:a,className:Ze(n),style:r,disabled:i,...o,children:t}));an.displayName="Button";const sn=t=>{const{open:n,children:r}=t,i=u(null),[o,a]=d(0);return p(()=>{const e=i.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:o,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:i,children:r})})};sn.displayName="Collapse";const ln=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:h,borderRadiusNone:m=!1}=n,[f,g]=d(Boolean(!1));return p(()=>{if(h){const e=window.innerWidth>=1024;g(e)}else g(Boolean(i))},[h,i]),t("div",{className:Ze(m?"rounded-none border":"rounded-surface-xs border",a),children:[t(an,{type:"button",className:Ze(m?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>g(e=>!e),children:[e("span",{className:Ze("label5 flex-1",s),children:r}),e(_t,{className:Ze("flex-shrink-0",u),name:f?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(sn,{open:f,children:e("div",{className:Ze("px-4 py-4",l),children:o})})]})};ln.displayName="Accordion";const cn=t=>{const{className:n,...r}=t;return e("div",{className:Ze("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};cn.displayName="Divider";const un=({items:n,title:r,anchorId:i,background:o="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:h})=>{const[m,f]=d(l);p(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);f(e=>e.includes(t)?e:[...e,t])}}},[c]);return e("section",{id:i,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($t,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e("div",{className:`pt-6 md:pt-10 ${null!=h?h:""}`,children:null==n?void 0:n.map((r,i)=>{const o=r.anchorId||`item-${i}`,a=r.anchorId?m.includes(r.anchorId):void 0;return t("div",{id:r.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(ln,{title:r.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,...r.anchorId&&{onClick:()=>{return e=r.anchorId,void f(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:u,children:e($t,{as:"div",children:r.description})})}),i<n.length-1&&e(cn,{className:"my-6 md:my-10"},`divider-${i}`)]},o)})})]})})},dn=({href:r,title:i,description:o,date:a,category:s,image:l,readMoreText:c="Read more",asGrid:u=!0,lgWidth:d,mdWidth:p,index:h})=>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":h,children:[e(w,{href:r,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e(A,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),i&&e(w,{href:r,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:i}),o&&e($t,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:o}),t(w,{href:r,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${c} about ${i||"this article"}`,children:[e($t,{"aria-label":`${c} about ${i||"this article"}`,className:"label1 text-nowrap",children:c}),e(_t,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),pn=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()},hn=s(({variant:r="primary_brand",isLoading:i=!1,text:o,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},h)=>{const m=(()=>{const e=Ze((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=Ze((s||i)&&"cursor-not-allowed",i&&"pl-7");return Ze(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[r]||"",t,c)})();let f=`button--${r}`;i&&(f+=" button--loading"),s&&(f+=" button--disabled");const g=`${f} ${m}`,b=t(n,{children:[i?e(_t,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:Ze(pn(u)),children:a}),o]}):o]});return"a"===d?e("a",{ref:h,className:Ze(g),...p,children:b}):e("button",{ref:h,className:Ze(g),disabled:s||i,...p,children:b})});hn.displayName="BrandButton";const mn=n=>{const{showButtonAs:r="solid",buttonVariant:i="primary_brand",buttonLabel:o,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:h,renderCheckPlans:m,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:C,iconSize:w=24,preserveQueryParameters:A,...N}=n;if("check availability"===h){return null==m?void 0:m({ctaText:o,buttonVariant:i,showButtonAs:r,cta:{...n}})}function E(){"modal"===g&&(null==v||v(b))}function k(e){E(),null==y||y(e)}function T(e){E(),null==y||y(e)}const G="undefined"!=typeof window?window.location.search:"",P=s&&A&&G?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(Ct),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(s,G):s;let B=e(an,{onClick:T,className:f,...N});switch(r){case"solid":B=e(hn,P?{as:"a",href:P,id:c,variant:i,text:o,label:a,fullWidth:p,buttonClassName:f,size:C,onClick:k}:{id:c,variant:i,text:o,label:a,fullWidth:p,size:C,onClick:T,buttonClassName:f});break;case"text":B=t(Kt,{title:o,href:P,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:k,children:[o," ",x&&e(_t,{name:x,size:w,fill:I})]})}return B},fn={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},gn=({src:e,width:t,quality:n})=>{const r=new URL(e);return r.searchParams.set("w",String(t)),r.searchParams.set("q",String(n||90)),r.searchParams.set("fm","webp"),r.toString()},bn=s(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:gn,unoptimized:!1}:{unoptimized:s};return e(A,{ref:r,className:Ze(t),...n,...l})});bn.displayName="NextImage";const vn=({card:n,lgWidth:r,mdWidth:i})=>{var o,a,s;const l=(null===(o=n.imageAlignment)||void 0===o?void 0:o.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${i} ${r} w-full ${null!==(s=fn[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,r,i;if(!t.image)return null;const o=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(bn,"full"===o?{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(i=t.title)&&void 0!==i?i:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[n.title&&e($t,{as:"h5",className:"heading6 text-text md:heading5",children:n.title}),n.body&&e($t,{as:"div",className:"body1 text-text",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(mn,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right",iconFill:1})})]})})},yn=({title:n,items:r,enableHeading:i=!1,subtitle:o,color:a="dark",maxWidth:s=!0,maxCardsPerRow:l,cardType:c="simple"})=>{const u={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===r.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==a?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",children:[n&&e($t,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e($t,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:o})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:r.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(dn,{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(vn,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},xn=({fields:t})=>e("div",{children:e($t,{children:"Cards"})}),In=s(({as:t,className:n="",...r},i)=>{const o=Ze(n);if(t){return e(t,{ref:i,className:o,...r})}return e("img",{ref:i,className:o,...r})});In.displayName="Image";const Cn=({onSelect:r,speed:i,isSelected:o=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:c,techType:u,isMax:p})=>{const[h,m]=d(!1),f=`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"} `,g=null==a?void 0:a({speedCardConfig:{isModalOpen:h,setModalOpen:()=>{m(!1)},speed:i,techType:u,isMax:p},cta:c});return t(n,{children:[t(an,{onClick:()=>{m(!0),r()},className:Ze(f,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${i}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(_t,{className:Ze(l,o?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),g]})},wn=({planName:r,planSubtext:i,speed:o,price:a,description:s,bestValue:l=!1,bestValueText:c="best value",giftBadge:u,innerBadge:p,theme:h="light",featuresTitle:m="Business Ready Internet features",features:f=[],isExpanded:g,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:C})=>{const[w,A]=d(!1),N=void 0!==g?g:w,E="dark"===h;return t("article",{className:Ze("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:c}),t("div",{className:Ze("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"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($t,{as:"h3",className:Ze("subheading2",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r}),e($t,{as:"p",className:"label3 text-wrap "+(E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i})]}),t("div",{className:"flex items-start",children:[e($t,{as:"span",className:Ze("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e($t,{as:"span",className:Ze("subheading6",E?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t($t,{as:"span",className:Ze("label2",E?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e($t,{className:Ze("body2",E?"text-text-inverse":"text-text"),children:s})}),(null==u?void 0:u.length)?e("div",{className:Ze("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==u?void 0:u.map(n=>t("div",{className:"flex items-center gap-2",children:[e(In,{src:n.icon,alt:n.title,width:24,height:24}),e($t,{as:"div",className:Ze("body3",E?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(Cn,{onSelect:v,speed:o,isSelected:E,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:C}),f.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(an,{onClick:()=>{b?b():A(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e($t,{as:"h4",className:Ze("label3",E?"text-text-inverse":"text-text"),children:m}),e(_t,{name:"keyboard_arrow_down",fill:1,size:24,className:Ze("transition-transform duration-300",N&&"rotate-180",E?"text-text-inverse":"text-text")})]}),t("div",{className:Ze("overflow-hidden transition-all duration-200 ease-in-out",N?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(Qt,{items:f,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(In,{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($t,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},An=({title:n,quote:r,rating:i,author:o,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:S("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e($t,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:r}),i?e("div",{className:"flex","aria-label":`Rating: ${i} out of 5`,children:[...Array(5)].map((t,n)=>e(_t,{size:24,name:"star",fill:1,className:S("h-[21px] w-[21px]",n<i?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),o&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(A,{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($t,{as:"p",className:"body3 text-text",children:a})]})]})]});function Nn({fields:r,renderCheckPlans:i}){var o,a,s,l;const c=(null===(s=null===(a=null===(o=null==r?void 0:r.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[m,f]=d(c),[g,b]=d({}),[v,y]=d(0),x=(null===(l=null==r?void 0:r.items)||void 0===l?void 0:l.items)||[],I=x.length>2,C=u([]),w=h(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),A=h(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(p(()=>{if(!I)return;const e=()=>{const e=C.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,m,x.length]),!x.length&&!(null==r?void 0:r.title))return null;const N=(t,n,r=!1)=>{var o,a,s,l,c,u,d,p;const h=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==h?void 0:h[0])||"",y=(null==h?void 0:h[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},k=r?g[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!C.current.includes(e)&&(C.current[n]=e)},className:Ze(r?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(wn,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{r?b(e=>({...e,[n]:!e[n]})):f(!m)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:i,cta:t.cta,hostType:"smb"})},n)},E=[...x,...x,...x,...x,...x],k=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>N(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(an,{onClick:w,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(_t,{name:"arrow_back",size:24})}),e(an,{onClick:A,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(_t,{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(-${k+v} * (392px + 12px)))`},children:E.map((e,t)=>N(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>N(e,t))})}const En=i.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),h=u*c+o/l*100,m=!s||(a?d||p:d);return e("div",{className:Ze("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",m?"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(${h}%)`},children:e(An,{...t,isActive:d,className:"h-full"})})});En.displayName="TestimonialCarouselSlide";const kn=({fields:n,autoScroll:r=!0,autoScrollInterval:i=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:r=.15,mobileBreakpoint:i=768,autoScrollInterval:o=8e3,enableAutoScroll:a=!0}=e,[s,l]=d(0),[c,m]=d(0),[f,g]=d(!1),[b,v]=d(window.innerWidth),[y,x]=d(!1),I=u(null),C=u(0),w=u(null),A={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:r,MOBILE_BREAKPOINT:i,AUTO_SCROLL_INTERVAL:o};p(()=>{const e=()=>{var e;v((null===(e=w.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const N=h(()=>{0!==t&&l(e=>(e+1)%t)},[t]),E=h(()=>{0!==t&&l(e=>0===e?t-1:e-1)},[t]),k=h(e=>{e<0||e>=t||l(e)},[t]),T=h(e=>{C.current=e.touches[0].clientX,g(!0),I.current&&clearInterval(I.current)},[]),G=h(e=>{if(!f)return;const t=e.touches[0].clientX-C.current;m(t)},[f]),P=h(()=>{g(!1);const e=b*r;c>e?E():c<-e&&N(),m(0),a&&o>0&&(I.current=setInterval(()=>{N()},o))},[c,b,r,E,N,a,o]);return p(()=>{const e=()=>{x(window.innerWidth<i)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[i]),p(()=>{if(a&&0!==t&&0!==o)return I.current=setInterval(()=>{N()},o),()=>{I.current&&clearInterval(I.current)}},[N,t,a,o]),{currentIndex:s,swipeOffset:c,isSwiping:f,isMobile:y,containerWidth:b,containerRef:w,nextSlide:N,prevSlide:E,goToSlide:k,handleTouchStart:T,handleTouchMove:G,handleTouchEnd:P,constants:A}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(an,{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(_t,{name:"arrow_back",size:24})}),e(an,{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(_t,{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(En,{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:Ze("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))})]})},Tn=({tabs:n,activeTab:r,onChange:i,className:o})=>{const a=n.indexOf(r),s=u([]),[l,c]=d({width:0,left:0});return p(()=>{const e=s.current[a];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:Ze("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:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>i(t),className:Ze("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Gn=({fields:n,hasTestimonialCards:r,hasProductCards:i,disclaimerText:o,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:h=!1})=>t("div",{className:`${a} ${i?"px-3 py-9 md:py-20":r?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e($t,{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($t,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),h&&i&&t("div",{className:"flex flex-col gap-8",children:[h&&i&&c.length>1&&e(Tn,{tabs:c,activeTab:s,onChange:l}),i&&e(Nn,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),r&&e(kn,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),o&&e($t,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:o})]}),Pn=({title:n,subtitle:r,description:i,disclaimer:o,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(bn,{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($t,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e($t,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),i&&e($t,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:i})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(mn,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),o&&e("div",{children:e($t,{as:"div",className:"body3 mt-3 text-center",children:o})})]})}),Bn=({body:n,links:r,bottomLinks:o,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(cn,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var o,a;return t(i.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e($t,{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(mn,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e(cn,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${r}`)})}),t("div",{className:"py-8",children:[e(cn,{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(mn,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},Sn=({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(_t,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Rn=t=>{const{link:n,containerClassName:r,autoplay:i=!1,debug:o=!1}=t,{href:a,embedId:s}=l(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""})(e);return{href:e,embedId:t}},[n]);if(o&&console.log("[VimeoEmbed] href:",a,"id:",s),!s)return null;const 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],r=n[2],i=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${s}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Vn=t=>{const{link:n,containerClassName:r,autoplay:i=!1}=t,o=l(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),a=i?"?autoplay=1":"";return e("div",{className:Ze("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${o}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Ln=({brow:n,enableHeading:r,title:i,subTitle:o,ctaDisclaimer:a,disclaimer:s,description:l,image:c,imageLinks:u,mediaPosition:p=!0,checklist:h,secondaryCta:m,cta:f,videoLink:g,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:C})=>{var w,A;const[N,E]=d(""),[k,T]=d(!1),G=null!==(w=null==g?void 0:g.link)&&void 0!==w?w:"",P=null==g?void 0:g.image,B=null!==(A=null==g?void 0:g.videoPopup)&&void 0!==A&&A,S=Boolean(N&&N===G),R=g&&P?G.includes("vimeo")?e(Rn,{link:G,autoplay:S}):e(Vn,{link:G,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($t,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),i&&e($t,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:i}),o&&e($t,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:o})]}),l&&e($t,{as:"div",className:"body1",children:l}),h.length>0&&e(Qt,{items:h,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),u.length>0&&e("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(Kt,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(In,{src:t.image,alt:"icon-link"})})},n))}),(f||m)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[f&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(mn,{...f,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,onModalButtonClick:I})}),m&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(mn,{...m,fullWidth:!0,size:{base:"large"},renderCheckPlans:C,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:[c&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(bn,{src:c,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==g?void 0:g.link)&&t("div",{className:Ze("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;E(null!==(e=null==g?void 0:g.link)&&void 0!==e?e:"")},onMouseEnter:()=>T(!0),onMouseLeave:()=>T(!1),children:[t("div",{className:Ze(S&&!B&&"hidden",S&&!B?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[g.image&&e(bn,{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(Sn,{isHovered:k})})]}),!B&&S&&e("div",{className:Ze("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:R})]})]})]})}),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(),E("")},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})})]})},Mn=({link:n,anchorName:r})=>{const[o,a]=i.useState(!1),s=i.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};p(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(mn,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:l,title:c,items:u}=n,d=Array.isArray(null==u?void 0:u.items)?u.items:[],h=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:h},ref:s,children:[t(mn,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e($t,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e(_t,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},l),e("div",{className:Ze("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&d.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:h,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:d.map((t,n)=>e("li",{className:"submenu-link",children:e(mn,{...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}`))})})]})},Dn=({link:r})=>{const[o,a]=i.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(mn,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:s,title:l,items:c}=r,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(mn,{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(_t,{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(On,{items:u})]})},On=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(mn,{...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}`),Xn=n=>{const{showBlinkDot:r=!1,buttonStyle:i="primary",size:o="md",children:a,className:s,...l}=n;return t(Kt,{...l,className:Ze("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[o],{primary:"border-[0.727px] border-border text-text"}[i],s),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[o]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[o]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[o]} items-center justify-center rounded-full bg-icon-brand`,children:e(_t,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[o],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]})};Xn.displayName="CallButton";const Wn=s((n,r)=>{const{className:i,size:o,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:p,prefixIconFill:m=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:C,type:w,...A}=n,N=C?"error":c,[E,k]=d(!1),[T,G]=d(!1),[P,B]=d(w||"text"),S=h(e=>{e.stopPropagation(),B(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:Ze("inline-block pb-1"),children:t($t,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ze("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,(E||"hover"===N)&&!T&&"error"!==N&&"border-input-border-hover",(T||"focus"===N||"active"===N)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===N&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[p?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(_t,{name:p,fill:m?1:0,size:g,className:Ze(x)})}):null,e("input",{ref:r,id:l,disabled:I||A.disabled,className:Ze("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:s,type:P,...A,onMouseOver:()=>k(!0),onMouseOut:()=>k(!1),onFocus:e=>{var t;null===(t=A.onFocus)||void 0===t||t.call(A,e),G(!0)},onBlur:e=>{var t;null===(t=A.onBlur)||void 0===t||t.call(A,e),G(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(_t,{name:"text"===P?"visibility":"visibility_off",size:v,fill:f?1:0})}):null]}),"error"===N&&u&&""!=u?t($t,{className:Ze("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(_t,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Wn.displayName="Input";const Fn=n=>{const{primaryNavigationLinks:r,utilityNavigationLinks:i,checkPlansJSX:o,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,onSearch:p=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==i?void 0:i.map((t,n)=>e("li",{children:e(mn,{linkClassName:Ze("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(Xn,{className:"border-none",href:u,children:e($t,{className:"body3 text-text",children:d})}),null==s?void 0:s.map((t,n)=>e(Mn,{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(Kt,{href:"/",className:"flex",children:e(bn,{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(Xn,{href:u,children:e($t,{as:"span",className:"footnote",children:d})}),e(Hn,{...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(Kt,{href:"/",className:"flex",children:e(bn,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-[64px]"})}),e("div",{className:"flex h-full items-center gap-5",children:null==r?void 0:r.map((t,n)=>e(Mn,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(Zn,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:p}),null==l?void 0:l.map((t,n)=>e(Mn,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),o&&e("div",{className:"md:hidden",children:o})]})},Hn=n=>{var r;const{primaryNavigationLinks:o,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=i.useState(!1);i.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=c?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(mn,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(_t,{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:Ze("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(Xn,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(mn,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(_t,{name:"close"})})})]}),e(zn,{closeMenu:d,isMenuOpen:c,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...o||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(Dn,{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(mn,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ze("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}`))})]})]})})]})},zn=n=>{const{closeMenu:r,onSearch:o,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=i.useState(""),u=i.useRef(null),d=e=>{r(),e.preventDefault(),o(l)};return i.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(bn,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(Wn,{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"})})]})},Zn=n=>{const{searchBarIconURL:r,onSearch:o}=n,[a,s]=i.useState(""),l=i.useRef(null),c=e=>{e.preventDefault(),o(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(bn,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(Wn,{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"})]})},jn=n=>{var r;const{title:i,showAsHeading:o,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:h,renderCheckPlans:m,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r: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:Ze("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:Ze("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[i&&e($t,{as:o?"h1":"h2",className:"heading2 lg:heading1",children:i}),a&&e($t,{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($t,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e($t,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e($t,{as:"p",className:"subheading5",children:u}),p?e($t,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,h&&e(Qt,{listItemClassName:"text-white text-left",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:Ze("md:block",x&&"hidden"),children:e(mn,{...s,renderCheckPlans:m,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e($t,{as:"span",className:"body2 mr-1",children:v}),b&&e(mn,{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(mn,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),g?e($t,{as:"p",className:"body3 hidden md:block",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(bn,{src:f,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(bn,{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(mn,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),g?e($t,{as:"p",className:"body3 md:hidden",children:g}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e($t,{as:"span",className:"body2 mr-1",children:v}),b&&e(mn,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:Ze("relative hidden lg:block"),children:[f?e(bn,{src:f,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(bn,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},Yn=({fields:t})=>e("div",{children:e($t,{children:"Text Block"})}),Jn={closed:{opacity:0},open:{opacity:1}},Un={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},_n={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},$n=m({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Qn=m({}),Kn=m(null),qn="undefined"!=typeof document,er=qn?f:p,tr=m({strict:!1});function nr(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function rr(e){return"string"==typeof e||Array.isArray(e)}function ir(e){return"object"==typeof e&&"function"==typeof e.start}const or=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ar=["initial",...or];function sr(e){return ir(e.animate)||ar.some(t=>rr(e[t]))}function lr(e){return Boolean(sr(e)||e.variants)}function cr(e){const{initial:t,animate:n}=function(e,t){if(sr(e)){const{initial:t,animate:n}=e;return{initial:!1===t||rr(t)?t:void 0,animate:rr(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,g(Qn));return l(()=>({initial:t,animate:n}),[ur(t),ur(n)])}function ur(e){return Array.isArray(e)?e.join(" "):e}const dr={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"]},pr={};for(const e in dr)pr[e]={isEnabled:t=>dr[e].some(e=>!!t[e])};const hr=m({}),mr=m({}),fr=Symbol.for("motionComponentSymbol");function gr({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:o}){e&&function(e){for(const t in e)pr[t]={...pr[t],...e[t]}}(e);const a=s(function(a,s){let l;const c={...g($n),...a,layoutId:br(a)},{isStatic:d}=c,m=cr(a),f=i(a,d);if(!d&&qn){m.visualElement=function(e,t,n,r){const{visualElement:i}=g(Qn),o=g(tr),a=g(Kn),s=g($n).reducedMotion,l=u();r=r||o.renderer,!l.current&&r&&(l.current=r(e,{visualState:t,parent:i,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const c=l.current;return b(()=>{c&&c.update(n,a)}),er(()=>{c&&c.render()}),p(()=>{c&&c.updateFeatures()}),(window.HandoffAppearAnimations?er:p)(()=>{c&&c.animationState&&c.animationState.animateChanges()}),c}(o,f,c,t);const n=g(mr),r=g(tr).strict;m.visualElement&&(l=m.visualElement.loadFeatures(c,r,e,n))}return r.createElement(Qn.Provider,{value:m},l&&m.visualElement?r.createElement(l,{visualElement:m.visualElement,...c}):null,n(o,a,function(e,t,n){return h(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):nr(n)&&(n.current=r))},[t])}(f,m.visualElement,s),f,d,m.visualElement))});return a[fr]=o,a}function br({layoutId:e}){const t=g(hr).id;return t&&void 0!==e?t+"-"+e:e}function vr(e){function t(t,n={}){return gr(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const yr=["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 xr(e){return"string"==typeof e&&!e.includes("-")&&!!(yr.indexOf(e)>-1||/[A-Z]/.test(e))}const Ir={};const Cr=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],wr=new Set(Cr);function Ar(e,{layout:t,layoutId:n}){return wr.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Ir[e]||"opacity"===e)}const Nr=e=>Boolean(e&&e.getVelocity),Er={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},kr=Cr.length;const Tr=e=>t=>"string"==typeof t&&t.startsWith(e),Gr=Tr("--"),Pr=Tr("var(--"),Br=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Sr=(e,t,n)=>Math.min(Math.max(n,e),t),Rr={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Vr={...Rr,transform:e=>Sr(0,1,e)},Lr={...Rr,default:1},Mr=e=>Math.round(1e5*e)/1e5,Dr=/(-)?([\d]*\.?[\d])+/g,Or=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Xr=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Wr(e){return"string"==typeof e}const Fr=e=>({test:t=>Wr(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Hr=Fr("deg"),zr=Fr("%"),Zr=Fr("px"),jr=Fr("vh"),Yr=Fr("vw"),Jr={...zr,parse:e=>zr.parse(e)/100,transform:e=>zr.transform(100*e)},Ur={...Rr,transform:Math.round},_r={borderWidth:Zr,borderTopWidth:Zr,borderRightWidth:Zr,borderBottomWidth:Zr,borderLeftWidth:Zr,borderRadius:Zr,radius:Zr,borderTopLeftRadius:Zr,borderTopRightRadius:Zr,borderBottomRightRadius:Zr,borderBottomLeftRadius:Zr,width:Zr,maxWidth:Zr,height:Zr,maxHeight:Zr,size:Zr,top:Zr,right:Zr,bottom:Zr,left:Zr,padding:Zr,paddingTop:Zr,paddingRight:Zr,paddingBottom:Zr,paddingLeft:Zr,margin:Zr,marginTop:Zr,marginRight:Zr,marginBottom:Zr,marginLeft:Zr,rotate:Hr,rotateX:Hr,rotateY:Hr,rotateZ:Hr,scale:Lr,scaleX:Lr,scaleY:Lr,scaleZ:Lr,skew:Hr,skewX:Hr,skewY:Hr,distance:Zr,translateX:Zr,translateY:Zr,translateZ:Zr,x:Zr,y:Zr,z:Zr,perspective:Zr,transformPerspective:Zr,opacity:Vr,originX:Jr,originY:Jr,originZ:Zr,zIndex:Ur,fillOpacity:Vr,strokeOpacity:Vr,numOctaves:Ur};function $r(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Gr(e)){o[e]=n;continue}const r=_r[e],d=Br(n,r);if(wr.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<kr;t++){const n=Cr[t];void 0!==e[n]&&(o+=`${Er[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const Qr=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Kr(e,t,n){for(const r in t)Nr(t[r])||Ar(r,n)||(e[r]=t[r])}function qr(e,t,n){const r={};return Kr(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return l(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return $r(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function ei(e,t,n){const r={},i=qr(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const ti=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 ni(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||ti.has(e)}let ri=e=>!ni(e);try{(ii=require("@emotion/is-prop-valid").default)&&(ri=e=>e.startsWith("on")?!ni(e):ii(e))}catch(e){}var ii;function oi(e,t,n){return"string"==typeof e?e:Zr.transform(t+n*e)}const ai={offset:"stroke-dashoffset",array:"stroke-dasharray"},si={offset:"strokeDashoffset",array:"strokeDasharray"};function li(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if($r(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:m,dimensions:f}=e;h.transform&&(f&&(m.transform=h.transform),delete h.transform),f&&(void 0!==i||void 0!==o||m.transform)&&(m.transformOrigin=function(e,t,n){return`${oi(t,e.x,e.width)} ${oi(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?ai:si;e[o.offset]=Zr.transform(-r);const a=Zr.transform(t),s=Zr.transform(n);e[o.array]=`${a} ${s}`}(h,a,s,l,!1)}const ci=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),ui=e=>"string"==typeof e&&"svg"===e.toLowerCase();function di(e,t,n,r){const i=l(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return li(n,t,{enableHardwareAcceleration:!1},ui(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Kr(t,e.style,e),i.style={...t,...i.style}}return i}function pi(e=!1){return(t,n,r,{latestValues:i},o)=>{const a=(xr(t)?di:ei)(n,i,o,t),s=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(ri(i)||!0===n&&ni(i)||!t&&!ni(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),u={...s,...a,ref:r},{children:d}=n,p=l(()=>Nr(d)?d.get():d,[d]);return c(t,{...u,children:p})}}const hi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function mi(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const fi=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 gi(e,t,n,r){mi(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(fi.has(n)?n:hi(n),t.attrs[n])}function bi(e,t){const{style:n}=e,r={};for(const i in n)(Nr(n[i])||t.style&&Nr(t.style[i])||Ar(i,e))&&(r[i]=n[i]);return r}function vi(e,t){const n=bi(e,t);for(const r in e)if(Nr(e[r])||Nr(t[r])){n[-1!==Cr.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function yi(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}function xi(e){const t=u(null);return null===t.current&&(t.current=e()),t.current}const Ii=e=>Array.isArray(e),Ci=e=>Ii(e)?e[e.length-1]||0:e;function wi(e){const t=Nr(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Ai=e=>(t,n)=>{const r=g(Qn),i=g(Kn),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:Ni(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,r,i);return n?o():xi(o)};function Ni(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=wi(o[e]);let{initial:a,animate:s}=e;const l=sr(e),c=lr(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&&!ir(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=yi(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const Ei={useVisualState:Ai({scrapeMotionValuesFromProps:vi,createRenderState:ci,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}li(n,r,{enableHardwareAcceleration:!1},ui(t.tagName),e.transformTemplate),gi(t,n)}})},ki={useVisualState:Ai({scrapeMotionValuesFromProps:bi,createRenderState:Qr})};function Ti(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const Gi=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Pi(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Bi(e,t,n,r){return Ti(e,t,(e=>t=>Gi(t)&&e(t,Pi(t)))(n),r)}const Si=(e,t)=>n=>t(e(n)),Ri=(...e)=>e.reduce(Si);function Vi(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const Li=Vi("dragHorizontal"),Mi=Vi("dragVertical");function Di(e){let t=!1;if("y"===e)t=Mi();else if("x"===e)t=Li();else{const e=Li(),n=Mi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Oi(){const e=Di(!0);return!e||(e(),!1)}class Xi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Wi={delta:0,timestamp:0,isProcessing:!1};let Fi=!0,Hi=!1;const zi=["read","update","preRender","render","postRender"],Zi=zi.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}(()=>Hi=!0),e),{}),ji=e=>Zi[e].process(Wi),Yi=e=>{Hi=!1,Wi.delta=Fi?1e3/60:Math.max(Math.min(e-Wi.timestamp,40),1),Wi.timestamp=e,Wi.isProcessing=!0,zi.forEach(ji),Wi.isProcessing=!1,Hi&&(Fi=!1,requestAnimationFrame(Yi))},Ji=zi.reduce((e,t)=>{const n=Zi[t];return e[t]=(e,t=!1,r=!1)=>(Hi||(Hi=!0,Fi=!0,Wi.isProcessing||requestAnimationFrame(Yi)),n.schedule(e,t,r)),e},{});function Ui(e){zi.forEach(t=>Zi[t].cancel(e))}function _i(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Bi(e.current,n,(n,i)=>{if("touch"===n.type||Oi())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&Ji.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const $i=(e,t)=>!!t&&(e===t||$i(e,t.parentElement)),Qi=e=>e;function Ki(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Pi(n))}const qi=new WeakMap,eo=new WeakMap,to=e=>{const t=qi.get(e.target);t&&t(e)},no=e=>{e.forEach(to)};function ro(e,t,n){const r=function({root:e,...t}){const n=e||document;eo.has(n)||eo.set(n,{});const r=eo.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(no,{root:e,...t})),r[i]}(t);return qi.set(e,n),r.observe(e),()=>{qi.delete(e),r.unobserve(e)}}const io={some:0,all:1};const oo={inView:{Feature:class extends Xi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:io[r]};return ro(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Xi{constructor(){super(...arguments),this.removeStartListeners=Qi,this.removeEndListeners=Qi,this.removeAccessibleListeners=Qi,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Bi(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Ji.update(()=>{$i(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=Bi(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Ri(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Ti(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Ti(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Ki("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Ji.update(()=>n(e,t))})}),Ki("down",(e,t)=>{this.startPress(e,t)})}),t=Ti(this.node.current,"blur",()=>{this.isPressing&&Ki("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ri(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Ji.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Oi()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ji.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Bi(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Ti(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ri(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Xi{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=Ri(Ti(this.node.current,"focus",()=>this.onFocus()),Ti(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Xi{mount(){this.unmount=Ri(_i(this.node,!0),_i(this.node,!1))}unmount(){}}}};function ao(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function so(e,t,n){const r=e.getProps();return yi(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const lo="data-"+hi("framerAppearId");let co=Qi,uo=Qi;"production"!==process.env.NODE_ENV&&(co=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},uo=(e,t)=>{if(!e)throw new Error(t)});const po=e=>1e3*e,ho=e=>e/1e3,mo=!1,fo=e=>Array.isArray(e)&&"number"==typeof e[0];function go(e){return Boolean(!e||"string"==typeof e&&vo[e]||fo(e)||Array.isArray(e)&&e.every(go))}const bo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,vo={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bo([0,.65,.55,1]),circOut:bo([.55,0,1,.45]),backIn:bo([.31,.01,.66,-.59]),backOut:bo([.33,1.53,.69,.99])};function yo(e){if(e)return fo(e)?bo(e):Array.isArray(e)?e.map(yo):vo[e]}const xo={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Io={},Co={};for(const e in xo)Co[e]=()=>(void 0===Io[e]&&(Io[e]=xo[e]()),Io[e]);const wo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Ao(e,t,n,r){if(e===t&&n===r)return Qi;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=wo(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:wo(i(e),t,r)}const No=Ao(.42,0,1,1),Eo=Ao(0,0,.58,1),ko=Ao(.42,0,.58,1),To=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Go=e=>t=>1-e(1-t),Po=e=>1-Math.sin(Math.acos(e)),Bo=Go(Po),So=To(Bo),Ro=Ao(.33,1.53,.69,.99),Vo=Go(Ro),Lo=To(Vo),Mo={linear:Qi,easeIn:No,easeInOut:ko,easeOut:Eo,circIn:Po,circInOut:So,circOut:Bo,backIn:Vo,backInOut:Lo,backOut:Ro,anticipate:e=>(e*=2)<1?.5*Vo(e):.5*(2-Math.pow(2,-10*(e-1)))},Do=e=>{if(Array.isArray(e)){uo(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return Ao(t,n,r,i)}return"string"==typeof e?(uo(void 0!==Mo[e],`Invalid easing type '${e}'`),Mo[e]):e},Oo=(e,t)=>n=>Boolean(Wr(n)&&Xr.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Xo=(e,t,n)=>r=>{if(!Wr(r))return r;const[i,o,a,s]=r.match(Dr);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Wo={...Rr,transform:e=>Math.round((e=>Sr(0,255,e))(e))},Fo={test:Oo("rgb","red"),parse:Xo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Wo.transform(e)+", "+Wo.transform(t)+", "+Wo.transform(n)+", "+Mr(Vr.transform(r))+")"};const Ho={test:Oo("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:Fo.transform},zo={test:Oo("hsl","hue"),parse:Xo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+zr.transform(Mr(t))+", "+zr.transform(Mr(n))+", "+Mr(Vr.transform(r))+")"},Zo={test:e=>Fo.test(e)||Ho.test(e)||zo.test(e),parse:e=>Fo.test(e)?Fo.parse(e):zo.test(e)?zo.parse(e):Ho.parse(e),transform:e=>Wr(e)?e:e.hasOwnProperty("red")?Fo.transform(e):zo.transform(e)},jo=(e,t,n)=>-n*e+n*t+e;function Yo(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 Jo=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Uo=[Ho,Fo,zo];function _o(e){const t=(n=e,Uo.find(e=>e.test(n)));var n;uo(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===zo&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Yo(s,r,e+1/3),o=Yo(s,r,e),a=Yo(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const $o=(e,t)=>{const n=_o(e),r=_o(t),i={...n};return e=>(i.red=Jo(n.red,r.red,e),i.green=Jo(n.green,r.green,e),i.blue=Jo(n.blue,r.blue,e),i.alpha=jo(n.alpha,r.alpha,e),Fo.transform(i))};const Qo={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Qi},Ko={regex:Or,countKey:"Colors",token:"${c}",parse:Zo.parse},qo={regex:Dr,countKey:"Numbers",token:"${n}",parse:Rr.parse};function ea(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function ta(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&ea(n,Qo),ea(n,Ko),ea(n,qo),n}function na(e){return ta(e).values}function ra(e){const{values:t,numColors:n,numVars:r,tokenised:i}=ta(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(Qo.token,e[i]):i<r+n?t.replace(Ko.token,Zo.transform(e[i])):t.replace(qo.token,Mr(e[i]));return t}}const ia=e=>"number"==typeof e?0:e;const oa={test:function(e){var t,n;return isNaN(e)&&Wr(e)&&((null===(t=e.match(Dr))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Or))||void 0===n?void 0:n.length)||0)>0},parse:na,createTransformer:ra,getAnimatableNone:function(e){const t=na(e);return ra(e)(t.map(ia))}},aa=(e,t)=>n=>`${n>0?t:e}`;function sa(e,t){return"number"==typeof e?n=>jo(e,t,n):Zo.test(e)?$o(e,t):e.startsWith("var(")?aa(e,t):ua(e,t)}const la=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>sa(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},ca=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=sa(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},ua=(e,t)=>{const n=oa.createTransformer(t),r=ta(e),i=ta(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?Ri(la(r.values,i.values),n):(co(!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.`),aa(e,t))},da=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},pa=(e,t)=>n=>jo(e,t,n);function ha(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?pa:"string"==typeof o?Zo.test(o)?$o:ua:Array.isArray(o)?la:"object"==typeof o?ca:pa);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Qi:t;o=Ri(e,o)}r.push(o)}return r}function ma(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(uo(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=ha(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=da(e[n],e[n+1],t);return a[n](r)};return n?t=>l(Sr(e[0],e[o-1],t)):l}function fa(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=da(0,t,r);e.push(jo(n,1,i))}}(t,e.length-1),t}function ga({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(Do):Do(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:fa(t),e),s=ma(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||ko).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function ba(e,t){return t?e*(1e3/t):0}function va(e,t,n){const r=Math.max(t-5,0);return ba(n-e(r),t-r)}const ya=.001;function xa({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;co(e<=po(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Sr(.05,1,a),e=Sr(.01,10,ho(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=Ca(t,a),l=Math.exp(-i);return ya-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Ca(Math.pow(t,2),a);return(-i(t)+ya>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Ia;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=po(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Ia=12;function Ca(e,t){return e*Math.sqrt(1-t*t)}const wa=["duration","bounce"],Aa=["stiffness","damping","mass"];function Na(e,t){return t.some(t=>void 0!==e[t])}function Ea({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Na(e,Aa)&&Na(e,wa)){const n=xa(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),h=u?-ho(u):0,m=l/(2*Math.sqrt(s*c)),f=o-i,g=ho(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){const e=Ca(g,m);v=t=>{const n=Math.exp(-m*g*t);return o-n*((h+m*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===m)v=e=>o-Math.exp(-g*e)*(f+(h+g*f)*e);else{const e=g*Math.sqrt(m*m-1);v=t=>{const n=Math.exp(-m*g*t),r=Math.min(e*t,300);return o-n*((h+m*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let i=h;0!==e&&(i=m<1?va(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function ka({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let m=n*t;const f=d+m,g=void 0===a?f:a(f);g!==f&&(m=g-d);const b=e=>-m*Math.exp(-e/r),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,I;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Ea({keyframes:[p.value,h(p.value)],velocity:va(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),C(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Ta=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ji.update(t,!0),stop:()=>Ui(t),now:()=>Wi.isProcessing?Wi.timestamp:performance.now()}};function Ga(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 Pa={decay:ka,inertia:ka,tween:ga,keyframes:ga,spring:Ea};function Ba({autoplay:e=!0,delay:t=0,driver:n=Ta,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let h,m,f=1,g=!1;const b=()=>{h&&h(),m=new Promise(e=>{h=e})};let v;b();const y=Pa[i]||ga;let x;y!==ga&&"number"!=typeof r[0]&&(x=ma([0,100],r,{clamp:!1}),r=[0,100]);const I=y({...p,keyframes:r});let C;"mirror"===s&&(C=y({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,E=null;null===I.calculatedDuration&&o&&(I.calculatedDuration=Ga(I));const{calculatedDuration:k}=I;let T=1/0,G=1/0;null!==k&&(T=k+a,G=T*(o+1)-a);let P=0;const B=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),P=null!==A?A:(e-N)*f;const n=P-t,i=n<0;P=Math.max(n,0),"finished"===w&&null===A&&(P=G);let l=P,c=I;if(o){const e=P/T;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/T)):"mirror"===s&&(c=C));let i=Sr(0,1,n);P>G&&(i="reverse"===s&&r?1:0),l=i*T}const u=i?{done:!1,value:r[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;i||null===k||(p=P>=G);const h=null===A&&("finished"===w||"running"===w&&p||f<0&&P<=0);return d&&d(u.value),h&&V(),u},S=()=>{v&&v.stop(),v=void 0},R=()=>{w="idle",S(),b(),N=E=null},V=()=>{w="finished",u&&u(),S(),b()},L=()=>{if(g)return;v||(v=n(B));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),E=N,A=null,w="running",v.start()};e&&L();const M={then:(e,t)=>m.then(e,t),get time(){return ho(P)},set time(e){e=po(e),P=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?Ga(I):I.calculatedDuration;return ho(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=ho(P))},get state(){return w},play:L,pause:()=>{w="paused",A=P},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),R())},cancel:()=>{null!==E&&B(E),R()},complete:()=>{w="finished"},sample:e=>(N=0,B(e))};return M}const Sa=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Ra(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Co.waapi()&&Sa.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!go(t.ease))(t,i)){const e=Ba({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const h=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=yo(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),m=()=>h.cancel(),f=()=>{Ji.update(m),o(),l()};return h.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),f()},{then:(e,t)=>a.then(e,t),get time(){return ho(h.currentTime||0)},set time(e){h.currentTime=po(e)},get speed(){return h.playbackRate},set speed(e){h.playbackRate=e},get duration(){return ho(u)},play:()=>{s||(h.play(),Ui(m))},pause:()=>h.pause(),stop:()=>{if(s=!0,"idle"===h.playState)return;const{currentTime:t}=h;if(t){const n=Ba({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>h.finish(),cancel:f}}const Va={type:"spring",stiffness:500,damping:25,restSpeed:10},La={type:"keyframes",duration:.8},Ma={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Da=(e,{keyframes:t})=>t.length>2?La:wr.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Va:Ma,Oa=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!oa.test(t)&&"0"!==t||t.startsWith("url("))),Xa=new Set(["brightness","contrast","saturate","opacity"]);function Wa(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Dr)||[];if(!r)return e;const i=n.replace(r,"");let o=Xa.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const Fa=/([a-z-]*)\(.*?\)/g,Ha={...oa,getAnimatableNone:e=>{const t=e.match(Fa);return t?t.map(Wa).join(" "):e}},za={..._r,color:Zo,backgroundColor:Zo,outlineColor:Zo,fill:Zo,stroke:Zo,borderColor:Zo,borderTopColor:Zo,borderRightColor:Zo,borderBottomColor:Zo,borderLeftColor:Zo,filter:Ha,WebkitFilter:Ha},Za=e=>za[e];function ja(e,t){let n=Za(e);return n!==Ha&&(n=oa),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ya=e=>/^0[^.\s]+$/.test(e);function Ja(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Ya(e):void 0}function Ua(e,t){return e[t]||e.default||e}const _a=(e,t,n,r={})=>i=>{const o=Ua(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=po(a);const l=function(e,t,n,r){const i=Oa(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),Ja(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=ja(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=Oa(e,c),p=Oa(e,u);co(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let h={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(h={...h,...Da(e,h)}),h.duration&&(h.duration=po(h.duration)),h.repeatDelay&&(h.repeatDelay=po(h.repeatDelay)),!d||!p||mo||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Qi,pause:Qi,stop:Qi,then:e=>(e(),Promise.resolve()),cancel:Qi,complete:Qi});return t?Ba({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(h);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Ra(t,e,h);if(n)return n}return Ba(h)};function $a(e){return Boolean(Nr(e)&&e.add)}const Qa=e=>/^\-?\d*\.?\d+$/.test(e);function Ka(e,t){-1===e.indexOf(t)&&e.push(t)}function qa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class es{constructor(){this.subscriptions=[]}add(e){return Ka(this.subscriptions,e),()=>qa(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ts=new Set;function ns(e,t,n){e||ts.has(t)||(console.warn(t),ts.add(t))}class rs{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=Wi;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Ji.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=()=>Ji.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&&ns(!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 es);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ji.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?ba(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 is(e,t){return new rs(e,t)}const os=e=>t=>t.test(e),as=[Rr,Zr,zr,Hr,Yr,jr,{test:e=>"auto"===e,parse:e=>e}],ss=e=>as.find(os(e)),ls=[...as,Zo,oa],cs=e=>ls.find(os(e));function us(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,is(n))}function ds(e,t){if(!t)return;return(t[e]||t.default||t).from}function ps({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function hs(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&ps(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[lo];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,Ji))}r.start(_a(t,r,i,e.shouldReduceMotion&&wr.has(t)?{type:!1}:a));const d=r.animation;$a(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=so(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)us(e,t,Ci(o[t]))}(e,a)}),c}function ms(e,t,n={}){const r=so(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(hs(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(fs).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(ms(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function fs(e,t){return e.sortNodePosition(t)}const gs=[...or].reverse(),bs=or.length;function vs(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>ms(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=ms(e,t,n);else{const i="function"==typeof t?so(e,t,n.custom):t;r=Promise.all(hs(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ys(e){let t=vs(e);const n={animate:Is(!0),whileInView:Is(),whileHover:Is(),whileTap:Is(),whileDrag:Is(),whileFocus:Is(),exit:Is()};let r=!0;const i=(t,n)=>{const r=so(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<bs;t++){const h=gs[t],m=n[h],f=void 0!==s[h]?s[h]:l[h],g=rr(f),b=h===a?m.isActive:null;!1===b&&(p=t);let v=f===l[h]&&f!==s[h]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&null===b||!f&&!m.prevProp||ir(f)||"boolean"==typeof f)continue;const y=xs(m.prevProp,f);let x=y||h===a&&m.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:w={}}=m,A={...w,...C},N=e=>{x=!0,u.delete(e),m.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Ii(t)&&Ii(n)?!ao(t,n)||y?N(e):m.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):m.protectedKeys[e]=!0)}m.prevProp=f,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:h,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let h=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function xs(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!ao(t,e)}function Is(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Cs=0;const ws={animation:{Feature:class extends Xi{constructor(e){super(e),e.animationState||(e.animationState=ys(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),ir(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 Xi{constructor(){super(...arguments),this.id=Cs++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},As=(e,t)=>Math.abs(e-t);class Ns{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=Ts(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=As(e.x,t.x),r=As(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=Wi;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Es(t,this.transformPagePoint),Ji.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=Ts("pointercancel"===e.type?this.lastMoveEventInfo:Es(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!Gi(e))return;this.handlers=t,this.transformPagePoint=n;const r=Es(Pi(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=Wi;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,Ts(r,this.history)),this.removeListeners=Ri(Bi(window,"pointermove",this.handlePointerMove),Bi(window,"pointerup",this.handlePointerUp),Bi(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ui(this.updatePoint)}}function Es(e,t){return t?{point:t(e.point)}:e}function ks(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ts({point:e},t){return{point:e,delta:ks(e,Ps(t)),offset:ks(e,Gs(t)),velocity:Bs(t,.1)}}function Gs(e){return e[0]}function Ps(e){return e[e.length-1]}function Bs(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=Ps(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>po(t)));)n--;if(!r)return{x:0,y:0};const o=ho(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Ss(e){return e.max-e.min}function Rs(e,t=0,n=.01){return Math.abs(e-t)<=n}function Vs(e,t,n,r=.5){e.origin=r,e.originPoint=jo(t.min,t.max,e.origin),e.scale=Ss(n)/Ss(t),(Rs(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=jo(n.min,n.max,e.origin)-e.originPoint,(Rs(e.translate)||isNaN(e.translate))&&(e.translate=0)}function Ls(e,t,n,r){Vs(e.x,t.x,n.x,r?r.originX:void 0),Vs(e.y,t.y,n.y,r?r.originY:void 0)}function Ms(e,t,n){e.min=n.min+t.min,e.max=e.min+Ss(t)}function Ds(e,t,n){e.min=t.min-n.min,e.max=e.min+Ss(t)}function Os(e,t,n){Ds(e.x,t.x,n.x),Ds(e.y,t.y,n.y)}function Xs(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 Ws(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const Fs=.35;function Hs(e,t,n){return{min:zs(e,t),max:zs(e,n)}}function zs(e,t){return"number"==typeof e?e:e[t]||0}const Zs=()=>({x:{min:0,max:0},y:{min:0,max:0}});function js(e){return[e("x"),e("y")]}function Ys({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Js(e){return void 0===e||1===e}function Us({scale:e,scaleX:t,scaleY:n}){return!Js(e)||!Js(t)||!Js(n)}function _s(e){return Us(e)||$s(e)||e.z||e.rotate||e.rotateX||e.rotateY}function $s(e){return Qs(e.x)||Qs(e.y)}function Qs(e){return e&&"0%"!==e}function Ks(e,t,n){return n+t*(e-n)}function qs(e,t,n,r,i){return void 0!==i&&(e=Ks(e,i,r)),Ks(e,n,r)+t}function el(e,t=0,n=1,r,i){e.min=qs(e.min,t,n,r,i),e.max=qs(e.max,t,n,r,i)}function tl(e,{x:t,y:n}){el(e.x,t.translate,t.scale,t.originPoint),el(e.y,n.translate,n.scale,n.originPoint)}function nl(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function rl(e,t){e.min=e.min+t,e.max=e.max+t}function il(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=jo(e.min,e.max,o);el(e,t[n],t[r],a,t.scale)}const ol=["x","scaleX","originX"],al=["y","scaleY","originY"];function sl(e,t){il(e.x,t,ol),il(e.y,t,al)}function ll(e,t){return Ys(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const cl=new WeakMap;class ul{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 Ns(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Pi(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Di(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),js(e=>{let t=this.getAxisMotionValue(e).get()||0;if(zr.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Ss(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&Ji.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&Ji.update(()=>i(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!dl(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?jo(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?jo(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&nr(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:Xs(e.x,n,i),y:Xs(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=Fs){return!1===e?e=0:!0===e&&(e=Fs),{x:Hs(e,"left","right"),y:Hs(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&js(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||!nr(e))return!1;const n=e.current;uo(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=ll(e,n),{scroll:i}=t;return i&&(rl(r.x,i.offset.x),rl(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Ws(e.x,t.x),y:Ws(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=Ys(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=js(a=>{if(!dl(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(_a(e,n,0,t))}stopAnimation(){js(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){js(t=>{const{drag:n}=this.getProps();if(!dl(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-jo(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!nr(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};js(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Ss(e),i=Ss(t);return i>r?n=da(t.min,t.max-r,e.min):r>i&&(n=da(e.min,e.max-i,t.min)),Sr(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),js(t=>{if(!dl(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(jo(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;cl.set(this.visualElement,this);const e=Bi(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();nr(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const i=Ti(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(js(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=Fs,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function dl(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const pl=e=>(t,n)=>{e&&Ji.update(()=>e(t,n))};const hl={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ml(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fl={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Zr.test(e))return e;e=parseFloat(e)}return`${ml(e,t.target.x)}% ${ml(e,t.target.y)}%`}},gl={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=oa.parse(e);if(i.length>5)return r;const o=oa.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=jo(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class bl extends i.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=yl,Object.assign(Ir,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),hl.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||Ji.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function vl(e){const[t,n]=function(){const e=g(Kn);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=v();return p(()=>r(i),[]),!t&&n?[!1,()=>n&&n(i)]:[!0]}(),r=g(hr);return i.createElement(bl,{...e,layoutGroup:r,switchLayoutGroup:g(mr),isPresent:t,safeToRemove:n})}const yl={borderRadius:{...fl,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fl,borderTopRightRadius:fl,borderBottomLeftRadius:fl,borderBottomRightRadius:fl,boxShadow:gl},xl=["TopLeft","TopRight","BottomLeft","BottomRight"],Il=xl.length,Cl=e=>"string"==typeof e?parseFloat(e):e,wl=e=>"number"==typeof e||Zr.test(e);function Al(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Nl=kl(0,.5,Bo),El=kl(.5,.95,Qi);function kl(e,t,n){return r=>r<e?0:r>t?1:n(da(e,t,r))}function Tl(e,t){e.min=t.min,e.max=t.max}function Gl(e,t){Tl(e.x,t.x),Tl(e.y,t.y)}function Pl(e,t,n,r,i){return e=Ks(e-=t,1/n,r),void 0!==i&&(e=Ks(e,1/i,r)),e}function Bl(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){zr.test(t)&&(t=parseFloat(t),t=jo(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=jo(o.min,o.max,r);e===o&&(s-=t),e.min=Pl(e.min,t,n,s,i),e.max=Pl(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const Sl=["x","scaleX","originX"],Rl=["y","scaleY","originY"];function Vl(e,t,n,r){Bl(e.x,t,Sl,n?n.x:void 0,r?r.x:void 0),Bl(e.y,t,Rl,n?n.y:void 0,r?r.y:void 0)}function Ll(e){return 0===e.translate&&1===e.scale}function Ml(e){return Ll(e.x)&&Ll(e.y)}function Dl(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 Ol(e){return Ss(e.x)/Ss(e.y)}class Xl{constructor(){this.members=[]}add(e){Ka(this.members,e),e.scheduleRender()}remove(e){if(qa(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Wl(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const Fl=(e,t)=>e.depth-t.depth;class Hl{constructor(){this.children=[],this.isDirty=!1}add(e){Ka(this.children,e),this.isDirty=!0}remove(e){qa(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Fl),this.isDirty=!1,this.children.forEach(e)}}const zl=["","X","Y","Z"];let Zl=0;const jl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Yl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Zl++,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;jl.totalNodes=jl.resolvedTargetDeltas=jl.recalculatedProjection=0,this.nodes.forEach(_l),this.nodes.forEach(nc),this.nodes.forEach(rc),this.nodes.forEach($l),e=jl,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 Hl)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new es),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(Ui(r),e(o-t))};return Ji.read(r,!0),()=>Ui(r)}(r,250),hl.hasAnimatedSinceResize&&(hl.hasAnimatedSinceResize=!1,this.nodes.forEach(tc))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||cc,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!Dl(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Ua(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||tc(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ui(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(ic),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Kl);this.isUpdating||this.nodes.forEach(ql),this.isUpdating=!1,this.nodes.forEach(ec),this.nodes.forEach(Jl),this.nodes.forEach(Ul),this.clearAllSnapshots();const e=performance.now();Wi.delta=Sr(0,1e3/60,e-Wi.timestamp),Wi.timestamp=e,Wi.isProcessing=!0,Zi.update.process(Wi),Zi.preRender.process(Wi),Zi.render.process(Wi),Wi.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Ql),this.sharedNodes.forEach(oc)}scheduleUpdateProjection(){Ji.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Ji.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Ml(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||_s(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),uc((r=n).x),uc(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(rl(t.x,n.offset.x),rl(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Gl(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){Gl(t,e);const{scroll:n}=this.root;n&&(rl(t.x,-n.offset.x),rl(t.y,-n.offset.y))}rl(t.x,i.offset.x),rl(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Gl(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&sl(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),_s(r.latestValues)&&sl(n,r.latestValues)}return _s(this.latestValues)&&sl(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Gl(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!_s(n.latestValues))continue;Us(n.latestValues)&&n.updateSnapshot();const r=Zs();Gl(r,n.measurePageBox()),Vl(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return _s(this.latestValues)&&Vl(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!==Wi.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=Wi.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}},Os(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Gl(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,Ms(a.x,s.x,l.x),Ms(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Gl(this.target,this.layout.layoutBox),tl(this.target,this.targetDelta)):Gl(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}},Os(this.relativeTargetOrigin,this.target,e.target),Gl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}jl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Us(this.parent.latestValues)&&!$s(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===Wi.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!o)return;Gl(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&sl(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,tl(e,a)),r&&_s(o.latestValues)&&sl(e,o.latestValues))}t.x=nl(t.x),t.y=nl(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;Ls(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Wl(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),jl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(lc));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;ac(o.x,e.x,n),ac(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Os(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){sc(e.x,t.x,n.x,r),sc(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&Dl(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Gl(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=jo(0,void 0!==n.opacity?n.opacity:1,Nl(r)),e.opacityExit=jo(void 0!==t.opacity?t.opacity:1,0,El(r))):o&&(e.opacity=jo(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Il;i++){const o=`border${xl[i]}Radius`;let a=Al(t,o),s=Al(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||wl(a)===wl(s)?(e[o]=Math.max(jo(Cl(a),Cl(s),r),0),(zr.test(s)||zr.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=jo(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ui(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ji.update(()=>{hl.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Nr(e)?e:is(e);return r.start(_a("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&dc(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ss(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Ss(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Gl(t,n),sl(t,i),Ls(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Xl);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<zl.length;t++){const i="rotate"+zl[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=wi(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=wi(e.pointerEvents)||""),this.hasProjected&&!_s(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=Wl(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Ir){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Ir[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?wi(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Kl),this.root.sharedNodes.clear()}}}function Jl(e){e.updateLayout()}function Ul(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?js(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=Ss(r);r.min=t[e].min,r.max=r.min+i}):dc(i,n.layoutBox,t)&&js(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=Ss(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ls(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?Ls(s,e.applyTransform(r,!0),n.measuredBox):Ls(s,t,n.layoutBox);const l=!Ml(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};Os(a,n.layoutBox,i.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Os(s,t,o.layoutBox),Dl(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function _l(e){jl.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 $l(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Ql(e){e.clearSnapshot()}function Kl(e){e.clearMeasurements()}function ql(e){e.isLayoutDirty=!1}function ec(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function tc(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nc(e){e.resolveTargetDelta()}function rc(e){e.calcProjection()}function ic(e){e.resetRotation()}function oc(e){e.removeLeadSnapshot()}function ac(e,t,n){e.translate=jo(t.translate,0,n),e.scale=jo(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function sc(e,t,n,r){e.min=jo(t.min,n.min,r),e.max=jo(t.max,n.max,r)}function lc(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const cc={duration:.45,ease:[.4,0,.1,1]};function uc(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function dc(e,t,n){return"position"===e||"preserve-aspect"===e&&!Rs(Ol(t),Ol(n),.2)}const pc=Yl({attachResizeListener:(e,t)=>Ti(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),hc={current:void 0},mc=Yl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!hc.current){const e=new pc({});e.mount(window),e.setOptions({layoutScroll:!0}),hc.current=e}return hc.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),fc={pan:{Feature:class extends Xi{constructor(){super(...arguments),this.removePointerDownListener=Qi}onPointerDown(e){this.session=new Ns(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:pl(e),onStart:pl(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Ji.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Bi(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 Xi{constructor(e){super(e),this.removeGroupControls=Qi,this.removeListeners=Qi,this.controls=new ul(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qi}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:mc,MeasureLayout:vl}},gc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function bc(e,t,n=1){uo(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=gc.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():Pr(i)?bc(i,t,n+1):i}const vc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),yc=e=>vc.has(e),xc=e=>e===Rr||e===Zr,Ic=(e,t)=>parseFloat(e.split(", ")[t]),Cc=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Ic(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Ic(t[1],e):0}},wc=new Set(["x","y","z"]),Ac=Cr.filter(e=>!wc.has(e));const Nc={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:Cc(4,13),y:Cc(5,14)},Ec=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(yc);let o=[],a=!1;const s=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=ss(c);const d=t[i];let p;if(Ii(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=ss(c);for(let n=t;n<e&&null!==d[n];n++)p?uo(ss(d[n])===p,"All keyframes must be of the same type"):(p=ss(d[n]),uo(p===u||xc(u)&&xc(p),"Keyframes must be of the same dimension as the current value"))}else p=ss(d);if(u!==p)if(xc(u)&&xc(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===Zr&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[i]=u.transform(d):(a||(o=function(e){const t=[];return Ac.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Nc[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=Nc[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),qn&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function kc(e,t,n,r){return(e=>Object.keys(e).some(yc))(t)?Ec(e,t,n,r):{target:t,transitionEnd:r}}const Tc=(e,t,n,r)=>{const i=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Pr(t))return;const n=bc(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!Pr(i))continue;const o=bc(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return kc(e,t=i.target,n,r=i.transitionEnd)},Gc={current:null},Pc={current:!1};const Bc=new WeakMap,Sc=Object.keys(pr),Rc=Sc.length,Vc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Lc=ar.length;class Mc{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Ji.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=sr(t),this.isVariantNode=lr(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]&&Nr(t)&&(t.set(a[e],!1),$a(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Bc.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)),Pc.current||function(){if(Pc.current=!0,qn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Gc.current=e.matches;e.addListener(t),t()}else Gc.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Gc.current),"production"!==process.env.NODE_ENV&&ns(!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(){Bc.delete(this.current),this.projection&&this.projection.unmount(),Ui(this.notifyUpdate),Ui(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=wr.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Ji.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?co(!1,e):uo(!1,e)}for(let e=0;e<Rc;e++){const n=Sc[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=pr[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&nr(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Vc.length;t++){const n=Vc[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(Nr(o))e.addValue(i,o),$a(r)&&r.add(i),"development"===process.env.NODE_ENV&&ns("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(Nr(a))e.addValue(i,is(o,{owner:e})),$a(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,is(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<Lc;e++){const n=ar[e],r=this.props[n];(rr(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=is(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=yi(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||Nr(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new es),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Dc extends Mc{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){const r={};for(const i in e){const e=ds(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=c&&("string"==typeof c&&(Qa(c)||Ya(c))?c=parseFloat(c):!cs(c)&&oa.test(l)&&(c=ja(a,l)),e.addValue(a,is(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=Tc(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Oc extends Dc{readValueFromInstance(e,t){if(wr.has(t)){const e=Za(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(Gr(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ll(e,t)}build(e,t,n,r){$r(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return bi(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Nr(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){mi(e,t,n,r)}}class Xc extends Dc{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(wr.has(t)){const e=Za(t);return e&&e.default||0}return t=fi.has(t)?t:hi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return vi(e,t)}build(e,t,n,r){li(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){gi(e,t,0,r)}mount(e){this.isSVGTag=ui(e.tagName),super.mount(e)}}const Wc=(e,t)=>xr(e)?new Xc(t,{enableHardwareAcceleration:!1}):new Oc(t,{enableHardwareAcceleration:!0}),Fc={...ws,...oo,...fc,...{layout:{ProjectionNode:mc,MeasureLayout:vl}}},Hc=vr((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...xr(e)?Ei:ki,preloadedFeatures:n,useRender:pi(t),createVisualElement:r,Component:e}}(e,t,Fc,Wc));function zc(){const e=u(!1);return er(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class Zc extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function jc({children:e,isPresent:t}){const n=v(),i=u(null),o=u({width:0,height:0,top:0,left:0});return b(()=>{const{width:e,height:r,top:a,left:s}=o.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),r.createElement(Zc,{isPresent:t,childRef:i,sizeRef:o},r.cloneElement(e,{ref:i}))}const Yc=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const c=xi(Jc),u=v(),d=l(()=>({id:u,initial:t,isPresent:n,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),a?void 0:[n]);return l(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),r.useEffect(()=>{!n&&!c.size&&i&&i()},[n]),"popLayout"===s&&(e=r.createElement(jc,{isPresent:n},e)),r.createElement(Kn.Provider,{value:d},e)};function Jc(){return new Map}const Uc=e=>e.key||"";const _c=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:s,presenceAffectsLayout:l=!0,mode:c="sync"})=>{uo(!s,"Replace exitBeforeEnter with mode='wait'");const m=g(hr).forceRender||function(){const e=zc(),[t,n]=d(0),r=h(()=>{e.current&&n(t+1)},[t]);return[h(()=>Ji.postRender(r),[r]),t]}()[0],f=zc(),b=function(e){const t=[];return y.forEach(e,e=>{o(e)&&t.push(e)}),t}(e);let v=b;const x=u(new Map).current,I=u(v),C=u(new Map).current,w=u(!0);var A;if(er(()=>{w.current=!1,function(e,t){e.forEach(e=>{const n=Uc(e);t.set(n,e)})}(b,C),I.current=v}),A=()=>{w.current=!0,C.clear(),x.clear()},p(()=>()=>A(),[]),w.current)return r.createElement(r.Fragment,null,v.map(e=>r.createElement(Yc,{key:Uc(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:l,mode:c},e)));v=[...v];const N=I.current.map(Uc),E=b.map(Uc),k=N.length;for(let e=0;e<k;e++){const t=N[e];-1!==E.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===c&&x.size&&(v=[]),x.forEach((e,n)=>{if(-1!==E.indexOf(n))return;const o=C.get(n);if(!o)return;const a=N.indexOf(n);let s=e;if(!s){const e=()=>{C.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=b,!1===f.current)return;m(),i&&i()}};s=r.createElement(Yc,{key:Uc(o),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:l,mode:c},o),x.set(n,s)}v.splice(a,0,s)}),v=v.map(e=>{const t=e.key;return x.has(t)?e:r.createElement(Yc,{key:Uc(e),isPresent:!0,presenceAffectsLayout:l,mode:c},e)}),"production"!==process.env.NODE_ENV&&"wait"===c&&v.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),r.createElement(r.Fragment,null,x.size?v:v.map(e=>a(e)))};function $c(){return $c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$c.apply(null,arguments)}function Qc(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function Kc(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function qc(...e){return h(Kc(...e),e)}function eu(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return l(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const tu=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?f:()=>{},nu=r["useId".toString()]||(()=>{});let ru=0;function iu(e){const[t,n]=r.useState(nu());return tu(()=>{n(e=>null!=e?e:String(ru++))},[e]),e||(t?`radix-${t}`:"")}function ou(e){const t=u(e);return p(()=>{t.current=e}),l(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function au({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,i]=function({defaultProp:e,onChange:t}){const n=d(e),[r]=n,i=u(r),o=ou(t);return p(()=>{i.current!==r&&(o(r),i.current=r)},[r,i,o]),n}({defaultProp:t,onChange:n}),o=void 0!==e,a=o?e:r,s=ou(n);return[a,h(t=>{if(o){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else i(t)},[o,e,i,s])]}const su=s((e,t)=>{const{children:n,...r}=e,i=y.toArray(n),s=i.find(uu);if(s){const e=s.props.children,n=i.map(t=>t===s?y.count(e)>1?y.only(null):o(e)?e.props.children:null:t);return c(lu,$c({},r,{ref:t}),o(e)?a(e,void 0,n):null)}return c(lu,$c({},r,{ref:t}),n)});su.displayName="Slot";const lu=s((e,t)=>{const{children:n,...r}=e;return o(n)?a(n,{...du(r,n.props),ref:t?Kc(t,n.ref):n.ref}):y.count(n)>1?y.only(null):null});lu.displayName="SlotClone";const cu=({children:e})=>c(x,null,e);function uu(e){return o(e)&&e.type===cu}function du(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const pu=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=s((e,n)=>{const{asChild:r,...i}=e,o=r?su:t;return p(()=>{window[Symbol.for("radix-ui")]=!0},[]),c(o,$c({},i,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const hu="dismissableLayer.update",mu="dismissableLayer.pointerDownOutside",fu="dismissableLayer.focusOutside";let gu;const bu=m({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vu=s((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...h}=e,m=g(bu),[f,b]=d(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=d({}),x=qc(t,e=>b(e)),I=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),w=I.indexOf(C),A=f?I.indexOf(f):-1,N=m.layersWithOutsidePointerEventsDisabled.size>0,E=A>=w,k=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=ou(e),r=u(!1),i=u(()=>{});return p(()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function a(){xu(mu,n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...m.branches].some(e=>e.contains(t));E&&!n&&(null==o||o(e),null==s||s(e),e.defaultPrevented||null==l||l())},v),T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=ou(e),r=u(!1);return p(()=>{const e=e=>{if(e.target&&!r.current){xu(fu,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...m.branches].some(e=>e.contains(t))||(null==a||a(e),null==s||s(e),e.defaultPrevented||null==l||l())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=ou(e);p(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{A===m.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},v),p(()=>{if(f)return r&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(gu=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(f)),m.layers.add(f),yu(),()=>{r&&1===m.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=gu)}},[f,v,r,m]),p(()=>()=>{f&&(m.layers.delete(f),m.layersWithOutsidePointerEventsDisabled.delete(f),yu())},[f,m]),p(()=>{const e=()=>y({});return document.addEventListener(hu,e),()=>document.removeEventListener(hu,e)},[]),c(pu.div,$c({},h,{ref:x,style:{pointerEvents:N?E?"auto":"none":void 0,...e.style},onFocusCapture:Qc(e.onFocusCapture,T.onFocusCapture),onBlurCapture:Qc(e.onBlurCapture,T.onBlurCapture),onPointerDownCapture:Qc(e.onPointerDownCapture,k.onPointerDownCapture)}))});function yu(){const e=new CustomEvent(hu);document.dispatchEvent(e)}function xu(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&E(()=>e.dispatchEvent(t))}(i,o):i.dispatchEvent(o)}const Iu="focusScope.autoFocusOnMount",Cu="focusScope.autoFocusOnUnmount",wu={bubbles:!1,cancelable:!0},Au=s((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...a}=e,[s,l]=d(null),m=ou(i),f=ou(o),g=u(null),b=qc(t,e=>l(e)),v=u({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;p(()=>{if(r){function e(e){if(v.paused||!s)return;const t=e.target;s.contains(t)?g.current=t:Tu(g.current,{select:!0})}function t(e){if(v.paused||!s)return;const t=e.relatedTarget;null!==t&&(s.contains(t)||Tu(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Tu(s)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const i=new MutationObserver(n);return s&&i.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),i.disconnect()}}},[r,s,v.paused]),p(()=>{if(s){Gu.add(v);const t=document.activeElement;if(!s.contains(t)){const n=new CustomEvent(Iu,wu);s.addEventListener(Iu,m),s.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Tu(r,{select:t}),document.activeElement!==n)return}((e=Nu(s),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Tu(s))}return()=>{s.removeEventListener(Iu,m),setTimeout(()=>{const e=new CustomEvent(Cu,wu);s.addEventListener(Cu,f),s.dispatchEvent(e),e.defaultPrevented||Tu(null!=t?t:document.body,{select:!0}),s.removeEventListener(Cu,f),Gu.remove(v)},0)}}var e},[s,m,f,v]);const y=h(e=>{if(!n&&!r)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){const t=e.currentTarget,[r,o]=function(e){const t=Nu(e),n=Eu(t,e),r=Eu(t.reverse(),e);return[n,r]}(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),n&&Tu(o,{select:!0})):(e.preventDefault(),n&&Tu(r,{select:!0})):i===t&&e.preventDefault()}},[n,r,v.paused]);return c(pu.div,$c({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function Nu(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 Eu(e,t){for(const n of e)if(!ku(n,{upTo:t}))return n}function ku(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 Tu(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 Gu=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Pu(e,t),e.unshift(t)},remove(t){var n;e=Pu(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Pu(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Bu=s((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...i}=e;return r?N.createPortal(c(pu.div,$c({},i,{ref:t})),r):null});const Su=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=d(),r=u({}),i=u(e),o=u("none"),a=e?"mounted":"unmounted",[s,l]=function(e,t){return I((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return p(()=>{const e=Ru(r.current);o.current="mounted"===s?e:"none"},[s]),tu(()=>{const t=r.current,n=i.current;if(n!==e){const r=o.current,a=Ru(t);if(e)l("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))l("UNMOUNT");else{l(n&&r!==a?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,l]),tu(()=>{if(t){const e=e=>{const n=Ru(r.current).includes(e.animationName);e.target===t&&n&&E(()=>l("ANIMATION_END"))},n=e=>{e.target===t&&(o.current=Ru(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:h(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),i="function"==typeof n?n({present:r.isPresent}):y.only(n),o=qc(r.ref,i.ref);return"function"==typeof n||r.isPresent?a(i,{ref:o}):null};function Ru(e){return(null==e?void 0:e.animationName)||"none"}Su.displayName="Presence";let Vu=0;function Lu(){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 Mu=function(){return Mu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Mu.apply(this,arguments)};function Du(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Ou="right-scroll-bar-position",Xu="width-before-scroll-bar";function Wu(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Fu="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,Hu=new WeakMap;function zu(e,t){var n,r,i,o=(n=null,r=function(t){return e.forEach(function(e){return Wu(e,t)})},(i=d(function(){return{value:n,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return Fu(function(){var t=Hu.get(o);if(t){var n=new Set(t),r=new Set(e),i=o.current;n.forEach(function(e){r.has(e)||Wu(e,null)}),r.forEach(function(e){n.has(e)||Wu(e,i)})}Hu.set(o,e)},[e]),o}function Zu(e){return e}var ju=function(e){var t=e.sideCar,n=Du(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return r.createElement(i,Mu({},n))};ju.isSideCarExport=!0;var Yu=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Zu);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=Mu({async:!0,ssr:!1},e),t}(),Ju=function(){},Uu=r.forwardRef(function(e,t){var n=r.useRef(null),i=r.useState({onScrollCapture:Ju,onWheelCapture:Ju,onTouchMoveCapture:Ju}),o=i[0],a=i[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,m=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=Du(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=h,I=zu([n,t]),C=Mu(Mu({},y),o);return r.createElement(r.Fragment,null,d&&r.createElement(x,{sideCar:Yu,removeScrollBar:u,shards:p,noIsolation:m,inert:f,setCallbacks:a,allowPinchZoom:!!g,lockRef:n}),s?r.cloneElement(r.Children.only(l),Mu(Mu({},C),{ref:I})):r.createElement(v,Mu({},C,{className:c,ref:I}),l))});Uu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Uu.classNames={fullWidth:Xu,zeroRight:Ou};function _u(){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 $u=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=_u())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Qu=function(){var e,t=(e=$u(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Ku={left:0,top:0,right:0,gap:0},qu=function(e){return parseInt(e||"",10)||0},ed=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Ku;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[qu(n),qu(r),qu(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},td=Qu(),nd="data-scroll-locked",rd=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(nd,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ou," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Xu," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(Ou," .").concat(Ou," {\n right: 0 ").concat(r,";\n }\n \n .").concat(Xu," .").concat(Xu," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(nd,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},id=function(){var e=parseInt(document.body.getAttribute(nd)||"0",10);return isFinite(e)?e:0},od=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=void 0===i?"margin":i;r.useEffect(function(){return document.body.setAttribute(nd,(id()+1).toString()),function(){var e=id()-1;e<=0?document.body.removeAttribute(nd):document.body.setAttribute(nd,e.toString())}},[]);var a=r.useMemo(function(){return ed(o)},[o]);return r.createElement(td,{styles:rd(a,!t,o,n?"":"!important")})},ad=!1;if("undefined"!=typeof window)try{var sd=Object.defineProperty({},"passive",{get:function(){return ad=!0,!0}});window.addEventListener("test",sd,sd),window.removeEventListener("test",sd,sd)}catch(e){ad=!1}var ld=!!ad&&{passive:!1},cd=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])},ud=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),dd(e,n)){var r=pd(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},dd=function(e,t){return"v"===e?function(e){return cd(e,"overflowY")}(t):function(e){return cd(e,"overflowX")}(t)},pd=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},hd=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},md=function(e){return[e.deltaX,e.deltaY]},fd=function(e){return e&&"current"in e?e.current:e},gd=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},bd=0,vd=[];var yd,xd=(yd=function(e){var t=r.useRef([]),n=r.useRef([0,0]),i=r.useRef(),o=r.useState(bd++)[0],a=r.useState(function(){return Qu()})[0],s=r.useRef(e);r.useEffect(function(){s.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(fd),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=hd(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=ud(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=ud(d,u)),!p)return!1;if(!i.current&&"changedTouches"in e&&(l||c)&&(i.current=r),!r)return!0;var h=i.current||r;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=pd(e,a),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&dd(e,a)&&(u+=m,d+=h),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=r.useCallback(function(e){var n=e;if(vd.length&&vd[vd.length-1]===a){var r="deltaY"in n?md(n):hd(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var o=(s.current.shards||[]).map(fd).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=r.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=r.useCallback(function(e){n.current=hd(e),i.current=void 0},[]),p=r.useCallback(function(t){u(t.type,md(t),t.target,l(t,e.lockRef.current))},[]),h=r.useCallback(function(t){u(t.type,hd(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return vd.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",c,ld),document.addEventListener("touchmove",c,ld),document.addEventListener("touchstart",d,ld),function(){vd=vd.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,ld),document.removeEventListener("touchmove",c,ld),document.removeEventListener("touchstart",d,ld)}},[]);var m=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(a,{styles:gd(o)}):null,m?r.createElement(od,{gapMode:"margin"}):null)},Yu.useMedium(yd),ju),Id=r.forwardRef(function(e,t){return r.createElement(Uu,Mu({},e,{ref:t,sideCar:xd}))});Id.classNames=Uu.classNames;var Cd=new WeakMap,wd=new WeakMap,Ad={},Nd=0,Ed=function(e){return e&&(e.host||Ed(e.parentNode))},kd=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Ed(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]);Ad[n]||(Ad[n]=new WeakMap);var o=Ad[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Cd.get(e)||0)+1,c=(o.get(e)||0)+1;Cd.set(e,l),o.set(e,c),a.push(e),1===l&&i&&wd.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Nd++,function(){a.forEach(function(e){var t=Cd.get(e)-1,i=o.get(e)-1;Cd.set(e,t),o.set(e,i),t||(wd.has(e)||e.removeAttribute(r),wd.delete(e)),i||e.removeAttribute(n)}),--Nd||(Cd=new WeakMap,Cd=new WeakMap,wd=new WeakMap,Ad={})}},Td=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),kd(r,i,n,"aria-hidden")):function(){return null}};const Gd="Dialog",[Pd,Bd]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>m(e));return function(n){const r=(null==n?void 0:n[e])||t;return l(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const i=m(r),o=n.length;function a(t){const{scope:n,children:r,...a}=t,s=(null==n?void 0:n[e][o])||i,u=l(()=>a,Object.values(a));return c(s.Provider,{value:u},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){const s=(null==a?void 0:a[e][o])||i,l=g(s);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},eu(r,...t)]}(Gd),[Sd,Rd]=Pd(Gd),Vd="DialogPortal",[Ld,Md]=Pd(Vd,{forceMount:void 0}),Dd="DialogOverlay",Od=s((e,t)=>{const n=Md(Dd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Rd(Dd,e.__scopeDialog);return o.modal?c(Su,{present:r||o.open},c(Xd,$c({},i,{ref:t}))):null}),Xd=s((e,t)=>{const{__scopeDialog:n,...r}=e,i=Rd(Dd,n);return c(Id,{as:su,allowPinchZoom:!0,shards:[i.contentRef]},c(pu.div,$c({"data-state":Ud(i.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),Wd="DialogContent",Fd=s((e,t)=>{const n=Md(Wd,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Rd(Wd,e.__scopeDialog);return c(Su,{present:r||o.open},o.modal?c(Hd,$c({},i,{ref:t})):c(zd,$c({},i,{ref:t})))}),Hd=s((e,t)=>{const n=Rd(Wd,e.__scopeDialog),r=u(null),i=qc(t,n.contentRef,r);return p(()=>{const e=r.current;if(e)return Td(e)},[]),c(Zd,$c({},e,{ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Qc(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Qc(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Qc(e.onFocusOutside,e=>e.preventDefault())}))}),zd=s((e,t)=>{const n=Rd(Wd,e.__scopeDialog),r=u(!1),i=u(!1);return c(Zd,$c({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,a;(null===(o=e.onCloseAutoFocus)||void 0===o||o.call(e,t),t.defaultPrevented)||(r.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var o,a;null===(o=e.onInteractOutside)||void 0===o||o.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),Zd=s((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...a}=e,s=Rd(Wd,n),l=qc(t,u(null));return p(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Lu()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Lu()),Vu++,()=>{1===Vu&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Vu--}},[]),c(x,null,c(Au,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o},c(vu,$c({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Ud(s.open)},a,{ref:l,onDismiss:()=>s.onOpenChange(!1)}))),!1)}),jd="DialogTitle",Yd="DialogClose",Jd=s((e,t)=>{const{__scopeDialog:n,...r}=e,i=Rd(Yd,n);return c(pu.button,$c({type:"button"},r,{ref:t,onClick:Qc(e.onClick,()=>i.onOpenChange(!1))}))});function Ud(e){return e?"open":"closed"}!function(e,t){const n=m(t);function r(e){const{children:t,...r}=e,i=l(()=>r,Object.values(r));return c(n.Provider,{value:i},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Wd,titleName:jd,docsSlug:"dialog"});const _d=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:a=!0}=e,s=u(null),l=u(null),[d=!1,p]=au({prop:r,defaultProp:i,onChange:o});return c(Sd,{scope:t,triggerRef:s,contentRef:l,contentId:iu(),titleId:iu(),descriptionId:iu(),open:d,onOpenChange:p,onOpenToggle:h(()=>p(e=>!e),[p]),modal:a},n)},$d=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Rd(Vd,t);return c(Ld,{scope:t,forceMount:n},y.map(r,e=>c(Su,{present:n||o.open},c(Bu,{asChild:!0,container:i},e))))},Qd=Od,Kd=Fd,qd=Jd,ep=n=>{const{isOpen:r,onRequestClose:i,size:o,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(_d,{open:r,onOpenChange:()=>r&&(null==i?void 0:i()),children:t($d,{children:[e(Hc.div,{initial:"closed",animate:r?"open":"closed",variants:Jn,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Qd,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(Hc.div,{initial:"closed",animate:r?"open":"closed",variants:Un,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(Kd,{className:Ze("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:_n[o||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(qd,{asChild:!0,children:e(mn,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(_t,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e($t,{className:Ze("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($t,{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]})]})]})})})})]})})},tp=({children:n,background:r,className:i,fill:o="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof r&&r in d,h=p?d[r]:void 0,m=r&&!p?{background:r}:void 0,f=o in u?u[o]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=i?i:""} ${a?"max-content":""} ${null!=h?h:m?"":"bg-white"}`,style:m,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,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 ${f}`,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 ${f}`,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 ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:i,style:m,children:n})},np=({title:n,background:r="white",button:i,color:o,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:h})=>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"}[r]} 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($t,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e($t,{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(mn,{...i,renderCheckPlans:h,onModalButtonClick:p,size:{base:"large"}})})]})}),rp=({background:r="white",description:i,enableHeading:o,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e($t,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e($t,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[i&&e($t,{as:"p",className:"body1",children:i}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(Kt,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e("li",{children:e(Kt,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(bn,{width:472,height:100,src:a,alt:"image"})})]})]})}),ip=({title:n,disclaimer:r,table:i,maxWidth:o=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(o?"max-w-120 xl:mx-auto":""),children:[e($t,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:i}),e($t,{as:"div",className:"micro mt-8 text-center",children:r})]})}),op=({currentPage:n,totalPages:r,onPageChange:i,ariaLabel:o="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const r=Math.max(2,e-1),i=Math.min(t-1,e+1);for(let e=r;e<=i;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(n,r),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e(an,{className:s,onClick:()=>i(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(_t,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,r)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${r}`):e(an,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>i(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(an,{className:s,onClick:()=>i(n+1),disabled:n===r,"aria-label":"Go to next page",children:e(_t,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function ap(e){return ap="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},ap(e)}function sp(e){var t=function(e,t){if("object"!=ap(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=ap(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ap(t)?t:t+""}function lp(e,t,n){return(t=sp(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function up(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cp(Object(n),!0).forEach(function(t){lp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function pp(e,t){if(e){if("string"==typeof e)return dp(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)?dp(e,t):void 0}}function hp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||pp(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 mp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var fp=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function gp(){return gp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gp.apply(null,arguments)}function bp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,sp(r.key),r)}}function vp(e,t){return vp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},vp(e,t)}function yp(e){return yp=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yp(e)}function xp(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xp=function(){return!!e})()}function Ip(e,t){if(t&&("object"==ap(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 Cp(e){return function(e){if(Array.isArray(e))return dp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||pp(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 wp=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}(),Ap="-ms-",Np="-moz-",Ep="-webkit-",kp="comm",Tp="rule",Gp="decl",Pp="@keyframes",Bp=Math.abs,Sp=String.fromCharCode,Rp=Object.assign;function Vp(e){return e.trim()}function Lp(e,t,n){return e.replace(t,n)}function Mp(e,t){return e.indexOf(t)}function Dp(e,t){return 0|e.charCodeAt(t)}function Op(e,t,n){return e.slice(t,n)}function Xp(e){return e.length}function Wp(e){return e.length}function Fp(e,t){return t.push(e),e}var Hp=1,zp=1,Zp=0,jp=0,Yp=0,Jp="";function Up(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Hp,column:zp,length:a,return:""}}function _p(e,t){return Rp(Up("",null,null,"",null,null,0),e,{length:-e.length},t)}function $p(){return Yp=jp>0?Dp(Jp,--jp):0,zp--,10===Yp&&(zp=1,Hp--),Yp}function Qp(){return Yp=jp<Zp?Dp(Jp,jp++):0,zp++,10===Yp&&(zp=1,Hp++),Yp}function Kp(){return Dp(Jp,jp)}function qp(){return jp}function eh(e,t){return Op(Jp,e,t)}function th(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 nh(e){return Hp=zp=1,Zp=Xp(Jp=e),jp=0,[]}function rh(e){return Jp="",e}function ih(e){return Vp(eh(jp-1,sh(91===e?e+2:40===e?e+1:e)))}function oh(e){for(;(Yp=Kp())&&Yp<33;)Qp();return th(e)>2||th(Yp)>3?"":" "}function ah(e,t){for(;--t&&Qp()&&!(Yp<48||Yp>102||Yp>57&&Yp<65||Yp>70&&Yp<97););return eh(e,qp()+(t<6&&32==Kp()&&32==Qp()))}function sh(e){for(;Qp();)switch(Yp){case e:return jp;case 34:case 39:34!==e&&39!==e&&sh(Yp);break;case 40:41===e&&sh(e);break;case 92:Qp()}return jp}function lh(e,t){for(;Qp()&&e+Yp!==57&&(e+Yp!==84||47!==Kp()););return"/*"+eh(t,jp-1)+"*"+Sp(47===e?e:Qp())}function ch(e){for(;!th(Kp());)Qp();return eh(e,jp)}function uh(e){return rh(dh("",null,null,null,[""],e=nh(e),0,[0],e))}function dh(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,f=1,g=1,b=1,v=0,y="",x=i,I=o,C=r,w=y;g;)switch(m=v,v=Qp()){case 40:if(108!=m&&58==Dp(w,d-1)){-1!=Mp(w+=Lp(ih(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=ih(v);break;case 9:case 10:case 13:case 32:w+=oh(m);break;case 92:w+=ah(qp()-1,7);continue;case 47:switch(Kp()){case 42:case 47:Fp(hh(lh(Qp(),qp()),t,n),l);break;default:w+="/"}break;case 123*f:s[c++]=Xp(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=Lp(w,/\f/g,"")),h>0&&Xp(w)-d&&Fp(h>32?mh(w+";",r,n,d-1):mh(Lp(w," ","")+";",r,n,d-2),l);break;case 59:w+=";";default:if(Fp(C=ph(w,t,n,c,u,i,s,y,x=[],I=[],d),o),123===v)if(0===u)dh(w,t,C,C,x,o,d,s,I);else switch(99===p&&110===Dp(w,3)?100:p){case 100:case 108:case 109:case 115:dh(e,C,C,r&&Fp(ph(e,C,C,0,0,i,s,y,i,x=[],d),I),i,I,d,s,r?x:I);break;default:dh(w,C,C,C,[""],I,0,s,I)}}c=u=h=0,f=b=1,y=w="",d=a;break;case 58:d=1+Xp(w),h=m;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==$p())continue;switch(w+=Sp(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(Xp(w)-1)*b,b=1;break;case 64:45===Kp()&&(w+=ih(Qp())),p=Kp(),u=d=Xp(y=w+=ch(qp())),v++;break;case 45:45===m&&2==Xp(w)&&(f=0)}}return o}function ph(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],h=Wp(p),m=0,f=0,g=0;m<r;++m)for(var b=0,v=Op(e,d+1,d=Bp(f=a[m])),y=e;b<h;++b)(y=Vp(f>0?p[b]+" "+v:Lp(v,/&\f/g,p[b])))&&(l[g++]=y);return Up(e,t,n,0===i?Tp:s,l,c,u)}function hh(e,t,n){return Up(e,t,n,kp,Sp(Yp),Op(e,2,-2),0)}function mh(e,t,n,r){return Up(e,t,n,Gp,Op(e,0,r),Op(e,r+1,-1),r)}function fh(e,t){for(var n="",r=Wp(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function gh(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Gp:return e.return=e.return||e.value;case kp:return"";case Pp:return e.return=e.value+"{"+fh(e.children,r)+"}";case Tp:e.value=e.props.join(",")}return Xp(n=fh(e.children,r))?e.return=e.value+"{"+n+"}":""}function bh(e){var t=Wp(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}function vh(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var yh="undefined"!=typeof document,xh=function(e,t,n){for(var r=0,i=0;r=i,i=Kp(),38===r&&12===i&&(t[n]=1),!th(i);)Qp();return eh(e,jp)},Ih=function(e,t){return rh(function(e,t){var n=-1,r=44;do{switch(th(r)){case 0:38===r&&12===Kp()&&(t[n]=1),e[n]+=xh(jp-1,t,n);break;case 2:e[n]+=ih(r);break;case 4:if(44===r){e[++n]=58===Kp()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Sp(r)}}while(r=Qp());return e}(nh(e),t))},Ch=new WeakMap,wh=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ch.get(n))&&!r){Ch.set(e,!0);for(var i=[],o=Ih(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Ah=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Nh(e,t){switch(function(e,t){return 45^Dp(e,0)?(((t<<2^Dp(e,0))<<2^Dp(e,1))<<2^Dp(e,2))<<2^Dp(e,3):0}(e,t)){case 5103:return Ep+"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 Ep+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ep+e+Np+e+Ap+e+e;case 6828:case 4268:return Ep+e+Ap+e+e;case 6165:return Ep+e+Ap+"flex-"+e+e;case 5187:return Ep+e+Lp(e,/(\w+).+(:[^]+)/,Ep+"box-$1$2"+Ap+"flex-$1$2")+e;case 5443:return Ep+e+Ap+"flex-item-"+Lp(e,/flex-|-self/,"")+e;case 4675:return Ep+e+Ap+"flex-line-pack"+Lp(e,/align-content|flex-|-self/,"")+e;case 5548:return Ep+e+Ap+Lp(e,"shrink","negative")+e;case 5292:return Ep+e+Ap+Lp(e,"basis","preferred-size")+e;case 6060:return Ep+"box-"+Lp(e,"-grow","")+Ep+e+Ap+Lp(e,"grow","positive")+e;case 4554:return Ep+Lp(e,/([^-])(transform)/g,"$1"+Ep+"$2")+e;case 6187:return Lp(Lp(Lp(e,/(zoom-|grab)/,Ep+"$1"),/(image-set)/,Ep+"$1"),e,"")+e;case 5495:case 3959:return Lp(e,/(image-set\([^]*)/,Ep+"$1$`$1");case 4968:return Lp(Lp(e,/(.+:)(flex-)?(.*)/,Ep+"box-pack:$3"+Ap+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ep+e+e;case 4095:case 3583:case 4068:case 2532:return Lp(e,/(.+)-inline(.+)/,Ep+"$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(Xp(e)-1-t>6)switch(Dp(e,t+1)){case 109:if(45!==Dp(e,t+4))break;case 102:return Lp(e,/(.+:)(.+)-([^]+)/,"$1"+Ep+"$2-$3$1"+Np+(108==Dp(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Mp(e,"stretch")?Nh(Lp(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Dp(e,t+1))break;case 6444:switch(Dp(e,Xp(e)-3-(~Mp(e,"!important")&&10))){case 107:return Lp(e,":",":"+Ep)+e;case 101:return Lp(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ep+(45===Dp(e,14)?"inline-":"")+"box$3$1"+Ep+"$2$3$1"+Ap+"$2box$3")+e}break;case 5936:switch(Dp(e,t+11)){case 114:return Ep+e+Ap+Lp(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ep+e+Ap+Lp(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ep+e+Ap+Lp(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ep+e+Ap+e+e}return e}var Eh,kh,Th,Gh=yh?void 0:(Eh=function(){return vh(function(){return{}})},kh=new WeakMap,function(e){if(kh.has(e))return kh.get(e);var t=Eh(e);return kh.set(e,t),t}),Ph=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Gp:e.return=Nh(e.value,e.length);break;case Pp:return fh([_p(e,{value:Lp(e.value,"@","@"+Ep)})],r);case Tp: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 fh([_p(e,{props:[Lp(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return fh([_p(e,{props:[Lp(t,/:(plac\w+)/,":"+Ep+"input-$1")]}),_p(e,{props:[Lp(t,/:(plac\w+)/,":-moz-$1")]}),_p(e,{props:[Lp(t,/:(plac\w+)/,Ap+"input-$1")]})],r)}return""})}}],Bh=function(e){var t=e.key;if(yh&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||Ph,a={},s=[];yh&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[wh,Ah];if(Gh){var u=[gh],d=bh(c.concat(o,u)),p=Gh(o)(t),h=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=fh(uh(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=h(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var m,f=[gh,(l=function(e){m.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=bh(c.concat(o,f));i=function(e,t,n,r){m=n,fh(uh(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new wp({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},Sh={exports:{}},Rh={};var Vh,Lh,Mh,Dh,Oh={};
|
|
6
6
|
/** @license React v16.13.1
|
|
7
7
|
* react-is.development.js
|
|
8
8
|
*
|
|
@@ -10,5 +10,5 @@ function xt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r
|
|
|
10
10
|
*
|
|
11
11
|
* This source code is licensed under the MIT license found in the
|
|
12
12
|
* LICENSE file in the root directory of this source tree.
|
|
13
|
-
*/function Wh(){return Mh||(Mh=1,"production"===process.env.NODE_ENV?Rh.exports=function(){if(Gh)return Vh;Gh=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Vh.AsyncMode=l,Vh.ConcurrentMode=c,Vh.ContextConsumer=s,Vh.ContextProvider=a,Vh.Element=t,Vh.ForwardRef=u,Vh.Fragment=r,Vh.Lazy=m,Vh.Memo=h,Vh.Portal=n,Vh.Profiler=o,Vh.StrictMode=i,Vh.Suspense=d,Vh.isAsyncMode=function(e){return x(e)||y(e)===l},Vh.isConcurrentMode=x,Vh.isContextConsumer=function(e){return y(e)===s},Vh.isContextProvider=function(e){return y(e)===a},Vh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Vh.isForwardRef=function(e){return y(e)===u},Vh.isFragment=function(e){return y(e)===r},Vh.isLazy=function(e){return y(e)===m},Vh.isMemo=function(e){return y(e)===h},Vh.isPortal=function(e){return y(e)===n},Vh.isProfiler=function(e){return y(e)===o},Vh.isStrictMode=function(e){return y(e)===i},Vh.isSuspense=function(e){return y(e)===d},Vh.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Vh.typeOf=y,Vh}():Rh.exports=(Lh||(Lh=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=l,I=c,C=s,w=a,A=t,N=u,E=r,k=m,T=h,G=n,P=o,B=i,S=d,R=!1;function V(e){return y(e)===c}Xh.AsyncMode=x,Xh.ConcurrentMode=I,Xh.ContextConsumer=C,Xh.ContextProvider=w,Xh.Element=A,Xh.ForwardRef=N,Xh.Fragment=E,Xh.Lazy=k,Xh.Memo=T,Xh.Portal=G,Xh.Profiler=P,Xh.StrictMode=B,Xh.Suspense=S,Xh.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.")),V(e)||y(e)===l},Xh.isConcurrentMode=V,Xh.isContextConsumer=function(e){return y(e)===s},Xh.isContextProvider=function(e){return y(e)===a},Xh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Xh.isForwardRef=function(e){return y(e)===u},Xh.isFragment=function(e){return y(e)===r},Xh.isLazy=function(e){return y(e)===m},Xh.isMemo=function(e){return y(e)===h},Xh.isPortal=function(e){return y(e)===n},Xh.isProfiler=function(e){return y(e)===o},Xh.isStrictMode=function(e){return y(e)===i},Xh.isSuspense=function(e){return y(e)===d},Xh.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Xh.typeOf=y}()),Xh)),Rh.exports}!function(){if(Oh)return Dh;Oh=1;var e=Wh(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Dh=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=s(r);l&&(h=h.concat(l(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||i&&i[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Fh="undefined"!=typeof document;var Hh=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Fh&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var zh={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},Zh=/[A-Z]|^ms/g,jh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Yh=function(e){return 45===e.charCodeAt(1)},Jh=function(e){return null!=e&&"boolean"!=typeof e},Uh=yh(function(e){return Yh(e)?e:e.replace(Zh,"-$&").toLowerCase()}),_h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(jh,function(e,t,n){return Qh={name:t,styles:n,next:Qh},t})}return 1===zh[e]||Yh(e)||"number"!=typeof t||0===t?t:t+"px"};function $h(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return Qh={name:i.name,styles:i.styles,next:Qh},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Qh={name:a.name,styles:a.styles,next:Qh},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=$h(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;Jh(s)&&(r+=Uh(o)+":"+_h(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Jh(a[l])&&(r+=Uh(o)+":"+_h(o,a[l])+";");else{var c=$h(e,t,a);switch(o){case"animation":case"animationName":r+=Uh(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=Qh,l=n(e);return Qh=s,$h(e,t,l)}}return n}var Qh,Kh=/label:\s*([^\s;{]+)\s*(;|$)/g;function qh(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Qh=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=$h(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=$h(n,t,e[a]),r)i+=o[a]}Kh.lastIndex=0;for(var s,l="";null!==(s=Kh.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Qh}}var em="undefined"!=typeof document,tm=function(e){return e()},nm=!!r.useInsertionEffect&&r.useInsertionEffect,rm=em&&nm||tm,im="undefined"!=typeof document,om=r.createContext("undefined"!=typeof HTMLElement?Sh({key:"css"}):null);om.Provider;var am=function(e){return s(function(t,n){var r=g(om);return e(t,r,n)})};im||(am=function(e){return function(t){var n=g(om);return null===n?(n=Sh({key:"css"}),r.createElement(om.Provider,{value:n},e(t,n))):e(t,n)}});var sm,lm,cm=r.createContext({}),um={}.hasOwnProperty,dm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",pm=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Hh(t,n,i);var o=rm(function(){return function(e,t,n){Hh(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Fh||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Fh&&0!==i.length)return i}}(t,n,i)});if(!im&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},hm=am(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[dm],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=qh(a,void 0,r.useContext(cm));s+=t.key+"-"+l.name;var c={};for(var u in e)um.call(e,u)&&"css"!==u&&u!==dm&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(pm,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),mm=hm,fm=function(e,t){var n=arguments;if(null==t||!um.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=mm,o[1]=function(e,t){var n={};for(var r in t)um.call(t,r)&&(n[r]=t[r]);return n[dm]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function gm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return qh(t)}sm=fm||(fm={}),lm||(lm=sm.JSX||(sm.JSX={}));const bm=Math.min,vm=Math.max,ym=Math.round,xm=Math.floor,Im=e=>({x:e,y:e});function Cm(){return"undefined"!=typeof window}function wm(e){return Em(e)?(e.nodeName||"").toLowerCase():"#document"}function Am(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Nm(e){var t;return null==(t=(Em(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Em(e){return!!Cm()&&(e instanceof Node||e instanceof Am(e).Node)}function km(e){return!!Cm()&&(e instanceof HTMLElement||e instanceof Am(e).HTMLElement)}function Tm(e){return!(!Cm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Am(e).ShadowRoot)}function Gm(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Pm(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function Pm(e){return Am(e).getComputedStyle(e)}function Bm(e){const t=function(e){if("html"===wm(e))return e;const t=e.assignedSlot||e.parentNode||Tm(e)&&e.host||Nm(e);return Tm(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(wm(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:km(t)&&Gm(t)?t:Bm(t)}function Sm(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Bm(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Am(i);if(o){const e=Rm(a);return t.concat(a,a.visualViewport||[],Gm(i)?i:[],e&&n?Sm(e):[])}return t.concat(i,Sm(i,[],n))}function Rm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Vm(e){return t=e,Cm()&&(t instanceof Element||t instanceof Am(t).Element)?e:e.contextElement;var t}function Lm(e){const t=Vm(e);if(!km(t))return Im(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Pm(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=km(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=ym(n)!==o||ym(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?ym(n.width):n.width)/r,s=(o?ym(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Mm(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Vm(e);let a=Im(1);t&&(a=Lm(e));const s=Im(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Am(o),n=Rm(t);for(;n&&r&&e!==t;){const e=Lm(n),r=n.getBoundingClientRect(),i=Pm(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Am(n),n=Rm(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Dm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Om(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Vm(e),u=i||o?[...c?Sm(c):[],...t?Sm(t):[]]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Nm(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-xm(d)+"px "+-xm(i.clientWidth-(u+p))+"px "+-xm(i.clientHeight-(d+h))+"px "+-xm(u)+"px",threshold:vm(0,bm(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Dm(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),t&&m.observe(t));let f=l?Mm(e):null;return l&&function t(){const r=Mm(e);f&&!Dm(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Xm="undefined"!=typeof document?f:function(){},Wm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Fm=function(){};function Hm(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function zm(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Hm(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Zm=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===sp(e)&&null!==e?[e]:[];var t},jm=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,dp({},fp(e,Wm))},Ym=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function Jm(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Um(e){return Jm(e)?window.pageYOffset:e.scrollTop}function _m(e,t){Jm(e)?window.scrollTo(0,t):e.scrollTop=t}function $m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fm,i=Um(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;_m(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Qm(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?_m(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&_m(e,Math.max(t.offsetTop-i,0))}function Km(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var qm=!1,ef={get passive(){return qm=!0}},tf="undefined"!=typeof window?window:{};tf.addEventListener&&tf.removeEventListener&&(tf.addEventListener("p",Fm,ef),tf.removeEventListener("p",Fm,!1));var nf=qm;function rf(e){return null!=e}function of(e,t,n){return e?t:n}var af=["children","innerProps"],sf=["children","innerProps"];function lf(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Jm(u=l)?window.innerHeight:u.clientHeight,v=Um(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,C=b-f,w=I+v,A=d-v-f,N=h-b+v+y,E=v+f-x,k=160;switch(i){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return o&&$m(l,N,k),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&C>=r)return o&&$m(l,N,k),{placement:"bottom",maxHeight:a?C-y:A-y};if("auto"===i||a){var T=t,G=a?I:w;return G>=r&&(T=Math.min(G-y-s,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return o&&_m(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!a)return o&&$m(l,E,k),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&I>=r){var P=t;return(!a&&w>=r||a&&I>=r)&&(P=a?I-x:w-x),o&&$m(l,E,k),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var cf,uf=function(e){return"auto"===e?"bottom":e},df=m(null),pf=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,l=(g(df)||{}).setPortalPlacement,c=u(null),p=mp(d(r),2),h=p[0],m=p[1],f=mp(d(null),2),b=f[0],v=f[1],y=s.spacing.controlHeight;return Xm(function(){var e=c.current;if(e){var t="fixed"===o,s=lf({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});m(s.maxHeight),v(s.placement),null==l||l(s.placement)}},[r,i,o,a,n,l,y]),t({ref:c,placerProps:dp(dp({},e),{},{placement:b||uf(i),maxHeight:h})})},hf=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return fm("div",bp({},Ym(e,"menu",{menu:!0}),{ref:n},r),t)},mf=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return dp({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},ff=mf,gf=mf,bf=["size"],vf=["innerProps","isRtl","size"];var yf,xf,If="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J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mZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},Cf=function(e){var t=e.size,n=fp(e,bf);return fm("svg",bp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:If},n))},wf=function(e){return fm(Cf,bp({size:20},e),fm("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"}))},Af=function(e){return fm(Cf,bp({size:20},e),fm("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"}))},Nf=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return dp({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Ef=Nf,kf=Nf,Tf=function(){var e=gm.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_"}}}(cf||(yf=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],xf||(xf=yf.slice(0)),cf=Object.freeze(Object.defineProperties(yf,{raw:{value:Object.freeze(xf)}})))),Gf=function(e){var t=e.delay,n=e.offset;return fm("span",{css:gm({animation:"".concat(Tf," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc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GlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Pf=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return fm("div",bp({ref:i},Ym(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Bf=["data"],Sf=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return fm("div",bp({},Ym(e,"group",{group:!0}),s),fm(o,bp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),fm("div",null,t))},Rf=["innerRef","isDisabled","isHidden","inputClassName"],Vf={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Lf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":dp({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Vf)},Mf=function(e){return dp({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Vf)},Df=function(e){var t=e.cx,n=e.value,r=jm(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=fp(r,Rf);return fm("div",bp({},Ym(e,"input",{"input-container":!0}),{"data-value":n||""}),fm("input",bp({className:t({input:!0},s),ref:i,style:Mf(a),disabled:o},l)))},Of=function(e){var t=e.children,n=e.innerProps;return fm("div",n,t)};var Xf=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return fm(l,{data:r,innerProps:dp(dp({},Ym(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},fm(c,{data:r,innerProps:dp({},Ym(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),fm(u,{data:r,innerProps:dp(dp({},Ym(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Wf={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return fm("div",bp({},Ym(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||fm(wf,null))},Control:Pf,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return fm("div",bp({},Ym(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||fm(Af,null))},DownChevron:Af,CrossIcon:wf,Group:Sf,GroupHeading:function(e){var t=jm(e);t.data;var n=fp(t,Bf);return fm("div",bp({},Ym(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return fm("div",bp({},Ym(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return fm("span",bp({},t,Ym(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Df,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=fp(e,vf);return fm("div",bp({},Ym(dp(dp({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),fm(Gf,{delay:0,offset:n}),fm(Gf,{delay:160,offset:!0}),fm(Gf,{delay:320,offset:!n}))},Menu:hf,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return fm("div",bp({},Ym(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,s=u(null),c=u(null),p=mp(d(uf(o)),2),m=p[0],f=p[1],g=l(function(){return{setPortalPlacement:f}},[]),b=mp(d(null),2),v=b[0],y=b[1],x=h(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[m]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[r,a,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Xm(function(){x()},[x]);var I=h(function(){"function"==typeof c.current&&(c.current(),c.current=null),r&&s.current&&(c.current=Om(r,s.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Xm(function(){I()},[I]);var C=h(function(e){s.current=e,I()},[I]);if(!t&&"fixed"!==a||!v)return null;var w=fm("div",bp({ref:C},Ym(dp(dp({},e),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return fm(df.Provider,{value:g},t?k(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=fp(e,sf);return fm("div",bp({},Ym(dp(dp({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=fp(e,af);return fm("div",bp({},Ym(dp(dp({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Xf,MultiValueContainer:Of,MultiValueLabel:Of,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return fm("div",bp({role:"button"},n),t||fm(wf,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return fm("div",bp({},Ym(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return fm("div",bp({},Ym(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return fm("div",bp({},Ym(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return fm("div",bp({},Ym(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return fm("div",bp({},Ym(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Ff=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Hf(e,t){return e===t||!(!Ff(e)||!Ff(t))}function zf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Hf(e[n],t[n]))return!1;return!0}for(var Zf="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)."}},jf=function(e){return fm("span",bp({css:Zf},e))},Yf={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Jf=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,m=s.isMulti,f=s.isOptionDisabled,g=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,I=s.tabSelectsValue,C=s.isLoading,w=s["aria-label"],A=s["aria-live"],N=l(function(){return dp(dp({},Yf),d||{})},[d]),E=l(function(){var e,n="";if(t&&N.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,h=d?d.map(p):[],m=dp({isDisabled:c&&f(c,a),label:u,labels:h},t);n=N.onChange(m)}return n},[t,N,f,a,p]),k=l(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[n,r,p,f,N,i,a,u]),T=l(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=y({count:i.length});e=N.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,N,v,y,C]),G="initial-input-focus"===(null==t?void 0:t.action),P=l(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:n&&f(n,a),isMulti:m,isSearchable:g,tabSelectsValue:I,isInitialFocus:G})}return e},[w,n,r,m,f,g,b,N,a,I,G]),B=fm(x,null,fm("span",{id:"aria-selection"},E),fm("span",{id:"aria-focused"},k),fm("span",{id:"aria-results"},T),fm("span",{id:"aria-guidance"},P));return fm(x,null,fm(jf,{id:c},G&&B),fm(jf,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!G&&B))},Uf=[{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źẑżžẓẕƶȥɀⱬꝣ"}],_f=new RegExp("["+Uf.map(function(e){return e.letters}).join("")+"]","g"),$f={},Qf=0;Qf<Uf.length;Qf++)for(var Kf=Uf[Qf],qf=0;qf<Kf.letters.length;qf++)$f[Kf.letters[qf]]=Kf.base;var eg=function(e){return e.replace(_f,function(e){return $f[e]})},tg=function(e,t){void 0===t&&(t=zf);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(eg),ng=function(e){return e.replace(/^\s+|\s+$/g,"")},rg=function(e){return"".concat(e.label," ").concat(e.value)},ig=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=dp({ignoreCase:!0,ignoreAccents:!0,stringify:rg,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?ng(n):n,u=s?ng(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=tg(c),u=eg(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},og=["innerRef"];function ag(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=mp(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=mp(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(fp(e,og),"onExited","in","enter","exit","appear");return fm("input",bp({ref:t},n,{css:gm({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZX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8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var sg=["boxSizing","height","overflow","paddingRight","position"],lg={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function cg(e){e.cancelable&&e.preventDefault()}function ug(e){e.stopPropagation()}function dg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function pg(){return"ontouchstart"in window||navigator.maxTouchPoints}var hg=!("undefined"==typeof window||!window.document||!window.document.createElement),mg=0,fg={capture:!1,passive:!1};var gg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},bg="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3R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cDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 vg(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,a=u(!1),s=u(!1),l=u(0),c=u(null),d=h(function(e,t){if(null!==c.current){var l=c.current,u=l.scrollTop,d=l.scrollHeight,p=l.clientHeight,h=c.current,m=t>0,f=d-p-u,g=!1;f>t&&a.current&&(r&&r(e),a.current=!1),m&&s.current&&(o&&o(e),s.current=!1),m&&t>f?(n&&!a.current&&n(e),h.scrollTop=d,g=!0,a.current=!0):!m&&-t>u&&(i&&!s.current&&i(e),h.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),m=h(function(e){d(e,e.deltaY)},[d]),f=h(function(e){l.current=e.changedTouches[0].clientY},[]),g=h(function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)},[d]),b=h(function(e){if(e){var t=!!nf&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",g,t)}},[g,f,m]),v=h(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",g,!1))},[g,f,m]);return p(function(){if(t){var e=c.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=u({}),o=u(null),a=h(function(e){if(hg){var t=document.body,n=t&&t.style;if(r&&sg.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&mg<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(lg).forEach(function(e){var t=lg[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&pg()&&(t.addEventListener("touchmove",cg,fg),e&&(e.addEventListener("touchstart",dg,fg),e.addEventListener("touchmove",ug,fg))),mg+=1}},[r]),s=h(function(e){if(hg){var t=document.body,n=t&&t.style;mg=Math.max(mg-1,0),r&&mg<1&&sg.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&pg()&&(t.removeEventListener("touchmove",cg,fg),e&&(e.removeEventListener("touchstart",dg,fg),e.removeEventListener("touchmove",ug,fg)))}},[r]);return p(function(){if(t){var e=o.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){o.current=e}}({isEnabled:n});return fm(x,null,n&&fm("div",{onClick:gg,css:bg}),t(function(e){i(e),o(e)}))}var yg="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)."}},xg=function(e){var t=e.name,n=e.onFocus;return fm("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:yg,value:"",onChange:function(){}})};function Ig(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 Cg(){return Ig(/^Mac/i)}function wg(){return Ig(/^iPhone/i)||Ig(/^iPad/i)||Cg()&&navigator.maxTouchPoints>1}var Ag={clearIndicator:kf,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return dp({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Ef,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return dp({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return dp({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return dp(dp({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Lf),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return dp({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:gf,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return dp((cp(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),cp(n,"position","absolute"),cp(n,"width","100%"),cp(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return dp({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return dp({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return dp({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return dp({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:ff,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return dp({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return dp({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return dp({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return dp({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ng={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:Km(),captureMenuScroll:!Km(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:ig(),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 kg(e,t,n,r){return{type:"option",data:t,isDisabled:Lg(e,t,n),isSelected:Mg(e,t,n),label:Rg(e,t),value:Vg(e,t),index:r}}function Tg(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return kg(e,n,t,r)}).filter(function(t){return Bg(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=kg(e,n,t,r);return Bg(e,o)?o:void 0}).filter(rf)}function Gg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,wp(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Pg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,wp(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 Bg(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!Og(e)||!o)&&Dg(e,{label:a,value:s,data:i},r)}var Sg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Rg=function(e,t){return e.getOptionLabel(t)},Vg=function(e,t){return e.getOptionValue(t)};function Lg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Mg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Vg(e,t);return n.some(function(t){return Vg(e,t)===r})}function Dg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Og=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Xg=1,Wg=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&&yp(e,t)}(t,C);var e=function(e){var t=Ip();return function(){var n,r=xp(e);if(t){var i=xp(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Cp(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(wp(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=of(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(of(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=of(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Sg(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Pg(Tg(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return zm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Rg(r.props,e)},r.getOptionValue=function(e){return Vg(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Ag[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,dp(dp({},Wf),e.components);var e},r.buildCategorizedOptions=function(){return Tg(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Gg(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:dp({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Jm(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return Og(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Xg),r.state.selectValue=Zm(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Sg(i,o[a])}return r}return function(e,t,n){t&&vp(e.prototype,t),n&&vp(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&&Qm(this.menuListRef,this.focusedOptionRef),(Cg()||wg())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Qm(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ng):dp(dp({},Ng),this.props.theme):Ng}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Lg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Mg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Dg(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=dp(dp(dp({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,bp({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,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},g)):r.createElement(ag,bp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Fm,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,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(l,bp({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,bp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=b[0];return r.createElement(s,bp({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,bp({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,bp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,bp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,bp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,k=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!x)return null;var G,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,bp({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())G=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,bp({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;G=r.createElement(l,d,B)}else{var S=E({inputValue:f});if(null===S)return null;G=r.createElement(c,d,S)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},V=r.createElement(pf,bp({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,bp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(vg,{captureEnabled:m,onTopArrive:k,onBottomArrive:T,lockEnabled:A},function(t){return r.createElement(a,bp({},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}),G)}))});return w||"fixed"===C?r.createElement(s,bp({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(xg,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(Jf,bp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,bp({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,bp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,bp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,bp({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=Zm(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Gg(Tg(e,t))}(e,m):[],b=d?Pg(Tg(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:Sg(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=o,C=a&&s;return a&&!C&&(I={value:of(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),dp(dp(dp({},f),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Wg.defaultProps=Eg;var Fg=s(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,c=e.onChange,u=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,f=e.value,g=fp(e,gp),b=mp(d(void 0!==s?s:n),2),v=b[0],y=b[1],x=mp(d(void 0!==l?l:i),2),I=x[0],C=x[1],w=mp(d(void 0!==f?f:a),2),A=w[0],N=w[1],E=h(function(e,t){"function"==typeof c&&c(e,t),N(e)},[c]),k=h(function(e,t){var n;"function"==typeof u&&(n=u(e,t)),y(void 0!==n?n:e)},[u]),T=h(function(){"function"==typeof m&&m(),C(!0)},[m]),G=h(function(){"function"==typeof p&&p(),C(!1)},[p]),P=void 0!==s?s:v,B=void 0!==l?l:I,S=void 0!==f?f:A;return dp(dp({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:k,onMenuClose:G,onMenuOpen:T,value:S})}(e);return r.createElement(Wg,bp({ref:t},n))}),Hg=Fg;const zg=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=l(()=>ig(d),[d]),A=l(()=>({control:({isFocused:e})=>Ze("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ze(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ze("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ze("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,p,v]);return"unstyled"===y?e(Hg,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ze("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(Hg,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}),h&&e($t,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e($t,{className:"footnote mt-1 text-text-info",children:f})]})});function Zg({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:a,categoryOptions:s}){const l=T(),c=G(),u=P();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($t,{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($t,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e($t,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t($t,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(zg,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(dn,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e($t,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(ap,{currentPage:i,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}zg.displayName="Select";const jg=n=>{const{links:r=[],textColor:i="dark",maxWidth:o=!0}=n,a="dark"===i?"text-white xl:text-text":"text-text xl:text-white";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(o?"mx-5 max-w-120 xl:mx-auto":"mx-auto")+" relative",children:e("ol",{className:"relative right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 xl:absolute xl:mx-auto xl:flex-wrap xl:px-3",children:r.map((n,i)=>{const{image:o,...s}=n,l=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",c=i===r.length-1;return t("li",c?{className:"flex min-w-0 items-center",children:[l&&e(vn,{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2"}),e($t,{as:"span",className:`body3 mr-2 break-words ${a}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[l&&e(vn,{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2"}),e(mn,{...s,linkClassName:`label3 mr-2 whitespace-nowrap ${a}`,linkVariant:"unstyled"}),e(_t,{name:"chevron_right",className:`${a} `})]},i)})})}):null},Yg=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:p,color:h,onSubmit:m}=n,[f,g]=d("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e($t,{as:a?"h1":"h2",className:Ze("heading2 md:heading1"),children:i}),o&&e($t,{as:"div",className:Ze("subheading2 mt-2 md:subheading1"),children:o})]}),s?e($t,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(an,{type:"submit",className:"ml-2 inline-flex",children:e(_t,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Fn,{value:f,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"})})]})}),u||null,c]})})})},Jg={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"}},Ug=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Jg[null==i?void 0:i.toLowerCase()]||Jg.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:Ze(`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($t,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:r}),d]})};function _g(r){var i,o,a;const[s,l]=d(0),[c,u]=d(""),{title:h,subTitle:m,tabs:f,tabsContent:g,navigationType:b=!0,mobileSidebarTabType:v=!0}=r;p(()=>{if("undefined"!=typeof window){u(window.location.hash);const e=()=>{u(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),p(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===c)return l(t),!0})},[f,c]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&c&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(i=null==f?void 0:f.items)||void 0===i?void 0:i.map((t,n)=>e(mn,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("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($c,{children:e(zc.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==f?void 0:f.items)||void 0===o?void 0:o.map((n,r)=>t("div",{className:"py-5",children:[t(mn,{showButtonAs:"unstyled",onClick:()=>y(r,null==n?void 0:n.anchorId),buttonClassName:Ze("w-full flex justify-between items-center px-4 py-5",r===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(_t,{name:r===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(sn,{open:r===s,children:e("div",{className:Ze("px-4 py-4"),children:null==g?void 0:g[r]})})]},r))}),C=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==f?void 0:f.items)||void 0===a?void 0:a.map((t,n)=>e(mn,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("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($c,{children:e(zc.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:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e($t,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e($t,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}const $g=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u="yellow"===r||!r?"text-text-primary":"text-white";return e("section",{id:c,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[r]:"bg-bg-fill-brand-accent"} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(w,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e(_t,{name:i,size:24,fill:1,className:`${u} align-text-bottom`}),a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function Qg({content:n}){let r=3;const[i,o]=d(!1),[a,s]=d(!1),l=u(null);p(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=It.get(e);return t?yt(t):null}("cookieBannerClosed");o("true"!==e)},[]),p(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),p(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),p(()=>{if(!i)return;const e=()=>{if(l.current){const e=l.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,a]);a&&(r=14);return i?t("div",{id:"cookie-banner",ref:l,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*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(mn,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=vt(r);It.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(_t,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const Kg=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:p,onSubmit:h}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},f=m[u]||m.green,g=["green","blue","navy"].includes(u)?"text-white":"text-text",[b,v]=d(""),[y,x]=d(!1),[I,C]=d("");return t("section",{id:r,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] ${f} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[i&&e("h1",{className:`text-heading1 font-black ${g}`,children:i}),o&&e("h2",{className:`text-heading1 font-black ${g}`,children:o}),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),I&&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(mn,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(h({email:b}),v(""),x(!0),C("")):C("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 ${g}`,children:p})]})}),c&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},qg=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:a,onBannerShown:s})=>{var l,c;const{anchorId:u,mainHeading:h,description:m,cta:f}=n,[g,b]=d(!1);p(()=>{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==o||o()};return r?t("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e($t,{className:"heading5 lg:heading3 text-center",children:h||"Welcome back. Let’s finish your order"}),m&&en(At(null==m?void 0:m.json),!1,"body1 my-4"),e(mn,{onClick:v,buttonLabel:null!==(l=null==f?void 0:f.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:u,"data-testid":"cart-retention-banner",children:e(tp,{size:"sm",isOpen:g,onRequestClose:()=>{null==i||i(),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($t,{className:"heading5 lg:heading3 text-center",children:h||"Welcome back. Let's finish your order"}),m&&en(At(null==m?void 0:m.json),!1,"body1 my-4"),e(mn,{onClick:v,buttonLabel:null!==(c=null==f?void 0:f.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})};export{un as Accordion,Ug as AddressInputBanner,$g as AnchoredBottomBanner,dn as BlogCard,Zg as BlogGrid,jg as BreadcrumbNavigation,mn as Button,xn as Callout,In as Cards,Pn as Carousel,qg as CartRetentionBanner,op as ComparisonTable,Qg as CookieBanner,rp as CtaCallout,_g as DynamicTabs,Kg as EmailInputBlock,ip as FindKinetic,Bn as FloatingBanner,Sn as Footer,Mn as ImagePromoBar,tp as Modal,Hn as Navigation,Yn as PrimaryHero,An as ProductCard,Yg as SearchBlock,np as ShapeBackgroundWrapper,yn as SimpleCard,Nn as TestimonialCard,Jn as Text,rn as label1BoldOptions,en as renderContentfulRichText,nn as renderContentfulRichTextTable,At as toDocument,tn as useContentfulRichText,on as useProcessedChecklist};
|
|
13
|
+
*/function Xh(){return Lh||(Lh=1,"production"===process.env.NODE_ENV?Sh.exports=function(){if(Th)return Rh;Th=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case m:case h:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Rh.AsyncMode=l,Rh.ConcurrentMode=c,Rh.ContextConsumer=s,Rh.ContextProvider=a,Rh.Element=t,Rh.ForwardRef=u,Rh.Fragment=r,Rh.Lazy=m,Rh.Memo=h,Rh.Portal=n,Rh.Profiler=o,Rh.StrictMode=i,Rh.Suspense=d,Rh.isAsyncMode=function(e){return x(e)||y(e)===l},Rh.isConcurrentMode=x,Rh.isContextConsumer=function(e){return y(e)===s},Rh.isContextProvider=function(e){return y(e)===a},Rh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Rh.isForwardRef=function(e){return y(e)===u},Rh.isFragment=function(e){return y(e)===r},Rh.isLazy=function(e){return y(e)===m},Rh.isMemo=function(e){return y(e)===h},Rh.isPortal=function(e){return y(e)===n},Rh.isProfiler=function(e){return y(e)===o},Rh.isStrictMode=function(e){return y(e)===i},Rh.isSuspense=function(e){return y(e)===d},Rh.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Rh.typeOf=y,Rh}():Sh.exports=(Vh||(Vh=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,f=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 f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case m:case h:case a:return g;default:return p}}case n:return p}}}var x=l,I=c,C=s,w=a,A=t,N=u,E=r,k=m,T=h,G=n,P=o,B=i,S=d,R=!1;function V(e){return y(e)===c}Oh.AsyncMode=x,Oh.ConcurrentMode=I,Oh.ContextConsumer=C,Oh.ContextProvider=w,Oh.Element=A,Oh.ForwardRef=N,Oh.Fragment=E,Oh.Lazy=k,Oh.Memo=T,Oh.Portal=G,Oh.Profiler=P,Oh.StrictMode=B,Oh.Suspense=S,Oh.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.")),V(e)||y(e)===l},Oh.isConcurrentMode=V,Oh.isContextConsumer=function(e){return y(e)===s},Oh.isContextProvider=function(e){return y(e)===a},Oh.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Oh.isForwardRef=function(e){return y(e)===u},Oh.isFragment=function(e){return y(e)===r},Oh.isLazy=function(e){return y(e)===m},Oh.isMemo=function(e){return y(e)===h},Oh.isPortal=function(e){return y(e)===n},Oh.isProfiler=function(e){return y(e)===o},Oh.isStrictMode=function(e){return y(e)===i},Oh.isSuspense=function(e){return y(e)===d},Oh.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===h||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Oh.typeOf=y}()),Oh)),Sh.exports}!function(){if(Dh)return Mh;Dh=1;var e=Xh(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Mh=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var h=s(r);l&&(h=h.concat(l(r)));for(var m=o(t),f=o(r),g=0;g<h.length;++g){var b=h[g];if(!(n[b]||i&&i[b]||f&&f[b]||m&&m[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Wh="undefined"!=typeof document;var Fh=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Wh&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var Hh={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},zh=/[A-Z]|^ms/g,Zh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,jh=function(e){return 45===e.charCodeAt(1)},Yh=function(e){return null!=e&&"boolean"!=typeof e},Jh=vh(function(e){return jh(e)?e:e.replace(zh,"-$&").toLowerCase()}),Uh=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Zh,function(e,t,n){return $h={name:t,styles:n,next:$h},t})}return 1===Hh[e]||jh(e)||"number"!=typeof t||0===t?t:t+"px"};function _h(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return $h={name:i.name,styles:i.styles,next:$h},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)$h={name:a.name,styles:a.styles,next:$h},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=_h(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;Yh(s)&&(r+=Jh(o)+":"+Uh(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)Yh(a[l])&&(r+=Jh(o)+":"+Uh(o,a[l])+";");else{var c=_h(e,t,a);switch(o){case"animation":case"animationName":r+=Jh(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=$h,l=n(e);return $h=s,_h(e,t,l)}}return n}var $h,Qh=/label:\s*([^\s;{]+)\s*(;|$)/g;function Kh(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";$h=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=_h(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=_h(n,t,e[a]),r)i+=o[a]}Qh.lastIndex=0;for(var s,l="";null!==(s=Qh.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:$h}}var qh="undefined"!=typeof document,em=function(e){return e()},tm=!!r.useInsertionEffect&&r.useInsertionEffect,nm=qh&&tm||em,rm="undefined"!=typeof document,im=r.createContext("undefined"!=typeof HTMLElement?Bh({key:"css"}):null);im.Provider;var om=function(e){return s(function(t,n){var r=g(im);return e(t,r,n)})};rm||(om=function(e){return function(t){var n=g(im);return null===n?(n=Bh({key:"css"}),r.createElement(im.Provider,{value:n},e(t,n))):e(t,n)}});var am,sm,lm=r.createContext({}),cm={}.hasOwnProperty,um="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",dm=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Fh(t,n,i);var o=nm(function(){return function(e,t,n){Fh(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Wh||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Wh&&0!==i.length)return i}}(t,n,i)});if(!rm&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},pm=om(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[um],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Kh(a,void 0,r.useContext(lm));s+=t.key+"-"+l.name;var c={};for(var u in e)cm.call(e,u)&&"css"!==u&&u!==um&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(dm,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),hm=pm,mm=function(e,t){var n=arguments;if(null==t||!cm.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=hm,o[1]=function(e,t){var n={};for(var r in t)cm.call(t,r)&&(n[r]=t[r]);return n[um]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function fm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kh(t)}am=mm||(mm={}),sm||(sm=am.JSX||(am.JSX={}));const gm=Math.min,bm=Math.max,vm=Math.round,ym=Math.floor,xm=e=>({x:e,y:e});function Im(){return"undefined"!=typeof window}function Cm(e){return Nm(e)?(e.nodeName||"").toLowerCase():"#document"}function wm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Am(e){var t;return null==(t=(Nm(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Nm(e){return!!Im()&&(e instanceof Node||e instanceof wm(e).Node)}function Em(e){return!!Im()&&(e instanceof HTMLElement||e instanceof wm(e).HTMLElement)}function km(e){return!(!Im()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof wm(e).ShadowRoot)}function Tm(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Gm(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function Gm(e){return wm(e).getComputedStyle(e)}function Pm(e){const t=function(e){if("html"===Cm(e))return e;const t=e.assignedSlot||e.parentNode||km(e)&&e.host||Am(e);return km(t)?t.host:t}(e);return function(e){return/^(html|body|#document)$/.test(Cm(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Em(t)&&Tm(t)?t:Pm(t)}function Bm(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Pm(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=wm(i);if(o){const e=Sm(a);return t.concat(a,a.visualViewport||[],Tm(i)?i:[],e&&n?Bm(e):[])}return t.concat(i,Bm(i,[],n))}function Sm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Rm(e){return t=e,Im()&&(t instanceof Element||t instanceof wm(t).Element)?e:e.contextElement;var t}function Vm(e){const t=Rm(e);if(!Em(t))return xm(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Gm(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Em(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=vm(n)!==o||vm(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?vm(n.width):n.width)/r,s=(o?vm(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Lm(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Rm(e);let a=xm(1);t&&(a=Vm(e));const s=xm(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=wm(o),n=Sm(t);for(;n&&r&&e!==t;){const e=Vm(n),r=n.getBoundingClientRect(),i=Gm(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=wm(n),n=Sm(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Mm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Dm(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Rm(e),u=i||o?[...c?Bm(c):[],...t?Bm(t):[]]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Am(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:h}=c;if(s||t(),!p||!h)return;const m={rootMargin:-ym(d)+"px "+-ym(i.clientWidth-(u+p))+"px "+-ym(i.clientHeight-(d+h))+"px "+-ym(u)+"px",threshold:bm(0,gm(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Mm(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...m,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),o}(c,n):null;let p,h=-1,m=null;a&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&t&&(m.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),t&&m.observe(t));let f=l?Lm(e):null;return l&&function t(){const r=Lm(e);f&&!Mm(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(p)}}var Om="undefined"!=typeof document?f:function(){},Xm=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Wm=function(){};function Fm(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Hm(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Fm(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var zm=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===ap(e)&&null!==e?[e]:[];var t},Zm=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,up({},mp(e,Xm))},jm=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function Ym(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Jm(e){return Ym(e)?window.pageYOffset:e.scrollTop}function Um(e,t){Ym(e)?window.scrollTo(0,t):e.scrollTop=t}function _m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Wm,i=Jm(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;Um(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function $m(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Um(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Um(e,Math.max(t.offsetTop-i,0))}function Qm(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Km=!1,qm={get passive(){return Km=!0}},ef="undefined"!=typeof window?window:{};ef.addEventListener&&ef.removeEventListener&&(ef.addEventListener("p",Wm,qm),ef.removeEventListener("p",Wm,!1));var tf=Km;function nf(e){return null!=e}function rf(e,t,n){return e?t:n}var of=["children","innerProps"],af=["children","innerProps"];function sf(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),h=p.bottom,m=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Ym(u=l)?window.innerHeight:u.clientHeight,v=Jm(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=g-x,C=b-f,w=I+v,A=d-v-f,N=h-b+v+y,E=v+f-x,k=160;switch(i){case"auto":case"bottom":if(C>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!a)return o&&_m(l,N,k),{placement:"bottom",maxHeight:t};if(!a&&A>=r||a&&C>=r)return o&&_m(l,N,k),{placement:"bottom",maxHeight:a?C-y:A-y};if("auto"===i||a){var T=t,G=a?I:w;return G>=r&&(T=Math.min(G-y-s,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return o&&Um(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=m)return{placement:"top",maxHeight:t};if(w>=m&&!a)return o&&_m(l,E,k),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&I>=r){var P=t;return(!a&&w>=r||a&&I>=r)&&(P=a?I-x:w-x),o&&_m(l,E,k),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var lf,cf=function(e){return"auto"===e?"bottom":e},uf=m(null),df=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,l=(g(uf)||{}).setPortalPlacement,c=u(null),p=hp(d(r),2),h=p[0],m=p[1],f=hp(d(null),2),b=f[0],v=f[1],y=s.spacing.controlHeight;return Om(function(){var e=c.current;if(e){var t="fixed"===o,s=sf({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});m(s.maxHeight),v(s.placement),null==l||l(s.placement)}},[r,i,o,a,n,l,y]),t({ref:c,placerProps:up(up({},e),{},{placement:b||cf(i),maxHeight:h})})},pf=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return mm("div",gp({},jm(e,"menu",{menu:!0}),{ref:n},r),t)},hf=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return up({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},mf=hf,ff=hf,gf=["size"],bf=["innerProps","isRtl","size"];var vf,yf,xf="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+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIG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gSXNNdWx0aSwgR3JvdXA+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)."}},If=function(e){var t=e.size,n=mp(e,gf);return mm("svg",gp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:xf},n))},Cf=function(e){return mm(If,gp({size:20},e),mm("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"}))},wf=function(e){return mm(If,gp({size:20},e),mm("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"}))},Af=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return up({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Nf=Af,Ef=Af,kf=function(){var e=fm.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(lf||(vf=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],yf||(yf=vf.slice(0)),lf=Object.freeze(Object.defineProperties(vf,{raw:{value:Object.freeze(yf)}})))),Tf=function(e){var t=e.delay,n=e.offset;return mm("span",{css:fm({animation:"".concat(kf," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lc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4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Gf=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return mm("div",gp({ref:i},jm(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Pf=["data"],Bf=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return mm("div",gp({},jm(e,"group",{group:!0}),s),mm(o,gp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),mm("div",null,t))},Sf=["innerRef","isDisabled","isHidden","inputClassName"],Rf={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Vf={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":up({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Rf)},Lf=function(e){return up({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Rf)},Mf=function(e){var t=e.cx,n=e.value,r=Zm(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=mp(r,Sf);return mm("div",gp({},jm(e,"input",{"input-container":!0}),{"data-value":n||""}),mm("input",gp({className:t({input:!0},s),ref:i,style:Lf(a),disabled:o},l)))},Df=function(e){var t=e.children,n=e.innerProps;return mm("div",n,t)};var Of=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return mm(l,{data:r,innerProps:up(up({},jm(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},mm(c,{data:r,innerProps:up({},jm(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),mm(u,{data:r,innerProps:up(up({},jm(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Xf={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return mm("div",gp({},jm(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||mm(Cf,null))},Control:Gf,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return mm("div",gp({},jm(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||mm(wf,null))},DownChevron:wf,CrossIcon:Cf,Group:Bf,GroupHeading:function(e){var t=Zm(e);t.data;var n=mp(t,Pf);return mm("div",gp({},jm(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return mm("div",gp({},jm(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return mm("span",gp({},t,jm(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Mf,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=mp(e,bf);return mm("div",gp({},jm(up(up({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),mm(Tf,{delay:0,offset:n}),mm(Tf,{delay:160,offset:!0}),mm(Tf,{delay:320,offset:!n}))},Menu:pf,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return mm("div",gp({},jm(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,s=u(null),c=u(null),p=hp(d(cf(o)),2),m=p[0],f=p[1],g=l(function(){return{setPortalPlacement:f}},[]),b=hp(d(null),2),v=b[0],y=b[1],x=h(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[m]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[r,a,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Om(function(){x()},[x]);var I=h(function(){"function"==typeof c.current&&(c.current(),c.current=null),r&&s.current&&(c.current=Dm(r,s.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Om(function(){I()},[I]);var C=h(function(e){s.current=e,I()},[I]);if(!t&&"fixed"!==a||!v)return null;var w=mm("div",gp({ref:C},jm(up(up({},e),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return mm(uf.Provider,{value:g},t?k(w,t):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=mp(e,af);return mm("div",gp({},jm(up(up({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=mp(e,of);return mm("div",gp({},jm(up(up({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Of,MultiValueContainer:Df,MultiValueLabel:Df,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return mm("div",gp({role:"button"},n),t||mm(Cf,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return mm("div",gp({},jm(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return mm("div",gp({},jm(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return mm("div",gp({},jm(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return mm("div",gp({},jm(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return mm("div",gp({},jm(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Wf=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Ff(e,t){return e===t||!(!Wf(e)||!Wf(t))}function Hf(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Ff(e[n],t[n]))return!1;return!0}for(var zf="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)."}},Zf=function(e){return mm("span",gp({css:zf},e))},jf={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Yf=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,h=s.inputValue,m=s.isMulti,f=s.isOptionDisabled,g=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,I=s.tabSelectsValue,C=s.isLoading,w=s["aria-label"],A=s["aria-live"],N=l(function(){return up(up({},jf),d||{})},[d]),E=l(function(){var e,n="";if(t&&N.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,h=d?d.map(p):[],m=up({isDisabled:c&&f(c,a),label:u,labels:h},t);n=N.onChange(m)}return n},[t,N,f,a,p]),k=l(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[n,r,p,f,N,i,a,u]),T=l(function(){var e="";if(b&&v.length&&!C&&N.onFilter){var t=y({count:i.length});e=N.onFilter({inputValue:h,resultsMessage:t})}return e},[i,h,b,N,v,y,C]),G="initial-input-focus"===(null==t?void 0:t.action),P=l(function(){var e="";if(N.guidance){var t=r?"value":b?"menu":"input";e=N.guidance({"aria-label":w,context:t,isDisabled:n&&f(n,a),isMulti:m,isSearchable:g,tabSelectsValue:I,isInitialFocus:G})}return e},[w,n,r,m,f,g,b,N,a,I,G]),B=mm(x,null,mm("span",{id:"aria-selection"},E),mm("span",{id:"aria-focused"},k),mm("span",{id:"aria-results"},T),mm("span",{id:"aria-guidance"},P));return mm(x,null,mm(Zf,{id:c},G&&B),mm(Zf,{"aria-live":A,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!G&&B))},Jf=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Uf=new RegExp("["+Jf.map(function(e){return e.letters}).join("")+"]","g"),_f={},$f=0;$f<Jf.length;$f++)for(var Qf=Jf[$f],Kf=0;Kf<Qf.letters.length;Kf++)_f[Qf.letters[Kf]]=Qf.base;var qf=function(e){return e.replace(Uf,function(e){return _f[e]})},eg=function(e,t){void 0===t&&(t=Hf);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(qf),tg=function(e){return e.replace(/^\s+|\s+$/g,"")},ng=function(e){return"".concat(e.label," ").concat(e.value)},rg=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=up({ignoreCase:!0,ignoreAccents:!0,stringify:ng,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?tg(n):n,u=s?tg(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=eg(c),u=qf(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},ig=["innerRef"];function og(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=hp(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=hp(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(mp(e,ig),"onExited","in","enter","exit","appear");return mm("input",gp({ref:t},n,{css:fm({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=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GhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var ag=["boxSizing","height","overflow","paddingRight","position"],sg={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function lg(e){e.cancelable&&e.preventDefault()}function cg(e){e.stopPropagation()}function ug(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function dg(){return"ontouchstart"in window||navigator.maxTouchPoints}var pg=!("undefined"==typeof window||!window.document||!window.document.createElement),hg=0,mg={capture:!1,passive:!1};var fg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},gg="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+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG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ChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 bg(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,a=u(!1),s=u(!1),l=u(0),c=u(null),d=h(function(e,t){if(null!==c.current){var l=c.current,u=l.scrollTop,d=l.scrollHeight,p=l.clientHeight,h=c.current,m=t>0,f=d-p-u,g=!1;f>t&&a.current&&(r&&r(e),a.current=!1),m&&s.current&&(o&&o(e),s.current=!1),m&&t>f?(n&&!a.current&&n(e),h.scrollTop=d,g=!0,a.current=!0):!m&&-t>u&&(i&&!s.current&&i(e),h.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),m=h(function(e){d(e,e.deltaY)},[d]),f=h(function(e){l.current=e.changedTouches[0].clientY},[]),g=h(function(e){var t=l.current-e.changedTouches[0].clientY;d(e,t)},[d]),b=h(function(e){if(e){var t=!!tf&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",f,t),e.addEventListener("touchmove",g,t)}},[g,f,m]),v=h(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",f,!1),e.removeEventListener("touchmove",g,!1))},[g,f,m]);return p(function(){if(t){var e=c.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=u({}),o=u(null),a=h(function(e){if(pg){var t=document.body,n=t&&t.style;if(r&&ag.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&hg<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(sg).forEach(function(e){var t=sg[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&dg()&&(t.addEventListener("touchmove",lg,mg),e&&(e.addEventListener("touchstart",ug,mg),e.addEventListener("touchmove",cg,mg))),hg+=1}},[r]),s=h(function(e){if(pg){var t=document.body,n=t&&t.style;hg=Math.max(hg-1,0),r&&hg<1&&ag.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&dg()&&(t.removeEventListener("touchmove",lg,mg),e&&(e.removeEventListener("touchstart",ug,mg),e.removeEventListener("touchmove",cg,mg)))}},[r]);return p(function(){if(t){var e=o.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){o.current=e}}({isEnabled:n});return mm(x,null,n&&mm("div",{onClick:fg,css:gg}),t(function(e){i(e),o(e)}))}var vg="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)."}},yg=function(e){var t=e.name,n=e.onFocus;return mm("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:vg,value:"",onChange:function(){}})};function xg(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 Ig(){return xg(/^Mac/i)}function Cg(){return xg(/^iPhone/i)||xg(/^iPad/i)||Ig()&&navigator.maxTouchPoints>1}var wg={clearIndicator:Ef,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return up({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Nf,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return up({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return up({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return up(up({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Vf),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return up({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:ff,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return up((lp(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),lp(n,"position","absolute"),lp(n,"width","100%"),lp(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return up({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return up({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return up({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return up({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:mf,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return up({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return up({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return up({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return up({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ag={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}},Ng={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qm(),captureMenuScroll:!Qm(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:rg(),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 Eg(e,t,n,r){return{type:"option",data:t,isDisabled:Vg(e,t,n),isSelected:Lg(e,t,n),label:Sg(e,t),value:Rg(e,t),index:r}}function kg(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Eg(e,n,t,r)}).filter(function(t){return Pg(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Eg(e,n,t,r);return Pg(e,o)?o:void 0}).filter(nf)}function Tg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Cp(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function Gg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Cp(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 Pg(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!Dg(e)||!o)&&Mg(e,{label:a,value:s,data:i},r)}var Bg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Sg=function(e,t){return e.getOptionLabel(t)},Rg=function(e,t){return e.getOptionValue(t)};function Vg(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Lg(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Rg(e,t);return n.some(function(t){return Rg(e,t)===r})}function Mg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Dg=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Og=1,Xg=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&&vp(e,t)}(t,C);var e=function(e){var t=xp();return function(){var n,r=yp(e);if(t){var i=yp(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ip(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Cp(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=rf(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(rf(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=rf(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Bg(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return Gg(kg(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Hm.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Sg(r.props,e)},r.getOptionValue=function(e){return Rg(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=wg[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,up(up({},Xf),e.components);var e},r.buildCategorizedOptions=function(){return kg(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Tg(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:up({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Ym(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return Dg(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,h=r.state,m=h.focusedOption,f=h.focusedValue,g=h.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Og),r.state.selectValue=zm(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Bg(i,o[a])}return r}return function(e,t,n){t&&bp(e.prototype,t),n&&bp(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&&$m(this.menuListRef,this.focusedOptionRef),(Ig()||Cg())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&($m(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ag):up(up({},Ag),this.props.theme):Ag}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Vg(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Lg(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Mg(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,h=d.ariaSelection,m=this.commonProps,f=i||this.getElementId("input"),g=up(up(up({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==h?void 0:h.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,gp({},m,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,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},g)):r.createElement(og,gp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Wm,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,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return m?null:r.createElement(l,gp({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(h)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,gp({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(m)return null;var x=b[0];return r.createElement(s,gp({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,gp({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,gp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,gp({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,gp({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,h=this.props,m=h.captureMenuScroll,f=h.inputValue,g=h.isLoading,b=h.loadingMessage,v=h.minMenuHeight,y=h.maxMenuHeight,x=h.menuIsOpen,I=h.menuPlacement,C=h.menuPosition,w=h.menuPortalTarget,A=h.menuShouldBlockScroll,N=h.menuShouldScrollIntoView,E=h.noOptionsMessage,k=h.onMenuScrollToTop,T=h.onMenuScrollToBottom;if(!x)return null;var G,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,h=p===o,m=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,gp({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:h,innerRef:h?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())G=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,gp({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;G=r.createElement(l,d,B)}else{var S=E({inputValue:f});if(null===S)return null;G=r.createElement(c,d,S)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},V=r.createElement(df,gp({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,gp({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(bg,{captureEnabled:m,onTopArrive:k,onBottomArrive:T,lockEnabled:A},function(t){return r.createElement(a,gp({},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}),G)}))});return w||"fixed"===C?r.createElement(s,gp({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),V):V}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(yg,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(Yf,gp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,gp({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,gp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,gp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,gp({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,h=e.isMulti,m=zm(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Tg(kg(e,t))}(e,m):[],b=d?Gg(kg(e,m),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:m,focusedOption:y,focusedOptionId:Bg(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},I=o,C=a&&s;return a&&!C&&(I={value:rf(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(I=null),up(up(up({},f),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),t}();Xg.defaultProps=Ng;var Wg=s(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,c=e.onChange,u=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,f=e.value,g=mp(e,fp),b=hp(d(void 0!==s?s:n),2),v=b[0],y=b[1],x=hp(d(void 0!==l?l:i),2),I=x[0],C=x[1],w=hp(d(void 0!==f?f:a),2),A=w[0],N=w[1],E=h(function(e,t){"function"==typeof c&&c(e,t),N(e)},[c]),k=h(function(e,t){var n;"function"==typeof u&&(n=u(e,t)),y(void 0!==n?n:e)},[u]),T=h(function(){"function"==typeof m&&m(),C(!0)},[m]),G=h(function(){"function"==typeof p&&p(),C(!1)},[p]),P=void 0!==s?s:v,B=void 0!==l?l:I,S=void 0!==f?f:A;return up(up({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:k,onMenuClose:G,onMenuOpen:T,value:S})}(e);return r.createElement(Xg,gp({ref:t},n))}),Fg=Wg;const Hg=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:c,onChange:u,filterOptions:d,hasError:p,error:h,menuClassName:m,helperText:f,label:g,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...C})=>{const w=l(()=>rg(d),[d]),A=l(()=>({control:({isFocused:e})=>Ze("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>Ze(a?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>Ze("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ze("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,p,v]);return"unstyled"===y?e(Fg,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}):t("div",{className:"w-full",children:[g&&e("label",{className:Ze("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(Fg,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:w,className:Ze("rounded-xl",r),classNames:A,"data-cy":x,"data-testid":I,...C}),h&&e($t,{className:"footnote mt-1 text-text-critical",children:h}),!h&&f&&e($t,{className:"footnote mt-1 text-text-info",children:f})]})});function zg({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:a,categoryOptions:s}){const l=T(),c=G(),u=P();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($t,{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($t,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e($t,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t($t,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Hg,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(dn,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e($t,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(op,{currentPage:i,totalPages:o,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}Hg.displayName="Select";const Zg=n=>{const{links:r=[],textColor:i="dark",maxWidth:o=!0}=n,a="dark"===i?"text-white xl:text-text":"text-text xl:text-white";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(o?"mx-5 max-w-120 xl:mx-auto":"mx-auto")+" relative",children:e("ol",{className:"relative right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 xl:absolute xl:mx-auto xl:flex-wrap xl:px-3",children:r.map((n,i)=>{const{image:o,...s}=n,l=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",c=i===r.length-1;return t("li",c?{className:"flex min-w-0 items-center",children:[l&&e("img",{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2"}),e($t,{as:"span",className:`body3 mr-2 break-words ${a}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[l&&e("img",{src:l,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2"}),e(mn,{...s,linkClassName:`label3 mr-2 whitespace-nowrap ${a}`,linkVariant:"unstyled"}),e(_t,{name:"chevron_right",className:`${a} `})]},i)})})}):null},jg=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:p,color:h,onSubmit:m}=n,[f,g]=d("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==h?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e($t,{as:a?"h1":"h2",className:Ze("heading2 md:heading1"),children:i}),o&&e($t,{as:"div",className:Ze("subheading2 mt-2 md:subheading1"),children:o})]}),s?e($t,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(an,{type:"submit",className:"ml-2 inline-flex",children:e(_t,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(Wn,{value:f,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"})})]})}),u||null,c]})})})},Yg={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"}},Jg=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Yg[null==i?void 0:i.toLowerCase()]||Yg.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:Ze(`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($t,{className:"label3 w-full text-center text-text lg:w-auto lg:text-left",children:r}),d]})};function Ug(r){var i,o,a;const[s,l]=d(0),[c,u]=d(""),{title:h,subTitle:m,tabs:f,tabsContent:g,navigationType:b=!0,mobileSidebarTabType:v=!0}=r;p(()=>{if("undefined"!=typeof window){u(window.location.hash);const e=()=>{u(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),p(()=>{var e;null===(e=null==f?void 0:f.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===c)return l(t),!0})},[f,c]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&c&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(i=null==f?void 0:f.items)||void 0===i?void 0:i.map((t,n)=>e(mn,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("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(_c,{children:e(Hc.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==f?void 0:f.items)||void 0===o?void 0:o.map((n,r)=>t("div",{className:"py-5",children:[t(mn,{showButtonAs:"unstyled",onClick:()=>y(r,null==n?void 0:n.anchorId),buttonClassName:Ze("w-full flex justify-between items-center px-4 py-5",r===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(_t,{name:r===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(sn,{open:r===s,children:e("div",{className:Ze("px-4 py-4"),children:null==g?void 0:g[r]})})]},r))}),C=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==f?void 0:f.items)||void 0===a?void 0:a.map((t,n)=>e(mn,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:Ze("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(_c,{children:e(Hc.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:[h||m?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[h?e($t,{className:"heading2 px-5 md:heading1 md:text-center",children:h}):null,m?e($t,{className:"subheading3 px-5 md:subheading1 md:text-center",children:m}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:C})]})}const _g=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u="yellow"===r||!r?"text-text-primary":"text-white";return e("section",{id:c,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[r]:"bg-bg-fill-brand-accent"} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(w,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e(_t,{name:i,size:24,fill:1,className:`${u} align-text-bottom`}),a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function $g({content:n}){let r=3;const[i,o]=d(!1),[a,s]=d(!1),l=u(null);p(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=It.get(e);return t?yt(t):null}("cookieBannerClosed");o("true"!==e)},[]),p(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),p(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),p(()=>{if(!i)return;const e=()=>{if(l.current){const e=l.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,a]);a&&(r=14);return i?t("div",{id:"cookie-banner",ref:l,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*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(mn,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=vt(r);It.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(_t,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const Qg=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:c,backgroundColor:u="green",successFeedback:p,onSubmit:h}=n||{},m={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},f=m[u]||m.green,g=["green","blue","navy"].includes(u)?"text-white":"text-text",[b,v]=d(""),[y,x]=d(!1),[I,C]=d("");return t("section",{id:r,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] ${f} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[i&&e("h1",{className:`text-heading1 font-black ${g}`,children:i}),o&&e("h2",{className:`text-heading1 font-black ${g}`,children:o}),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),I&&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(mn,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(h({email:b}),v(""),x(!0),C("")):C("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 ${g}`,children:p})]})}),c&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:c})]})},Kg=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:a,onBannerShown:s})=>{var l,c;const{anchorId:u,mainHeading:h,description:m,cta:f}=n,[g,b]=d(!1);p(()=>{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==o||o()};return r?t("div",{className:"mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e($t,{className:"heading5 lg:heading3 text-center",children:h||"Welcome back. Let’s finish your order"}),m&&en(At(null==m?void 0:m.json),!1,"body1 my-4"),e(mn,{onClick:v,buttonLabel:null!==(l=null==f?void 0:f.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:u,"data-testid":"cart-retention-banner",children:e(ep,{size:"sm",isOpen:g,onRequestClose:()=>{null==i||i(),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($t,{className:"heading5 lg:heading3 text-center",children:h||"Welcome back. Let's finish your order"}),m&&en(At(null==m?void 0:m.json),!1,"body1 my-4"),e(mn,{onClick:v,buttonLabel:null!==(c=null==f?void 0:f.buttonLabel)&&void 0!==c?c:"Continue checkout"})]})})})};export{un as Accordion,Jg as AddressInputBanner,_g as AnchoredBottomBanner,dn as BlogCard,zg as BlogGrid,Zg as BreadcrumbNavigation,mn as Button,yn as Callout,xn as Cards,Gn as Carousel,Kg as CartRetentionBanner,ip as ComparisonTable,$g as CookieBanner,np as CtaCallout,Ug as DynamicTabs,Qg as EmailInputBlock,rp as FindKinetic,Pn as FloatingBanner,Bn as Footer,Ln as ImagePromoBar,ep as Modal,Fn as Navigation,jn as PrimaryHero,wn as ProductCard,jg as SearchBlock,tp as ShapeBackgroundWrapper,vn as SimpleCard,An as TestimonialCard,Yn as Text,rn as label1BoldOptions,en as renderContentfulRichText,nn as renderContentfulRichTextTable,At as toDocument,tn as useContentfulRichText,on as useProcessedChecklist};
|
|
14
14
|
//# sourceMappingURL=index.esm.js.map
|