@windstream/react-shared-components 0.1.71 → 0.1.73

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.
Files changed (36) hide show
  1. package/dist/contentful/index.d.ts +104 -28
  2. package/dist/contentful/index.esm.js +2 -2
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +2 -2
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/core.d.ts +3 -3
  7. package/dist/index.d.ts +3 -3
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/next/index.esm.js.map +1 -1
  11. package/dist/next/index.js.map +1 -1
  12. package/dist/styles.css +1 -1
  13. package/dist/utils/index.d.ts +12 -1
  14. package/dist/utils/index.esm.js +1 -1
  15. package/dist/utils/index.esm.js.map +1 -1
  16. package/dist/utils/index.js +1 -1
  17. package/dist/utils/index.js.map +1 -1
  18. package/package.json +1 -1
  19. package/src/components/next-image/index.tsx +3 -1
  20. package/src/contentful/blocks/accordion/Accordion.stories.mocks.tsx +8 -8
  21. package/src/contentful/blocks/accordion/Accordion.stories.tsx +5 -13
  22. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +114 -3
  23. package/src/contentful/blocks/anchored-bottom-banner/types.ts +4 -1
  24. package/src/contentful/blocks/callout/index.tsx +201 -37
  25. package/src/contentful/blocks/callout/types.ts +56 -3
  26. package/src/contentful/blocks/cards/floating-image-card/index.tsx +119 -0
  27. package/src/contentful/blocks/cards/floating-image-card/types.ts +30 -0
  28. package/src/contentful/blocks/cards/full-image-card/index.tsx +130 -0
  29. package/src/contentful/blocks/cards/full-image-card/types.ts +29 -0
  30. package/src/contentful/blocks/cards/simple-card/index.tsx +294 -58
  31. package/src/contentful/blocks/cards/simple-card/types.ts +47 -4
  32. package/src/contentful/blocks/comparison-table/index.tsx +3 -1
  33. package/src/contentful/blocks/footer/Footer.stories.tsx +145 -32
  34. package/src/hooks/contentful/use-contentful-rich-text.tsx +5 -3
  35. package/src/utils/index.ts +3 -0
  36. package/src/utils/speed-card-bg.ts +24 -0
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
 
3
- import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as i from"react";import o,{forwardRef as r,useMemo as a,createElement as s,useRef as l,useState as c,useEffect as u,useCallback as d,createContext as p,useLayoutEffect as m,useContext as h,useInsertionEffect as g,useId as f,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as w}from"react";import{Base64 as C}from"js-base64";import N from"js-cookie";import{documentToReactComponents as A}from"@contentful/rich-text-react-renderer";import{INLINES as k,BLOCKS as G,MARKS as P}from"@contentful/rich-text-types";import*as V from"next/link";import B from"next/link";import T from"next/image";import S,{flushSync as E,createPortal as R}from"react-dom";import{useRouter as M,usePathname as L,useSearchParams as X}from"next/navigation";function W(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=W(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function O(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=W(e))&&(i&&(i+=" "),i+=t);return i}const F=e=>{const t=H(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),D(n,t)||z(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&i[e]?[...o,...i[e]]:o}}},D=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),o=i?D(e.slice(1),i):void 0;if(o)return o;if(0===t.validators.length)return;const r=e.join("-");return t.validators.find(({validator:e})=>e(r))?.classGroupId},Z=/^\[(.+)\]$/,z=e=>{if(Z.test(e)){const t=Z.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},H=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const e in n)j(n[e],i,e,t);return i},j=(e,t,n,i)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:Y(t,e)).classGroupId=n)}if("function"==typeof e)return J(e)?void j(e(i),t,n,i):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{j(o,Y(t,e),n,i)})})},Y=(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},J=e=>e.isThemeGetter,U=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const o=(o,r)=>{n.set(o,r),t++,t>e&&(t=0,i=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=i.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},$=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=e=>{const t=[];let n,i=0,o=0,r=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===i&&0===o){if(":"===s){t.push(e.slice(r,a)),r=a+1;continue}if("/"===s){n=a;continue}}"["===s?i++:"]"===s?i--:"("===s?o++:")"===s&&o--}const a=0===t.length?e:e.substring(r),s=Q(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>r?n-r:void 0}};if(t){const e=t+":",n=i;i=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=i;i=t=>n({className:t,parseClassName:e})}return i},Q=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,_=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let i=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...i.sort(),e),i=[]):i.push(e)}),n.push(...i.sort()),n}},K=/\s+/;function q(){let e,t,n=0,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=ee(e))&&(i&&(i+=" "),i+=t);return i}const ee=e=>{if("string"==typeof e)return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=ee(e[i]))&&(n&&(n+=" "),n+=t);return n};function te(e,...t){let n,i,o,r=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:U(e.cacheSize),parseClassName:$(e),sortModifiers:_(e),...F(e)}))(l),i=n.cache.get,o=n.cache.set,r=a,a(s)};function a(e){const t=i(e);if(t)return t;const r=((e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:r}=t,a=[],s=e.trim().split(K);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!m,g=i(h?p.substring(0,m):p);if(!g){if(!h){l=t+(l.length>0?" "+l:l);continue}if(g=i(p),!g){l=t+(l.length>0?" "+l:l);continue}h=!1}const f=r(u).join(":"),b=d?f+"!":f,v=b+g;if(a.includes(v))continue;a.push(v);const y=o(g,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,r),r}return function(){return r(q.apply(null,arguments))}}const ne=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},ie=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,re=/^\d+\/\d+$/,ae=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,se=/\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$/,le=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ce=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ue=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,de=e=>re.test(e),pe=e=>!!e&&!Number.isNaN(Number(e)),me=e=>!!e&&Number.isInteger(Number(e)),he=e=>e.endsWith("%")&&pe(e.slice(0,-1)),ge=e=>ae.test(e),fe=()=>!0,be=e=>se.test(e)&&!le.test(e),ve=()=>!1,ye=e=>ce.test(e),xe=e=>ue.test(e),Ie=e=>!Ce(e)&&!Ve(e),we=e=>Le(e,Fe,ve),Ce=e=>ie.test(e),Ne=e=>Le(e,De,be),Ae=e=>Le(e,Ze,pe),ke=e=>Le(e,We,ve),Ge=e=>Le(e,Oe,xe),Pe=e=>Le(e,He,ye),Ve=e=>oe.test(e),Be=e=>Xe(e,De),Te=e=>Xe(e,ze),Se=e=>Xe(e,We),Ee=e=>Xe(e,Fe),Re=e=>Xe(e,Oe),Me=e=>Xe(e,He,!0),Le=(e,t,n)=>{const i=ie.exec(e);return!!i&&(i[1]?t(i[1]):n(i[2]))},Xe=(e,t,n=!1)=>{const i=oe.exec(e);return!!i&&(i[1]?t(i[1]):n)},We=e=>"position"===e||"percentage"===e,Oe=e=>"image"===e||"url"===e,Fe=e=>"length"===e||"size"===e||"bg-size"===e,De=e=>"length"===e,Ze=e=>"number"===e,ze=e=>"family-name"===e,He=e=>"shadow"===e,je=()=>{const e=ne("color"),t=ne("font"),n=ne("text"),i=ne("font-weight"),o=ne("tracking"),r=ne("leading"),a=ne("breakpoint"),s=ne("container"),l=ne("spacing"),c=ne("radius"),u=ne("shadow"),d=ne("inset-shadow"),p=ne("text-shadow"),m=ne("drop-shadow"),h=ne("blur"),g=ne("perspective"),f=ne("aspect"),b=ne("ease"),v=ne("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Ve,Ce],x=()=>[Ve,Ce,l],I=()=>[de,"full","auto",...x()],w=()=>[me,"none","subgrid",Ve,Ce],C=()=>["auto",{span:["full",me,Ve,Ce]},me,Ve,Ce],N=()=>[me,"auto",Ve,Ce],A=()=>["auto","min","max","fr",Ve,Ce],k=()=>["auto",...x()],G=()=>[de,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Ve,Ce],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Se,ke,{position:[Ve,Ce]}],B=()=>["auto","cover","contain",Ee,we,{size:[Ve,Ce]}],T=()=>[he,Be,Ne],S=()=>["","none","full",c,Ve,Ce],E=()=>["",pe,Be,Ne],R=()=>[pe,he,Se,ke],M=()=>["","none",h,Ve,Ce],L=()=>["none",pe,Ve,Ce],X=()=>["none",pe,Ve,Ce],W=()=>[pe,Ve,Ce],O=()=>[de,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ge],breakpoint:[ge],color:[fe],container:[ge],"drop-shadow":[ge],ease:["in","out","in-out"],font:[Ie],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ge],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ge],shadow:[ge],spacing:["px",pe],text:[ge],"text-shadow":[ge],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",de,Ce,Ve,f]}],container:["container"],columns:[{columns:[pe,Ce,Ve,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:[me,"auto",Ve,Ce]}],basis:[{basis:[de,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[pe,de,"auto","initial","none",Ce]}],grow:[{grow:["",pe,Ve,Ce]}],shrink:[{shrink:["",pe,Ve,Ce]}],order:[{order:[me,"first","last","none",Ve,Ce]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[s,"screen",...G()]}],"min-w":[{"min-w":[s,"screen","none",...G()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,Be,Ne]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Ve,Ae]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",he,Ce]}],"font-family":[{font:[Te,Ce,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Ve,Ce]}],"line-clamp":[{"line-clamp":[pe,"none",Ve,Ae]}],leading:[{leading:[r,...x()]}],"list-image":[{"list-image":["none",Ve,Ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Ve,Ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[pe,"from-font","auto",Ve,Ne]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[pe,"auto",Ve,Ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Ve,Ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Ve,Ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},me,Ve,Ce],radial:["",Ve,Ce],conic:[me,Ve,Ce]},Re,Ge]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:E()}],"border-w-x":[{"border-x":E()}],"border-w-y":[{"border-y":E()}],"border-w-s":[{"border-s":E()}],"border-w-e":[{"border-e":E()}],"border-w-t":[{"border-t":E()}],"border-w-r":[{"border-r":E()}],"border-w-b":[{"border-b":E()}],"border-w-l":[{"border-l":E()}],"divide-x":[{"divide-x":E()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":E()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[pe,Ve,Ce]}],"outline-w":[{outline:["",pe,Be,Ne]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,Me,Pe]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,Me,Pe]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:E()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[pe,Ne]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":E()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,Me,Pe]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[pe,Ve,Ce]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[pe]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Ve,Ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[pe]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Ve,Ce]}],filter:[{filter:["","none",Ve,Ce]}],blur:[{blur:M()}],brightness:[{brightness:[pe,Ve,Ce]}],contrast:[{contrast:[pe,Ve,Ce]}],"drop-shadow":[{"drop-shadow":["","none",m,Me,Pe]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",pe,Ve,Ce]}],"hue-rotate":[{"hue-rotate":[pe,Ve,Ce]}],invert:[{invert:["",pe,Ve,Ce]}],saturate:[{saturate:[pe,Ve,Ce]}],sepia:[{sepia:["",pe,Ve,Ce]}],"backdrop-filter":[{"backdrop-filter":["","none",Ve,Ce]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[pe,Ve,Ce]}],"backdrop-contrast":[{"backdrop-contrast":[pe,Ve,Ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",pe,Ve,Ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[pe,Ve,Ce]}],"backdrop-invert":[{"backdrop-invert":["",pe,Ve,Ce]}],"backdrop-opacity":[{"backdrop-opacity":[pe,Ve,Ce]}],"backdrop-saturate":[{"backdrop-saturate":[pe,Ve,Ce]}],"backdrop-sepia":[{"backdrop-sepia":["",pe,Ve,Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Ve,Ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[pe,"initial",Ve,Ce]}],ease:[{ease:["linear","initial",b,Ve,Ce]}],delay:[{delay:[pe,Ve,Ce]}],animate:[{animate:["none",v,Ve,Ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Ve,Ce]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[Ve,Ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Ve,Ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Ve,Ce]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[pe,Be,Ne,Ae]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},Je=(e,t)=>{if(t)for(const n in t)Ye(e,n,t[n])},Ue=(e,t)=>{if(t)for(const n in t)$e(e,t,n)},$e=(e,t,n)=>{const i=t[n];void 0!==i&&(e[n]=e[n]?e[n].concat(i):i)},Qe=((e,...t)=>"function"==typeof e?te(je,e,...t):te(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:i,extend:o={},override:r={}})=>(Ye(e,"cacheSize",t),Ye(e,"prefix",n),Ye(e,"experimentalParseClassName",i),Je(e.theme,r.theme),Je(e.classGroups,r.classGroups),Je(e.conflictingClassGroups,r.conflictingClassGroups),Je(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Ye(e,"orderSensitiveModifiers",r.orderSensitiveModifiers),Ue(e.theme,o.theme),Ue(e.classGroups,o.classGroups),Ue(e.conflictingClassGroups,o.conflictingClassGroups),Ue(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),$e(e,o,"orderSensitiveModifiers"),e))(je(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),_e=(...e)=>Qe(O(...e));const Ke=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const qe=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,et=e=>{if(!e)return null;if(qe(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return qe(t)?t:null}return null},tt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},nt=r(({children:t,className:n="",variant:i="unstyled",style:o,...r},a)=>{const s=_e("unstyled"===i?"":"mb-1 leading-6","list-item",`list-item--${i}`,n);return e("li",{ref:a,className:s,style:o,...r,children:t})});nt.displayName="ListItem";const it=r(({type:t="ul",items:n,className:i="",renderItem:o,children:r,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=_e(u,`list--${t}`,`list--${a}`,i),p=r||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(nt,{className:t.className,variant:a,children:t.content},t.id||n)):null),m={className:d,style:s,...l,children:p};return e("ol"===t?"ol":"ul",{...m,ref:c})});it.displayName="List";const ot=({name:t,fill:n=0,opticalSize:i="48dp",weight:o="200",emphasis:r=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${r}, 'opsz' ${i.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:p,className:_e("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};ot.displayName="MaterialIcon";const rt=r(({children:e,as:t,className:n="",style:i,...r},a)=>{const s=t||"p";return o.createElement(s,{ref:a,className:n,style:i,...r},e)});rt.displayName="Text";const at=n=>{const{items:i,listIconName:o="check",listItemClassName:r,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==o;return(null==i?void 0:i.length)?e(it,{className:_e("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:i.map((n,i)=>t(nt,{variant:d?"unstyled":"default",className:_e(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[d&&e("div",{className:"flex leading-none",children:e(ot,{name:o,size:s,color:tt[c],weight:"600",className:_e("block","top"===l?"mt-1":"",u)})}),e(rt,{as:"div",children:n})]},i))}):null};var st;at.displayName="Checklist";const lt="function"==typeof B?B:null!==(st=B.default)&&void 0!==st?st:B,ct=r(({children:t,href:n,className:i="",onClick:o,variant:r="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===r)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[r]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==o||o(e)},m=_e(d,`link--${r}`,l&&"link--disabled",i),h={...c,ref:u,className:m,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...h,children:t}):e(lt,{href:n||"#",className:m,onClick:p,...c,children:t})});ct.displayName="Link";const ut={renderMark:{[P.BOLD]:t=>e("strong",{className:"label3",children:t}),[P.ITALIC]:t=>e("em",{children:t}),[P.UNDERLINE]:t=>e("u",{children:t}),[P.CODE]:t=>e("code",{children:t})},renderNode:{[G.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[G.HEADING_1]:(t,n)=>e(rt,{as:"h1",className:"heading2 md:heading1",children:n}),[G.HEADING_2]:(t,n)=>e(rt,{as:"h2",className:"heading6 md:heading5",children:n}),[G.HEADING_3]:(t,n)=>e(rt,{as:"h3",className:"heading6 md:heading5",children:n}),[G.HEADING_4]:(t,n)=>e(rt,{as:"h3",className:"headingClass",children:n}),[G.HEADING_5]:(t,n)=>e(rt,{as:"h3",className:"heading6 md:heading5",children:n}),[G.HEADING_6]:(t,n)=>e(rt,{as:"h3",className:"heading6",children:n}),[G.QUOTE]:(t,n)=>e("blockquote",{children:n}),[G.UL_LIST]:(t,n)=>e("ul",{children:n}),[G.OL_LIST]:(t,n)=>e("ol",{children:n}),[G.LIST_ITEM]:(t,n)=>e("li",{children:n}),[k.HYPERLINK]:(t,n)=>{var i;const o=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,r=/^https?:\/\//.test(o);return e("a",{href:o,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:n})},[G.EMBEDDED_ASSET]:t=>{var n,i;const o=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,r=null==o?void 0:o.fields,a=(null==o?void 0:o.url)||(null===(i=null==r?void 0:r.file)||void 0===i?void 0:i.url),s=(null==r?void 0:r.title)||(null==r?void 0:r.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[G.EMBEDDED_ENTRY]:n=>{var i,o,r,a;const s=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.target;return"callout"===(null===(a=null===(r=null===(o=null==s?void 0:s.sys)||void 0===o?void 0:o.contentType)||void 0===r?void 0:r.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[k.EMBEDDED_ENTRY]:n=>{var i,o,r,a,s,l;const c=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.target;return"componentCheckList"===(null===(a=null===(r=null===(o=null==c?void 0:c.sys)||void 0===o?void 0:o.contentType)||void 0===r?void 0:r.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 dt(t,n,i="body1",o="body1 font-bold",r){if(!t||!Array.isArray(t.content))return null;const a={...ut,...r,renderNode:{...ut.renderNode,...null==r?void 0:r.renderNode,[G.PARAGRAPH]:(t,n)=>e("div",{className:i,children:n}),[k.HYPERLINK]:(t,i)=>{var r;const a=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(ct,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:o,children:i})}}};return A(t,a)}function pt(e,t){return a(()=>{if(!e||!Array.isArray(e.content))return null;const n={...ut,renderMark:{...ut.renderMark,...null==t?void 0:t.renderMark},renderNode:{...ut.renderNode,...null==t?void 0:t.renderNode}};return A(e,n)},[e,t])}function mt(i,o){if(!i||!Array.isArray(i.content))return null;const r={...ut,renderMark:{...ut.renderMark,[P.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...ut.renderNode,[G.PARAGRAPH]:(t,i)=>e(n,{children:i}),[G.TABLE]:(t,n)=>{var i,o;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(o=null===(i=t.content[0])||void 0===i?void 0:i.content)||void 0===o?void 0:o.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[G.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[G.TABLE_HEADER_CELL]:(t,n)=>{var i;const o=(null===(i=t.parent)||void 0===i?void 0:i.content.length)>2;return e("th",{className:`label4 md:label2 break-words py-4 text-center ${o?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[G.TABLE_CELL]:(i,o)=>{var r,a,s,l;const c=(null===(r=i.parent)||void 0===r?void 0:r.content.length)>2,u=null===(l=null===(s=null===(a=i.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote md:body2 leading-5 md:leading-7 text-text break-words bg-white py-2 text-center align-top first:text-left ${c?"w-[50vw] min-w-[50vw] first:sticky first:left-0 first:z-10 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:t(n,{children:[" ","yes"===u?e(ot,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(ot,{name:"cancel",color:"#CECECE",fill:1}):o]})})},[k.EMBEDDED_ENTRY]:t=>{var n,i,r,a;const s=t.data.target.sys.id,l=null===(i=null===(n=null==o?void 0:o.entries)||void 0===n?void 0:n.inline)||void 0===i?void 0:i.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(r=l.list)||void 0===r?void 0:r.items)||void 0===a?void 0:a.map(e=>{var t;return dt(et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(at,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return A(i,r)}const ht={renderMark:{[P.BOLD]:e=>s("span",{className:"label1"},e)}};function gt(e,t,n,i){return a(()=>{var o,r;const a=null!==(r=null===(o=null==e?void 0:e.list)||void 0===o?void 0:o.items)&&void 0!==r?r:[];return t?a.map(e=>{var t,o;return null!==(o=dt(et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,n))&&void 0!==o?o:""}):a.map(e=>{var t,o,r,a,s;return{title:null!==(o=dt(et(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,n))&&void 0!==o?o:"",iconUrl:null!==(a=null===(r=null==e?void 0:e.icon)||void 0===r?void 0:r.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,i])}const ft=r(({children:t,className:n="",style:i,disabled:o,...r},a)=>e("button",{ref:a,className:_e(n),style:i,disabled:o,...r,children:t}));ft.displayName="Button";const bt=t=>{const{open:n,children:i}=t,o=l(null),[r,a]=c(0);return u(()=>{const e=o.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let i;return t(),n&&(i=new ResizeObserver(()=>t()),i.observe(e)),()=>{i&&i.disconnect()}},[n,i]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:r,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:o,children:i})})};bt.displayName="Collapse";const vt=n=>{const{title:i,defaultOpen:o,children:r,containerClassName:a,titleClassName:s,className:l,buttonClassName:d,iconClassName:p,openOnlyOnDesktop:m,borderRadiusNone:h=!1}=n,[g,f]=c(Boolean(!1));return u(()=>{if(m){const e=window.innerWidth>=1024;f(e)}else f(Boolean(o))},[m,o]),t("div",{className:_e(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(ft,{type:"button",className:_e(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>f(e=>!e),children:[e("span",{className:_e("label5 flex-1",s),children:i}),e(ot,{className:_e("flex-shrink-0",p),name:g?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(bt,{open:g,children:e("div",{className:_e("px-4 py-4",l),children:r})})]})};vt.displayName="Accordion";const yt=t=>{const{className:n,...i}=t;return e("div",{className:_e("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...i})};yt.displayName="Divider";const xt=({items:n,title:i,anchorId:o,background:r="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:d=!1,descriptionMaxWidth:p="max-w-[980px]",itemContainerClassName:m})=>{const[h,g]=c(l);u(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);g(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:o,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[r]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(rt,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:i}),e("div",{className:`pt-6 md:pt-10 ${null!=m?m:""}`,children:null==n?void 0:n.map((i,o)=>{const r=i.anchorId||`item-${o}`,a=i.anchorId?h.includes(i.anchorId):void 0;return t("div",{id:i.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(vt,{title:i.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...i.anchorId&&{onClick:()=>{return e=i.anchorId,void g(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:p,children:e(rt,{as:"div",children:i.description})})}),o<n.length-1&&e(yt,{className:"my-6 md:my-10"},`divider-${o}`)]},r)})})]})})};var It;const wt=null!==(It=V.default)&&void 0!==It?It:V,Ct=({href:i,title:o,description:r,date:a,category:s,image:l,imageComponent:c,readMoreText:u="Read more",asGrid:d=!0,lgWidth:p,mdWidth:m,index:h})=>t("article",{className:d?"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)] ${p} ${m} 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(wt,{href:i,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?c?e(c,{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("img",{src:l.src,alt:l.alt,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),o&&e(wt,{href:i,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:o}),r&&e(rt,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),t(wt,{href:i,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${u} about ${o||"this article"}`,children:[e(rt,{"aria-label":`${u} about ${o||"this article"}`,className:"label1 text-nowrap",children:u}),e(ot,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),Nt=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},At=r(({variant:i="primary_brand",isLoading:o=!1,text:r,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...p},m)=>{const h=(()=>{const e=_e((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-auto"),t=_e((s||o)&&"cursor-not-allowed",o&&"pl-7");return _e(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[i]||"",t,c)})();let g=`button--${i}`;o&&(g+=" button--loading"),s&&(g+=" button--disabled");const f=`${g} ${h}`,b=t(n,{children:[o?e(ot,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:_e(Nt(u)),children:a}),r]}):r]});return"a"===d?e("a",{ref:m,className:_e(f),...p,children:b}):e("button",{ref:m,className:_e(f),disabled:s||o,...p,children:b})});At.displayName="BrandButton";const kt=n=>{const{showButtonAs:i="solid",buttonVariant:o="primary_brand",buttonLabel:r,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:m,renderCheckPlans:h,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:w,iconSize:C=24,preserveQueryParameters:N,...A}=n;if("check availability"===m){return null==h?void 0:h({ctaText:r,buttonVariant:o,showButtonAs:i,cta:{...n}})}function k(){"modal"===f&&(null==v||v(b))}function G(e){k(),null==y||y(e)}function P(e){k(),null==y||y(e)}const V="undefined"!=typeof window?window.location.search:"",B=s&&N&&V?function(e,t){if(!t)return e;const n=new URLSearchParams(t),i=new Set(Ke),o=new Set([...i,"searchtext","page"]);let r,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);r=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");r=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{o.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${r}?${l}`:r}(s,V):s;let T=e(ft,{onClick:P,className:g,...A});switch(i){case"solid":T=e(At,B?{as:"a",href:B,id:c,variant:o,text:r,label:a,fullWidth:p,buttonClassName:g,size:w,onClick:G}:{id:c,variant:o,text:r,label:a,fullWidth:p,size:w,onClick:P,buttonClassName:g});break;case"text":T=t(ct,{title:r,href:B,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:G,children:[r," ",x&&e(ot,{name:x,size:C,fill:I})]})}return T},Gt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Pt=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(T),Vt=({src:e,width:t,quality:n})=>{const i=new URL(e);return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},Bt=r(({className:t,...n},i)=>{const o="string"==typeof n.src?n.src:"",r=o.toLowerCase().split("?")[0]||"",a=o.includes("images.ctfassets.net"),s=a&&r.endsWith(".svg"),l=a&&!s?{loader:Vt,unoptimized:!1}:{unoptimized:s};return e(Pt,{ref:i,className:_e(t),...n,...l})});Bt.displayName="NextImage";const Tt=({card:n,lgWidth:i,mdWidth:o})=>{var r,a,s;const l=(null===(r=n.imageAlignment)||void 0===r?void 0:r.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${o} ${i} w-full ${null!==(s=Gt[null!==(a=n.backgroundColor)&&void 0!==a?a:""])&&void 0!==s?s:""}`,children:t("div",{className:`card-template flex h-full flex-col gap-6 p-6 text-center md:gap-8 md:p-8 ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,i,o;if(!t.image)return null;const r=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(Bt,"full"===r?{width:400,height:280,src:t.image,alt:null!==(i=t.title)&&void 0!==i?i:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start md:gap-4",children:[n.title&&e(rt,{as:"h5",className:"heading6 text-text md:heading5",children:n.title}),n.body&&e(rt,{as:"div",className:"body1 text-text",children:n.body})]}),n.cta&&e("div",{className:"card-footer",children:e(kt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...n.cta,iconName:"expand_circle_right",iconFill:1})})]})})},St=({title:n,items:i,enableHeading:o=!1,subtitle:r,color:a="dark",maxWidth:s=!0,maxCardsPerRow:l,cardType:c="simple"})=>{const u={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===i.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==a?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",children:[n&&e(rt,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),r&&e(rt,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:r})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-6 self-stretch md:gap-6",children:i.map((t,n)=>((t,n)=>{if("blog"===c){const n=t;return e(Ct,{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(Tt,{card:t,lgWidth:u,mdWidth:d},n)})(t,n))})]})})})},Et=({fields:t})=>e("div",{children:e(rt,{children:"Cards"})}),Rt=r(({as:t,className:n="",...i},o)=>{const r=_e(n);if(t){return e(t,{ref:o,className:r,...i})}return e("img",{ref:o,className:r,...i})});Rt.displayName="Image";const Mt=({onSelect:i,speed:o,isSelected:r=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:p})=>{const[m,h]=c(!1),g=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${r?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,f=null==a?void 0:a({speedCardConfig:{isModalOpen:m,setModalOpen:()=>{h(!1)},speed:o,techType:d,isMax:p},cta:u});return t(n,{children:[t(ft,{onClick:()=>{h(!0),i()},className:_e(g,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(ot,{className:_e(l,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),f]})},Lt=({planName:i,planSubtext:o,speed:r,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:p,theme:m="light",featuresTitle:h="Business Ready Internet features",features:g=[],isExpanded:f,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:w})=>{const[C,N]=c(!1),A=void 0!==f?f:C,k="dark"===m;return t("article",{className:_e("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:_e("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",k?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(rt,{as:"h3",className:_e("subheading2",k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i}),e(rt,{as:"p",className:"label3 text-wrap "+(k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:o})]}),t("div",{className:"flex items-start",children:[e(rt,{as:"span",className:_e("label2 mr-1 mt-[2px]",k?"text-text-inverse":"text-text"),children:"$"}),e(rt,{as:"span",className:_e("subheading6",k?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(rt,{as:"span",className:_e("label2",k?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(rt,{className:_e("body2",k?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:_e("flex-col items-center rounded-surface-sm p-2",k?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(Rt,{src:n.icon,alt:n.title,width:24,height:24}),e(rt,{as:"div",className:_e("body3",k?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(Mt,{onSelect:v,speed:r,isSelected:k,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:w}),g.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(ft,{onClick:()=>{b?b():N(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e(rt,{as:"h4",className:_e("label3",k?"text-text-inverse":"text-text"),children:h}),e(ot,{name:"keyboard_arrow_down",fill:1,size:24,className:_e("transition-transform duration-300",A&&"rotate-180",k?"text-text-inverse":"text-text")})]}),t("div",{className:_e("overflow-hidden transition-all duration-200 ease-in-out",A?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(at,{items:g,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:k?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(k?"text-text-inverse":"text-text")})}),(null==p?void 0:p.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(Rt,{src:p.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:p.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:p.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:p.badgeText.split("|")[1]})]}):e(rt,{className:"font-bold",children:p.badgeText})})]}):null]})]})]})]})},Xt=({title:n,quote:i,rating:o,author:r,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:O("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",l?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",c),children:[t("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e("header",{children:e(rt,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:i}),o?e("div",{className:"flex","aria-label":`Rating: ${o} out of 5`,children:[...Array(5)].map((t,n)=>e(ot,{size:24,name:"star",fill:1,className:O("h-[21px] w-[21px]",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),r&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(T,{src:s,alt:r,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:r.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:r}),e(rt,{as:"p",className:"body3 text-text",children:a})]})]})]});function Wt({fields:i,renderCheckPlans:o}){var r,a,s,p;const m=(null===(s=null===(a=null===(r=null==i?void 0:i.items)||void 0===r?void 0:r.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[h,g]=c(m),[f,b]=c({}),[v,y]=c(0),x=(null===(p=null==i?void 0:i.items)||void 0===p?void 0:p.items)||[],I=x.length>2,w=l([]),C=d(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),N=d(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(u(()=>{if(!I)return;const e=()=>{const e=w.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,h,x.length]),!x.length&&!(null==i?void 0:i.title))return null;const A=(t,n,i=!1)=>{var r,a,s,l,c,u,d,p;const m=null===(r=null==t?void 0:t.speed)||void 0===r?void 0:r.split("|"),v=(null==m?void 0:m[0])||"",y=(null==m?void 0:m[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],k={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},G=i?f[n]||!1:h;return e("div",{ref:i?void 0:e=>{e&&!w.current.includes(e)&&(w.current[n]=e)},className:_e(i?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(Lt,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:k,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:C,isExpanded:G,onToggleExpand:()=>{i?b(e=>({...e,[n]:!e[n]})):g(!h)},ctaText:(null===(p=null==t?void 0:t.cta)||void 0===p?void 0:p.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},k=[...x,...x,...x,...x,...x],G=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>A(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(ft,{onClick:C,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(ot,{name:"arrow_back",size:24})}),e(ft,{onClick:N,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(ot,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${G+v} * (392px + 12px)))`},children:k.map((e,t)=>A(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>A(e,t))})}const Ot=o.memo(({item:t,index:n,currentIndex:i,totalItems:o,swipeOffset:r,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-i;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,p=1===Math.abs(u),m=u*c+r/l*100,h=!s||(a?d||p:d);return e("div",{className:_e("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${m}%)`},children:e(Xt,{...t,isActive:d,className:"h-full"})})});Ot.displayName="TestimonialCarouselSlide";const Ft=({fields:n,autoScroll:i=!0,autoScrollInterval:o=8e3})=>{var r;const a=(null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:i=.15,mobileBreakpoint:o=768,autoScrollInterval:r=8e3,enableAutoScroll:a=!0}=e,[s,p]=c(0),[m,h]=c(0),[g,f]=c(!1),[b,v]=c(window.innerWidth),[y,x]=c(!1),I=l(null),w=l(0),C=l(null),N={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:r};u(()=>{const e=()=>{var e;v((null===(e=C.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const A=d(()=>{0!==t&&p(e=>(e+1)%t)},[t]),k=d(()=>{0!==t&&p(e=>0===e?t-1:e-1)},[t]),G=d(e=>{e<0||e>=t||p(e)},[t]),P=d(e=>{w.current=e.touches[0].clientX,f(!0),I.current&&clearInterval(I.current)},[]),V=d(e=>{if(!g)return;const t=e.touches[0].clientX-w.current;h(t)},[g]),B=d(()=>{f(!1);const e=b*i;m>e?k():m<-e&&A(),h(0),a&&r>0&&(I.current=setInterval(()=>{A()},r))},[m,b,i,k,A,a,r]);return u(()=>{const e=()=>{x(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),u(()=>{if(a&&0!==t&&0!==r)return I.current=setInterval(()=>{A()},r),()=>{I.current&&clearInterval(I.current)}},[A,t,a,r]),{currentIndex:s,swipeOffset:m,isSwiping:g,isMobile:y,containerWidth:b,containerRef:C,nextSlide:A,prevSlide:k,goToSlide:G,handleTouchStart:P,handleTouchMove:V,handleTouchEnd:B,constants:N}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:i});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(ft,{onClick:s.prevSlide,className:"group absolute left-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e(ot,{name:"arrow_back",size:24})}),e(ft,{onClick:s.nextSlide,className:"group absolute right-5 top-1/2 z-50 hidden h-13 w-13 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e(ot,{name:"arrow_forward",size:24})}),e("div",{ref:s.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:s.handleTouchStart,onTouchMove:s.handleTouchMove,onTouchEnd:s.handleTouchEnd,children:e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e(Ot,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:_e("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Dt=({tabs:n,activeTab:i,onChange:o,className:r})=>{const a=n.indexOf(i),s=l([]),[d,p]=c({width:0,left:0});return u(()=>{const e=s.current[a];e&&p({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:_e("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",r),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>o(t),className:_e("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",i===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Zt=({fields:n,hasTestimonialCards:i,hasProductCards:o,disclaimerText:r,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:p=!0,showSwitch:m=!1})=>t("div",{className:`${a} ${o?"px-3 py-9 md:py-20":i?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(rt,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(rt,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),m&&o&&t("div",{className:"flex flex-col gap-8",children:[m&&o&&c.length>1&&e(Dt,{tabs:c,activeTab:s,onChange:l}),o&&e(Wt,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),i&&e(Ft,{fields:n,autoScroll:p,autoScrollInterval:8e3})]}),r&&e(rt,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:r})]}),zt=({title:n,subtitle:i,description:o,disclaimer:r,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Bt,{width:80,height:80,alt:"icon",src:a})})}),t("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[n&&e(rt,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),i&&e(rt,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:i}),o&&e(rt,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(kt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),r&&e("div",{children:e(rt,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),Ht=({body:n,links:i,bottomLinks:r,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(yt,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==i?void 0:i.map((n,i)=>{var r,a;return t(o.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(rt,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(kt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${i}`)},`footer-link-group-${i}`),e(yt,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${i}`)})}),t("div",{className:"py-8",children:[e(yt,{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==r?void 0:r.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(kt,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},jt=({isHovered:t,containerClassName:n})=>e("button",{tabIndex:-1,className:`group flex h-20 w-20 items-center justify-center rounded-full bg-white shadow-xl transition-all duration-300 hover:scale-110 active:scale-95 ${n||""}`,"aria-label":"Play button",children:e(ot,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Yt=t=>{const{link:n,containerClassName:i,autoplay:o=!1,debug:r=!1}=t,{href:s,embedId:l}=a(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),i=t.split("/"),o=i[i.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[n]);if(r&&console.log("[VimeoEmbed] href:",s,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],i=n[2],o=`https://player.vimeo.com/video/${e}`;return i&&/^[a-f0-9]+$/i.test(i)&&t.searchParams.set("h",i),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:_e("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Jt=t=>{const{link:n,containerClassName:i,autoplay:o=!1}=t,r=a(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),s=o?"?autoplay=1":"";return e("div",{className:_e("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${r}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Ut=({brow:n,enableHeading:i,title:o,subTitle:r,ctaDisclaimer:a,disclaimer:s,description:l,image:u,imageLinks:d,mediaPosition:p=!0,checklist:m,secondaryCta:h,cta:g,videoLink:f,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:w})=>{var C,N;const[A,k]=c(""),[G,P]=c(!1),V=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",B=null==f?void 0:f.image,T=null!==(N=null==f?void 0:f.videoPopup)&&void 0!==N&&N,S=Boolean(A&&A===V),E=f&&B?V.includes("vimeo")?e(Yt,{link:V,autoplay:S}):e(Jt,{link:V,autoplay:S}):null;return t("div",{className:"component-container",children:[e("div",{className:`image-promo-bar-content ${b?"max-w-120 lg:mx-auto":""} mx-5 my-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 lg:items-stretch lg:gap-10 xl:gap-[126px] "+(p?"lg:flex-row-reverse":"lg:flex-row"),children:[t("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 lg:gap-10 "+("dark"==v?"text-text":"text-white"),children:[t("div",{className:"heading holder",children:[n&&e(rt,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e(rt,{as:i?"h1":"h2",className:"heading2 xl:heading1",children:o}),r&&e(rt,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:r})]}),l&&e(rt,{as:"div",className:"body1",children:l}),m.length>0&&e(at,{items:m,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(ct,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(Rt,{src:t.image,alt:"icon-link"})})},n))}),(g||h)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(kt,{...g,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})}),h&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(kt,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(Bt,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:_e("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!S&&"hover:shadow-2xl"),onClick:()=>{var e;k(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[t("div",{className:_e(S&&!T&&"hidden",S&&!T?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e(Bt,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(jt,{isHovered:G})})]}),!T&&S&&e("div",{className:_e("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:E})]})]})]})}),T&&S&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),k("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:E})})]})},$t=({link:n,anchorName:i})=>{const[r,a]=o.useState(!1),s=o.useRef(null);if(((e,t)=>{const n=n=>{var i;(null===(i=null==e?void 0:e.current)||void 0===i?void 0:i.contains(n.target))||t()};u(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(kt,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:l,title:c,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],m=`--link-anchor-${i}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:s,children:[t(kt,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e(rt,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e(ot,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},l),e("div",{className:_e("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",r&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&a(!1)},children:p.map((t,n)=>e("li",{className:"submenu-link",children:e(kt,{...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}`))})})]})},Qt=({link:i})=>{const[r,a]=o.useState(!1);if(!i)return null;if((e=>"string"==typeof e.href)(i))return e(kt,{...i,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${i.anchorId}`);const{anchorId:s,title:l,items:c}=i,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(kt,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(ot,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),r&&u.length>0&&e(_t,{items:u})]})},_t=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(kt,{...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}`),Kt=n=>{const{showBlinkDot:i=!1,buttonStyle:o="primary",size:r="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(ct,{...u,className:_e("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[r],{primary:"border-[0.727px] border-border text-text"}[o],s),children:[i?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:_e("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[r]),children:e(ot,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]});return null==l||!1===l||""===l?d:t("span",{className:_e("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};Kt.displayName="CallButton";const qt=r((n,i)=>{const{className:o,size:r,required:a,placeholder:s,label:l,state:u,errorText:p,prefixIconName:m,prefixIconFill:h=!0,suffixIconFill:g=!1,prefixIconSize:f=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:w,type:C,...N}=n,A=w?"error":u,[k,G]=c(!1),[P,V]=c(!1),[B,T]=c(C||"text"),S=d(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:_e("inline-block pb-1"),children:t(rt,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:_e("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[r||"medium"],y,(k||"hover"===A)&&!P&&"error"!==A&&"border-input-border-hover",(P||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[m?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(ot,{name:m,fill:h?1:0,size:f,className:_e(x)})}):null,e("input",{ref:i,id:l,disabled:I||N.disabled,className:_e("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===r&&"text-body3",o),placeholder:s,type:B,...N,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=N.onFocus)||void 0===t||t.call(N,e),V(!0)},onBlur:e=>{var t;null===(t=N.onBlur)||void 0===t||t.call(N,e),V(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(ot,{name:"text"===B?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===A&&p&&""!=p?t(rt,{className:_e("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(ot,{name:"info",size:20,className:"mr-1"}),p||"Error"]}):null]})});qt.displayName="Input";const en=n=>{const{primaryNavigationLinks:i,utilityNavigationLinks:o,checkPlansJSX:r,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,callNowCtaText:p,displayCartIcon:m,cartHref:h,cartHasRetention:g,cartIconAriaLabel:f="Cart",onCallClickDesktop:b,onCallClickMobile:v,onCartClick:y,onSearch:x=()=>{},utilityNavActiveIndex:I,primaryNavigationLogoWidth:w=76.5,primaryNavigationLogoHeight:C=24,hideMobileCallButton:N=!1}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==o?void 0:o.map((t,n)=>e("li",{children:e(kt,{linkClassName:_e("footnote flex items-center w-full h-11 text-text","number"!=typeof I?1===n&&"label4":I===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(Kt,{className:"border-none",href:u,prefix:p,onClick:b,children:e(rt,{className:"body3 text-text",children:d})}),m?t(ct,{href:h||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:y,children:[e(ot,{name:"shopping_cart"}),g?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==s?void 0:s.map((t,n)=>e($t,{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 border border-b px-5 py-[10px] lg:hidden",children:[e("div",{children:e(ct,{href:"/",className:"flex",children:e(Bt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:w,height:C})})}),t("div",{className:"flex items-center gap-6",children:[N?null:e(Kt,{href:u,onClick:v,children:e(rt,{as:"span",className:"footnote",children:d})}),m?t(ct,{href:h||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:y,children:[e(ot,{name:"shopping_cart"}),g?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,e(tn,{...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(ct,{href:"/",className:"flex",children:e(Bt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:w,height:C,className:"mr-[64px]"})}),e("div",{className:"flex h-full items-center gap-5",children:null==i?void 0:i.map((t,n)=>e($t,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(on,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:x}),null==l?void 0:l.map((t,n)=>e($t,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e("div",{className:"md:hidden",children:r})]})},tn=n=>{var i;const{primaryNavigationLinks:r,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=o.useState(!1);o.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=c?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],i=t[t.length-1],o=e=>{var t,o,r,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=i).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===i&&(null===(a=(r=n).focus)||void 0===a||a.call(r),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(kt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(ot,{name:"menu"})}),c?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:_e("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",c?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(Kt,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(kt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(ot,{name:"close"})})})]}),e(nn,{closeMenu:d,isMenuOpen:c,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(i=n.searchBarIcon)||void 0===i?void 0:i.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&d()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(Qt,{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,i)=>e("li",{children:e(kt,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:_e("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===i&&"label4":n.utilityNavActiveIndex===i&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${i}`))})]})]})})]})},nn=n=>{const{closeMenu:i,onSearch:r,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=o.useState(""),u=o.useRef(null),d=e=>{i(),e.preventDefault(),r(l)};return o.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(Bt,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(qt,{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"})})]})},on=n=>{const{searchBarIconURL:i,onSearch:r}=n,[a,s]=o.useState(""),l=o.useRef(null),c=e=>{e.preventDefault(),r(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Bt,{src:i,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(qt,{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"})]})},rn=n=>{var i;const{title:o,showAsHeading:r,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:p,checklist:m,renderCheckPlans:h,badgeImage:g,pricingDescriptionDisclaimer:f,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(i=null==c?void 0:c.buttonLabel)&&void 0!==i?i:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:_e("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:_e("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e(rt,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e(rt,{as:"p",className:"subheading3 lg:subheading1",children:a}),u?t("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e(rt,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(rt,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(rt,{as:"p",className:"subheading5",children:u}),p?e(rt,{as:"p",className:"subheading1 mt-0.5",children:p}):null]})]}):null,m&&e(at,{listItemClassName:"text-white text-left",items:m.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:_e("md:block",x&&"hidden"),children:e(kt,{...s,renderCheckPlans:h,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(rt,{as:"span",className:"body2 mr-1",children:v}),b&&e(kt,{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(kt,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e(rt,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[g?e(Bt,{src:g,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,l&&l[0]?e(Bt,{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(kt,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e(rt,{as:"p",className:"body3 md:hidden",children:f}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(rt,{as:"span",className:"body2 mr-1",children:v}),b&&e(kt,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:_e("relative hidden lg:block"),children:[g?e(Bt,{src:g,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,l&&l[0]?e(Bt,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},an=({fields:t})=>e("div",{children:e(rt,{children:"Text Block"})}),sn={closed:{opacity:0},open:{opacity:1}},ln={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},cn={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},un=p({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),dn=p({}),pn=p(null),mn="undefined"!=typeof document,hn=mn?m:u,gn=p({strict:!1});function fn(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function bn(e){return"string"==typeof e||Array.isArray(e)}function vn(e){return"object"==typeof e&&"function"==typeof e.start}const yn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xn=["initial",...yn];function In(e){return vn(e.animate)||xn.some(t=>bn(e[t]))}function wn(e){return Boolean(In(e)||e.variants)}function Cn(e){const{initial:t,animate:n}=function(e,t){if(In(e)){const{initial:t,animate:n}=e;return{initial:!1===t||bn(t)?t:void 0,animate:bn(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(dn));return a(()=>({initial:t,animate:n}),[Nn(t),Nn(n)])}function Nn(e){return Array.isArray(e)?e.join(" "):e}const An={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"]},kn={};for(const e in An)kn[e]={isEnabled:t=>An[e].some(e=>!!t[e])};const Gn=p({}),Pn=p({}),Vn=Symbol.for("motionComponentSymbol");function Bn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)kn[t]={...kn[t],...e[t]}}(e);const s=r(function(r,s){let c;const p={...h(un),...r,layoutId:Tn(r)},{isStatic:m}=p,f=Cn(r),b=o(r,m);if(!m&&mn){f.visualElement=function(e,t,n,i){const{visualElement:o}=h(dn),r=h(gn),a=h(pn),s=h(un).reducedMotion,c=l();i=i||r.renderer,!c.current&&i&&(c.current=i(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const d=c.current;return g(()=>{d&&d.update(n,a)}),hn(()=>{d&&d.render()}),u(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?hn:u)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(a,b,p,t);const n=h(Pn),i=h(gn).strict;f.visualElement&&(c=f.visualElement.loadFeatures(p,i,e,n))}return i.createElement(dn.Provider,{value:f},c&&f.visualElement?i.createElement(c,{visualElement:f.visualElement,...p}):null,n(a,r,function(e,t,n){return d(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):fn(n)&&(n.current=i))},[t])}(b,f.visualElement,s),b,m,f.visualElement))});return s[Vn]=a,s}function Tn({layoutId:e}){const t=h(Gn).id;return t&&void 0!==e?t+"-"+e:e}function Sn(e){function t(t,n={}){return Bn(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const En=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Rn(e){return"string"==typeof e&&!e.includes("-")&&!!(En.indexOf(e)>-1||/[A-Z]/.test(e))}const Mn={};const Ln=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xn=new Set(Ln);function Wn(e,{layout:t,layoutId:n}){return Xn.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Mn[e]||"opacity"===e)}const On=e=>Boolean(e&&e.getVelocity),Fn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Dn=Ln.length;const Zn=e=>t=>"string"==typeof t&&t.startsWith(e),zn=Zn("--"),Hn=Zn("var(--"),jn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Yn=(e,t,n)=>Math.min(Math.max(n,e),t),Jn={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Un={...Jn,transform:e=>Yn(0,1,e)},$n={...Jn,default:1},Qn=e=>Math.round(1e5*e)/1e5,_n=/(-)?([\d]*\.?[\d])+/g,Kn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,qn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ei(e){return"string"==typeof e}const ti=e=>({test:t=>ei(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ni=ti("deg"),ii=ti("%"),oi=ti("px"),ri=ti("vh"),ai=ti("vw"),si={...ii,parse:e=>ii.parse(e)/100,transform:e=>ii.transform(100*e)},li={...Jn,transform:Math.round},ci={borderWidth:oi,borderTopWidth:oi,borderRightWidth:oi,borderBottomWidth:oi,borderLeftWidth:oi,borderRadius:oi,radius:oi,borderTopLeftRadius:oi,borderTopRightRadius:oi,borderBottomRightRadius:oi,borderBottomLeftRadius:oi,width:oi,maxWidth:oi,height:oi,maxHeight:oi,size:oi,top:oi,right:oi,bottom:oi,left:oi,padding:oi,paddingTop:oi,paddingRight:oi,paddingBottom:oi,paddingLeft:oi,margin:oi,marginTop:oi,marginRight:oi,marginBottom:oi,marginLeft:oi,rotate:ni,rotateX:ni,rotateY:ni,rotateZ:ni,scale:$n,scaleX:$n,scaleY:$n,scaleZ:$n,skew:ni,skewX:ni,skewY:ni,distance:oi,translateX:oi,translateY:oi,translateZ:oi,x:oi,y:oi,z:oi,perspective:oi,transformPerspective:oi,opacity:Un,originX:si,originY:si,originZ:oi,zIndex:li,fillOpacity:Un,strokeOpacity:Un,numOctaves:li};function ui(e,t,n,i){const{style:o,vars:r,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(zn(e)){r[e]=n;continue}const i=ci[e],d=jn(n,i);if(Xn.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(i.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):o[e]=d}if(t.transform||(l||i?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},i,o){let r="";for(let t=0;t<Dn;t++){const n=Ln[t];void 0!==e[n]&&(r+=`${Fn[n]||n}(${e[n]}) `)}return t&&!e.z&&(r+="translateZ(0)"),r=r.trim(),o?r=o(e,i?"":r):n&&i&&(r="none"),r}(e.transform,n,u,i):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const di=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function pi(e,t,n){for(const i in t)On(t[i])||Wn(i,n)||(e[i]=t[i])}function mi(e,t,n){const i={};return pi(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},t,n){return a(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return ui(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}function hi(e,t,n){const i={},o=mi(e,t,n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const gi=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 fi(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||gi.has(e)}let bi=e=>!fi(e);try{(vi=require("@emotion/is-prop-valid").default)&&(bi=e=>e.startsWith("on")?!fi(e):vi(e))}catch(It){}var vi;function yi(e,t,n){return"string"==typeof e?e:oi.transform(t+n*e)}const xi={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ii={offset:"strokeDashoffset",array:"strokeDasharray"};function wi(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(ui(e,c,u,p),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:h,dimensions:g}=e;m.transform&&(g&&(h.transform=m.transform),delete m.transform),g&&(void 0!==o||void 0!==r||h.transform)&&(h.transformOrigin=function(e,t,n){return`${yi(t,e.x,e.width)} ${yi(n,e.y,e.height)}`}(g,void 0!==o?o:.5,void 0!==r?r:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==i&&(m.scale=i),void 0!==a&&function(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?xi:Ii;e[r.offset]=oi.transform(-i);const a=oi.transform(t),s=oi.transform(n);e[r.array]=`${a} ${s}`}(m,a,s,l,!1)}const Ci=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Ni=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ai(e,t,n,i){const o=a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return wi(n,t,{enableHardwareAcceleration:!1},Ni(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};pi(t,e.style,e),o.style={...t,...o.style}}return o}function ki(e=!1){return(t,n,i,{latestValues:o},r)=>{const l=(Rn(t)?Ai:hi)(n,o,r,t),c=function(e,t,n){const i={};for(const o in e)"values"===o&&"object"==typeof e.values||(bi(o)||!0===n&&fi(o)||!t&&!fi(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}(n,"string"==typeof t,e),u={...c,...l,ref:i},{children:d}=n,p=a(()=>On(d)?d.get():d,[d]);return s(t,{...u,children:p})}}const Gi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Pi(e,{style:t,vars:n},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const t in n)e.style.setProperty(t,n[t])}const Vi=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,i){Pi(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(Vi.has(n)?n:Gi(n),t.attrs[n])}function Ti(e,t){const{style:n}=e,i={};for(const o in n)(On(n[o])||t.style&&On(t.style[o])||Wn(o,e))&&(i[o]=n[o]);return i}function Si(e,t){const n=Ti(e,t);for(const i in e)if(On(e[i])||On(t[i])){n[-1!==Ln.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]}return n}function Ei(e,t,n,i={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,o)),t}function Ri(e){const t=l(null);return null===t.current&&(t.current=e()),t.current}const Mi=e=>Array.isArray(e),Li=e=>Mi(e)?e[e.length-1]||0:e;function Xi(e){const t=On(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Wi=e=>(t,n)=>{const i=h(dn),o=h(pn),r=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,o,r){const a={latestValues:Oi(i,o,r,e),renderState:t()};return n&&(a.mount=e=>n(i,e,a)),a}(e,t,i,o);return n?r():Ri(r)};function Oi(e,t,n,i){const o={},r=i(e,{});for(const e in r)o[e]=Xi(r[e]);let{initial:a,animate:s}=e;const l=In(e),c=wn(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&&!vn(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Ei(e,t);if(!n)return;const{transitionEnd:i,transition:r,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in i)o[e]=i[e]})}return o}const Fi={useVisualState:Wi({scrapeMotionValuesFromProps:Si,createRenderState:Ci,onMount:(e,t,{renderState:n,latestValues:i})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}wi(n,i,{enableHardwareAcceleration:!1},Ni(t.tagName),e.transformTemplate),Bi(t,n)}})},Di={useVisualState:Wi({scrapeMotionValuesFromProps:Ti,createRenderState:di})};function Zi(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const zi=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Hi(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function ji(e,t,n,i){return Zi(e,t,(e=>t=>zi(t)&&e(t,Hi(t)))(n),i)}const Yi=(e,t)=>n=>t(e(n)),Ji=(...e)=>e.reduce(Yi);function Ui(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const $i=Ui("dragHorizontal"),Qi=Ui("dragVertical");function _i(e){let t=!1;if("y"===e)t=Qi();else if("x"===e)t=$i();else{const e=$i(),n=Qi();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ki(){const e=_i(!0);return!e||(e(),!1)}class qi{constructor(e){this.isMounted=!1,this.node=e}update(){}}const eo={delta:0,timestamp:0,isProcessing:!1};let to=!0,no=!1;const io=["read","update","preRender","render","postRender"],oo=io.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],i=0,o=!1,r=!1;const a=new WeakSet,s={schedule:(e,r=!1,s=!1)=>{const l=s&&o,c=l?t:n;return r&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(i=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)r=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,i=t.length,i)for(let n=0;n<i;n++){const i=t[n];i(l),a.has(i)&&(s.schedule(i),e())}o=!1,r&&(r=!1,s.process(l))}}};return s}(()=>no=!0),e),{}),ro=e=>oo[e].process(eo),ao=e=>{no=!1,eo.delta=to?1e3/60:Math.max(Math.min(e-eo.timestamp,40),1),eo.timestamp=e,eo.isProcessing=!0,io.forEach(ro),eo.isProcessing=!1,no&&(to=!1,requestAnimationFrame(ao))},so=io.reduce((e,t)=>{const n=oo[t];return e[t]=(e,t=!1,i=!1)=>(no||(no=!0,to=!0,eo.isProcessing||requestAnimationFrame(ao)),n.schedule(e,t,i)),e},{});function lo(e){io.forEach(t=>oo[t].cancel(e))}function co(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End");return ji(e.current,n,(n,o)=>{if("touch"===n.type||Ki())return;const r=e.getProps();e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",t),r[i]&&so.update(()=>r[i](n,o))},{passive:!e.getProps()[i]})}const uo=(e,t)=>!!t&&(e===t||uo(e,t.parentElement)),po=e=>e;function mo(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Hi(n))}const ho=new WeakMap,go=new WeakMap,fo=e=>{const t=ho.get(e.target);t&&t(e)},bo=e=>{e.forEach(fo)};function vo(e,t,n){const i=function({root:e,...t}){const n=e||document;go.has(n)||go.set(n,{});const i=go.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(bo,{root:e,...t})),i[o]}(t);return ho.set(e,n),i.observe(e),()=>{ho.delete(e),i.unobserve(e)}}const yo={some:0,all:1};const xo={inView:{Feature:class extends qi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:o}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:yo[i]};return vo(this.node.current,r,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=t?n:i;r&&r(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends qi{constructor(){super(...arguments),this.removeStartListeners=po,this.removeEndListeners=po,this.removeAccessibleListeners=po,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=ji(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();so.update(()=>{uo(this.node.current,e.target)?n&&n(e,t):i&&i(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=ji(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Ji(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Zi(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Zi(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&mo("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&so.update(()=>n(e,t))})}),mo("down",(e,t)=>{this.startPress(e,t)})}),t=Zi(this.node.current,"blur",()=>{this.isPressing&&mo("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Ji(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&so.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ki()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&so.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=ji(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Zi(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Ji(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends qi{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=Ji(Zi(this.node.current,"focus",()=>this.onFocus()),Zi(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends qi{mount(){this.unmount=Ji(co(this.node,!0),co(this.node,!1))}unmount(){}}}};function Io(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function wo(e,t,n){const i=e.getProps();return Ei(i,t,void 0!==n?n:i.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Co="data-"+Gi("framerAppearId");let No=po,Ao=po;"production"!==process.env.NODE_ENV&&(No=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Ao=(e,t)=>{if(!e)throw new Error(t)});const ko=e=>1e3*e,Go=e=>e/1e3,Po=!1,Vo=e=>Array.isArray(e)&&"number"==typeof e[0];function Bo(e){return Boolean(!e||"string"==typeof e&&So[e]||Vo(e)||Array.isArray(e)&&e.every(Bo))}const To=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,So={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:To([0,.65,.55,1]),circOut:To([.55,0,1,.45]),backIn:To([.31,.01,.66,-.59]),backOut:To([.33,1.53,.69,.99])};function Eo(e){if(e)return Vo(e)?To(e):Array.isArray(e)?e.map(Eo):So[e]}const Ro={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Mo={},Lo={};for(const e in Ro)Lo[e]=()=>(void 0===Mo[e]&&(Mo[e]=Ro[e]()),Mo[e]);const Xo=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Wo(e,t,n,i){if(e===t&&n===i)return po;const o=t=>function(e,t,n,i,o){let r,a,s=0;do{a=t+(n-t)/2,r=Xo(a,i,o)-e,r>0?n=a:t=a}while(Math.abs(r)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Xo(o(e),t,i)}const Oo=Wo(.42,0,1,1),Fo=Wo(0,0,.58,1),Do=Wo(.42,0,.58,1),Zo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,zo=e=>t=>1-e(1-t),Ho=e=>1-Math.sin(Math.acos(e)),jo=zo(Ho),Yo=Zo(jo),Jo=Wo(.33,1.53,.69,.99),Uo=zo(Jo),$o=Zo(Uo),Qo={linear:po,easeIn:Oo,easeInOut:Do,easeOut:Fo,circIn:Ho,circInOut:Yo,circOut:jo,backIn:Uo,backInOut:$o,backOut:Jo,anticipate:e=>(e*=2)<1?.5*Uo(e):.5*(2-Math.pow(2,-10*(e-1)))},_o=e=>{if(Array.isArray(e)){Ao(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,o]=e;return Wo(t,n,i,o)}return"string"==typeof e?(Ao(void 0!==Qo[e],`Invalid easing type '${e}'`),Qo[e]):e},Ko=(e,t)=>n=>Boolean(ei(n)&&qn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),qo=(e,t,n)=>i=>{if(!ei(i))return i;const[o,r,a,s]=i.match(_n);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},er={...Jn,transform:e=>Math.round((e=>Yn(0,255,e))(e))},tr={test:Ko("rgb","red"),parse:qo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+er.transform(e)+", "+er.transform(t)+", "+er.transform(n)+", "+Qn(Un.transform(i))+")"};const nr={test:Ko("#"),parse:function(e){let t="",n="",i="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}},transform:tr.transform},ir={test:Ko("hsl","hue"),parse:qo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+ii.transform(Qn(t))+", "+ii.transform(Qn(n))+", "+Qn(Un.transform(i))+")"},or={test:e=>tr.test(e)||nr.test(e)||ir.test(e),parse:e=>tr.test(e)?tr.parse(e):ir.test(e)?ir.parse(e):nr.parse(e),transform:e=>ei(e)?e:e.hasOwnProperty("red")?tr.transform(e):ir.transform(e)},rr=(e,t,n)=>-n*e+n*t+e;function ar(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 sr=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},lr=[nr,tr,ir];function cr(e){const t=(n=e,lr.find(e=>e.test(n)));var n;Ao(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===ir&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let o=0,r=0,a=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;o=ar(s,i,e+1/3),r=ar(s,i,e),a=ar(s,i,e-1/3)}else o=r=a=n;return{red:Math.round(255*o),green:Math.round(255*r),blue:Math.round(255*a),alpha:i}}(i)),i}const ur=(e,t)=>{const n=cr(e),i=cr(t),o={...n};return e=>(o.red=sr(n.red,i.red,e),o.green=sr(n.green,i.green,e),o.blue=sr(n.blue,i.blue,e),o.alpha=rr(n.alpha,i.alpha,e),tr.transform(o))};const dr={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:po},pr={regex:Kn,countKey:"Colors",token:"${c}",parse:or.parse},mr={regex:_n,countKey:"Numbers",token:"${n}",parse:Jn.parse};function hr(e,{regex:t,countKey:n,token:i,parse:o}){const r=e.tokenised.match(t);r&&(e["num"+n]=r.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...r.map(o)))}function gr(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&hr(n,dr),hr(n,pr),hr(n,mr),n}function fr(e){return gr(e).values}function br(e){const{values:t,numColors:n,numVars:i,tokenised:o}=gr(e),r=t.length;return e=>{let t=o;for(let o=0;o<r;o++)t=o<i?t.replace(dr.token,e[o]):o<i+n?t.replace(pr.token,or.transform(e[o])):t.replace(mr.token,Qn(e[o]));return t}}const vr=e=>"number"==typeof e?0:e;const yr={test:function(e){var t,n;return isNaN(e)&&ei(e)&&((null===(t=e.match(_n))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Kn))||void 0===n?void 0:n.length)||0)>0},parse:fr,createTransformer:br,getAnimatableNone:function(e){const t=fr(e);return br(e)(t.map(vr))}},xr=(e,t)=>n=>`${n>0?t:e}`;function Ir(e,t){return"number"==typeof e?n=>rr(e,t,n):or.test(e)?ur(e,t):e.startsWith("var(")?xr(e,t):Nr(e,t)}const wr=(e,t)=>{const n=[...e],i=n.length,o=e.map((e,n)=>Ir(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=o[t](e);return n}},Cr=(e,t)=>{const n={...e,...t},i={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(i[o]=Ir(e[o],t[o]));return e=>{for(const t in i)n[t]=i[t](e);return n}},Nr=(e,t)=>{const n=yr.createTransformer(t),i=gr(e),o=gr(t);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?Ji(wr(i.values,o.values),n):(No(!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.`),xr(e,t))},Ar=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},kr=(e,t)=>n=>rr(e,t,n);function Gr(e,t,n){const i=[],o=n||("number"==typeof(r=e[0])?kr:"string"==typeof r?or.test(r)?ur:Nr:Array.isArray(r)?wr:"object"==typeof r?Cr:kr);var r;const a=e.length-1;for(let n=0;n<a;n++){let r=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||po:t;r=Ji(e,r)}i.push(r)}return i}function Pr(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const r=e.length;if(Ao(r===t.length,"Both input and output ranges must be the same length"),1===r)return()=>t[0];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Gr(t,i,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const i=Ar(e[n],e[n+1],t);return a[n](i)};return n?t=>l(Yn(e[0],e[r-1],t)):l}function Vr(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=Ar(0,t,i);e.push(rr(n,1,o))}}(t,e.length-1),t}function Br({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(_o):_o(i),r={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Vr(t),e),s=Pr(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||Do).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(r.value=s(t),r.done=t>=e,r)}}function Tr(e,t){return t?e*(1e3/t):0}function Sr(e,t,n){const i=Math.max(t-5,0);return Tr(n-e(i),t-i)}const Er=.001;function Rr({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let o,r;No(e<=ko(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Yn(.05,1,a),e=Yn(.01,10,Go(e)),a<1?(o=t=>{const i=t*a,o=i*e,r=i-n,s=Lr(t,a),l=Math.exp(-o);return Er-r/s*l},r=t=>{const i=t*a*e,r=i*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-i),c=Lr(Math.pow(t,2),a);return(-o(t)+Er>0?-1:1)*((r-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let i=n;for(let n=1;n<Mr;n++)i-=e(i)/t(i);return i}(o,r,5/e);if(e=ko(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*i;return{stiffness:t,damping:2*a*Math.sqrt(i*t),duration:e}}}const Mr=12;function Lr(e,t){return e*Math.sqrt(1-t*t)}const Xr=["duration","bounce"],Wr=["stiffness","damping","mass"];function Or(e,t){return t.some(t=>void 0!==e[t])}function Fr({keyframes:e,restDelta:t,restSpeed:n,...i}){const o=e[0],r=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Or(e,Wr)&&Or(e,Xr)){const n=Rr(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(i),m=u?-Go(u):0,h=l/(2*Math.sqrt(s*c)),g=r-o,f=Go(Math.sqrt(s/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Lr(f,h);v=t=>{const n=Math.exp(-h*f*t);return r-n*((m+h*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===h)v=e=>r-Math.exp(-f*e)*(g+(m+f*g)*e);else{const e=f*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*f*t),i=Math.min(e*t,300);return r-n*((m+h*f*g)*Math.sinh(i)+e*g*Math.cosh(i))/e}}return{calculatedDuration:p&&d||null,next:e=>{const i=v(e);if(p)a.done=e>=d;else{let o=m;0!==e&&(o=h<1?Sr(v,e,i):0);const s=Math.abs(o)<=n,l=Math.abs(r-i)<=t;a.done=s&&l}return a.value=a.done?r:i,a}}}function Dr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:r=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const g=d+h,f=void 0===a?g:a(g);f!==g&&(h=f-d);const b=e=>-h*Math.exp(-e/i),v=e=>f+b(e),y=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?f:n};let x,I;const w=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Fr({keyframes:[p.value,m(p.value)],velocity:Sr(v,e,p.value),damping:o,stiffness:r,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),w(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),p)}}}const Zr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>so.update(t,!0),stop:()=>lo(t),now:()=>eo.isProcessing?eo.timestamp:performance.now()}};function zr(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 Hr={decay:Dr,inertia:Dr,tween:Br,keyframes:Br,spring:Fr};function jr({autoplay:e=!0,delay:t=0,driver:n=Zr,keyframes:i,type:o="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,g=1,f=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const y=Hr[o]||Br;let x;y!==Br&&"number"!=typeof i[0]&&(x=Pr([0,100],i,{clamp:!1}),i=[0,100]);const I=y({...p,keyframes:i});let w;"mirror"===s&&(w=y({...p,keyframes:[...i].reverse(),velocity:-(p.velocity||0)}));let C="idle",N=null,A=null,k=null;null===I.calculatedDuration&&r&&(I.calculatedDuration=zr(I));const{calculatedDuration:G}=I;let P=1/0,V=1/0;null!==G&&(P=G+a,V=P*(r+1)-a);let B=0;const T=e=>{if(null===A)return;g>0&&(A=Math.min(A,e)),B=null!==N?N:(e-A)*g;const n=B-t,o=n<0;B=Math.max(n,0),"finished"===C&&null===N&&(B=V);let l=B,c=I;if(r){const e=B/P;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,r+1);const i=Boolean(t%2);i&&("reverse"===s?(n=1-n,a&&(n-=a/P)):"mirror"===s&&(c=w));let o=Yn(0,1,n);B>V&&(o="reverse"===s&&i?1:0),l=o*P}const u=o?{done:!1,value:i[0]}:c.next(l);x&&(u.value=x(u.value));let{done:p}=u;o||null===G||(p=B>=V);const m=null===N&&("finished"===C||"running"===C&&p||g<0&&B<=0);return d&&d(u.value),m&&R(),u},S=()=>{v&&v.stop(),v=void 0},E=()=>{C="idle",S(),b(),A=k=null},R=()=>{C="finished",u&&u(),S(),b()},M=()=>{if(f)return;v||(v=n(T));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==C||(A=e),k=A,N=null,C="running",v.start()};e&&M();const L={then:(e,t)=>h.then(e,t),get time(){return Go(B)},set time(e){e=ko(e),B=e,null===N&&v&&0!==g?A=v.now()-e/g:N=e},get duration(){const e=null===I.calculatedDuration?zr(I):I.calculatedDuration;return Go(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,L.time=Go(B))},get state(){return C},play:M,pause:()=>{C="paused",N=B},stop:()=>{f=!0,"idle"!==C&&(C="idle",c&&c(),E())},cancel:()=>{null!==k&&T(k),E()},complete:()=>{C="finished"},sample:e=>(A=0,T(e))};return L}const Yr=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Jr(e,t,{onUpdate:n,onComplete:i,...o}){if(!(Lo.waapi()&&Yr.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let r,a,s=!1;const l=()=>{a=new Promise(e=>{r=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Bo(t.ease))(t,o)){const e=jr({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let i=0;for(;!t.done&&i<2e4;)t=e.sample(i),n.push(t.value),i+=10;p=void 0,c=n,u=i-10,d="linear"}const m=function(e,t,n,{delay:i=0,duration:o,repeat:r=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Eo(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:p}),h=()=>m.cancel(),g=()=>{so.update(h),r(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,o)),i&&i(),g()},{then:(e,t)=>a.then(e,t),get time(){return Go(m.currentTime||0)},set time(e){m.currentTime=ko(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Go(u)},play:()=>{s||(m.play(),lo(h))},pause:()=>m.pause(),stop:()=>{if(s=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=jr({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>m.finish(),cancel:g}}const Ur={type:"spring",stiffness:500,damping:25,restSpeed:10},$r={type:"keyframes",duration:.8},Qr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_r=(e,{keyframes:t})=>t.length>2?$r:Xn.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Ur:Qr,Kr=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!yr.test(t)&&"0"!==t||t.startsWith("url("))),qr=new Set(["brightness","contrast","saturate","opacity"]);function ea(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(_n)||[];if(!i)return e;const o=n.replace(i,"");let r=qr.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const ta=/([a-z-]*)\(.*?\)/g,na={...yr,getAnimatableNone:e=>{const t=e.match(ta);return t?t.map(ea).join(" "):e}},ia={...ci,color:or,backgroundColor:or,outlineColor:or,fill:or,stroke:or,borderColor:or,borderTopColor:or,borderRightColor:or,borderBottomColor:or,borderLeftColor:or,filter:na,WebkitFilter:na},oa=e=>ia[e];function ra(e,t){let n=oa(e);return n!==na&&(n=yr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const aa=e=>/^0[^.\s]+$/.test(e);function sa(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||aa(e):void 0}function la(e,t){return e[t]||e.default||e}const ca=(e,t,n,i={})=>o=>{const r=la(i,e)||{},a=r.delay||i.delay||0;let{elapsed:s=0}=i;s-=ko(a);const l=function(e,t,n,i){const o=Kr(t,n);let r;r=Array.isArray(n)?[...n]:[null,n];const a=void 0!==i.from?i.from:e.get();let s;const l=[];for(let e=0;e<r.length;e++)null===r[e]&&(r[e]=0===e?a:r[e-1]),sa(r[e])&&l.push(e),"string"==typeof r[e]&&"none"!==r[e]&&"0"!==r[e]&&(s=r[e]);if(o&&l.length&&s)for(let e=0;e<l.length;e++)r[l[e]]=ra(t,s);return r}(t,e,n,r),c=l[0],u=l[l.length-1],d=Kr(e,c),p=Kr(e,u);No(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...r,delay:-s,onUpdate:e=>{t.set(e),r.onUpdate&&r.onUpdate(e)},onComplete:()=>{o(),r.onComplete&&r.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:r,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(r)||(m={...m,..._r(e,m)}),m.duration&&(m.duration=ko(m.duration)),m.repeatDelay&&(m.repeatDelay=ko(m.repeatDelay)),!d||!p||Po||!1===r.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:i}){const o=()=>(n&&n(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:po,pause:po,stop:po,then:e=>(e(),Promise.resolve()),cancel:po,complete:po});return t?jr({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Jr(t,e,m);if(n)return n}return jr(m)};function ua(e){return Boolean(On(e)&&e.add)}const da=e=>/^\-?\d*\.?\d+$/.test(e);function pa(e,t){-1===e.indexOf(t)&&e.push(t)}function ma(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ha{constructor(){this.subscriptions=[]}add(e){return pa(this.subscriptions,e),()=>ma(this.subscriptions,e)}notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let o=0;o<i;o++){const i=this.subscriptions[o];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ga=new Set;function fa(e,t,n){e||ga.has(t)||(console.warn(t),ga.add(t))}class ba{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:i}=eo;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,so.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=()=>so.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&&fa(!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 ha);const n=this.events[e].add(t);return"change"===e?()=>{n(),so.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?Tr(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 va(e,t){return new ba(e,t)}const ya=e=>t=>t.test(e),xa=[Jn,oi,ii,ni,ai,ri,{test:e=>"auto"===e,parse:e=>e}],Ia=e=>xa.find(ya(e)),wa=[...xa,or,yr],Ca=e=>wa.find(ya(e));function Na(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,va(n))}function Aa(e,t){if(!t)return;return(t[e]||t.default||t).from}function ka({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function Ga(e,t,{delay:n=0,transitionOverride:i,type:o}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");i&&(r=i);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const i=e.getValue(t),o=s[t];if(!i||void 0===o||u&&ka(u,t))continue;const a={delay:n,elapsed:0,...r};if(window.HandoffAppearAnimations&&!i.hasAnimated){const n=e.getProps()[Co];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,i,so))}i.start(ca(t,i,o,e.shouldReduceMotion&&Xn.has(t)?{type:!1}:a));const d=i.animation;ua(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=wo(e,t);let{transitionEnd:i={},transition:o={},...r}=n?e.makeTargetAnimatable(n,!1):{};r={...r,...i};for(const t in r)Na(e,t,Li(r[t]))}(e,a)}),c}function Pa(e,t,n={}){const i=wo(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(Ga(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:r=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,i=0,o=1,r){const a=[],s=(e.variantChildren.size-1)*i,l=1===o?(e=0)=>e*i:(e=0)=>s-e*i;return Array.from(e.variantChildren).sort(Va).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(Pa(e,t,{...r,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,r+i,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[r,a]:[a,r];return e().then(()=>t())}return Promise.all([r(),a(n.delay)])}function Va(e,t){return e.sortNodePosition(t)}const Ba=[...yn].reverse(),Ta=yn.length;function Sa(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Pa(e,t,n));i=Promise.all(o)}else if("string"==typeof t)i=Pa(e,t,n);else{const o="function"==typeof t?wo(e,t,n.custom):t;i=Promise.all(Ga(e,o,n))}return i.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Ea(e){let t=Sa(e);const n={animate:Ma(!0),whileInView:Ma(),whileHover:Ma(),whileTap:Ma(),whileDrag:Ma(),whileFocus:Ma(),exit:Ma()};let i=!0;const o=(t,n)=>{const i=wo(e,n);if(i){const{transition:e,transitionEnd:n,...o}=i;t={...t,...o,...n}}return t};function r(r,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Ta;t++){const m=Ba[t],h=n[m],g=void 0!==s[m]?s[m]:l[m],f=bn(g),b=m===a?h.isActive:null;!1===b&&(p=t);let v=g===l[m]&&g!==s[m]&&f;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!g&&!h.prevProp||vn(g)||"boolean"==typeof g)continue;const y=Ra(h.prevProp,g);let x=y||m===a&&h.isActive&&!v&&f||t>p&&f;const I=Array.isArray(g)?g:[g];let w=I.reduce(o,{});!1===b&&(w={});const{prevResolvedValues:C={}}=h,N={...C,...w},A=e=>{x=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=w[e],n=C[e];d.hasOwnProperty(e)||(t!==n?Mi(t)&&Mi(n)?!Io(t,n)||y?A(e):h.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):h.protectedKeys[e]=!0)}h.prevProp=g,h.prevResolvedValues=w,h.isActive&&(d={...d,...w}),i&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:m,...r}})))}if(u.size){const t={};u.forEach(n=>{const i=e.getBaseTarget(n);void 0!==i&&(t[n]=i)}),c.push({animation:t})}let m=Boolean(c.length);return i&&!1===s.initial&&!e.manuallyAnimateOnMount&&(m=!1),i=!1,m?t(c):Promise.resolve()}return{animateChanges:r,setActive:function(t,i,o){var a;if(n[t].isActive===i)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;const s=r(o,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Ra(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Io(t,e)}function Ma(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let La=0;const Xa={animation:{Feature:class extends qi{constructor(e){super(e),e.animationState||(e.animationState=Ea(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),vn(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 qi{constructor(){super(...arguments),this.id=La++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Wa=(e,t)=>Math.abs(e-t);class Oa{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=Za(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Wa(e.x,t.x),i=Wa(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:o}=eo;this.history.push({...i,timestamp:o});const{onStart:r,onMove:a}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Fa(t,this.transformPagePoint),so.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,o=Za("pointercancel"===e.type?this.lastMoveEventInfo:Fa(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),i&&i(e,o)},!zi(e))return;this.handlers=t,this.transformPagePoint=n;const i=Fa(Hi(e),this.transformPagePoint),{point:o}=i,{timestamp:r}=eo;this.history=[{...o,timestamp:r}];const{onSessionStart:a}=t;a&&a(e,Za(i,this.history)),this.removeListeners=Ji(ji(window,"pointermove",this.handlePointerMove),ji(window,"pointerup",this.handlePointerUp),ji(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),lo(this.updatePoint)}}function Fa(e,t){return t?{point:t(e.point)}:e}function Da(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Za({point:e},t){return{point:e,delta:Da(e,Ha(t)),offset:Da(e,za(t)),velocity:ja(t,.1)}}function za(e){return e[0]}function Ha(e){return e[e.length-1]}function ja(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=Ha(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>ko(t)));)n--;if(!i)return{x:0,y:0};const r=Go(o.timestamp-i.timestamp);if(0===r)return{x:0,y:0};const a={x:(o.x-i.x)/r,y:(o.y-i.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Ya(e){return e.max-e.min}function Ja(e,t=0,n=.01){return Math.abs(e-t)<=n}function Ua(e,t,n,i=.5){e.origin=i,e.originPoint=rr(t.min,t.max,e.origin),e.scale=Ya(n)/Ya(t),(Ja(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=rr(n.min,n.max,e.origin)-e.originPoint,(Ja(e.translate)||isNaN(e.translate))&&(e.translate=0)}function $a(e,t,n,i){Ua(e.x,t.x,n.x,i?i.originX:void 0),Ua(e.y,t.y,n.y,i?i.originY:void 0)}function Qa(e,t,n){e.min=n.min+t.min,e.max=e.min+Ya(t)}function _a(e,t,n){e.min=t.min-n.min,e.max=e.min+Ya(t)}function Ka(e,t,n){_a(e.x,t.x,n.x),_a(e.y,t.y,n.y)}function qa(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 es(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const ts=.35;function ns(e,t,n){return{min:is(e,t),max:is(e,n)}}function is(e,t){return"number"==typeof e?e:e[t]||0}const os=()=>({x:{min:0,max:0},y:{min:0,max:0}});function rs(e){return[e("x"),e("y")]}function as({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function ss(e){return void 0===e||1===e}function ls({scale:e,scaleX:t,scaleY:n}){return!ss(e)||!ss(t)||!ss(n)}function cs(e){return ls(e)||us(e)||e.z||e.rotate||e.rotateX||e.rotateY}function us(e){return ds(e.x)||ds(e.y)}function ds(e){return e&&"0%"!==e}function ps(e,t,n){return n+t*(e-n)}function ms(e,t,n,i,o){return void 0!==o&&(e=ps(e,o,i)),ps(e,n,i)+t}function hs(e,t=0,n=1,i,o){e.min=ms(e.min,t,n,i,o),e.max=ms(e.max,t,n,i,o)}function gs(e,{x:t,y:n}){hs(e.x,t.translate,t.scale,t.originPoint),hs(e.y,n.translate,n.scale,n.originPoint)}function fs(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function bs(e,t){e.min=e.min+t,e.max=e.max+t}function vs(e,t,[n,i,o]){const r=void 0!==t[o]?t[o]:.5,a=rr(e.min,e.max,r);hs(e,t[n],t[i],a,t.scale)}const ys=["x","scaleX","originX"],xs=["y","scaleY","originY"];function Is(e,t){vs(e.x,t,ys),vs(e.y,t,xs)}function ws(e,t){return as(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const Cs=new WeakMap;class Ns{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 Oa(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Hi(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=_i(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),rs(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ii.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Ya(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&so.update(()=>o(e,t),!1,!0);const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:o,onDrag:r}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),r&&r(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&so.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!As(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?rr(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?rr(n,e,i.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;e&&fn(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:i,right:o}){return{x:qa(e.x,n,o),y:qa(e.y,t,i)}}(n.layoutBox,e),this.elastic=function(e=ts){return!1===e?e=0:!0===e&&(e=ts),{x:ns(e,"left","right"),y:ns(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&rs(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||!fn(e))return!1;const n=e.current;Ao(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=function(e,t,n){const i=ws(e,n),{scroll:o}=t;return o&&(bs(i.x,o.offset.x),bs(i.y,o.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:es(e.x,t.x),y:es(e.y,t.y)}}(i.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=as(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=rs(a=>{if(!As(a,t,this.currentDirection))return;let l=s&&s[a]||{};r&&(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(ca(e,n,0,t))}stopAnimation(){rs(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){rs(t=>{const{drag:n}=this.getProps();if(!As(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:r}=i.layout.layoutBox[t];o.set(e[t]-rr(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!fn(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};rs(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();i[e]=function(e,t){let n=.5;const i=Ya(e),o=Ya(t);return o>i?n=Ar(t.min,t.max-i,e.min):i>o&&(n=Ar(e.min,e.max-o,t.min)),Yn(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),rs(t=>{if(!As(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(rr(o,r,i[t]))})}addListeners(){if(!this.visualElement.current)return;Cs.set(this.visualElement,this);const e=ji(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();fn(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=Zi(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(rs(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),i(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=ts,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function As(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ks=e=>(t,n)=>{e&&so.update(()=>e(t,n))};const Gs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Ps(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Vs={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!oi.test(e))return e;e=parseFloat(e)}return`${Ps(e,t.target.x)}% ${Ps(e,t.target.y)}%`}},Bs={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=yr.parse(e);if(o.length>5)return i;const r=yr.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=rr(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),r(o)}};class Ts extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=e;var r;r=Es,Object.assign(Mn,r),o&&(t.group&&t.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Gs.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:o}=this.props,r=n.projection;return r?(r.isPresent=o,i||e.layoutDependency!==t||void 0===t?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||so.postRender(()=>{const e=r.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ss(e){const[t,n]=function(){const e=h(pn);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,o=f();return u(()=>i(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),i=h(Gn);return o.createElement(Ts,{...e,layoutGroup:i,switchLayoutGroup:h(Pn),isPresent:t,safeToRemove:n})}const Es={borderRadius:{...Vs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Vs,borderTopRightRadius:Vs,borderBottomLeftRadius:Vs,borderBottomRightRadius:Vs,boxShadow:Bs},Rs=["TopLeft","TopRight","BottomLeft","BottomRight"],Ms=Rs.length,Ls=e=>"string"==typeof e?parseFloat(e):e,Xs=e=>"number"==typeof e||oi.test(e);function Ws(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Os=Ds(0,.5,jo),Fs=Ds(.5,.95,po);function Ds(e,t,n){return i=>i<e?0:i>t?1:n(Ar(e,t,i))}function Zs(e,t){e.min=t.min,e.max=t.max}function zs(e,t){Zs(e.x,t.x),Zs(e.y,t.y)}function Hs(e,t,n,i,o){return e=ps(e-=t,1/n,i),void 0!==o&&(e=ps(e,1/o,i)),e}function js(e,t,[n,i,o],r,a){!function(e,t=0,n=1,i=.5,o,r=e,a=e){ii.test(t)&&(t=parseFloat(t),t=rr(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=rr(r.min,r.max,i);e===r&&(s-=t),e.min=Hs(e.min,t,n,s,o),e.max=Hs(e.max,t,n,s,o)}(e,t[n],t[i],t[o],t.scale,r,a)}const Ys=["x","scaleX","originX"],Js=["y","scaleY","originY"];function Us(e,t,n,i){js(e.x,t,Ys,n?n.x:void 0,i?i.x:void 0),js(e.y,t,Js,n?n.y:void 0,i?i.y:void 0)}function $s(e){return 0===e.translate&&1===e.scale}function Qs(e){return $s(e.x)&&$s(e.y)}function _s(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 Ks(e){return Ya(e.x)/Ya(e.y)}class qs{constructor(){this.members=[]}add(e){pa(this.members,e),e.scheduleRender()}remove(e){if(ma(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function el(e,t,n){let i="";const o=e.x.translate/t.x,r=e.y.translate/t.y;if((o||r)&&(i=`translate3d(${o}px, ${r}px, 0) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(i+=`rotate(${e}deg) `),t&&(i+=`rotateX(${t}deg) `),o&&(i+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(i+=`scale(${a}, ${s})`),i||"none"}const tl=(e,t)=>e.depth-t.depth;class nl{constructor(){this.children=[],this.isDirty=!1}add(e){pa(this.children,e),this.isDirty=!0}remove(e){ma(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(tl),this.isDirty=!1,this.children.forEach(e)}}const il=["","X","Y","Z"];let ol=0;const rl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function al({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=ol++,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;rl.totalNodes=rl.resolvedTargetDeltas=rl.recalculatedProjection=0,this.nodes.forEach(cl),this.nodes.forEach(fl),this.nodes.forEach(bl),this.nodes.forEach(ul),e=rl,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 nl)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ha),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=t)instanceof SVGElement&&"svg"!==i.tagName,this.instance=t;const{layoutId:o,layout:r,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||o)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),i=({timestamp:o})=>{const r=o-n;r>=t&&(lo(i),e(r-t))};return so.read(i,!0),()=>lo(i)}(i,250),Gs.hasAnimatedSinceResize&&(Gs.hasAnimatedSinceResize=!1,this.nodes.forEach(gl))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||Cl,{onLayoutAnimationStart:r,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!_s(this.targetLayout,i)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...la(o,"layout"),onPlay:r,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||gl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,lo(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(vl),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(pl);this.isUpdating||this.nodes.forEach(ml),this.isUpdating=!1,this.nodes.forEach(hl),this.nodes.forEach(sl),this.nodes.forEach(ll),this.clearAllSnapshots();const e=performance.now();eo.delta=Yn(0,1e3/60,e-eo.timestamp),eo.timestamp=e,eo.isProcessing=!0,oo.update.process(eo),oo.preRender.process(eo),oo.render.process(eo),eo.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(dl),this.sharedNodes.forEach(yl)}scheduleUpdateProjection(){so.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){so.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Qs(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||cs(this.latestValues)||r)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),Nl((i=n).x),Nl(i.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(bs(t.x,n.offset.x),bs(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};zs(t,e);for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:o,options:r}=i;if(i!==this.root&&o&&r.layoutScroll){if(o.isRoot){zs(t,e);const{scroll:n}=this.root;n&&(bs(t.x,-n.offset.x),bs(t.y,-n.offset.y))}bs(t.x,o.offset.x),bs(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};zs(n,e);for(let e=0;e<this.path.length;e++){const i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Is(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),cs(i.latestValues)&&Is(n,i.latestValues)}return cs(this.latestValues)&&Is(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};zs(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!cs(n.latestValues))continue;ls(n.latestValues)&&n.updateSnapshot();const i=os();zs(i,n.measurePageBox()),Us(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return cs(this.latestValues)&&Us(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!==eo.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:r}=this.options;if(this.layout&&(o||r)){if(this.resolvedRelativeTargetAt=eo.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}},Ka(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),zs(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,Qa(a.x,s.x,l.x),Qa(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):zs(this.target,this.layout.layoutBox),gs(this.target,this.targetDelta)):zs(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}},Ka(this.relativeTargetOrigin,this.target,e.target),zs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ls(this.parent.latestValues)&&!us(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===eo.timestamp&&(i=!1),i)return;const{layout:o,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!r)return;zs(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,i=!1){const o=n.length;if(!o)return;let r,a;t.x=t.y=1;for(let s=0;s<o;s++){r=n[s],a=r.projectionDelta;const o=r.instance;o&&o.style&&"contents"===o.style.display||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Is(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,gs(e,a)),i&&cs(r.latestValues)&&Is(e,r.latestValues))}t.x=fs(t.x),t.y=fs(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;$a(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=el(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(wl));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;xl(r.x,e.x,n),xl(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ka(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){Il(e.x,t.x,n.x,i),Il(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&_s(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),zs(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,i,o,r){o?(e.opacity=rr(0,void 0!==n.opacity?n.opacity:1,Os(i)),e.opacityExit=rr(void 0!==t.opacity?t.opacity:1,0,Fs(i))):r&&(e.opacity=rr(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<Ms;o++){const r=`border${Rs[o]}Radius`;let a=Ws(t,r),s=Ws(n,r);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Xs(a)===Xs(s)?(e[r]=Math.max(rr(Ls(a),Ls(s),i),0),(ii.test(s)||ii.test(a))&&(e[r]+="%")):e[r]=s)}(t.rotate||n.rotate)&&(e.rotate=rr(t.rotate||0,n.rotate||0,i))}(o,i,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(lo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=so.update(()=>{Gs.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=On(e)?e:va(e);return i.start(ca("",i,t,n)),i.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:i,latestValues:o}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&Al(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ya(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Ya(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}zs(t,n),Is(t,o),$a(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new qs);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const i={};for(let t=0;t<il.length;t++){const o="rotate"+il[t];n[o]&&(i[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in i)e.setStaticValue(t,i[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=Xi(e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Xi(e.pointerEvents)||""),this.hasProjected&&!cs(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=el(this.projectionDeltaWithTransform,this.treeScale,a),o&&(i.transform=o(a,i.transform));const{x:s,y:l}=this.projectionDelta;i.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,r.animationValues?i.opacity=r===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:i.opacity=r===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Mn){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Mn[e],o="none"===i.transform?a[e]:t(a[e],r);if(n){const e=n.length;for(let t=0;t<e;t++)i[n[t]]=o}else i[e]=o}return this.options.layoutId&&(i.pointerEvents=r===this?Xi(e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(pl),this.root.sharedNodes.clear()}}}function sl(e){e.updateLayout()}function ll(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:i}=e.layout,{animationType:o}=e.options,r=n.source!==e.layout.source;"size"===o?rs(e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],o=Ya(i);i.min=t[e].min,i.max=i.min+o}):Al(o,n.layoutBox,t)&&rs(i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],a=Ya(t[i]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};$a(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?$a(s,e.applyTransform(i,!0),n.measuredBox):$a(s,t,n.layoutBox);const l=!Qs(a);let c=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:o,layout:r}=i;if(o&&r){const a={x:{min:0,max:0},y:{min:0,max:0}};Ka(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Ka(s,t,r.layoutBox),_s(a,s)||(c=!0),i.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function cl(e){rl.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 ul(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function dl(e){e.clearSnapshot()}function pl(e){e.clearMeasurements()}function ml(e){e.isLayoutDirty=!1}function hl(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function gl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function fl(e){e.resolveTargetDelta()}function bl(e){e.calcProjection()}function vl(e){e.resetRotation()}function yl(e){e.removeLeadSnapshot()}function xl(e,t,n){e.translate=rr(t.translate,0,n),e.scale=rr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Il(e,t,n,i){e.min=rr(t.min,n.min,i),e.max=rr(t.max,n.max,i)}function wl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Cl={duration:.45,ease:[.4,0,.1,1]};function Nl(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Al(e,t,n){return"position"===e||"preserve-aspect"===e&&!Ja(Ks(t),Ks(n),.2)}const kl=al({attachResizeListener:(e,t)=>Zi(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Gl={current:void 0},Pl=al({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Gl.current){const e=new kl({});e.mount(window),e.setOptions({layoutScroll:!0}),Gl.current=e}return Gl.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Vl={pan:{Feature:class extends qi{constructor(){super(...arguments),this.removePointerDownListener=po}onPointerDown(e){this.session=new Oa(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:ks(e),onStart:ks(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&so.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=ji(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 qi{constructor(e){super(e),this.removeGroupControls=po,this.removeListeners=po,this.controls=new Ns(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||po}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Pl,MeasureLayout:Ss}},Bl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Tl(e,t,n=1){Ao(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,o]=function(e){const t=Bl.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]}(e);if(!i)return;const r=window.getComputedStyle(t).getPropertyValue(i);return r?r.trim():Hn(o)?Tl(o,t,n+1):o}const Sl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),El=e=>Sl.has(e),Rl=e=>e===Jn||e===oi,Ml=(e,t)=>parseFloat(e.split(", ")[t]),Ll=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/);if(o)return Ml(o[1],t);{const t=i.match(/^matrix\((.+)\)$/);return t?Ml(t[1],e):0}},Xl=new Set(["x","y","z"]),Wl=Ln.filter(e=>!Xl.has(e));const Ol={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:Ll(4,13),y:Ll(5,14)},Fl=(e,t,n={},i={})=>{t={...t},i={...i};const o=Object.keys(t).filter(El);let r=[],a=!1;const s=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=Ia(c);const d=t[o];let p;if(Mi(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Ia(c);for(let n=t;n<e&&null!==d[n];n++)p?Ao(Ia(d[n])===p,"All keyframes must be of the same type"):(p=Ia(d[n]),Ao(p===u||Rl(u)&&Rl(p),"Keyframes must be of the same dimension as the current value"))}else p=Ia(d);if(u!==p)if(Rl(u)&&Rl(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&p===oi&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[o]=u.transform(d):(a||(r=function(e){const t=[];return Wl.forEach(n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),i[o]=void 0!==i[o]?i[o]:t[o],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const i=t.measureViewportBox(),o=t.current,r=getComputedStyle(o),{display:a}=r,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=Ol[e](i,r)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const i=t.getValue(n);i&&i.jump(s[n]),e[n]=Ol[n](l,r)}),e})(t,e,s);return r.length&&r.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),mn&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:i}}return{target:t,transitionEnd:i}};function Dl(e,t,n,i){return(e=>Object.keys(e).some(El))(t)?Fl(e,t,n,i):{target:t,transitionEnd:i}}const Zl=(e,t,n,i)=>{const o=function(e,{...t},n){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Hn(t))return;const n=Tl(t,i);n&&e.set(n)});for(const e in t){const o=t[e];if(!Hn(o))continue;const r=Tl(o,i);r&&(t[e]=r,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,i);return Dl(e,t=o.target,n,i=o.transitionEnd)},zl={current:null},Hl={current:!1};const jl=new WeakMap,Yl=Object.keys(kn),Jl=Yl.length,Ul=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],$l=xn.length;class Ql{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,visualState:o},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>so.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.isControllingVariants=In(t),this.isVariantNode=wn(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]&&On(t)&&(t.set(a[e],!1),ua(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,jl.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)),Hl.current||function(){if(Hl.current=!0,mn)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>zl.current=e.matches;e.addListener(t),t()}else zl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||zl.current),"production"!==process.env.NODE_ENV&&fa(!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(){jl.delete(this.current),this.projection&&this.projection.unmount(),lo(this.notifyUpdate),lo(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=Xn.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&so.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,i,o){let r,a;if("production"!==process.env.NODE_ENV&&i&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?No(!1,e):Ao(!1,e)}for(let e=0;e<Jl;e++){const n=Yl[e],{isEnabled:i,Feature:o,ProjectionNode:s,MeasureLayout:l}=kn[n];s&&(r=s),i(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(a=l))}if(!this.projection&&r){this.projection=new r(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:i,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(i)||a&&fn(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ul.length;t++){const n=Ul[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){const{willChange:i}=t;for(const o in t){const r=t[o],a=n[o];if(On(r))e.addValue(o,r),ua(i)&&i.add(o),"development"===process.env.NODE_ENV&&fa("10.12.16"===r.version,`Attempting to mix Framer Motion versions ${r.version} with 10.12.16 may not work as expected.`);else if(On(a))e.addValue(o,va(r,{owner:e})),ua(i)&&i.remove(o);else if(a!==r)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(r)}else{const t=e.getStaticValue(o);e.addValue(o,va(void 0!==t?t:r,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<$l;e++){const n=xn[e],i=this.props[n];(bn(i)||!1===i)&&(t[n]=i)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=va(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,i="string"==typeof n||"object"==typeof n?null===(t=Ei(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==i)return i;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||On(o)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new ha),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class _l extends Ql{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:i},o){let r=function(e,t,n){const i={};for(const o in e){const e=Aa(o,t);if(void 0!==e)i[o]=e;else{const e=n.getValue(o);e&&(i[o]=e.get())}}return i}(n,e||{},this);if(i&&(t&&(t=i(t)),n&&(n=i(n)),r&&(r=i(r))),o){!function(e,t,n){var i,o;const r=Object.keys(t).filter(t=>!e.hasValue(t)),a=r.length;if(a)for(let s=0;s<a;s++){const a=r[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(i=n[a])&&void 0!==i?i:e.readValue(a))&&void 0!==o?o:t[a]),null!=c&&("string"==typeof c&&(da(c)||aa(c))?c=parseFloat(c):!Ca(c)&&yr.test(l)&&(c=ra(a,l)),e.addValue(a,va(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,r);const e=Zl(this,n,r,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Kl extends _l{readValueFromInstance(e,t){if(Xn.has(t)){const e=oa(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),o=(zn(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ws(e,t)}build(e,t,n,i){ui(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Ti(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;On(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,i){Pi(e,t,n,i)}}class ql extends _l{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Xn.has(t)){const e=oa(t);return e&&e.default||0}return t=Vi.has(t)?t:Gi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Si(e,t)}build(e,t,n,i){wi(e,t,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,n,i){Bi(e,t,0,i)}mount(e){this.isSVGTag=Ni(e.tagName),super.mount(e)}}const ec=(e,t)=>Rn(e)?new ql(t,{enableHardwareAcceleration:!1}):new Kl(t,{enableHardwareAcceleration:!0}),tc={...Xa,...xo,...Vl,...{layout:{ProjectionNode:Pl,MeasureLayout:Ss}}},nc=Sn((e,t)=>function(e,{forwardMotionProps:t=!1},n,i){return{...Rn(e)?Fi:Di,preloadedFeatures:n,useRender:ki(t),createVisualElement:i,Component:e}}(e,t,tc,ec));function ic(){const e=l(!1);return hn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class oc extends i.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function rc({children:e,isPresent:t}){const n=f(),o=l(null),r=l({width:0,height:0,top:0,left:0});return g(()=>{const{width:e,height:i,top:a,left:s}=r.current;if(t||!o.current||!e||!i)return;o.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${i}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),i.createElement(oc,{isPresent:t,childRef:o,sizeRef:r},i.cloneElement(e,{ref:o}))}const ac=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:r,presenceAffectsLayout:s,mode:l})=>{const c=Ri(sc),u=f(),d=a(()=>({id:u,initial:t,isPresent:n,custom:r,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;o&&o()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[n]);return a(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),i.useEffect(()=>{!n&&!c.size&&o&&o()},[n]),"popLayout"===l&&(e=i.createElement(rc,{isPresent:n},e)),i.createElement(pn.Provider,{value:d},e)};function sc(){return new Map}const lc=e=>e.key||"";const cc=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:r,presenceAffectsLayout:a=!0,mode:s="sync"})=>{Ao(!r,"Replace exitBeforeEnter with mode='wait'");const p=h(Gn).forceRender||function(){const e=ic(),[t,n]=c(0),i=d(()=>{e.current&&n(t+1)},[t]);return[d(()=>so.postRender(i),[i]),t]}()[0],m=ic(),g=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let f=g;const x=l(new Map).current,I=l(f),w=l(new Map).current,C=l(!0);var N;if(hn(()=>{C.current=!1,function(e,t){e.forEach(e=>{const n=lc(e);t.set(n,e)})}(g,w),I.current=f}),N=()=>{C.current=!0,w.clear(),x.clear()},u(()=>()=>N(),[]),C.current)return i.createElement(i.Fragment,null,f.map(e=>i.createElement(ac,{key:lc(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:a,mode:s},e)));f=[...f];const A=I.current.map(lc),k=g.map(lc),G=A.length;for(let e=0;e<G;e++){const t=A[e];-1!==k.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===s&&x.size&&(f=[]),x.forEach((e,n)=>{if(-1!==k.indexOf(n))return;const r=w.get(n);if(!r)return;const l=A.indexOf(n);let c=e;if(!c){const e=()=>{w.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=g,!1===m.current)return;p(),o&&o()}};c=i.createElement(ac,{key:lc(r),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:a,mode:s},r),x.set(n,c)}f.splice(l,0,c)}),f=f.map(e=>{const t=e.key;return x.has(t)?e:i.createElement(ac,{key:lc(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)}),"production"!==process.env.NODE_ENV&&"wait"===s&&f.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),i.createElement(i.Fragment,null,x.size?f:f.map(e=>b(e)))};function uc(){return uc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},uc.apply(null,arguments)}function dc(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(null==e||e(i),!1===n||!i.defaultPrevented)return null==t?void 0:t(i)}}function pc(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function mc(...e){return d(pc(...e),e)}function hc(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=n.reduce((t,{useScope:n,scopeName:i})=>({...t,...n(e)[`__scope${i}`]}),{});return a(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const gc=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?m:()=>{},fc=i["useId".toString()]||(()=>{});let bc=0;function vc(e){const[t,n]=i.useState(fc());return gc(()=>{n(e=>null!=e?e:String(bc++))},[e]),e||(t?`radix-${t}`:"")}function yc(e){const t=l(e);return u(()=>{t.current=e}),a(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function xc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[i,o]=function({defaultProp:e,onChange:t}){const n=c(e),[i]=n,o=l(i),r=yc(t);return u(()=>{o.current!==i&&(r(i),o.current=i)},[i,o,r]),n}({defaultProp:t,onChange:n}),r=void 0!==e,a=r?e:i,s=yc(n);return[a,d(t=>{if(r){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else o(t)},[r,e,o,s])]}const Ic=r((e,t)=>{const{children:n,...i}=e,o=v.toArray(n),r=o.find(Nc);if(r){const e=r.props.children,n=o.map(t=>t===r?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return s(wc,uc({},i,{ref:t}),y(e)?b(e,void 0,n):null)}return s(wc,uc({},i,{ref:t}),n)});Ic.displayName="Slot";const wc=r((e,t)=>{const{children:n,...i}=e;return y(n)?b(n,{...Ac(i,n.props),ref:t?pc(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});wc.displayName="SlotClone";const Cc=({children:e})=>s(x,null,e);function Nc(e){return y(e)&&e.type===Cc}function Ac(e,t){const n={...t};for(const i in t){const o=e[i],r=t[i];/^on[A-Z]/.test(i)?o&&r?n[i]=(...e)=>{r(...e),o(...e)}:o&&(n[i]=o):"style"===i?n[i]={...o,...r}:"className"===i&&(n[i]=[o,r].filter(Boolean).join(" "))}return{...e,...n}}const kc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=r((e,n)=>{const{asChild:i,...o}=e,r=i?Ic:t;return u(()=>{window[Symbol.for("radix-ui")]=!0},[]),s(r,uc({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Gc="dismissableLayer.update",Pc="dismissableLayer.pointerDownOutside",Vc="dismissableLayer.focusOutside";let Bc;const Tc=p({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Sc=r((e,t)=>{var n;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:d,onDismiss:p,...m}=e,g=h(Tc),[f,b]=c(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=mc(t,e=>b(e)),I=Array.from(g.layers),[w]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),C=I.indexOf(w),N=f?I.indexOf(f):-1,A=g.layersWithOutsidePointerEventsDisabled.size>0,k=N>=C,G=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=yc(e),i=l(!1),o=l(()=>{});return u(()=>{const e=e=>{if(e.target&&!i.current){const r={originalEvent:e};function a(){Rc(Pc,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...g.branches].some(e=>e.contains(t));k&&!n&&(null==r||r(e),null==d||d(e),e.defaultPrevented||null==p||p())},v),P=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=yc(e),i=l(!1);return u(()=>{const e=e=>{if(e.target&&!i.current){Rc(Vc,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{const t=e.target;[...g.branches].some(e=>e.contains(t))||(null==a||a(e),null==d||d(e),e.defaultPrevented||null==p||p())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=yc(e);u(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{N===g.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))},v),u(()=>{if(f)return i&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(Bc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(f)),g.layers.add(f),Ec(),()=>{i&&1===g.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=Bc)}},[f,v,i,g]),u(()=>()=>{f&&(g.layers.delete(f),g.layersWithOutsidePointerEventsDisabled.delete(f),Ec())},[f,g]),u(()=>{const e=()=>y({});return document.addEventListener(Gc,e),()=>document.removeEventListener(Gc,e)},[]),s(kc.div,uc({},m,{ref:x,style:{pointerEvents:A?k?"auto":"none":void 0,...e.style},onFocusCapture:dc(e.onFocusCapture,P.onFocusCapture),onBlurCapture:dc(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:dc(e.onPointerDownCapture,G.onPointerDownCapture)}))});function Ec(){const e=new CustomEvent(Gc);document.dispatchEvent(e)}function Rc(e,t,n,{discrete:i}){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?function(e,t){e&&E(()=>e.dispatchEvent(t))}(o,r):o.dispatchEvent(r)}const Mc="focusScope.autoFocusOnMount",Lc="focusScope.autoFocusOnUnmount",Xc={bubbles:!1,cancelable:!0},Wc=r((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:r,...a}=e,[p,m]=c(null),h=yc(o),g=yc(r),f=l(null),b=mc(t,e=>m(e)),v=l({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u(()=>{if(i){function e(e){if(v.paused||!p)return;const t=e.target;p.contains(t)?f.current=t:Zc(f.current,{select:!0})}function t(e){if(v.paused||!p)return;const t=e.relatedTarget;null!==t&&(p.contains(t)||Zc(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Zc(p)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return p&&o.observe(p,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[i,p,v.paused]),u(()=>{if(p){zc.add(v);const t=document.activeElement;if(!p.contains(t)){const n=new CustomEvent(Mc,Xc);p.addEventListener(Mc,h),p.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(Zc(i,{select:t}),document.activeElement!==n)return}((e=Oc(p),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Zc(p))}return()=>{p.removeEventListener(Mc,h),setTimeout(()=>{const e=new CustomEvent(Lc,Xc);p.addEventListener(Lc,g),p.dispatchEvent(e),e.defaultPrevented||Zc(null!=t?t:document.body,{select:!0}),p.removeEventListener(Lc,g),zc.remove(v)},0)}}var e},[p,h,g,v]);const y=d(e=>{if(!n&&!i)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[i,r]=function(e){const t=Oc(e),n=Fc(t,e),i=Fc(t.reverse(),e);return[n,i]}(t);i&&r?e.shiftKey||o!==r?e.shiftKey&&o===i&&(e.preventDefault(),n&&Zc(r,{select:!0})):(e.preventDefault(),n&&Zc(i,{select:!0})):o===t&&e.preventDefault()}},[n,i,v.paused]);return s(kc.div,uc({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function Oc(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Fc(e,t){for(const n of e)if(!Dc(n,{upTo:t}))return n}function Dc(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 Zc(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 zc=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Hc(e,t),e.unshift(t)},remove(t){var n;e=Hc(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Hc(e,t){const n=[...e],i=n.indexOf(t);return-1!==i&&n.splice(i,1),n}const jc=r((e,t)=>{var n;const{container:i=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return i?S.createPortal(s(kc.div,uc({},o,{ref:t})),i):null});const Yc=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=c(),i=l({}),o=l(e),r=l("none"),a=e?"mounted":"unmounted",[s,p]=function(e,t){return I((e,n)=>{const i=t[e][n];return null!=i?i:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u(()=>{const e=Jc(i.current);r.current="mounted"===s?e:"none"},[s]),gc(()=>{const t=i.current,n=o.current;if(n!==e){const i=r.current,a=Jc(t);if(e)p("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))p("UNMOUNT");else{p(n&&i!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,p]),gc(()=>{if(t){const e=e=>{const n=Jc(i.current).includes(e.animationName);e.target===t&&n&&E(()=>p("ANIMATION_END"))},n=e=>{e.target===t&&(r.current=Jc(i.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}p("ANIMATION_END")},[t,p]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:d(e=>{e&&(i.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof n?n({present:i.isPresent}):v.only(n),r=mc(i.ref,o.ref);return"function"==typeof n||i.isPresent?b(o,{ref:r}):null};function Jc(e){return(null==e?void 0:e.animationName)||"none"}Yc.displayName="Presence";let Uc=0;function $c(){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 Qc=function(){return Qc=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Qc.apply(this,arguments)};function _c(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Kc="right-scroll-bar-position",qc="width-before-scroll-bar";function eu(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var tu="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,nu=new WeakMap;function iu(e,t){var n,i,o,r=(n=null,i=function(t){return e.forEach(function(e){return eu(e,t)})},(o=c(function(){return{value:n,callback:i,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=i,o.facade);return tu(function(){var t=nu.get(r);if(t){var n=new Set(t),i=new Set(e),o=r.current;n.forEach(function(e){i.has(e)||eu(e,null)}),i.forEach(function(e){n.has(e)||eu(e,o)})}nu.set(r,e)},[e]),r}function ou(e){return e}var ru=function(e){var t=e.sideCar,n=_c(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return i.createElement(o,Qc({},n))};ru.isSideCarExport=!0;var au=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=ou);var n=[],i=!1,o={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,i);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var r=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(r)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=Qc({async:!0,ssr:!1},e),t}(),su=function(){},lu=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:su,onWheelCapture:su,onTouchMoveCapture:su}),r=o[0],a=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=_c(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,I=iu([n,t]),w=Qc(Qc({},y),r);return i.createElement(i.Fragment,null,d&&i.createElement(x,{sideCar:au,removeScrollBar:u,shards:p,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n}),s?i.cloneElement(i.Children.only(l),Qc(Qc({},w),{ref:I})):i.createElement(v,Qc({},w,{className:c,ref:I}),l))});lu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},lu.classNames={fullWidth:qc,zeroRight:Kc};function cu(){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 uu=function(){var e=0,t=null;return{add:function(n){var i;0==e&&(t=cu())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},du=function(){var e,t=(e=uu(),function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,i=e.dynamic;return t(n,i),null}},pu={left:0,top:0,right:0,gap:0},mu=function(e){return parseInt(e||"",10)||0},hu=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return pu;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],i=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[mu(n),mu(i),mu(o)]}(e),n=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-n+t[2]-t[0])}},gu=du(),fu="data-scroll-locked",bu=function(e,t,n,i){var o=e.left,r=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(i,";\n padding-right: ").concat(s,"px ").concat(i,";\n }\n body[").concat(fu,"] {\n overflow: hidden ").concat(i,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(i,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(r,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(i,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(i,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Kc," {\n right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(qc," {\n margin-right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(Kc," .").concat(Kc," {\n right: 0 ").concat(i,";\n }\n \n .").concat(qc," .").concat(qc," {\n margin-right: 0 ").concat(i,";\n }\n \n body[").concat(fu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},vu=function(){var e=parseInt(document.body.getAttribute(fu)||"0",10);return isFinite(e)?e:0},yu=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=void 0===o?"margin":o;i.useEffect(function(){return document.body.setAttribute(fu,(vu()+1).toString()),function(){var e=vu()-1;e<=0?document.body.removeAttribute(fu):document.body.setAttribute(fu,e.toString())}},[]);var a=i.useMemo(function(){return hu(r)},[r]);return i.createElement(gu,{styles:bu(a,!t,r,n?"":"!important")})},xu=!1;if("undefined"!=typeof window)try{var Iu=Object.defineProperty({},"passive",{get:function(){return xu=!0,!0}});window.addEventListener("test",Iu,Iu),window.removeEventListener("test",Iu,Iu)}catch(e){xu=!1}var wu=!!xu&&{passive:!1},Cu=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])},Nu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Au(e,n)){var i=ku(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Au=function(e,t){return"v"===e?function(e){return Cu(e,"overflowY")}(t):function(e){return Cu(e,"overflowX")}(t)},ku=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},Gu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Pu=function(e){return[e.deltaX,e.deltaY]},Vu=function(e){return e&&"current"in e?e.current:e},Bu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Tu=0,Su=[];var Eu,Ru=(Eu=function(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),r=i.useState(Tu++)[0],a=i.useState(function(){return du()})[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Vu),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,r=Gu(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-r[0],c="deltaY"in e?e.deltaY:a[1]-r[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=Nu(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=Nu(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=i),!i)return!0;var m=o.current||i;return function(e,t,n,i){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),r=o*i,a=n.target,s=t.contains(a),l=!1,c=r>0,u=0,d=0;do{var p=ku(e,a),m=p[0],h=p[1]-p[2]-o*m;(m||h)&&Au(e,a)&&(u+=h,d+=m),a=a.parentNode}while(!s&&a!==document.body||s&&(t.contains(a)||t===a));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=i.useCallback(function(e){var n=e;if(Su.length&&Su[Su.length-1]===a){var i="deltaY"in n?Pu(n):Gu(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=i,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var r=(s.current.shards||[]).map(Vu).filter(Boolean).filter(function(e){return e.contains(n.target)});(r.length>0?l(n,r[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=i.useCallback(function(e,n,i,o){var r={name:e,delta:n,target:i,should:o};t.current.push(r),setTimeout(function(){t.current=t.current.filter(function(e){return e!==r})},1)},[]),d=i.useCallback(function(e){n.current=Gu(e),o.current=void 0},[]),p=i.useCallback(function(t){u(t.type,Pu(t),t.target,l(t,e.lockRef.current))},[]),m=i.useCallback(function(t){u(t.type,Gu(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return Su.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,wu),document.addEventListener("touchmove",c,wu),document.addEventListener("touchstart",d,wu),function(){Su=Su.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,wu),document.removeEventListener("touchmove",c,wu),document.removeEventListener("touchstart",d,wu)}},[]);var h=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:Bu(r)}):null,h?i.createElement(yu,{gapMode:"margin"}):null)},au.useMedium(Eu),ru),Mu=i.forwardRef(function(e,t){return i.createElement(lu,Qc({},e,{ref:t,sideCar:Ru}))});Mu.classNames=lu.classNames;var Lu=new WeakMap,Xu=new WeakMap,Wu={},Ou=0,Fu=function(e){return e&&(e.host||Fu(e.parentNode))},Du=function(e,t,n,i){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Fu(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);Wu[n]||(Wu[n]=new WeakMap);var r=Wu[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(i),o=null!==t&&"false"!==t,l=(Lu.get(e)||0)+1,c=(r.get(e)||0)+1;Lu.set(e,l),r.set(e,c),a.push(e),1===l&&o&&Xu.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(i,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Ou++,function(){a.forEach(function(e){var t=Lu.get(e)-1,o=r.get(e)-1;Lu.set(e,t),r.set(e,o),t||(Xu.has(e)||e.removeAttribute(i),Xu.delete(e)),o||e.removeAttribute(n)}),--Ou||(Lu=new WeakMap,Lu=new WeakMap,Xu=new WeakMap,Wu={})}},Zu=function(e,t,n){void 0===n&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(i.push.apply(i,Array.from(o.querySelectorAll("[aria-live], script"))),Du(i,o,n,"aria-hidden")):function(){return null}};const zu="Dialog",[Hu,ju]=function(e,t=[]){let n=[];const i=()=>{const t=n.map(e=>p(e));return function(n){const i=(null==n?void 0:n[e])||t;return a(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){const o=p(i),r=n.length;function l(t){const{scope:n,children:i,...l}=t,c=(null==n?void 0:n[e][r])||o,u=a(()=>l,Object.values(l));return s(c.Provider,{value:u},i)}return n=[...n,i],l.displayName=t+"Provider",[l,function(n,a){const s=(null==a?void 0:a[e][r])||o,l=h(s);if(l)return l;if(void 0!==i)return i;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},hc(i,...t)]}(zu),[Yu,Ju]=Hu(zu),Uu="DialogPortal",[$u,Qu]=Hu(Uu,{forceMount:void 0}),_u="DialogOverlay",Ku=r((e,t)=>{const n=Qu(_u,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=Ju(_u,e.__scopeDialog);return r.modal?s(Yc,{present:i||r.open},s(qu,uc({},o,{ref:t}))):null}),qu=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=Ju(_u,n);return s(Mu,{as:Ic,allowPinchZoom:!0,shards:[o.contentRef]},s(kc.div,uc({"data-state":ld(o.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))}),ed="DialogContent",td=r((e,t)=>{const n=Qu(ed,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=Ju(ed,e.__scopeDialog);return s(Yc,{present:i||r.open},r.modal?s(nd,uc({},o,{ref:t})):s(id,uc({},o,{ref:t})))}),nd=r((e,t)=>{const n=Ju(ed,e.__scopeDialog),i=l(null),o=mc(t,n.contentRef,i);return u(()=>{const e=i.current;if(e)return Zu(e)},[]),s(od,uc({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:dc(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:dc(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:dc(e.onFocusOutside,e=>e.preventDefault())}))}),id=r((e,t)=>{const n=Ju(ed,e.__scopeDialog),i=l(!1),o=l(!1);return s(od,uc({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;(null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented)||(i.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());i.current=!1,o.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),od=r((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:r,...a}=e,c=Ju(ed,n),d=mc(t,l(null));return u(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:$c()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:$c()),Uc++,()=>{1===Uc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Uc--}},[]),s(x,null,s(Wc,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:r},s(Sc,uc({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":ld(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),rd="DialogTitle",ad="DialogClose",sd=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=Ju(ad,n);return s(kc.button,uc({type:"button"},i,{ref:t,onClick:dc(e.onClick,()=>o.onOpenChange(!1))}))});function ld(e){return e?"open":"closed"}!function(e,t){const n=p(t);function i(e){const{children:t,...i}=e,o=a(()=>i,Object.values(i));return s(n.Provider,{value:o},t)}i.displayName=e+"Provider"}("DialogTitleWarning",{contentName:ed,titleName:rd,docsSlug:"dialog"});const cd=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:r,modal:a=!0}=e,c=l(null),u=l(null),[p=!1,m]=xc({prop:i,defaultProp:o,onChange:r});return s(Yu,{scope:t,triggerRef:c,contentRef:u,contentId:vc(),titleId:vc(),descriptionId:vc(),open:p,onOpenChange:m,onOpenToggle:d(()=>m(e=>!e),[m]),modal:a},n)},ud=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:o}=e,r=Ju(Uu,t);return s($u,{scope:t,forceMount:n},v.map(i,e=>s(Yc,{present:n||r.open},s(jc,{asChild:!0,container:o},e))))},dd=Ku,pd=td,md=sd,hd=n=>{const{isOpen:i,onRequestClose:o,size:r,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:p=0}=n;return e(cd,{open:i,onOpenChange:()=>i&&(null==o?void 0:o()),children:t(ud,{children:[e(nc.div,{initial:"closed",animate:i?"open":"closed",variants:sn,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(dd,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(nc.div,{initial:"closed",animate:i?"open":"closed",variants:ln,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(pd,{className:_e("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:cn[r||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":p,children:[e(md,{asChild:!0,children:e(kt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(ot,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(rt,{className:_e("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(rt,{as:"div",className:"mb-8 sm:mb-5",children:l}):null,t("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,c||null]})]})]})})})})]})})},gd=({children:n,background:i,className:o,fill:r="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},p="string"==typeof i&&i in d,m=p?d[i]:void 0,h=i&&!p?{background:i}:void 0,g=r in u?u[r]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${a?"max-content":""} ${null!=m?m:h?"":"bg-white"}`,style:h,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:o,style:h,children:n})},fd=({title:n,background:i="white",button:o,color:r,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:p,renderCheckPlans:m})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[i]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-text-inverse"}`,children:[n&&e(rt,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(rt,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${a}`,children:u}),s&&e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:s}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(kt,{...o,renderCheckPlans:m,onModalButtonClick:p,size:{base:"large"}})})]})}),bd=({background:i="white",description:o,enableHeading:r,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[i]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(rt,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(rt,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[o&&e(rt,{as:"p",className:"body1",children:o}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),i=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const r=o*n+e;r<t.length&&i.push(t[r])}return i.map((t,n)=>e("li",{children:e(ct,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),i=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const r=o*n+e;r<t.length&&i.push(t[r])}return i.map((t,n)=>e("li",{children:e(ct,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Bt,{width:472,height:100,src:a,alt:"image"})})]})]})}),vd=({title:n,disclaimer:i,table:o,maxWidth:r=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(r?"max-w-120 xl:mx-auto":""),children:[e(rt,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 md:mt-10 p-5 pt-0 md:py-9 md:px-10",children:o}),e(rt,{as:"div",className:"micro mt-8 text-center",children:i})]})}),yd=({currentPage:n,totalPages:i,onPageChange:o,ariaLabel:r="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,i),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":r,children:[e(ft,{className:s,onClick:()=>o(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(ot,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,i)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${i}`):e(ft,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>o(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(ft,{className:s,onClick:()=>o(n+1),disabled:n===i,"aria-label":"Go to next page",children:e(ot,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function xd(e){return xd="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},xd(e)}function Id(e){var t=function(e,t){if("object"!=xd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=xd(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==xd(t)?t:t+""}function wd(e,t,n){return(t=Id(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Nd(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cd(Object(n),!0).forEach(function(t){wd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cd(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ad(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function kd(e,t){if(e){if("string"==typeof e)return Ad(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)?Ad(e,t):void 0}}function Gd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||kd(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 Pd(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Vd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Bd(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Id(i.key),i)}}function Td(e,t){return Td=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Td(e,t)}function Sd(e){return Sd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Sd(e)}function Ed(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ed=function(){return!!e})()}function Rd(e,t){if(t&&("object"==xd(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 Md(e){return function(e){if(Array.isArray(e))return Ad(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||kd(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 Ld=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}(),Xd="-ms-",Wd="-moz-",Od="-webkit-",Fd="comm",Dd="rule",Zd="decl",zd="@keyframes",Hd=Math.abs,jd=String.fromCharCode,Yd=Object.assign;function Jd(e){return e.trim()}function Ud(e,t,n){return e.replace(t,n)}function $d(e,t){return e.indexOf(t)}function Qd(e,t){return 0|e.charCodeAt(t)}function _d(e,t,n){return e.slice(t,n)}function Kd(e){return e.length}function qd(e){return e.length}function ep(e,t){return t.push(e),e}var tp=1,np=1,ip=0,op=0,rp=0,ap="";function sp(e,t,n,i,o,r,a){return{value:e,root:t,parent:n,type:i,props:o,children:r,line:tp,column:np,length:a,return:""}}function lp(e,t){return Yd(sp("",null,null,"",null,null,0),e,{length:-e.length},t)}function cp(){return rp=op>0?Qd(ap,--op):0,np--,10===rp&&(np=1,tp--),rp}function up(){return rp=op<ip?Qd(ap,op++):0,np++,10===rp&&(np=1,tp++),rp}function dp(){return Qd(ap,op)}function pp(){return op}function mp(e,t){return _d(ap,e,t)}function hp(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 gp(e){return tp=np=1,ip=Kd(ap=e),op=0,[]}function fp(e){return ap="",e}function bp(e){return Jd(mp(op-1,xp(91===e?e+2:40===e?e+1:e)))}function vp(e){for(;(rp=dp())&&rp<33;)up();return hp(e)>2||hp(rp)>3?"":" "}function yp(e,t){for(;--t&&up()&&!(rp<48||rp>102||rp>57&&rp<65||rp>70&&rp<97););return mp(e,pp()+(t<6&&32==dp()&&32==up()))}function xp(e){for(;up();)switch(rp){case e:return op;case 34:case 39:34!==e&&39!==e&&xp(rp);break;case 40:41===e&&xp(e);break;case 92:up()}return op}function Ip(e,t){for(;up()&&e+rp!==57&&(e+rp!==84||47!==dp()););return"/*"+mp(t,op-1)+"*"+jd(47===e?e:up())}function wp(e){for(;!hp(dp());)up();return mp(e,op)}function Cp(e){return fp(Np("",null,null,null,[""],e=gp(e),0,[0],e))}function Np(e,t,n,i,o,r,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,h=0,g=1,f=1,b=1,v=0,y="",x=o,I=r,w=i,C=y;f;)switch(h=v,v=up()){case 40:if(108!=h&&58==Qd(C,d-1)){-1!=$d(C+=Ud(bp(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=bp(v);break;case 9:case 10:case 13:case 32:C+=vp(h);break;case 92:C+=yp(pp()-1,7);continue;case 47:switch(dp()){case 42:case 47:ep(kp(Ip(up(),pp()),t,n),l);break;default:C+="/"}break;case 123*g:s[c++]=Kd(C)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(C=Ud(C,/\f/g,"")),m>0&&Kd(C)-d&&ep(m>32?Gp(C+";",i,n,d-1):Gp(Ud(C," ","")+";",i,n,d-2),l);break;case 59:C+=";";default:if(ep(w=Ap(C,t,n,c,u,o,s,y,x=[],I=[],d),r),123===v)if(0===u)Np(C,t,w,w,x,r,d,s,I);else switch(99===p&&110===Qd(C,3)?100:p){case 100:case 108:case 109:case 115:Np(e,w,w,i&&ep(Ap(e,w,w,0,0,o,s,y,o,x=[],d),I),o,I,d,s,i?x:I);break;default:Np(C,w,w,w,[""],I,0,s,I)}}c=u=m=0,g=b=1,y=C="",d=a;break;case 58:d=1+Kd(C),m=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==cp())continue;switch(C+=jd(v),v*g){case 38:b=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(Kd(C)-1)*b,b=1;break;case 64:45===dp()&&(C+=bp(up())),p=dp(),u=d=Kd(y=C+=wp(pp())),v++;break;case 45:45===h&&2==Kd(C)&&(g=0)}}return r}function Ap(e,t,n,i,o,r,a,s,l,c,u){for(var d=o-1,p=0===o?r:[""],m=qd(p),h=0,g=0,f=0;h<i;++h)for(var b=0,v=_d(e,d+1,d=Hd(g=a[h])),y=e;b<m;++b)(y=Jd(g>0?p[b]+" "+v:Ud(v,/&\f/g,p[b])))&&(l[f++]=y);return sp(e,t,n,0===o?Dd:s,l,c,u)}function kp(e,t,n){return sp(e,t,n,Fd,jd(rp),_d(e,2,-2),0)}function Gp(e,t,n,i){return sp(e,t,n,Zd,_d(e,0,i),_d(e,i+1,-1),i)}function Pp(e,t){for(var n="",i=qd(e),o=0;o<i;o++)n+=t(e[o],o,e,t)||"";return n}function Vp(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Zd:return e.return=e.return||e.value;case Fd:return"";case zd:return e.return=e.value+"{"+Pp(e.children,i)+"}";case Dd:e.value=e.props.join(",")}return Kd(n=Pp(e.children,i))?e.return=e.value+"{"+n+"}":""}function Bp(e){var t=qd(e);return function(n,i,o,r){for(var a="",s=0;s<t;s++)a+=e[s](n,i,o,r)||"";return a}}var Tp="undefined"!=typeof document,Sp=function(e,t,n){for(var i=0,o=0;i=o,o=dp(),38===i&&12===o&&(t[n]=1),!hp(o);)up();return mp(e,op)},Ep=function(e,t){return fp(function(e,t){var n=-1,i=44;do{switch(hp(i)){case 0:38===i&&12===dp()&&(t[n]=1),e[n]+=Sp(op-1,t,n);break;case 2:e[n]+=bp(i);break;case 4:if(44===i){e[++n]=58===dp()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=jd(i)}}while(i=up());return e}(gp(e),t))},Rp=new WeakMap,Mp=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Rp.get(n))&&!i){Rp.set(e,!0);for(var o=[],r=Ep(t,o),a=n.props,s=0,l=0;s<r.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?r[s].replace(/&\f/g,a[c]):a[c]+" "+r[s]}}},Lp=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Xp(e,t){switch(function(e,t){return 45^Qd(e,0)?(((t<<2^Qd(e,0))<<2^Qd(e,1))<<2^Qd(e,2))<<2^Qd(e,3):0}(e,t)){case 5103:return Od+"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 Od+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Od+e+Wd+e+Xd+e+e;case 6828:case 4268:return Od+e+Xd+e+e;case 6165:return Od+e+Xd+"flex-"+e+e;case 5187:return Od+e+Ud(e,/(\w+).+(:[^]+)/,Od+"box-$1$2"+Xd+"flex-$1$2")+e;case 5443:return Od+e+Xd+"flex-item-"+Ud(e,/flex-|-self/,"")+e;case 4675:return Od+e+Xd+"flex-line-pack"+Ud(e,/align-content|flex-|-self/,"")+e;case 5548:return Od+e+Xd+Ud(e,"shrink","negative")+e;case 5292:return Od+e+Xd+Ud(e,"basis","preferred-size")+e;case 6060:return Od+"box-"+Ud(e,"-grow","")+Od+e+Xd+Ud(e,"grow","positive")+e;case 4554:return Od+Ud(e,/([^-])(transform)/g,"$1"+Od+"$2")+e;case 6187:return Ud(Ud(Ud(e,/(zoom-|grab)/,Od+"$1"),/(image-set)/,Od+"$1"),e,"")+e;case 5495:case 3959:return Ud(e,/(image-set\([^]*)/,Od+"$1$`$1");case 4968:return Ud(Ud(e,/(.+:)(flex-)?(.*)/,Od+"box-pack:$3"+Xd+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Od+e+e;case 4095:case 3583:case 4068:case 2532:return Ud(e,/(.+)-inline(.+)/,Od+"$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(Kd(e)-1-t>6)switch(Qd(e,t+1)){case 109:if(45!==Qd(e,t+4))break;case 102:return Ud(e,/(.+:)(.+)-([^]+)/,"$1"+Od+"$2-$3$1"+Wd+(108==Qd(e,t+3)?"$3":"$2-$3"))+e;case 115:return~$d(e,"stretch")?Xp(Ud(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Qd(e,t+1))break;case 6444:switch(Qd(e,Kd(e)-3-(~$d(e,"!important")&&10))){case 107:return Ud(e,":",":"+Od)+e;case 101:return Ud(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Od+(45===Qd(e,14)?"inline-":"")+"box$3$1"+Od+"$2$3$1"+Xd+"$2box$3")+e}break;case 5936:switch(Qd(e,t+11)){case 114:return Od+e+Xd+Ud(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Od+e+Xd+Ud(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Od+e+Xd+Ud(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Od+e+Xd+e+e}return e}var Wp,Op,Fp,Dp=Tp?void 0:(Wp=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},Op=new WeakMap,function(e){if(Op.has(e))return Op.get(e);var t=Wp(e);return Op.set(e,t),t}),Zp=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case Zd:e.return=Xp(e.value,e.length);break;case zd:return Pp([lp(e,{value:Ud(e.value,"@","@"+Od)})],i);case Dd: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 Pp([lp(e,{props:[Ud(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return Pp([lp(e,{props:[Ud(t,/:(plac\w+)/,":"+Od+"input-$1")]}),lp(e,{props:[Ud(t,/:(plac\w+)/,":-moz-$1")]}),lp(e,{props:[Ud(t,/:(plac\w+)/,Xd+"input-$1")]})],i)}return""})}}],zp=function(e){var t=e.key;if(Tp&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var i,o,r=e.stylisPlugins||Zp,a={},s=[];Tp&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Mp,Lp];if(Dp){var u=[Vp],d=Bp(c.concat(r,u)),p=Dp(r)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=Pp(Cp(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};o=function(e,t,n,i){var o=t.name,r=m(e,t);return void 0===b.compat?(i&&(b.inserted[o]=!0),r):i?void(b.inserted[o]=r):r}}else{var h,g=[Vp,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=Bp(c.concat(r,g));o=function(e,t,n,i){h=n,Pp(Cp(e?e+"{"+t.styles+"}":t.styles),f),i&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Ld({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return b.sheet.hydrate(s),b},Hp={exports:{}},jp={};var Yp,Jp,Up,$p,Qp={};
3
+ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as i from"react";import o,{forwardRef as r,useMemo as a,createElement as s,useRef as l,useState as c,useEffect as u,useCallback as d,createContext as m,useLayoutEffect as p,useContext as h,useInsertionEffect as g,useId as f,cloneElement as b,Children as v,isValidElement as y,Fragment as x,useReducer as I,Component as w}from"react";import{Base64 as C}from"js-base64";import N from"js-cookie";import{documentToReactComponents as A}from"@contentful/rich-text-react-renderer";import{INLINES as k,BLOCKS as G,MARKS as P}from"@contentful/rich-text-types";import*as T from"next/link";import B from"next/link";import V from"next/image";import S,{flushSync as E,createPortal as R}from"react-dom";import{useRouter as M,usePathname as L,useSearchParams as X}from"next/navigation";function W(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=W(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function F(){for(var e,t,n=0,i="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=W(e))&&(i&&(i+=" "),i+=t);return i}const O=e=>{const t=H(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),D(n,t)||Z(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&i[e]?[...o,...i[e]]:o}}},D=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),o=i?D(e.slice(1),i):void 0;if(o)return o;if(0===t.validators.length)return;const r=e.join("-");return t.validators.find(({validator:e})=>e(r))?.classGroupId},z=/^\[(.+)\]$/,Z=e=>{if(z.test(e)){const t=z.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},H=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const e in n)j(n[e],i,e,t);return i},j=(e,t,n,i)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:Y(t,e)).classGroupId=n)}if("function"==typeof e)return J(e)?void j(e(i),t,n,i):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{j(o,Y(t,e),n,i)})})},Y=(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},J=e=>e.isThemeGetter,U=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const o=(o,r)=>{n.set(o,r),t++,t>e&&(t=0,i=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=i.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},$=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=e=>{const t=[];let n,i=0,o=0,r=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===i&&0===o){if(":"===s){t.push(e.slice(r,a)),r=a+1;continue}if("/"===s){n=a;continue}}"["===s?i++:"]"===s?i--:"("===s?o++:")"===s&&o--}const a=0===t.length?e:e.substring(r),s=Q(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>r?n-r:void 0}};if(t){const e=t+":",n=i;i=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=i;i=t=>n({className:t,parseClassName:e})}return i},Q=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,_=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let i=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...i.sort(),e),i=[]):i.push(e)}),n.push(...i.sort()),n}},K=/\s+/;function q(){let e,t,n=0,i="";for(;n<arguments.length;)(e=arguments[n++])&&(t=ee(e))&&(i&&(i+=" "),i+=t);return i}const ee=e=>{if("string"==typeof e)return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=ee(e[i]))&&(n&&(n+=" "),n+=t);return n};function te(e,...t){let n,i,o,r=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:U(e.cacheSize),parseClassName:$(e),sortModifiers:_(e),...O(e)}))(l),i=n.cache.get,o=n.cache.set,r=a,a(s)};function a(e){const t=i(e);if(t)return t;const r=((e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:o,sortModifiers:r}=t,a=[],s=e.trim().split(K);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:m,maybePostfixModifierPosition:p}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let h=!!p,g=i(h?m.substring(0,p):m);if(!g){if(!h){l=t+(l.length>0?" "+l:l);continue}if(g=i(m),!g){l=t+(l.length>0?" "+l:l);continue}h=!1}const f=r(u).join(":"),b=d?f+"!":f,v=b+g;if(a.includes(v))continue;a.push(v);const y=o(g,h);for(let e=0;e<y.length;++e){const t=y[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,r),r}return function(){return r(q.apply(null,arguments))}}const ne=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},ie=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,oe=/^\((?:(\w[\w-]*):)?(.+)\)$/i,re=/^\d+\/\d+$/,ae=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,se=/\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$/,le=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ce=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ue=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,de=e=>re.test(e),me=e=>!!e&&!Number.isNaN(Number(e)),pe=e=>!!e&&Number.isInteger(Number(e)),he=e=>e.endsWith("%")&&me(e.slice(0,-1)),ge=e=>ae.test(e),fe=()=>!0,be=e=>se.test(e)&&!le.test(e),ve=()=>!1,ye=e=>ce.test(e),xe=e=>ue.test(e),Ie=e=>!Ce(e)&&!Te(e),we=e=>Le(e,Oe,ve),Ce=e=>ie.test(e),Ne=e=>Le(e,De,be),Ae=e=>Le(e,ze,me),ke=e=>Le(e,We,ve),Ge=e=>Le(e,Fe,xe),Pe=e=>Le(e,He,ye),Te=e=>oe.test(e),Be=e=>Xe(e,De),Ve=e=>Xe(e,Ze),Se=e=>Xe(e,We),Ee=e=>Xe(e,Oe),Re=e=>Xe(e,Fe),Me=e=>Xe(e,He,!0),Le=(e,t,n)=>{const i=ie.exec(e);return!!i&&(i[1]?t(i[1]):n(i[2]))},Xe=(e,t,n=!1)=>{const i=oe.exec(e);return!!i&&(i[1]?t(i[1]):n)},We=e=>"position"===e||"percentage"===e,Fe=e=>"image"===e||"url"===e,Oe=e=>"length"===e||"size"===e||"bg-size"===e,De=e=>"length"===e,ze=e=>"number"===e,Ze=e=>"family-name"===e,He=e=>"shadow"===e,je=()=>{const e=ne("color"),t=ne("font"),n=ne("text"),i=ne("font-weight"),o=ne("tracking"),r=ne("leading"),a=ne("breakpoint"),s=ne("container"),l=ne("spacing"),c=ne("radius"),u=ne("shadow"),d=ne("inset-shadow"),m=ne("text-shadow"),p=ne("drop-shadow"),h=ne("blur"),g=ne("perspective"),f=ne("aspect"),b=ne("ease"),v=ne("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Te,Ce],x=()=>[Te,Ce,l],I=()=>[de,"full","auto",...x()],w=()=>[pe,"none","subgrid",Te,Ce],C=()=>["auto",{span:["full",pe,Te,Ce]},pe,Te,Ce],N=()=>[pe,"auto",Te,Ce],A=()=>["auto","min","max","fr",Te,Ce],k=()=>["auto",...x()],G=()=>[de,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],P=()=>[e,Te,Ce],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Se,ke,{position:[Te,Ce]}],B=()=>["auto","cover","contain",Ee,we,{size:[Te,Ce]}],V=()=>[he,Be,Ne],S=()=>["","none","full",c,Te,Ce],E=()=>["",me,Be,Ne],R=()=>[me,he,Se,ke],M=()=>["","none",h,Te,Ce],L=()=>["none",me,Te,Ce],X=()=>["none",me,Te,Ce],W=()=>[me,Te,Ce],F=()=>[de,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ge],breakpoint:[ge],color:[fe],container:[ge],"drop-shadow":[ge],ease:["in","out","in-out"],font:[Ie],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ge],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ge],shadow:[ge],spacing:["px",me],text:[ge],"text-shadow":[ge],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",de,Ce,Te,f]}],container:["container"],columns:[{columns:[me,Ce,Te,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[pe,"auto",Te,Ce]}],basis:[{basis:[de,"full","auto",s,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[me,de,"auto","initial","none",Ce]}],grow:[{grow:["",me,Te,Ce]}],shrink:[{shrink:["",me,Te,Ce]}],order:[{order:[pe,"first","last","none",Te,Ce]}],"grid-cols":[{"grid-cols":w()}],"col-start-end":[{col:C()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":w()}],"row-start-end":[{row:C()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[s,"screen",...G()]}],"min-w":[{"min-w":[s,"screen","none",...G()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,Be,Ne]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,Te,Ae]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",he,Ce]}],"font-family":[{font:[Ve,Ce,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Te,Ce]}],"line-clamp":[{"line-clamp":[me,"none",Te,Ae]}],leading:[{leading:[r,...x()]}],"list-image":[{"list-image":["none",Te,Ce]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Te,Ce]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[me,"from-font","auto",Te,Ne]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[me,"auto",Te,Ce]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Te,Ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Te,Ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:T()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pe,Te,Ce],radial:["",Te,Ce],conic:[pe,Te,Ce]},Re,Ge]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:V()}],"gradient-via-pos":[{via:V()}],"gradient-to-pos":[{to:V()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:E()}],"border-w-x":[{"border-x":E()}],"border-w-y":[{"border-y":E()}],"border-w-s":[{"border-s":E()}],"border-w-e":[{"border-e":E()}],"border-w-t":[{"border-t":E()}],"border-w-r":[{"border-r":E()}],"border-w-b":[{"border-b":E()}],"border-w-l":[{"border-l":E()}],"divide-x":[{"divide-x":E()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":E()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[me,Te,Ce]}],"outline-w":[{outline:["",me,Be,Ne]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,Me,Pe]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,Me,Pe]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:E()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[me,Ne]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":E()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",m,Me,Pe]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[me,Te,Ce]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[me]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[Te,Ce]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[me]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:T()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Te,Ce]}],filter:[{filter:["","none",Te,Ce]}],blur:[{blur:M()}],brightness:[{brightness:[me,Te,Ce]}],contrast:[{contrast:[me,Te,Ce]}],"drop-shadow":[{"drop-shadow":["","none",p,Me,Pe]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",me,Te,Ce]}],"hue-rotate":[{"hue-rotate":[me,Te,Ce]}],invert:[{invert:["",me,Te,Ce]}],saturate:[{saturate:[me,Te,Ce]}],sepia:[{sepia:["",me,Te,Ce]}],"backdrop-filter":[{"backdrop-filter":["","none",Te,Ce]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[me,Te,Ce]}],"backdrop-contrast":[{"backdrop-contrast":[me,Te,Ce]}],"backdrop-grayscale":[{"backdrop-grayscale":["",me,Te,Ce]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[me,Te,Ce]}],"backdrop-invert":[{"backdrop-invert":["",me,Te,Ce]}],"backdrop-opacity":[{"backdrop-opacity":[me,Te,Ce]}],"backdrop-saturate":[{"backdrop-saturate":[me,Te,Ce]}],"backdrop-sepia":[{"backdrop-sepia":["",me,Te,Ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Te,Ce]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[me,"initial",Te,Ce]}],ease:[{ease:["linear","initial",b,Te,Ce]}],delay:[{delay:[me,Te,Ce]}],animate:[{animate:["none",v,Te,Ce]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,Te,Ce]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:X()}],"scale-x":[{"scale-x":X()}],"scale-y":[{"scale-y":X()}],"scale-z":[{"scale-z":X()}],"scale-3d":["scale-3d"],skew:[{skew:W()}],"skew-x":[{"skew-x":W()}],"skew-y":[{"skew-y":W()}],transform:[{transform:[Te,Ce,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Te,Ce]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Te,Ce]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[me,Be,Ne,Ae]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},Je=(e,t)=>{if(t)for(const n in t)Ye(e,n,t[n])},Ue=(e,t)=>{if(t)for(const n in t)$e(e,t,n)},$e=(e,t,n)=>{const i=t[n];void 0!==i&&(e[n]=e[n]?e[n].concat(i):i)},Qe=((e,...t)=>"function"==typeof e?te(je,e,...t):te(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:i,extend:o={},override:r={}})=>(Ye(e,"cacheSize",t),Ye(e,"prefix",n),Ye(e,"experimentalParseClassName",i),Je(e.theme,r.theme),Je(e.classGroups,r.classGroups),Je(e.conflictingClassGroups,r.conflictingClassGroups),Je(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),Ye(e,"orderSensitiveModifiers",r.orderSensitiveModifiers),Ue(e.theme,o.theme),Ue(e.classGroups,o.classGroups),Ue(e.conflictingClassGroups,o.conflictingClassGroups),Ue(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),$e(e,o,"orderSensitiveModifiers"),e))(je(),e),...t))({extend:{classGroups:{"font-variants":["heading1","heading2","heading3","heading4","heading5","heading6","subheading1","subheading2","subheading3","subheading4","subheading5","subheading6","body1","body2","body3","footnote","micro","label1","label2","label3","label4"],"button-sizes":["btn-small","btn-medium","btn-large","btn-x-large"]}}}),_e=(...e)=>Qe(F(...e)),Ke=(e="#24A76A")=>`<svg xmlns="http://www.w3.org/2000/svg" width="684" height="107" viewBox="0 0 684 107" fill="none">\n <g clip-path="url(#clip0_12352_9042)">\n <path d="M154.09 -70.5605C173.769 -7.58032 204.79 24.8889 328.202 55.2823C444.619 83.9133 629.479 141.332 667.653 80.7015C691.679 45.2165 678.322 -5.62201 670.537 -46.3554C664.452 -73.1846 658.327 -97.1939 652.913 -123.475C651.135 -132.091 638.766 -131.974 637.067 -123.318C628.136 -77.6888 612.526 -44.9062 577.593 -22.4637C517.962 20.1889 377.954 -6.48361 303.148 -38.287C223.245 -70.7171 200.918 -132.366 195.425 -199.341C193.37 -235.257 198.467 -269.841 208.07 -299.569C210.915 -308.303 199.218 -314.178 193.844 -306.697C151.324 -247.751 137.69 -140.395 154.129 -70.5213" fill="${e}" />\n <path d="M167.605 -417.382C104.062 -397.877 71.302 -367.131 40.6368 -244.813C11.7499 -129.428 -46.182 53.7941 14.9903 91.6292C50.7927 115.443 102.086 102.204 143.183 94.4883C170.253 88.4567 194.476 82.3858 220.992 77.02C229.686 75.2574 229.568 62.9983 220.834 61.3141C174.797 52.4624 141.721 36.9915 119.078 2.36813C76.0441 -56.7345 102.955 -195.502 135.043 -269.645C167.763 -348.84 229.963 -370.969 297.537 -376.414C333.774 -378.45 368.667 -373.398 398.661 -363.88C407.473 -361.06 413.401 -372.654 405.853 -377.98C346.38 -420.124 238.064 -433.636 167.565 -417.343" fill="${e}" />\n </g>\n <defs>\n <clipPath id="clip0_12352_9042">\n <rect width="684" height="107" fill="white" />\n </clipPath>\n </defs>\n </svg>`;const qe=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const et=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,tt=e=>{if(!e)return null;if(et(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return et(t)?t:null}return null},nt={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},it=r(({children:t,className:n="",variant:i="unstyled",style:o,...r},a)=>{const s=_e("unstyled"===i?"":"mb-1 leading-6","list-item",`list-item--${i}`,n);return e("li",{ref:a,className:s,style:o,...r,children:t})});it.displayName="ListItem";const ot=r(({type:t="ul",items:n,className:i="",renderItem:o,children:r,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=_e(u,`list--${t}`,`list--${a}`,i),m=r||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(it,{className:t.className,variant:a,children:t.content},t.id||n)):null),p={className:d,style:s,...l,children:m};return e("ol"===t?"ol":"ul",{...p,ref:c})});ot.displayName="List";const rt=({name:t,fill:n=0,opticalSize:i="48dp",weight:o="200",emphasis:r=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const m={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${r}, 'opsz' ${i.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e("span",{style:m,className:_e("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};rt.displayName="MaterialIcon";const at=r(({children:e,as:t,className:n="",style:i,...r},a)=>{const s=t||"p";return o.createElement(s,{ref:a,className:n,style:i,...r},e)});at.displayName="Text";const st=n=>{const{items:i,listIconName:o="check",listItemClassName:r,listContainerClassName:a,iconSize:s=20,iconPosition:l="center",iconColor:c="green",iconClassName:u}=n,d="disc"!==o;return(null==i?void 0:i.length)?e(ot,{className:_e("mt-2 space-y-1",a),variant:d?"unstyled":"default",children:i.map((n,i)=>t(it,{variant:d?"unstyled":"default",className:_e(`${d?"flex":""} ${"top"===l?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[d&&e("div",{className:"flex leading-none",children:e(rt,{name:o,size:s,color:nt[c],weight:"600",className:_e("block","top"===l?"mt-1":"",u)})}),e(at,{as:"div",children:n})]},i))}):null};var lt;st.displayName="Checklist";const ct="function"==typeof B?B:null!==(lt=B.default)&&void 0!==lt?lt:B,ut=r(({children:t,href:n,className:i="",onClick:o,variant:r="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===r)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[r]||e.default,t].filter(Boolean).join(" ")})(),m=e=>{l?e.preventDefault():null==o||o(e)},p=_e(d,`link--${r}`,l&&"link--disabled",i),h={...c,ref:u,className:p,style:a,href:l?void 0:n,onClick:m,...s&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return s||"string"==typeof n&&n.startsWith("http")?e("a",{...h,children:t}):e(ct,{href:n||"#",className:p,onClick:m,...c,children:t})});ut.displayName="Link";const dt={renderMark:{[P.BOLD]:t=>e("strong",{className:"label3",children:t}),[P.ITALIC]:t=>e("em",{children:t}),[P.UNDERLINE]:t=>e("u",{children:t}),[P.CODE]:t=>e("code",{children:t})},renderNode:{[G.PARAGRAPH]:(t,n)=>e("div",{className:"body3 mb-4",children:n}),[G.HEADING_1]:(t,n)=>e(at,{as:"h1",className:"heading2 md:heading1",children:n}),[G.HEADING_2]:(t,n)=>e(at,{as:"h2",className:"heading6 md:heading5",children:n}),[G.HEADING_3]:(t,n)=>e(at,{as:"h3",className:"heading6 md:heading5",children:n}),[G.HEADING_4]:(t,n)=>e(at,{as:"h3",className:"headingClass",children:n}),[G.HEADING_5]:(t,n)=>e(at,{as:"h3",className:"heading6 md:heading5",children:n}),[G.HEADING_6]:(t,n)=>e(at,{as:"h3",className:"heading6",children:n}),[G.QUOTE]:(t,n)=>e("blockquote",{children:n}),[G.UL_LIST]:(t,n)=>e("ul",{children:n}),[G.OL_LIST]:(t,n)=>e("ol",{children:n}),[G.LIST_ITEM]:(t,n)=>e("li",{children:n}),[k.HYPERLINK]:(t,n)=>{var i;const o=null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.uri,r=/^https?:\/\//.test(o);return e("a",{href:o,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:n})},[G.EMBEDDED_ASSET]:t=>{var n,i;const o=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,r=null==o?void 0:o.fields,a=(null==o?void 0:o.url)||(null===(i=null==r?void 0:r.file)||void 0===i?void 0:i.url),s=(null==r?void 0:r.title)||(null==r?void 0:r.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[G.EMBEDDED_ENTRY]:n=>{var i,o,r,a;const s=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.target;return"callout"===(null===(a=null===(r=null===(o=null==s?void 0:s.sys)||void 0===o?void 0:o.contentType)||void 0===r?void 0:r.sys)||void 0===a?void 0:a.id)?t("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e("strong",{children:s.fields.title}),e("div",{children:s.fields.body})]}):null},[k.EMBEDDED_ENTRY]:n=>{var i,o,r,a,s,l;const c=null===(i=null==n?void 0:n.data)||void 0===i?void 0:i.target;return"componentCheckList"===(null===(a=null===(r=null===(o=null==c?void 0:c.sys)||void 0===o?void 0:o.contentType)||void 0===r?void 0:r.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 mt(t,n,i="body1",o="body1 font-bold",r){if(!t||!Array.isArray(t.content))return null;const a={...dt,...r,renderNode:{...dt.renderNode,...null==r?void 0:r.renderNode,[G.PARAGRAPH]:(t,n)=>e("div",{className:i,children:n}),[k.HYPERLINK]:(t,i)=>{var r;const a=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,s=/^https?:\/\//.test(a),l=null!=n?n:s;return e(ut,{href:a,target:l?"_blank":"_self",rel:l?"noopener noreferrer":void 0,variant:"default",className:o,children:i})}}};return A(t,a)}function pt(e,t){return a(()=>{if(!e||!Array.isArray(e.content))return null;const n={...dt,renderMark:{...dt.renderMark,...null==t?void 0:t.renderMark},renderNode:{...dt.renderNode,...null==t?void 0:t.renderNode}};return A(e,n)},[e,t])}function ht(i,o){if(!i||!Array.isArray(i.content))return null;const r={...dt,renderMark:{...dt.renderMark,[P.BOLD]:t=>e("strong",{className:"label4 md:label2",children:t})},renderNode:{...dt.renderNode,[G.PARAGRAPH]:(t,i)=>e(n,{children:i}),[G.TABLE]:(t,n)=>{var i,o;return e("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(o=null===(i=t.content[0])||void 0===i?void 0:i.content)||void 0===o?void 0:o.length)>2?"min-w-[100.1%]":"min-w-full"),children:e("tbody",{children:n})})})},[G.TABLE_ROW]:(t,n)=>e("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[G.TABLE_HEADER_CELL]:(t,n)=>{var i;const o=(null===(i=t.parent)||void 0===i?void 0:i.content.length)>2;return e("th",{className:`label4 break-words py-4 text-center md:label2 ${o?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[G.TABLE_CELL]:(i,o)=>{var r,a,s,l;const c=(null===(r=i.parent)||void 0===r?void 0:r.content.length)>2,u=null===(l=null===(s=null===(a=i.content[0])||void 0===a?void 0:a.content[0])||void 0===s?void 0:s.value)||void 0===l?void 0:l.toLowerCase().trim();return e("td",{className:`rt-table-cell footnote break-words bg-white py-2 md:py-4 text-center align-top leading-5 text-text md:body2 first:text-left md:leading-7 ${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(rt,{name:"check_circle",color:"#24A76A",fill:1}):"no"===u?e(rt,{name:"cancel",color:"#CECECE",fill:1}):o]})})},[k.EMBEDDED_ENTRY]:t=>{var n,i,r,a;const s=t.data.target.sys.id,l=null===(i=null===(n=null==o?void 0:o.entries)||void 0===n?void 0:n.inline)||void 0===i?void 0:i.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(r=l.list)||void 0===r?void 0:r.items)||void 0===a?void 0:a.map(e=>{var t;return mt(tt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e(st,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e("span",{children:l.title||""})}}};return A(i,r)}const gt={renderMark:{[P.BOLD]:e=>s("span",{className:"label1"},e)}};function ft(e,t,n,i){return a(()=>{var o,r;const a=null!==(r=null===(o=null==e?void 0:e.list)||void 0===o?void 0:o.items)&&void 0!==r?r:[];return t?a.map(e=>{var t,o;return null!==(o=mt(tt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,n))&&void 0!==o?o:""}):a.map(e=>{var t,o,r,a,s;return{title:null!==(o=mt(tt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,n))&&void 0!==o?o:"",iconUrl:null!==(a=null===(r=null==e?void 0:e.icon)||void 0===r?void 0:r.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,t,n,i])}const bt=r(({children:t,className:n="",style:i,disabled:o,...r},a)=>e("button",{ref:a,className:_e(n),style:i,disabled:o,...r,children:t}));bt.displayName="Button";const vt=t=>{const{open:n,children:i}=t,o=l(null),[r,a]=c(0);return u(()=>{const e=o.current;if(!e)return;const t=()=>{a(n?e.scrollHeight:0)};let i;return t(),n&&(i=new ResizeObserver(()=>t()),i.observe(e)),()=>{i&&i.disconnect()}},[n,i]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:r,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:o,children:i})})};vt.displayName="Collapse";const yt=n=>{const{title:i,defaultOpen:o,children:r,containerClassName:a,titleClassName:s,className:l,buttonClassName:d,iconClassName:m,openOnlyOnDesktop:p,borderRadiusNone:h=!1}=n,[g,f]=c(Boolean(!1));return u(()=>{if(p){const e=window.innerWidth>=1024;f(e)}else f(Boolean(o))},[p,o]),t("div",{className:_e(h?"rounded-none border":"rounded-surface-xs border",a),children:[t(bt,{type:"button",className:_e(h?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",d),onClick:()=>f(e=>!e),children:[e("span",{className:_e("label5 flex-1",s),children:i}),e(rt,{className:_e("flex-shrink-0",m),name:g?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e(vt,{open:g,children:e("div",{className:_e("px-4 py-4",l),children:r})})]})};yt.displayName="Accordion";const xt=t=>{const{className:n,...i}=t;return e("div",{className:_e("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...i})};xt.displayName="Divider";const It=({items:n,title:i,anchorId:o,background:r="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:d=!1,descriptionMaxWidth:m="max-w-[980px]",itemContainerClassName:p})=>{const[h,g]=c(l);u(()=>{if(d&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);g(e=>e.includes(t)?e:[...e,t])}}},[d]);return e("section",{id:o,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[r]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:t("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e(at,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:i}),e("div",{className:`pt-6 md:pt-10 ${null!=p?p:""}`,children:null==n?void 0:n.map((i,o)=>{const r=i.anchorId||`item-${o}`,a=i.anchorId?h.includes(i.anchorId):void 0;return t("div",{id:i.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e(yt,{title:i.title,defaultOpen:a,containerClassName:"border-none",buttonClassName:"p-0 label1",titleClassName:"label3 md:label1 text-text",className:"p-0 pt-6 text-text",iconClassName:"text-icon",borderRadiusNone:!0,openOnlyOnDesktop:!1,...i.anchorId&&{onClick:()=>{return e=i.anchorId,void g(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e("div",{className:m,children:e(at,{as:"div",children:i.description})})}),o<n.length-1&&e(xt,{className:"my-6 md:my-10"},`divider-${o}`)]},r)})})]})})},wt=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()},Ct=r(({variant:i="primary_brand",isLoading:o=!1,text:r,label:a,disabled:s,fullWidth:l,buttonClassName:c,size:u={base:"medium"},as:d="button",...m},p)=>{const h=(()=>{const e=_e((e=>{let t="";return e.base&&(t=`btn-${e.base} `),e.md&&(t+=`${(e=>{switch(e){case"small":return"md:btn-small";case"medium":return"md:btn-medium";case"large":return"md:btn-large";case"x-large":return"md:btn-x-large"}})(e.md)} `),e.lg&&(t+=`lg:btn-${e.lg} `),t.trim()})(u),"rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",l?"w-full":"w-auto"),t=_e((s||o)&&"cursor-not-allowed",o&&"pl-7");return _e(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand disabled:bg-bg-fill-brand-disabled",primary_inverse:"bg-bg-fill-inverse text-text-inverse [&:not(:disabled)]:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse disabled:bg-bg-fill-inverse-disabled",secondary:"border border-border-secondary-on-bg-fill bg-bg-fill-secondary text-text [&:not(:disabled)]:hover:bg-bg-fill-secondary-hover focus:bg-bg-fill-secondary focus:ring-input-border-hover disabled:bg-bg-fill-secondary"}[i]||"",t,c)})();let g=`button--${i}`;o&&(g+=" button--loading"),s&&(g+=" button--disabled");const f=`${g} ${h}`,b=t(n,{children:[o?e(rt,{name:"progress_activity",className:"animate-spin"}):null,a?t("span",{className:"flex flex-col",children:[e("span",{className:_e(wt(u)),children:a}),r]}):r]});return"a"===d?e("a",{ref:p,className:_e(f),...m,children:b}):e("button",{ref:p,className:_e(f),disabled:s||o,...m,children:b})});Ct.displayName="BrandButton";const Nt=n=>{const{showButtonAs:i="solid",buttonVariant:o="primary_brand",buttonLabel:r,buttonPrefix:a,href:s,target:l="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:m,preDefinedFunctionExecution:p,renderCheckPlans:h,buttonClassName:g,clickToOpen:f,tabmodalNameToOpen:b,onModalButtonClick:v,onClick:y,iconName:x,iconFill:I=0,size:w,iconSize:C=24,preserveQueryParameters:N,...A}=n;if("check availability"===p){return null==h?void 0:h({ctaText:r,buttonVariant:o,showButtonAs:i,cta:{...n}})}function k(){"modal"===f&&(null==v||v(b))}function G(e){k(),null==y||y(e)}function P(e){k(),null==y||y(e)}const T="undefined"!=typeof window?window.location.search:"",B=s&&N&&T?function(e,t){if(!t)return e;const n=new URLSearchParams(t),i=new Set(qe),o=new Set([...i,"searchtext","page"]);let r,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);r=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");r=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{o.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${r}?${l}`:r}(s,T):s;let V=e(bt,{onClick:P,className:g,...A});switch(i){case"solid":V=e(Ct,B?{as:"a",href:B,id:c,variant:o,text:r,label:a,fullWidth:m,buttonClassName:g,size:w,onClick:G}:{id:c,variant:o,text:r,label:a,fullWidth:m,size:w,onClick:P,buttonClassName:g});break;case"text":V=t(ut,{title:r,href:B,target:l,variant:d||"default",className:`text-text-brand ${u||""}`,onClick:G,children:[r," ",x&&e(rt,{name:x,size:C,fill:I})]})}return V};var At;const kt=null!==(At=T.default)&&void 0!==At?At:T,Gt=({href:i,title:o,description:r,date:a,category:s,image:l,imageComponent:c,readMoreText:u="Read more",asGrid:d=!0,lgWidth:m,mdWidth:p,index:h})=>t("article",{className:d?"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)] ${m} ${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(kt,{href:i,tabIndex:-1,"aria-hidden":"true",className:"block",children:e("div",{className:"h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?c?e(c,{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("img",{src:l.src,alt:l.alt,width:l.width,height:l.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]"}):e("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})})}),t("div",{className:"flex flex-1 flex-col gap-5 p-6 md:p-8",children:[t("div",{className:"flex items-center gap-2 text-[13px]",children:[e("span",{className:"body2 text-text-brand",children:s}),a&&t(n,{children:[e("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e("time",{className:"body2 text-text",children:a})]})]}),o&&e(kt,{href:i,className:"heading6 m-0 line-clamp-3 font-black transition-colors duration-150 hover:text-text-brand",children:o}),r&&e(at,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r}),t(kt,{href:i,className:"group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm text-text-brand no-underline","aria-label":`${u} about ${o||"this article"}`,children:[e(at,{"aria-label":`${u} about ${o||"this article"}`,className:"label1 text-nowrap",children:u}),e(rt,{name:"expand_circle_right",fill:1,size:24,weight:"200"})]})]})]}),Pt=(e=>{let t=e;for(let e=0;e<5;e++){if("function"==typeof t)return t;if(!t||"object"!=typeof t||!("default"in t))return t;t=t.default}return t})(V),Tt=({src:e,width:t,quality:n})=>{const i=new URL(e);return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},Bt=r(({className:t,...n},i)=>{const o="string"==typeof n.src?n.src:"",r=o.toLowerCase().split("?")[0]||"",a=o.includes("images.ctfassets.net"),s=a&&r.endsWith(".svg"),l=a&&!s?{loader:Tt,unoptimized:!1}:{unoptimized:s};return e(Pt,{ref:i,className:_e(t),...n,...l})});Bt.displayName="NextImage";const Vt={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},St=({card:n,lgWidth:i,mdWidth:o})=>{var r,a,s,l;const{image:c,title:u,header:d,body:m,cta:p,ctaAlignment:h,imageLink:g,imageClassName:f,className:b,isPromoBarImg:v=!1,shadow:y=!1}=n,x=h?Vt[h]:Vt.left,I=g?"cursor-pointer":"",w=g?()=>{"undefined"!=typeof window&&window.open(g,"_blank")}:void 0;return v?(null==c?void 0:c.href)?e(Bt,{src:c.href,alt:null!==(a=null!==(r=c.title)&&void 0!==r?r:u)&&void 0!==a?a:"promo-bar-image",width:148,height:40,onClick:w,className:I}):null:t("section",{"aria-labelledby":"Image Card",className:_e("callout-card relative flex h-full w-full flex-col gap-4 p-0 md:items-start lg:gap-6",y&&"rounded-3xl shadow-card",o,i,b),children:[(null==c?void 0:c.href)?e("div",{className:_e("relative aspect-video w-full overflow-hidden rounded-[40px] sm:mb-1 md:flex-none lg:mb-0",f),children:e(Bt,{src:c.href,alt:null!==(l=null!==(s=c.title)&&void 0!==s?s:u)&&void 0!==l?l:"card-image",width:c.width||400,height:c.height||285,onClick:w,className:_e("h-full max-h-[285px] w-full object-cover",I)})}):null,d?e(at,{as:"h6",className:"heading6 font-black text-text lg:pb-2",children:d}):null,m?e(at,{as:"div",className:"body2 mb-0 flex-1 text-text",children:m}):null,e("div",{className:_e(x,"mt-auto"),children:p?e(Nt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...p,iconName:"expand_circle_right",iconFill:1}):null})]})},Et=({card:n,lgWidth:i,mdWidth:o})=>{const{anchorId:r="FullImageCard",title:a,description:s,caption:l,image:c,cta:u,link:d,className:m,contentClassName:p,imageClassName:h,shadow:g=!0}=n,f=u||d,b=null==f?void 0:f.href,v=a?e(at,{as:"h3",className:"body1 text-text xl:heading6",children:a}):null;return t("section",{id:r,className:_e("callout-card relative flex flex-col rounded-3xl bg-white p-0",g&&"shadow-card",o,i,"w-full",m),"aria-labelledby":`card-title-${r}`,children:[(null==c?void 0:c.href)?e("div",{className:_e("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",h),children:(()=>{var t,n;if(!(null==c?void 0:c.href))return null;const i=e(Bt,{src:c.href,alt:null!==(n=null!==(t=c.title)&&void 0!==t?t:a)&&void 0!==n?n:"card-image",width:c.width||400,height:c.height||280,className:"w-full"});return b?e(ut,{href:b,tabIndex:-1,target:null==f?void 0:f.target,children:i}):i})()}):null,t("div",{className:_e("flex h-full flex-col gap-4 p-6 md:p-8",p),children:[t("div",{className:"flex flex-1 flex-col justify-between",children:[t("div",{children:[b&&v?e(ut,{href:b,target:null==f?void 0:f.target,className:"no-underline hover:underline",children:v}):v,s?e(at,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),l?e(at,{as:"p",className:"footnote mt-5 text-text-secondary",children:l}):null]}),u?e("div",{className:"mt-2 flex items-end",children:e(Nt,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...u,iconName:"expand_circle_right",iconFill:1})}):null]})]})},Rt={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Mt={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Lt={left:"justify-start",right:"justify-end",center:"justify-center"},Xt=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Wt=({card:n,lgWidth:i,mdWidth:o,className:r,contentClassName:a,style:s})=>{var l,c,u,d,m,p,h,g,f,b,v,y,x,I,w,C,N;const A=null===(l=n.imageView)||void 0===l?void 0:l.toLowerCase(),k="full"===A,G="margin"===A,P="standard"===A,T="icon"===A||"inset"===A||!A&&!!n.image,B=P||T,V=(null===(c=n.iconAlignment)||void 0===c?void 0:c.toLowerCase())||(null===(u=n.imageAlignment)||void 0===u?void 0:u.toLowerCase())||"left",S=n.ctaAlignment&&Mt[n.ctaAlignment]||Mt.left,E=n.ctaAlignmentBottom&&Lt[n.ctaAlignmentBottom]||Lt.left,R=null===(d=n.pinwheelColor)||void 0===d?void 0:d.split("-")[1],M=B&&n.applyCardBackgroundColor,L={...s,...M&&n.backgroundColor?{"--scc-bg":n.backgroundColor}:{},...M&&n.textColor?{"--scc-fg":n.textColor}:{},...M&&n.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...M&&n.showBackgroundImage&&R?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ke(R))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},X=t=>{var i,o;return n.image?e("div",{className:_e("relative aspect-video overflow-hidden",t?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e(Bt,{src:n.image,alt:null!==(o=null!==(i=n.imageAlt)&&void 0!==i?i:n.title)&&void 0!==o?o:"card-image",width:n.imageWidth||400,height:n.imageHeight||280,className:_e("w-full",!t&&"rounded-t-3xl")})}):null},W=M&&n.textColor?{color:n.textColor}:void 0,F=n.title?e(at,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:W,children:n.title}):null,O=(null===(m=n.cta)||void 0===m?void 0:m.href)&&F?e(ut,{href:n.cta.href,target:n.cta.target,className:"no-underline hover:underline",style:W,children:F}):F,D=(null!==(h=null===(p=n.workingHours)||void 0===p?void 0:p.length)&&void 0!==h?h:0)>0||(null!==(f=null===(g=n.phoneNumber)||void 0===g?void 0:g.length)&&void 0!==f?f:0)>0;return t("section",{className:_e("callout-card relative flex w-full flex-col rounded-3xl p-0",n.shadow&&"shadow-card",n.image&&!k&&!n.showBackgroundImage&&"pt-1",!n.applyCardBackgroundColor&&(null!==(v=Rt[null!==(b=n.backgroundColor)&&void 0!==b?b:""])&&void 0!==v?v:""),o,i,r),style:L,"aria-labelledby":n.title?`callout-${n.title}`:void 0,children:[(null===(y=n.ctaBottom)||void 0===y?void 0:y.title)&&(null===(x=n.ctaBottom)||void 0===x?void 0:x.href)?e("div",{className:_e("top-link m-6 flex items-center lg:m-8",E),children:t(ut,{href:n.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e(rt,{name:"location_on",fill:1,size:24}),e("span",{children:n.ctaBottom.title})]})}):null,n.image&&k?X(!1):null,n.image&&G?X(!0):null,t("div",{className:_e("relative flex flex-1 flex-col justify-between px-6 pb-8 pt-7 lg:px-8 lg:py-8",a),children:[e("div",{className:"flex flex-1 flex-col justify-between",children:t("div",{className:_e("flex flex-col",n.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e("div",{className:_e(n.imageToRichTextAlignment&&"flex-shrink-0"),children:!n.image||k||G?null:(()=>{var t,i;if(!n.image)return null;const o=P&&n.imageWidth||60,r=P&&n.imageHeight||60;return e("div",{className:_e("relative mb-8 flex",n.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:V},children:e(Bt,{src:n.image,alt:null!==(i=null!==(t=n.imageAlt)&&void 0!==t?t:n.title)&&void 0!==i?i:"card-icon",width:o,height:r,className:_e("object-contain",n.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),t("div",{className:"flex flex-col gap-3 md:gap-4",children:[O,n.titleLocation?e("div",{className:"mb-1 lg:mb-2",children:e(at,{as:"h4",className:"label1 font-bold text-text",children:n.titleLocation})}):null,D?e("div",{className:"mb-2",children:e("table",{children:t("tbody",{children:[null===(I=n.workingHours)||void 0===I?void 0:I.map((n,i)=>{const[o,r]=(null!=n?n:"").split("|");return t("tr",{children:[e("td",{className:"py-2 pr-3",children:e(at,{className:"label2 text-text",children:o})}),e("td",{className:"py-2 pl-3",children:e(at,{className:"body2 font-bold text-text",children:r})})]},`wh-${i}`)}),null===(w=n.phoneNumber)||void 0===w?void 0:w.map((n,i)=>t("tr",{children:[e("td",{className:"py-1 pr-3 align-middle",children:e(rt,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e("td",{className:"py-1 pl-3",children:e(ut,{href:Xt(n),className:"text-inherit no-underline",children:e(at,{className:"body2 font-bold text-text",children:n})})})]},`ph-${i}`))]})})}):null,n.body?e(at,{as:"div",className:"body1 text-text",style:W,children:n.body}):null,n.richText?e(at,{as:"div",className:"body1 text-text",style:W,children:n.richText}):null]})]})}),n.cta?e("div",{className:_e("mt-2",S),children:e(Nt,{linkVariant:"unstyled",linkClassName:_e("label1 flex items-center gap-2 text-text",M&&n.textColor&&"decoration-current"),...n.cta,iconName:null!==(C=n.cta.iconName)&&void 0!==C?C:"expand_circle_right",iconFill:null!==(N=n.cta.iconFill)&&void 0!==N?N:1})}):null]})]})},Ft={cream500:"bg-[#FFFEEF]",gray100:"bg-fill-secondary",white:"bg-white",transparent:"",blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",yellow:"bg-[#F5FF1E]"},Ot={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6"},Dt={1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4",5:"lg:grid-cols-5",6:"lg:grid-cols-6"},zt={1:"xl:grid-cols-1",2:"xl:grid-cols-2",3:"xl:grid-cols-3",4:"xl:grid-cols-4",5:"xl:grid-cols-5",6:"xl:grid-cols-6"},Zt=e=>Math.max(1,Math.min(6,e)),Ht=({anchorId:n,title:i,items:o,enableHeading:r=!1,subtitle:a,description:s,finePrint:l,cta:c,color:u="dark",maxWidth:d=!0,maxCardsPerRow:m,cardType:p="simple",backgroundColor:h,background:g,textColor:f,containerClassName:b,innerClassName:v,applyBoxShadow:y=!1,cardStackingMobile:x=!0,cardsWidth:I=!0,noGutter:w=!1})=>{var C,N,A;const k=null!==(C=null==o?void 0:o.length)&&void 0!==C?C:0,G=Zt(null!=m?m:(P=k)<=4?P||1:P%3==0?3:P%4==0||P>6?4:3);var P;const T=Zt(Math.min(G,k||G)),B=Zt(x||1===k?1:2),V=I?_e("grid items-stretch self-stretch",w?"gap-0":"gap-6",Ot[B],Dt[T],zt[G]):_e("flex flex-col items-stretch self-stretch",w?"gap-0":"gap-6"),S=g?{background:g}:void 0,E=f?{color:f}:void 0,R=g?"":h&&null!==(N=Ft[h])&&void 0!==N?N:"";return e("section",{id:n,className:_e("component-container",R,b),style:S,children:e("div",{className:_e(w?"p-0":"mx-5 mb-5 mt-12",d&&"max-w-120 xl:mx-auto","dark"===u?"text-text":"text-white",v),children:t("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[t("div",{className:"title-holder",style:E,children:[i&&e(at,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:i}),a&&e(at,{as:r?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:a}),s&&e(at,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e("div",{className:_e("card-holder",V),children:o.map((t,n)=>((t,n)=>{var i,o,r,a;const s=null!==(i=t.cardType)&&void 0!==i?i:p,l=I?{}:{lgWidth:void 0,mdWidth:void 0};switch(s){case"blog":{const i=t;return e(Gt,{title:i.title,href:i.slug,description:i.shortDescription,date:i.blogCreationDate,category:i.category,image:i.cover,asGrid:!1,...l},n)}case"fullImage":return e(Et,{card:{...t,shadow:null!==(o=t.shadow)&&void 0!==o?o:y},...l},n);case"floatingImage":return e(St,{card:{...t,shadow:null!==(r=t.shadow)&&void 0!==r?r:y},...l},n);default:return e(Wt,{card:{...t,shadow:null!==(a=t.shadow)&&void 0!==a?a:y},...l},n)}})(t,n))}),(c||l)&&t("div",{className:"flex flex-col items-center gap-4",children:[c?e(Nt,{linkClassName:"label1",buttonClassName:"label1",...c,children:null!==(A=c.label)&&void 0!==A?A:c.buttonLabel}):null,l?e(at,{as:"div",className:"footnote text-center text-text",children:l}):null]})]})})})},jt=({fields:t})=>e("div",{children:e(at,{children:"Cards"})}),Yt=r(({as:t,className:n="",...i},o)=>{const r=_e(n);if(t){return e(t,{ref:o,className:r,...i})}return e("img",{ref:o,className:r,...i})});Yt.displayName="Image";const Jt=({onSelect:i,speed:o,isSelected:r=!1,renderCheckPlans:a,iconSize:s=24,iconClassName:l,cta:u,techType:d,isMax:m})=>{const[p,h]=c(!1),g=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${r?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,f=null==a?void 0:a({speedCardConfig:{isModalOpen:p,setModalOpen:()=>{h(!1)},speed:o,techType:d,isMax:m},cta:u});return t(n,{children:[t(bt,{onClick:()=>{h(!0),i()},className:_e(g,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e(rt,{className:_e(l,r?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),f]})},Ut=({planName:i,planSubtext:o,speed:r,price:a,description:s,bestValue:l=!1,bestValueText:u="best value",giftBadge:d,innerBadge:m,theme:p="light",featuresTitle:h="Business Ready Internet features",features:g=[],isExpanded:f,onToggleExpand:b,onCtaClick:v,renderCheckPlans:y,cta:x,techType:I,ismaxSpeed:w})=>{const[C,N]=c(!1),A=void 0!==f?f:C,k="dark"===p;return t("article",{className:_e("relative flex h-full w-full max-w-[392px] flex-col",!l&&"md:pt-[38px]"),children:[l&&e("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:u}),t("div",{className:_e("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",k?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",l?"rounded-t-none border-t-0":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4",children:[t("div",{className:"flex flex-col",children:[e(at,{as:"h3",className:_e("subheading2",k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:i}),e(at,{as:"p",className:"label3 text-wrap "+(k?"text-text-accent-on-bg-inverse":"text-text-brand"),children:o})]}),t("div",{className:"flex items-start",children:[e(at,{as:"span",className:_e("label2 mr-1 mt-[2px]",k?"text-text-inverse":"text-text"),children:"$"}),e(at,{as:"span",className:_e("subheading6",k?"text-text-inverse":"text-text"),children:a.split(".")[0]}),t(at,{as:"span",className:_e("label2",k?"text-text-inverse":"text-text"),children:[a.split(".")[1],"/mo"]})]})]}),e("section",{children:e(at,{className:_e("body2",k?"text-text-inverse":"text-text"),children:s})}),(null==d?void 0:d.length)?e("div",{className:_e("flex-col items-center rounded-surface-sm p-2",k?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2",children:[e(Yt,{src:n.icon,alt:n.title,width:24,height:24}),e(at,{as:"div",className:_e("body3",k?"text-text-inverse":"text-text"),children:n.title})]},n.title))}):null,e(Jt,{onSelect:v,speed:r,isSelected:k,renderCheckPlans:y,cta:x,iconSize:40,techType:I,isMax:w}),g.length>0&&t("section",{className:"flex flex-col gap-3",children:[t(bt,{onClick:()=>{b?b():N(!C)},className:"group flex w-full items-center gap-2 text-left",children:[e(at,{as:"h4",className:_e("label3",k?"text-text-inverse":"text-text"),children:h}),e(rt,{name:"keyboard_arrow_down",fill:1,size:24,className:_e("transition-transform duration-300",A&&"rotate-180",k?"text-text-inverse":"text-text")})]}),t("div",{className:_e("overflow-hidden transition-all duration-200 ease-in-out",A?"opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col",children:e(st,{items:g,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:k?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(k?"text-text-inverse":"text-text")})}),(null==m?void 0:m.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(Yt,{src:m.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"footnote text-text",children:m.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:m.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:m.badgeText.split("|")[1]})]}):e(at,{className:"font-bold",children:m.badgeText})})]}):null]})]})]})]})},$t=({title:n,quote:i,rating:o,author:r,role:a,avatarUrl:s,isActive:l=!1,className:c})=>t("figure",{className:F("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(at,{as:"h3",className:"label1 text-text",children:n})}),e("blockquote",{className:"body1 text-text",children:i}),o?e("div",{className:"flex","aria-label":`Rating: ${o} out of 5`,children:[...Array(5)].map((t,n)=>e(rt,{size:24,name:"star",fill:1,className:F("h-[21px] w-[21px]",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),r&&t("figcaption",{className:"flex gap-3 md:gap-5",children:[e("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e(V,{src:s,alt:r,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:r.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"label3 font-bold not-italic text-text",children:r}),e(at,{as:"p",className:"body3 text-text",children:a})]})]})]});function Qt({fields:i,renderCheckPlans:o}){var r,a,s,m;const p=(null===(s=null===(a=null===(r=null==i?void 0:i.items)||void 0===r?void 0:r.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[h,g]=c(p),[f,b]=c({}),[v,y]=c(0),x=(null===(m=null==i?void 0:i.items)||void 0===m?void 0:m.items)||[],I=x.length>2,w=l([]),C=d(()=>{I&&y(e=>(e+3)%x.length)},[I,x.length]),N=d(()=>{I&&y(e=>(e-3+x.length)%x.length)},[I,x.length]);if(u(()=>{if(!I)return;const e=()=>{const e=w.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[I,h,x.length]),!x.length&&!(null==i?void 0:i.title))return null;const A=(t,n,i=!1)=>{var r,a,s,l,c,u,d,m;const p=null===(r=null==t?void 0:t.speed)||void 0===r?void 0:r.split("|"),v=(null==p?void 0:p[0])||"",y=(null==p?void 0:p[1])||"",x=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",I=`${(null==t?void 0:t.price)||"0"}.${x}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,A=(null===(u=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===u?void 0:u.items)||[],k={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},G=i?f[n]||!1:h;return e("div",{ref:i?void 0:e=>{e&&!w.current.includes(e)&&(w.current[n]=e)},className:_e(i?"mx-auto w-full max-w-[392px]":"flex-shrink-1 w-[392px]"),children:e(Ut,{planName:v,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:I,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:A,innerBadge:k,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:C,isExpanded:G,onToggleExpand:()=>{i?b(e=>({...e,[n]:!e[n]})):g(!h)},ctaText:(null===(m=null==t?void 0:t.cta)||void 0===m?void 0:m.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},k=[...x,...x,...x,...x,...x],G=2*x.length;return I?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:x.map((e,t)=>A(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(bt,{onClick:C,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(rt,{name:"arrow_back",size:24})}),e(bt,{onClick:N,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(rt,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${G+v} * (392px + 12px)))`},children:k.map((e,t)=>A(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:x.map((e,t)=>A(e,t))})}const _t=o.memo(({item:t,index:n,currentIndex:i,totalItems:o,swipeOffset:r,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-i;u>o/2&&(u-=o),u<-o/2&&(u+=o);const d=0===u,m=1===Math.abs(u),p=u*c+r/l*100,h=!s||(a?d||m:d);return e("div",{className:_e("col-start-1 row-start-1 w-full md:max-w-[815px]","will-change-[transform,opacity]",d?"z-10":"z-5",Math.abs(u)>1?"invisible":"visible",h?"opacity-100":"opacity-0",a?"transition-opacity duration-200":"transition-[transform,opacity] duration-500 ease-[cubic-bezier(0.25,0.46,0.45,0.94)]"),style:{transform:`translateX(${p}%)`},children:e($t,{...t,isActive:d,className:"h-full"})})});_t.displayName="TestimonialCarouselSlide";const Kt=({fields:n,autoScroll:i=!0,autoScrollInterval:o=8e3})=>{var r;const a=(null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:t,cardOffsetPercentage:n=105,swipeThreshold:i=.15,mobileBreakpoint:o=768,autoScrollInterval:r=8e3,enableAutoScroll:a=!0}=e,[s,m]=c(0),[p,h]=c(0),[g,f]=c(!1),[b,v]=c(window.innerWidth),[y,x]=c(!1),I=l(null),w=l(0),C=l(null),N={CARD_OFFSET_PERCENTAGE:n,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:r};u(()=>{const e=()=>{var e;v((null===(e=C.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const A=d(()=>{0!==t&&m(e=>(e+1)%t)},[t]),k=d(()=>{0!==t&&m(e=>0===e?t-1:e-1)},[t]),G=d(e=>{e<0||e>=t||m(e)},[t]),P=d(e=>{w.current=e.touches[0].clientX,f(!0),I.current&&clearInterval(I.current)},[]),T=d(e=>{if(!g)return;const t=e.touches[0].clientX-w.current;h(t)},[g]),B=d(()=>{f(!1);const e=b*i;p>e?k():p<-e&&A(),h(0),a&&r>0&&(I.current=setInterval(()=>{A()},r))},[p,b,i,k,A,a,r]);return u(()=>{const e=()=>{x(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),u(()=>{if(a&&0!==t&&0!==r)return I.current=setInterval(()=>{A()},r),()=>{I.current&&clearInterval(I.current)}},[A,t,a,r]),{currentIndex:s,swipeOffset:p,isSwiping:g,isMobile:y,containerWidth:b,containerRef:C,nextSlide:A,prevSlide:k,goToSlide:G,handleTouchStart:P,handleTouchMove:T,handleTouchEnd:B,constants:N}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:o,enableAutoScroll:i});return t("div",{children:[t("div",{className:"relative max-w-[1280px] md:px-11",children:[e(bt,{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(rt,{name:"arrow_back",size:24})}),e(bt,{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(rt,{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(_t,{item:t,index:n,currentIndex:s.currentIndex,totalItems:a.length,swipeOffset:s.swipeOffset,isSwiping:s.isSwiping,isMobile:s.isMobile,containerWidth:s.containerWidth,cardOffsetPercentage:s.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e("button",{onClick:()=>s.goToSlide(n),className:_e("h-2 w-2 rounded-full transition-all duration-300",s.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},qt=({tabs:n,activeTab:i,onChange:o,className:r})=>{const a=n.indexOf(i),s=l([]),[d,m]=c({width:0,left:0});return u(()=>{const e=s.current[a];e&&m({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e("div",{className:"flex w-full justify-center",children:t("div",{className:_e("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",r),children:[e("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${d.width}px`,left:`${d.left}px`}}),n.map((t,n)=>e("button",{ref:e=>{s.current[n]=e},onClick:()=>o(t),className:_e("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",i===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},en=({fields:n,hasTestimonialCards:i,hasProductCards:o,disclaimerText:r,backgroundColor:a,activeTab:s,setActiveTab:l,tabs:c,onModalButtonClick:u,renderCheckPlans:d,testimonialAutoScroll:m=!0,showSwitch:p=!1})=>t("div",{className:`${a} ${o?"px-3 py-9 md:py-20":i?"px-3 py-12 md:pt-20 md:pb-16":""} mx-auto overflow-hidden`,children:[t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[t("div",{children:[e(at,{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(at,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==n?void 0:n.subTitle})]}),p&&o&&t("div",{className:"flex flex-col gap-8",children:[p&&o&&c.length>1&&e(qt,{tabs:c,activeTab:s,onChange:l}),o&&e(Qt,{onModalButtonClick:u,renderCheckPlans:d,fields:n})]}),i&&e(Kt,{fields:n,autoScroll:m,autoScrollInterval:8e3})]}),r&&e(at,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:r})]}),tn=({title:n,subtitle:i,description:o,disclaimer:r,icon:a,cta:s,background:l="navy",color:c="light",enableHeading:u,maxWidth:d=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(d?"max-w-120":""),children:[t("div",{className:`flex flex-col rounded-surface px-5 py-7 lg:flex-row lg:gap-5 lg:rounded-surface-lg lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[a&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Bt,{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(at,{as:u?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),i&&e(at,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:i}),o&&e(at,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e(Nt,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),r&&e("div",{children:e(at,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),nn=({body:n,links:i,bottomLinks:r,copyrights:a,terms:s,maxWidth:l=!0,onClick:c})=>{function u(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e(xt,{className:"my-8 border-border-inverse lg:my-16"}),e("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==i?void 0:i.map((n,i)=>{var r,a;return t(o.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(at,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(a=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===a?void 0:a.map((t,n)=>e("li",{className:"pt-3",children:e(Nt,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:u})},`site-links-${n}`))})]},`link-group-${i}`)},`footer-link-group-${i}`),e(xt,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${i}`)})}),t("div",{className:"py-8",children:[e(xt,{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==r?void 0:r.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(Nt,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:u})},`links-${n}`))})})]})]})})},on=({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(rt,{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:i,autoplay:o=!1,debug:r=!1}=t,{href:s,embedId:l}=a(()=>{if(!n)return{href:"",embedId:""};const e=n.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),i=t.split("/"),o=i[i.length-1];return(null==n?void 0:n[1])?n[1]===o?n[1]:`${n[1]}/${o}`:""})(e);return{href:e,embedId:t}},[n]);if(r&&console.log("[VimeoEmbed] href:",s,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],i=n[2],o=`https://player.vimeo.com/video/${e}`;return i&&/^[a-f0-9]+$/i.test(i)&&t.searchParams.set("h",i),`${o}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e("div",{className:_e("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const an=t=>{const{link:n,containerClassName:i,autoplay:o=!1}=t,r=a(()=>{if(!n)return"";const e=n.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[n]),s=o?"?autoplay=1":"";return e("div",{className:_e("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${r}${s}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},sn=({brow:n,enableHeading:i,title:o,subTitle:r,ctaDisclaimer:a,disclaimer:s,description:l,image:u,imageLinks:d,mediaPosition:m=!0,checklist:p,secondaryCta:h,cta:g,videoLink:f,maxWidth:b=!0,color:v="light",imageWidth:y=660,imageHeight:x=660,onModalButtonClick:I,renderCheckPlans:w})=>{var C,N;const[A,k]=c(""),[G,P]=c(!1),T=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",B=null==f?void 0:f.image,V=null!==(N=null==f?void 0:f.videoPopup)&&void 0!==N&&N,S=Boolean(A&&A===T),E=f&&B?T.includes("vimeo")?e(rn,{link:T,autoplay:S}):e(an,{link:T,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] "+(m?"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(at,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e(at,{as:i?"h1":"h2",className:"heading2 xl:heading1",children:o}),r&&e(at,{as:i?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:r})]}),l&&e(at,{as:"div",className:"body1",children:l}),p.length>0&&e(st,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),d.length>0&&e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(ut,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(Yt,{src:t.image,alt:"icon-link"})})},n))}),(g||h)&&t("div",{className:"flex w-full flex-col gap-3 xl:flex-row",children:[g&&e("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e(Nt,{...g,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})}),h&&e("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e(Nt,{...h,fullWidth:!0,size:{base:"large"},renderCheckPlans:w,onModalButtonClick:I})})]}),a&&e("div",{children:a}),s&&e("div",{children:s})]}),t("aside",{className:"flex w-full shrink-0 items-center justify-center lg:w-auto",children:[u&&e("div",{className:"relative h-[334px] w-[334px] overflow-hidden rounded-image md:h-[486px] md:w-[486px]",children:e(Bt,{src:u,alt:"section-image",fill:!0,sizes:"(min-width: 768px) 486px, 334px",className:"object-cover"})}),(null==f?void 0:f.link)&&t("div",{className:_e("video-section relative w-full cursor-pointer overflow-hidden rounded-image transition-all duration-300 lg:w-[486px]",!S&&"hover:shadow-2xl"),onClick:()=>{var e;k(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[t("div",{className:_e(S&&!V&&"hidden",S&&!V?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e(Bt,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-image object-cover"}),e("div",{className:"absolute inset-0 flex items-center justify-center",children:e(on,{isHovered:G})})]}),!V&&S&&e("div",{className:_e("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",S?"opacity-100":"opacity-0"),children:E})]})]})]})}),V&&S&&e("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),k("")},children:e("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:E})})]})},ln=({link:n,anchorName:i})=>{const[r,a]=o.useState(!1),s=o.useRef(null);if(((e,t)=>{const n=n=>{var i;(null===(i=null==e?void 0:e.current)||void 0===i?void 0:i.contains(n.target))||t()};u(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(Nt,{...n,linkClassName:"body3 flex items-center text-text h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:l,title:c,items:d}=n,m=Array.isArray(null==d?void 0:d.items)?d.items:[],p=`--link-anchor-${i}`;return t("div",{className:"relative h-full",style:{anchorName:p},ref:s,children:[t(Nt,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full text-text items-center",showButtonAs:"unstyled",children:[e(at,{as:"span",className:"group-hover:underline",children:null!=c?c:null}),e(rt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},l),e("div",{className:_e("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",r&&m.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:p,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&a(!1)},children:m.map((t,n)=>e("li",{className:"submenu-link",children:e(Nt,{...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}`))})})]})},cn=({link:i})=>{const[r,a]=o.useState(!1);if(!i)return null;if((e=>"string"==typeof e.href)(i))return e(Nt,{...i,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${i.anchorId}`);const{anchorId:s,title:l,items:c}=i,u=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(Nt,{onClick:()=>a(e=>!e),"aria-expanded":r,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(rt,{weight:"200",size:24,className:"text-icon-secondary group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},s),r&&u.length>0&&e(un,{items:u})]})},un=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(Nt,{...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}`),dn=n=>{const{showBlinkDot:i=!1,buttonStyle:o="primary",size:r="md",children:a,className:s,prefix:l,containerClassName:c,...u}=n,d=t(ut,{...u,className:_e("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[r],{primary:"border-[0.727px] border-border text-text"}[o],s),children:[i?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:_e("relative inline-flex items-center justify-center rounded-full bg-icon-brand",{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[r]),children:e(rt,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:a})]});return null==l||!1===l||""===l?d:t("span",{className:_e("flex items-center gap-2",c),children:["string"==typeof l||"number"==typeof l?e("span",{className:"text-sm font-normal text-text",children:l}):l,d]})};dn.displayName="CallButton";const mn=r((n,i)=>{const{className:o,size:r,required:a,placeholder:s,label:l,state:u,errorText:m,prefixIconName:p,prefixIconFill:h=!0,suffixIconFill:g=!1,prefixIconSize:f=24,suffixIconName:b,suffixIconSize:v=24,containerClassName:y,prefixIconClassName:x,loading:I,hasError:w,type:C,...N}=n,A=w?"error":u,[k,G]=c(!1),[P,T]=c(!1),[B,V]=c(C||"text"),S=d(e=>{e.stopPropagation(),V(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[l?e("label",{htmlFor:l,className:_e("inline-block pb-1"),children:t(at,{as:"span",className:"footnote text-text",children:[l,a?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:_e("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[r||"medium"],y,(k||"hover"===A)&&!P&&"error"!==A&&"border-input-border-hover",(P||"focus"===A||"active"===A)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===A&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[p?e("div",{className:"mr-1",style:{width:f,height:f,overflow:"hidden"},children:e(rt,{name:p,fill:h?1:0,size:f,className:_e(x)})}):null,e("input",{ref:i,id:l,disabled:I||N.disabled,className:_e("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===r&&"text-body3",o),placeholder:s,type:B,...N,onMouseOver:()=>G(!0),onMouseOut:()=>G(!1),onFocus:e=>{var t;null===(t=N.onFocus)||void 0===t||t.call(N,e),T(!0)},onBlur:e=>{var t;null===(t=N.onBlur)||void 0===t||t.call(N,e),T(!1)}}),b?e("div",{className:"ml-2",style:{width:v,height:v,overflow:"hidden"},onClick:S,children:e(rt,{name:"text"===B?"visibility":"visibility_off",size:v,fill:g?1:0})}):null]}),"error"===A&&m&&""!=m?t(at,{className:_e("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(rt,{name:"info",size:20,className:"mr-1"}),m||"Error"]}):null]})});mn.displayName="Input";const pn=n=>{const{primaryNavigationLinks:i,utilityNavigationLinks:o,checkPlansJSX:r,primaryNavigationLogo:a,accountNavigationLinks:s,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:u,invocaPhoneNumberDisplayText:d,callNowCtaText:m,displayCartIcon:p,cartHref:h,cartHasRetention:g,cartIconAriaLabel:f="Cart",onCallClickDesktop:b,onCallClickMobile:v,onCartClick:y,onSearch:x=()=>{},utilityNavActiveIndex:I,primaryNavigationLogoWidth:w=76.5,primaryNavigationLogoHeight:C=24,hideMobileCallButton:N=!1}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container z-[1000]",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==o?void 0:o.map((t,n)=>e("li",{children:e(Nt,{linkClassName:_e("footnote flex items-center w-full h-11 text-text","number"!=typeof I?1===n&&"label4":I===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(dn,{className:"border-none",href:u,prefix:m,onClick:b,children:e(at,{className:"body3 text-text",children:d})}),p?t(ut,{href:h||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:y,children:[e(rt,{name:"shopping_cart"}),g?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,null==s?void 0:s.map((t,n)=>e(ln,{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 border border-b px-5 py-[10px] lg:hidden",children:[e("div",{children:e(ut,{href:"/",className:"flex",children:e(Bt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:w,height:C})})}),t("div",{className:"flex items-center gap-6",children:[N?null:e(dn,{href:u,onClick:v,children:e(at,{as:"span",className:"footnote",children:d})}),p?t(ut,{href:h||"#",className:"relative inline-flex cursor-pointer","aria-label":f,onClick:y,children:[e(rt,{name:"shopping_cart"}),g?e("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,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(ut,{href:"/",className:"flex",children:e(Bt,{src:"string"==typeof a?a:(null==a?void 0:a.url)||"",alt:"Kinetic business logo",width:w,height:C,className:"mr-[64px]"})}),e("div",{className:"flex h-full items-center gap-5",children:null==i?void 0:i.map((t,n)=>e(ln,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(fn,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:x}),null==l?void 0:l.map((t,n)=>e(ln,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e("div",{className:"md:hidden",children:r})]})},hn=n=>{var i;const{primaryNavigationLinks:r,utilityNavigationLinks:a,supportNavigationLinks:s,accountNavigationLinks:l}=n,[c,u]=o.useState(!1);o.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=c?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],i=t[t.length-1],o=e=>{var t,o,r,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=i).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===i&&(null===(a=(r=n).focus)||void 0===a||a.call(r),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[c]);const d=()=>{u(!1)};return t("div",{children:[e(Nt,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>u(!0),children:e(rt,{name:"menu"})}),c?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:_e("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",c?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(dn,{className:"border-none",href:n.invocaPhoneNumberLink,onClick:n.onCallClickMobile,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(Nt,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:d,children:e(rt,{name:"close"})})})]}),e(gn,{closeMenu:d,isMenuOpen:c,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(i=n.searchBarIcon)||void 0===i?void 0:i.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&d()},children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...s||[],...l||[]].map((t,n)=>e("li",{children:e(cn,{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,i)=>e("li",{children:e(Nt,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:_e("footnote flex items-center w-full h-11 text-text-link","number"!=typeof n.utilityNavActiveIndex?1===i&&"label4":n.utilityNavActiveIndex===i&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${t.anchorId}`)},`utility-menu-items-${i}`))})]})]})})]})},gn=n=>{const{closeMenu:i,onSearch:r,isMenuOpen:a,searchBarIconURL:s}=n,[l,c]=o.useState(""),u=o.useRef(null),d=e=>{i(),e.preventDefault(),r(l)};return o.useEffect(()=>{a||c("")},[a]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e(Bt,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e("div",{className:"flex-grow",children:e(mn,{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"})})]})},fn=n=>{const{searchBarIconURL:i,onSearch:r}=n,[a,s]=o.useState(""),l=o.useRef(null),c=e=>{e.preventDefault(),r(a)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Bt,{src:i,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(mn,{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"})]})},bn=n=>{var i;const{title:o,showAsHeading:r,subTitle:a,primaryCta1:s,carouselImages:l,bottomLink:c,price:u,priceCallout:d,priceSuffix:m,checklist:p,renderCheckPlans:h,badgeImage:g,pricingDescriptionDisclaimer:f,secondaryCta:b,secondaryCtaPrefix:v,onModalButtonClick:y,hideOnMobileCta1:x}=n,I=null!==(i=null==c?void 0:c.buttonLabel)&&void 0!==i?i:null==c?void 0:c.label;return console.log(s),e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:_e("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:_e("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e(at,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e(at,{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(at,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(at,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e(at,{as:"p",className:"subheading5",children:u}),m?e(at,{as:"p",className:"subheading1 mt-0.5",children:m}):null]})]}):null,p&&e(st,{listItemClassName:"text-white text-left",items:p.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[s&&e("div",{className:_e("md:block",x&&"hidden"),children:e(Nt,{...s,renderCheckPlans:h,onModalButtonClick:y,fullWidth:!0,buttonClassName:"md:w-auto"})}),v||b?t("div",{className:"hidden md:flex",children:[v&&e(at,{as:"span",className:"body2 mr-1",children:v}),b&&e(Nt,{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(Nt,{...c,linkClassName:"text-footnote text-white",onModalButtonClick:y})}),f?e(at,{as:"p",className:"body3 hidden md:block",children:f}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[g?e(Bt,{src:g,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:104,height:104,quality:90,loading:"eager"}):null,l&&l[0]?e(Bt,{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(Nt,{...c,onModalButtonClick:y,linkClassName:"body3 text-white"})}),f?e(at,{as:"p",className:"body3 md:hidden",children:f}):null,v||b?t("div",{className:"flex md:hidden",children:[v&&e(at,{as:"span",className:"body2 mr-1",children:v}),b&&e(Nt,{...b,onModalButtonClick:y,linkClassName:"text-white"})]}):null]}),t("div",{className:_e("relative hidden lg:block"),children:[g?e(Bt,{src:g,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:208,height:208,quality:90,loading:"eager"}):null,l&&l[0]?e(Bt,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,quality:90,loading:"eager"}):null]})]})})},vn=({fields:t})=>e("div",{children:e(at,{children:"Text Block"})}),yn={closed:{opacity:0},open:{opacity:1}},xn={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},In={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},wn=m({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Cn=m({}),Nn=m(null),An="undefined"!=typeof document,kn=An?p:u,Gn=m({strict:!1});function Pn(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Tn(e){return"string"==typeof e||Array.isArray(e)}function Bn(e){return"object"==typeof e&&"function"==typeof e.start}const Vn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Sn=["initial",...Vn];function En(e){return Bn(e.animate)||Sn.some(t=>Tn(e[t]))}function Rn(e){return Boolean(En(e)||e.variants)}function Mn(e){const{initial:t,animate:n}=function(e,t){if(En(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Tn(t)?t:void 0,animate:Tn(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(Cn));return a(()=>({initial:t,animate:n}),[Ln(t),Ln(n)])}function Ln(e){return Array.isArray(e)?e.join(" "):e}const Xn={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Wn={};for(const e in Xn)Wn[e]={isEnabled:t=>Xn[e].some(e=>!!t[e])};const Fn=m({}),On=m({}),Dn=Symbol.for("motionComponentSymbol");function zn({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)Wn[t]={...Wn[t],...e[t]}}(e);const s=r(function(r,s){let c;const m={...h(wn),...r,layoutId:Zn(r)},{isStatic:p}=m,f=Mn(r),b=o(r,p);if(!p&&An){f.visualElement=function(e,t,n,i){const{visualElement:o}=h(Cn),r=h(Gn),a=h(Nn),s=h(wn).reducedMotion,c=l();i=i||r.renderer,!c.current&&i&&(c.current=i(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:s}));const d=c.current;return g(()=>{d&&d.update(n,a)}),kn(()=>{d&&d.render()}),u(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?kn:u)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(a,b,m,t);const n=h(On),i=h(Gn).strict;f.visualElement&&(c=f.visualElement.loadFeatures(m,i,e,n))}return i.createElement(Cn.Provider,{value:f},c&&f.visualElement?i.createElement(c,{visualElement:f.visualElement,...m}):null,n(a,r,function(e,t,n){return d(i=>{i&&e.mount&&e.mount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):Pn(n)&&(n.current=i))},[t])}(b,f.visualElement,s),b,p,f.visualElement))});return s[Dn]=a,s}function Zn({layoutId:e}){const t=h(Fn).id;return t&&void 0!==e?t+"-"+e:e}function Hn(e){function t(t,n={}){return zn(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,i)=>(n.has(i)||n.set(i,t(i)),n.get(i))})}const jn=["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 Yn(e){return"string"==typeof e&&!e.includes("-")&&!!(jn.indexOf(e)>-1||/[A-Z]/.test(e))}const Jn={};const Un=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$n=new Set(Un);function Qn(e,{layout:t,layoutId:n}){return $n.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Jn[e]||"opacity"===e)}const _n=e=>Boolean(e&&e.getVelocity),Kn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qn=Un.length;const ei=e=>t=>"string"==typeof t&&t.startsWith(e),ti=ei("--"),ni=ei("var(--"),ii=(e,t)=>t&&"number"==typeof e?t.transform(e):e,oi=(e,t,n)=>Math.min(Math.max(n,e),t),ri={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},ai={...ri,transform:e=>oi(0,1,e)},si={...ri,default:1},li=e=>Math.round(1e5*e)/1e5,ci=/(-)?([\d]*\.?[\d])+/g,ui=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,di=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function mi(e){return"string"==typeof e}const pi=e=>({test:t=>mi(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),hi=pi("deg"),gi=pi("%"),fi=pi("px"),bi=pi("vh"),vi=pi("vw"),yi={...gi,parse:e=>gi.parse(e)/100,transform:e=>gi.transform(100*e)},xi={...ri,transform:Math.round},Ii={borderWidth:fi,borderTopWidth:fi,borderRightWidth:fi,borderBottomWidth:fi,borderLeftWidth:fi,borderRadius:fi,radius:fi,borderTopLeftRadius:fi,borderTopRightRadius:fi,borderBottomRightRadius:fi,borderBottomLeftRadius:fi,width:fi,maxWidth:fi,height:fi,maxHeight:fi,size:fi,top:fi,right:fi,bottom:fi,left:fi,padding:fi,paddingTop:fi,paddingRight:fi,paddingBottom:fi,paddingLeft:fi,margin:fi,marginTop:fi,marginRight:fi,marginBottom:fi,marginLeft:fi,rotate:hi,rotateX:hi,rotateY:hi,rotateZ:hi,scale:si,scaleX:si,scaleY:si,scaleZ:si,skew:hi,skewX:hi,skewY:hi,distance:fi,translateX:fi,translateY:fi,translateZ:fi,x:fi,y:fi,z:fi,perspective:fi,transformPerspective:fi,opacity:ai,originX:yi,originY:yi,originZ:fi,zIndex:xi,fillOpacity:ai,strokeOpacity:ai,numOctaves:xi};function wi(e,t,n,i){const{style:o,vars:r,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(ti(e)){r[e]=n;continue}const i=Ii[e],d=ii(n,i);if($n.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(i.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):o[e]=d}if(t.transform||(l||i?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},i,o){let r="";for(let t=0;t<qn;t++){const n=Un[t];void 0!==e[n]&&(r+=`${Kn[n]||n}(${e[n]}) `)}return t&&!e.z&&(r+="translateZ(0)"),r=r.trim(),o?r=o(e,i?"":r):n&&i&&(r="none"),r}(e.transform,n,u,i):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;o.transformOrigin=`${e} ${t} ${n}`}}const Ci=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Ni(e,t,n){for(const i in t)_n(t[i])||Qn(i,n)||(e[i]=t[i])}function Ai(e,t,n){const i={};return Ni(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},t,n){return a(()=>{const i={style:{},transform:{},transformOrigin:{},vars:{}};return wi(i,t,{enableHardwareAcceleration:!n},e),Object.assign({},i.vars,i.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(i):i}function ki(e,t,n){const i={},o=Ai(e,t,n);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i}const Gi=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 Pi(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Gi.has(e)}let Ti=e=>!Pi(e);try{(Bi=require("@emotion/is-prop-valid").default)&&(Ti=e=>e.startsWith("on")?!Pi(e):Bi(e))}catch(At){}var Bi;function Vi(e,t,n){return"string"==typeof e?e:fi.transform(t+n*e)}const Si={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ei={offset:"strokeDashoffset",array:"strokeDasharray"};function Ri(e,{attrX:t,attrY:n,attrScale:i,originX:o,originY:r,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,m){if(wi(e,c,u,m),d)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:p,style:h,dimensions:g}=e;p.transform&&(g&&(h.transform=p.transform),delete p.transform),g&&(void 0!==o||void 0!==r||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Vi(t,e.x,e.width)} ${Vi(n,e.y,e.height)}`}(g,void 0!==o?o:.5,void 0!==r?r:.5)),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==i&&(p.scale=i),void 0!==a&&function(e,t,n=1,i=0,o=!0){e.pathLength=1;const r=o?Si:Ei;e[r.offset]=fi.transform(-i);const a=fi.transform(t),s=fi.transform(n);e[r.array]=`${a} ${s}`}(p,a,s,l,!1)}const Mi=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Li=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Xi(e,t,n,i){const o=a(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ri(n,t,{enableHardwareAcceleration:!1},Li(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Ni(t,e.style,e),o.style={...t,...o.style}}return o}function Wi(e=!1){return(t,n,i,{latestValues:o},r)=>{const l=(Yn(t)?Xi:ki)(n,o,r,t),c=function(e,t,n){const i={};for(const o in e)"values"===o&&"object"==typeof e.values||(Ti(o)||!0===n&&Pi(o)||!t&&!Pi(o)||e.draggable&&o.startsWith("onDrag"))&&(i[o]=e[o]);return i}(n,"string"==typeof t,e),u={...c,...l,ref:i},{children:d}=n,m=a(()=>_n(d)?d.get():d,[d]);return s(t,{...u,children:m})}}const Fi=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Oi(e,{style:t,vars:n},i,o){Object.assign(e.style,t,o&&o.getProjectionStyles(i));for(const t in n)e.style.setProperty(t,n[t])}const Di=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function zi(e,t,n,i){Oi(e,t,void 0,i);for(const n in t.attrs)e.setAttribute(Di.has(n)?n:Fi(n),t.attrs[n])}function Zi(e,t){const{style:n}=e,i={};for(const o in n)(_n(n[o])||t.style&&_n(t.style[o])||Qn(o,e))&&(i[o]=n[o]);return i}function Hi(e,t){const n=Zi(e,t);for(const i in e)if(_n(e[i])||_n(t[i])){n[-1!==Un.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]}return n}function ji(e,t,n,i={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,i,o)),t}function Yi(e){const t=l(null);return null===t.current&&(t.current=e()),t.current}const Ji=e=>Array.isArray(e),Ui=e=>Ji(e)?e[e.length-1]||0:e;function $i(e){const t=_n(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Qi=e=>(t,n)=>{const i=h(Cn),o=h(Nn),r=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},i,o,r){const a={latestValues:_i(i,o,r,e),renderState:t()};return n&&(a.mount=e=>n(i,e,a)),a}(e,t,i,o);return n?r():Yi(r)};function _i(e,t,n,i){const o={},r=i(e,{});for(const e in r)o[e]=$i(r[e]);let{initial:a,animate:s}=e;const l=En(e),c=Rn(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!Bn(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=ji(e,t);if(!n)return;const{transitionEnd:i,transition:r,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in i)o[e]=i[e]})}return o}const Ki={useVisualState:Qi({scrapeMotionValuesFromProps:Hi,createRenderState:Mi,onMount:(e,t,{renderState:n,latestValues:i})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}Ri(n,i,{enableHardwareAcceleration:!1},Li(t.tagName),e.transformTemplate),zi(t,n)}})},qi={useVisualState:Qi({scrapeMotionValuesFromProps:Zi,createRenderState:Ci})};function eo(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}const to=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function no(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function io(e,t,n,i){return eo(e,t,(e=>t=>to(t)&&e(t,no(t)))(n),i)}const oo=(e,t)=>n=>t(e(n)),ro=(...e)=>e.reduce(oo);function ao(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const so=ao("dragHorizontal"),lo=ao("dragVertical");function co(e){let t=!1;if("y"===e)t=lo();else if("x"===e)t=so();else{const e=so(),n=lo();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function uo(){const e=co(!0);return!e||(e(),!1)}class mo{constructor(e){this.isMounted=!1,this.node=e}update(){}}const po={delta:0,timestamp:0,isProcessing:!1};let ho=!0,go=!1;const fo=["read","update","preRender","render","postRender"],bo=fo.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],i=0,o=!1,r=!1;const a=new WeakSet,s={schedule:(e,r=!1,s=!1)=>{const l=s&&o,c=l?t:n;return r&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(i=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(o)r=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,i=t.length,i)for(let n=0;n<i;n++){const i=t[n];i(l),a.has(i)&&(s.schedule(i),e())}o=!1,r&&(r=!1,s.process(l))}}};return s}(()=>go=!0),e),{}),vo=e=>bo[e].process(po),yo=e=>{go=!1,po.delta=ho?1e3/60:Math.max(Math.min(e-po.timestamp,40),1),po.timestamp=e,po.isProcessing=!0,fo.forEach(vo),po.isProcessing=!1,go&&(ho=!1,requestAnimationFrame(yo))},xo=fo.reduce((e,t)=>{const n=bo[t];return e[t]=(e,t=!1,i=!1)=>(go||(go=!0,ho=!0,po.isProcessing||requestAnimationFrame(yo)),n.schedule(e,t,i)),e},{});function Io(e){fo.forEach(t=>bo[t].cancel(e))}function wo(e,t){const n="pointer"+(t?"enter":"leave"),i="onHover"+(t?"Start":"End");return io(e.current,n,(n,o)=>{if("touch"===n.type||uo())return;const r=e.getProps();e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",t),r[i]&&xo.update(()=>r[i](n,o))},{passive:!e.getProps()[i]})}const Co=(e,t)=>!!t&&(e===t||Co(e,t.parentElement)),No=e=>e;function Ao(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,no(n))}const ko=new WeakMap,Go=new WeakMap,Po=e=>{const t=ko.get(e.target);t&&t(e)},To=e=>{e.forEach(Po)};function Bo(e,t,n){const i=function({root:e,...t}){const n=e||document;Go.has(n)||Go.set(n,{});const i=Go.get(n),o=JSON.stringify(t);return i[o]||(i[o]=new IntersectionObserver(To,{root:e,...t})),i[o]}(t);return ko.set(e,n),i.observe(e),()=>{ko.delete(e),i.unobserve(e)}}const Vo={some:0,all:1};const So={inView:{Feature:class extends mo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:o}=e,r={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Vo[i]};return Bo(this.node.current,r,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),r=t?n:i;r&&r(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends mo{constructor(){super(...arguments),this.removeStartListeners=No,this.removeEndListeners=No,this.removeAccessibleListeners=No,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),i=io(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:i}=this.node.getProps();xo.update(()=>{Co(this.node.current,e.target)?n&&n(e,t):i&&i(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=io(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ro(i,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=eo(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=eo(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Ao("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&xo.update(()=>n(e,t))})}),Ao("down",(e,t)=>{this.startPress(e,t)})}),t=eo(this.node.current,"blur",()=>{this.isPressing&&Ao("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ro(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&xo.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!uo()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&xo.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=io(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=eo(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ro(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends mo{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=ro(eo(this.node.current,"focus",()=>this.onFocus()),eo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends mo{mount(){this.unmount=ro(wo(this.node,!0),wo(this.node,!1))}unmount(){}}}};function Eo(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function Ro(e,t,n){const i=e.getProps();return ji(i,t,void 0!==n?n:i.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Mo="data-"+Fi("framerAppearId");let Lo=No,Xo=No;"production"!==process.env.NODE_ENV&&(Lo=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Xo=(e,t)=>{if(!e)throw new Error(t)});const Wo=e=>1e3*e,Fo=e=>e/1e3,Oo=!1,Do=e=>Array.isArray(e)&&"number"==typeof e[0];function zo(e){return Boolean(!e||"string"==typeof e&&Ho[e]||Do(e)||Array.isArray(e)&&e.every(zo))}const Zo=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,Ho={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zo([0,.65,.55,1]),circOut:Zo([.55,0,1,.45]),backIn:Zo([.31,.01,.66,-.59]),backOut:Zo([.33,1.53,.69,.99])};function jo(e){if(e)return Do(e)?Zo(e):Array.isArray(e)?e.map(jo):Ho[e]}const Yo={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Jo={},Uo={};for(const e in Yo)Uo[e]=()=>(void 0===Jo[e]&&(Jo[e]=Yo[e]()),Jo[e]);const $o=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Qo(e,t,n,i){if(e===t&&n===i)return No;const o=t=>function(e,t,n,i,o){let r,a,s=0;do{a=t+(n-t)/2,r=$o(a,i,o)-e,r>0?n=a:t=a}while(Math.abs(r)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:$o(o(e),t,i)}const _o=Qo(.42,0,1,1),Ko=Qo(0,0,.58,1),qo=Qo(.42,0,.58,1),er=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,tr=e=>t=>1-e(1-t),nr=e=>1-Math.sin(Math.acos(e)),ir=tr(nr),or=er(ir),rr=Qo(.33,1.53,.69,.99),ar=tr(rr),sr=er(ar),lr={linear:No,easeIn:_o,easeInOut:qo,easeOut:Ko,circIn:nr,circInOut:or,circOut:ir,backIn:ar,backInOut:sr,backOut:rr,anticipate:e=>(e*=2)<1?.5*ar(e):.5*(2-Math.pow(2,-10*(e-1)))},cr=e=>{if(Array.isArray(e)){Xo(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,o]=e;return Qo(t,n,i,o)}return"string"==typeof e?(Xo(void 0!==lr[e],`Invalid easing type '${e}'`),lr[e]):e},ur=(e,t)=>n=>Boolean(mi(n)&&di.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),dr=(e,t,n)=>i=>{if(!mi(i))return i;const[o,r,a,s]=i.match(ci);return{[e]:parseFloat(o),[t]:parseFloat(r),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},mr={...ri,transform:e=>Math.round((e=>oi(0,255,e))(e))},pr={test:ur("rgb","red"),parse:dr("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+mr.transform(e)+", "+mr.transform(t)+", "+mr.transform(n)+", "+li(ai.transform(i))+")"};const hr={test:ur("#"),parse:function(e){let t="",n="",i="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,i+=i,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:o?parseInt(o,16)/255:1}},transform:pr.transform},gr={test:ur("hsl","hue"),parse:dr("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+gi.transform(li(t))+", "+gi.transform(li(n))+", "+li(ai.transform(i))+")"},fr={test:e=>pr.test(e)||hr.test(e)||gr.test(e),parse:e=>pr.test(e)?pr.parse(e):gr.test(e)?gr.parse(e):hr.parse(e),transform:e=>mi(e)?e:e.hasOwnProperty("red")?pr.transform(e):gr.transform(e)},br=(e,t,n)=>-n*e+n*t+e;function vr(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 yr=(e,t,n)=>{const i=e*e;return Math.sqrt(Math.max(0,n*(t*t-i)+i))},xr=[hr,pr,gr];function Ir(e){const t=(n=e,xr.find(e=>e.test(n)));var n;Xo(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===gr&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let o=0,r=0,a=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;o=vr(s,i,e+1/3),r=vr(s,i,e),a=vr(s,i,e-1/3)}else o=r=a=n;return{red:Math.round(255*o),green:Math.round(255*r),blue:Math.round(255*a),alpha:i}}(i)),i}const wr=(e,t)=>{const n=Ir(e),i=Ir(t),o={...n};return e=>(o.red=yr(n.red,i.red,e),o.green=yr(n.green,i.green,e),o.blue=yr(n.blue,i.blue,e),o.alpha=br(n.alpha,i.alpha,e),pr.transform(o))};const Cr={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:No},Nr={regex:ui,countKey:"Colors",token:"${c}",parse:fr.parse},Ar={regex:ci,countKey:"Numbers",token:"${n}",parse:ri.parse};function kr(e,{regex:t,countKey:n,token:i,parse:o}){const r=e.tokenised.match(t);r&&(e["num"+n]=r.length,e.tokenised=e.tokenised.replace(t,i),e.values.push(...r.map(o)))}function Gr(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&kr(n,Cr),kr(n,Nr),kr(n,Ar),n}function Pr(e){return Gr(e).values}function Tr(e){const{values:t,numColors:n,numVars:i,tokenised:o}=Gr(e),r=t.length;return e=>{let t=o;for(let o=0;o<r;o++)t=o<i?t.replace(Cr.token,e[o]):o<i+n?t.replace(Nr.token,fr.transform(e[o])):t.replace(Ar.token,li(e[o]));return t}}const Br=e=>"number"==typeof e?0:e;const Vr={test:function(e){var t,n;return isNaN(e)&&mi(e)&&((null===(t=e.match(ci))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(ui))||void 0===n?void 0:n.length)||0)>0},parse:Pr,createTransformer:Tr,getAnimatableNone:function(e){const t=Pr(e);return Tr(e)(t.map(Br))}},Sr=(e,t)=>n=>`${n>0?t:e}`;function Er(e,t){return"number"==typeof e?n=>br(e,t,n):fr.test(e)?wr(e,t):e.startsWith("var(")?Sr(e,t):Lr(e,t)}const Rr=(e,t)=>{const n=[...e],i=n.length,o=e.map((e,n)=>Er(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=o[t](e);return n}},Mr=(e,t)=>{const n={...e,...t},i={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(i[o]=Er(e[o],t[o]));return e=>{for(const t in i)n[t]=i[t](e);return n}},Lr=(e,t)=>{const n=Vr.createTransformer(t),i=Gr(e),o=Gr(t);return i.numVars===o.numVars&&i.numColors===o.numColors&&i.numNumbers>=o.numNumbers?ro(Rr(i.values,o.values),n):(Lo(!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.`),Sr(e,t))},Xr=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},Wr=(e,t)=>n=>br(e,t,n);function Fr(e,t,n){const i=[],o=n||("number"==typeof(r=e[0])?Wr:"string"==typeof r?fr.test(r)?wr:Lr:Array.isArray(r)?Rr:"object"==typeof r?Mr:Wr);var r;const a=e.length-1;for(let n=0;n<a;n++){let r=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||No:t;r=ro(e,r)}i.push(r)}return i}function Or(e,t,{clamp:n=!0,ease:i,mixer:o}={}){const r=e.length;if(Xo(r===t.length,"Both input and output ranges must be the same length"),1===r)return()=>t[0];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Fr(t,i,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const i=Xr(e[n],e[n+1],t);return a[n](i)};return n?t=>l(oi(e[0],e[r-1],t)):l}function Dr(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const o=Xr(0,t,i);e.push(br(n,1,o))}}(t,e.length-1),t}function zr({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(cr):cr(i),r={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Dr(t),e),s=Or(a,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||qo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(r.value=s(t),r.done=t>=e,r)}}function Zr(e,t){return t?e*(1e3/t):0}function Hr(e,t,n){const i=Math.max(t-5,0);return Zr(n-e(i),t-i)}const jr=.001;function Yr({duration:e=800,bounce:t=.25,velocity:n=0,mass:i=1}){let o,r;Lo(e<=Wo(10),"Spring duration must be 10 seconds or less");let a=1-t;a=oi(.05,1,a),e=oi(.01,10,Fo(e)),a<1?(o=t=>{const i=t*a,o=i*e,r=i-n,s=Ur(t,a),l=Math.exp(-o);return jr-r/s*l},r=t=>{const i=t*a*e,r=i*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-i),c=Ur(Math.pow(t,2),a);return(-o(t)+jr>0?-1:1)*((r-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,r=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let i=n;for(let n=1;n<Jr;n++)i-=e(i)/t(i);return i}(o,r,5/e);if(e=Wo(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*i;return{stiffness:t,damping:2*a*Math.sqrt(i*t),duration:e}}}const Jr=12;function Ur(e,t){return e*Math.sqrt(1-t*t)}const $r=["duration","bounce"],Qr=["stiffness","damping","mass"];function _r(e,t){return t.some(t=>void 0!==e[t])}function Kr({keyframes:e,restDelta:t,restSpeed:n,...i}){const o=e[0],r=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_r(e,Qr)&&_r(e,$r)){const n=Yr(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(i),p=u?-Fo(u):0,h=l/(2*Math.sqrt(s*c)),g=r-o,f=Fo(Math.sqrt(s/c)),b=Math.abs(g)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Ur(f,h);v=t=>{const n=Math.exp(-h*f*t);return r-n*((p+h*f*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}}else if(1===h)v=e=>r-Math.exp(-f*e)*(g+(p+f*g)*e);else{const e=f*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*f*t),i=Math.min(e*t,300);return r-n*((p+h*f*g)*Math.sinh(i)+e*g*Math.cosh(i))/e}}return{calculatedDuration:m&&d||null,next:e=>{const i=v(e);if(m)a.done=e>=d;else{let o=p;0!==e&&(o=h<1?Hr(v,e,i):0);const s=Math.abs(o)<=n,l=Math.abs(r-i)<=t;a.done=s&&l}return a.value=a.done?r:i,a}}}function qr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:o=10,bounceStiffness:r=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],m={done:!1,value:d},p=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const g=d+h,f=void 0===a?g:a(g);f!==g&&(h=f-d);const b=e=>-h*Math.exp(-e/i),v=e=>f+b(e),y=e=>{const t=b(e),n=v(e);m.done=Math.abs(t)<=c,m.value=m.done?f:n};let x,I;const w=e=>{var t;(t=m.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(x=e,I=Kr({keyframes:[m.value,p(m.value)],velocity:Hr(v,e,m.value),damping:o,stiffness:r,restDelta:c,restSpeed:u}))};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==x||(t=!0,y(e),w(e)),void 0!==x&&e>x?I.next(e-x):(!t&&y(e),m)}}}const ea=e=>{const t=({timestamp:t})=>e(t);return{start:()=>xo.update(t,!0),stop:()=>Io(t),now:()=>po.isProcessing?po.timestamp:performance.now()}};function ta(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 na={decay:qr,inertia:qr,tween:zr,keyframes:zr,spring:Kr};function ia({autoplay:e=!0,delay:t=0,driver:n=ea,keyframes:i,type:o="keyframes",repeat:r=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...m}){let p,h,g=1,f=!1;const b=()=>{p&&p(),h=new Promise(e=>{p=e})};let v;b();const y=na[o]||zr;let x;y!==zr&&"number"!=typeof i[0]&&(x=Or([0,100],i,{clamp:!1}),i=[0,100]);const I=y({...m,keyframes:i});let w;"mirror"===s&&(w=y({...m,keyframes:[...i].reverse(),velocity:-(m.velocity||0)}));let C="idle",N=null,A=null,k=null;null===I.calculatedDuration&&r&&(I.calculatedDuration=ta(I));const{calculatedDuration:G}=I;let P=1/0,T=1/0;null!==G&&(P=G+a,T=P*(r+1)-a);let B=0;const V=e=>{if(null===A)return;g>0&&(A=Math.min(A,e)),B=null!==N?N:(e-A)*g;const n=B-t,o=n<0;B=Math.max(n,0),"finished"===C&&null===N&&(B=T);let l=B,c=I;if(r){const e=B/P;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,r+1);const i=Boolean(t%2);i&&("reverse"===s?(n=1-n,a&&(n-=a/P)):"mirror"===s&&(c=w));let o=oi(0,1,n);B>T&&(o="reverse"===s&&i?1:0),l=o*P}const u=o?{done:!1,value:i[0]}:c.next(l);x&&(u.value=x(u.value));let{done:m}=u;o||null===G||(m=B>=T);const p=null===N&&("finished"===C||"running"===C&&m||g<0&&B<=0);return d&&d(u.value),p&&R(),u},S=()=>{v&&v.stop(),v=void 0},E=()=>{C="idle",S(),b(),A=k=null},R=()=>{C="finished",u&&u(),S(),b()},M=()=>{if(f)return;v||(v=n(V));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==C||(A=e),k=A,N=null,C="running",v.start()};e&&M();const L={then:(e,t)=>h.then(e,t),get time(){return Fo(B)},set time(e){e=Wo(e),B=e,null===N&&v&&0!==g?A=v.now()-e/g:N=e},get duration(){const e=null===I.calculatedDuration?ta(I):I.calculatedDuration;return Fo(e)},get speed(){return g},set speed(e){e!==g&&v&&(g=e,L.time=Fo(B))},get state(){return C},play:M,pause:()=>{C="paused",N=B},stop:()=>{f=!0,"idle"!==C&&(C="idle",c&&c(),E())},cancel:()=>{null!==k&&V(k),E()},complete:()=>{C="finished"},sample:e=>(A=0,V(e))};return L}const oa=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function ra(e,t,{onUpdate:n,onComplete:i,...o}){if(!(Uo.waapi()&&oa.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let r,a,s=!1;const l=()=>{a=new Promise(e=>{r=e})};l();let{keyframes:c,duration:u=300,ease:d,times:m}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!zo(t.ease))(t,o)){const e=ia({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let i=0;for(;!t.done&&i<2e4;)t=e.sample(i),n.push(t.value),i+=10;m=void 0,c=n,u=i-10,d="linear"}const p=function(e,t,n,{delay:i=0,duration:o,repeat:r=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=jo(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:i,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:r+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:u,ease:d,times:m}),h=()=>p.cancel(),g=()=>{xo.update(h),r(),l()};return p.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,o)),i&&i(),g()},{then:(e,t)=>a.then(e,t),get time(){return Fo(p.currentTime||0)},set time(e){p.currentTime=Wo(e)},get speed(){return p.playbackRate},set speed(e){p.playbackRate=e},get duration(){return Fo(u)},play:()=>{s||(p.play(),Io(h))},pause:()=>p.pause(),stop:()=>{if(s=!0,"idle"===p.playState)return;const{currentTime:t}=p;if(t){const n=ia({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}g()},complete:()=>p.finish(),cancel:g}}const aa={type:"spring",stiffness:500,damping:25,restSpeed:10},sa={type:"keyframes",duration:.8},la={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ca=(e,{keyframes:t})=>t.length>2?sa:$n.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:aa:la,ua=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Vr.test(t)&&"0"!==t||t.startsWith("url("))),da=new Set(["brightness","contrast","saturate","opacity"]);function ma(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(ci)||[];if(!i)return e;const o=n.replace(i,"");let r=da.has(t)?1:0;return i!==n&&(r*=100),t+"("+r+o+")"}const pa=/([a-z-]*)\(.*?\)/g,ha={...Vr,getAnimatableNone:e=>{const t=e.match(pa);return t?t.map(ma).join(" "):e}},ga={...Ii,color:fr,backgroundColor:fr,outlineColor:fr,fill:fr,stroke:fr,borderColor:fr,borderTopColor:fr,borderRightColor:fr,borderBottomColor:fr,borderLeftColor:fr,filter:ha,WebkitFilter:ha},fa=e=>ga[e];function ba(e,t){let n=fa(e);return n!==ha&&(n=Vr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const va=e=>/^0[^.\s]+$/.test(e);function ya(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||va(e):void 0}function xa(e,t){return e[t]||e.default||e}const Ia=(e,t,n,i={})=>o=>{const r=xa(i,e)||{},a=r.delay||i.delay||0;let{elapsed:s=0}=i;s-=Wo(a);const l=function(e,t,n,i){const o=ua(t,n);let r;r=Array.isArray(n)?[...n]:[null,n];const a=void 0!==i.from?i.from:e.get();let s;const l=[];for(let e=0;e<r.length;e++)null===r[e]&&(r[e]=0===e?a:r[e-1]),ya(r[e])&&l.push(e),"string"==typeof r[e]&&"none"!==r[e]&&"0"!==r[e]&&(s=r[e]);if(o&&l.length&&s)for(let e=0;e<l.length;e++)r[l[e]]=ba(t,s);return r}(t,e,n,r),c=l[0],u=l[l.length-1],d=ua(e,c),m=ua(e,u);Lo(d===m,`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 p={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...r,delay:-s,onUpdate:e=>{t.set(e),r.onUpdate&&r.onUpdate(e)},onComplete:()=>{o(),r.onComplete&&r.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:o,repeat:r,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(r)||(p={...p,...ca(e,p)}),p.duration&&(p.duration=Wo(p.duration)),p.repeatDelay&&(p.repeatDelay=Wo(p.repeatDelay)),!d||!m||Oo||!1===r.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:i}){const o=()=>(n&&n(e[e.length-1]),i&&i(),{time:0,speed:1,duration:0,play:No,pause:No,stop:No,then:e=>(e(),Promise.resolve()),cancel:No,complete:No});return t?ia({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(p);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=ra(t,e,p);if(n)return n}return ia(p)};function wa(e){return Boolean(_n(e)&&e.add)}const Ca=e=>/^\-?\d*\.?\d+$/.test(e);function Na(e,t){-1===e.indexOf(t)&&e.push(t)}function Aa(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ka{constructor(){this.subscriptions=[]}add(e){return Na(this.subscriptions,e),()=>Aa(this.subscriptions,e)}notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let o=0;o<i;o++){const i=this.subscriptions[o];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ga=new Set;function Pa(e,t,n){e||Ga.has(t)||(console.warn(t),Ga.add(t))}class Ta{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:i}=po;this.lastUpdated!==i&&(this.timeDelta=n,this.lastUpdated=i,xo.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=()=>xo.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&&Pa(!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 ka);const n=this.events[e].add(t);return"change"===e?()=>{n(),xo.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?Zr(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ba(e,t){return new Ta(e,t)}const Va=e=>t=>t.test(e),Sa=[ri,fi,gi,hi,vi,bi,{test:e=>"auto"===e,parse:e=>e}],Ea=e=>Sa.find(Va(e)),Ra=[...Sa,fr,Vr],Ma=e=>Ra.find(Va(e));function La(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ba(n))}function Xa(e,t){if(!t)return;return(t[e]||t.default||t).from}function Wa({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function Fa(e,t,{delay:n=0,transitionOverride:i,type:o}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");i&&(r=i);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in s){const i=e.getValue(t),o=s[t];if(!i||void 0===o||u&&Wa(u,t))continue;const a={delay:n,elapsed:0,...r};if(window.HandoffAppearAnimations&&!i.hasAnimated){const n=e.getProps()[Mo];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,i,xo))}i.start(Ia(t,i,o,e.shouldReduceMotion&&$n.has(t)?{type:!1}:a));const d=i.animation;wa(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=Ro(e,t);let{transitionEnd:i={},transition:o={},...r}=n?e.makeTargetAnimatable(n,!1):{};r={...r,...i};for(const t in r)La(e,t,Ui(r[t]))}(e,a)}),c}function Oa(e,t,n={}){const i=Ro(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);const r=i?()=>Promise.all(Fa(e,i,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:r=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,i=0,o=1,r){const a=[],s=(e.variantChildren.size-1)*i,l=1===o?(e=0)=>e*i:(e=0)=>s-e*i;return Array.from(e.variantChildren).sort(Da).forEach((e,i)=>{e.notify("AnimationStart",t),a.push(Oa(e,t,{...r,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,r+i,a,s,n)}:()=>Promise.resolve(),{when:s}=o;if(s){const[e,t]="beforeChildren"===s?[r,a]:[a,r];return e().then(()=>t())}return Promise.all([r(),a(n.delay)])}function Da(e,t){return e.sortNodePosition(t)}const za=[...Vn].reverse(),Za=Vn.length;function Ha(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Oa(e,t,n));i=Promise.all(o)}else if("string"==typeof t)i=Oa(e,t,n);else{const o="function"==typeof t?Ro(e,t,n.custom):t;i=Promise.all(Fa(e,o,n))}return i.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function ja(e){let t=Ha(e);const n={animate:Ja(!0),whileInView:Ja(),whileHover:Ja(),whileTap:Ja(),whileDrag:Ja(),whileFocus:Ja(),exit:Ja()};let i=!0;const o=(t,n)=>{const i=Ro(e,n);if(i){const{transition:e,transitionEnd:n,...o}=i;t={...t,...o,...n}}return t};function r(r,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},m=1/0;for(let t=0;t<Za;t++){const p=za[t],h=n[p],g=void 0!==s[p]?s[p]:l[p],f=Tn(g),b=p===a?h.isActive:null;!1===b&&(m=t);let v=g===l[p]&&g!==s[p]&&f;if(v&&i&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!g&&!h.prevProp||Bn(g)||"boolean"==typeof g)continue;const y=Ya(h.prevProp,g);let x=y||p===a&&h.isActive&&!v&&f||t>m&&f;const I=Array.isArray(g)?g:[g];let w=I.reduce(o,{});!1===b&&(w={});const{prevResolvedValues:C={}}=h,N={...C,...w},A=e=>{x=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=w[e],n=C[e];d.hasOwnProperty(e)||(t!==n?Ji(t)&&Ji(n)?!Eo(t,n)||y?A(e):h.protectedKeys[e]=!0:void 0!==t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):h.protectedKeys[e]=!0)}h.prevProp=g,h.prevResolvedValues=w,h.isActive&&(d={...d,...w}),i&&e.blockInitialAnimation&&(x=!1),x&&!v&&c.push(...I.map(e=>({animation:e,options:{type:p,...r}})))}if(u.size){const t={};u.forEach(n=>{const i=e.getBaseTarget(n);void 0!==i&&(t[n]=i)}),c.push({animation:t})}let p=Boolean(c.length);return i&&!1===s.initial&&!e.manuallyAnimateOnMount&&(p=!1),i=!1,p?t(c):Promise.resolve()}return{animateChanges:r,setActive:function(t,i,o){var a;if(n[t].isActive===i)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;const s=r(o,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Ya(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Eo(t,e)}function Ja(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Ua=0;const $a={animation:{Feature:class extends mo{constructor(e){super(e),e.animationState||(e.animationState=ja(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Bn(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends mo{constructor(){super(...arguments),this.id=Ua++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Qa=(e,t)=>Math.abs(e-t);class _a{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=es(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Qa(e.x,t.x),i=Qa(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:o}=po;this.history.push({...i,timestamp:o});const{onStart:r,onMove:a}=this.handlers;t||(r&&r(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Ka(t,this.transformPagePoint),xo.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:i}=this.handlers,o=es("pointercancel"===e.type?this.lastMoveEventInfo:Ka(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),i&&i(e,o)},!to(e))return;this.handlers=t,this.transformPagePoint=n;const i=Ka(no(e),this.transformPagePoint),{point:o}=i,{timestamp:r}=po;this.history=[{...o,timestamp:r}];const{onSessionStart:a}=t;a&&a(e,es(i,this.history)),this.removeListeners=ro(io(window,"pointermove",this.handlePointerMove),io(window,"pointerup",this.handlePointerUp),io(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Io(this.updatePoint)}}function Ka(e,t){return t?{point:t(e.point)}:e}function qa(e,t){return{x:e.x-t.x,y:e.y-t.y}}function es({point:e},t){return{point:e,delta:qa(e,ns(t)),offset:qa(e,ts(t)),velocity:is(t,.1)}}function ts(e){return e[0]}function ns(e){return e[e.length-1]}function is(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const o=ns(e);for(;n>=0&&(i=e[n],!(o.timestamp-i.timestamp>Wo(t)));)n--;if(!i)return{x:0,y:0};const r=Fo(o.timestamp-i.timestamp);if(0===r)return{x:0,y:0};const a={x:(o.x-i.x)/r,y:(o.y-i.y)/r};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function os(e){return e.max-e.min}function rs(e,t=0,n=.01){return Math.abs(e-t)<=n}function as(e,t,n,i=.5){e.origin=i,e.originPoint=br(t.min,t.max,e.origin),e.scale=os(n)/os(t),(rs(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=br(n.min,n.max,e.origin)-e.originPoint,(rs(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ss(e,t,n,i){as(e.x,t.x,n.x,i?i.originX:void 0),as(e.y,t.y,n.y,i?i.originY:void 0)}function ls(e,t,n){e.min=n.min+t.min,e.max=e.min+os(t)}function cs(e,t,n){e.min=t.min-n.min,e.max=e.min+os(t)}function us(e,t,n){cs(e.x,t.x,n.x),cs(e.y,t.y,n.y)}function ds(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 ms(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const ps=.35;function hs(e,t,n){return{min:gs(e,t),max:gs(e,n)}}function gs(e,t){return"number"==typeof e?e:e[t]||0}const fs=()=>({x:{min:0,max:0},y:{min:0,max:0}});function bs(e){return[e("x"),e("y")]}function vs({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function ys(e){return void 0===e||1===e}function xs({scale:e,scaleX:t,scaleY:n}){return!ys(e)||!ys(t)||!ys(n)}function Is(e){return xs(e)||ws(e)||e.z||e.rotate||e.rotateX||e.rotateY}function ws(e){return Cs(e.x)||Cs(e.y)}function Cs(e){return e&&"0%"!==e}function Ns(e,t,n){return n+t*(e-n)}function As(e,t,n,i,o){return void 0!==o&&(e=Ns(e,o,i)),Ns(e,n,i)+t}function ks(e,t=0,n=1,i,o){e.min=As(e.min,t,n,i,o),e.max=As(e.max,t,n,i,o)}function Gs(e,{x:t,y:n}){ks(e.x,t.translate,t.scale,t.originPoint),ks(e.y,n.translate,n.scale,n.originPoint)}function Ps(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ts(e,t){e.min=e.min+t,e.max=e.max+t}function Bs(e,t,[n,i,o]){const r=void 0!==t[o]?t[o]:.5,a=br(e.min,e.max,r);ks(e,t[n],t[i],a,t.scale)}const Vs=["x","scaleX","originX"],Ss=["y","scaleY","originY"];function Es(e,t){Bs(e.x,t,Vs),Bs(e.y,t,Ss)}function Rs(e,t){return vs(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const Ms=new WeakMap;class Ls{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 _a(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(no(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:o}=this.getProps();if(n&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=co(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),bs(e=>{let t=this.getAxisMotionValue(e).get()||0;if(gi.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=os(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&xo.update(()=>o(e,t),!1,!0);const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:o,onDrag:r}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),r&&r(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:o}=this.getProps();o&&xo.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!Xs(e,i,this.currentDirection))return;const o=this.getAxisMotionValue(e);let r=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(r=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?br(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?br(n,e,i.max):Math.min(e,n)),e}(r,this.constraints[e],this.elastic[e])),o.set(r)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},i=this.constraints;e&&Pn(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:i,right:o}){return{x:ds(e.x,n,o),y:ds(e.y,t,i)}}(n.layoutBox,e),this.elastic=function(e=ps){return!1===e?e=0:!0===e&&(e=ps),{x:hs(e,"left","right"),y:hs(e,"top","bottom")}}(t),i!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&bs(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||!Pn(e))return!1;const n=e.current;Xo(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=function(e,t,n){const i=Rs(e,n),{scroll:o}=t;return o&&(Ts(i.x,o.offset.x),Ts(i.y,o.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let r=function(e,t){return{x:ms(e.x,t.x),y:ms(e.y,t.y)}}(i.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=vs(e))}return r}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=bs(a=>{if(!Xs(a,t,this.currentDirection))return;let l=s&&s[a]||{};r&&(l={min:0,max:0});const c=i?200:1e6,u=i?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Ia(e,n,0,t))}stopAnimation(){bs(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){bs(t=>{const{drag:n}=this.getProps();if(!Xs(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:r}=i.layout.layoutBox[t];o.set(e[t]-br(n,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Pn(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};bs(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();i[e]=function(e,t){let n=.5;const i=os(e),o=os(t);return o>i?n=Xr(t.min,t.max-i,e.min):i>o&&(n=Xr(e.min,e.max-o,t.min)),oi(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),bs(t=>{if(!Xs(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:r}=this.constraints[t];n.set(br(o,r,i[t]))})}addListeners(){if(!this.visualElement.current)return;Ms.set(this.visualElement,this);const e=io(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Pn(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=eo(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(bs(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),i(),r&&r()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=ps,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:a}}}function Xs(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Ws=e=>(t,n)=>{e&&xo.update(()=>e(t,n))};const Fs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Os(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ds={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!fi.test(e))return e;e=parseFloat(e)}return`${Os(e,t.target.x)}% ${Os(e,t.target.y)}%`}},zs={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,o=Vr.parse(e);if(o.length>5)return i;const r=Vr.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=br(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),r(o)}};class Zs extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=e;var r;r=js,Object.assign(Jn,r),o&&(t.group&&t.group.add(o),n&&n.register&&i&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Fs.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:o}=this.props,r=n.projection;return r?(r.isPresent=o,i||e.layoutDependency!==t||void 0===t?r.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?r.promote():r.relegate()||xo.postRender(()=>{const e=r.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Hs(e){const[t,n]=function(){const e=h(Nn);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:i}=e,o=f();return u(()=>i(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),i=h(Fn);return o.createElement(Zs,{...e,layoutGroup:i,switchLayoutGroup:h(On),isPresent:t,safeToRemove:n})}const js={borderRadius:{...Ds,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ds,borderTopRightRadius:Ds,borderBottomLeftRadius:Ds,borderBottomRightRadius:Ds,boxShadow:zs},Ys=["TopLeft","TopRight","BottomLeft","BottomRight"],Js=Ys.length,Us=e=>"string"==typeof e?parseFloat(e):e,$s=e=>"number"==typeof e||fi.test(e);function Qs(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const _s=qs(0,.5,ir),Ks=qs(.5,.95,No);function qs(e,t,n){return i=>i<e?0:i>t?1:n(Xr(e,t,i))}function el(e,t){e.min=t.min,e.max=t.max}function tl(e,t){el(e.x,t.x),el(e.y,t.y)}function nl(e,t,n,i,o){return e=Ns(e-=t,1/n,i),void 0!==o&&(e=Ns(e,1/o,i)),e}function il(e,t,[n,i,o],r,a){!function(e,t=0,n=1,i=.5,o,r=e,a=e){gi.test(t)&&(t=parseFloat(t),t=br(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=br(r.min,r.max,i);e===r&&(s-=t),e.min=nl(e.min,t,n,s,o),e.max=nl(e.max,t,n,s,o)}(e,t[n],t[i],t[o],t.scale,r,a)}const ol=["x","scaleX","originX"],rl=["y","scaleY","originY"];function al(e,t,n,i){il(e.x,t,ol,n?n.x:void 0,i?i.x:void 0),il(e.y,t,rl,n?n.y:void 0,i?i.y:void 0)}function sl(e){return 0===e.translate&&1===e.scale}function ll(e){return sl(e.x)&&sl(e.y)}function cl(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 ul(e){return os(e.x)/os(e.y)}class dl{constructor(){this.members=[]}add(e){Na(this.members,e),e.scheduleRender()}remove(e){if(Aa(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;!1===i&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ml(e,t,n){let i="";const o=e.x.translate/t.x,r=e.y.translate/t.y;if((o||r)&&(i=`translate3d(${o}px, ${r}px, 0) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(i+=`rotate(${e}deg) `),t&&(i+=`rotateX(${t}deg) `),o&&(i+=`rotateY(${o}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(i+=`scale(${a}, ${s})`),i||"none"}const pl=(e,t)=>e.depth-t.depth;class hl{constructor(){this.children=[],this.isDirty=!1}add(e){Na(this.children,e),this.isDirty=!0}remove(e){Aa(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(pl),this.isDirty=!1,this.children.forEach(e)}}const gl=["","X","Y","Z"];let fl=0;const bl={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function vl({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=fl++,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;bl.totalNodes=bl.resolvedTargetDeltas=bl.recalculatedProjection=0,this.nodes.forEach(Il),this.nodes.forEach(Pl),this.nodes.forEach(Tl),this.nodes.forEach(wl),e=bl,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 ka),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=t)instanceof SVGElement&&"svg"!==i.tagName,this.instance=t;const{layoutId:o,layout:r,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(r||o)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),i=({timestamp:o})=>{const r=o-n;r>=t&&(Io(i),e(r-t))};return xo.read(i,!0),()=>Io(i)}(i,250),Fs.hasAnimatedSinceResize&&(Fs.hasAnimatedSinceResize=!1,this.nodes.forEach(Gl))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&a&&(o||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||a.getDefaultTransition()||Ml,{onLayoutAnimationStart:r,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!cl(this.targetLayout,i)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...xa(o,"layout"),onPlay:r,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Gl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Io(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Bl),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Nl);this.isUpdating||this.nodes.forEach(Al),this.isUpdating=!1,this.nodes.forEach(kl),this.nodes.forEach(yl),this.nodes.forEach(xl),this.clearAllSnapshots();const e=performance.now();po.delta=oi(0,1e3/60,e-po.timestamp),po.timestamp=e,po.isProcessing=!0,bo.update.process(po),bo.preRender.process(po),bo.render.process(po),po.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Cl),this.sharedNodes.forEach(Vl)}scheduleUpdateProjection(){xo.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){xo.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!ll(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,r=i!==this.prevTransformTemplateValue;e&&(t||Is(this.latestValues)||r)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),Ll((i=n).x),Ll(i.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Ts(t.x,n.offset.x),Ts(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};tl(t,e);for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:o,options:r}=i;if(i!==this.root&&o&&r.layoutScroll){if(o.isRoot){tl(t,e);const{scroll:n}=this.root;n&&(Ts(t.x,-n.offset.x),Ts(t.y,-n.offset.y))}Ts(t.x,o.offset.x),Ts(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};tl(n,e);for(let e=0;e<this.path.length;e++){const i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Es(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),Is(i.latestValues)&&Es(n,i.latestValues)}return Is(this.latestValues)&&Es(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};tl(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Is(n.latestValues))continue;xs(n.latestValues)&&n.updateSnapshot();const i=fs();tl(i,n.measurePageBox()),al(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,i)}return Is(this.latestValues)&&al(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!==po.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:r}=this.options;if(this.layout&&(o||r)){if(this.resolvedRelativeTargetAt=po.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}},us(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),tl(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,ls(a.x,s.x,l.x),ls(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):tl(this.target,this.layout.layoutBox),Gs(this.target,this.targetDelta)):tl(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}},us(this.relativeTargetOrigin,this.target,e.target),tl(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}bl.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!xs(this.parent.latestValues)&&!ws(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===po.timestamp&&(i=!1),i)return;const{layout:o,layoutId:r}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!r)return;tl(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,i=!1){const o=n.length;if(!o)return;let r,a;t.x=t.y=1;for(let s=0;s<o;s++){r=n[s],a=r.projectionDelta;const o=r.instance;o&&o.style&&"contents"===o.style.display||(i&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Es(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Gs(e,a)),i&&Is(r.latestValues)&&Es(e,r.latestValues))}t.x=Ps(t.x),t.y=Ps(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;ss(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ml(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),bl.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,i=n?n.latestValues:{},o={...this.latestValues},r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Rl));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Sl(r.x,e.x,n),Sl(r.y,e.y,n),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(us(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){El(e.x,t.x,n.x,i),El(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&cl(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),tl(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,i,o,r){o?(e.opacity=br(0,void 0!==n.opacity?n.opacity:1,_s(i)),e.opacityExit=br(void 0!==t.opacity?t.opacity:1,0,Ks(i))):r&&(e.opacity=br(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let o=0;o<Js;o++){const r=`border${Ys[o]}Radius`;let a=Qs(t,r),s=Qs(n,r);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||$s(a)===$s(s)?(e[r]=Math.max(br(Us(a),Us(s),i),0),(gi.test(s)||gi.test(a))&&(e[r]+="%")):e[r]=s)}(t.rotate||n.rotate)&&(e.rotate=br(t.rotate||0,n.rotate||0,i))}(o,i,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Io(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=xo.update(()=>{Fs.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=_n(e)?e:Ba(e);return i.start(Ia("",i,t,n)),i.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:i,latestValues:o}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&Xl(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=os(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=os(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}tl(t,n),Es(t,o),ss(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new dl);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const i={};for(let t=0;t<gl.length;t++){const o="rotate"+gl[t];n[o]&&(i[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in i)e.setStaticValue(t,i[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const i={};if(!this.instance||this.isSVG)return i;if(!this.isVisible)return{visibility:"hidden"};i.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=$i(e.pointerEvents)||"",i.transform=o?o(this.latestValues,""):"none",i;const r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=$i(e.pointerEvents)||""),this.hasProjected&&!Is(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=r.animationValues||r.latestValues;this.applyTransformsToTarget(),i.transform=ml(this.projectionDeltaWithTransform,this.treeScale,a),o&&(i.transform=o(a,i.transform));const{x:s,y:l}=this.projectionDelta;i.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,r.animationValues?i.opacity=r===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:i.opacity=r===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Jn){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Jn[e],o="none"===i.transform?a[e]:t(a[e],r);if(n){const e=n.length;for(let t=0;t<e;t++)i[n[t]]=o}else i[e]=o}return this.options.layoutId&&(i.pointerEvents=r===this?$i(e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Nl),this.root.sharedNodes.clear()}}}function yl(e){e.updateLayout()}function xl(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:i}=e.layout,{animationType:o}=e.options,r=n.source!==e.layout.source;"size"===o?bs(e=>{const i=r?n.measuredBox[e]:n.layoutBox[e],o=os(i);i.min=t[e].min,i.max=i.min+o}):Xl(o,n.layoutBox,t)&&bs(i=>{const o=r?n.measuredBox[i]:n.layoutBox[i],a=os(t[i]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ss(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};r?ss(s,e.applyTransform(i,!0),n.measuredBox):ss(s,t,n.layoutBox);const l=!ll(a);let c=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:o,layout:r}=i;if(o&&r){const a={x:{min:0,max:0},y:{min:0,max:0}};us(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};us(s,t,r.layoutBox),cl(a,s)||(c=!0),i.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Il(e){bl.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 wl(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Cl(e){e.clearSnapshot()}function Nl(e){e.clearMeasurements()}function Al(e){e.isLayoutDirty=!1}function kl(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Gl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Pl(e){e.resolveTargetDelta()}function Tl(e){e.calcProjection()}function Bl(e){e.resetRotation()}function Vl(e){e.removeLeadSnapshot()}function Sl(e,t,n){e.translate=br(t.translate,0,n),e.scale=br(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function El(e,t,n,i){e.min=br(t.min,n.min,i),e.max=br(t.max,n.max,i)}function Rl(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Ml={duration:.45,ease:[.4,0,.1,1]};function Ll(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Xl(e,t,n){return"position"===e||"preserve-aspect"===e&&!rs(ul(t),ul(n),.2)}const Wl=vl({attachResizeListener:(e,t)=>eo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Fl={current:void 0},Ol=vl({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Fl.current){const e=new Wl({});e.mount(window),e.setOptions({layoutScroll:!0}),Fl.current=e}return Fl.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Dl={pan:{Feature:class extends mo{constructor(){super(...arguments),this.removePointerDownListener=No}onPointerDown(e){this.session=new _a(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Ws(e),onStart:Ws(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&xo.update(()=>i(e,t))}}}mount(){this.removePointerDownListener=io(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 mo{constructor(e){super(e),this.removeGroupControls=No,this.removeListeners=No,this.controls=new Ls(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||No}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Ol,MeasureLayout:Hs}},zl=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Zl(e,t,n=1){Xo(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,o]=function(e){const t=zl.exec(e);if(!t)return[,];const[,n,i]=t;return[n,i]}(e);if(!i)return;const r=window.getComputedStyle(t).getPropertyValue(i);return r?r.trim():ni(o)?Zl(o,t,n+1):o}const Hl=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),jl=e=>Hl.has(e),Yl=e=>e===ri||e===fi,Jl=(e,t)=>parseFloat(e.split(", ")[t]),Ul=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const o=i.match(/^matrix3d\((.+)\)$/);if(o)return Jl(o[1],t);{const t=i.match(/^matrix\((.+)\)$/);return t?Jl(t[1],e):0}},$l=new Set(["x","y","z"]),Ql=Un.filter(e=>!$l.has(e));const _l={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:Ul(4,13),y:Ul(5,14)},Kl=(e,t,n={},i={})=>{t={...t},i={...i};const o=Object.keys(t).filter(jl);let r=[],a=!1;const s=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],u=Ea(c);const d=t[o];let m;if(Ji(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=Ea(c);for(let n=t;n<e&&null!==d[n];n++)m?Xo(Ea(d[n])===m,"All keyframes must be of the same type"):(m=Ea(d[n]),Xo(m===u||Yl(u)&&Yl(m),"Keyframes must be of the same dimension as the current value"))}else m=Ea(d);if(u!==m)if(Yl(u)&&Yl(m)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[o]=parseFloat(d):Array.isArray(d)&&m===fi&&(t[o]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==m?void 0:m.transform)&&(0===c||0===d)?0===c?l.set(m.transform(c)):t[o]=u.transform(d):(a||(r=function(e){const t=[];return Ql.forEach(n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(o),i[o]=void 0!==i[o]?i[o]:t[o],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const i=t.measureViewportBox(),o=t.current,r=getComputedStyle(o),{display:a}=r,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=_l[e](i,r)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const i=t.getValue(n);i&&i.jump(s[n]),e[n]=_l[n](l,r)}),e})(t,e,s);return r.length&&r.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),An&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:i}}return{target:t,transitionEnd:i}};function ql(e,t,n,i){return(e=>Object.keys(e).some(jl))(t)?Kl(e,t,n,i):{target:t,transitionEnd:i}}const ec=(e,t,n,i)=>{const o=function(e,{...t},n){const i=e.current;if(!(i instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!ni(t))return;const n=Zl(t,i);n&&e.set(n)});for(const e in t){const o=t[e];if(!ni(o))continue;const r=Zl(o,i);r&&(t[e]=r,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,i);return ql(e,t=o.target,n,i=o.transitionEnd)},tc={current:null},nc={current:!1};const ic=new WeakMap,oc=Object.keys(Wn),rc=oc.length,ac=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],sc=Sn.length;class lc{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,visualState:o},r={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>xo.render(this.render,!1,!0);const{latestValues:a,renderState:s}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=r,this.isControllingVariants=En(t),this.isVariantNode=Rn(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]&&_n(t)&&(t.set(a[e],!1),wa(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,ic.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)),nc.current||function(){if(nc.current=!0,An)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tc.current=e.matches;e.addListener(t),t()}else tc.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tc.current),"production"!==process.env.NODE_ENV&&Pa(!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(){ic.delete(this.current),this.projection&&this.projection.unmount(),Io(this.notifyUpdate),Io(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=$n.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&xo.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,i,o){let r,a;if("production"!==process.env.NODE_ENV&&i&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Lo(!1,e):Xo(!1,e)}for(let e=0;e<rc;e++){const n=oc[e],{isEnabled:i,Feature:o,ProjectionNode:s,MeasureLayout:l}=Wn[n];s&&(r=s),i(t)&&(!this.features[n]&&o&&(this.features[n]=new o(this)),l&&(a=l))}if(!this.projection&&r){this.projection=new r(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:i,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(i)||a&&Pn(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<ac.length;t++){const n=ac[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=e["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(e,t,n){const{willChange:i}=t;for(const o in t){const r=t[o],a=n[o];if(_n(r))e.addValue(o,r),wa(i)&&i.add(o),"development"===process.env.NODE_ENV&&Pa("10.12.16"===r.version,`Attempting to mix Framer Motion versions ${r.version} with 10.12.16 may not work as expected.`);else if(_n(a))e.addValue(o,Ba(r,{owner:e})),wa(i)&&i.remove(o);else if(a!==r)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(r)}else{const t=e.getStaticValue(o);e.addValue(o,Ba(void 0!==t?t:r,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<sc;e++){const n=Sn[e],i=this.props[n];(Tn(i)||!1===i)&&(t[n]=i)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Ba(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,i="string"==typeof n||"object"==typeof n?null===(t=ji(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==i)return i;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||_n(o)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new ka),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class cc extends lc{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:i},o){let r=function(e,t,n){const i={};for(const o in e){const e=Xa(o,t);if(void 0!==e)i[o]=e;else{const e=n.getValue(o);e&&(i[o]=e.get())}}return i}(n,e||{},this);if(i&&(t&&(t=i(t)),n&&(n=i(n)),r&&(r=i(r))),o){!function(e,t,n){var i,o;const r=Object.keys(t).filter(t=>!e.hasValue(t)),a=r.length;if(a)for(let s=0;s<a;s++){const a=r[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(i=n[a])&&void 0!==i?i:e.readValue(a))&&void 0!==o?o:t[a]),null!=c&&("string"==typeof c&&(Ca(c)||va(c))?c=parseFloat(c):!Ma(c)&&Vr.test(l)&&(c=ba(a,l)),e.addValue(a,Ba(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,r);const e=ec(this,n,r,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class uc extends cc{readValueFromInstance(e,t){if($n.has(t)){const e=fa(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),o=(ti(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Rs(e,t)}build(e,t,n,i){wi(e,t,n,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Zi(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_n(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,i){Oi(e,t,n,i)}}class dc extends cc{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if($n.has(t)){const e=fa(t);return e&&e.default||0}return t=Di.has(t)?t:Fi(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Hi(e,t)}build(e,t,n,i){Ri(e,t,n,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,n,i){zi(e,t,0,i)}mount(e){this.isSVGTag=Li(e.tagName),super.mount(e)}}const mc=(e,t)=>Yn(e)?new dc(t,{enableHardwareAcceleration:!1}):new uc(t,{enableHardwareAcceleration:!0}),pc={...$a,...So,...Dl,...{layout:{ProjectionNode:Ol,MeasureLayout:Hs}}},hc=Hn((e,t)=>function(e,{forwardMotionProps:t=!1},n,i){return{...Yn(e)?Ki:qi,preloadedFeatures:n,useRender:Wi(t),createVisualElement:i,Component:e}}(e,t,pc,mc));function gc(){const e=l(!1);return kn(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class fc extends i.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function bc({children:e,isPresent:t}){const n=f(),o=l(null),r=l({width:0,height:0,top:0,left:0});return g(()=>{const{width:e,height:i,top:a,left:s}=r.current;if(t||!o.current||!e||!i)return;o.current.dataset.motionPopId=n;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${i}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[t]),i.createElement(fc,{isPresent:t,childRef:o,sizeRef:r},i.cloneElement(e,{ref:o}))}const vc=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:r,presenceAffectsLayout:s,mode:l})=>{const c=Yi(yc),u=f(),d=a(()=>({id:u,initial:t,isPresent:n,custom:r,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;o&&o()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[n]);return a(()=>{c.forEach((e,t)=>c.set(t,!1))},[n]),i.useEffect(()=>{!n&&!c.size&&o&&o()},[n]),"popLayout"===l&&(e=i.createElement(bc,{isPresent:n},e)),i.createElement(Nn.Provider,{value:d},e)};function yc(){return new Map}const xc=e=>e.key||"";const Ic=({children:e,custom:t,initial:n=!0,onExitComplete:o,exitBeforeEnter:r,presenceAffectsLayout:a=!0,mode:s="sync"})=>{Xo(!r,"Replace exitBeforeEnter with mode='wait'");const m=h(Fn).forceRender||function(){const e=gc(),[t,n]=c(0),i=d(()=>{e.current&&n(t+1)},[t]);return[d(()=>xo.postRender(i),[i]),t]}()[0],p=gc(),g=function(e){const t=[];return v.forEach(e,e=>{y(e)&&t.push(e)}),t}(e);let f=g;const x=l(new Map).current,I=l(f),w=l(new Map).current,C=l(!0);var N;if(kn(()=>{C.current=!1,function(e,t){e.forEach(e=>{const n=xc(e);t.set(n,e)})}(g,w),I.current=f}),N=()=>{C.current=!0,w.clear(),x.clear()},u(()=>()=>N(),[]),C.current)return i.createElement(i.Fragment,null,f.map(e=>i.createElement(vc,{key:xc(e),isPresent:!0,initial:!!n&&void 0,presenceAffectsLayout:a,mode:s},e)));f=[...f];const A=I.current.map(xc),k=g.map(xc),G=A.length;for(let e=0;e<G;e++){const t=A[e];-1!==k.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===s&&x.size&&(f=[]),x.forEach((e,n)=>{if(-1!==k.indexOf(n))return;const r=w.get(n);if(!r)return;const l=A.indexOf(n);let c=e;if(!c){const e=()=>{w.delete(n),x.delete(n);const e=I.current.findIndex(e=>e.key===n);if(I.current.splice(e,1),!x.size){if(I.current=g,!1===p.current)return;m(),o&&o()}};c=i.createElement(vc,{key:xc(r),isPresent:!1,onExitComplete:e,custom:t,presenceAffectsLayout:a,mode:s},r),x.set(n,c)}f.splice(l,0,c)}),f=f.map(e=>{const t=e.key;return x.has(t)?e:i.createElement(vc,{key:xc(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)}),"production"!==process.env.NODE_ENV&&"wait"===s&&f.length>1&&console.warn('You\'re attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.'),i.createElement(i.Fragment,null,x.size?f:f.map(e=>b(e)))};function wc(){return wc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},wc.apply(null,arguments)}function Cc(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(null==e||e(i),!1===n||!i.defaultPrevented)return null==t?void 0:t(i)}}function Nc(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Ac(...e){return d(Nc(...e),e)}function kc(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=n.reduce((t,{useScope:n,scopeName:i})=>({...t,...n(e)[`__scope${i}`]}),{});return a(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const Gc=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?p:()=>{},Pc=i["useId".toString()]||(()=>{});let Tc=0;function Bc(e){const[t,n]=i.useState(Pc());return Gc(()=>{n(e=>null!=e?e:String(Tc++))},[e]),e||(t?`radix-${t}`:"")}function Vc(e){const t=l(e);return u(()=>{t.current=e}),a(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Sc({prop:e,defaultProp:t,onChange:n=()=>{}}){const[i,o]=function({defaultProp:e,onChange:t}){const n=c(e),[i]=n,o=l(i),r=Vc(t);return u(()=>{o.current!==i&&(r(i),o.current=i)},[i,o,r]),n}({defaultProp:t,onChange:n}),r=void 0!==e,a=r?e:i,s=Vc(n);return[a,d(t=>{if(r){const n="function"==typeof t?t(e):t;n!==e&&s(n)}else o(t)},[r,e,o,s])]}const Ec=r((e,t)=>{const{children:n,...i}=e,o=v.toArray(n),r=o.find(Lc);if(r){const e=r.props.children,n=o.map(t=>t===r?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return s(Rc,wc({},i,{ref:t}),y(e)?b(e,void 0,n):null)}return s(Rc,wc({},i,{ref:t}),n)});Ec.displayName="Slot";const Rc=r((e,t)=>{const{children:n,...i}=e;return y(n)?b(n,{...Xc(i,n.props),ref:t?Nc(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});Rc.displayName="SlotClone";const Mc=({children:e})=>s(x,null,e);function Lc(e){return y(e)&&e.type===Mc}function Xc(e,t){const n={...t};for(const i in t){const o=e[i],r=t[i];/^on[A-Z]/.test(i)?o&&r?n[i]=(...e)=>{r(...e),o(...e)}:o&&(n[i]=o):"style"===i?n[i]={...o,...r}:"className"===i&&(n[i]=[o,r].filter(Boolean).join(" "))}return{...e,...n}}const Wc=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=r((e,n)=>{const{asChild:i,...o}=e,r=i?Ec:t;return u(()=>{window[Symbol.for("radix-ui")]=!0},[]),s(r,wc({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Fc="dismissableLayer.update",Oc="dismissableLayer.pointerDownOutside",Dc="dismissableLayer.focusOutside";let zc;const Zc=m({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Hc=r((e,t)=>{var n;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:d,onDismiss:m,...p}=e,g=h(Zc),[f,b]=c(null),v=null!==(n=null==f?void 0:f.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,y]=c({}),x=Ac(t,e=>b(e)),I=Array.from(g.layers),[w]=[...g.layersWithOutsidePointerEventsDisabled].slice(-1),C=I.indexOf(w),N=f?I.indexOf(f):-1,A=g.layersWithOutsidePointerEventsDisabled.size>0,k=N>=C,G=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Vc(e),i=l(!1),o=l(()=>{});return u(()=>{const e=e=>{if(e.target&&!i.current){const r={originalEvent:e};function a(){Yc(Oc,n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);i.current=!1},r=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(r),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...g.branches].some(e=>e.contains(t));k&&!n&&(null==r||r(e),null==d||d(e),e.defaultPrevented||null==m||m())},v),P=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Vc(e),i=l(!1);return u(()=>{const e=e=>{if(e.target&&!i.current){Yc(Dc,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{const t=e.target;[...g.branches].some(e=>e.contains(t))||(null==a||a(e),null==d||d(e),e.defaultPrevented||null==m||m())},v);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Vc(e);u(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{N===g.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&m&&(e.preventDefault(),m()))},v),u(()=>{if(f)return i&&(0===g.layersWithOutsidePointerEventsDisabled.size&&(zc=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),g.layersWithOutsidePointerEventsDisabled.add(f)),g.layers.add(f),jc(),()=>{i&&1===g.layersWithOutsidePointerEventsDisabled.size&&(v.body.style.pointerEvents=zc)}},[f,v,i,g]),u(()=>()=>{f&&(g.layers.delete(f),g.layersWithOutsidePointerEventsDisabled.delete(f),jc())},[f,g]),u(()=>{const e=()=>y({});return document.addEventListener(Fc,e),()=>document.removeEventListener(Fc,e)},[]),s(Wc.div,wc({},p,{ref:x,style:{pointerEvents:A?k?"auto":"none":void 0,...e.style},onFocusCapture:Cc(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Cc(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Cc(e.onPointerDownCapture,G.onPointerDownCapture)}))});function jc(){const e=new CustomEvent(Fc);document.dispatchEvent(e)}function Yc(e,t,n,{discrete:i}){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?function(e,t){e&&E(()=>e.dispatchEvent(t))}(o,r):o.dispatchEvent(r)}const Jc="focusScope.autoFocusOnMount",Uc="focusScope.autoFocusOnUnmount",$c={bubbles:!1,cancelable:!0},Qc=r((e,t)=>{const{loop:n=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:r,...a}=e,[m,p]=c(null),h=Vc(o),g=Vc(r),f=l(null),b=Ac(t,e=>p(e)),v=l({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;u(()=>{if(i){function e(e){if(v.paused||!m)return;const t=e.target;m.contains(t)?f.current=t:eu(f.current,{select:!0})}function t(e){if(v.paused||!m)return;const t=e.relatedTarget;null!==t&&(m.contains(t)||eu(f.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&eu(m)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return m&&o.observe(m,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[i,m,v.paused]),u(()=>{if(m){tu.add(v);const t=document.activeElement;if(!m.contains(t)){const n=new CustomEvent(Jc,$c);m.addEventListener(Jc,h),m.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const i of e)if(eu(i,{select:t}),document.activeElement!==n)return}((e=_c(m),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&eu(m))}return()=>{m.removeEventListener(Jc,h),setTimeout(()=>{const e=new CustomEvent(Uc,$c);m.addEventListener(Uc,g),m.dispatchEvent(e),e.defaultPrevented||eu(null!=t?t:document.body,{select:!0}),m.removeEventListener(Uc,g),tu.remove(v)},0)}}var e},[m,h,g,v]);const y=d(e=>{if(!n&&!i)return;if(v.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[i,r]=function(e){const t=_c(e),n=Kc(t,e),i=Kc(t.reverse(),e);return[n,i]}(t);i&&r?e.shiftKey||o!==r?e.shiftKey&&o===i&&(e.preventDefault(),n&&eu(r,{select:!0})):(e.preventDefault(),n&&eu(i,{select:!0})):o===t&&e.preventDefault()}},[n,i,v.paused]);return s(Wc.div,wc({tabIndex:-1},a,{ref:b,onKeyDown:y}))});function _c(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 Kc(e,t){for(const n of e)if(!qc(n,{upTo:t}))return n}function qc(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 eu(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 tu=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=nu(e,t),e.unshift(t)},remove(t){var n;e=nu(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function nu(e,t){const n=[...e],i=n.indexOf(t);return-1!==i&&n.splice(i,1),n}const iu=r((e,t)=>{var n;const{container:i=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return i?S.createPortal(s(Wc.div,wc({},o,{ref:t})),i):null});const ou=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=c(),i=l({}),o=l(e),r=l("none"),a=e?"mounted":"unmounted",[s,m]=function(e,t){return I((e,n)=>{const i=t[e][n];return null!=i?i:e},e)}(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return u(()=>{const e=ru(i.current);r.current="mounted"===s?e:"none"},[s]),Gc(()=>{const t=i.current,n=o.current;if(n!==e){const i=r.current,a=ru(t);if(e)m("MOUNT");else if("none"===a||"none"===(null==t?void 0:t.display))m("UNMOUNT");else{m(n&&i!==a?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,m]),Gc(()=>{if(t){const e=e=>{const n=ru(i.current).includes(e.animationName);e.target===t&&n&&E(()=>m("ANIMATION_END"))},n=e=>{e.target===t&&(r.current=ru(i.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}m("ANIMATION_END")},[t,m]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:d(e=>{e&&(i.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof n?n({present:i.isPresent}):v.only(n),r=Ac(i.ref,o.ref);return"function"==typeof n||i.isPresent?b(o,{ref:r}):null};function ru(e){return(null==e?void 0:e.animationName)||"none"}ou.displayName="Presence";let au=0;function su(){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 lu=function(){return lu=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},lu.apply(this,arguments)};function cu(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o<i.length;o++)t.indexOf(i[o])<0&&Object.prototype.propertyIsEnumerable.call(e,i[o])&&(n[i[o]]=e[i[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var uu="right-scroll-bar-position",du="width-before-scroll-bar";function mu(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var pu="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,hu=new WeakMap;function gu(e,t){var n,i,o,r=(n=null,i=function(t){return e.forEach(function(e){return mu(e,t)})},(o=c(function(){return{value:n,callback:i,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=i,o.facade);return pu(function(){var t=hu.get(r);if(t){var n=new Set(t),i=new Set(e),o=r.current;n.forEach(function(e){i.has(e)||mu(e,null)}),i.forEach(function(e){n.has(e)||mu(e,o)})}hu.set(r,e)},[e]),r}function fu(e){return e}var bu=function(e){var t=e.sideCar,n=cu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return i.createElement(o,lu({},n))};bu.isSideCarExport=!0;var vu=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=fu);var n=[],i=!1,o={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,i);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(i=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){i=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var r=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(r)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return o}(null);return t.options=lu({async:!0,ssr:!1},e),t}(),yu=function(){},xu=i.forwardRef(function(e,t){var n=i.useRef(null),o=i.useState({onScrollCapture:yu,onWheelCapture:yu,onTouchMoveCapture:yu}),r=o[0],a=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,m=e.shards,p=e.sideCar,h=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,y=cu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,I=gu([n,t]),w=lu(lu({},y),r);return i.createElement(i.Fragment,null,d&&i.createElement(x,{sideCar:vu,removeScrollBar:u,shards:m,noIsolation:h,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n}),s?i.cloneElement(i.Children.only(l),lu(lu({},w),{ref:I})):i.createElement(v,lu({},w,{className:c,ref:I}),l))});xu.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},xu.classNames={fullWidth:du,zeroRight:uu};function Iu(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var wu=function(){var e=0,t=null;return{add:function(n){var i;0==e&&(t=Iu())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),i=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(i)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Cu=function(){var e,t=(e=wu(),function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,i=e.dynamic;return t(n,i),null}},Nu={left:0,top:0,right:0,gap:0},Au=function(e){return parseInt(e||"",10)||0},ku=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Nu;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],i=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Au(n),Au(i),Au(o)]}(e),n=document.documentElement.clientWidth,i=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,i-n+t[2]-t[0])}},Gu=Cu(),Pu="data-scroll-locked",Tu=function(e,t,n,i){var o=e.left,r=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(i,";\n padding-right: ").concat(s,"px ").concat(i,";\n }\n body[").concat(Pu,"] {\n overflow: hidden ").concat(i,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(i,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(r,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(i,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(i,";")].filter(Boolean).join(""),"\n }\n \n .").concat(uu," {\n right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(du," {\n margin-right: ").concat(s,"px ").concat(i,";\n }\n \n .").concat(uu," .").concat(uu," {\n right: 0 ").concat(i,";\n }\n \n .").concat(du," .").concat(du," {\n margin-right: 0 ").concat(i,";\n }\n \n body[").concat(Pu,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Bu=function(){var e=parseInt(document.body.getAttribute(Pu)||"0",10);return isFinite(e)?e:0},Vu=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=void 0===o?"margin":o;i.useEffect(function(){return document.body.setAttribute(Pu,(Bu()+1).toString()),function(){var e=Bu()-1;e<=0?document.body.removeAttribute(Pu):document.body.setAttribute(Pu,e.toString())}},[]);var a=i.useMemo(function(){return ku(r)},[r]);return i.createElement(Gu,{styles:Tu(a,!t,r,n?"":"!important")})},Su=!1;if("undefined"!=typeof window)try{var Eu=Object.defineProperty({},"passive",{get:function(){return Su=!0,!0}});window.addEventListener("test",Eu,Eu),window.removeEventListener("test",Eu,Eu)}catch(e){Su=!1}var Ru=!!Su&&{passive:!1},Mu=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])},Lu=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Xu(e,n)){var i=Wu(e,n);if(i[1]>i[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Xu=function(e,t){return"v"===e?function(e){return Mu(e,"overflowY")}(t):function(e){return Mu(e,"overflowX")}(t)},Wu=function(e,t){return"v"===e?function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]}(t):function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t)},Fu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ou=function(e){return[e.deltaX,e.deltaY]},Du=function(e){return e&&"current"in e?e.current:e},zu=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Zu=0,Hu=[];var ju,Yu=(ju=function(e){var t=i.useRef([]),n=i.useRef([0,0]),o=i.useRef(),r=i.useState(Zu++)[0],a=i.useState(function(){return Cu()})[0],s=i.useRef(e);i.useEffect(function(){s.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=function(e,t,n){if(n||2===arguments.length)for(var i,o=0,r=t.length;o<r;o++)!i&&o in t||(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Du),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var l=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,r=Fu(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-r[0],c="deltaY"in e?e.deltaY:a[1]-r[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var m=Lu(d,u);if(!m)return!0;if(m?i=d:(i="v"===d?"h":"v",m=Lu(d,u)),!m)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=i),!i)return!0;var p=o.current||i;return function(e,t,n,i){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),r=o*i,a=n.target,s=t.contains(a),l=!1,c=r>0,u=0,d=0;do{var m=Wu(e,a),p=m[0],h=m[1]-m[2]-o*p;(p||h)&&Xu(e,a)&&(u+=h,d+=p),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}(p,t,e,"h"===p?l:c)},[]),c=i.useCallback(function(e){var n=e;if(Hu.length&&Hu[Hu.length-1]===a){var i="deltaY"in n?Ou(n):Fu(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=i,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var r=(s.current.shards||[]).map(Du).filter(Boolean).filter(function(e){return e.contains(n.target)});(r.length>0?l(n,r[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=i.useCallback(function(e,n,i,o){var r={name:e,delta:n,target:i,should:o};t.current.push(r),setTimeout(function(){t.current=t.current.filter(function(e){return e!==r})},1)},[]),d=i.useCallback(function(e){n.current=Fu(e),o.current=void 0},[]),m=i.useCallback(function(t){u(t.type,Ou(t),t.target,l(t,e.lockRef.current))},[]),p=i.useCallback(function(t){u(t.type,Fu(t),t.target,l(t,e.lockRef.current))},[]);i.useEffect(function(){return Hu.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Ru),document.addEventListener("touchmove",c,Ru),document.addEventListener("touchstart",d,Ru),function(){Hu=Hu.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,Ru),document.removeEventListener("touchmove",c,Ru),document.removeEventListener("touchstart",d,Ru)}},[]);var h=e.removeScrollBar,g=e.inert;return i.createElement(i.Fragment,null,g?i.createElement(a,{styles:zu(r)}):null,h?i.createElement(Vu,{gapMode:"margin"}):null)},vu.useMedium(ju),bu),Ju=i.forwardRef(function(e,t){return i.createElement(xu,lu({},e,{ref:t,sideCar:Yu}))});Ju.classNames=xu.classNames;var Uu=new WeakMap,$u=new WeakMap,Qu={},_u=0,Ku=function(e){return e&&(e.host||Ku(e.parentNode))},qu=function(e,t,n,i){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Ku(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]);Qu[n]||(Qu[n]=new WeakMap);var r=Qu[n],a=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(i),o=null!==t&&"false"!==t,l=(Uu.get(e)||0)+1,c=(r.get(e)||0)+1;Uu.set(e,l),r.set(e,c),a.push(e),1===l&&o&&$u.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(i,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),_u++,function(){a.forEach(function(e){var t=Uu.get(e)-1,o=r.get(e)-1;Uu.set(e,t),r.set(e,o),t||($u.has(e)||e.removeAttribute(i),$u.delete(e)),o||e.removeAttribute(n)}),--_u||(Uu=new WeakMap,Uu=new WeakMap,$u=new WeakMap,Qu={})}},ed=function(e,t,n){void 0===n&&(n="data-aria-hidden");var i=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(i.push.apply(i,Array.from(o.querySelectorAll("[aria-live], script"))),qu(i,o,n,"aria-hidden")):function(){return null}};const td="Dialog",[nd,id]=function(e,t=[]){let n=[];const i=()=>{const t=n.map(e=>m(e));return function(n){const i=(null==n?void 0:n[e])||t;return a(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return i.scopeName=e,[function(t,i){const o=m(i),r=n.length;function l(t){const{scope:n,children:i,...l}=t,c=(null==n?void 0:n[e][r])||o,u=a(()=>l,Object.values(l));return s(c.Provider,{value:u},i)}return n=[...n,i],l.displayName=t+"Provider",[l,function(n,a){const s=(null==a?void 0:a[e][r])||o,l=h(s);if(l)return l;if(void 0!==i)return i;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},kc(i,...t)]}(td),[od,rd]=nd(td),ad="DialogPortal",[sd,ld]=nd(ad,{forceMount:void 0}),cd="DialogOverlay",ud=r((e,t)=>{const n=ld(cd,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=rd(cd,e.__scopeDialog);return r.modal?s(ou,{present:i||r.open},s(dd,wc({},o,{ref:t}))):null}),dd=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=rd(cd,n);return s(Ju,{as:Ec,allowPinchZoom:!0,shards:[o.contentRef]},s(Wc.div,wc({"data-state":xd(o.open)},i,{ref:t,style:{pointerEvents:"auto",...i.style}})))}),md="DialogContent",pd=r((e,t)=>{const n=ld(md,e.__scopeDialog),{forceMount:i=n.forceMount,...o}=e,r=rd(md,e.__scopeDialog);return s(ou,{present:i||r.open},r.modal?s(hd,wc({},o,{ref:t})):s(gd,wc({},o,{ref:t})))}),hd=r((e,t)=>{const n=rd(md,e.__scopeDialog),i=l(null),o=Ac(t,n.contentRef,i);return u(()=>{const e=i.current;if(e)return ed(e)},[]),s(fd,wc({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Cc(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Cc(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Cc(e.onFocusOutside,e=>e.preventDefault())}))}),gd=r((e,t)=>{const n=rd(md,e.__scopeDialog),i=l(!1),o=l(!1);return s(fd,wc({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;(null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented)||(i.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());i.current=!1,o.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),fd=r((e,t)=>{const{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:r,...a}=e,c=rd(md,n),d=Ac(t,l(null));return u(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:su()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:su()),au++,()=>{1===au&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),au--}},[]),s(x,null,s(Qc,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:r},s(Hc,wc({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":xd(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),bd="DialogTitle",vd="DialogClose",yd=r((e,t)=>{const{__scopeDialog:n,...i}=e,o=rd(vd,n);return s(Wc.button,wc({type:"button"},i,{ref:t,onClick:Cc(e.onClick,()=>o.onOpenChange(!1))}))});function xd(e){return e?"open":"closed"}!function(e,t){const n=m(t);function i(e){const{children:t,...i}=e,o=a(()=>i,Object.values(i));return s(n.Provider,{value:o},t)}i.displayName=e+"Provider"}("DialogTitleWarning",{contentName:md,titleName:bd,docsSlug:"dialog"});const Id=e=>{const{__scopeDialog:t,children:n,open:i,defaultOpen:o,onOpenChange:r,modal:a=!0}=e,c=l(null),u=l(null),[m=!1,p]=Sc({prop:i,defaultProp:o,onChange:r});return s(od,{scope:t,triggerRef:c,contentRef:u,contentId:Bc(),titleId:Bc(),descriptionId:Bc(),open:m,onOpenChange:p,onOpenToggle:d(()=>p(e=>!e),[p]),modal:a},n)},wd=e=>{const{__scopeDialog:t,forceMount:n,children:i,container:o}=e,r=rd(ad,t);return s(sd,{scope:t,forceMount:n},v.map(i,e=>s(ou,{present:n||r.open},s(iu,{asChild:!0,container:o},e))))},Cd=ud,Nd=pd,Ad=yd,kd=n=>{const{isOpen:i,onRequestClose:o,size:r,title:a,content:s,description:l,children:c,bodyClassName:u,type:d="modal",index:m=0}=n;return e(Id,{open:i,onOpenChange:()=>i&&(null==o?void 0:o()),children:t(wd,{children:[e(hc.div,{initial:"closed",animate:i?"open":"closed",variants:yn,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(Cd,{})}),e("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e(hc.div,{initial:"closed",animate:i?"open":"closed",variants:xn,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(Nd,{className:_e("relative mx-auto w-full rounded-modal bg-bg p-[25px] shadow-drop focus:outline-none",u),style:{maxWidth:In[r||"lg"]},children:t("div",{"data-section-type":d,"data-section-index":m,children:[e(Ad,{asChild:!0,children:e(Nt,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(rt,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[a?e(at,{className:_e("mb-3 mt-5 w-full pr-8 text-center sm:pr-0","heading5 md:pt-0","mb-4 md:mb-[60px]"),as:"h2",children:a}):null,l?e(at,{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]})]})]})})})})]})})},Gd=({children:n,background:i,className:o,fill:r="yellow",maxFit:a,show:s=!0,path:l="path2"})=>{const c=`${l}`,u={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},m="string"==typeof i&&i in d,p=m?d[i]:void 0,h=i&&!m?{background:i}:void 0,g=r in u?u[r]:"text-[#F5FF1E]";return s?t("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${a?"max-content":""} ${null!=p?p:h?"":"bg-white"}`,style:h,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${g}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${g}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:o,style:h,children:n})},Pd=({title:n,background:i="white",button:o,color:r,contentAlignment:a,description:s,descriptionAlignment:l,enableHeading:c,subTitle:u,maxWidth:d=!0,onModalButtonClick:m,renderCheckPlans:p})=>e("div",{className:`${{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-bg"}[i]} component-container px-5 py-16 lg:px-13 lg:py-24`,children:t("div",{className:`${d?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-text-inverse"}`,children:[n&&e(at,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${a}`,children:n}),u&&e(at,{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(Nt,{...o,renderCheckPlans:p,onModalButtonClick:m,size:{base:"large"}})})]})}),Td=({background:i="white",description:o,enableHeading:r,image:a,list:s=[],subTitle:l,title:c,color:u="dark",maxWidth:d=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[i]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:t("div",{className:(d?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(at,{as:r?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(at,{as:r?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[o&&e(at,{as:"p",className:"body1",children:o}),s.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),i=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const r=o*n+e;r<t.length&&i.push(t[r])}return i.map((t,n)=>e("li",{children:e(ut,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-6 gap-y-5 md:grid md:grid-cols-3",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),i=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const r=o*n+e;r<t.length&&i.push(t[r])}return i.map((t,n)=>e("li",{children:e(ut,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),a&&e("aside",{className:"hidden xl:block",children:e(Bt,{width:472,height:100,src:a,alt:"image"})})]})]})}),Bd=({title:n,disclaimer:i,table:o,maxWidth:r=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(r?"max-w-120 xl:mx-auto":""),children:[e(at,{as:"h2",className:"heading2 md:heading1 md:text-center",children:n}),e("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:o}),e(at,{as:"div",className:"micro mt-8 text-center",children:i})]})}),Vd=({currentPage:n,totalPages:i,onPageChange:o,ariaLabel:r="Pagination"})=>{const a=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);if(e<=4)return[1,2,3,4,5,"...",t];if(e>=t-3)return[1,"...",t-4,t-3,t-2,t-1,t];return[1,"...",e-1,e,e+1,"...",t]}(n,i),s="inline-flex items-center justify-center w-9 h-9 rounded-full bg-transparent cursor-pointer transition-colors duration-150 hover:border-text-brand hover:text-text-brand disabled:opacity-40 disabled:cursor-not-allowed";return t("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":r,children:[e(bt,{className:s,onClick:()=>o(n-1),disabled:1===n,"aria-label":"Go to previous page",children:e(rt,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((t,i)=>"..."===t?e("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${i}`):e(bt,{className:"inline-flex items-center justify-center w-9 h-9 rounded-lg text-body2 text-gray-700 bg-transparent border-none cursor-pointer transition-colors duration-150 hover:bg-gray-100 hover:text-gray-900 "+(t===n?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),onClick:()=>o(t),"aria-label":`Go to page ${t}`,"aria-current":t===n?"page":void 0,children:t},t)),e(bt,{className:s,onClick:()=>o(n+1),disabled:n===i,"aria-label":"Go to next page",children:e(rt,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function Sd(e){return Sd="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},Sd(e)}function Ed(e){var t=function(e,t){if("object"!=Sd(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=Sd(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Sd(t)?t:t+""}function Rd(e,t,n){return(t=Ed(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Md(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Ld(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Md(Object(n),!0).forEach(function(t){Rd(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Md(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Xd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Wd(e,t){if(e){if("string"==typeof e)return Xd(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xd(e,t):void 0}}function Fd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||Wd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Od(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Dd=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function zd(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Ed(i.key),i)}}function Zd(e,t){return Zd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Zd(e,t)}function Hd(e){return Hd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hd(e)}function jd(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jd=function(){return!!e})()}function Yd(e,t){if(t&&("object"==Sd(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 Jd(e){return function(e){if(Array.isArray(e))return Xd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Wd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ud=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}(),$d="-ms-",Qd="-moz-",_d="-webkit-",Kd="comm",qd="rule",em="decl",tm="@keyframes",nm=Math.abs,im=String.fromCharCode,om=Object.assign;function rm(e){return e.trim()}function am(e,t,n){return e.replace(t,n)}function sm(e,t){return e.indexOf(t)}function lm(e,t){return 0|e.charCodeAt(t)}function cm(e,t,n){return e.slice(t,n)}function um(e){return e.length}function dm(e){return e.length}function mm(e,t){return t.push(e),e}var pm=1,hm=1,gm=0,fm=0,bm=0,vm="";function ym(e,t,n,i,o,r,a){return{value:e,root:t,parent:n,type:i,props:o,children:r,line:pm,column:hm,length:a,return:""}}function xm(e,t){return om(ym("",null,null,"",null,null,0),e,{length:-e.length},t)}function Im(){return bm=fm>0?lm(vm,--fm):0,hm--,10===bm&&(hm=1,pm--),bm}function wm(){return bm=fm<gm?lm(vm,fm++):0,hm++,10===bm&&(hm=1,pm++),bm}function Cm(){return lm(vm,fm)}function Nm(){return fm}function Am(e,t){return cm(vm,e,t)}function km(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 Gm(e){return pm=hm=1,gm=um(vm=e),fm=0,[]}function Pm(e){return vm="",e}function Tm(e){return rm(Am(fm-1,Sm(91===e?e+2:40===e?e+1:e)))}function Bm(e){for(;(bm=Cm())&&bm<33;)wm();return km(e)>2||km(bm)>3?"":" "}function Vm(e,t){for(;--t&&wm()&&!(bm<48||bm>102||bm>57&&bm<65||bm>70&&bm<97););return Am(e,Nm()+(t<6&&32==Cm()&&32==wm()))}function Sm(e){for(;wm();)switch(bm){case e:return fm;case 34:case 39:34!==e&&39!==e&&Sm(bm);break;case 40:41===e&&Sm(e);break;case 92:wm()}return fm}function Em(e,t){for(;wm()&&e+bm!==57&&(e+bm!==84||47!==Cm()););return"/*"+Am(t,fm-1)+"*"+im(47===e?e:wm())}function Rm(e){for(;!km(Cm());)wm();return Am(e,fm)}function Mm(e){return Pm(Lm("",null,null,null,[""],e=Gm(e),0,[0],e))}function Lm(e,t,n,i,o,r,a,s,l){for(var c=0,u=0,d=a,m=0,p=0,h=0,g=1,f=1,b=1,v=0,y="",x=o,I=r,w=i,C=y;f;)switch(h=v,v=wm()){case 40:if(108!=h&&58==lm(C,d-1)){-1!=sm(C+=am(Tm(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:C+=Tm(v);break;case 9:case 10:case 13:case 32:C+=Bm(h);break;case 92:C+=Vm(Nm()-1,7);continue;case 47:switch(Cm()){case 42:case 47:mm(Wm(Em(wm(),Nm()),t,n),l);break;default:C+="/"}break;case 123*g:s[c++]=um(C)*b;case 125*g:case 59:case 0:switch(v){case 0:case 125:f=0;case 59+u:-1==b&&(C=am(C,/\f/g,"")),p>0&&um(C)-d&&mm(p>32?Fm(C+";",i,n,d-1):Fm(am(C," ","")+";",i,n,d-2),l);break;case 59:C+=";";default:if(mm(w=Xm(C,t,n,c,u,o,s,y,x=[],I=[],d),r),123===v)if(0===u)Lm(C,t,w,w,x,r,d,s,I);else switch(99===m&&110===lm(C,3)?100:m){case 100:case 108:case 109:case 115:Lm(e,w,w,i&&mm(Xm(e,w,w,0,0,o,s,y,o,x=[],d),I),o,I,d,s,i?x:I);break;default:Lm(C,w,w,w,[""],I,0,s,I)}}c=u=p=0,g=b=1,y=C="",d=a;break;case 58:d=1+um(C),p=h;default:if(g<1)if(123==v)--g;else if(125==v&&0==g++&&125==Im())continue;switch(C+=im(v),v*g){case 38:b=u>0?1:(C+="\f",-1);break;case 44:s[c++]=(um(C)-1)*b,b=1;break;case 64:45===Cm()&&(C+=Tm(wm())),m=Cm(),u=d=um(y=C+=Rm(Nm())),v++;break;case 45:45===h&&2==um(C)&&(g=0)}}return r}function Xm(e,t,n,i,o,r,a,s,l,c,u){for(var d=o-1,m=0===o?r:[""],p=dm(m),h=0,g=0,f=0;h<i;++h)for(var b=0,v=cm(e,d+1,d=nm(g=a[h])),y=e;b<p;++b)(y=rm(g>0?m[b]+" "+v:am(v,/&\f/g,m[b])))&&(l[f++]=y);return ym(e,t,n,0===o?qd:s,l,c,u)}function Wm(e,t,n){return ym(e,t,n,Kd,im(bm),cm(e,2,-2),0)}function Fm(e,t,n,i){return ym(e,t,n,em,cm(e,0,i),cm(e,i+1,-1),i)}function Om(e,t){for(var n="",i=dm(e),o=0;o<i;o++)n+=t(e[o],o,e,t)||"";return n}function Dm(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case em:return e.return=e.return||e.value;case Kd:return"";case tm:return e.return=e.value+"{"+Om(e.children,i)+"}";case qd:e.value=e.props.join(",")}return um(n=Om(e.children,i))?e.return=e.value+"{"+n+"}":""}function zm(e){var t=dm(e);return function(n,i,o,r){for(var a="",s=0;s<t;s++)a+=e[s](n,i,o,r)||"";return a}}var Zm="undefined"!=typeof document,Hm=function(e,t,n){for(var i=0,o=0;i=o,o=Cm(),38===i&&12===o&&(t[n]=1),!km(o);)wm();return Am(e,fm)},jm=function(e,t){return Pm(function(e,t){var n=-1,i=44;do{switch(km(i)){case 0:38===i&&12===Cm()&&(t[n]=1),e[n]+=Hm(fm-1,t,n);break;case 2:e[n]+=Tm(i);break;case 4:if(44===i){e[++n]=58===Cm()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=im(i)}}while(i=wm());return e}(Gm(e),t))},Ym=new WeakMap,Jm=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ym.get(n))&&!i){Ym.set(e,!0);for(var o=[],r=jm(t,o),a=n.props,s=0,l=0;s<r.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?r[s].replace(/&\f/g,a[c]):a[c]+" "+r[s]}}},Um=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function $m(e,t){switch(function(e,t){return 45^lm(e,0)?(((t<<2^lm(e,0))<<2^lm(e,1))<<2^lm(e,2))<<2^lm(e,3):0}(e,t)){case 5103:return _d+"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 _d+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return _d+e+Qd+e+$d+e+e;case 6828:case 4268:return _d+e+$d+e+e;case 6165:return _d+e+$d+"flex-"+e+e;case 5187:return _d+e+am(e,/(\w+).+(:[^]+)/,_d+"box-$1$2"+$d+"flex-$1$2")+e;case 5443:return _d+e+$d+"flex-item-"+am(e,/flex-|-self/,"")+e;case 4675:return _d+e+$d+"flex-line-pack"+am(e,/align-content|flex-|-self/,"")+e;case 5548:return _d+e+$d+am(e,"shrink","negative")+e;case 5292:return _d+e+$d+am(e,"basis","preferred-size")+e;case 6060:return _d+"box-"+am(e,"-grow","")+_d+e+$d+am(e,"grow","positive")+e;case 4554:return _d+am(e,/([^-])(transform)/g,"$1"+_d+"$2")+e;case 6187:return am(am(am(e,/(zoom-|grab)/,_d+"$1"),/(image-set)/,_d+"$1"),e,"")+e;case 5495:case 3959:return am(e,/(image-set\([^]*)/,_d+"$1$`$1");case 4968:return am(am(e,/(.+:)(flex-)?(.*)/,_d+"box-pack:$3"+$d+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+_d+e+e;case 4095:case 3583:case 4068:case 2532:return am(e,/(.+)-inline(.+)/,_d+"$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(um(e)-1-t>6)switch(lm(e,t+1)){case 109:if(45!==lm(e,t+4))break;case 102:return am(e,/(.+:)(.+)-([^]+)/,"$1"+_d+"$2-$3$1"+Qd+(108==lm(e,t+3)?"$3":"$2-$3"))+e;case 115:return~sm(e,"stretch")?$m(am(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==lm(e,t+1))break;case 6444:switch(lm(e,um(e)-3-(~sm(e,"!important")&&10))){case 107:return am(e,":",":"+_d)+e;case 101:return am(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+_d+(45===lm(e,14)?"inline-":"")+"box$3$1"+_d+"$2$3$1"+$d+"$2box$3")+e}break;case 5936:switch(lm(e,t+11)){case 114:return _d+e+$d+am(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return _d+e+$d+am(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return _d+e+$d+am(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return _d+e+$d+e+e}return e}var Qm,_m,Km,qm=Zm?void 0:(Qm=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},_m=new WeakMap,function(e){if(_m.has(e))return _m.get(e);var t=Qm(e);return _m.set(e,t),t}),ep=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case em:e.return=$m(e.value,e.length);break;case tm:return Om([xm(e,{value:am(e.value,"@","@"+_d)})],i);case qd: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 Om([xm(e,{props:[am(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return Om([xm(e,{props:[am(t,/:(plac\w+)/,":"+_d+"input-$1")]}),xm(e,{props:[am(t,/:(plac\w+)/,":-moz-$1")]}),xm(e,{props:[am(t,/:(plac\w+)/,$d+"input-$1")]})],i)}return""})}}],tp=function(e){var t=e.key;if(Zm&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var i,o,r=e.stylisPlugins||ep,a={},s=[];Zm&&(i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Jm,Um];if(qm){var u=[Dm],d=zm(c.concat(r,u)),m=qm(r)(t),p=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=Om(Mm(e?e+"{"+t.styles+"}":t.styles),d)),m[n]};o=function(e,t,n,i){var o=t.name,r=p(e,t);return void 0===b.compat?(i&&(b.inserted[o]=!0),r):i?void(b.inserted[o]=r):r}}else{var h,g=[Dm,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],f=zm(c.concat(r,g));o=function(e,t,n,i){h=n,Om(Mm(e?e+"{"+t.styles+"}":t.styles),f),i&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Ud({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return b.sheet.hydrate(s),b},np={exports:{}},ip={};var op,rp,ap,sp,lp={};
4
4
  /** @license React v16.13.1
5
5
  * react-is.development.js
6
6
  *
@@ -8,5 +8,5 @@ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as i from
8
8
  *
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
- */function _p(){return Jp||(Jp=1,"production"===process.env.NODE_ENV?Hp.exports=function(){if(Fp)return jp;Fp=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case i:case r:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return jp.AsyncMode=l,jp.ConcurrentMode=c,jp.ContextConsumer=s,jp.ContextProvider=a,jp.Element=t,jp.ForwardRef=u,jp.Fragment=i,jp.Lazy=h,jp.Memo=m,jp.Portal=n,jp.Profiler=r,jp.StrictMode=o,jp.Suspense=d,jp.isAsyncMode=function(e){return x(e)||y(e)===l},jp.isConcurrentMode=x,jp.isContextConsumer=function(e){return y(e)===s},jp.isContextProvider=function(e){return y(e)===a},jp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},jp.isForwardRef=function(e){return y(e)===u},jp.isFragment=function(e){return y(e)===i},jp.isLazy=function(e){return y(e)===h},jp.isMemo=function(e){return y(e)===m},jp.isPortal=function(e){return y(e)===n},jp.isProfiler=function(e){return y(e)===r},jp.isStrictMode=function(e){return y(e)===o},jp.isSuspense=function(e){return y(e)===d},jp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},jp.typeOf=y,jp}():Hp.exports=(Yp||(Yp=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var g=e.type;switch(g){case l:case c:case i:case r:case o:case d:return g;default:var f=g&&g.$$typeof;switch(f){case s:case u:case h:case m:case a:return f;default:return p}}case n:return p}}}var x=l,I=c,w=s,C=a,N=t,A=u,k=i,G=h,P=m,V=n,B=r,T=o,S=d,E=!1;function R(e){return y(e)===c}Qp.AsyncMode=x,Qp.ConcurrentMode=I,Qp.ContextConsumer=w,Qp.ContextProvider=C,Qp.Element=N,Qp.ForwardRef=A,Qp.Fragment=k,Qp.Lazy=G,Qp.Memo=P,Qp.Portal=V,Qp.Profiler=B,Qp.StrictMode=T,Qp.Suspense=S,Qp.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||y(e)===l},Qp.isConcurrentMode=R,Qp.isContextConsumer=function(e){return y(e)===s},Qp.isContextProvider=function(e){return y(e)===a},Qp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qp.isForwardRef=function(e){return y(e)===u},Qp.isFragment=function(e){return y(e)===i},Qp.isLazy=function(e){return y(e)===h},Qp.isMemo=function(e){return y(e)===m},Qp.isPortal=function(e){return y(e)===n},Qp.isProfiler=function(e){return y(e)===r},Qp.isStrictMode=function(e){return y(e)===o},Qp.isSuspense=function(e){return y(e)===d},Qp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},Qp.typeOf=y}()),Qp)),Hp.exports}!function(){if($p)return Up;$p=1;var e=_p(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function r(n){return e.isMemo(n)?i:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=i;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Up=function e(t,i,o){if("string"!=typeof i){if(d){var p=u(i);p&&p!==d&&e(t,p,o)}var m=s(i);l&&(m=m.concat(l(i)));for(var h=r(t),g=r(i),f=0;f<m.length;++f){var b=m[f];if(!(n[b]||o&&o[b]||g&&g[b]||h&&h[b])){var v=c(i,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Kp="undefined"!=typeof document;var qp=function(e,t,n){var i=e.key+"-"+t.name;(!1===n||!1===Kp&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)};var em={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function tm(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var nm=/[A-Z]|^ms/g,im=/_EMO_([^_]+?)_([^]*?)_EMO_/g,om=function(e){return 45===e.charCodeAt(1)},rm=function(e){return null!=e&&"boolean"!=typeof e},am=tm(function(e){return om(e)?e:e.replace(nm,"-$&").toLowerCase()}),sm=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(im,function(e,t,n){return cm={name:t,styles:n,next:cm},t})}return 1===em[e]||om(e)||"number"!=typeof t||0===t?t:t+"px"};function lm(e,t,n){if(null==n)return"";var i=n;if(void 0!==i.__emotion_styles)return i;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return cm={name:o.name,styles:o.styles,next:cm},o.name;var r=n;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)cm={name:a.name,styles:a.styles,next:cm},a=a.next;return r.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=lm(e,t,n[o])+";";else for(var r in n){var a=n[r];if("object"!=typeof a){var s=a;rm(s)&&(i+=am(r)+":"+sm(r,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)rm(a[l])&&(i+=am(r)+":"+sm(r,a[l])+";");else{var c=lm(e,t,a);switch(r){case"animation":case"animationName":i+=am(r)+":"+c+";";break;default:i+=r+"{"+c+"}"}}}return i}(e,t,n);case"function":if(void 0!==e){var s=cm,l=n(e);return cm=s,lm(e,t,l)}}return n}var cm,um=/label:\s*([^\s;{]+)\s*(;|$)/g;function dm(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,o="";cm=void 0;var r=e[0];null==r||void 0===r.raw?(i=!1,o+=lm(n,t,r)):o+=r[0];for(var a=1;a<e.length;a++){if(o+=lm(n,t,e[a]),i)o+=r[a]}um.lastIndex=0;for(var s,l="";null!==(s=um.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,i=0,o=e.length;o>=4;++i,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:cm}}var pm="undefined"!=typeof document,mm=function(e){return e()},hm=!!i.useInsertionEffect&&i.useInsertionEffect,gm=pm&&hm||mm,fm="undefined"!=typeof document,bm=i.createContext("undefined"!=typeof HTMLElement?zp({key:"css"}):null);bm.Provider;var vm=function(e){return r(function(t,n){var i=h(bm);return e(t,i,n)})};fm||(vm=function(e){return function(t){var n=h(bm);return null===n?(n=zp({key:"css"}),i.createElement(bm.Provider,{value:n},e(t,n))):e(t,n)}});var ym,xm,Im=i.createContext({}),wm={}.hasOwnProperty,Cm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Nm=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;qp(t,n,o);var r=gm(function(){return function(e,t,n){qp(e,t,n);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",r=t;do{var a=e.insert(t===r?"."+i:"",r,e.sheet,!0);Kp||void 0===a||(o+=a),r=r.next}while(void 0!==r);if(!Kp&&0!==o.length)return o}}(t,n,o)});if(!fm&&void 0!==r){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return i.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:r},a.nonce=t.sheet.nonce,a))}return null},Am=vm(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Cm],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var i="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(i+=n+" ")}),i}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=dm(a,void 0,i.useContext(Im));s+=t.key+"-"+l.name;var c={};for(var u in e)wm.call(e,u)&&"css"!==u&&u!==Cm&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),i.createElement(i.Fragment,null,i.createElement(Nm,{cache:t,serialized:l,isStringTag:"string"==typeof r}),i.createElement(r,c))}),km=Am,Gm=function(e,t){var n=arguments;if(null==t||!wm.call(t,"css"))return i.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=km,r[1]=function(e,t){var n={};for(var i in t)wm.call(t,i)&&(n[i]=t[i]);return n[Cm]=e,n}(e,t);for(var a=2;a<o;a++)r[a]=n[a];return i.createElement.apply(null,r)};function Pm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return dm(t)}ym=Gm||(Gm={}),xm||(xm=ym.JSX||(ym.JSX={}));const Vm=Math.min,Bm=Math.max,Tm=Math.round,Sm=Math.floor,Em=e=>({x:e,y:e});function Rm(){return"undefined"!=typeof window}function Mm(e){return Wm(e)?(e.nodeName||"").toLowerCase():"#document"}function Lm(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Xm(e){var t;return null==(t=(Wm(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Wm(e){return!!Rm()&&(e instanceof Node||e instanceof Lm(e).Node)}function Om(e){return!!Rm()&&(e instanceof HTMLElement||e instanceof Lm(e).HTMLElement)}function Fm(e){return!(!Rm()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Lm(e).ShadowRoot)}const Dm=new Set(["inline","contents"]);function Zm(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=Hm(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!Dm.has(o)}const zm=new Set(["html","body","#document"]);function Hm(e){return Lm(e).getComputedStyle(e)}function jm(e){const t=function(e){if("html"===Mm(e))return e;const t=e.assignedSlot||e.parentNode||Fm(e)&&e.host||Xm(e);return Fm(t)?t.host:t}(e);return function(e){return zm.has(Mm(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Om(t)&&Zm(t)?t:jm(t)}function Ym(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=jm(e),r=o===(null==(i=e.ownerDocument)?void 0:i.body),a=Lm(o);if(r){const e=Jm(a);return t.concat(a,a.visualViewport||[],Zm(o)?o:[],e&&n?Ym(e):[])}return t.concat(o,Ym(o,[],n))}function Jm(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Um(e){return t=e,Rm()&&(t instanceof Element||t instanceof Lm(t).Element)?e:e.contextElement;var t}function $m(e){const t=Um(e);if(!Om(t))return Em(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:r}=function(e){const t=Hm(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=Om(e),r=o?e.offsetWidth:n,a=o?e.offsetHeight:i,s=Tm(n)!==r||Tm(i)!==a;return s&&(n=r,i=a),{width:n,height:i,$:s}}(t);let a=(r?Tm(n.width):n.width)/i,s=(r?Tm(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Qm(e,t,n,i){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),r=Um(e);let a=Em(1);t&&(a=$m(e));const s=Em(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(r){const e=i;let t=Lm(r),n=Jm(t);for(;n&&i&&e!==t;){const e=$m(n),i=n.getBoundingClientRect(),o=Hm(n),r=i.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=i.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=r,c+=a,t=Lm(n),n=Jm(t)}}return function(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function _m(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Km(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=Um(e),u=o||r?[...c?Ym(c):[],...Ym(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,i=null;const o=Xm(e);function r(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),r();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const h={rootMargin:-Sm(d)+"px "+-Sm(o.clientWidth-(u+p))+"px "+-Sm(o.clientHeight-(d+m))+"px "+-Sm(u)+"px",threshold:Bm(0,Vm(1,l))||1};let g=!0;function f(t){const i=t[0].intersectionRatio;if(i!==l){if(!g)return a();i?a(!1,i):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==i||_m(c,e.getBoundingClientRect())||a(),g=!1}try{i=new IntersectionObserver(f,{...h,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(f,h)}i.observe(e)}(!0),r}(c,n):null;let p,m=-1,h=null;a&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let g=l?Qm(e):null;return l&&function t(){const i=Qm(e);g&&!_m(g,i)&&n();g=i,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var qm="undefined"!=typeof document?m:function(){},eh=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],th=function(){};function nh(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ih(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=[].concat(i);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(nh(e,a)));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var oh=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===xd(e)&&null!==e?[e]:[];var t},rh=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,Nd({},Pd(e,eh))},ah=function(e,t,n){var i=e.cx,o=e.getStyles,r=e.getClassNames,a=e.className;return{css:o(t,e),className:i(null!=n?n:{},r(t,e),a)}};function sh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function lh(e){return sh(e)?window.pageYOffset:e.scrollTop}function ch(e,t){sh(e)?window.scrollTo(0,t):e.scrollTop=t}function uh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:th,o=lh(e),r=t-o,a=0;!function t(){var s,l=r*((s=(s=a+=10)/n-1)*s*s+1)+o;ch(e,l),a<n?window.requestAnimationFrame(t):i(e)}()}function dh(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),o=t.offsetHeight/3;i.bottom+o>n.bottom?ch(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):i.top-o<n.top&&ch(e,Math.max(t.offsetTop-o,0))}function ph(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var mh=!1,hh={get passive(){return mh=!0}},gh="undefined"!=typeof window?window:{};gh.addEventListener&&gh.removeEventListener&&(gh.addEventListener("p",th,hh),gh.removeEventListener("p",th,!1));var fh=mh;function bh(e){return null!=e}function vh(e,t,n){return e?t:n}var yh=["children","innerProps"],xh=["children","innerProps"];function Ih(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,o=e.placement,r=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,i=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&i.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,g=p.top,f=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:sh(u=l)?window.innerHeight:u.clientHeight,v=lh(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=f-x,w=b-g,C=I+v,N=d-v-g,A=m-b+v+y,k=v+g-x,G=160;switch(o){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!a)return r&&uh(l,A,G),{placement:"bottom",maxHeight:t};if(!a&&N>=i||a&&w>=i)return r&&uh(l,A,G),{placement:"bottom",maxHeight:a?w-y:N-y};if("auto"===o||a){var P=t,V=a?I:C;return V>=i&&(P=Math.min(V-y-s,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return r&&ch(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(C>=h&&!a)return r&&uh(l,k,G),{placement:"top",maxHeight:t};if(!a&&C>=i||a&&I>=i){var B=t;return(!a&&C>=i||a&&I>=i)&&(B=a?I-x:C-x),r&&uh(l,k,G),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var wh,Ch=function(e){return"auto"===e?"bottom":e},Nh=p(null),Ah=function(e){var t=e.children,n=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,r=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(h(Nh)||{}).setPortalPlacement,d=l(null),p=Gd(c(i),2),m=p[0],g=p[1],f=Gd(c(null),2),b=f[0],v=f[1],y=s.spacing.controlHeight;return qm(function(){var e=d.current;if(e){var t="fixed"===r,s=Ih({maxHeight:i,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});g(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[i,o,r,a,n,u,y]),t({ref:d,placerProps:Nd(Nd({},e),{},{placement:b||Ch(o),maxHeight:m})})},kh=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return Gm("div",uc({},ah(e,"menu",{menu:!0}),{ref:n},i),t)},Gh=function(e,t){var n=e.theme,i=n.spacing.baseUnit,o=n.colors;return Nd({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},Ph=Gh,Vh=Gh,Bh=["size"],Th=["innerProps","isRtl","size"];var Sh,Eh,Rh="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4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bmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+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)."}},Mh=function(e){var t=e.size,n=Pd(e,Bh);return Gm("svg",uc({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Rh},n))},Lh=function(e){return Gm(Mh,uc({size:20},e),Gm("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"}))},Xh=function(e){return Gm(Mh,uc({size:20},e),Gm("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"}))},Wh=function(e,t){var n=e.isFocused,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return Nd({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*o,":hover":{color:n?r.neutral80:r.neutral40}})},Oh=Wh,Fh=Wh,Dh=function(){var e=Pm.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_"}}}(wh||(Sh=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Eh||(Eh=Sh.slice(0)),wh=Object.freeze(Object.defineProperties(Sh,{raw:{value:Object.freeze(Eh)}})))),Zh=function(e){var t=e.delay,n=e.offset;return Gm("span",{css:Pm({animation:"".concat(Dh," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9P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Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},zh=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.innerRef,r=e.innerProps,a=e.menuIsOpen;return Gm("div",uc({ref:o},ah(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":a}),r,{"aria-disabled":n||void 0}),t)},Hh=["data"],jh=function(e){var t=e.children,n=e.cx,i=e.getStyles,o=e.getClassNames,r=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Gm("div",uc({},ah(e,"group",{group:!0}),s),Gm(r,uc({},a,{selectProps:u,theme:c,getStyles:i,getClassNames:o,cx:n}),l),Gm("div",null,t))},Yh=["innerRef","isDisabled","isHidden","inputClassName"],Jh={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Uh={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Nd({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Jh)},$h=function(e){return Nd({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Jh)},Qh=function(e){var t=e.cx,n=e.value,i=rh(e),o=i.innerRef,r=i.isDisabled,a=i.isHidden,s=i.inputClassName,l=Pd(i,Yh);return Gm("div",uc({},ah(e,"input",{"input-container":!0}),{"data-value":n||""}),Gm("input",uc({className:t({input:!0},s),ref:o,style:$h(a),disabled:r},l)))},_h=function(e){var t=e.children,n=e.innerProps;return Gm("div",n,t)};var Kh=function(e){var t=e.children,n=e.components,i=e.data,o=e.innerProps,r=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Gm(l,{data:i,innerProps:Nd(Nd({},ah(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),o),selectProps:s},Gm(c,{data:i,innerProps:Nd({},ah(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Gm(u,{data:i,innerProps:Nd(Nd({},ah(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},qh={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Gm("div",uc({},ah(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Gm(Lh,null))},Control:zh,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Gm("div",uc({},ah(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Gm(Xh,null))},DownChevron:Xh,CrossIcon:Lh,Group:jh,GroupHeading:function(e){var t=rh(e);t.data;var n=Pd(t,Hh);return Gm("div",uc({},ah(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Gm("div",uc({},ah(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Gm("span",uc({},t,ah(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Qh,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,o=void 0===i?4:i,r=Pd(e,Th);return Gm("div",uc({},ah(Nd(Nd({},r),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Gm(Zh,{delay:0,offset:n}),Gm(Zh,{delay:160,offset:!0}),Gm(Zh,{delay:320,offset:!n}))},Menu:kh,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,o=e.isMulti;return Gm("div",uc({},ah(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,i=e.controlElement,o=e.innerProps,r=e.menuPlacement,s=e.menuPosition,u=l(null),p=l(null),m=Gd(c(Ch(r)),2),h=m[0],g=m[1],f=a(function(){return{setPortalPlacement:g}},[]),b=Gd(c(null),2),v=b[0],y=b[1],x=d(function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===s?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[i,s,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);qm(function(){x()},[x]);var I=d(function(){"function"==typeof p.current&&(p.current(),p.current=null),i&&u.current&&(p.current=Km(i,u.current,x,{elementResize:"ResizeObserver"in window}))},[i,x]);qm(function(){I()},[I]);var w=d(function(e){u.current=e,I()},[I]);if(!t&&"fixed"!==s||!v)return null;var C=Gm("div",uc({ref:w},ah(Nd(Nd({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Gm(Nh.Provider,{value:f},t?R(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,o=Pd(e,xh);return Gm("div",uc({},ah(Nd(Nd({},o),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,i=e.innerProps,o=Pd(e,yh);return Gm("div",uc({},ah(Nd(Nd({},o),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:Kh,MultiValueContainer:_h,MultiValueLabel:_h,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Gm("div",uc({role:"button"},n),t||Gm(Lh,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.innerRef,a=e.innerProps;return Gm("div",uc({},ah(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":i,"option--is-selected":o}),{ref:r,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Gm("div",uc({},ah(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,o=e.isRtl;return Gm("div",uc({},ah(e,"container",{"--is-disabled":i,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return Gm("div",uc({},ah(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),i),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,i=e.isMulti,o=e.hasValue;return Gm("div",uc({},ah(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),n),t)}},eg=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function tg(e,t){return e===t||!(!eg(e)||!eg(t))}function ng(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!tg(e[n],t[n]))return!1;return!0}for(var ig="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)."}},og=function(e){return Gm("span",uc({css:ig},e))},rg={guidance:function(e){var t=e.isSearchable,n=e.isMulti,i=e.tabSelectsValue,o=e.context,r=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return r?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,i=void 0===n?"":n,o=e.labels,r=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(i,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,i=e.options,o=e.label,r=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(r," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(r).concat(p,", ").concat(u(i,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},ag=function(e){var t=e.ariaSelection,n=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,r=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,g=l.isOptionDisabled,f=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,w=l.isLoading,C=l["aria-label"],N=l["aria-live"],A=a(function(){return Nd(Nd({},rg),d||{})},[d]),k=a(function(){var e,n="";if(t&&A.onChange){var i=t.option,o=t.options,r=t.removedValue,a=t.removedValues,l=t.value,c=r||i||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=o||a||void 0,m=d?d.map(p):[],h=Nd({isDisabled:c&&g(c,s),label:u,labels:m},t);n=A.onChange(h)}return n},[t,A,g,s,p]),G=a(function(){var e="",t=n||i,r=!!(n&&s&&s.includes(n));if(t&&A.onFocus){var a={focused:t,label:p(t),isDisabled:g(t,s),isSelected:r,options:o,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=A.onFocus(a)}return e},[n,i,p,g,A,o,s,u]),P=a(function(){var e="";if(b&&v.length&&!w&&A.onFilter){var t=y({count:o.length});e=A.onFilter({inputValue:m,resultsMessage:t})}return e},[o,m,b,A,v,y,w]),V="initial-input-focus"===(null==t?void 0:t.action),B=a(function(){var e="";if(A.guidance){var t=i?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:n&&g(n,s),isMulti:h,isSearchable:f,tabSelectsValue:I,isInitialFocus:V})}return e},[C,n,i,h,g,f,b,A,s,I,V]),T=Gm(x,null,Gm("span",{id:"aria-selection"},k),Gm("span",{id:"aria-focused"},G),Gm("span",{id:"aria-results"},P),Gm("span",{id:"aria-guidance"},B));return Gm(x,null,Gm(og,{id:c},V&&T),Gm(og,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!V&&T))},sg=[{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źẑżžẓẕƶȥɀⱬꝣ"}],lg=new RegExp("["+sg.map(function(e){return e.letters}).join("")+"]","g"),cg={},ug=0;ug<sg.length;ug++)for(var dg=sg[ug],pg=0;pg<dg.letters.length;pg++)cg[dg.letters[pg]]=dg.base;var mg=function(e){return e.replace(lg,function(e){return cg[e]})},hg=function(e,t){void 0===t&&(t=ng);var n=null;function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var r=e.apply(this,i);return n={lastResult:r,lastArgs:i,lastThis:this},r}return i.clear=function(){n=null},i}(mg),gg=function(e){return e.replace(/^\s+|\s+$/g,"")},fg=function(e){return"".concat(e.label," ").concat(e.value)},bg=function(e){return function(t,n){if(t.data.__isNew__)return!0;var i=Nd({ignoreCase:!0,ignoreAccents:!0,stringify:fg,trim:!0,matchFrom:"any"},e),o=i.ignoreCase,r=i.ignoreAccents,a=i.stringify,s=i.trim,l=i.matchFrom,c=s?gg(n):n,u=s?gg(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=hg(c),u=mg(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},vg=["innerRef"];function yg(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=Object.entries(e).filter(function(e){var t=Gd(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Gd(t,2),i=n[0],o=n[1];return e[i]=o,e},{})}(Pd(e,vg),"onExited","in","enter","exit","appear");return Gm("input",uc({ref:t},n,{css:Pm({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50I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yIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var xg=["boxSizing","height","overflow","paddingRight","position"],Ig={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function wg(e){e.cancelable&&e.preventDefault()}function Cg(e){e.stopPropagation()}function Ng(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Ag(){return"ontouchstart"in window||navigator.maxTouchPoints}var kg=!("undefined"==typeof window||!window.document||!window.document.createElement),Gg=0,Pg={capture:!1,passive:!1};var Vg=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2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tZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+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 Tg(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,r=e.onTopLeave,a=l(!1),s=l(!1),c=l(0),p=l(null),m=d(function(e,t){if(null!==p.current){var l=p.current,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,m=p.current,h=t>0,g=u-d-c,f=!1;g>t&&a.current&&(i&&i(e),a.current=!1),h&&s.current&&(r&&r(e),s.current=!1),h&&t>g?(n&&!a.current&&n(e),m.scrollTop=u,f=!0,a.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),m.scrollTop=0,f=!0,s.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,i,o,r]),h=d(function(e){m(e,e.deltaY)},[m]),g=d(function(e){c.current=e.changedTouches[0].clientY},[]),f=d(function(e){var t=c.current-e.changedTouches[0].clientY;m(e,t)},[m]),b=d(function(e){if(e){var t=!!fh&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,h]),v=d(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,h]);return u(function(){if(t){var e=p.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){p.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,i=void 0===n||n,o=l({}),r=l(null),a=d(function(e){if(kg){var t=document.body,n=t&&t.style;if(i&&xg.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&Gg<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(Ig).forEach(function(e){var t=Ig[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Ag()&&(t.addEventListener("touchmove",wg,Pg),e&&(e.addEventListener("touchstart",Ng,Pg),e.addEventListener("touchmove",Cg,Pg))),Gg+=1}},[i]),s=d(function(e){if(kg){var t=document.body,n=t&&t.style;Gg=Math.max(Gg-1,0),i&&Gg<1&&xg.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Ag()&&(t.removeEventListener("touchmove",wg,Pg),e&&(e.removeEventListener("touchstart",Ng,Pg),e.removeEventListener("touchmove",Cg,Pg)))}},[i]);return u(function(){if(t){var e=r.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){r.current=e}}({isEnabled:n});return Gm(x,null,n&&Gm("div",{onClick:Vg,css:Bg}),t(function(e){o(e),r(e)}))}var Sg="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdX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XQ7XG4iXX0= */",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)."}},Eg=function(e){var t=e.name,n=e.onFocus;return Gm("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Sg,value:"",onChange:function(){}})};function Rg(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 Mg(){return Rg(/^Mac/i)}function Lg(){return Rg(/^iPhone/i)||Rg(/^iPad/i)||Mg()&&navigator.maxTouchPoints>1}var Xg={clearIndicator:Fh,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.theme,r=o.colors,a=o.borderRadius;return Nd({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:i?r.primary:r.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:i?r.primary:r.neutral30}})},dropdownIndicator:Oh,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,i=n.colors,o=n.spacing;return Nd({label:"group",cursor:"default",display:"block"},t?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return Nd({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,i=e.value,o=e.theme,r=o.spacing,a=o.colors;return Nd(Nd({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},Uh),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,i=e.size,o=e.theme,r=o.colors,a=o.spacing.baseUnit;return Nd({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*a})},loadingMessage:Vh,menu:function(e,t){var n,i=e.placement,o=e.theme,r=o.borderRadius,a=o.spacing,s=o.colors;return Nd((wd(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(i),"100%"),wd(n,"position","absolute"),wd(n,"width","100%"),wd(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,i=e.theme.spacing.baseUnit;return Nd({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:i,paddingTop:i})},menuPortal:function(e){var t=e.rect,n=e.offset,i=e.position;return{left:t.left,position:i,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,i=n.spacing,o=n.borderRadius,r=n.colors;return Nd({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,i=n.borderRadius,o=n.colors,r=e.cropWithEllipsis;return Nd({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,i=n.spacing,o=n.borderRadius,r=n.colors,a=e.isFocused;return Nd({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?r.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:Ph,option:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.theme,a=r.spacing,s=r.colors;return Nd({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:i?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,i=n.spacing,o=n.colors;return Nd({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,i=e.theme,o=i.spacing,r=i.colors;return Nd({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,i=e.isMulti,o=e.hasValue,r=e.selectProps.controlShouldRenderValue;return Nd({alignItems:"center",display:i&&o&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Wg={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}},Og={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:ph(),captureMenuScroll:!ph(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:bg(),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 Fg(e,t,n,i){return{type:"option",data:t,isDisabled:Ug(e,t,n),isSelected:$g(e,t,n),label:Yg(e,t),value:Jg(e,t),index:i}}function Dg(e,t){return e.options.map(function(n,i){if("options"in n){var o=n.options.map(function(n,i){return Fg(e,n,t,i)}).filter(function(t){return Hg(e,t)});return o.length>0?{type:"group",data:n,options:o,index:i}:void 0}var r=Fg(e,n,t,i);return Hg(e,r)?r:void 0}).filter(bh)}function Zg(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Md(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function zg(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Md(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 Hg(e,t){var n=e.inputValue,i=void 0===n?"":n,o=t.data,r=t.isSelected,a=t.label,s=t.value;return(!_g(e)||!r)&&Qg(e,{label:a,value:s,data:o},i)}var jg=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Yg=function(e,t){return e.getOptionLabel(t)},Jg=function(e,t){return e.getOptionValue(t)};function Ug(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function $g(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=Jg(e,t);return n.some(function(t){return Jg(e,t)===i})}function Qg(e,t,n){return!e.filterOption||e.filterOption(t,n)}var _g=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Kg=1,qg=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&&Td(e,t)}(t,w);var e=function(e){var t=Ed();return function(){var n,i=Sd(e);if(t){var o=Sd(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Rd(this,n)}}(t);function t(n){var i;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(e){i.controlRef=e},i.focusedOptionRef=null,i.getFocusedOptionRef=function(e){i.focusedOptionRef=e},i.menuListRef=null,i.getMenuListRef=function(e){i.menuListRef=e},i.inputRef=null,i.getInputRef=function(e){i.inputRef=e},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(e,t){var n=i.props,o=n.onChange,r=n.name;t.name=r,i.ariaOnChange(e,t),o(e,t)},i.setValue=function(e,t,n){var o=i.props,r=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:s}),r&&(i.setState({inputIsHiddenAfterUpdate:!a}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(e,{action:t,option:n})},i.selectOption=function(e){var t=i.props,n=t.blurInputOnSelect,o=t.isMulti,r=t.name,a=i.state.selectValue,s=o&&i.isOptionSelected(e,a),l=i.isOptionDisabled(e,a);if(s){var c=i.getOptionValue(e);i.setValue(a.filter(function(e){return i.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void i.ariaOnChange(e,{action:"select-option",option:e,name:r});o?i.setValue([].concat(Md(a),[e]),"select-option",e):i.setValue(e,"select-option")}n&&i.blurInput()},i.removeValue=function(e){var t=i.props.isMulti,n=i.state.selectValue,o=i.getOptionValue(e),r=n.filter(function(e){return i.getOptionValue(e)!==o}),a=vh(t,r,r[0]||null);i.onChange(a,{action:"remove-value",removedValue:e}),i.focusInput()},i.clearValue=function(){var e=i.state.selectValue;i.onChange(vh(i.props.isMulti,[],null),{action:"clear",removedValues:e})},i.popValue=function(){var e=i.props.isMulti,t=i.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),r=vh(e,o,o[0]||null);n&&i.onChange(r,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(e){return jg(i.state.focusableOptionsWithIds,e)},i.getFocusableOptionsWithIds=function(){return zg(Dg(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ih.apply(void 0,[i.props.classNamePrefix].concat(t))},i.getOptionLabel=function(e){return Yg(i.props,e)},i.getOptionValue=function(e){return Jg(i.props,e)},i.getStyles=function(e,t){var n=i.props.unstyled,o=Xg[e](t,n);o.boxSizing="border-box";var r=i.props.styles[e];return r?r(o,t):o},i.getClassNames=function(e,t){var n,o;return null===(n=(o=i.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},i.getElementId=function(e){return"".concat(i.state.instancePrefix,"-").concat(e)},i.getComponents=function(){return e=i.props,Nd(Nd({},qh),e.components);var e},i.buildCategorizedOptions=function(){return Dg(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return Zg(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(e,t){i.setState({ariaSelection:Nd({value:e},t)})},i.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(e){i.blockOptionHover=!1},i.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&i.onMenuClose():t&&i.openMenu("first"):(t&&(i.openAfterFocus=!0),i.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},i.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||i.props.isDisabled)){var t=i.props,n=t.isMulti,o=t.menuIsOpen;i.focusInput(),o?(i.setState({inputIsHiddenAfterUpdate:!n}),i.onMenuClose()):i.openMenu("first"),e.preventDefault()}},i.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(i.clearValue(),e.preventDefault(),i.openAfterFocus=!1,"touchend"===e.type?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(e){"boolean"==typeof i.props.closeMenuOnScroll?e.target instanceof HTMLElement&&sh(e.target)&&i.props.onMenuClose():"function"==typeof i.props.closeMenuOnScroll&&i.props.closeMenuOnScroll(e)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(i.initialTouchX=n.clientX,i.initialTouchY=n.clientY,i.userIsDragging=!1)},i.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-i.initialTouchX),r=Math.abs(n.clientY-i.initialTouchY);i.userIsDragging=o>5||r>5}},i.onTouchEnd=function(e){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(e.target)&&i.menuListRef&&!i.menuListRef.contains(e.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(e){i.userIsDragging||i.onControlMouseDown(e)},i.onClearIndicatorTouchEnd=function(e){i.userIsDragging||i.onClearIndicatorMouseDown(e)},i.onDropdownIndicatorTouchEnd=function(e){i.userIsDragging||i.onDropdownIndicatorMouseDown(e)},i.handleInputChange=function(e){var t=i.props.inputValue,n=e.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(n,{action:"input-change",prevInputValue:t}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(e){i.props.onFocus&&i.props.onFocus(e),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(e){var t=i.props.inputValue;i.menuListRef&&i.menuListRef.contains(document.activeElement)?i.inputRef.focus():(i.props.onBlur&&i.props.onBlur(e),i.onInputChange("",{action:"input-blur",prevInputValue:t}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1}))},i.onOptionHover=function(e){if(!i.blockOptionHover&&i.state.focusedOption!==e){var t=i.getFocusableOptions().indexOf(e);i.setState({focusedOption:e,focusedOptionId:t>-1?i.getFocusedOptionId(e):null})}},i.shouldHideSelectedOptions=function(){return _g(i.props)},i.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),i.focus()},i.onKeyDown=function(e){var t=i.props,n=t.isMulti,o=t.backspaceRemovesValue,r=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=i.state,h=m.focusedOption,g=m.focusedValue,f=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(i.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;i.focusValue("previous");break;case"ArrowRight":if(!n||a)return;i.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)i.removeValue(g);else{if(!o)return;n?i.popValue():s&&i.clearValue()}break;case"Tab":if(i.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&i.isOptionSelected(h,f))return;i.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(i.isComposing)return;i.selectOption(h);break}return;case"Escape":c?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:a}),i.onMenuClose()):s&&r&&i.clearValue();break;case" ":if(a)return;if(!c){i.openMenu("first");break}if(!h)return;i.selectOption(h);break;case"ArrowUp":c?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":c?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!c)return;i.focusOption("pageup");break;case"PageDown":if(!c)return;i.focusOption("pagedown");break;case"Home":if(!c)return;i.focusOption("first");break;case"End":if(!c)return;i.focusOption("last");break;default:return}e.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++Kg),i.state.selectValue=oh(n.value),n.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),r=i.buildFocusableOptions(),a=r.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=r[a],i.state.focusedOptionId=jg(o,r[a])}return i}return function(e,t,n){t&&Bd(e.prototype,t),n&&Bd(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&&dh(this.menuListRef,this.focusedOptionRef),(Mg()||Lg())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,i=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&i&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(dh(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,i=n.selectValue,o=n.isFocused,r=this.buildFocusableOptions(),a="first"===e?0:r.length-1;if(!this.props.isMulti){var s=r.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[a],focusedOptionId:this.getFocusedOptionId(r[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,i=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(i);i||(o=-1);var r=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?r:o-1;break;case"next":o>-1&&o<r&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,i=this.getFocusableOptions();if(i.length){var o=0,r=i.indexOf(n);n||(r=-1),"up"===e?o=r>0?r-1:i.length-1:"down"===e?o=(r+1)%i.length:"pageup"===e?(o=r-t)<0&&(o=0):"pagedown"===e?(o=r+t)>i.length-1&&(o=i.length-1):"last"===e&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Wg):Nd(Nd({},Wg),this.props.theme):Wg}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,i=this.getClassNames,o=this.getValue,r=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:i,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:r,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Ug(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return $g(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Qg(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:i})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,g=o||this.getElementId("input"),f=Nd(Nd(Nd({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,uc({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:r},f)):i.createElement(yg,uc({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:th,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return h?null:i.createElement(l,uc({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,uc({},c,{components:{Container:o,Label:r,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return i.createElement(s,uc({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,uc({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,a=this.state.isFocused;if(!e||!r)return null;return i.createElement(e,uc({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,uc({},o,{isDisabled:r,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,uc({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,g=m.inputValue,f=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,y=m.maxMenuHeight,x=m.menuIsOpen,I=m.menuPlacement,w=m.menuPosition,C=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,k=m.noOptionsMessage,G=m.onMenuScrollToTop,P=m.onMenuScrollToBottom;if(!x)return null;var V,B=function(t,n){var o=t.type,r=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===r,h=a?void 0:function(){return e.onOptionHover(r)},g=a?void 0:function(){return e.selectOption(r)},f="".concat(e.getElementId("option"),"-").concat(n),b={id:f,onClick:g,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return i.createElement(u,uc({},d,{innerProps:b,data:r,isDisabled:a,isSelected:s,key:f,label:l,type:o,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())V=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return i.createElement(n,uc({},d,{key:l,data:r,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return B(t,"".concat(t.index))});else if(f){var T=b({inputValue:g});if(null===T)return null;V=i.createElement(l,d,T)}else{var S=k({inputValue:g});if(null===S)return null;V=i.createElement(c,d,S)}var E={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:w,menuShouldScrollIntoView:A},R=i.createElement(Ah,uc({},d,E),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return i.createElement(r,uc({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),i.createElement(Tg,{captureEnabled:h,onTopArrive:G,onBottomArrive:P,lockEnabled:N},function(t){return i.createElement(a,uc({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:l,focusedOption:p}),V)}))});return C||"fixed"===w?i.createElement(s,uc({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:I,menuPosition:w}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return i.createElement(Eg,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return i.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):i.createElement("input",{name:a,type:"hidden",value:""});return i.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return i.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return i.createElement(ag,uc({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return i.createElement(o,uc({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),i.createElement(t,uc({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),i.createElement(r,uc({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,uc({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,r=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=oh(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var f=d?function(e,t){return Zg(Dg(e,t))}(e,h):[],b=d?zg(Dg(e,h),"".concat(l,"-option")):[],v=i?function(e,t){var n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:h,focusedOption:y,focusedOptionId:jg(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=r,w=a&&s;return a&&!w&&(I={value:vh(m,h,h[0]||null),options:h,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==r?void 0:r.action)&&(I=null),Nd(Nd(Nd({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:w})}}]),t}();qg.defaultProps=Og;var ef=r(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,i=e.defaultMenuIsOpen,o=void 0!==i&&i,r=e.defaultValue,a=void 0===r?null:r,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,p=e.onInputChange,m=e.onMenuClose,h=e.onMenuOpen,g=e.value,f=Pd(e,Vd),b=Gd(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=Gd(c(void 0!==l?l:o),2),I=x[0],w=x[1],C=Gd(c(void 0!==g?g:a),2),N=C[0],A=C[1],k=d(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),G=d(function(e,t){var n;"function"==typeof p&&(n=p(e,t)),y(void 0!==n?n:e)},[p]),P=d(function(){"function"==typeof h&&h(),w(!0)},[h]),V=d(function(){"function"==typeof m&&m(),w(!1)},[m]),B=void 0!==s?s:v,T=void 0!==l?l:I,S=void 0!==g?g:N;return Nd(Nd({},f),{},{inputValue:B,menuIsOpen:T,onChange:k,onInputChange:G,onMenuClose:V,onMenuOpen:P,value:S})}(e);return i.createElement(qg,uc({ref:t},n))}),tf=ef;const nf=o.memo(({options:n,className:i,controlClassName:o,value:r,isCustomStyle:s=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:p,error:m,menuClassName:h,helperText:g,label:f,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...w})=>{const C=a(()=>bg(d),[d]),N=a(()=>({control:({isFocused:e})=>_e("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>_e(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>_e("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:i})=>{var o;return _e("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==i?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,o,h,n,p,v]);return"unstyled"===y?e(tf,{options:n,value:r,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:_e("rounded-xl",i),classNames:N,"data-cy":x,"data-testid":I,...w}):t("div",{className:"w-full",children:[f&&e("label",{className:_e("mb-1 block text-sm font-medium text-text-secondary",b),children:f}),e(tf,{options:n,value:r,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:_e("rounded-xl",i),classNames:N,"data-cy":x,"data-testid":I,...w}),m&&e(rt,{className:"footnote mt-1 text-text-critical",children:m}),!m&&g&&e(rt,{className:"footnote mt-1 text-text-info",children:g})]})});function of({paginatedArticles:n,totalArticles:i,currentPage:o,totalPages:r,selectedCategory:a,categoryOptions:s}){const l=M(),c=L(),u=X();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(rt,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(rt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(rt,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(rt,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",i," articles"]})]}),e(nf,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var i,o,r,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Ct,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(rt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e(yd,{currentPage:o,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}function rf({title:n="recent articles",paginatedArticles:i,totalArticles:o,currentPage:r,totalPages:a,selectedCategory:s,categoryOptions:l,onCategoryChange:c,onPageChange:u,imageComponent:d}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(rt,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),l.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(rt,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(rt,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(rt,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(nf,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),i.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:i.map((t,n)=>{var i,o,r,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Ct,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:d,index:n},t.slug)})}):e(rt,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e(yd,{currentPage:r,totalPages:a,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})}nf.displayName="Select";const af=n=>{const{links:i=[],textColor:o="dark",maxWidth:r=!0,floatOnMobile:a=!1}=n,s=a?"dark"===o?"text-text":"text-white":"dark"===o?"text-white xl:text-text":"text-text xl:text-white";return i.length?e("nav",{"aria-label":"Breadcrumb",className:(r?`${!a&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${a?"absolute":"relative xl:absolute"} xl:mx-auto xl:flex-wrap xl:px-3`,children:i.map((n,o)=>{const{image:r,...a}=n,l=(null==r?void 0:r.url)?r.url.startsWith("//")?`https:${r.url}`:r.url:"",c=o===i.length-1;return t("li",c?{className:"flex min-w-0 items-center",children:[l&&e("img",{src:l,alt:(null==r?void 0:r.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(rt,{as:"span",className:`body3 mr-2 break-words ${s}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[l&&e("img",{src:l,alt:(null==r?void 0:r.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(kt,{...a,linkClassName:`label3 mr-2 whitespace-nowrap ${s}`,linkVariant:"unstyled"}),e(ot,{name:"chevron_right",className:`${s} `})]},o)})})}):null},sf=n=>{const{anchorId:i="SearchBlock",title:o,subTitle:r,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:m,onSubmit:h}=n,[g,f]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==m?"text-text":"text-white"}`,id:i,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(rt,{as:a?"h1":"h2",className:_e("heading2 md:heading1"),children:o}),r&&e(rt,{as:"div",className:_e("subheading2 mt-2 md:subheading1"),children:r})]}),s?e(rt,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(ft,{type:"submit",className:"ml-2 inline-flex",children:e(ot,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(qt,{value:g,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},lf={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},cf=n=>{const{title:i,variant:o="yellow",cta:r,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=lf[null==o?void 0:o.toLowerCase()]||lf.yellow;if(!s)return null;const u=(null==r?void 0:r.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==r?void 0:r.buttonVariant,showButtonAs:"solid",cta:r});return t("div",{style:{top:`${a}px`},className:_e(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(rt,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:i}),d]})};function uf(i){var o,r,a;const[s,l]=c(0),[d,p]=c(""),{title:m,subTitle:h,tabs:g,tabsContent:f,navigationType:b=!0,mobileSidebarTabType:v=!0}=i;u(()=>{if("undefined"!=typeof window){p(window.location.hash);const e=()=>{p(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),u(()=>{var e;null===(e=null==g?void 0:g.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return l(t),!0})},[g,d]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&d&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(o=null==g?void 0:g.items)||void 0===o?void 0:o.map((t,n)=>e(kt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:_e("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==f?void 0:f.map((t,n)=>e("div",{children:e(cc,{children:e(nc.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===(r=null==g?void 0:g.items)||void 0===r?void 0:r.map((n,i)=>t("div",{className:"py-5",children:[t(kt,{showButtonAs:"unstyled",onClick:()=>y(i,null==n?void 0:n.anchorId),buttonClassName:_e("w-full flex justify-between items-center px-4 py-5",i===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(ot,{name:i===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(bt,{open:i===s,children:e("div",{className:_e("px-4 py-4"),children:null==f?void 0:f[i]})})]},i))}),w=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==g?void 0:g.items)||void 0===a?void 0:a.map((t,n)=>e(kt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:_e("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:null==f?void 0:f.map((t,n)=>e("div",{children:e(cc,{children:e(nc.div,{initial:{height:0,opacity:0},animate:{height:n===s?"auto":0,opacity:n===s?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t})})},n))})]});return t("div",{children:[m||h?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[m?e(rt,{className:"heading2 px-5 md:heading1 md:text-center",children:m}):null,h?e(rt,{className:"subheading3 px-5 md:subheading1 md:text-center",children:h}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:w})]})}const df=({ctaSuffixText:n,backgroundColor:i,iconName:o,boxShadow:r,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:c="anchored-banner"})=>{const u="yellow"===i||!i?"text-text-primary":"text-white";return e("section",{id:c,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${i?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent"}[i]:"bg-bg-fill-brand-accent"} ${r||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(B,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${u} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[o&&e(ot,{name:o,size:24,fill:1,className:`${u} align-text-bottom`}),a&&a," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function pf({content:n}){let i=3;const[o,r]=c(!1),[a,s]=c(!1),d=l(null);u(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=N.get(e);return t?C.decode(t):null}("cookieBannerClosed");r("true"!==e)},[]),u(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),u(()=>{var e,t,n,i;return o?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(i=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===i||i.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[o]),u(()=>{if(!o)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let i;const r=()=>{clearTimeout(i),i=setTimeout(e,150)};return window.addEventListener("resize",r),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(i),window.removeEventListener("resize",r),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,a]);a&&(i=14);return o?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*i}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(kt,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);r(!1),((e,t,n)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),o=C.encode(i);N.set(e,o,n)})("cookieBannerClosed",!0,{expires:e})},children:e(ot,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const mf=n=>{const{anchorId:i="email-input",title:o,subTitle:r,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:u,backgroundColor:d="green",successFeedback:p,onSubmit:m}=n||{},h={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},g=h[d]||h.green,f=["green","blue","navy"].includes(d)?"text-white":"text-text",[b,v]=c(""),[y,x]=c(!1),[I,w]=c("");return t("section",{id:i,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${g} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[o&&e("h1",{className:`text-heading1 font-black ${f}`,children:o}),r&&e("h2",{className:`text-heading1 font-black ${f}`,children:r}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:a}),t("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),I&&w(""),y&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e(kt,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(m({email:b}),v(""),x(!0),w("")):w("Please enter a valid email address.")}})]}),I&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:I}),p&&y&&!I&&e("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:p})]})}),u&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:u})]})},hf=({fields:n,isInPopupContainer:i=!1,onClose:o,onContinueCheckout:r,checkShouldShowBanner:a,onBannerShown:s})=>{var l,d;const{anchorId:p,mainHeading:m,description:h,cta:g}=n,[f,b]=c(!1);u(()=>{const e=()=>{(null==a?void 0:a())&&!f&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==r||r()};return i?t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e(rt,{className:"heading5 text-center lg:heading3",children:m||"Welcome back. Let’s finish your order"}),h&&dt(et(null==h?void 0:h.json),!1,"body1 my-4"),e(kt,{onClick:v,buttonLabel:null!==(l=null==g?void 0:g.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:p,"data-testid":"cart-retention-banner",children:e(hd,{size:"sm",isOpen:f,onRequestClose:()=>{null==o||o(),b(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(rt,{className:"heading5 text-center lg:heading3",children:m||"Welcome back. Let&apos;s finish your order"}),h&&dt(et(null==h?void 0:h.json),!1,"body1 my-4"),e(kt,{onClick:v,buttonLabel:null!==(d=null==g?void 0:g.buttonLabel)&&void 0!==d?d:"Continue checkout"})]})})})};export{xt as Accordion,cf as AddressInputBanner,df as AnchoredBottomBanner,Ct as BlogCard,of as BlogGrid,rf as BlogGridBase,af as BreadcrumbNavigation,kt as Button,St as Callout,Et as Cards,Zt as Carousel,hf as CartRetentionBanner,vd as ComparisonTable,pf as CookieBanner,fd as CtaCallout,uf as DynamicTabs,mf as EmailInputBlock,bd as FindKinetic,zt as FloatingBanner,Ht as Footer,Ut as ImagePromoBar,hd as Modal,en as Navigation,rn as PrimaryHero,Lt as ProductCard,sf as SearchBlock,gd as ShapeBackgroundWrapper,Tt as SimpleCard,Xt as TestimonialCard,an as Text,ht as label1BoldOptions,dt as renderContentfulRichText,mt as renderContentfulRichTextTable,et as toDocument,pt as useContentfulRichText,gt as useProcessedChecklist};
11
+ */function cp(){return rp||(rp=1,"production"===process.env.NODE_ENV?np.exports=function(){if(Km)return ip;Km=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:switch(e=e.type){case l:case c:case i:case r:case o:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case p:case a:return e;default:return m}}case n:return m}}}function x(e){return y(e)===c}return ip.AsyncMode=l,ip.ConcurrentMode=c,ip.ContextConsumer=s,ip.ContextProvider=a,ip.Element=t,ip.ForwardRef=u,ip.Fragment=i,ip.Lazy=h,ip.Memo=p,ip.Portal=n,ip.Profiler=r,ip.StrictMode=o,ip.Suspense=d,ip.isAsyncMode=function(e){return x(e)||y(e)===l},ip.isConcurrentMode=x,ip.isContextConsumer=function(e){return y(e)===s},ip.isContextProvider=function(e){return y(e)===a},ip.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},ip.isForwardRef=function(e){return y(e)===u},ip.isFragment=function(e){return y(e)===i},ip.isLazy=function(e){return y(e)===h},ip.isMemo=function(e){return y(e)===p},ip.isPortal=function(e){return y(e)===n},ip.isProfiler=function(e){return y(e)===r},ip.isStrictMode=function(e){return y(e)===o},ip.isSuspense=function(e){return y(e)===d},ip.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},ip.typeOf=y,ip}():np.exports=(op||(op=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,p=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,f=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var m=e.$$typeof;switch(m){case t:var g=e.type;switch(g){case l:case c:case i:case r:case o:case d:return g;default:var f=g&&g.$$typeof;switch(f){case s:case u:case h:case p:case a:return f;default:return m}}case n:return m}}}var x=l,I=c,w=s,C=a,N=t,A=u,k=i,G=h,P=p,T=n,B=r,V=o,S=d,E=!1;function R(e){return y(e)===c}lp.AsyncMode=x,lp.ConcurrentMode=I,lp.ContextConsumer=w,lp.ContextProvider=C,lp.Element=N,lp.ForwardRef=A,lp.Fragment=k,lp.Lazy=G,lp.Memo=P,lp.Portal=T,lp.Profiler=B,lp.StrictMode=V,lp.Suspense=S,lp.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||y(e)===l},lp.isConcurrentMode=R,lp.isContextConsumer=function(e){return y(e)===s},lp.isContextProvider=function(e){return y(e)===a},lp.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},lp.isForwardRef=function(e){return y(e)===u},lp.isFragment=function(e){return y(e)===i},lp.isLazy=function(e){return y(e)===h},lp.isMemo=function(e){return y(e)===p},lp.isPortal=function(e){return y(e)===n},lp.isProfiler=function(e){return y(e)===r},lp.isStrictMode=function(e){return y(e)===o},lp.isSuspense=function(e){return y(e)===d},lp.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===c||e===r||e===o||e===d||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===p||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===v||e.$$typeof===g)},lp.typeOf=y}()),lp)),np.exports}!function(){if(sp)return ap;sp=1;var e=cp(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function r(n){return e.isMemo(n)?i:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=i;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;ap=function e(t,i,o){if("string"!=typeof i){if(d){var m=u(i);m&&m!==d&&e(t,m,o)}var p=s(i);l&&(p=p.concat(l(i)));for(var h=r(t),g=r(i),f=0;f<p.length;++f){var b=p[f];if(!(n[b]||o&&o[b]||g&&g[b]||h&&h[b])){var v=c(i,b);try{a(t,b,v)}catch(e){}}}}return t}}();var up="undefined"!=typeof document;var dp=function(e,t,n){var i=e.key+"-"+t.name;(!1===n||!1===up&&void 0!==e.compat)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)};var mp={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function pp(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var hp=/[A-Z]|^ms/g,gp=/_EMO_([^_]+?)_([^]*?)_EMO_/g,fp=function(e){return 45===e.charCodeAt(1)},bp=function(e){return null!=e&&"boolean"!=typeof e},vp=pp(function(e){return fp(e)?e:e.replace(hp,"-$&").toLowerCase()}),yp=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(gp,function(e,t,n){return Ip={name:t,styles:n,next:Ip},t})}return 1===mp[e]||fp(e)||"number"!=typeof t||0===t?t:t+"px"};function xp(e,t,n){if(null==n)return"";var i=n;if(void 0!==i.__emotion_styles)return i;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return Ip={name:o.name,styles:o.styles,next:Ip},o.name;var r=n;if(void 0!==r.styles){var a=r.next;if(void 0!==a)for(;void 0!==a;)Ip={name:a.name,styles:a.styles,next:Ip},a=a.next;return r.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=xp(e,t,n[o])+";";else for(var r in n){var a=n[r];if("object"!=typeof a){var s=a;bp(s)&&(i+=vp(r)+":"+yp(r,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)bp(a[l])&&(i+=vp(r)+":"+yp(r,a[l])+";");else{var c=xp(e,t,a);switch(r){case"animation":case"animationName":i+=vp(r)+":"+c+";";break;default:i+=r+"{"+c+"}"}}}return i}(e,t,n);case"function":if(void 0!==e){var s=Ip,l=n(e);return Ip=s,xp(e,t,l)}}return n}var Ip,wp=/label:\s*([^\s;{]+)\s*(;|$)/g;function Cp(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,o="";Ip=void 0;var r=e[0];null==r||void 0===r.raw?(i=!1,o+=xp(n,t,r)):o+=r[0];for(var a=1;a<e.length;a++){if(o+=xp(n,t,e[a]),i)o+=r[a]}wp.lastIndex=0;for(var s,l="";null!==(s=wp.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,i=0,o=e.length;o>=4;++i,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:Ip}}var Np="undefined"!=typeof document,Ap=function(e){return e()},kp=!!i.useInsertionEffect&&i.useInsertionEffect,Gp=Np&&kp||Ap,Pp="undefined"!=typeof document,Tp=i.createContext("undefined"!=typeof HTMLElement?tp({key:"css"}):null);Tp.Provider;var Bp=function(e){return r(function(t,n){var i=h(Tp);return e(t,i,n)})};Pp||(Bp=function(e){return function(t){var n=h(Tp);return null===n?(n=tp({key:"css"}),i.createElement(Tp.Provider,{value:n},e(t,n))):e(t,n)}});var Vp,Sp,Ep=i.createContext({}),Rp={}.hasOwnProperty,Mp="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Lp=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;dp(t,n,o);var r=Gp(function(){return function(e,t,n){dp(e,t,n);var i=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o="",r=t;do{var a=e.insert(t===r?"."+i:"",r,e.sheet,!0);up||void 0===a||(o+=a),r=r.next}while(void 0!==r);if(!up&&0!==o.length)return o}}(t,n,o)});if(!Pp&&void 0!==r){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return i.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:r},a.nonce=t.sheet.nonce,a))}return null},Xp=Bp(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[Mp],a=[o],s="";"string"==typeof e.className?s=function(e,t,n){var i="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(i+=n+" ")}),i}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Cp(a,void 0,i.useContext(Ep));s+=t.key+"-"+l.name;var c={};for(var u in e)Rp.call(e,u)&&"css"!==u&&u!==Mp&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),i.createElement(i.Fragment,null,i.createElement(Lp,{cache:t,serialized:l,isStringTag:"string"==typeof r}),i.createElement(r,c))}),Wp=Xp,Fp=function(e,t){var n=arguments;if(null==t||!Rp.call(t,"css"))return i.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=Wp,r[1]=function(e,t){var n={};for(var i in t)Rp.call(t,i)&&(n[i]=t[i]);return n[Mp]=e,n}(e,t);for(var a=2;a<o;a++)r[a]=n[a];return i.createElement.apply(null,r)};function Op(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Cp(t)}Vp=Fp||(Fp={}),Sp||(Sp=Vp.JSX||(Vp.JSX={}));const Dp=Math.min,zp=Math.max,Zp=Math.round,Hp=Math.floor,jp=e=>({x:e,y:e});function Yp(){return"undefined"!=typeof window}function Jp(e){return Qp(e)?(e.nodeName||"").toLowerCase():"#document"}function Up(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function $p(e){var t;return null==(t=(Qp(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Qp(e){return!!Yp()&&(e instanceof Node||e instanceof Up(e).Node)}function _p(e){return!!Yp()&&(e instanceof HTMLElement||e instanceof Up(e).HTMLElement)}function Kp(e){return!(!Yp()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Up(e).ShadowRoot)}const qp=new Set(["inline","contents"]);function eh(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=nh(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!qp.has(o)}const th=new Set(["html","body","#document"]);function nh(e){return Up(e).getComputedStyle(e)}function ih(e){const t=function(e){if("html"===Jp(e))return e;const t=e.assignedSlot||e.parentNode||Kp(e)&&e.host||$p(e);return Kp(t)?t.host:t}(e);return function(e){return th.has(Jp(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:_p(t)&&eh(t)?t:ih(t)}function oh(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=ih(e),r=o===(null==(i=e.ownerDocument)?void 0:i.body),a=Up(o);if(r){const e=rh(a);return t.concat(a,a.visualViewport||[],eh(o)?o:[],e&&n?oh(e):[])}return t.concat(o,oh(o,[],n))}function rh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ah(e){return t=e,Yp()&&(t instanceof Element||t instanceof Up(t).Element)?e:e.contextElement;var t}function sh(e){const t=ah(e);if(!_p(t))return jp(1);const n=t.getBoundingClientRect(),{width:i,height:o,$:r}=function(e){const t=nh(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const o=_p(e),r=o?e.offsetWidth:n,a=o?e.offsetHeight:i,s=Zp(n)!==r||Zp(i)!==a;return s&&(n=r,i=a),{width:n,height:i,$:s}}(t);let a=(r?Zp(n.width):n.width)/i,s=(r?Zp(n.height):n.height)/o;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function lh(e,t,n,i){void 0===t&&(t=!1);const o=e.getBoundingClientRect(),r=ah(e);let a=jp(1);t&&(a=sh(e));const s=jp(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(r){const e=i;let t=Up(r),n=rh(t);for(;n&&i&&e!==t;){const e=sh(n),i=n.getBoundingClientRect(),o=nh(n),r=i.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,a=i.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=r,c+=a,t=Up(n),n=rh(t)}}return function(e){const{x:t,y:n,width:i,height:o}=e;return{width:i,height:o,top:n,left:t,right:t+i,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}function ch(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function uh(e,t,n,i){void 0===i&&(i={});const{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=i,c=ah(e),u=o||r?[...c?oh(c):[],...oh(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),r&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,i=null;const o=$p(e);function r(){var e;clearTimeout(n),null==(e=i)||e.disconnect(),i=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),r();const c=e.getBoundingClientRect(),{left:u,top:d,width:m,height:p}=c;if(s||t(),!m||!p)return;const h={rootMargin:-Hp(d)+"px "+-Hp(o.clientWidth-(u+m))+"px "+-Hp(o.clientHeight-(d+p))+"px "+-Hp(u)+"px",threshold:zp(0,Dp(1,l))||1};let g=!0;function f(t){const i=t[0].intersectionRatio;if(i!==l){if(!g)return a();i?a(!1,i):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==i||ch(c,e.getBoundingClientRect())||a(),g=!1}try{i=new IntersectionObserver(f,{...h,root:o.ownerDocument})}catch(e){i=new IntersectionObserver(f,h)}i.observe(e)}(!0),r}(c,n):null;let m,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[i]=e;i&&i.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let g=l?lh(e):null;return l&&function t(){const i=lh(e);g&&!ch(g,i)&&n();g=i,m=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),r&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(m)}}var dh="undefined"!=typeof document?p:function(){},mh=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],ph=function(){};function hh(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function gh(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];var r=[].concat(i);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(hh(e,a)));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var fh=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===Sd(e)&&null!==e?[e]:[];var t},bh=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,Ld({},Od(e,mh))},vh=function(e,t,n){var i=e.cx,o=e.getStyles,r=e.getClassNames,a=e.className;return{css:o(t,e),className:i(null!=n?n:{},r(t,e),a)}};function yh(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function xh(e){return yh(e)?window.pageYOffset:e.scrollTop}function Ih(e,t){yh(e)?window.scrollTo(0,t):e.scrollTop=t}function wh(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ph,o=xh(e),r=t-o,a=0;!function t(){var s,l=r*((s=(s=a+=10)/n-1)*s*s+1)+o;Ih(e,l),a<n?window.requestAnimationFrame(t):i(e)}()}function Ch(e,t){var n=e.getBoundingClientRect(),i=t.getBoundingClientRect(),o=t.offsetHeight/3;i.bottom+o>n.bottom?Ih(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):i.top-o<n.top&&Ih(e,Math.max(t.offsetTop-o,0))}function Nh(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Ah=!1,kh={get passive(){return Ah=!0}},Gh="undefined"!=typeof window?window:{};Gh.addEventListener&&Gh.removeEventListener&&(Gh.addEventListener("p",ph,kh),Gh.removeEventListener("p",ph,!1));var Ph=Ah;function Th(e){return null!=e}function Bh(e,t,n){return e?t:n}var Vh=["children","innerProps"],Sh=["children","innerProps"];function Eh(e){var t=e.maxHeight,n=e.menuEl,i=e.minHeight,o=e.placement,r=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,i=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&i.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,m=n.getBoundingClientRect(),p=m.bottom,h=m.height,g=m.top,f=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:yh(u=l)?window.innerHeight:u.clientHeight,v=xh(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),I=f-x,w=b-g,C=I+v,N=d-v-g,A=p-b+v+y,k=v+g-x,G=160;switch(o){case"auto":case"bottom":if(w>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!a)return r&&wh(l,A,G),{placement:"bottom",maxHeight:t};if(!a&&N>=i||a&&w>=i)return r&&wh(l,A,G),{placement:"bottom",maxHeight:a?w-y:N-y};if("auto"===o||a){var P=t,T=a?I:C;return T>=i&&(P=Math.min(T-y-s,t)),{placement:"top",maxHeight:P}}if("bottom"===o)return r&&Ih(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(C>=h&&!a)return r&&wh(l,k,G),{placement:"top",maxHeight:t};if(!a&&C>=i||a&&I>=i){var B=t;return(!a&&C>=i||a&&I>=i)&&(B=a?I-x:C-x),r&&wh(l,k,G),{placement:"top",maxHeight:B}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var Rh,Mh=function(e){return"auto"===e?"bottom":e},Lh=m(null),Xh=function(e){var t=e.children,n=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,r=e.menuPosition,a=e.menuShouldScrollIntoView,s=e.theme,u=(h(Lh)||{}).setPortalPlacement,d=l(null),m=Fd(c(i),2),p=m[0],g=m[1],f=Fd(c(null),2),b=f[0],v=f[1],y=s.spacing.controlHeight;return dh(function(){var e=d.current;if(e){var t="fixed"===r,s=Eh({maxHeight:i,menuEl:e,minHeight:n,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});g(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[i,o,r,a,n,u,y]),t({ref:d,placerProps:Ld(Ld({},e),{},{placement:b||Mh(o),maxHeight:p})})},Wh=function(e){var t=e.children,n=e.innerRef,i=e.innerProps;return Fp("div",wc({},vh(e,"menu",{menu:!0}),{ref:n},i),t)},Fh=function(e,t){var n=e.theme,i=n.spacing.baseUnit,o=n.colors;return Ld({textAlign:"center"},t?{}:{color:o.neutral40,padding:"".concat(2*i,"px ").concat(3*i,"px")})},Oh=Fh,Dh=Fh,zh=["size"],Zh=["innerProps","isRtl","size"];var Hh,jh,Yh="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBn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lIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+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)."}},Jh=function(e){var t=e.size,n=Od(e,zh);return Fp("svg",wc({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Yh},n))},Uh=function(e){return Fp(Jh,wc({size:20},e),Fp("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"}))},$h=function(e){return Fp(Jh,wc({size:20},e),Fp("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"}))},Qh=function(e,t){var n=e.isFocused,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return Ld({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*o,":hover":{color:n?r.neutral80:r.neutral40}})},_h=Qh,Kh=Qh,qh=function(){var e=Op.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_"}}}(Rh||(Hh=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],jh||(jh=Hh.slice(0)),Rh=Object.freeze(Object.defineProperties(Hh,{raw:{value:Object.freeze(jh)}})))),eg=function(e){var t=e.delay,n=e.offset;return Fp("span",{css:Op({animation:"".concat(qh," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgIC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G4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},tg=function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.innerRef,r=e.innerProps,a=e.menuIsOpen;return Fp("div",wc({ref:o},vh(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":i,"control--menu-is-open":a}),r,{"aria-disabled":n||void 0}),t)},ng=["data"],ig=function(e){var t=e.children,n=e.cx,i=e.getStyles,o=e.getClassNames,r=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Fp("div",wc({},vh(e,"group",{group:!0}),s),Fp(r,wc({},a,{selectProps:u,theme:c,getStyles:i,getClassNames:o,cx:n}),l),Fp("div",null,t))},og=["innerRef","isDisabled","isHidden","inputClassName"],rg={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},ag={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ld({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},rg)},sg=function(e){return Ld({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},rg)},lg=function(e){var t=e.cx,n=e.value,i=bh(e),o=i.innerRef,r=i.isDisabled,a=i.isHidden,s=i.inputClassName,l=Od(i,og);return Fp("div",wc({},vh(e,"input",{"input-container":!0}),{"data-value":n||""}),Fp("input",wc({className:t({input:!0},s),ref:o,style:sg(a),disabled:r},l)))},cg=function(e){var t=e.children,n=e.innerProps;return Fp("div",n,t)};var ug=function(e){var t=e.children,n=e.components,i=e.data,o=e.innerProps,r=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Fp(l,{data:i,innerProps:Ld(Ld({},vh(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":r})),o),selectProps:s},Fp(c,{data:i,innerProps:Ld({},vh(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Fp(u,{data:i,innerProps:Ld(Ld({},vh(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},dg={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Fp("div",wc({},vh(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Fp(Uh,null))},Control:tg,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Fp("div",wc({},vh(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Fp($h,null))},DownChevron:$h,CrossIcon:Uh,Group:ig,GroupHeading:function(e){var t=bh(e);t.data;var n=Od(t,ng);return Fp("div",wc({},vh(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Fp("div",wc({},vh(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Fp("span",wc({},t,vh(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:lg,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,o=void 0===i?4:i,r=Od(e,Zh);return Fp("div",wc({},vh(Ld(Ld({},r),{},{innerProps:t,isRtl:n,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Fp(eg,{delay:0,offset:n}),Fp(eg,{delay:160,offset:!0}),Fp(eg,{delay:320,offset:!n}))},Menu:Wh,MenuList:function(e){var t=e.children,n=e.innerProps,i=e.innerRef,o=e.isMulti;return Fp("div",wc({},vh(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,i=e.controlElement,o=e.innerProps,r=e.menuPlacement,s=e.menuPosition,u=l(null),m=l(null),p=Fd(c(Mh(r)),2),h=p[0],g=p[1],f=a(function(){return{setPortalPlacement:g}},[]),b=Fd(c(null),2),v=b[0],y=b[1],x=d(function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===s?0:window.pageYOffset,n=e[h]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[i,s,h,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);dh(function(){x()},[x]);var I=d(function(){"function"==typeof m.current&&(m.current(),m.current=null),i&&u.current&&(m.current=uh(i,u.current,x,{elementResize:"ResizeObserver"in window}))},[i,x]);dh(function(){I()},[I]);var w=d(function(e){u.current=e,I()},[I]);if(!t&&"fixed"!==s||!v)return null;var C=Fp("div",wc({ref:w},vh(Ld(Ld({},e),{},{offset:v.offset,position:s,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),n);return Fp(Lh.Provider,{value:f},t?R(C,t):C)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,o=Od(e,Sh);return Fp("div",wc({},vh(Ld(Ld({},o),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,i=e.innerProps,o=Od(e,Vh);return Fp("div",wc({},vh(Ld(Ld({},o),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:ug,MultiValueContainer:cg,MultiValueLabel:cg,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Fp("div",wc({role:"button"},n),t||Fp(Uh,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.innerRef,a=e.innerProps;return Fp("div",wc({},vh(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":i,"option--is-selected":o}),{ref:r,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Fp("div",wc({},vh(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,i=e.isDisabled,o=e.isRtl;return Fp("div",wc({},vh(e,"container",{"--is-disabled":i,"--is-rtl":o}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,i=e.innerProps;return Fp("div",wc({},vh(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),i),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,i=e.isMulti,o=e.hasValue;return Fp("div",wc({},vh(e,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),n),t)}},mg=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function pg(e,t){return e===t||!(!mg(e)||!mg(t))}function hg(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!pg(e[n],t[n]))return!1;return!0}for(var gg="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)."}},fg=function(e){return Fp("span",wc({css:gg},e))},bg={guidance:function(e){var t=e.isSearchable,n=e.isMulti,i=e.tabSelectsValue,o=e.context,r=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return r?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,i=void 0===n?"":n,o=e.labels,r=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(i,r?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,i=e.options,o=e.label,r=void 0===o?"":o,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(r," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",m="".concat(l?" selected":"").concat(d);return"".concat(r).concat(m,", ").concat(u(i,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},vg=function(e){var t=e.ariaSelection,n=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,r=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,m=l.getOptionLabel,p=l.inputValue,h=l.isMulti,g=l.isOptionDisabled,f=l.isSearchable,b=l.menuIsOpen,v=l.options,y=l.screenReaderStatus,I=l.tabSelectsValue,w=l.isLoading,C=l["aria-label"],N=l["aria-live"],A=a(function(){return Ld(Ld({},bg),d||{})},[d]),k=a(function(){var e,n="";if(t&&A.onChange){var i=t.option,o=t.options,r=t.removedValue,a=t.removedValues,l=t.value,c=r||i||(e=l,Array.isArray(e)?null:e),u=c?m(c):"",d=o||a||void 0,p=d?d.map(m):[],h=Ld({isDisabled:c&&g(c,s),label:u,labels:p},t);n=A.onChange(h)}return n},[t,A,g,s,m]),G=a(function(){var e="",t=n||i,r=!!(n&&s&&s.includes(n));if(t&&A.onFocus){var a={focused:t,label:m(t),isDisabled:g(t,s),isSelected:r,options:o,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=A.onFocus(a)}return e},[n,i,m,g,A,o,s,u]),P=a(function(){var e="";if(b&&v.length&&!w&&A.onFilter){var t=y({count:o.length});e=A.onFilter({inputValue:p,resultsMessage:t})}return e},[o,p,b,A,v,y,w]),T="initial-input-focus"===(null==t?void 0:t.action),B=a(function(){var e="";if(A.guidance){var t=i?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:n&&g(n,s),isMulti:h,isSearchable:f,tabSelectsValue:I,isInitialFocus:T})}return e},[C,n,i,h,g,f,b,A,s,I,T]),V=Fp(x,null,Fp("span",{id:"aria-selection"},k),Fp("span",{id:"aria-focused"},G),Fp("span",{id:"aria-results"},P),Fp("span",{id:"aria-guidance"},B));return Fp(x,null,Fp(fg,{id:c},T&&V),Fp(fg,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},r&&!T&&V))},yg=[{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źẑżžẓẕƶȥɀⱬꝣ"}],xg=new RegExp("["+yg.map(function(e){return e.letters}).join("")+"]","g"),Ig={},wg=0;wg<yg.length;wg++)for(var Cg=yg[wg],Ng=0;Ng<Cg.letters.length;Ng++)Ig[Cg.letters[Ng]]=Cg.base;var Ag=function(e){return e.replace(xg,function(e){return Ig[e]})},kg=function(e,t){void 0===t&&(t=hg);var n=null;function i(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var r=e.apply(this,i);return n={lastResult:r,lastArgs:i,lastThis:this},r}return i.clear=function(){n=null},i}(Ag),Gg=function(e){return e.replace(/^\s+|\s+$/g,"")},Pg=function(e){return"".concat(e.label," ").concat(e.value)},Tg=function(e){return function(t,n){if(t.data.__isNew__)return!0;var i=Ld({ignoreCase:!0,ignoreAccents:!0,stringify:Pg,trim:!0,matchFrom:"any"},e),o=i.ignoreCase,r=i.ignoreAccents,a=i.stringify,s=i.trim,l=i.matchFrom,c=s?Gg(n):n,u=s?Gg(a(t)):a(t);return o&&(c=c.toLowerCase(),u=u.toLowerCase()),r&&(c=kg(c),u=Ag(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},Bg=["innerRef"];function Vg(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var o=Object.entries(e).filter(function(e){var t=Fd(e,1)[0];return!n.includes(t)});return o.reduce(function(e,t){var n=Fd(t,2),i=n[0],o=n[1];return e[i]=o,e},{})}(Od(e,Bg),"onExited","in","enter","exit","appear");return Fp("input",wc({ref:t},n,{css:Op({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmU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6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Sg=["boxSizing","height","overflow","paddingRight","position"],Eg={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Rg(e){e.cancelable&&e.preventDefault()}function Mg(e){e.stopPropagation()}function Lg(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Xg(){return"ontouchstart"in window||navigator.maxTouchPoints}var Wg=!("undefined"==typeof window||!window.document||!window.document.createElement),Fg=0,Og={capture:!1,passive:!1};var Dg=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},zg="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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J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XJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Zg(e){var t=e.children,n=e.lockEnabled,i=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,r=e.onTopLeave,a=l(!1),s=l(!1),c=l(0),m=l(null),p=d(function(e,t){if(null!==m.current){var l=m.current,c=l.scrollTop,u=l.scrollHeight,d=l.clientHeight,p=m.current,h=t>0,g=u-d-c,f=!1;g>t&&a.current&&(i&&i(e),a.current=!1),h&&s.current&&(r&&r(e),s.current=!1),h&&t>g?(n&&!a.current&&n(e),p.scrollTop=u,f=!0,a.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),p.scrollTop=0,f=!0,s.current=!0),f&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,i,o,r]),h=d(function(e){p(e,e.deltaY)},[p]),g=d(function(e){c.current=e.changedTouches[0].clientY},[]),f=d(function(e){var t=c.current-e.changedTouches[0].clientY;p(e,t)},[p]),b=d(function(e){if(e){var t=!!Ph&&{passive:!1};e.addEventListener("wheel",h,t),e.addEventListener("touchstart",g,t),e.addEventListener("touchmove",f,t)}},[f,g,h]),v=d(function(e){e&&(e.removeEventListener("wheel",h,!1),e.removeEventListener("touchstart",g,!1),e.removeEventListener("touchmove",f,!1))},[f,g,h]);return u(function(){if(t){var e=m.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){m.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),r=function(e){var t=e.isEnabled,n=e.accountForScrollbars,i=void 0===n||n,o=l({}),r=l(null),a=d(function(e){if(Wg){var t=document.body,n=t&&t.style;if(i&&Sg.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&Fg<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(Eg).forEach(function(e){var t=Eg[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&Xg()&&(t.addEventListener("touchmove",Rg,Og),e&&(e.addEventListener("touchstart",Lg,Og),e.addEventListener("touchmove",Mg,Og))),Fg+=1}},[i]),s=d(function(e){if(Wg){var t=document.body,n=t&&t.style;Fg=Math.max(Fg-1,0),i&&Fg<1&&Sg.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&Xg()&&(t.removeEventListener("touchmove",Rg,Og),e&&(e.removeEventListener("touchstart",Lg,Og),e.removeEventListener("touchmove",Mg,Og)))}},[i]);return u(function(){if(t){var e=r.current;return a(e),function(){s(e)}}},[t,a,s]),function(e){r.current=e}}({isEnabled:n});return Fp(x,null,n&&Fp("div",{onClick:Dg,css:zg}),t(function(e){o(e),r(e)}))}var Hg="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},jg=function(e){var t=e.name,n=e.onFocus;return Fp("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Hg,value:"",onChange:function(){}})};function Yg(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 Jg(){return Yg(/^Mac/i)}function Ug(){return Yg(/^iPhone/i)||Yg(/^iPad/i)||Jg()&&navigator.maxTouchPoints>1}var $g={clearIndicator:Kh,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.theme,r=o.colors,a=o.borderRadius;return Ld({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?r.neutral5:r.neutral0,borderColor:n?r.neutral10:i?r.primary:r.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(r.primary):void 0,"&:hover":{borderColor:i?r.primary:r.neutral30}})},dropdownIndicator:_h,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,i=n.colors,o=n.spacing;return Ld({label:"group",cursor:"default",display:"block"},t?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*o.baseUnit,paddingRight:3*o.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,i=e.theme,o=i.spacing.baseUnit,r=i.colors;return Ld({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?r.neutral10:r.neutral20,marginBottom:2*o,marginTop:2*o})},input:function(e,t){var n=e.isDisabled,i=e.value,o=e.theme,r=o.spacing,a=o.colors;return Ld(Ld({visibility:n?"hidden":"visible",transform:i?"translateZ(0)":""},ag),t?{}:{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,i=e.size,o=e.theme,r=o.colors,a=o.spacing.baseUnit;return Ld({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?r.neutral60:r.neutral20,padding:2*a})},loadingMessage:Dh,menu:function(e,t){var n,i=e.placement,o=e.theme,r=o.borderRadius,a=o.spacing,s=o.colors;return Ld((Rd(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(i),"100%"),Rd(n,"position","absolute"),Rd(n,"width","100%"),Rd(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:r,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,i=e.theme.spacing.baseUnit;return Ld({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:i,paddingTop:i})},menuPortal:function(e){var t=e.rect,n=e.offset,i=e.position;return{left:t.left,position:i,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,i=n.spacing,o=n.borderRadius,r=n.colors;return Ld({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:r.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,i=n.borderRadius,o=n.colors,r=e.cropWithEllipsis;return Ld({overflow:"hidden",textOverflow:r||void 0===r?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,i=n.spacing,o=n.borderRadius,r=n.colors,a=e.isFocused;return Ld({alignItems:"center",display:"flex"},t?{}:{borderRadius:o/2,backgroundColor:a?r.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:r.dangerLight,color:r.danger}})},noOptionsMessage:Oh,option:function(e,t){var n=e.isDisabled,i=e.isFocused,o=e.isSelected,r=e.theme,a=r.spacing,s=r.colors;return Ld({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:o?s.primary:i?s.primary25:"transparent",color:n?s.neutral20:o?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:o?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,i=n.spacing,o=n.colors;return Ld({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,i=e.theme,o=i.spacing,r=i.colors;return Ld({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?r.neutral40:r.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,i=e.isMulti,o=e.hasValue,r=e.selectProps.controlShouldRenderValue;return Ld({alignItems:"center",display:i&&o&&r?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Qg={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}},_g={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Nh(),captureMenuScroll:!Nh(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Tg(),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,i){return{type:"option",data:t,isDisabled:sf(e,t,n),isSelected:lf(e,t,n),label:rf(e,t),value:af(e,t),index:i}}function qg(e,t){return e.options.map(function(n,i){if("options"in n){var o=n.options.map(function(n,i){return Kg(e,n,t,i)}).filter(function(t){return nf(e,t)});return o.length>0?{type:"group",data:n,options:o,index:i}:void 0}var r=Kg(e,n,t,i);return nf(e,r)?r:void 0}).filter(Th)}function ef(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Jd(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function tf(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Jd(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 nf(e,t){var n=e.inputValue,i=void 0===n?"":n,o=t.data,r=t.isSelected,a=t.label,s=t.value;return(!uf(e)||!r)&&cf(e,{label:a,value:s,data:o},i)}var of=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},rf=function(e,t){return e.getOptionLabel(t)},af=function(e,t){return e.getOptionValue(t)};function sf(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function lf(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var i=af(e,t);return n.some(function(t){return af(e,t)===i})}function cf(e,t,n){return!e.filterOption||e.filterOption(t,n)}var uf=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},df=1,mf=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Zd(e,t)}(t,w);var e=function(e){var t=jd();return function(){var n,i=Hd(e);if(t){var o=Hd(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Yd(this,n)}}(t);function t(n){var i;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(i=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(e){i.controlRef=e},i.focusedOptionRef=null,i.getFocusedOptionRef=function(e){i.focusedOptionRef=e},i.menuListRef=null,i.getMenuListRef=function(e){i.menuListRef=e},i.inputRef=null,i.getInputRef=function(e){i.inputRef=e},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(e,t){var n=i.props,o=n.onChange,r=n.name;t.name=r,i.ariaOnChange(e,t),o(e,t)},i.setValue=function(e,t,n){var o=i.props,r=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:s}),r&&(i.setState({inputIsHiddenAfterUpdate:!a}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(e,{action:t,option:n})},i.selectOption=function(e){var t=i.props,n=t.blurInputOnSelect,o=t.isMulti,r=t.name,a=i.state.selectValue,s=o&&i.isOptionSelected(e,a),l=i.isOptionDisabled(e,a);if(s){var c=i.getOptionValue(e);i.setValue(a.filter(function(e){return i.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void i.ariaOnChange(e,{action:"select-option",option:e,name:r});o?i.setValue([].concat(Jd(a),[e]),"select-option",e):i.setValue(e,"select-option")}n&&i.blurInput()},i.removeValue=function(e){var t=i.props.isMulti,n=i.state.selectValue,o=i.getOptionValue(e),r=n.filter(function(e){return i.getOptionValue(e)!==o}),a=Bh(t,r,r[0]||null);i.onChange(a,{action:"remove-value",removedValue:e}),i.focusInput()},i.clearValue=function(){var e=i.state.selectValue;i.onChange(Bh(i.props.isMulti,[],null),{action:"clear",removedValues:e})},i.popValue=function(){var e=i.props.isMulti,t=i.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),r=Bh(e,o,o[0]||null);n&&i.onChange(r,{action:"pop-value",removedValue:n})},i.getFocusedOptionId=function(e){return of(i.state.focusableOptionsWithIds,e)},i.getFocusableOptionsWithIds=function(){return tf(qg(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return gh.apply(void 0,[i.props.classNamePrefix].concat(t))},i.getOptionLabel=function(e){return rf(i.props,e)},i.getOptionValue=function(e){return af(i.props,e)},i.getStyles=function(e,t){var n=i.props.unstyled,o=$g[e](t,n);o.boxSizing="border-box";var r=i.props.styles[e];return r?r(o,t):o},i.getClassNames=function(e,t){var n,o;return null===(n=(o=i.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},i.getElementId=function(e){return"".concat(i.state.instancePrefix,"-").concat(e)},i.getComponents=function(){return e=i.props,Ld(Ld({},dg),e.components);var e},i.buildCategorizedOptions=function(){return qg(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return ef(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(e,t){i.setState({ariaSelection:Ld({value:e},t)})},i.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(e){i.blockOptionHover=!1},i.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&i.onMenuClose():t&&i.openMenu("first"):(t&&(i.openAfterFocus=!0),i.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},i.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||i.props.isDisabled)){var t=i.props,n=t.isMulti,o=t.menuIsOpen;i.focusInput(),o?(i.setState({inputIsHiddenAfterUpdate:!n}),i.onMenuClose()):i.openMenu("first"),e.preventDefault()}},i.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(i.clearValue(),e.preventDefault(),i.openAfterFocus=!1,"touchend"===e.type?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(e){"boolean"==typeof i.props.closeMenuOnScroll?e.target instanceof HTMLElement&&yh(e.target)&&i.props.onMenuClose():"function"==typeof i.props.closeMenuOnScroll&&i.props.closeMenuOnScroll(e)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(i.initialTouchX=n.clientX,i.initialTouchY=n.clientY,i.userIsDragging=!1)},i.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-i.initialTouchX),r=Math.abs(n.clientY-i.initialTouchY);i.userIsDragging=o>5||r>5}},i.onTouchEnd=function(e){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(e.target)&&i.menuListRef&&!i.menuListRef.contains(e.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(e){i.userIsDragging||i.onControlMouseDown(e)},i.onClearIndicatorTouchEnd=function(e){i.userIsDragging||i.onClearIndicatorMouseDown(e)},i.onDropdownIndicatorTouchEnd=function(e){i.userIsDragging||i.onDropdownIndicatorMouseDown(e)},i.handleInputChange=function(e){var t=i.props.inputValue,n=e.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(n,{action:"input-change",prevInputValue:t}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(e){i.props.onFocus&&i.props.onFocus(e),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(e){var t=i.props.inputValue;i.menuListRef&&i.menuListRef.contains(document.activeElement)?i.inputRef.focus():(i.props.onBlur&&i.props.onBlur(e),i.onInputChange("",{action:"input-blur",prevInputValue:t}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1}))},i.onOptionHover=function(e){if(!i.blockOptionHover&&i.state.focusedOption!==e){var t=i.getFocusableOptions().indexOf(e);i.setState({focusedOption:e,focusedOptionId:t>-1?i.getFocusedOptionId(e):null})}},i.shouldHideSelectedOptions=function(){return uf(i.props)},i.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),i.focus()},i.onKeyDown=function(e){var t=i.props,n=t.isMulti,o=t.backspaceRemovesValue,r=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,m=t.openMenuOnFocus,p=i.state,h=p.focusedOption,g=p.focusedValue,f=p.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(i.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;i.focusValue("previous");break;case"ArrowRight":if(!n||a)return;i.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(g)i.removeValue(g);else{if(!o)return;n?i.popValue():s&&i.clearValue()}break;case"Tab":if(i.isComposing)return;if(e.shiftKey||!c||!d||!h||m&&i.isOptionSelected(h,f))return;i.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(i.isComposing)return;i.selectOption(h);break}return;case"Escape":c?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:a}),i.onMenuClose()):s&&r&&i.clearValue();break;case" ":if(a)return;if(!c){i.openMenu("first");break}if(!h)return;i.selectOption(h);break;case"ArrowUp":c?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":c?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!c)return;i.focusOption("pageup");break;case"PageDown":if(!c)return;i.focusOption("pagedown");break;case"Home":if(!c)return;i.focusOption("first");break;case"End":if(!c)return;i.focusOption("last");break;default:return}e.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++df),i.state.selectValue=fh(n.value),n.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),r=i.buildFocusableOptions(),a=r.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=r[a],i.state.focusedOptionId=of(o,r[a])}return i}return function(e,t,n){t&&zd(e.prototype,t),n&&zd(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ch(this.menuListRef,this.focusedOptionRef),(Jg()||Ug())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,i=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&i&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ch(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,i=n.selectValue,o=n.isFocused,r=this.buildFocusableOptions(),a="first"===e?0:r.length-1;if(!this.props.isMulti){var s=r.indexOf(i[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:r[a],focusedOptionId:this.getFocusedOptionId(r[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,i=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(i);i||(o=-1);var r=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===o?0:-1===o?r:o-1;break;case"next":o>-1&&o<r&&(a=o+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,i=this.getFocusableOptions();if(i.length){var o=0,r=i.indexOf(n);n||(r=-1),"up"===e?o=r>0?r-1:i.length-1:"down"===e?o=(r+1)%i.length:"pageup"===e?(o=r-t)<0&&(o=0):"pagedown"===e?(o=r+t)>i.length-1&&(o=i.length-1):"last"===e&&(o=i.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:i[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(i[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Qg):Ld(Ld({},Qg),this.props.theme):Qg}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,i=this.getClassNames,o=this.getValue,r=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:i,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:r,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return sf(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return lf(this.props,e,t)}},{key:"filterOption",value:function(e,t){return cf(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:i})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,m=d.inputIsHidden,p=d.ariaSelection,h=this.commonProps,g=o||this.getElementId("input"),f=Ld(Ld(Ld({"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==p?void 0:p.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?i.createElement(u,wc({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:g,innerRef:this.getInputRef,isDisabled:t,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:r},f)):i.createElement(Vg,wc({id:g,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:ph,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},f))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,m=u.isDisabled,p=u.isMulti,h=u.inputValue,g=u.placeholder,f=this.state,b=f.selectValue,v=f.focusedValue,y=f.isFocused;if(!this.hasValue()||!d)return h?null:i.createElement(l,wc({},c,{key:"placeholder",isDisabled:m,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),g);if(p)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return i.createElement(n,wc({},c,{components:{Container:o,Label:r,Remove:a},isFocused:l,isDisabled:m,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return i.createElement(s,wc({},c,{data:x,isDisabled:m}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,wc({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,a=this.state.isFocused;if(!e||!r)return null;return i.createElement(e,wc({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,a=this.state.isFocused;return i.createElement(n,wc({},o,{isDisabled:r,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return i.createElement(e,wc({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,m=this.state.focusedOption,p=this.props,h=p.captureMenuScroll,g=p.inputValue,f=p.isLoading,b=p.loadingMessage,v=p.minMenuHeight,y=p.maxMenuHeight,x=p.menuIsOpen,I=p.menuPlacement,w=p.menuPosition,C=p.menuPortalTarget,N=p.menuShouldBlockScroll,A=p.menuShouldScrollIntoView,k=p.noOptionsMessage,G=p.onMenuScrollToTop,P=p.onMenuScrollToBottom;if(!x)return null;var T,B=function(t,n){var o=t.type,r=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,p=m===r,h=a?void 0:function(){return e.onOptionHover(r)},g=a?void 0:function(){return e.selectOption(r)},f="".concat(e.getElementId("option"),"-").concat(n),b={id:f,onClick:g,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return i.createElement(u,wc({},d,{innerProps:b,data:r,isDisabled:a,isSelected:s,key:f,label:l,type:o,value:c,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return i.createElement(n,wc({},d,{key:l,data:r,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return B(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return B(t,"".concat(t.index))});else if(f){var V=b({inputValue:g});if(null===V)return null;T=i.createElement(l,d,V)}else{var S=k({inputValue:g});if(null===S)return null;T=i.createElement(c,d,S)}var E={minMenuHeight:v,maxMenuHeight:y,menuPlacement:I,menuPosition:w,menuShouldScrollIntoView:A},R=i.createElement(Xh,wc({},d,E),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return i.createElement(r,wc({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:f,placement:s}),i.createElement(Zg,{captureEnabled:h,onTopArrive:G,onBottomArrive:P,lockEnabled:N},function(t){return i.createElement(a,wc({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:f,maxHeight:l,focusedOption:m}),T)}))});return C||"fixed"===w?i.createElement(s,wc({},d,{appendTo:C,controlElement:this.controlRef,menuPlacement:I,menuPosition:w}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return i.createElement(jg,{name:a,onFocus:this.onValueInputFocus});if(a&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return i.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return i.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):i.createElement("input",{name:a,type:"hidden",value:""});return i.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return i.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return i.createElement(vg,wc({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,m=this.commonProps=this.getCommonProps();return i.createElement(o,wc({},m,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),i.createElement(t,wc({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),i.createElement(r,wc({},m,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),i.createElement(n,wc({},m,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,i=t.clearFocusValueOnUpdate,o=t.inputIsHiddenAfterUpdate,r=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,m=e.inputValue,p=e.isMulti,h=fh(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||m!==n.inputValue)){var f=d?function(e,t){return ef(qg(e,t))}(e,h):[],b=d?tf(qg(e,h),"".concat(l,"-option")):[],v=i?function(e,t){var n=e.focusedValue,i=e.selectValue.indexOf(n);if(i>-1){if(t.indexOf(n)>-1)return n;if(i<t.length)return t[i]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,f);g={selectValue:h,focusedOption:y,focusedOptionId:of(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=o&&e!==n?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},I=r,w=a&&s;return a&&!w&&(I={value:Bh(p,h,h[0]||null),options:h,action:"initial-input-focus"},w=!s),"initial-input-focus"===(null==r?void 0:r.action)&&(I=null),Ld(Ld(Ld({},g),x),{},{prevProps:e,ariaSelection:I,prevWasFocused:w})}}]),t}();mf.defaultProps=_g;var pf=r(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,i=e.defaultMenuIsOpen,o=void 0!==i&&i,r=e.defaultValue,a=void 0===r?null:r,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,m=e.onInputChange,p=e.onMenuClose,h=e.onMenuOpen,g=e.value,f=Od(e,Dd),b=Fd(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=Fd(c(void 0!==l?l:o),2),I=x[0],w=x[1],C=Fd(c(void 0!==g?g:a),2),N=C[0],A=C[1],k=d(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),G=d(function(e,t){var n;"function"==typeof m&&(n=m(e,t)),y(void 0!==n?n:e)},[m]),P=d(function(){"function"==typeof h&&h(),w(!0)},[h]),T=d(function(){"function"==typeof p&&p(),w(!1)},[p]),B=void 0!==s?s:v,V=void 0!==l?l:I,S=void 0!==g?g:N;return Ld(Ld({},f),{},{inputValue:B,menuIsOpen:V,onChange:k,onInputChange:G,onMenuClose:T,onMenuOpen:P,value:S})}(e);return i.createElement(mf,wc({ref:t},n))}),hf=pf;const gf=o.memo(({options:n,className:i,controlClassName:o,value:r,isCustomStyle:s=!1,placeholder:l,required:c,onChange:u,filterOptions:d,hasError:m,error:p,menuClassName:h,helperText:g,label:f,labelClassName:b,size:v="md",variant:y="default","data-cy":x,"data-testid":I,...w})=>{const C=a(()=>Tg(d),[d]),N=a(()=>({control:({isFocused:e})=>_e("sm"===v?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!m,"border-input-border-critical shadow-none":m},o),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(m?"text-icon-critical":""),singleValue:()=>_e(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>_e("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:i})=>{var o;return _e("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(o=n[n.length-1])||void 0===o?void 0:o.label)!==i?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,o,h,n,m,v]);return"unstyled"===y?e(hf,{options:n,value:r,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:_e("rounded-xl",i),classNames:N,"data-cy":x,"data-testid":I,...w}):t("div",{className:"w-full",children:[f&&e("label",{className:_e("mb-1 block text-sm font-medium text-text-secondary",b),children:f}),e(hf,{options:n,value:r,placeholder:c?`${l}*`:l,onChange:u,filterOption:C,className:_e("rounded-xl",i),classNames:N,"data-cy":x,"data-testid":I,...w}),p&&e(at,{className:"footnote mt-1 text-text-critical",children:p}),!p&&g&&e(at,{className:"footnote mt-1 text-text-info",children:g})]})});function ff({paginatedArticles:n,totalArticles:i,currentPage:o,totalPages:r,selectedCategory:a,categoryOptions:s}){const l=M(),c=L(),u=X();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(at,{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(at,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(at,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(at,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",i," articles"]})]}),e(gf,{options:s,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var i,o,r,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Gt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(at,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e(Vd,{currentPage:o,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})}function bf({title:n="recent articles",paginatedArticles:i,totalArticles:o,currentPage:r,totalPages:a,selectedCategory:s,categoryOptions:l,onCategoryChange:c,onPageChange:u,imageComponent:d}){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(at,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),l.length>0&&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(at,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(at,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(at,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(gf,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),i.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:i.map((t,n)=>{var i,o,r,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Gt,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:d,index:n},t.slug)})}):e(at,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e(Vd,{currentPage:r,totalPages:a,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})}gf.displayName="Select";const vf=n=>{const{links:i=[],textColor:o="dark",maxWidth:r=!0,floatOnMobile:a=!1}=n,s=a?"dark"===o?"text-text":"text-white":"dark"===o?"text-white xl:text-text":"text-text xl:text-white";return i.length?e("nav",{"aria-label":"Breadcrumb",className:(r?`${!a&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 px-7 pb-0 pt-8 md:px-14 ${a?"absolute":"relative xl:absolute"} xl:mx-auto xl:flex-wrap xl:px-3`,children:i.map((n,o)=>{const{image:r,...a}=n,l=(null==r?void 0:r.url)?r.url.startsWith("//")?`https:${r.url}`:r.url:"",c=o===i.length-1;return t("li",c?{className:"flex min-w-0 items-center",children:[l&&e("img",{src:l,alt:(null==r?void 0:r.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(at,{as:"span",className:`body3 mr-2 break-words ${s}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[l&&e("img",{src:l,alt:(null==r?void 0:r.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(Nt,{...a,linkClassName:`label3 mr-2 whitespace-nowrap ${s}`,linkVariant:"unstyled"}),e(rt,{name:"chevron_right",className:`${s} `})]},o)})})}):null},yf=n=>{const{anchorId:i="SearchBlock",title:o,subTitle:r,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:m,color:p,onSubmit:h}=n,[g,f]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[m]} ${"dark"==p?"text-text":"text-white"}`,id:i,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(at,{as:a?"h1":"h2",className:_e("heading2 md:heading1"),children:o}),r&&e(at,{as:"div",className:_e("subheading2 mt-2 md:subheading1"),children:r})]}),s?e(at,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:g})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(bt,{type:"submit",className:"ml-2 inline-flex",children:e(rt,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(mn,{value:g,onChange:e=>f(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},xf={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},If=n=>{const{title:i,variant:o="yellow",cta:r,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=xf[null==o?void 0:o.toLowerCase()]||xf.yellow;if(!s)return null;const u=(null==r?void 0:r.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==r?void 0:r.buttonVariant,showButtonAs:"solid",cta:r});return t("div",{style:{top:`${a}px`},className:_e(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 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(at,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:i}),d]})};function wf(i){var o,r,a;const[s,l]=c(0),[d,m]=c(""),{title:p,subTitle:h,tabs:g,tabsContent:f,navigationType:b=!0,mobileSidebarTabType:v=!0}=i;u(()=>{if("undefined"!=typeof window){m(window.location.hash);const e=()=>{m(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),u(()=>{var e;null===(e=null==g?void 0:g.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===d)return l(t),!0})},[g,d]);const y=(e,t)=>{l(e),"undefined"!=typeof window&&d&&(window.location.hash=t||"")},x=t(n,{children:[e("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e("div",{className:"flex w-max gap-10",children:null===(o=null==g?void 0:g.items)||void 0===o?void 0:o.map((t,n)=>e(Nt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:_e("py-2 whitespace-nowrap",n===s?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},n))})}),null==f?void 0:f.map((t,n)=>e("div",{children:e(Ic,{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===(r=null==g?void 0:g.items)||void 0===r?void 0:r.map((n,i)=>t("div",{className:"py-5",children:[t(Nt,{showButtonAs:"unstyled",onClick:()=>y(i,null==n?void 0:n.anchorId),buttonClassName:_e("w-full flex justify-between items-center px-4 py-5",i===s?"bg-bg-surface-active":""),children:[e("span",{className:"heading6",children:n.tabName}),e(rt,{name:i===s?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e(vt,{open:i===s,children:e("div",{className:_e("px-4 py-4"),children:null==f?void 0:f[i]})})]},i))}),w=t("div",{className:"flex px-5 py-20",children:[e("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:null===(a=null==g?void 0:g.items)||void 0===a?void 0:a.map((t,n)=>e(Nt,{showButtonAs:"unstyled",onClick:()=>y(n,null==t?void 0:t.anchorId),buttonClassName:_e("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",n===s?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},n))})}),e("div",{className:"grow",children:null==f?void 0:f.map((t,n)=>e("div",{children:e(Ic,{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:[p||h?t("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[p?e(at,{className:"heading2 px-5 md:heading1 md:text-center",children:p}):null,h?e(at,{className:"subheading3 px-5 md:subheading1 md:text-center",children:h}):null]}):null,e("div",{className:"md:hidden",children:v?x:I}),e("div",{className:"hidden md:block",children:b?x:w})]})}function Cf(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Nf(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),i=Math.floor(t%3600/60),o=t%60;return`${String(n).padStart(2,"0")}H : ${String(i).padStart(2,"0")}M : ${String(o).padStart(2,"0")}`}const Af=({ctaSuffixText:n,backgroundColor:i,iconName:o,boxShadow:r,ctaButtonLabel:s,ctaButtonLink:m,ctaButtonTarget:p,anchorId:h="anchored-banner",enableCountdownTimer:g,countdownStartDateTime:f,countdownEndDateTime:b})=>{const v=i?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[i]:"bg-bg-fill-brand-accent",y="yellow"===i||"white"===i||!i?"text-text-primary":"text-white",x=a(()=>Cf(b),[b]),I=a(()=>Cf(f),[f]),w=a(()=>!(!g||void 0===x)&&((!f||void 0!==I)&&(!(void 0!==I&&I>=x)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:f,countdownEndDateTime:b}),!1))),[g,x,I,f,b]),[C,N]=c(()=>Date.now()),A=l(null),k=d(()=>{null!==A.current&&(window.clearInterval(A.current),A.current=null)},[]);u(()=>{if(w)return A.current=window.setInterval(()=>{const e=Date.now();void 0!==x&&e>=x&&k(),N(e)},1e3),k;k()},[w,x,k]);const G=a(()=>{if(!w||void 0===x)return{shouldShow:!1,text:""};if(void 0!==I&&C<I||C>=x)return{shouldShow:!1,text:""};const e=(x-C)/1e3;return{shouldShow:e>0,text:Nf(e)}},[w,x,I,C]);return e("section",{id:h,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 ${v} ${r||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(B,{href:m||"#",target:p||"_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:`${y} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[o&&e(rt,{name:o,size:24,fill:1,className:`${y} align-text-bottom`}),G.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:G.text}),G.shouldShow?" ":null,s&&s," ",n&&e("span",{className:"ml-0.5",children:n})]})})})})})};function kf({content:n}){let i=3;const[o,r]=c(!1),[a,s]=c(!1),d=l(null);u(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=N.get(e);return t?C.decode(t):null}("cookieBannerClosed");r("true"!==e)},[]),u(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),u(()=>{var e,t,n,i;return o?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(i=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===i||i.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[o]),u(()=>{if(!o)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let i;const r=()=>{clearTimeout(i),i=setTimeout(e,150)};return window.addEventListener("resize",r),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(i),window.removeEventListener("resize",r),document.documentElement.style.removeProperty("--cookie-banner-height")}},[o,a]);a&&(i=14);return o?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*i}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Nt,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);r(!1),((e,t,n)=>{if("undefined"==typeof window)return;const i=JSON.stringify(t),o=C.encode(i);N.set(e,o,n)})("cookieBannerClosed",!0,{expires:e})},children:e(rt,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const Gf=n=>{const{anchorId:i="email-input",title:o,subTitle:r,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaText:l="Sign me up",caption:u,backgroundColor:d="green",successFeedback:m,onSubmit:p}=n||{},h={navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand",yellow:"bg-bg-fill-brand-accent",white:"bg-white"},g=h[d]||h.green,f=["green","blue","navy"].includes(d)?"text-white":"text-text",[b,v]=c(""),[y,x]=c(!1),[I,w]=c("");return t("section",{id:i,className:"w-full px-4 py-8 md:px-0",children:[e("div",{className:`mx-auto max-w-[1200px] overflow-hidden rounded-[32px] md:rounded-[20px] ${g} flex flex-col items-start p-8 md:p-16`,children:t("div",{className:"lg:w-[548px]",children:[o&&e("h1",{className:`text-heading1 font-black ${f}`,children:o}),r&&e("h2",{className:`text-heading1 font-black ${f}`,children:r}),a&&e("p",{className:`mb-10 text-subheading1 opacity-95 ${f}`,children:a}),t("div",{className:"max-w-2xl flex w-full items-center overflow-hidden rounded-3xl border border-transparent bg-white p-1.5 shadow-xl transition-all md:p-2",children:[e("input",{type:"email",placeholder:s,value:b,onChange:e=>{v(e.target.value),I&&w(""),y&&x(!1)},className:"w-full flex-grow bg-transparent px-6 py-3 text-lg font-medium text-text outline-none placeholder:text-input-icon-placeholder md:py-4"}),e(Nt,{buttonLabel:l,buttonVariant:"primary_inverse",onClick:()=>{(e=>/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))(b)?(p({email:b}),v(""),x(!0),w("")):w("Please enter a valid email address.")}})]}),I&&e("p",{className:"mt-2 text-label4 font-semibold text-text-critical",children:I}),m&&y&&!I&&e("p",{className:`mt-2 text-label4 font-semibold ${f}`,children:m})]})}),u&&e("p",{className:"mx-auto mt-2 max-w-[1200px] px-6 md:px-8",children:u})]})},Pf=({fields:n,isInPopupContainer:i=!1,onClose:o,onContinueCheckout:r,checkShouldShowBanner:a,onBannerShown:s})=>{var l,d;const{anchorId:m,mainHeading:p,description:h,cta:g}=n,[f,b]=c(!1);u(()=>{const e=()=>{(null==a?void 0:a())&&!f&&(b(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const v=()=>{null==r||r()};return i?t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center","data-section-type":"cart-retention-banner","data-section-index":"0",children:[e(at,{className:"heading5 text-center lg:heading3",children:p||"Welcome back. Let’s finish your order"}),h&&mt(tt(null==h?void 0:h.json),!1,"body1 my-4"),e(Nt,{onClick:v,buttonLabel:null!==(l=null==g?void 0:g.buttonLabel)&&void 0!==l?l:"Continue checkout"})]}):e("section",{id:m,"data-testid":"cart-retention-banner",children:e(kd,{size:"sm",isOpen:f,onRequestClose:()=>{null==o||o(),b(!1)},bodyClassName:"flex items-center justify-center",type:"cart-retention-banner",children:t("div",{className:"pop-up-body mb-5 mt-10 flex w-full flex-col items-center justify-center",children:[e(at,{className:"heading5 text-center lg:heading3",children:p||"Welcome back. Let&apos;s finish your order"}),h&&mt(tt(null==h?void 0:h.json),!1,"body1 my-4"),e(Nt,{onClick:v,buttonLabel:null!==(d=null==g?void 0:g.buttonLabel)&&void 0!==d?d:"Continue checkout"})]})})})};export{It as Accordion,If as AddressInputBanner,Af as AnchoredBottomBanner,Gt as BlogCard,ff as BlogGrid,bf as BlogGridBase,vf as BreadcrumbNavigation,Nt as Button,Ht as Callout,jt as Cards,en as Carousel,Pf as CartRetentionBanner,Bd as ComparisonTable,kf as CookieBanner,Pd as CtaCallout,wf as DynamicTabs,Gf as EmailInputBlock,Td as FindKinetic,tn as FloatingBanner,nn as Footer,sn as ImagePromoBar,kd as Modal,pn as Navigation,bn as PrimaryHero,Ut as ProductCard,yf as SearchBlock,Gd as ShapeBackgroundWrapper,Wt as SimpleCard,$t as TestimonialCard,vn as Text,gt as label1BoldOptions,mt as renderContentfulRichText,ht as renderContentfulRichTextTable,tt as toDocument,pt as useContentfulRichText,ft as useProcessedChecklist};
12
12
  //# sourceMappingURL=index.esm.js.map