@windstream/react-shared-components 0.2.60 → 0.2.61

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 (31) hide show
  1. package/dist/contentful/index.d.ts +27 -1
  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 +4 -4
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/core.d.ts +1 -1
  7. package/dist/index.esm.js +1 -1
  8. package/dist/index.esm.js.map +1 -1
  9. package/dist/index.js +1 -1
  10. package/dist/index.js.map +1 -1
  11. package/dist/styles.css +1 -1
  12. package/package.json +1 -1
  13. package/src/components/brand-button/index.tsx +1 -1
  14. package/src/contentful/blocks/cards/product-card/index.test.tsx +14 -1
  15. package/src/contentful/blocks/cards/product-card/index.tsx +189 -136
  16. package/src/contentful/blocks/cards/product-card/types.ts +1 -1
  17. package/src/contentful/blocks/carousel/Carousel.stories.tsx +59 -0
  18. package/src/contentful/blocks/carousel/helper.test.tsx +23 -0
  19. package/src/contentful/blocks/carousel/helper.tsx +18 -5
  20. package/src/contentful/blocks/carousel/types.ts +3 -0
  21. package/src/contentful/blocks/dynamic-form/conditional-fields.test.tsx +3 -0
  22. package/src/contentful/blocks/dynamic-form/conditional-fields.tsx +30 -4
  23. package/src/contentful/blocks/dynamic-form/context.ts +2 -0
  24. package/src/contentful/blocks/dynamic-form/field-map.test.tsx +21 -0
  25. package/src/contentful/blocks/dynamic-form/field-map.tsx +15 -0
  26. package/src/contentful/blocks/dynamic-form/form-field.tsx +2 -0
  27. package/src/contentful/blocks/dynamic-form/index.tsx +48 -16
  28. package/src/contentful/blocks/dynamic-form/render.tsx +1 -0
  29. package/src/contentful/blocks/dynamic-form/types.ts +26 -0
  30. package/src/contentful/blocks/dynamic-form/utils.test.ts +86 -0
  31. package/src/contentful/blocks/dynamic-form/utils.ts +57 -0
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
 
3
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),r=require("next/image"),i=require("react-dom"),o=require("next/navigation");function a(e){return e&&e.__esModule?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var l=s(t),c=s(n),u=a(r),d=a(i);function p(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=p(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function m(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=p(e))&&(r&&(r+=" "),r+=t);return r}const h=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),f(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},f=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?f(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)x(n[e],r,e,t);return r},x=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:y(t,e)).classGroupId=n)}if("function"==typeof e)return w(e)?void x(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{x(i,y(t,e),n,r)})})},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},w=e=>e.isThemeGetter,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},I=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===i){if(":"===s){t.push(e.slice(o,a)),o=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}const a=0===t.length?e:e.substring(o),s=N(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},N=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,E=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},A=/\s+/;function j(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=T(e))&&(r&&(r+=" "),r+=t);return r}const T=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=T(e[r]))&&(n&&(n+=" "),n+=t);return n};function S(e,...t){let n,r,i,o=function(s){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:C(e.cacheSize),parseClassName:I(e),sortModifiers:E(e),...h(e)}))(l),r=n.cache.get,i=n.cache.set,o=a,a(s)};function a(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(A);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,f=r(h?p.substring(0,m):p);if(!f){if(!h){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(a.includes(v))continue;a.push(v);const x=i(f,h);for(let e=0;e<x.length;++e){const t=x[e];a.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(j.apply(null,arguments))}}const k=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},P=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R=/^\((?:(\w[\w-]*):)?(.+)\)$/i,B=/^\d+\/\d+$/,L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O=/\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$/,G=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>B.test(e),F=e=>!!e&&!Number.isNaN(Number(e)),H=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&F(e.slice(0,-1)),X=e=>L.test(e),z=()=>!0,_=e=>O.test(e)&&!G.test(e),Z=()=>!1,Y=e=>M.test(e),J=e=>D.test(e),U=e=>!K(e)&&!re(e),$=e=>ue(e,he,Z),K=e=>P.test(e),Q=e=>ue(e,fe,_),q=e=>ue(e,ge,F),ee=e=>ue(e,pe,Z),te=e=>ue(e,me,J),ne=e=>ue(e,ve,Y),re=e=>R.test(e),ie=e=>de(e,fe),oe=e=>de(e,be),ae=e=>de(e,pe),se=e=>de(e,he),le=e=>de(e,me),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const r=P.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=R.exec(e);return!!r&&(r[1]?t(r[1]):n)},pe=e=>"position"===e||"percentage"===e,me=e=>"image"===e||"url"===e,he=e=>"length"===e||"size"===e||"bg-size"===e,fe=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,xe=()=>{const e=k("color"),t=k("font"),n=k("text"),r=k("font-weight"),i=k("tracking"),o=k("leading"),a=k("breakpoint"),s=k("container"),l=k("spacing"),c=k("radius"),u=k("shadow"),d=k("inset-shadow"),p=k("text-shadow"),m=k("drop-shadow"),h=k("blur"),f=k("perspective"),g=k("aspect"),b=k("ease"),v=k("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,K],y=()=>[re,K,l],w=()=>[V,"full","auto",...y()],C=()=>[H,"none","subgrid",re,K],I=()=>["auto",{span:["full",H,re,K]},H,re,K],N=()=>[H,"auto",re,K],E=()=>["auto","min","max","fr",re,K],A=()=>["auto",...y()],j=()=>[V,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],T=()=>[e,re,K],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ae,ee,{position:[re,K]}],P=()=>["auto","cover","contain",se,$,{size:[re,K]}],R=()=>[W,ie,Q],B=()=>["","none","full",c,re,K],L=()=>["",F,ie,Q],O=()=>[F,W,ae,ee],G=()=>["","none",h,re,K],M=()=>["none",F,re,K],D=()=>["none",F,re,K],_=()=>[F,re,K],Z=()=>[V,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[X],breakpoint:[X],color:[z],container:[X],"drop-shadow":[X],ease:["in","out","in-out"],font:[U],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[X],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[X],shadow:[X],spacing:["px",F],text:[X],"text-shadow":[X],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",V,K,re,g]}],container:["container"],columns:[{columns:[F,K,re,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:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[H,"auto",re,K]}],basis:[{basis:[V,"full","auto",s,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[F,V,"auto","initial","none",K]}],grow:[{grow:["",F,re,K]}],shrink:[{shrink:["",F,re,K]}],order:[{order:[H,"first","last","none",re,K]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"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:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[s,"screen",...j()]}],"min-w":[{"min-w":[s,"screen","none",...j()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,ie,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,re,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,K]}],"font-family":[{font:[oe,K,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,re,K]}],"line-clamp":[{"line-clamp":[F,"none",re,q]}],leading:[{leading:[o,...y()]}],"list-image":[{"list-image":["none",re,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[F,"from-font","auto",re,Q]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[F,"auto",re,K]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,K]}],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",re,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H,re,K],radial:["",re,K],conic:[H,re,K]},le,te]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[F,re,K]}],"outline-w":[{outline:["",F,ie,Q]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[F,Q]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[F,re,K]}],"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":[F]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[re,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[F]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,K]}],filter:[{filter:["","none",re,K]}],blur:[{blur:G()}],brightness:[{brightness:[F,re,K]}],contrast:[{contrast:[F,re,K]}],"drop-shadow":[{"drop-shadow":["","none",m,ce,ne]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",F,re,K]}],"hue-rotate":[{"hue-rotate":[F,re,K]}],invert:[{invert:["",F,re,K]}],saturate:[{saturate:[F,re,K]}],sepia:[{sepia:["",F,re,K]}],"backdrop-filter":[{"backdrop-filter":["","none",re,K]}],"backdrop-blur":[{"backdrop-blur":G()}],"backdrop-brightness":[{"backdrop-brightness":[F,re,K]}],"backdrop-contrast":[{"backdrop-contrast":[F,re,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",F,re,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[F,re,K]}],"backdrop-invert":[{"backdrop-invert":["",F,re,K]}],"backdrop-opacity":[{"backdrop-opacity":[F,re,K]}],"backdrop-saturate":[{"backdrop-saturate":[F,re,K]}],"backdrop-sepia":[{"backdrop-sepia":["",F,re,K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[F,"initial",re,K]}],ease:[{ease:["linear","initial",b,re,K]}],delay:[{delay:[F,re,K]}],animate:[{animate:["none",v,re,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,re,K]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:_()}],"skew-x":[{"skew-x":_()}],"skew-y":[{"skew-y":_()}],transform:[{transform:[re,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Z()}],"translate-x":[{"translate-x":Z()}],"translate-y":[{"translate-y":Z()}],"translate-z":[{"translate-z":Z()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,K]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",re,K]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[F,ie,Q,q]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},we=(e,t)=>{if(t)for(const n in t)ye(e,n,t[n])},Ce=(e,t)=>{if(t)for(const n in t)Ie(e,t,n)},Ie=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ne=((e,...t)=>"function"==typeof e?S(xe,e,...t):S(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(ye(e,"cacheSize",t),ye(e,"prefix",n),ye(e,"experimentalParseClassName",r),we(e.theme,o.theme),we(e.classGroups,o.classGroups),we(e.conflictingClassGroups,o.conflictingClassGroups),we(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),ye(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Ce(e.theme,i.theme),Ce(e.classGroups,i.classGroups),Ce(e.conflictingClassGroups,i.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Ie(e,i,"orderSensitiveModifiers"),e))(xe(),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"]}}}),Ee=(...e)=>Ne(m(...e)),Ae=(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>`,je="function"==typeof Buffer,Te="function"==typeof TextDecoder?new TextDecoder:void 0,Se="function"==typeof TextEncoder?new TextEncoder:void 0,ke=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Pe=(()=>{let e={};return ke.forEach((t,n)=>e[t]=n),e})(),Re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Be=String.fromCharCode.bind(String),Le="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Oe=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),Ge=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Me=e=>{let t,n,r,i,o="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(i=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=ke[t>>18&63]+ke[t>>12&63]+ke[t>>6&63]+ke[63&t]}return a?o.slice(0,a-3)+"===".substring(a):o},De="function"==typeof btoa?e=>btoa(e):je?e=>Buffer.from(e,"binary").toString("base64"):Me,Ve=je?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Be.apply(null,e.subarray(n,n+4096)));return De(t.join(""))},Fe=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Be(192|t>>>6)+Be(128|63&t):Be(224|t>>>12&15)+Be(128|t>>>6&63)+Be(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Be(240|t>>>18&7)+Be(128|t>>>12&63)+Be(128|t>>>6&63)+Be(128|63&t)},He=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,We=e=>e.replace(He,Fe),Xe=je?e=>Buffer.from(e,"utf8").toString("base64"):Se?e=>Ve(Se.encode(e)):e=>De(We(e)),ze=(e,t=!1)=>t?Oe(Xe(e)):Xe(e),_e=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ze=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Be((t>>>10)+55296)+Be(56320+(1023&t));case 3:return Be((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Be((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Ye=e=>e.replace(_e,Ze),Je=e=>{if(e=e.replace(/\s+/g,""),!Re.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Pe[e.charAt(o++)]<<18|Pe[e.charAt(o++)]<<12|(n=Pe[e.charAt(o++)])<<6|(r=Pe[e.charAt(o++)]),64===n?i.push(Be(t>>16&255)):64===r?i.push(Be(t>>16&255,t>>8&255)):i.push(Be(t>>16&255,t>>8&255,255&t));return i.join("")},Ue="function"==typeof atob?e=>atob(Ge(e)):je?e=>Buffer.from(e,"base64").toString("binary"):Je,$e=je?e=>Le(Buffer.from(e,"base64")):e=>Le(Ue(e).split("").map(e=>e.charCodeAt(0))),Ke=je?e=>Buffer.from(e,"base64").toString("utf8"):Te?e=>Te.decode($e(e)):e=>Ye(Ue(e)),Qe=e=>Ge(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),qe=e=>Ke(Qe(e)),et=ze,tt=qe;
3
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/link"),r=require("next/image"),i=require("react-dom"),o=require("next/navigation");function s(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var l=a(t),c=a(n),u=s(r),d=s(i);function p(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=p(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function m(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=p(e))&&(r&&(r+=" "),r+=t);return r}const h=e=>{const t=v(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),f(n,t)||b(e)},getConflictingClassGroupIds:(e,t)=>{const i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}},f=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?f(e.slice(1),r):void 0;if(i)return i;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},g=/^\[(.+)\]$/,b=e=>{if(g.test(e)){const t=g.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},v=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)x(n[e],r,e,t);return r},x=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:y(t,e)).classGroupId=n)}if("function"==typeof e)return w(e)?void x(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,i])=>{x(i,y(t,e),n,r)})})},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},w=e=>e.isThemeGetter,C=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},I=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,i=0,o=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===r&&0===i){if(":"===a){t.push(e.slice(o,s)),o=s+1;continue}if("/"===a){n=s;continue}}"["===a?r++:"]"===a?r--:"("===a?i++:")"===a&&i--}const s=0===t.length?e:e.substring(o),a=N(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},N=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,A=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},E=/\s+/;function j(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=T(e))&&(r&&(r+=" "),r+=t);return r}const T=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=T(e[r]))&&(n&&(n+=" "),n+=t);return n};function S(e,...t){let n,r,i,o=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:C(e.cacheSize),parseClassName:I(e),sortModifiers:A(e),...h(e)}))(l),r=n.cache.get,i=n.cache.set,o=s,s(a)};function s(e){const t=r(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,s=[],a=e.trim().split(E);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[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,f=r(h?p.substring(0,m):p);if(!f){if(!h){l=t+(l.length>0?" "+l:l);continue}if(f=r(p),!f){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=o(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=i(f,h);for(let e=0;e<x.length;++e){const t=x[e];s.push(b+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return i(e,o),o}return function(){return o(j.apply(null,arguments))}}const k=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},P=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,R=/^\((?:(\w[\w-]*):)?(.+)\)$/i,B=/^\d+\/\d+$/,L=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,O=/\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$/,G=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,D=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,V=e=>B.test(e),F=e=>!!e&&!Number.isNaN(Number(e)),H=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&F(e.slice(0,-1)),X=e=>L.test(e),z=()=>!0,_=e=>O.test(e)&&!G.test(e),Z=()=>!1,Y=e=>M.test(e),J=e=>D.test(e),U=e=>!K(e)&&!re(e),$=e=>ue(e,he,Z),K=e=>P.test(e),Q=e=>ue(e,fe,_),q=e=>ue(e,ge,F),ee=e=>ue(e,pe,Z),te=e=>ue(e,me,J),ne=e=>ue(e,ve,Y),re=e=>R.test(e),ie=e=>de(e,fe),oe=e=>de(e,be),se=e=>de(e,pe),ae=e=>de(e,he),le=e=>de(e,me),ce=e=>de(e,ve,!0),ue=(e,t,n)=>{const r=P.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},de=(e,t,n=!1)=>{const r=R.exec(e);return!!r&&(r[1]?t(r[1]):n)},pe=e=>"position"===e||"percentage"===e,me=e=>"image"===e||"url"===e,he=e=>"length"===e||"size"===e||"bg-size"===e,fe=e=>"length"===e,ge=e=>"number"===e,be=e=>"family-name"===e,ve=e=>"shadow"===e,xe=()=>{const e=k("color"),t=k("font"),n=k("text"),r=k("font-weight"),i=k("tracking"),o=k("leading"),s=k("breakpoint"),a=k("container"),l=k("spacing"),c=k("radius"),u=k("shadow"),d=k("inset-shadow"),p=k("text-shadow"),m=k("drop-shadow"),h=k("blur"),f=k("perspective"),g=k("aspect"),b=k("ease"),v=k("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",re,K],y=()=>[re,K,l],w=()=>[V,"full","auto",...y()],C=()=>[H,"none","subgrid",re,K],I=()=>["auto",{span:["full",H,re,K]},H,re,K],N=()=>[H,"auto",re,K],A=()=>["auto","min","max","fr",re,K],E=()=>["auto",...y()],j=()=>[V,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],T=()=>[e,re,K],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",se,ee,{position:[re,K]}],P=()=>["auto","cover","contain",ae,$,{size:[re,K]}],R=()=>[W,ie,Q],B=()=>["","none","full",c,re,K],L=()=>["",F,ie,Q],O=()=>[F,W,se,ee],G=()=>["","none",h,re,K],M=()=>["none",F,re,K],D=()=>["none",F,re,K],_=()=>[F,re,K],Z=()=>[V,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[X],breakpoint:[X],color:[z],container:[X],"drop-shadow":[X],ease:["in","out","in-out"],font:[U],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[X],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[X],shadow:[X],spacing:["px",F],text:[X],"text-shadow":[X],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",V,K,re,g]}],container:["container"],columns:[{columns:[F,K,re,a]}],"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:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[H,"auto",re,K]}],basis:[{basis:[V,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[F,V,"auto","initial","none",K]}],grow:[{grow:["",F,re,K]}],shrink:[{shrink:["",F,re,K]}],order:[{order:[H,"first","last","none",re,K]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:I()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:I()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":A()}],"auto-rows":[{"auto-rows":A()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"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:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[a,"screen",...j()]}],"min-w":[{"min-w":[a,"screen","none",...j()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",n,ie,Q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,re,q]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,K]}],"font-family":[{font:[oe,K,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,re,K]}],"line-clamp":[{"line-clamp":[F,"none",re,q]}],leading:[{leading:[o,...y()]}],"list-image":[{"list-image":["none",re,K]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",re,K]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[F,"from-font","auto",re,Q]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[F,"auto",re,K]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",re,K]}],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",re,K]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:P()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H,re,K],radial:["",re,K],conic:[H,re,K]},le,te]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:B()}],"rounded-s":[{"rounded-s":B()}],"rounded-e":[{"rounded-e":B()}],"rounded-t":[{"rounded-t":B()}],"rounded-r":[{"rounded-r":B()}],"rounded-b":[{"rounded-b":B()}],"rounded-l":[{"rounded-l":B()}],"rounded-ss":[{"rounded-ss":B()}],"rounded-se":[{"rounded-se":B()}],"rounded-ee":[{"rounded-ee":B()}],"rounded-es":[{"rounded-es":B()}],"rounded-tl":[{"rounded-tl":B()}],"rounded-tr":[{"rounded-tr":B()}],"rounded-br":[{"rounded-br":B()}],"rounded-bl":[{"rounded-bl":B()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[F,re,K]}],"outline-w":[{outline:["",F,ie,Q]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",u,ce,ne]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",d,ce,ne]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[F,Q]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",p,ce,ne]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[F,re,K]}],"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":[F]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[re,K]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[F]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:P()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",re,K]}],filter:[{filter:["","none",re,K]}],blur:[{blur:G()}],brightness:[{brightness:[F,re,K]}],contrast:[{contrast:[F,re,K]}],"drop-shadow":[{"drop-shadow":["","none",m,ce,ne]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",F,re,K]}],"hue-rotate":[{"hue-rotate":[F,re,K]}],invert:[{invert:["",F,re,K]}],saturate:[{saturate:[F,re,K]}],sepia:[{sepia:["",F,re,K]}],"backdrop-filter":[{"backdrop-filter":["","none",re,K]}],"backdrop-blur":[{"backdrop-blur":G()}],"backdrop-brightness":[{"backdrop-brightness":[F,re,K]}],"backdrop-contrast":[{"backdrop-contrast":[F,re,K]}],"backdrop-grayscale":[{"backdrop-grayscale":["",F,re,K]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[F,re,K]}],"backdrop-invert":[{"backdrop-invert":["",F,re,K]}],"backdrop-opacity":[{"backdrop-opacity":[F,re,K]}],"backdrop-saturate":[{"backdrop-saturate":[F,re,K]}],"backdrop-sepia":[{"backdrop-sepia":["",F,re,K]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",re,K]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[F,"initial",re,K]}],ease:[{ease:["linear","initial",b,re,K]}],delay:[{delay:[F,re,K]}],animate:[{animate:["none",v,re,K]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,re,K]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:M()}],"rotate-x":[{"rotate-x":M()}],"rotate-y":[{"rotate-y":M()}],"rotate-z":[{"rotate-z":M()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:_()}],"skew-x":[{"skew-x":_()}],"skew-y":[{"skew-y":_()}],transform:[{transform:[re,K,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Z()}],"translate-x":[{"translate-x":Z()}],"translate-y":[{"translate-y":Z()}],"translate-z":[{"translate-z":Z()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",re,K]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",re,K]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[F,ie,Q,q]}],stroke:[{stroke:["none",...T()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ye=(e,t,n)=>{void 0!==n&&(e[t]=n)},we=(e,t)=>{if(t)for(const n in t)ye(e,n,t[n])},Ce=(e,t)=>{if(t)for(const n in t)Ie(e,t,n)},Ie=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Ne=((e,...t)=>"function"==typeof e?S(xe,e,...t):S(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:i={},override:o={}})=>(ye(e,"cacheSize",t),ye(e,"prefix",n),ye(e,"experimentalParseClassName",r),we(e.theme,o.theme),we(e.classGroups,o.classGroups),we(e.conflictingClassGroups,o.conflictingClassGroups),we(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),ye(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),Ce(e.theme,i.theme),Ce(e.classGroups,i.classGroups),Ce(e.conflictingClassGroups,i.conflictingClassGroups),Ce(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Ie(e,i,"orderSensitiveModifiers"),e))(xe(),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"]}}}),Ae=(...e)=>Ne(m(...e)),Ee=(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>`,je="function"==typeof Buffer,Te="function"==typeof TextDecoder?new TextDecoder:void 0,Se="function"==typeof TextEncoder?new TextEncoder:void 0,ke=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Pe=(()=>{let e={};return ke.forEach((t,n)=>e[t]=n),e})(),Re=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Be=String.fromCharCode.bind(String),Le="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Oe=e=>e.replace(/=/g,"").replace(/[+\/]/g,e=>"+"==e?"-":"_"),Ge=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Me=e=>{let t,n,r,i,o="";const s=e.length%3;for(let s=0;s<e.length;){if((n=e.charCodeAt(s++))>255||(r=e.charCodeAt(s++))>255||(i=e.charCodeAt(s++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|i,o+=ke[t>>18&63]+ke[t>>12&63]+ke[t>>6&63]+ke[63&t]}return s?o.slice(0,s-3)+"===".substring(s):o},De="function"==typeof btoa?e=>btoa(e):je?e=>Buffer.from(e,"binary").toString("base64"):Me,Ve=je?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Be.apply(null,e.subarray(n,n+4096)));return De(t.join(""))},Fe=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Be(192|t>>>6)+Be(128|63&t):Be(224|t>>>12&15)+Be(128|t>>>6&63)+Be(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Be(240|t>>>18&7)+Be(128|t>>>12&63)+Be(128|t>>>6&63)+Be(128|63&t)},He=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,We=e=>e.replace(He,Fe),Xe=je?e=>Buffer.from(e,"utf8").toString("base64"):Se?e=>Ve(Se.encode(e)):e=>De(We(e)),ze=(e,t=!1)=>t?Oe(Xe(e)):Xe(e),_e=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Ze=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Be((t>>>10)+55296)+Be(56320+(1023&t));case 3:return Be((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Be((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Ye=e=>e.replace(_e,Ze),Je=e=>{if(e=e.replace(/\s+/g,""),!Re.test(e))throw new TypeError("malformed base64.");let t,n,r;e+="==".slice(2-(3&e.length));let i=[];for(let o=0;o<e.length;)t=Pe[e.charAt(o++)]<<18|Pe[e.charAt(o++)]<<12|(n=Pe[e.charAt(o++)])<<6|(r=Pe[e.charAt(o++)]),64===n?i.push(Be(t>>16&255)):64===r?i.push(Be(t>>16&255,t>>8&255)):i.push(Be(t>>16&255,t>>8&255,255&t));return i.join("")},Ue="function"==typeof atob?e=>atob(Ge(e)):je?e=>Buffer.from(e,"base64").toString("binary"):Je,$e=je?e=>Le(Buffer.from(e,"base64")):e=>Le(Ue(e).split("").map(e=>e.charCodeAt(0))),Ke=je?e=>Buffer.from(e,"base64").toString("utf8"):Te?e=>Te.decode($e(e)):e=>Ye(Ue(e)),Qe=e=>Ge(e.replace(/[-_]/g,e=>"-"==e?"+":"/")),qe=e=>Ke(Qe(e)),et=ze,tt=qe;
4
4
  /*! js-cookie v3.0.5 | MIT */
5
- function nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var rt=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=nt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var a in i)i[a]&&(o+="; "+a,!0!==i[a]&&(o+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",nt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,nt({},this.attributes,t))},withConverter:function(t){return e(nt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const it=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const ot="network-auth.com";function at(){if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location.search).get("base_grant_url");if(!e)return null;const t=function(e){try{const t=new URL(e);if("https:"!==t.protocol)return null;const{hostname:n}=t;return n===ot||n.endsWith(`.${ot}`)?t:null}catch(e){return null}}(e);return t?(t.searchParams.set("continue_url","https://www.gokinetic.com/free-public-wifi/success"),t.searchParams.set("duration","86400"),t.toString()):null}const st=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,lt=e=>{if(!e)return null;if(st(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return st(t)?t:null}return null};function ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ut,dt={},pt={},mt={};function ht(){return ut||(ut=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(mt)),mt}var ft,gt={};function bt(){return ft||(ft=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(gt)),gt}var vt,xt={};function yt(){return vt||(vt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(xt)),xt}var wt,Ct={};function It(){return wt||(wt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return p},get HEADINGS(){return m},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return h},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=ht(),n=bt(),r=yt();function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,s,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],p=(o(a={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),o(a,t.BLOCKS.LIST_ITEM,c),o(a,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),o(a,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),o(a,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),o(a,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),o(a,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),a),m=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],h=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return i(e)}(s=m)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(s)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(s)||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.")}()),f=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(Ct)),Ct}var Nt,Et={};var At,jt={};var Tt,St={};var kt,Pt={};function Rt(){return kt||(kt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return s},get isEmptyParagraph(){return c},get isInline(){return a},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return p}});var t=ht(),n=bt();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o(e,t){var n=!0,r=!1,i=void 0;try{for(var o,a=Object.keys(e)[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){if(t===e[o.value])return!0}}catch(e){r=!0,i=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return!1}function a(e){return o(n.INLINES,e.nodeType)}function s(e){return o(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?i(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(Pt)),Pt}var Bt,Lt,Ot={},Gt={};function Mt(){return Lt?Bt:(Lt=1,Bt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var Dt,Vt,Ft={};function Ht(){return Dt||(Dt=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return a},get maxSizeError(){return o},get minSizeError(){return i},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return s}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},i=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},o=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},a=function(e){var t=e.expected,r=e.value,i=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:i.toArray(),value:r}},s=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(Ft)),Ft}function Wt(){return Vt||(Vt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=a(Mt()),n=Ht();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(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 l=function(){function e(r,i){var a=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"obj",void 0),o(this,"path",void 0),o(this,"_errors",void 0),o(this,"catch",void 0),o(this,"exists",void 0),o(this,"object",void 0),o(this,"string",void 0),o(this,"number",void 0),o(this,"array",void 0),o(this,"enum",void 0),o(this,"empty",void 0),o(this,"minLength",void 0),o(this,"noAdditionalProperties",void 0),o(this,"each",void 0),this.obj=r,this.path=i,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,s(t))},this.exists=function(e){return e in a.obj||(a.catch((0,n.requiredPropertyError)({property:e,path:a.path.of(e)})),!1)},this.object=function(e){var r=e?a.obj[e]:a.obj;if(e&&!a.exists(e))return!1;if((0,t.default)(r))return!0;var i,o=e?a.path.of(e):a.path,s=null!==(i=null!=e?e:a.path.last())&&void 0!==i?i:"value";return a.catch((0,n.typeMismatchError)({typeName:"Object",property:s,path:o,value:r})),!1},this.string=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&("string"==typeof t||(a.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:a.path.of(e),value:t})),!1))},this.number=function(e,t){var r=a.obj[e];return!(!t||e in a.obj)||!!a.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(a.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:a.path.of(e),value:r})),!1))},this.array=function(e){var t=a.obj[e];return!(e&&!a.exists(e))&&(!!Array.isArray(t)||(a.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:a.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=a.obj[e];return!("string"!=typeof r||!t.includes(r))||(a.catch((0,n.enumError)({expected:t,value:r,path:a.path.of(e)})),!1)},this.empty=function(e){if(!a.array(e))return!1;var t=a.obj[e];return 0===t.length||(a.catch((0,n.maxSizeError)({max:0,value:t,path:a.path.of(e)})),!1)},this.minLength=function(e,t){if(!a.array(e))return!1;var r=a.obj[e];return r.length>=t||(a.catch((0,n.minSizeError)({min:t,value:r,path:a.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(a.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return a.catch((0,n.unknownPropertyError)({property:e,path:a.path.of(e)}))}),0===t.length},this.each=function(e,t){if(a.array(e)){var n=a.obj[e],r=!1;n.forEach(function(n,i){if(!r){var o=t(n,a.path.of(e).of(i));o.length>0&&(r=!0),a.catch.apply(a,s(o))}})}}}return i(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(Gt)),Gt}var Xt,zt={};function _t(){return Xt||(Xt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return f},get HyperLinkAssertion(){return g},get NodeAssertion(){return h},get VOID_CONTENT(){return m},get assert(){return b},get assertLink(){return v}});var t=Wt();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,p()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(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}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(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.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var m=[],h=function(){function e(t,n){o(this,e),s(this,"contentRule",void 0),s(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return a(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var i=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),o=i.nodeTypes,a=i.min,s=void 0===a?0:a;if(0===o.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(r.minLength("content",s),0===o.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var l,c,u,p=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(p))}return r.errors}}]),e}(),f=function(e){function n(e,a){var l;return o(this,n),l=i(this,n,[a,function(e,t){return r(l).assertLink(e,t)}]),s(l,"linkType",void 0),s(l,"type",void 0),s(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var i,o=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));o.object()&&(o.enum("type",[l.type]),o.enum("linkType",[l.linkType]),"Link"===l.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=r).catch.apply(i,d(o.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(h),g=function(e){function n(){var e;return o(this,n),e=i(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),s(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(h),b=function(e,t){return new h(e,t)},v=function(e,t){return new f(e,t)}}(zt)),zt}var Zt,Yt={};function Jt(){return Zt||(Zt=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(Yt)),Yt}var Ut,$t,Kt,Qt,qt={};function en(){return $t||($t=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=ht(),n=bt(),r=It(),i=Wt(),o=_t(),a=Jt(),s=(Ut||(Ut=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=Wt();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(qt)),qt);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(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 d,p=(0,o.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),m=(0,o.assert)([t.BLOCKS.LIST_ITEM]),h=(0,o.assertLink)("Entry",o.VOID_CONTENT),f=(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new i.ObjectAssertion(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),g=(c(d={},t.BLOCKS.DOCUMENT,(0,o.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,p),c(d,t.BLOCKS.HEADING_1,p),c(d,t.BLOCKS.HEADING_2,p),c(d,t.BLOCKS.HEADING_3,p),c(d,t.BLOCKS.HEADING_4,p),c(d,t.BLOCKS.HEADING_5,p),c(d,t.BLOCKS.HEADING_6,p),c(d,t.BLOCKS.QUOTE,(0,o.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,h),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,o.assertLink)("Asset",o.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,o.assert)(o.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,m),c(d,t.BLOCKS.UL_LIST,m),c(d,t.BLOCKS.LIST_ITEM,(0,o.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,f),c(d,t.BLOCKS.TABLE_HEADER_CELL,f),c(d,n.INLINES.HYPERLINK,new o.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,h),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,o.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,o.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,o.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,s.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new i.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var v=function(e){var n=new a.Path,r=new i.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(Ot)),Ot}function tn(){return Kt||(Kt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return i.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return o},get validateRichTextDocument(){return a.validateRichTextDocument}});var t=ht(),n=bt(),r=yt();s(It(),e),s((Nt||(Nt=1,Object.defineProperty(Et,"__esModule",{value:!0})),Et),e),s((At||(At=1,Object.defineProperty(jt,"__esModule",{value:!0})),jt),e);var i=(Tt||(Tt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=ht(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(St)),St),o=c(Rt()),a=en();function s(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}}(pt)),pt}var nn=function(){if(Qt)return dt;Qt=1;var e=l.default,t=tn();function n(t,n){return t.map((t,i)=>{return o=r(t,n),a=i,e.isValidElement(o)&&null===o.key?e.cloneElement(o,{key:a}):o;var o,a})}function r(r,i){const{renderNode:o,renderMark:a,renderText:s,preserveWhitespace:l}=i;if(t.helpers.isText(r)){let t=s?s(r.value):r.value;if(l&&!s){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,i)=>{r.push(t),i!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>a[t.type]?a[t.type](e):e,t)}{const t=n(r.content,i);return r.nodeType&&o[r.nodeType]?o[r.nodeType](r,t):e.createElement(e.Fragment,null,t)}}const i={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[t.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[t.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[t.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[t.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[t.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[t.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[t.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[t.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[t.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[t.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[t.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[t.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[t.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[t.INLINES.ASSET_HYPERLINK]:e=>a(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>a(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>s(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>a(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>s(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},o={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function a(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function s(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}return dt.documentToReactComponents=function(e,n={}){if(!e)return null;let a=e;return n.stripEmptyTrailingParagraph&&(a=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(a,{renderNode:{...i,...n.renderNode},renderMark:{...o,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})},dt}(),rn=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),on=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),an=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function sn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cn,un=[rn.PARAGRAPH,rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6,rn.OL_LIST,rn.UL_LIST,rn.HR,rn.QUOTE,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,rn.EMBEDDED_RESOURCE,rn.TABLE],dn=[rn.PARAGRAPH,rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6,rn.OL_LIST,rn.UL_LIST,rn.HR,rn.QUOTE,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,rn.EMBEDDED_RESOURCE];rn.TABLE,rn.TABLE_ROW,rn.TABLE_CELL,rn.TABLE_HEADER_CELL,rn.HR,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,rn.EMBEDDED_RESOURCE;var pn,mn=(ln(cn={},rn.OL_LIST,[rn.LIST_ITEM]),ln(cn,rn.UL_LIST,[rn.LIST_ITEM]),ln(cn,rn.LIST_ITEM,dn),ln(cn,rn.QUOTE,[rn.PARAGRAPH]),ln(cn,rn.TABLE,[rn.TABLE_ROW]),ln(cn,rn.TABLE_ROW,[rn.TABLE_CELL,rn.TABLE_HEADER_CELL]),ln(cn,rn.TABLE_CELL,[rn.PARAGRAPH,rn.UL_LIST,rn.OL_LIST]),ln(cn,rn.TABLE_HEADER_CELL,[rn.PARAGRAPH]),cn),hn=[rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6];[rn.PARAGRAPH].concat(function(e){if(Array.isArray(e))return sn(e)}(pn=hn)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(pn)||function(e,t){if(e){if("string"==typeof e)return sn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sn(e,t):void 0}}(pn)||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.")}()),rn.DOCUMENT,rn.PARAGRAPH,rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6,rn.OL_LIST,rn.UL_LIST,rn.LIST_ITEM,rn.HR,rn.QUOTE,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,on.HYPERLINK,on.ENTRY_HYPERLINK,on.ASSET_HYPERLINK,on.EMBEDDED_ENTRY,rn.DOCUMENT,rn.PARAGRAPH;var fn=ct(Mt());function gn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bn(e){return function(e){if(Array.isArray(e))return gn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gn(e,t)}(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 vn=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}};function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cn(e){return function(e){if(Array.isArray(e))return xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xn(e,t)}(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 In=function(){function e(t,n){var r=this,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),wn(this,"obj",void 0),wn(this,"path",void 0),wn(this,"_errors",void 0),wn(this,"catch",void 0),wn(this,"exists",void 0),wn(this,"object",void 0),wn(this,"string",void 0),wn(this,"number",void 0),wn(this,"array",void 0),wn(this,"enum",void 0),wn(this,"empty",void 0),wn(this,"minLength",void 0),wn(this,"noAdditionalProperties",void 0),wn(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=i._errors).push.apply(r,Cn(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(fn(t))return!0;var n,i=e?r.path.of(e):r.path,o=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(vn({typeName:"Object",property:o,path:i,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(vn({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))},this.number=function(e,t){var n=r.obj[e];return!(!t||e in r.obj)||!!r.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(r.catch(vn({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))},this.array=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&(!!Array.isArray(t)||(r.catch(vn({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=r.obj[e];return!("string"!=typeof n||!t.includes(n))||(r.catch(function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:bn(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],i=!1;n.forEach(function(n,o){if(!i){var a=t(n,r.path.of(e).of(o));a.length>0&&(i=!0),r.catch.apply(r,Cn(a))}})}}}return yn(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function Nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function En(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function An(e,t,n){return t=kn(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return En(e)}(e,Ln()?Reflect.construct(t,n||[],kn(e).constructor):t.apply(e,n))}function jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kn(e)}function Pn(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}}),t&&Rn(e,t)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Rn(e,t)}function Bn(e){return function(e){if(Array.isArray(e))return Nn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Nn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nn(e,t)}(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.")}()}function Ln(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ln=function(){return!!e})()}var On=[],Gn=function(){function e(t,n){jn(this,e),Sn(this,"contentRule",void 0),Sn(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return Tn(e,[{key:"assert",value:function(e,t){var n=new In(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=r.nodeTypes,o=r.min,a=void 0===o?0:o;if(0===i.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(n.minLength("content",a),0===i.length?n.empty("content"):n.each("content",function(e,t){var n=new In(e,t);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var s,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(s=n).catch.apply(s,Bn(u))}return n.errors}}]),e}(),Mn=function(e){function t(e,n){var r;return jn(this,t),r=An(this,t,[n,function(e,t){return En(r).assertLink(e,t)}]),Sn(r,"linkType",void 0),Sn(r,"type",void 0),Sn(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new In(e,t);if(n.object("target")){var i,o=new In(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[r.type]),o.enum("linkType",[r.linkType]),"Link"===r.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=n).catch.apply(i,Bn(o.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Pn(t,e),t}(Gn),Dn=function(e){function t(){var e;return jn(this,t),e=An(this,t,[["text"],function(t,n){return En(e).assertLink(t,n)}]),Sn(e,"assertLink",function(e,t){var n=new In(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Pn(t,e),t}(Gn),Vn=function(e,t){return new Gn(e,t)},Fn=function(e,t){return new Mn(e,t)};function Hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xn(e){return function(e){if(Array.isArray(e))return Hn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Hn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hn(e,t)}(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 zn,_n=Vn(Xn(Object.values(on)).concat(["text"]).sort()),Zn=Vn([rn.LIST_ITEM]),Yn=Fn("Entry",On),Jn=Vn(function(){return{nodeTypes:[rn.PARAGRAPH],min:1}},function(e,t){var n=new In(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Wn(zn={},rn.DOCUMENT,Vn(un)),Wn(zn,rn.PARAGRAPH,_n),Wn(zn,rn.HEADING_1,_n),Wn(zn,rn.HEADING_2,_n),Wn(zn,rn.HEADING_3,_n),Wn(zn,rn.HEADING_4,_n),Wn(zn,rn.HEADING_5,_n),Wn(zn,rn.HEADING_6,_n),Wn(zn,rn.QUOTE,Vn(mn[rn.QUOTE])),Wn(zn,rn.EMBEDDED_ENTRY,Yn),Wn(zn,rn.EMBEDDED_ASSET,Fn("Asset",On)),Wn(zn,rn.EMBEDDED_RESOURCE,Fn("Contentful:Entry",On)),Wn(zn,rn.HR,Vn(On)),Wn(zn,rn.OL_LIST,Zn),Wn(zn,rn.UL_LIST,Zn),Wn(zn,rn.LIST_ITEM,Vn(Xn(dn).sort())),Wn(zn,rn.TABLE,Vn(function(){return{nodeTypes:[rn.TABLE_ROW],min:1}})),Wn(zn,rn.TABLE_ROW,Vn(function(){return{nodeTypes:[rn.TABLE_CELL,rn.TABLE_HEADER_CELL],min:1}})),Wn(zn,rn.TABLE_CELL,Jn),Wn(zn,rn.TABLE_HEADER_CELL,Jn),Wn(zn,on.HYPERLINK,new Dn),Wn(zn,on.EMBEDDED_ENTRY,Yn),Wn(zn,on.EMBEDDED_RESOURCE,Fn("Contentful:Entry",On)),Wn(zn,on.ENTRY_HYPERLINK,Fn("Entry",["text"])),Wn(zn,on.ASSET_HYPERLINK,Fn("Asset",["text"])),Wn(zn,on.RESOURCE_HYPERLINK,Fn("Contentful:Entry",["text"]));const Un={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},$n=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:i,...o},a)=>{const s=Ee("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e.jsx("li",{ref:a,className:s,style:i,...o,children:t})});$n.displayName="ListItem";const Kn=t.forwardRef(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:a="unstyled",style:s,...l},c)=>{const u=(()=>{if("unstyled"===a)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ee(u,`list--${t}`,`list--${a}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e.jsx($n,{className:t.className,variant:a,children:t.content},t.id||n)):null),m={className:d,style:s,...l,children:p};return"ol"===t?e.jsx("ol",{...m,ref:c,role:"list"}):e.jsx("ul",{...m,ref:c,role:"list"})});Kn.displayName="List";const Qn=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:a=24,color:s="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${a}px`,fontFamily:"'Material Symbols Rounded'",color:s||"currentColor",...l};return e.jsx("span",{style:p,className:Ee("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,"aria-hidden":"true",children:t})};Qn.displayName="MaterialIcon";const qn=t.forwardRef(({children:e,as:t,className:n="",style:r,...i},o)=>{const a=t||"p";return l.default.createElement(a,{ref:o,className:n,style:r,...i},e)});qn.displayName="Text";const er=t=>{const{items:n,listIconName:r="check",listItemClassName:i,listContainerClassName:o,iconSize:a=20,iconPosition:s="center",iconColor:c="green",iconClassName:u}=t,d="disc"!==r;if(!(null==n?void 0:n.length))return null;const p=t=>{if("string"==typeof t&&t.includes("|")&&(t.match(/\|/g)||[]).length%2==0){const n=t.split("|"),r=(t.match(/\|/g)||[]).length;return n.map((t,n)=>{if(!t)return null;return r>1&&n%2==1?e.jsx(qn,{as:"span",style:{fontWeight:900},children:t},n):e.jsx("span",{children:t},n)})}return t};return e.jsx(Kn,{className:Ee("mt-2 space-y-1",o),variant:d?"unstyled":"default",children:n.map((t,n)=>{const o=function(e){return null!==e&&"object"==typeof e&&!l.default.isValidElement(e)&&"title"in e}(t),m=o&&!!t.iconUrl,h=o?t.title:t;return e.jsxs($n,{variant:d?"unstyled":"default",className:Ee(`${d?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&m?e.jsx("div",{className:"flex shrink-0 leading-none",children:e.jsx("img",{src:t.iconUrl,alt:t.iconAlt||"",width:a,height:a,className:Ee("block object-contain","top"===s?"mt-1":"",u)})}):d?e.jsx("div",{className:"flex leading-none",children:e.jsx(Qn,{name:r,size:a,color:Un[c],weight:"600",className:Ee("block","top"===s?"mt-1":"",u)})}):null,e.jsx(qn,{as:"div",children:p(h)})]},n)})})};var tr;er.displayName="Checklist";const nr="function"==typeof c.default?c.default:null!==(tr=c.default.default)&&void 0!==tr?tr:c.default,rr=t.forwardRef(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:a,external:s=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},m=Ee(d,`link--${o}`,l&&"link--disabled",r),h={...c,ref:u,className:m,style:a,href:l?void 0:n,onClick:p,...s&&!l&&{target:"_blank",rel:"noopener"},...l&&{"aria-disabled":!0,tabIndex:-1}};return l||s||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...h,children:t}):e.jsx(nr,{href:n||"#",ref:u,className:m,style:a,onClick:p,...c,children:t})});function ir(e,n){t.useEffect(()=>{if(!n)return;const t=()=>{const t=document.fullscreenElement||document.webkitFullscreenElement;n(t===e.current)};return document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),()=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t)}},[n,e])}rr.displayName="Link";const or=n=>{const{videoAssetUrl:r,videoAssetType:i,image:o,title:a,description:s,containerClassName:l,autoplay:c=!1,onPlay:u,onPause:d,onTimeUpdate:p,onEnded:m,onFullscreenToggle:h}=n,f=t.useRef(null);return ir(f,h),r?e.jsx("div",{className:Ee("relative h-0 w-full overflow-hidden pb-[56.25%]",l),children:e.jsxs("video",{ref:f,className:"absolute left-0 top-0 h-full w-full object-cover",controls:!0,playsInline:!0,preload:"metadata",autoPlay:c,poster:o||void 0,"aria-label":a||"Embedded video",onPlay:()=>null==u?void 0:u(),onPause:()=>null==d?void 0:d(),onEnded:()=>null==m?void 0:m(),onTimeUpdate:e=>null==p?void 0:p(e.currentTarget.currentTime,e.currentTarget.duration),children:[e.jsx("source",{src:r,type:i||"video/mp4"}),s||"Your browser does not support embedded videos."]})}):null},ar=({isHovered:t,containerClassName:n})=>e.jsx("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.jsx(Qn,{name:"play_arrow",size:72,fill:1,className:"max-w-[72px] transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),sr="undefined"!=typeof global&&"[object global]"==={}.toString.call(global),lr="undefined"!=typeof Bun,cr="undefined"!=typeof Deno,ur="function"==typeof WebSocketPair&&void 0!==caches?.default,dr=sr||lr||cr||ur;function pr(e,t){return 0===e.indexOf(t.toLowerCase())?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function mr(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function hr(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function fr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(i=r,!isNaN(parseFloat(i))&&isFinite(i)&&Math.floor(i)==i)return`https://vimeo.com/${r}`;var i;if(mr(r))return r.replace("http:","https:");if(t)throw new TypeError(`“${t}” is not a valid video id.`);throw new TypeError(`“${r}” is not a vimeo.com url.`)}const gr=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener";const o="string"==typeof t?[t]:t;return o.forEach(t=>{e[r](t,n)}),{cancel:()=>o.forEach(t=>e[i](t,n))}};function br(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;const n=t.querySelectorAll("iframe");for(let t=0;t<n.length;t++)if(n[t]&&n[t].contentWindow===e)return n[t];return null}const vr=void 0!==Array.prototype.indexOf,xr="undefined"!=typeof window&&void 0!==window.postMessage;if(!(dr||vr&&xr))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var yr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
5
+ function nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var rt=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=nt({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var s in i)i[s]&&(o+="; "+s,!0!==i[s]&&(o+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+o}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),s=o.slice(1).join("=");try{var a=decodeURIComponent(o[0]);if(r[a]=t.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",nt({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,nt({},this.attributes,t))},withConverter:function(t){return e(nt({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});const it=["utm_content","utm_medium","utm_campaign","utm_source","utm_term","utm_campaign_id","utm_adgroup_id","fbclid","gclid","msclkid"];const ot="network-auth.com";function st(){if("undefined"==typeof window)return null;const e=new URLSearchParams(window.location.search).get("base_grant_url");if(!e)return null;const t=function(e){try{const t=new URL(e);if("https:"!==t.protocol)return null;const{hostname:n}=t;return n===ot||n.endsWith(`.${ot}`)?t:null}catch(e){return null}}(e);return t?(t.searchParams.set("continue_url","https://www.gokinetic.com/free-public-wifi/success"),t.searchParams.set("duration","86400"),t.toString()):null}const at=e=>!!e&&"object"==typeof e&&"nodeType"in e&&"content"in e,lt=e=>{if(!e)return null;if(at(e))return e;if("object"==typeof e&&null!==e&&"json"in e){const t=e.json;return at(t)?t:null}return null};function ct(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ut,dt={},pt={},mt={};function ht(){return ut||(ut=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({})}(mt)),mt}var ft,gt={};function bt(){return ft||(ft=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return t}});var t=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({})}(gt)),gt}var vt,xt={};function yt(){return vt||(vt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return t}});var t=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({})}(xt)),xt}var wt,Ct={};function It(){return wt||(wt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get CONTAINERS(){return p},get HEADINGS(){return m},get LIST_ITEM_BLOCKS(){return c},get TABLE_BLOCKS(){return u},get TEXT_CONTAINERS(){return h},get TOP_LEVEL_BLOCKS(){return l},get V1_MARKS(){return g},get V1_NODE_TYPES(){return f},get VOID_BLOCKS(){return d}});var t=ht(),n=bt(),r=yt();function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,a,l=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],u=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],d=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],p=(o(s={},t.BLOCKS.OL_LIST,[t.BLOCKS.LIST_ITEM]),o(s,t.BLOCKS.UL_LIST,[t.BLOCKS.LIST_ITEM]),o(s,t.BLOCKS.LIST_ITEM,c),o(s,t.BLOCKS.QUOTE,[t.BLOCKS.PARAGRAPH]),o(s,t.BLOCKS.TABLE,[t.BLOCKS.TABLE_ROW]),o(s,t.BLOCKS.TABLE_ROW,[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL]),o(s,t.BLOCKS.TABLE_CELL,[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST]),o(s,t.BLOCKS.TABLE_HEADER_CELL,[t.BLOCKS.PARAGRAPH]),s),m=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],h=[t.BLOCKS.PARAGRAPH].concat(function(e){if(Array.isArray(e))return i(e)}(a=m)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(a)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(a)||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.")}()),f=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,n.INLINES.HYPERLINK,n.INLINES.ENTRY_HYPERLINK,n.INLINES.ASSET_HYPERLINK,n.INLINES.EMBEDDED_ENTRY,"text"],g=[r.MARKS.BOLD,r.MARKS.CODE,r.MARKS.ITALIC,r.MARKS.UNDERLINE]}(Ct)),Ct}var Nt,At={};var Et,jt={};var Tt,St={};var kt,Pt={};function Rt(){return kt||(kt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get isBlock(){return a},get isEmptyParagraph(){return c},get isInline(){return s},get isText(){return l},get stripEmptyTrailingParagraphFromDocument(){return p}});var t=ht(),n=bt();function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function o(e,t){var n=!0,r=!1,i=void 0;try{for(var o,s=Object.keys(e)[Symbol.iterator]();!(n=(o=s.next()).done);n=!0){if(t===e[o.value])return!0}}catch(e){r=!0,i=e}finally{try{n||null==s.return||s.return()}finally{if(r)throw i}}return!1}function s(e){return o(n.INLINES,e.nodeType)}function a(e){return o(t.BLOCKS,e.nodeType)}function l(e){return"text"===e.nodeType}function c(e){if(e.nodeType!==t.BLOCKS.PARAGRAPH)return!1;if(1!==e.content.length)return!1;var n=e.content[0];return"text"===n.nodeType&&""===n.value}function u(e){return null!=e&&"object"==(void 0===e?"undefined":(t=e)&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)&&"content"in e&&Array.isArray(e.content);var t}var d=2;function p(e){return!u(e)||e.content.length<d?e:c(e.content[e.content.length-1])?i(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}({},e),{content:e.content.slice(0,-1)}):e}}(Pt)),Pt}var Bt,Lt,Ot={},Gt={};function Mt(){return Lt?Bt:(Lt=1,Bt=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype})}var Dt,Vt,Ft={};function Ht(){return Dt||(Dt=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get enumError(){return s},get maxSizeError(){return o},get minSizeError(){return i},get requiredPropertyError(){return l},get typeMismatchError(){return r},get unknownPropertyError(){return a}});var r=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},i=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},o=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},s=function(e){var t=e.expected,r=e.value,i=e.path;return{details:"Value must be one of expected values",name:"in",expected:n(t).sort(),path:i.toArray(),value:r}},a=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},l=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}}(Ft)),Ft}function Wt(){return Vt||(Vt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ObjectAssertion",{enumerable:!0,get:function(){return l}});var t=s(Mt()),n=Ht();function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(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 l=function(){function e(r,i){var s=this,l=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o(this,"obj",void 0),o(this,"path",void 0),o(this,"_errors",void 0),o(this,"catch",void 0),o(this,"exists",void 0),o(this,"object",void 0),o(this,"string",void 0),o(this,"number",void 0),o(this,"array",void 0),o(this,"enum",void 0),o(this,"empty",void 0),o(this,"minLength",void 0),o(this,"noAdditionalProperties",void 0),o(this,"each",void 0),this.obj=r,this.path=i,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=l._errors).push.apply(r,a(t))},this.exists=function(e){return e in s.obj||(s.catch((0,n.requiredPropertyError)({property:e,path:s.path.of(e)})),!1)},this.object=function(e){var r=e?s.obj[e]:s.obj;if(e&&!s.exists(e))return!1;if((0,t.default)(r))return!0;var i,o=e?s.path.of(e):s.path,a=null!==(i=null!=e?e:s.path.last())&&void 0!==i?i:"value";return s.catch((0,n.typeMismatchError)({typeName:"Object",property:a,path:o,value:r})),!1},this.string=function(e){var t=s.obj[e];return!(e&&!s.exists(e))&&("string"==typeof t||(s.catch((0,n.typeMismatchError)({typeName:"String",property:e,path:s.path.of(e),value:t})),!1))},this.number=function(e,t){var r=s.obj[e];return!(!t||e in s.obj)||!!s.exists(e)&&("number"==typeof r&&!Number.isNaN(r)||(s.catch((0,n.typeMismatchError)({typeName:"Number",property:e,path:s.path.of(e),value:r})),!1))},this.array=function(e){var t=s.obj[e];return!(e&&!s.exists(e))&&(!!Array.isArray(t)||(s.catch((0,n.typeMismatchError)({typeName:"Array",property:e,path:s.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=s.obj[e];return!("string"!=typeof r||!t.includes(r))||(s.catch((0,n.enumError)({expected:t,value:r,path:s.path.of(e)})),!1)},this.empty=function(e){if(!s.array(e))return!1;var t=s.obj[e];return 0===t.length||(s.catch((0,n.maxSizeError)({max:0,value:t,path:s.path.of(e)})),!1)},this.minLength=function(e,t){if(!s.array(e))return!1;var r=s.obj[e];return r.length>=t||(s.catch((0,n.minSizeError)({min:t,value:r,path:s.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(s.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return s.catch((0,n.unknownPropertyError)({property:e,path:s.path.of(e)}))}),0===t.length},this.each=function(e,t){if(s.array(e)){var n=s.obj[e],r=!1;n.forEach(function(n,i){if(!r){var o=t(n,s.path.of(e).of(i));o.length>0&&(r=!0),s.catch.apply(s,a(o))}})}}}return i(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}()}(Gt)),Gt}var Xt,zt={};function _t(){return Xt||(Xt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get EntityLinkAssertion(){return f},get HyperLinkAssertion(){return g},get NodeAssertion(){return h},get VOID_CONTENT(){return m},get assert(){return b},get assertLink(){return v}});var t=Wt();function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i(e,t,n){return t=l(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return r(e)}(e,p()?Reflect.construct(t,n||[],l(e).constructor):t.apply(e,n))}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(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}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(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.")}()}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}var m=[],h=function(){function e(t,n){o(this,e),a(this,"contentRule",void 0),a(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return s(e,[{key:"assert",value:function(e,n){var r=new t.ObjectAssertion(e,n);if(!r.object())return r.errors;r.noAdditionalProperties(["nodeType","data","content"]);var i=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,n),o=i.nodeTypes,s=i.min,a=void 0===s?0:s;if(0===o.length&&a>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(a," with no nodeTypes"));if(r.minLength("content",a),0===o.length?r.empty("content"):r.each("content",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.enum("nodeType",o),r.errors):r.errors}),r.object("data")){var l,c,u,p=null!==(u=null===(c=this.validateData)||void 0===c?void 0:c.call(this,e.data,n.of("data")))&&void 0!==u?u:[];(l=r).catch.apply(l,d(p))}return r.errors}}]),e}(),f=function(e){function n(e,s){var l;return o(this,n),l=i(this,n,[s,function(e,t){return r(l).assertLink(e,t)}]),a(l,"linkType",void 0),a(l,"type",void 0),a(l,"assertLink",void 0),l.linkType=e,l.assertLink=function(e,n){var r=new t.ObjectAssertion(e,n);if(r.object("target")){var i,o=new t.ObjectAssertion(e.target.sys,n.of("target").of("sys"));o.object()&&(o.enum("type",[l.type]),o.enum("linkType",[l.linkType]),"Link"===l.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===l.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=r).catch.apply(i,d(o.errors))}return r.noAdditionalProperties(["target"]),r.errors},l.type=l.linkType.startsWith("Contentful:")?"ResourceLink":"Link",l}return c(n,e),n}(h),g=function(e){function n(){var e;return o(this,n),e=i(this,n,[["text"],function(t,n){return r(e).assertLink(t,n)}]),a(e,"assertLink",function(e,n){var r=new t.ObjectAssertion(e,n);return r.string("uri"),r.noAdditionalProperties(["uri"]),r.errors}),e}return c(n,e),n}(h),b=function(e,t){return new h(e,t)},v=function(e,t){return new f(e,t)}}(zt)),zt}var Zt,Yt={};function Jt(){return Zt||(Zt=1,function(e){function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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.")}()}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Path",{enumerable:!0,get:function(){return i}});var i=function e(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n(this,"path",void 0),n(this,"of",void 0),n(this,"isRoot",void 0),n(this,"last",void 0),n(this,"toArray",void 0),this.path=i,this.of=function(n){return new e(r(t.path).concat([n]))},this.isRoot=function(){return 0===t.path.length},this.last=function(){return t.path[t.path.length-1]},this.toArray=function(){return t.path}}}(Yt)),Yt}var Ut,$t,Kt,Qt,qt={};function en(){return $t||($t=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"validateRichTextDocument",{enumerable:!0,get:function(){return v}});var t=ht(),n=bt(),r=It(),i=Wt(),o=_t(),s=Jt(),a=(Ut||(Ut=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertText",{enumerable:!0,get:function(){return n}});var t=Wt();function n(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,n){var r=new t.ObjectAssertion(e,n);return r.object()?(r.string("type"),r.errors):r.errors}),r.string("value"),r.errors):r.errors}}(qt)),qt);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(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 d,p=(0,o.assert)(u(Object.values(n.INLINES)).concat(["text"]).sort()),m=(0,o.assert)([t.BLOCKS.LIST_ITEM]),h=(0,o.assertLink)("Entry",o.VOID_CONTENT),f=(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new i.ObjectAssertion(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),g=(c(d={},t.BLOCKS.DOCUMENT,(0,o.assert)(r.TOP_LEVEL_BLOCKS)),c(d,t.BLOCKS.PARAGRAPH,p),c(d,t.BLOCKS.HEADING_1,p),c(d,t.BLOCKS.HEADING_2,p),c(d,t.BLOCKS.HEADING_3,p),c(d,t.BLOCKS.HEADING_4,p),c(d,t.BLOCKS.HEADING_5,p),c(d,t.BLOCKS.HEADING_6,p),c(d,t.BLOCKS.QUOTE,(0,o.assert)(r.CONTAINERS[t.BLOCKS.QUOTE])),c(d,t.BLOCKS.EMBEDDED_ENTRY,h),c(d,t.BLOCKS.EMBEDDED_ASSET,(0,o.assertLink)("Asset",o.VOID_CONTENT)),c(d,t.BLOCKS.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,t.BLOCKS.HR,(0,o.assert)(o.VOID_CONTENT)),c(d,t.BLOCKS.OL_LIST,m),c(d,t.BLOCKS.UL_LIST,m),c(d,t.BLOCKS.LIST_ITEM,(0,o.assert)(u(r.LIST_ITEM_BLOCKS).sort())),c(d,t.BLOCKS.TABLE,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}})),c(d,t.BLOCKS.TABLE_ROW,(0,o.assert)(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}})),c(d,t.BLOCKS.TABLE_CELL,f),c(d,t.BLOCKS.TABLE_HEADER_CELL,f),c(d,n.INLINES.HYPERLINK,new o.HyperLinkAssertion),c(d,n.INLINES.EMBEDDED_ENTRY,h),c(d,n.INLINES.EMBEDDED_RESOURCE,(0,o.assertLink)("Contentful:Entry",o.VOID_CONTENT)),c(d,n.INLINES.ENTRY_HYPERLINK,(0,o.assertLink)("Entry",["text"])),c(d,n.INLINES.ASSET_HYPERLINK,(0,o.assertLink)("Asset",["text"])),c(d,n.INLINES.RESOURCE_HYPERLINK,(0,o.assertLink)("Contentful:Entry",["text"])),d);function b(e,t){if("text"===e.nodeType)return(0,a.assertText)(e,t);var n=g[e.nodeType].assert(e,t);if(n.length>0)return n;var r=new i.ObjectAssertion(e,t);return r.each("content",function(e,t){return b(e,t)}),r.errors}var v=function(e){var n=new s.Path,r=new i.ObjectAssertion(e,n);return r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0?r.errors:b(e,n)}}(Ot)),Ot}function tn(){return Kt||(Kt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,n).get})}(e,{get BLOCKS(){return t.BLOCKS},get EMPTY_DOCUMENT(){return i.EMPTY_DOCUMENT},get INLINES(){return n.INLINES},get MARKS(){return r.MARKS},get helpers(){return o},get validateRichTextDocument(){return s.validateRichTextDocument}});var t=ht(),n=bt(),r=yt();a(It(),e),a((Nt||(Nt=1,Object.defineProperty(At,"__esModule",{value:!0})),At),e),a((Et||(Et=1,Object.defineProperty(jt,"__esModule",{value:!0})),jt),e);var i=(Tt||(Tt=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return n}});var t=ht(),n={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}}(St)),St),o=c(Rt()),s=en();function a(e,t){return Object.keys(e).forEach(function(n){"default"===n||Object.prototype.hasOwnProperty.call(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[n]}})}),e}function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}function c(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=l(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}}(pt)),pt}var nn=function(){if(Qt)return dt;Qt=1;var e=l.default,t=tn();function n(t,n){return t.map((t,i)=>{return o=r(t,n),s=i,e.isValidElement(o)&&null===o.key?e.cloneElement(o,{key:s}):o;var o,s})}function r(r,i){const{renderNode:o,renderMark:s,renderText:a,preserveWhitespace:l}=i;if(t.helpers.isText(r)){let t=a?a(r.value):r.value;if(l&&!a){t=t.replace(/ {2,}/g,e=>" ".repeat(e.length));const n=t.split("\n"),r=[];n.forEach((t,i)=>{r.push(t),i!==n.length-1&&r.push(e.createElement("br",null))}),t=r}return r.marks.reduce((e,t)=>s[t.type]?s[t.type](e):e,t)}{const t=n(r.content,i);return r.nodeType&&o[r.nodeType]?o[r.nodeType](r,t):e.createElement(e.Fragment,null,t)}}const i={[t.BLOCKS.DOCUMENT]:(e,t)=>t,[t.BLOCKS.PARAGRAPH]:(t,n)=>e.createElement("p",null,n),[t.BLOCKS.HEADING_1]:(t,n)=>e.createElement("h1",null,n),[t.BLOCKS.HEADING_2]:(t,n)=>e.createElement("h2",null,n),[t.BLOCKS.HEADING_3]:(t,n)=>e.createElement("h3",null,n),[t.BLOCKS.HEADING_4]:(t,n)=>e.createElement("h4",null,n),[t.BLOCKS.HEADING_5]:(t,n)=>e.createElement("h5",null,n),[t.BLOCKS.HEADING_6]:(t,n)=>e.createElement("h6",null,n),[t.BLOCKS.EMBEDDED_ENTRY]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.EMBEDDED_RESOURCE]:(t,n)=>e.createElement("div",null,n),[t.BLOCKS.UL_LIST]:(t,n)=>e.createElement("ul",null,n),[t.BLOCKS.OL_LIST]:(t,n)=>e.createElement("ol",null,n),[t.BLOCKS.LIST_ITEM]:(t,n)=>e.createElement("li",null,n),[t.BLOCKS.QUOTE]:(t,n)=>e.createElement("blockquote",null,n),[t.BLOCKS.HR]:()=>e.createElement("hr",null),[t.BLOCKS.TABLE]:(t,n)=>e.createElement("table",null,e.createElement("tbody",null,n)),[t.BLOCKS.TABLE_ROW]:(t,n)=>e.createElement("tr",null,n),[t.BLOCKS.TABLE_HEADER_CELL]:(t,n)=>e.createElement("th",null,n),[t.BLOCKS.TABLE_CELL]:(t,n)=>e.createElement("td",null,n),[t.INLINES.ASSET_HYPERLINK]:e=>s(t.INLINES.ASSET_HYPERLINK,e),[t.INLINES.ENTRY_HYPERLINK]:e=>s(t.INLINES.ENTRY_HYPERLINK,e),[t.INLINES.RESOURCE_HYPERLINK]:e=>a(t.INLINES.RESOURCE_HYPERLINK,e),[t.INLINES.EMBEDDED_ENTRY]:e=>s(t.INLINES.EMBEDDED_ENTRY,e),[t.INLINES.EMBEDDED_RESOURCE]:(e,n)=>a(t.INLINES.EMBEDDED_RESOURCE,e),[t.INLINES.HYPERLINK]:(t,n)=>e.createElement("a",{href:t.data.uri},n)},o={[t.MARKS.BOLD]:t=>e.createElement("b",null,t),[t.MARKS.ITALIC]:t=>e.createElement("i",null,t),[t.MARKS.UNDERLINE]:t=>e.createElement("u",null,t),[t.MARKS.CODE]:t=>e.createElement("code",null,t),[t.MARKS.SUPERSCRIPT]:t=>e.createElement("sup",null,t),[t.MARKS.SUBSCRIPT]:t=>e.createElement("sub",null,t),[t.MARKS.STRIKETHROUGH]:t=>e.createElement("s",null,t)};function s(t,n){return e.createElement("span",{key:n.data.target.sys.id},"type: ",n.nodeType," id: ",n.data.target.sys.id)}function a(t,n){return e.createElement("span",{key:n.data.target.sys.urn},"type: ",n.nodeType," urn: ",n.data.target.sys.urn)}return dt.documentToReactComponents=function(e,n={}){if(!e)return null;let s=e;return n.stripEmptyTrailingParagraph&&(s=t.helpers.stripEmptyTrailingParagraphFromDocument(e)),r(s,{renderNode:{...i,...n.renderNode},renderMark:{...o,...n.renderMark},renderText:n.renderText,preserveWhitespace:n.preserveWhitespace})},dt}(),rn=function(e){return e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell",e}({}),on=function(e){return e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e}({}),sn=function(e){return e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough",e}({});function an(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var cn,un=[rn.PARAGRAPH,rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6,rn.OL_LIST,rn.UL_LIST,rn.HR,rn.QUOTE,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,rn.EMBEDDED_RESOURCE,rn.TABLE],dn=[rn.PARAGRAPH,rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6,rn.OL_LIST,rn.UL_LIST,rn.HR,rn.QUOTE,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,rn.EMBEDDED_RESOURCE];rn.TABLE,rn.TABLE_ROW,rn.TABLE_CELL,rn.TABLE_HEADER_CELL,rn.HR,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,rn.EMBEDDED_RESOURCE;var pn,mn=(ln(cn={},rn.OL_LIST,[rn.LIST_ITEM]),ln(cn,rn.UL_LIST,[rn.LIST_ITEM]),ln(cn,rn.LIST_ITEM,dn),ln(cn,rn.QUOTE,[rn.PARAGRAPH]),ln(cn,rn.TABLE,[rn.TABLE_ROW]),ln(cn,rn.TABLE_ROW,[rn.TABLE_CELL,rn.TABLE_HEADER_CELL]),ln(cn,rn.TABLE_CELL,[rn.PARAGRAPH,rn.UL_LIST,rn.OL_LIST]),ln(cn,rn.TABLE_HEADER_CELL,[rn.PARAGRAPH]),cn),hn=[rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6];[rn.PARAGRAPH].concat(function(e){if(Array.isArray(e))return an(e)}(pn=hn)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(pn)||function(e,t){if(e){if("string"==typeof e)return an(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?an(e,t):void 0}}(pn)||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.")}()),rn.DOCUMENT,rn.PARAGRAPH,rn.HEADING_1,rn.HEADING_2,rn.HEADING_3,rn.HEADING_4,rn.HEADING_5,rn.HEADING_6,rn.OL_LIST,rn.UL_LIST,rn.LIST_ITEM,rn.HR,rn.QUOTE,rn.EMBEDDED_ENTRY,rn.EMBEDDED_ASSET,on.HYPERLINK,on.ENTRY_HYPERLINK,on.ASSET_HYPERLINK,on.EMBEDDED_ENTRY,rn.DOCUMENT,rn.PARAGRAPH;var fn=ct(Mt());function gn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function bn(e){return function(e){if(Array.isArray(e))return gn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return gn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gn(e,t)}(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 vn=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}};function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function yn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Cn(e){return function(e){if(Array.isArray(e))return xn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return xn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return xn(e,t)}(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 In=function(){function e(t,n){var r=this,i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),wn(this,"obj",void 0),wn(this,"path",void 0),wn(this,"_errors",void 0),wn(this,"catch",void 0),wn(this,"exists",void 0),wn(this,"object",void 0),wn(this,"string",void 0),wn(this,"number",void 0),wn(this,"array",void 0),wn(this,"enum",void 0),wn(this,"empty",void 0),wn(this,"minLength",void 0),wn(this,"noAdditionalProperties",void 0),wn(this,"each",void 0),this.obj=t,this.path=n,this._errors=[],this.catch=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;(r=i._errors).push.apply(r,Cn(t))},this.exists=function(e){return e in r.obj||(r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}}({property:e,path:r.path.of(e)})),!1)},this.object=function(e){var t=e?r.obj[e]:r.obj;if(e&&!r.exists(e))return!1;if(fn(t))return!0;var n,i=e?r.path.of(e):r.path,o=null!==(n=null!=e?e:r.path.last())&&void 0!==n?n:"value";return r.catch(vn({typeName:"Object",property:o,path:i,value:t})),!1},this.string=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&("string"==typeof t||(r.catch(vn({typeName:"String",property:e,path:r.path.of(e),value:t})),!1))},this.number=function(e,t){var n=r.obj[e];return!(!t||e in r.obj)||!!r.exists(e)&&("number"==typeof n&&!Number.isNaN(n)||(r.catch(vn({typeName:"Number",property:e,path:r.path.of(e),value:n})),!1))},this.array=function(e){var t=r.obj[e];return!(e&&!r.exists(e))&&(!!Array.isArray(t)||(r.catch(vn({typeName:"Array",property:e,path:r.path.of(e),value:t})),!1))},this.enum=function(e,t){var n=r.obj[e];return!("string"!=typeof n||!t.includes(n))||(r.catch(function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:bn(t).sort(),path:r.toArray(),value:n}}({expected:t,value:n,path:r.path.of(e)})),!1)},this.empty=function(e){if(!r.array(e))return!1;var t=r.obj[e];return 0===t.length||(r.catch(function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}}({max:0,value:t,path:r.path.of(e)})),!1)},this.minLength=function(e,t){if(!r.array(e))return!1;var n=r.obj[e];return n.length>=t||(r.catch(function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}}({min:t,value:n,path:r.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(r.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return r.catch(function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}}({property:e,path:r.path.of(e)}))}),0===t.length},this.each=function(e,t){if(r.array(e)){var n=r.obj[e],i=!1;n.forEach(function(n,o){if(!i){var s=t(n,r.path.of(e).of(o));s.length>0&&(i=!0),r.catch.apply(r,Cn(s))}})}}}return yn(e,[{key:"errors",get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})}}]),e}();function Nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function An(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function En(e,t,n){return t=kn(t),function(e,t){if(t&&("object"==(n=t,n&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;var n;return An(e)}(e,Ln()?Reflect.construct(t,n||[],kn(e).constructor):t.apply(e,n))}function jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tn(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}function Sn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kn(e){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},kn(e)}function Pn(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}}),t&&Rn(e,t)}function Rn(e,t){return Rn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Rn(e,t)}function Bn(e){return function(e){if(Array.isArray(e))return Nn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Nn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Nn(e,t)}(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.")}()}function Ln(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ln=function(){return!!e})()}var On=[],Gn=function(){function e(t,n){jn(this,e),Sn(this,"contentRule",void 0),Sn(this,"validateData",void 0),this.contentRule=t,this.validateData=n}return Tn(e,[{key:"assert",value:function(e,t){var n=new In(e,t);if(!n.object())return n.errors;n.noAdditionalProperties(["nodeType","data","content"]);var r=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),i=r.nodeTypes,o=r.min,s=void 0===o?0:o;if(0===i.length&&s>0)throw new Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(s," with no nodeTypes"));if(n.minLength("content",s),0===i.length?n.empty("content"):n.each("content",function(e,t){var n=new In(e,t);return n.object()?(n.enum("nodeType",i),n.errors):n.errors}),n.object("data")){var a,l,c,u=null!==(c=null===(l=this.validateData)||void 0===l?void 0:l.call(this,e.data,t.of("data")))&&void 0!==c?c:[];(a=n).catch.apply(a,Bn(u))}return n.errors}}]),e}(),Mn=function(e){function t(e,n){var r;return jn(this,t),r=En(this,t,[n,function(e,t){return An(r).assertLink(e,t)}]),Sn(r,"linkType",void 0),Sn(r,"type",void 0),Sn(r,"assertLink",void 0),r.linkType=e,r.assertLink=function(e,t){var n=new In(e,t);if(n.object("target")){var i,o=new In(e.target.sys,t.of("target").of("sys"));o.object()&&(o.enum("type",[r.type]),o.enum("linkType",[r.linkType]),"Link"===r.type?(o.string("id"),o.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(o.string("urn"),o.noAdditionalProperties(["type","linkType","urn"]))),(i=n).catch.apply(i,Bn(o.errors))}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return Pn(t,e),t}(Gn),Dn=function(e){function t(){var e;return jn(this,t),e=En(this,t,[["text"],function(t,n){return An(e).assertLink(t,n)}]),Sn(e,"assertLink",function(e,t){var n=new In(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors}),e}return Pn(t,e),t}(Gn),Vn=function(e,t){return new Gn(e,t)},Fn=function(e,t){return new Mn(e,t)};function Hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xn(e){return function(e){if(Array.isArray(e))return Hn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Hn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Hn(e,t)}(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 zn,_n=Vn(Xn(Object.values(on)).concat(["text"]).sort()),Zn=Vn([rn.LIST_ITEM]),Yn=Fn("Entry",On),Jn=Vn(function(){return{nodeTypes:[rn.PARAGRAPH],min:1}},function(e,t){var n=new In(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors});Wn(zn={},rn.DOCUMENT,Vn(un)),Wn(zn,rn.PARAGRAPH,_n),Wn(zn,rn.HEADING_1,_n),Wn(zn,rn.HEADING_2,_n),Wn(zn,rn.HEADING_3,_n),Wn(zn,rn.HEADING_4,_n),Wn(zn,rn.HEADING_5,_n),Wn(zn,rn.HEADING_6,_n),Wn(zn,rn.QUOTE,Vn(mn[rn.QUOTE])),Wn(zn,rn.EMBEDDED_ENTRY,Yn),Wn(zn,rn.EMBEDDED_ASSET,Fn("Asset",On)),Wn(zn,rn.EMBEDDED_RESOURCE,Fn("Contentful:Entry",On)),Wn(zn,rn.HR,Vn(On)),Wn(zn,rn.OL_LIST,Zn),Wn(zn,rn.UL_LIST,Zn),Wn(zn,rn.LIST_ITEM,Vn(Xn(dn).sort())),Wn(zn,rn.TABLE,Vn(function(){return{nodeTypes:[rn.TABLE_ROW],min:1}})),Wn(zn,rn.TABLE_ROW,Vn(function(){return{nodeTypes:[rn.TABLE_CELL,rn.TABLE_HEADER_CELL],min:1}})),Wn(zn,rn.TABLE_CELL,Jn),Wn(zn,rn.TABLE_HEADER_CELL,Jn),Wn(zn,on.HYPERLINK,new Dn),Wn(zn,on.EMBEDDED_ENTRY,Yn),Wn(zn,on.EMBEDDED_RESOURCE,Fn("Contentful:Entry",On)),Wn(zn,on.ENTRY_HYPERLINK,Fn("Entry",["text"])),Wn(zn,on.ASSET_HYPERLINK,Fn("Asset",["text"])),Wn(zn,on.RESOURCE_HYPERLINK,Fn("Contentful:Entry",["text"]));const Un={green:"#209A61",yellow:"#F5FF36",blue:"#0393BA"},$n=t.forwardRef(({children:t,className:n="",variant:r="unstyled",style:i,...o},s)=>{const a=Ae("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e.jsx("li",{ref:s,className:a,style:i,...o,children:t})});$n.displayName="ListItem";const Kn=t.forwardRef(({type:t="ul",items:n,className:r="",renderItem:i,children:o,variant:s="unstyled",style:a,...l},c)=>{const u=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),d=Ae(u,`list--${t}`,`list--${s}`,r),p=o||(n&&0!==n.length?n.map((t,n)=>i?i(t,n):e.jsx($n,{className:t.className,variant:s,children:t.content},t.id||n)):null),m={className:d,style:a,...l,children:p};return"ol"===t?e.jsx("ol",{...m,ref:c,role:"list"}):e.jsx("ul",{...m,ref:c,role:"list"})});Kn.displayName="List";const Qn=({name:t,fill:n=0,opticalSize:r="48dp",weight:i="200",emphasis:o=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${i}, 'GRAD' ${o}, 'opsz' ${r.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:Ae("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,"aria-hidden":"true",children:t})};Qn.displayName="MaterialIcon";const qn=t.forwardRef(({children:e,as:t,className:n="",style:r,...i},o)=>{const s=t||"p";return l.default.createElement(s,{ref:o,className:n,style:r,...i},e)});qn.displayName="Text";const er=t=>{const{items:n,listIconName:r="check",listItemClassName:i,listContainerClassName:o,iconSize:s=20,iconPosition:a="center",iconColor:c="green",iconClassName:u}=t,d="disc"!==r;if(!(null==n?void 0:n.length))return null;const p=t=>{if("string"==typeof t&&t.includes("|")&&(t.match(/\|/g)||[]).length%2==0){const n=t.split("|"),r=(t.match(/\|/g)||[]).length;return n.map((t,n)=>{if(!t)return null;return r>1&&n%2==1?e.jsx(qn,{as:"span",style:{fontWeight:900},children:t},n):e.jsx("span",{children:t},n)})}return t};return e.jsx(Kn,{className:Ae("mt-2 space-y-1",o),variant:d?"unstyled":"default",children:n.map((t,n)=>{const o=function(e){return null!==e&&"object"==typeof e&&!l.default.isValidElement(e)&&"title"in e}(t),m=o&&!!t.iconUrl,h=o?t.title:t;return e.jsxs($n,{variant:d?"unstyled":"default",className:Ae(`${d?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[d&&m?e.jsx("div",{className:"flex shrink-0 leading-none",children:e.jsx("img",{src:t.iconUrl,alt:t.iconAlt||"",width:s,height:s,className:Ae("block object-contain","top"===a?"mt-1":"",u)})}):d?e.jsx("div",{className:"flex leading-none",children:e.jsx(Qn,{name:r,size:s,color:Un[c],weight:"600",className:Ae("block","top"===a?"mt-1":"",u)})}):null,e.jsx(qn,{as:"div",children:p(h)})]},n)})})};var tr;er.displayName="Checklist";const nr="function"==typeof c.default?c.default:null!==(tr=c.default.default)&&void 0!==tr?tr:c.default,rr=t.forwardRef(({children:t,href:n,className:r="",onClick:i,variant:o="unstyled",style:s,external:a=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===o)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[o]||e.default,t].filter(Boolean).join(" ")})(),p=e=>{l?e.preventDefault():null==i||i(e)},m=Ae(d,`link--${o}`,l&&"link--disabled",r),h={...c,ref:u,className:m,style:s,href:l?void 0:n,onClick:p,...a&&!l&&{target:"_blank",rel:"noopener"},...l&&{"aria-disabled":!0,tabIndex:-1}};return l||a||"string"==typeof n&&n.startsWith("http")?e.jsx("a",{...h,children:t}):e.jsx(nr,{href:n||"#",ref:u,className:m,style:s,onClick:p,...c,children:t})});function ir(e,n){t.useEffect(()=>{if(!n)return;const t=()=>{const t=document.fullscreenElement||document.webkitFullscreenElement;n(t===e.current)};return document.addEventListener("fullscreenchange",t),document.addEventListener("webkitfullscreenchange",t),()=>{document.removeEventListener("fullscreenchange",t),document.removeEventListener("webkitfullscreenchange",t)}},[n,e])}rr.displayName="Link";const or=n=>{const{videoAssetUrl:r,videoAssetType:i,image:o,title:s,description:a,containerClassName:l,autoplay:c=!1,onPlay:u,onPause:d,onTimeUpdate:p,onEnded:m,onFullscreenToggle:h}=n,f=t.useRef(null);return ir(f,h),r?e.jsx("div",{className:Ae("relative h-0 w-full overflow-hidden pb-[56.25%]",l),children:e.jsxs("video",{ref:f,className:"absolute left-0 top-0 h-full w-full object-cover",controls:!0,playsInline:!0,preload:"metadata",autoPlay:c,poster:o||void 0,"aria-label":s||"Embedded video",onPlay:()=>null==u?void 0:u(),onPause:()=>null==d?void 0:d(),onEnded:()=>null==m?void 0:m(),onTimeUpdate:e=>null==p?void 0:p(e.currentTarget.currentTime,e.currentTarget.duration),children:[e.jsx("source",{src:r,type:i||"video/mp4"}),a||"Your browser does not support embedded videos."]})}):null},sr=({isHovered:t,containerClassName:n})=>e.jsx("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.jsx(Qn,{name:"play_arrow",size:72,fill:1,className:"max-w-[72px] transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),ar="undefined"!=typeof global&&"[object global]"==={}.toString.call(global),lr="undefined"!=typeof Bun,cr="undefined"!=typeof Deno,ur="function"==typeof WebSocketPair&&void 0!==caches?.default,dr=ar||lr||cr||ur;function pr(e,t){return 0===e.indexOf(t.toLowerCase())?e:`${t.toLowerCase()}${e.substr(0,1).toUpperCase()}${e.substr(1)}`}function mr(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function hr(e){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(e)}function fr(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.id,n=e.url,r=t||n;if(!r)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(i=r,!isNaN(parseFloat(i))&&isFinite(i)&&Math.floor(i)==i)return`https://vimeo.com/${r}`;var i;if(mr(r))return r.replace("http:","https:");if(t)throw new TypeError(`“${t}” is not a valid video id.`);throw new TypeError(`“${r}” is not a vimeo.com url.`)}const gr=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener";const o="string"==typeof t?[t]:t;return o.forEach(t=>{e[r](t,n)}),{cancel:()=>o.forEach(t=>e[i](t,n))}};function br(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;if(!e||!t||"function"!=typeof t.querySelectorAll)return null;const n=t.querySelectorAll("iframe");for(let t=0;t<n.length;t++)if(n[t]&&n[t].contentWindow===e)return n[t];return null}const vr=void 0!==Array.prototype.indexOf,xr="undefined"!=typeof window&&void 0!==window.postMessage;if(!(dr||vr&&xr))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var yr="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
6
6
  /*!
7
7
  * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
8
8
  * https://github.com/polygonplanet/weakmap-polyfill
@@ -14,7 +14,7 @@ function nt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r
14
14
  v0.8.1 (c) Kyle Simpson
15
15
  MIT License: http://getify.mit-license.org
16
16
  */
17
- var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function o(e,r){n.add(e,r),t||(t=i(n.drain))}function a(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function s(){for(var e=0;e<this.chain.length;e++)l(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function l(e,t,n){var r,i;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(i=a(r))?i.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function c(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=a(e))?o(function(){var r=new p(n);try{t.call(e,function(){c.apply(r,arguments)},function(){u.apply(r,arguments)})}catch(e){u.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&o(s,n))}catch(e){u.call(new p(n),e)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&o(s,t))}function d(e,t,n,r){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)})(i)}function p(e){this.def=e,this.triggered=!1}function m(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function h(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new m(this);this.then=function(e,n){var r={success:"function"!=typeof e||e,failure:"function"==typeof n&&n};return r.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}),t.chain.push(r),0!==t.state&&o(s,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){c.call(t,e)},function(e){u.call(t,e)})}catch(e){u.call(t,e)}}n=function(){var e,n,r;function i(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,o){r=new i(t,o),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();var f=e({},"constructor",h,!1);return h.prototype=f,e(f,"__NPO__",0,!1),e(h,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),e(h,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),e(h,"all",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var i=e.length,o=Array(i),a=0;d(t,e,function(e,t){o[e]=t,++a===i&&n(o)},r)})}),e(h,"race",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");d(t,e,function(e,t){n(t)},r)})}),h},(n=yr)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])},wr(Cr={exports:{}},Cr.exports),Cr.exports);const Nr=new WeakMap;function Er(e,t,n){const r=Nr.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Nr.set(e.element,r)}function Ar(e,t){return(Nr.get(e.element)||{})[t]||[]}function jr(e,t,n){const r=Nr.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Nr.set(e.element,r),!0;const i=r[t].indexOf(n);return-1!==i&&r[t].splice(i,1),Nr.set(e.element,r),r[t]&&0===r[t].length}function Tr(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function Sr(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};void 0!==n&&(r.value=n);const i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function kr(e,t){let n,r=[];if((t=Tr(t)).event){if("error"===t.event){Ar(e,t.data.method).forEach(n=>{const r=new Error(t.data.message);r.name=t.data.name,n.reject(r),jr(e,t.data.method,n)})}r=Ar(e,`event:${t.event}`),n=t.data}else if(t.method){const i=function(e,t){const n=Ar(e,t);if(n.length<1)return!1;const r=n.shift();return jr(e,t,r),r}(e,t.method);i&&(r.push(i),n=t.value)}r.forEach(t=>{try{if("function"==typeof t)return void t.call(e,n);t.resolve(n)}catch(e){}})}const Pr=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","disable_context_menu","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Rr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Pr.reduce((t,n)=>{const r=e.getAttribute(`data-vimeo-${n}`);return(r||""===r)&&(t[n]=""===r?1:r),t},t)}function Br(e,t){let{html:n}=e;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");const r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Lr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,i)=>{if(!mr(e))throw new TypeError(`“${e}” is not a vimeo.com url.`);const o=function(e){const t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const e of r)if(n.endsWith(e))return n;return"vimeo.com"}(e);let a=`https://${o}/api/oembed.json?url=${encodeURIComponent(e)}`;for(const e in t)t.hasOwnProperty(e)&&(a+=`&${e}=${encodeURIComponent(t[e])}`);const s="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;s.open("GET",a,!0),s.onload=function(){if(404!==s.status)if(403!==s.status)try{const t=JSON.parse(s.responseText);if(403===t.domain_status_code)return Br(t,n),void i(new Error(`“${e}” is not embeddable.`));r(t)}catch(e){i(e)}else i(new Error(`“${e}” is not embeddable.`));else i(new Error(`“${e}” was not found.`))},s.onerror=function(){const e=s.status?` (${s.status})`:"";i(new Error(`There was an error fetching the embed code from Vimeo${e}.`))},s.send()})}const Or={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class Gr extends EventTarget{logger;constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;super(),this.logger=r,this.init(t,e,{...Or,...n})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(e,t,n){if(await this.waitForTOReadyState(e,"open"),"viewer"===n.role){await this.updatePlayer(e,t,n);const r=gr(e,"change",()=>this.updatePlayer(e,t,n)),i=this.maintainPlaybackPosition(e,t,n);this.addEventListener("disconnect",()=>{i.cancel(),r.cancel()})}else{await this.updateTimingObject(e,t);const n=gr(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>n.cancel())}}async updateTimingObject(e,t){const[n,r,i]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:n,velocity:r?0:i})}async updatePlayer(e,t,n){const{position:r,velocity:i}=e.query();"number"==typeof r&&t.setCurrentTime(r),"number"==typeof i&&(0===i?!1===await t.getPaused()&&t.pause():i>0&&(!0===await t.getPaused()&&(await t.play().catch(async e=>{"NotAllowedError"===e.name&&n.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error("Couldn't play the video from TimingSrcConnector. Error:",e)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==i&&t.setPlaybackRate(i)))}maintainPlaybackPosition(e,t,n){const{allowedDrift:r,maxAllowedDrift:i,minCheckInterval:o,maxRateAdjustment:a,maxTimeToCatchUp:s}=n,l=1e3*Math.min(s,Math.max(o,i)),c=async()=>{if(0===e.query().velocity||!0===await t.getPaused())return;const n=e.query().position-await t.getCurrentTime(),o=Math.abs(n);if(this.log(`Drift: ${n}`),o>i)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(o>r){const e=o/s,r=e<a?(a-e)/2:a;await this.adjustSpeed(t,r*Math.sign(n)),this.log("Resync by playbackRate")}},u=setInterval(()=>c(),l);return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;const n=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${n}`),await e.setPlaybackRate(n),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(n=>{const r=()=>{e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})};r()})}}const Mr=new WeakMap,Dr=new WeakMap;let Vr={};class Fr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){const t=e.querySelector("iframe");t&&(e=t)}if("IFRAME"===e.nodeName&&!mr(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Mr.has(e))return Mr.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";const n=new Ir((n,r)=>{if(this._onMessage=e=>{if(!mr(e.origin)||this.element.contentWindow!==e.source)return;"*"===this.origin&&(this.origin=e.origin);const t=Tr(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){const e=new Error(t.data.message);return e.name=t.data.name,void r(e)}const i=t&&"ready"===t.event,o=t&&"ping"===t.method;if(i||o)return this.element.setAttribute("data-ready","true"),void n();kr(this,t)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){const n=Rr(e,t);Lr(fr(n),n,e).then(t=>{const n=Br(t,e);return this.element=n,this._originalElement=e,function(e,t){const n=Nr.get(e);Nr.set(t,n),Nr.delete(e)}(e,n),Mr.set(this.element,this),t}).catch(r)}});if(Dr.set(this,n),Mr.set(this.element,this),"IFRAME"===this.element.nodeName&&Sr(this,"ping"),Vr.isEnabled){const e=()=>Vr.exit();this.fullscreenchangeHandler=()=>{Vr.isFullscreen?Er(this,"event:exitFullscreen",e):jr(this,"event:exitFullscreen",e),this.ready().then(()=>{Sr(this,"fullscreenchange",Vr.isFullscreen)})},Vr.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return mr(e)}callMethod(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(null==e)throw new TypeError("You must pass a method name.");return new Ir((t,r)=>this.ready().then(()=>{Er(this,e,{resolve:t,reject:r}),0===n.length?n={}:1===n.length&&(n=n[0]),Sr(this,e,n)}).catch(r))}get(e){return new Ir((t,n)=>(e=pr(e,"get"),this.ready().then(()=>{Er(this,e,{resolve:t,reject:n}),Sr(this,e)}).catch(n)))}set(e,t){return new Ir((n,r)=>{if(e=pr(e,"set"),null==t)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{Er(this,e,{resolve:n,reject:r}),Sr(this,e,t)}).catch(r)})}on(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===Ar(this,`event:${e}`).length&&this.callMethod("addEventListener",e).catch(()=>{}),Er(this,`event:${e}`,t)}off(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");jr(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(e=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){const e=Dr.get(this)||new Ir((e,t)=>{t(new Error("Unknown player. Probably unloaded."))});return Ir.resolve(e)}addCuePoint(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t,showing:n})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return Vr.isEnabled?Vr.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return Vr.isEnabled?Vr.exit():this.callMethod("exitFullscreen")}getFullscreen(){return Vr.isEnabled?Ir.resolve(Vr.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new Ir(e=>{if(Dr.delete(this),Mr.delete(this.element),this._originalElement&&(Mr.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&"IFRAME"===this.element.nodeName&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&"DIV"===this.element.nodeName&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const e=this.element.querySelector("iframe");e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener("message",this._onMessage),Vr.isEnabled&&Vr.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return Ir.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new Ir((e,t)=>t(new TypeError("Argument must be an array.")));const t=new Ir(e=>e(null)),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return Ir.all(n)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,t){if(!e)throw new TypeError("A Timing Object must be provided.");await this.ready();const n=new Gr(this,e,t);return Sr(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",()=>Sr(this,"notifyTimingObjectDisconnect")),n}}dr||(Vr=function(){const e=function(){let e;const t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let n=0;const r=t.length,i={};for(;n<r;n++)if(e=t[n],e&&e[1]in document){for(n=0;n<e.length;n++)i[t[0][n]]=e[n];return i}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request:t=>new Promise((r,i)=>{const o=function(){n.off("fullscreenchange",o),r()};n.on("fullscreenchange",o);const a=(t=t||document.documentElement)[e.requestFullscreen]();a instanceof Promise&&a.then(o).catch(i)}),exit:()=>new Promise((t,r)=>{if(!n.isFullscreen)return void t();const i=function(){n.off("fullscreenchange",i),t()};n.on("fullscreenchange",i);const o=document[e.exitFullscreen]();o instanceof Promise&&o.then(i).catch(r)}),on(e,n){const r=t[e];r&&document.addEventListener(r,n)},off(e,n){const r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get:()=>Boolean(document[e.fullscreenElement])},element:{enumerable:!0,get:()=>document[e.fullscreenElement]},isEnabled:{enumerable:!0,get:()=>Boolean(document[e.fullscreenEnabled])}}),n}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=e=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(null!==e.getAttribute("data-vimeo-defer"))return;const t=Rr(e);Lr(fr(t),t,e).then(t=>Br(t,e)).catch(n)}catch(e){n(e)}})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",t=>{if(!mr(t.origin))return;if(!t.data||"spacechange"!==t.data.event)return;const n=t.source?br(t.source,e):null;n&&(n.parentElement.style.paddingBottom=`${t.data.data[0].bottom}px`)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",t=>{if(!mr(t.origin))return;const n=Tr(t.data);if(!n||"ready"!==n.event)return;const r=t.source?br(t.source,e):null;r&&hr(r.src)&&new Fr(r).callMethod("appendVideoMetadata",window.location.href)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;const t=e=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener("message",n=>{if(!mr(n.origin))return;const r=Tr(n.data);if(!r||"ready"!==r.event)return;const i=n.source?br(n.source,e):null;if(i&&hr(i.src)){const e=new Fr(i);e.getVideoId().then(t=>{const n=new RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(n&&n[1]){const t=decodeURI(n[1]);e.setCurrentTime(t)}}).catch(t)}})}(),function(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",e=>{if(!mr(e.origin))return;const t=Tr(e.data);if(!t||"drminitfailed"!==t.event)return;const n=e.source?br(e.source):null;if(!n)return;const r=n.getAttribute("allow")||"";if(!r.includes("encrypted-media")){n.setAttribute("allow",`${r}; encrypted-media`);const e=new URL(n.getAttribute("src"));return e.searchParams.set("forcereload","drm"),void n.setAttribute("src",e.toString())}})}());const Hr=e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""},Wr=n=>{const{link:r,containerClassName:i,autoplay:o=!1,debug:a=!1,onPlay:s,onPause:l,onTimeUpdate:c,onEnded:u,onFullscreenToggle:d}=n,p=t.useRef(null),{href:m,embedId:h}=t.useMemo(()=>{if(!r)return{href:"",embedId:""};const e=r.toString();return{href:e,embedId:Hr(e)}},[r]);if(a&&console.log("[VimeoEmbed] href:",m,"id:",h),t.useEffect(()=>{if(!h||!p.current)return;const e=new Fr(p.current),t=()=>null==s?void 0:s(),n=()=>null==l?void 0:l(),r=()=>null==u?void 0:u(),i=e=>null==c?void 0:c(e.seconds,e.duration),o=e=>null==d?void 0:d(e.fullscreen);return e.on("play",t),e.on("pause",n),e.on("ended",r),e.on("timeupdate",i),e.on("fullscreenchange",o),()=>{e.off("play",t),e.off("pause",n),e.off("ended",r),e.off("timeupdate",i),e.off("fullscreenchange",o),e.destroy().catch(()=>{})}},[h]),!h)return null;const f=new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}),g=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],i=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${h}?${f.toString()}`);return e.jsx("div",{className:Ee("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e.jsx("iframe",{ref:p,className:"absolute left-0 top-0 h-full w-full",src:g,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};let Xr=null;const zr=e=>{if(!e)return"";const t=e.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return t&&11===t[7].length?t[7]:""},_r=n=>{const{link:r,containerClassName:i,autoplay:o=!1,onPlay:a,onPause:s,onTimeUpdate:l,onEnded:c,onFullscreenToggle:u}=n,d=t.useMemo(()=>zr(r),[r]),p=t.useRef(null),m=t.useRef(null),h=t.useRef();return ir(m,u),t.useEffect(()=>{if(!d||!p.current)return;let e,t=!1;const n=document.createElement("div");return n.style.width="100%",n.style.height="100%",p.current.appendChild(n),function(){var e;return"undefined"==typeof window?Promise.reject(new Error("YouTube IFrame API requires a browser")):(null===(e=window.YT)||void 0===e?void 0:e.Player)?Promise.resolve(window.YT):Xr||(Xr=new Promise((e,t)=>{const n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{null==n||n(),e(window.YT)};let r=document.querySelector('script[src*="youtube.com/iframe_api"]');r||(r=document.createElement("script"),r.src="https://www.youtube.com/iframe_api",r.onerror=()=>{Xr=null,t(new Error("Failed to load YouTube IFrame API"))},document.head.appendChild(r))}),Xr)}().then(r=>{t||(e=new r.Player(n,{videoId:d,playerVars:{enablejsapi:1,autoplay:o?1:0,mute:o?1:0},events:{onReady:()=>{var t;const n=null===(t=e.getIframe)||void 0===t?void 0:t.call(e);n&&(n.className="absolute left-0 top-0 h-full w-full",m.current=n)},onStateChange:t=>{const n=r.PlayerState;t.data===n.PLAYING?(null==a||a(),clearInterval(h.current),h.current=setInterval(()=>{var t,n,r,i;const o=null!==(n=null===(t=null==e?void 0:e.getDuration)||void 0===t?void 0:t.call(e))&&void 0!==n?n:0,a=null!==(i=null===(r=null==e?void 0:e.getCurrentTime)||void 0===r?void 0:r.call(e))&&void 0!==i?i:0;null==l||l(a,o)},1e3)):t.data===n.PAUSED?(null==s||s(),clearInterval(h.current)):t.data===n.ENDED&&(null==c||c(),clearInterval(h.current))}}}))}).catch(()=>{}),()=>{var r;t=!0,clearInterval(h.current),null===(r=null==e?void 0:e.destroy)||void 0===r||r.call(e),n.remove()}},[d]),e.jsx("div",{className:Ee("relative h-full w-full overflow-hidden pb-[56.25%]",i),children:e.jsx("div",{ref:p,className:"absolute left-0 top-0 h-full w-full",title:"Embedded youtube"})})},Zr=(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})(u.default),Yr=({src:e,width:t,quality:n})=>{const r=e.startsWith("//")?`https:${e}`:e;let i;try{i=new URL(r)}catch(t){return e}return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},Jr=t.forwardRef(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net"),s=a&&o.endsWith(".svg"),l=a&&!s?{loader:Yr,unoptimized:!1}:{unoptimized:s};return e.jsx(Zr,{ref:r,className:Ee(t),...n,...l})});Jr.displayName="NextImage";const Ur=[25,50,75];const $r=({videoLink:n,imageWidth:r=660,imageHeight:i=660,useOriginalImageAspectRatio:o=!1,isAboveTheFold:a=!1,onVideoEvent:s})=>{var l;const[c,u]=t.useState(""),[d,p]=t.useState(!1),m=function(e){const n=t.useRef(new Set),r=t.useRef(!1),i=t.useRef(0),o=t.useRef(0),a=(t,n,r)=>{e&&e(n,{videoId:t.videoId,videoTitle:t.videoTitle,provider:t.provider,position:i.current,duration:o.current,percentComplete:o.current>0?Math.min(100,Math.round(i.current/o.current*100)):0,...r})};return{handlePlay:e=>a(e,"played"),handlePause:e=>a(e,"paused"),handleFullscreenToggle:(e,t)=>a(e,"fullscreen_toggled",{isFullscreen:t}),handleClosed:e=>a(e,"closed"),handleTimeUpdate:(e,t,s)=>{const l=Number.isFinite(t)?t:0,c=Number.isFinite(s)?s:0;if(i.current=l,o.current=c,c<=0)return;const u=Math.min(100,l/c*100);Ur.forEach(t=>{u>=t&&!n.current.has(t)&&(n.current.add(t),a(e,"progress"))}),u>=99.5&&!r.current&&(r.current=!0,a(e,"completed"))},handleEnded:e=>{r.current||(r.current=!0,o.current>0&&(i.current=o.current),a(e,"completed"))},reset:()=>{n.current=new Set,r.current=!1,i.current=0,o.current=0}}}(s),h=null==n?void 0:n.videoSourceType,f="contentful"===h?null==n?void 0:n.videoAssetUrl:null==n?void 0:n.link,g="string"==typeof f?f:"",b=null==n?void 0:n.image;if(!g)return b?e.jsx("div",{className:Ee(o?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e.jsx(Jr,{src:b,alt:"section-image",priority:a,fill:!o,width:o?r||660:void 0,height:o?i||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ee(o?"w-full":"object-cover")})}):null;const v=null!==(l=null==n?void 0:n.videoPopup)&&void 0!==l&&l,x=Boolean(c&&c===g),y="contentful"===h?"contentful":g.includes("vimeo")?"vimeo":"youtube",w="contentful"===y?(e=>{var t;if("string"!=typeof e||!e)return"";const[n]=e.split(/[?#]/);return null!==(t=n.split("/").filter(Boolean).pop())&&void 0!==t?t:e})(null==n?void 0:n.videoAssetUrl):"vimeo"===y?(C=g)?Hr(C.toString()):"":zr(g);var C;const I={videoId:w,videoTitle:null==n?void 0:n.title,provider:y},N=e=>{e.stopPropagation(),m.handleClosed(I),u("")},E=(()=>{const t={onPlay:()=>m.handlePlay(I),onPause:()=>m.handlePause(I),onTimeUpdate:(e,t)=>m.handleTimeUpdate(I,e,t),onEnded:()=>m.handleEnded(I),onFullscreenToggle:e=>m.handleFullscreenToggle(I,e)};return"contentful"===h?e.jsx(or,{videoAssetUrl:null==n?void 0:n.videoAssetUrl,videoAssetType:null==n?void 0:n.videoAssetType,image:b,title:null==n?void 0:n.title,description:null==n?void 0:n.description,autoplay:x,...t}):g.includes("vimeo")?e.jsx(Wr,{link:g,autoplay:x,...t}):e.jsx(_r,{link:g,autoplay:x,...t})})();return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:Ee("video-section relative w-full cursor-pointer rounded-image transition-all duration-300 lg:w-[486px]",!x&&"hover:ring-2 hover:ring-border-focus"),onClick:()=>{x||(m.reset(),u(g))},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:[e.jsxs("div",{className:Ee(x&&!v&&"hidden",x&&!v?"opacity-0":"opacity-100","relative w-full transition-opacity duration-300"),children:[b&&e.jsx(Jr,{src:b,alt:"Video preview",width:r||660,height:i||660,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:"h-auto w-full rounded-image"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(ar,{isHovered:d})})]}),!v&&x&&e.jsx("div",{className:Ee("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",x?"opacity-100":"opacity-0",!o&&"xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:E})]}),v&&x&&e.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 transition-all duration-300",onClick:N,children:e.jsxs("div",{"data-testid":"video-popup-content",className:"relative aspect-video w-[min(100%,calc(80vh*16/9))] max-w-[1280px] overflow-hidden rounded-2xl bg-black shadow-2xl md:rounded-3xl",onClick:e=>e.stopPropagation(),children:[e.jsx("button",{type:"button",onClick:N,"aria-label":"Close video","data-testid":"video-popup-close",className:"absolute right-3 top-3 z-10 flex h-9 w-9 items-center justify-center rounded-full bg-black/60 text-white transition-colors hover:bg-black/80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white sm:right-4 sm:top-4 sm:h-10 sm:w-10",children:e.jsx(Qn,{name:"close",className:"text-white"})}),E]})})]})},Kr=e=>Array.isArray(null==e?void 0:e.content)&&e.content.every(e=>"text"===(null==e?void 0:e.nodeType)&&(!e.value||""===e.value.trim())),Qr=(e,t)=>{var n,r,i,o,a,s,l,c;const u=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.target;if((null==u?void 0:u.fields)||(null===(r=null==u?void 0:u.sys)||void 0===r?void 0:r.contentType))return u;const d=null===(i=null==u?void 0:u.sys)||void 0===i?void 0:i.id;if(!d)return null;return null!==(c=[...null!==(a=null===(o=null==t?void 0:t.entries)||void 0===o?void 0:o.block)&&void 0!==a?a:[],...null!==(l=null===(s=null==t?void 0:t.entries)||void 0===s?void 0:s.inline)&&void 0!==l?l:[]].find(e=>{var t;return(null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.id)===d}))&&void 0!==c?c:null},qr=e=>{var t,n,r,i,o;return null!==(o=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.contentType)||void 0===n?void 0:n.sys)||void 0===r?void 0:r.id)&&void 0!==i?i:null==e?void 0:e.__typename)&&void 0!==o?o:""},ei=e=>{var t,n;return null!==(n=null!==(t=null==e?void 0:e.fields)&&void 0!==t?t:e)&&void 0!==n?n:{}},ti=e=>{var t,n,r,i,o,a,s,l,c,u,d,p,m,h,f,g,b,v,x;return{image:null!==(a=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.image)||void 0===t?void 0:t.fields)||void 0===n?void 0:n.file)||void 0===r?void 0:r.url)&&void 0!==i?i:null===(o=null==e?void 0:e.image)||void 0===o?void 0:o.url)&&void 0!==a?a:null==e?void 0:e.image,link:null==e?void 0:e.link,videoPopup:Boolean(null==e?void 0:e.videoPopup),videoSourceType:null==e?void 0:e.videoSourceType,videoAssetUrl:null!==(p=null!==(u=null===(c=null===(l=null===(s=null==e?void 0:e.videoAssetUrl)||void 0===s?void 0:s.fields)||void 0===l?void 0:l.file)||void 0===c?void 0:c.url)&&void 0!==u?u:null===(d=null==e?void 0:e.videoAssetUrl)||void 0===d?void 0:d.url)&&void 0!==p?p:null==e?void 0:e.videoAssetUrl,videoAssetType:null!==(v=null!==(g=null===(f=null===(h=null===(m=null==e?void 0:e.videoAssetUrl)||void 0===m?void 0:m.fields)||void 0===h?void 0:h.file)||void 0===f?void 0:f.contentType)&&void 0!==g?g:null===(b=null==e?void 0:e.videoAssetUrl)||void 0===b?void 0:b.contentType)&&void 0!==v?v:null==e?void 0:e.videoAssetType,title:null!==(x=null==e?void 0:e.title)&&void 0!==x?x:null==e?void 0:e.entryTitle,description:null==e?void 0:e.description}},ni=e=>{if(!e)return"";try{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;return new URL(t).hostname.toLowerCase()}catch(e){return""}},ri=e=>{const t=e.toLowerCase().replace(/\.$/,""),n=t.split(".").slice(-2).join("."),r=(t.slice(0,t.length-n.length).replace(/\.$/,"").split(".")[0]||"").replace(/-(dev|development|staging|stage|qa|test|uat|prod|production)$/,"");return`${n}|${""===r||"www"===r||"kinetic"===r?"main":r}`},ii=e=>{if(!/^https?:\/\//i.test(e))return!1;try{const t=new URL(e).hostname.toLowerCase(),n=ni(process.env.NEXT_PUBLIC_SITE_URL)||ni(process.env.NEXT_PUBLIC_MAIN_SITE_URL)||("undefined"!=typeof window?window.location.hostname.toLowerCase():"");return!n||ri(t)!==ri(n)}catch(e){return!1}},oi=t=>({renderMark:{[an.BOLD]:t=>e.jsx("strong",{className:"font-black",children:t}),[an.ITALIC]:t=>e.jsx("em",{children:t}),[an.UNDERLINE]:t=>e.jsx("u",{children:t}),[an.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[rn.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4 whitespace-pre-line",children:Kr(t)?"\n":n}),[rn.HEADING_1]:(t,n)=>e.jsx(qn,{as:"h1",className:"heading2 md:heading1",children:n}),[rn.HEADING_2]:(t,n)=>e.jsx(qn,{as:"h2",className:"heading3 md:heading2",children:n}),[rn.HEADING_3]:(t,n)=>e.jsx(qn,{as:"h3",className:"heading4 md:heading3",children:n}),[rn.HEADING_4]:(t,n)=>e.jsx(qn,{as:"h4",className:"heading5 md:heading4",children:n}),[rn.HEADING_5]:(t,n)=>e.jsx(qn,{as:"h5",className:"heading6 md:heading5",children:n}),[rn.HEADING_6]:(t,n)=>e.jsx(qn,{as:"h6",className:"heading6",children:n}),[rn.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[rn.UL_LIST]:(t,n)=>e.jsx("ul",{className:"list-disc pl-6",children:n}),[rn.OL_LIST]:(t,n)=>e.jsx("ol",{className:"list-decimal pl-6",children:n}),[rn.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[on.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=ii(i);return e.jsx("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener":void 0,children:n})},[rn.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,a=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.url),s=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!a)return null;const l=a.startsWith("//")?`https:${a}`:a;return e.jsx("img",{src:l,alt:s,style:{maxWidth:"100%"}})},[rn.EMBEDDED_ENTRY]:n=>{const r=Qr(n,t);if(!r)return null;const i=qr(r),o=ei(r);switch(i){case"callout":return e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:o.title}),e.jsx("div",{children:o.body})]});case"componentVideoLink":case"ComponentVideoLink":return e.jsx($r,{videoLink:ti(o)});default:return null}},[on.EMBEDDED_ENTRY]:n=>{var r;const i=Qr(n,t);if(!i)return null;const o=qr(i),a=ei(i);switch(o){case"componentCheckList":return e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",a.title]});case"componentVideoLink":case"ComponentVideoLink":return e.jsx($r,{videoLink:ti(a)});default:return e.jsx("span",{children:null!==(r=null==a?void 0:a.title)&&void 0!==r?r:""})}}}});function ai(t,n,r="body1",i="body1 font-bold",o,a){if(!t||!Array.isArray(t.content))return null;const s=oi(a),l={...s,...o,renderNode:{...s.renderNode,...null==o?void 0:o.renderNode,[rn.PARAGRAPH]:(t,n)=>e.jsx("div",{className:[r,"whitespace-pre-line"].filter(Boolean).join(" "),children:Kr(t)?"\n":n}),[on.HYPERLINK]:(t,r)=>{var o;const a=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,s=ii(a),l=null!=n?n:s;return e.jsx(rr,{href:a,target:l?"_blank":void 0,rel:l?"noopener":void 0,variant:"default",className:i,children:r})}}};return nn.documentToReactComponents(t,l)}const si={renderMark:{[an.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const li=t.forwardRef(({children:t,className:n="",style:r,disabled:i,...o},a)=>e.jsx("button",{ref:a,className:Ee(n),style:r,disabled:i,...o,children:t}));li.displayName="Button";const ci=n=>{const{open:r,children:i}=n,o=t.useRef(null),[a,s]=t.useState(0);t.useEffect(()=>{const e=o.current;if(!e)return;const t=()=>{s(r?e.scrollHeight:0)};let n;return t(),r&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[r,i]);const l=r?{}:{inert:""};return e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:a,opacity:r?1:0},"aria-hidden":!r,...l,children:e.jsx("div",{ref:o,children:i})})};ci.displayName="Collapse";const ui=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:a,titleClassName:s,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[m,h]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;h(e)}else h(Boolean(i))},[d,i]),e.jsxs("div",{className:Ee(p?"rounded-none border":"rounded-surface-xs border",a),children:[e.jsxs(li,{type:"button",className:Ee(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>h(e=>!e),children:[e.jsx("span",{className:Ee("label5 flex-1",s),children:r}),e.jsx(Qn,{className:Ee("flex-shrink-0",u),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(ci,{open:m,children:e.jsx("div",{className:Ee("px-4 py-4",l),children:o})})]})};ui.displayName="Accordion";const di=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ee("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};di.displayName="Divider";const pi={slow:30,medium:20,fast:10},mi={cream:"bg-[#FFFEEF]",gray90:"bg-[#FBFBFC]",white:"bg-white"},hi=({iconUrl:t,iconAlt:n,iconWidth:r,iconHeight:i,title:o,description:a},s)=>e.jsxs("div",{className:"ml-4 flex w-auto flex-shrink-0 items-center whitespace-nowrap",children:[e.jsx("img",{src:t,alt:null!=n?n:"",width:r,height:i,className:"w-[200px]"}),e.jsxs("div",{className:"w-[250px] text-center",children:[e.jsx("p",{className:"flex justify-center text-center text-body3 font-bold",children:o}),e.jsx("p",{className:"flex flex-wrap whitespace-normal text-center text-footnote",children:a})]})]},s),fi="pop",gi=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),bi=t.createContext({}),vi=t.createContext(null),xi="undefined"!=typeof document,yi=xi?t.useLayoutEffect:t.useEffect,wi=t.createContext({strict:!1});function Ci(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ii(e){return"string"==typeof e||Array.isArray(e)}function Ni(e){return"object"==typeof e&&"function"==typeof e.start}const Ei=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ai=["initial",...Ei];function ji(e){return Ni(e.animate)||Ai.some(t=>Ii(e[t]))}function Ti(e){return Boolean(ji(e)||e.variants)}function Si(e){const{initial:n,animate:r}=function(e,t){if(ji(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Ii(t)?t:void 0,animate:Ii(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(bi));return t.useMemo(()=>({initial:n,animate:r}),[ki(n),ki(r)])}function ki(e){return Array.isArray(e)?e.join(" "):e}const Pi={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"]},Ri={};for(const e in Pi)Ri[e]={isEnabled:t=>Pi[e].some(e=>!!t[e])};const Bi=t.createContext({}),Li=t.createContext({}),Oi=Symbol.for("motionComponentSymbol");function Gi({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(const t in e)Ri[t]={...Ri[t],...e[t]}}(e);const a=t.forwardRef(function(a,s){let c;const u={...t.useContext(gi),...a,layoutId:Mi(a)},{isStatic:d}=u,p=Si(a),m=i(a,d);if(!d&&xi){p.visualElement=function(e,n,r,i){const{visualElement:o}=t.useContext(bi),a=t.useContext(wi),s=t.useContext(vi),l=t.useContext(gi).reducedMotion,c=t.useRef();i=i||a.renderer,!c.current&&i&&(c.current=i(e,{visualState:n,parent:o,props:r,presenceContext:s,blockInitialAnimation:!!s&&!1===s.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(r,s)}),yi(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?yi:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(o,m,u,n);const r=t.useContext(Li),i=t.useContext(wi).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,i,e,r))}return l.createElement(bi.Provider,{value:p},c&&p.visualElement?l.createElement(c,{visualElement:p.visualElement,...u}):null,r(o,a,function(e,n,r){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):Ci(r)&&(r.current=t))},[n])}(m,p.visualElement,s),m,d,p.visualElement))});return a[Oi]=o,a}function Mi({layoutId:e}){const n=t.useContext(Bi).id;return n&&void 0!==e?n+"-"+e:e}function Di(e){function t(t,n={}){return Gi(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Vi=["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 Fi(e){return"string"==typeof e&&!e.includes("-")&&!!(Vi.indexOf(e)>-1||/[A-Z]/.test(e))}const Hi={};const Wi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xi=new Set(Wi);function zi(e,{layout:t,layoutId:n}){return Xi.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Hi[e]||"opacity"===e)}const _i=e=>Boolean(e&&e.getVelocity),Zi={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Yi=Wi.length;const Ji=e=>t=>"string"==typeof t&&t.startsWith(e),Ui=Ji("--"),$i=Ji("var(--"),Ki=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Qi=(e,t,n)=>Math.min(Math.max(n,e),t),qi={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},eo={...qi,transform:e=>Qi(0,1,e)},to={...qi,default:1},no=e=>Math.round(1e5*e)/1e5,ro=/(-)?([\d]*\.?[\d])+/g,io=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,oo=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ao(e){return"string"==typeof e}const so=e=>({test:t=>ao(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),lo=so("deg"),co=so("%"),uo=so("px"),po=so("vh"),mo=so("vw"),ho={...co,parse:e=>co.parse(e)/100,transform:e=>co.transform(100*e)},fo={...qi,transform:Math.round},go={borderWidth:uo,borderTopWidth:uo,borderRightWidth:uo,borderBottomWidth:uo,borderLeftWidth:uo,borderRadius:uo,radius:uo,borderTopLeftRadius:uo,borderTopRightRadius:uo,borderBottomRightRadius:uo,borderBottomLeftRadius:uo,width:uo,maxWidth:uo,height:uo,maxHeight:uo,size:uo,top:uo,right:uo,bottom:uo,left:uo,padding:uo,paddingTop:uo,paddingRight:uo,paddingBottom:uo,paddingLeft:uo,margin:uo,marginTop:uo,marginRight:uo,marginBottom:uo,marginLeft:uo,rotate:lo,rotateX:lo,rotateY:lo,rotateZ:lo,scale:to,scaleX:to,scaleY:to,scaleZ:to,skew:lo,skewX:lo,skewY:lo,distance:uo,translateX:uo,translateY:uo,translateZ:uo,x:uo,y:uo,z:uo,perspective:uo,transformPerspective:uo,opacity:eo,originX:ho,originY:ho,originZ:uo,zIndex:fo,fillOpacity:eo,strokeOpacity:eo,numOctaves:fo};function bo(e,t,n,r){const{style:i,vars:o,transform:a,transformOrigin:s}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Ui(e)){o[e]=n;continue}const r=go[e],d=Ki(n,r);if(Xi.has(e)){if(l=!0,a[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,s[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<Yi;t++){const n=Wi[t];void 0!==e[n]&&(o+=`${Zi[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=s;i.transformOrigin=`${e} ${t} ${n}`}}const vo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function xo(e,t,n){for(const r in t)_i(t[r])||zi(r,n)||(e[r]=t[r])}function yo(e,n,r){const i={};return xo(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},n,r){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return bo(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(i):i}function wo(e,t,n){const r={},i=yo(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const Co=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Io(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Co.has(e)}let No=e=>!Io(e);try{(Eo=require("@emotion/is-prop-valid").default)&&(No=e=>e.startsWith("on")?!Io(e):Eo(e))}catch(Nd){}var Eo;function Ao(e,t,n){return"string"==typeof e?e:uo.transform(t+n*e)}const jo={offset:"stroke-dashoffset",array:"stroke-dasharray"},To={offset:"strokeDashoffset",array:"strokeDasharray"};function So(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d,p){if(bo(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:f}=e;m.transform&&(f&&(h.transform=m.transform),delete m.transform),f&&(void 0!==i||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Ao(t,e.x,e.width)} ${Ao(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?jo:To;e[o.offset]=uo.transform(-r);const a=uo.transform(t),s=uo.transform(n);e[o.array]=`${a} ${s}`}(m,a,s,l,!1)}const ko=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Po=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ro(e,n,r,i){const o=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return So(t,n,{enableHardwareAcceleration:!1},Po(i),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};xo(t,e.style,e),o.style={...t,...o.style}}return o}function Bo(e=!1){return(n,r,i,{latestValues:o},a)=>{const s=(Fi(n)?Ro:wo)(r,o,a,n),l=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(No(i)||!0===n&&Io(i)||!t&&!Io(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(r,"string"==typeof n,e),c={...l,...s,ref:i},{children:u}=r,d=t.useMemo(()=>_i(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Lo=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Oo(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Go=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 Mo(e,t,n,r){Oo(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Go.has(n)?n:Lo(n),t.attrs[n])}function Do(e,t){const{style:n}=e,r={};for(const i in n)(_i(n[i])||t.style&&_i(t.style[i])||zi(i,e))&&(r[i]=n[i]);return r}function Vo(e,t){const n=Do(e,t);for(const r in e)if(_i(e[r])||_i(t[r])){n[-1!==Wi.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Fo(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}function Ho(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const Wo=e=>Array.isArray(e),Xo=e=>Wo(e)?e[e.length-1]||0:e;function zo(e){const t=_i(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const _o=e=>(n,r)=>{const i=t.useContext(bi),o=t.useContext(vi),a=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const a={latestValues:Zo(r,i,o,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,n,i,o);return r?a():Ho(a)};function Zo(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=zo(o[e]);let{initial:a,animate:s}=e;const l=ji(e),c=Ti(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&&!Ni(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Fo(e,t);if(!n)return;const{transitionEnd:r,transition:o,...a}=n;for(const e in a){let t=a[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const Yo={useVisualState:_o({scrapeMotionValuesFromProps:Vo,createRenderState:ko,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}So(n,r,{enableHardwareAcceleration:!1},Po(t.tagName),e.transformTemplate),Mo(t,n)}})},Jo={useVisualState:_o({scrapeMotionValuesFromProps:Do,createRenderState:vo})};function Uo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const $o=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ko(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Qo(e,t,n,r){return Uo(e,t,(e=>t=>$o(t)&&e(t,Ko(t)))(n),r)}const qo=(e,t)=>n=>t(e(n)),ea=(...e)=>e.reduce(qo);function ta(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const na=ta("dragHorizontal"),ra=ta("dragVertical");function ia(e){let t=!1;if("y"===e)t=ra();else if("x"===e)t=na();else{const e=na(),n=ra();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function oa(){const e=ia(!0);return!e||(e(),!1)}class aa{constructor(e){this.isMounted=!1,this.node=e}update(){}}const sa={delta:0,timestamp:0,isProcessing:!1};let la=!0,ca=!1;const ua=["read","update","preRender","render","postRender"],da=ua.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const a=new WeakSet,s={schedule:(e,o=!1,s=!1)=>{const l=s&&i,c=l?t:n;return o&&a.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),a.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),a.has(r)&&(s.schedule(r),e())}i=!1,o&&(o=!1,s.process(l))}}};return s}(()=>ca=!0),e),{}),pa=e=>da[e].process(sa),ma=e=>{ca=!1,sa.delta=la?1e3/60:Math.max(Math.min(e-sa.timestamp,40),1),sa.timestamp=e,sa.isProcessing=!0,ua.forEach(pa),sa.isProcessing=!1,ca&&(la=!1,requestAnimationFrame(ma))},ha=ua.reduce((e,t)=>{const n=da[t];return e[t]=(e,t=!1,r=!1)=>(ca||(ca=!0,la=!0,sa.isProcessing||requestAnimationFrame(ma)),n.schedule(e,t,r)),e},{});function fa(e){ua.forEach(t=>da[t].cancel(e))}function ga(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Qo(e.current,n,(n,i)=>{if("touch"===n.type||oa())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&ha.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const ba=(e,t)=>!!t&&(e===t||ba(e,t.parentElement)),va=e=>e;function xa(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ko(n))}const ya=new WeakMap,wa=new WeakMap,Ca=e=>{const t=ya.get(e.target);t&&t(e)},Ia=e=>{e.forEach(Ca)};function Na(e,t,n){const r=function({root:e,...t}){const n=e||document;wa.has(n)||wa.set(n,{});const r=wa.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Ia,{root:e,...t})),r[i]}(t);return ya.set(e,n),r.observe(e),()=>{ya.delete(e),r.unobserve(e)}}const Ea={some:0,all:1};const Aa={inView:{Feature:class extends aa{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Ea[r]};return Na(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends aa{constructor(){super(...arguments),this.removeStartListeners=va,this.removeEndListeners=va,this.removeAccessibleListeners=va,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Qo(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();ha.update(()=>{ba(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=Qo(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ea(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Uo(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Uo(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&xa("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&ha.update(()=>n(e,t))})}),xa("down",(e,t)=>{this.startPress(e,t)})}),t=Uo(this.node.current,"blur",()=>{this.isPressing&&xa("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=ea(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&ha.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!oa()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&ha.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Qo(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Uo(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ea(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends aa{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=ea(Uo(this.node.current,"focus",()=>this.onFocus()),Uo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends aa{mount(){this.unmount=ea(ga(this.node,!0),ga(this.node,!1))}unmount(){}}}};function ja(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ta(e,t,n){const r=e.getProps();return Fo(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Sa="data-"+Lo("framerAppearId");let ka=va,Pa=va;"production"!==process.env.NODE_ENV&&(ka=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Pa=(e,t)=>{if(!e)throw new Error(t)});const Ra=e=>1e3*e,Ba=e=>e/1e3,La=!1,Oa=e=>Array.isArray(e)&&"number"==typeof e[0];function Ga(e){return Boolean(!e||"string"==typeof e&&Da[e]||Oa(e)||Array.isArray(e)&&e.every(Ga))}const Ma=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Da={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ma([0,.65,.55,1]),circOut:Ma([.55,0,1,.45]),backIn:Ma([.31,.01,.66,-.59]),backOut:Ma([.33,1.53,.69,.99])};function Va(e){if(e)return Oa(e)?Ma(e):Array.isArray(e)?e.map(Va):Da[e]}const Fa={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ha={},Wa={};for(const e in Fa)Wa[e]=()=>(void 0===Ha[e]&&(Ha[e]=Fa[e]()),Ha[e]);const Xa=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function za(e,t,n,r){if(e===t&&n===r)return va;const i=t=>function(e,t,n,r,i){let o,a,s=0;do{a=t+(n-t)/2,o=Xa(a,r,i)-e,o>0?n=a:t=a}while(Math.abs(o)>1e-7&&++s<12);return a}(t,0,1,e,n);return e=>0===e||1===e?e:Xa(i(e),t,r)}const _a=za(.42,0,1,1),Za=za(0,0,.58,1),Ya=za(.42,0,.58,1),Ja=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ua=e=>t=>1-e(1-t),$a=e=>1-Math.sin(Math.acos(e)),Ka=Ua($a),Qa=Ja(Ka),qa=za(.33,1.53,.69,.99),es=Ua(qa),ts=Ja(es),ns={linear:va,easeIn:_a,easeInOut:Ya,easeOut:Za,circIn:$a,circInOut:Qa,circOut:Ka,backIn:es,backInOut:ts,backOut:qa,anticipate:e=>(e*=2)<1?.5*es(e):.5*(2-Math.pow(2,-10*(e-1)))},rs=e=>{if(Array.isArray(e)){Pa(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return za(t,n,r,i)}return"string"==typeof e?(Pa(void 0!==ns[e],`Invalid easing type '${e}'`),ns[e]):e},is=(e,t)=>n=>Boolean(ao(n)&&oo.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),os=(e,t,n)=>r=>{if(!ao(r))return r;const[i,o,a,s]=r.match(ro);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},as={...qi,transform:e=>Math.round((e=>Qi(0,255,e))(e))},ss={test:is("rgb","red"),parse:os("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+as.transform(e)+", "+as.transform(t)+", "+as.transform(n)+", "+no(eo.transform(r))+")"};const ls={test:is("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:ss.transform},cs={test:is("hsl","hue"),parse:os("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+co.transform(no(t))+", "+co.transform(no(n))+", "+no(eo.transform(r))+")"},us={test:e=>ss.test(e)||ls.test(e)||cs.test(e),parse:e=>ss.test(e)?ss.parse(e):cs.test(e)?cs.parse(e):ls.parse(e),transform:e=>ao(e)?e:e.hasOwnProperty("red")?ss.transform(e):cs.transform(e)},ds=(e,t,n)=>-n*e+n*t+e;function ps(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 ms=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},hs=[ls,ss,cs];function fs(e){const t=(n=e,hs.find(e=>e.test(n)));var n;Pa(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===cs&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=ps(s,r,e+1/3),o=ps(s,r,e),a=ps(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(r)),r}const gs=(e,t)=>{const n=fs(e),r=fs(t),i={...n};return e=>(i.red=ms(n.red,r.red,e),i.green=ms(n.green,r.green,e),i.blue=ms(n.blue,r.blue,e),i.alpha=ds(n.alpha,r.alpha,e),ss.transform(i))};const bs={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:va},vs={regex:io,countKey:"Colors",token:"${c}",parse:us.parse},xs={regex:ro,countKey:"Numbers",token:"${n}",parse:qi.parse};function ys(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function ws(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&ys(n,bs),ys(n,vs),ys(n,xs),n}function Cs(e){return ws(e).values}function Is(e){const{values:t,numColors:n,numVars:r,tokenised:i}=ws(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(bs.token,e[i]):i<r+n?t.replace(vs.token,us.transform(e[i])):t.replace(xs.token,no(e[i]));return t}}const Ns=e=>"number"==typeof e?0:e;const Es={test:function(e){var t,n;return isNaN(e)&&ao(e)&&((null===(t=e.match(ro))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(io))||void 0===n?void 0:n.length)||0)>0},parse:Cs,createTransformer:Is,getAnimatableNone:function(e){const t=Cs(e);return Is(e)(t.map(Ns))}},As=(e,t)=>n=>`${n>0?t:e}`;function js(e,t){return"number"==typeof e?n=>ds(e,t,n):us.test(e)?gs(e,t):e.startsWith("var(")?As(e,t):ks(e,t)}const Ts=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>js(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Ss=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=js(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},ks=(e,t)=>{const n=Es.createTransformer(t),r=ws(e),i=ws(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?ea(Ts(r.values,i.values),n):(ka(!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.`),As(e,t))},Ps=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Rs=(e,t)=>n=>ds(e,t,n);function Bs(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Rs:"string"==typeof o?us.test(o)?gs:ks:Array.isArray(o)?Ts:"object"==typeof o?Ss:Rs);var o;const a=e.length-1;for(let n=0;n<a;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||va:t;o=ea(e,o)}r.push(o)}return r}function Ls(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Pa(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Bs(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Ps(e[n],e[n+1],t);return a[n](r)};return n?t=>l(Qi(e[0],e[o-1],t)):l}function Os(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Ps(0,t,r);e.push(ds(n,1,i))}}(t,e.length-1),t}function Gs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(rs):rs(r),o={done:!1,value:t[0]},a=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Os(t),e),s=Ls(a,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||Ya).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=s(t),o.done=t>=e,o)}}function Ms(e,t){return t?e*(1e3/t):0}function Ds(e,t,n){const r=Math.max(t-5,0);return Ms(n-e(r),t-r)}const Vs=.001;function Fs({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;ka(e<=Ra(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Qi(.05,1,a),e=Qi(.01,10,Ba(e)),a<1?(i=t=>{const r=t*a,i=r*e,o=r-n,s=Ws(t,a),l=Math.exp(-i);return Vs-o/s*l},o=t=>{const r=t*a*e,o=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Ws(Math.pow(t,2),a);return(-i(t)+Vs>0?-1:1)*((o-s)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Hs;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Ra(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}const Hs=12;function Ws(e,t){return e*Math.sqrt(1-t*t)}const Xs=["duration","bounce"],zs=["stiffness","damping","mass"];function _s(e,t){return t.some(t=>void 0!==e[t])}function Zs({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],a={done:!1,value:i},{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!_s(e,zs)&&_s(e,Xs)){const n=Fs(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),m=u?-Ba(u):0,h=l/(2*Math.sqrt(s*c)),f=o-i,g=Ba(Math.sqrt(s/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Ws(g,h);v=t=>{const n=Math.exp(-h*g*t);return o-n*((m+h*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===h)v=e=>o-Math.exp(-g*e)*(f+(m+g*f)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),r=Math.min(e*t,300);return o-n*((m+h*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)a.done=e>=d;else{let i=m;0!==e&&(i=h<1?Ds(v,e,r):0);const s=Math.abs(i)<=n,l=Math.abs(o-r)<=t;a.done=s&&l}return a.value=a.done?o:r,a}}}function Ys({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let h=n*t;const f=d+h,g=void 0===a?f:a(f);g!==f&&(h=g-d);const b=e=>-h*Math.exp(-e/r),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let y,w;const C=e=>{var t;(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l)&&(y=e,w=Zs({keyframes:[p.value,m(p.value)],velocity:Ds(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==y||(t=!0,x(e),C(e)),void 0!==y&&e>y?w.next(e-y):(!t&&x(e),p)}}}const Js=e=>{const t=({timestamp:t})=>e(t);return{start:()=>ha.update(t,!0),stop:()=>fa(t),now:()=>sa.isProcessing?sa.timestamp:performance.now()}};function Us(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 $s={decay:Ys,inertia:Ys,tween:Gs,keyframes:Gs,spring:Zs};function Ks({autoplay:e=!0,delay:t=0,driver:n=Js,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:s="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,f=1,g=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const x=$s[i]||Gs;let y;x!==Gs&&"number"!=typeof r[0]&&(y=Ls([0,100],r,{clamp:!1}),r=[0,100]);const w=x({...p,keyframes:r});let C;"mirror"===s&&(C=x({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let I="idle",N=null,E=null,A=null;null===w.calculatedDuration&&o&&(w.calculatedDuration=Us(w));const{calculatedDuration:j}=w;let T=1/0,S=1/0;null!==j&&(T=j+a,S=T*(o+1)-a);let k=0;const P=e=>{if(null===E)return;f>0&&(E=Math.min(E,e)),k=null!==N?N:(e-E)*f;const n=k-t,i=n<0;k=Math.max(n,0),"finished"===I&&null===N&&(k=S);let l=k,c=w;if(o){const e=k/T;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===s?(n=1-n,a&&(n-=a/T)):"mirror"===s&&(c=C));let i=Qi(0,1,n);k>S&&(i="reverse"===s&&r?1:0),l=i*T}const u=i?{done:!1,value:r[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;i||null===j||(p=k>=S);const m=null===N&&("finished"===I||"running"===I&&p||f<0&&k<=0);return d&&d(u.value),m&&L(),u},R=()=>{v&&v.stop(),v=void 0},B=()=>{I="idle",R(),b(),E=A=null},L=()=>{I="finished",u&&u(),R(),b()},O=()=>{if(g)return;v||(v=n(P));const e=v.now();l&&l(),null!==N?E=e-N:E&&"finished"!==I||(E=e),A=E,N=null,I="running",v.start()};e&&O();const G={then:(e,t)=>h.then(e,t),get time(){return Ba(k)},set time(e){e=Ra(e),k=e,null===N&&v&&0!==f?E=v.now()-e/f:N=e},get duration(){const e=null===w.calculatedDuration?Us(w):w.calculatedDuration;return Ba(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,G.time=Ba(k))},get state(){return I},play:O,pause:()=>{I="paused",N=k},stop:()=>{g=!0,"idle"!==I&&(I="idle",c&&c(),B())},cancel:()=>{null!==A&&P(A),B()},complete:()=>{I="finished"},sample:e=>(E=0,P(e))};return G}const Qs=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function qs(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Wa.waapi()&&Qs.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,a,s=!1;const l=()=>{a=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Ga(t.ease))(t,i)){const e=Ks({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const m=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Va(s);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),h=()=>m.cancel(),f=()=>{ha.update(h),o(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),f()},{then:(e,t)=>a.then(e,t),get time(){return Ba(m.currentTime||0)},set time(e){m.currentTime=Ra(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Ba(u)},play:()=>{s||(m.play(),fa(h))},pause:()=>m.pause(),stop:()=>{if(s=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=Ks({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const el={type:"spring",stiffness:500,damping:25,restSpeed:10},tl={type:"keyframes",duration:.8},nl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rl=(e,{keyframes:t})=>t.length>2?tl:Xi.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:el:nl,il=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Es.test(t)&&"0"!==t||t.startsWith("url("))),ol=new Set(["brightness","contrast","saturate","opacity"]);function al(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(ro)||[];if(!r)return e;const i=n.replace(r,"");let o=ol.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const sl=/([a-z-]*)\(.*?\)/g,ll={...Es,getAnimatableNone:e=>{const t=e.match(sl);return t?t.map(al).join(" "):e}},cl={...go,color:us,backgroundColor:us,outlineColor:us,fill:us,stroke:us,borderColor:us,borderTopColor:us,borderRightColor:us,borderBottomColor:us,borderLeftColor:us,filter:ll,WebkitFilter:ll},ul=e=>cl[e];function dl(e,t){let n=ul(e);return n!==ll&&(n=Es),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const pl=e=>/^0[^.\s]+$/.test(e);function ml(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||pl(e):void 0}function hl(e,t){return e[t]||e.default||e}const fl=(e,t,n,r={})=>i=>{const o=hl(r,e)||{},a=o.delay||r.delay||0;let{elapsed:s=0}=r;s-=Ra(a);const l=function(e,t,n,r){const i=il(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:e.get();let s;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?a:o[e-1]),ml(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(s=o[e]);if(i&&l.length&&s)for(let e=0;e<l.length;e++)o[l[e]]=dl(t,s);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=il(e,c),p=il(e,u);ka(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-s,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(m={...m,...rl(e,m)}),m.duration&&(m.duration=Ra(m.duration)),m.repeatDelay&&(m.repeatDelay=Ra(m.repeatDelay)),!d||!p||La||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:va,pause:va,stop:va,then:e=>(e(),Promise.resolve()),cancel:va,complete:va});return t?Ks({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=qs(t,e,m);if(n)return n}return Ks(m)};function gl(e){return Boolean(_i(e)&&e.add)}const bl=e=>/^\-?\d*\.?\d+$/.test(e);function vl(e,t){-1===e.indexOf(t)&&e.push(t)}function xl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class yl{constructor(){this.subscriptions=[]}add(e){return vl(this.subscriptions,e),()=>xl(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const wl=new Set;function Cl(e,t,n){e||wl.has(t)||(console.warn(t),wl.add(t))}class Il{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=sa;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,ha.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=()=>ha.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&&Cl(!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 yl);const n=this.events[e].add(t);return"change"===e?()=>{n(),ha.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?Ms(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 Nl(e,t){return new Il(e,t)}const El=e=>t=>t.test(e),Al=[qi,uo,co,lo,mo,po,{test:e=>"auto"===e,parse:e=>e}],jl=e=>Al.find(El(e)),Tl=[...Al,us,Es],Sl=e=>Tl.find(El(e));function kl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Nl(n))}function Pl(e,t){if(!t)return;return(t[e]||t.default||t).from}function Rl({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Bl(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:a,...s}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in s){const r=e.getValue(t),i=s[t];if(!r||void 0===i||u&&Rl(u,t))continue;const a={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Sa];n&&(a.elapsed=window.HandoffAppearAnimations(n,t,r,ha))}r.start(fl(t,r,i,e.shouldReduceMotion&&Xi.has(t)?{type:!1}:a));const d=r.animation;gl(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return a&&Promise.all(c).then(()=>{a&&function(e,t){const n=Ta(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)kl(e,t,Xo(o[t]))}(e,a)}),c}function Ll(e,t,n={}){const r=Ta(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Bl(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,i=1,o){const a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(Ol).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(Ll(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){const[e,t]="beforeChildren"===s?[o,a]:[a,o];return e().then(()=>t())}return Promise.all([o(),a(n.delay)])}function Ol(e,t){return e.sortNodePosition(t)}const Gl=[...Ei].reverse(),Ml=Ei.length;function Dl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>Ll(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=Ll(e,t,n);else{const i="function"==typeof t?Ta(e,t,n.custom):t;r=Promise.all(Bl(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Vl(e){let t=Dl(e);const n={animate:Hl(!0),whileInView:Hl(),whileHover:Hl(),whileTap:Hl(),whileDrag:Hl(),whileFocus:Hl(),exit:Hl()};let r=!0;const i=(t,n)=>{const r=Ta(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,a){const s=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Ml;t++){const m=Gl[t],h=n[m],f=void 0!==s[m]?s[m]:l[m],g=Ii(f),b=m===a?h.isActive:null;!1===b&&(p=t);let v=f===l[m]&&f!==s[m]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!f&&!h.prevProp||Ni(f)||"boolean"==typeof f)continue;const x=Fl(h.prevProp,f);let y=x||m===a&&h.isActive&&!v&&g||t>p&&g;const w=Array.isArray(f)?f:[f];let C=w.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:I={}}=h,N={...I,...C},E=e=>{y=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=C[e],n=I[e];d.hasOwnProperty(e)||(t!==n?Wo(t)&&Wo(n)?!ja(t,n)||x?E(e):h.protectedKeys[e]=!0:void 0!==t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):h.protectedKeys[e]=!0)}h.prevProp=f,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...w.map(e=>({animation:e,options:{type:m,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let m=Boolean(c.length);return r&&!1===s.initial&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var a;if(n[t].isActive===r)return Promise.resolve();null===(a=e.variantChildren)||void 0===a||a.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const s=o(i,t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Fl(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!ja(t,e)}function Hl(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Wl=0;const Xl={animation:{Feature:class extends aa{constructor(e){super(e),e.animationState||(e.animationState=Vl(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ni(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 aa{constructor(){super(...arguments),this.id=Wl++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},zl=(e,t)=>Math.abs(e-t);class _l{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=Jl(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=zl(e.x,t.x),r=zl(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=sa;this.history.push({...r,timestamp:i});const{onStart:o,onMove:a}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Zl(t,this.transformPagePoint),ha.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=Jl("pointercancel"===e.type?this.lastMoveEventInfo:Zl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!$o(e))return;this.handlers=t,this.transformPagePoint=n;const r=Zl(Ko(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=sa;this.history=[{...i,timestamp:o}];const{onSessionStart:a}=t;a&&a(e,Jl(r,this.history)),this.removeListeners=ea(Qo(window,"pointermove",this.handlePointerMove),Qo(window,"pointerup",this.handlePointerUp),Qo(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),fa(this.updatePoint)}}function Zl(e,t){return t?{point:t(e.point)}:e}function Yl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Jl({point:e},t){return{point:e,delta:Yl(e,$l(t)),offset:Yl(e,Ul(t)),velocity:Kl(t,.1)}}function Ul(e){return e[0]}function $l(e){return e[e.length-1]}function Kl(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=$l(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Ra(t)));)n--;if(!r)return{x:0,y:0};const o=Ba(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Ql(e){return e.max-e.min}function ql(e,t=0,n=.01){return Math.abs(e-t)<=n}function ec(e,t,n,r=.5){e.origin=r,e.originPoint=ds(t.min,t.max,e.origin),e.scale=Ql(n)/Ql(t),(ql(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ds(n.min,n.max,e.origin)-e.originPoint,(ql(e.translate)||isNaN(e.translate))&&(e.translate=0)}function tc(e,t,n,r){ec(e.x,t.x,n.x,r?r.originX:void 0),ec(e.y,t.y,n.y,r?r.originY:void 0)}function nc(e,t,n){e.min=n.min+t.min,e.max=e.min+Ql(t)}function rc(e,t,n){e.min=t.min-n.min,e.max=e.min+Ql(t)}function ic(e,t,n){rc(e.x,t.x,n.x),rc(e.y,t.y,n.y)}function oc(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 ac(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const sc=.35;function lc(e,t,n){return{min:cc(e,t),max:cc(e,n)}}function cc(e,t){return"number"==typeof e?e:e[t]||0}const uc=()=>({x:{min:0,max:0},y:{min:0,max:0}});function dc(e){return[e("x"),e("y")]}function pc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function mc(e){return void 0===e||1===e}function hc({scale:e,scaleX:t,scaleY:n}){return!mc(e)||!mc(t)||!mc(n)}function fc(e){return hc(e)||gc(e)||e.z||e.rotate||e.rotateX||e.rotateY}function gc(e){return bc(e.x)||bc(e.y)}function bc(e){return e&&"0%"!==e}function vc(e,t,n){return n+t*(e-n)}function xc(e,t,n,r,i){return void 0!==i&&(e=vc(e,i,r)),vc(e,n,r)+t}function yc(e,t=0,n=1,r,i){e.min=xc(e.min,t,n,r,i),e.max=xc(e.max,t,n,r,i)}function wc(e,{x:t,y:n}){yc(e.x,t.translate,t.scale,t.originPoint),yc(e.y,n.translate,n.scale,n.originPoint)}function Cc(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ic(e,t){e.min=e.min+t,e.max=e.max+t}function Nc(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,a=ds(e.min,e.max,o);yc(e,t[n],t[r],a,t.scale)}const Ec=["x","scaleX","originX"],Ac=["y","scaleY","originY"];function jc(e,t){Nc(e.x,t,Ec),Nc(e.y,t,Ac)}function Tc(e,t){return pc(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Sc=new WeakMap;class kc{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 _l(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ko(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ia(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),dc(e=>{let t=this.getAxisMotionValue(e).get()||0;if(co.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Ql(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&ha.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&ha.update(()=>i(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Pc(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?ds(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?ds(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&Ci(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:oc(e.x,n,i),y:oc(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=sc){return!1===e?e=0:!0===e&&(e=sc),{x:lc(e,"left","right"),y:lc(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&dc(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||!Ci(e))return!1;const n=e.current;Pa(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=Tc(e,n),{scroll:i}=t;return i&&(Ic(r.x,i.offset.x),Ic(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:ac(e.x,t.x),y:ac(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=pc(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=dc(a=>{if(!Pc(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,d)});return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(fl(e,n,0,t))}stopAnimation(){dc(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){dc(t=>{const{drag:n}=this.getProps();if(!Pc(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-ds(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ci(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};dc(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Ql(e),i=Ql(t);return i>r?n=Ps(t.min,t.max-r,e.min):r>i&&(n=Ps(e.min,e.max-i,t.min)),Qi(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),dc(t=>{if(!Pc(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(ds(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;Sc.set(this.visualElement,this);const e=Qo(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Ci(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const i=Uo(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(dc(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=sc,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Pc(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Rc=e=>(t,n)=>{e&&ha.update(()=>e(t,n))};const Bc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Lc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Oc={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!uo.test(e))return e;e=parseFloat(e)}return`${Lc(e,t.target.x)}% ${Lc(e,t.target.y)}%`}},Gc={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Es.parse(e);if(i.length>5)return r;const o=Es.createTransformer(e),a="number"!=typeof i[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;i[0+a]/=s,i[1+a]/=l;const c=ds(s,l,.5);return"number"==typeof i[2+a]&&(i[2+a]/=c),"number"==typeof i[3+a]&&(i[3+a]/=c),o(i)}};class Mc extends l.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=Vc,Object.assign(Hi,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Bc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||ha.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Dc(e){const[n,r]=function(){const e=t.useContext(vi);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=t.useId();return t.useEffect(()=>i(o),[]),!n&&r?[!1,()=>r&&r(o)]:[!0]}(),i=t.useContext(Bi);return l.default.createElement(Mc,{...e,layoutGroup:i,switchLayoutGroup:t.useContext(Li),isPresent:n,safeToRemove:r})}const Vc={borderRadius:{...Oc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Oc,borderTopRightRadius:Oc,borderBottomLeftRadius:Oc,borderBottomRightRadius:Oc,boxShadow:Gc},Fc=["TopLeft","TopRight","BottomLeft","BottomRight"],Hc=Fc.length,Wc=e=>"string"==typeof e?parseFloat(e):e,Xc=e=>"number"==typeof e||uo.test(e);function zc(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const _c=Yc(0,.5,Ka),Zc=Yc(.5,.95,va);function Yc(e,t,n){return r=>r<e?0:r>t?1:n(Ps(e,t,r))}function Jc(e,t){e.min=t.min,e.max=t.max}function Uc(e,t){Jc(e.x,t.x),Jc(e.y,t.y)}function $c(e,t,n,r,i){return e=vc(e-=t,1/n,r),void 0!==i&&(e=vc(e,1/i,r)),e}function Kc(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){co.test(t)&&(t=parseFloat(t),t=ds(a.min,a.max,t/100)-a.min);if("number"!=typeof t)return;let s=ds(o.min,o.max,r);e===o&&(s-=t),e.min=$c(e.min,t,n,s,i),e.max=$c(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}const Qc=["x","scaleX","originX"],qc=["y","scaleY","originY"];function eu(e,t,n,r){Kc(e.x,t,Qc,n?n.x:void 0,r?r.x:void 0),Kc(e.y,t,qc,n?n.y:void 0,r?r.y:void 0)}function tu(e){return 0===e.translate&&1===e.scale}function nu(e){return tu(e.x)&&tu(e.y)}function ru(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 iu(e){return Ql(e.x)/Ql(e.y)}class ou{constructor(){this.members=[]}add(e){vl(this.members,e),e.scheduleRender()}remove(e){if(xl(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function au(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const a=e.x.scale*t.x,s=e.y.scale*t.y;return 1===a&&1===s||(r+=`scale(${a}, ${s})`),r||"none"}const su=(e,t)=>e.depth-t.depth;class lu{constructor(){this.children=[],this.isDirty=!1}add(e){vl(this.children,e),this.isDirty=!0}remove(e){xl(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(su),this.isDirty=!1,this.children.forEach(e)}}const cu=["","X","Y","Z"];let uu=0;const du={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function pu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=uu++,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;du.totalNodes=du.resolvedTargetDeltas=du.recalculatedProjection=0,this.nodes.forEach(fu),this.nodes.forEach(Cu),this.nodes.forEach(Iu),this.nodes.forEach(gu),e=du,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 lu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new yl),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:i,layout:o,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(fa(r),e(o-t))};return ha.read(r,!0),()=>fa(r)}(r,250),Bc.hasAnimatedSinceResize&&(Bc.hasAnimatedSinceResize=!1,this.nodes.forEach(wu))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&a&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||a.getDefaultTransition()||Su,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=a.getProps(),l=!this.targetLayout||!ru(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...hl(i,"layout"),onPlay:o,onComplete:s};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||wu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,fa(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(Nu),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(vu);this.isUpdating||this.nodes.forEach(xu),this.isUpdating=!1,this.nodes.forEach(yu),this.nodes.forEach(mu),this.nodes.forEach(hu),this.clearAllSnapshots();const e=performance.now();sa.delta=Qi(0,1e3/60,e-sa.timestamp),sa.timestamp=e,sa.isProcessing=!0,da.update.process(sa),da.preRender.process(sa),da.render.process(sa),sa.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(bu),this.sharedNodes.forEach(Eu)}scheduleUpdateProjection(){ha.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){ha.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!nu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||fc(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),ku((r=n).x),ku(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Ic(t.x,n.offset.x),Ic(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Uc(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){Uc(t,e);const{scroll:n}=this.root;n&&(Ic(t.x,-n.offset.x),Ic(t.y,-n.offset.y))}Ic(t.x,i.offset.x),Ic(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Uc(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&jc(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),fc(r.latestValues)&&jc(n,r.latestValues)}return fc(this.latestValues)&&jc(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Uc(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!fc(n.latestValues))continue;hc(n.latestValues)&&n.updateSnapshot();const r=uc();Uc(r,n.measurePageBox()),eu(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return fc(this.latestValues)&&eu(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!==sa.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=sa.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}},ic(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Uc(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,nc(a.x,s.x,l.x),nc(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Uc(this.target,this.layout.layoutBox),wc(this.target,this.targetDelta)):Uc(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}},ic(this.relativeTargetOrigin,this.target,e.target),Uc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}du.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!hc(this.parent.latestValues)&&!gc(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===sa.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!o)return;Uc(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,a;t.x=t.y=1;for(let s=0;s<i;s++){o=n[s],a=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&jc(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,wc(e,a)),r&&fc(o.latestValues)&&jc(e,o.latestValues))}t.x=Cc(t.x),t.y=Cc(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;tc(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=au(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),du.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(s&&!c&&!0===this.options.crossfade&&!this.path.some(Tu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Au(o.x,e.x,n),Au(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ic(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){ju(e.x,t.x,n.x,r),ju(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&ru(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Uc(d,this.relativeTarget)),s&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=ds(0,void 0!==n.opacity?n.opacity:1,_c(r)),e.opacityExit=ds(void 0!==t.opacity?t.opacity:1,0,Zc(r))):o&&(e.opacity=ds(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Hc;i++){const o=`border${Fc[i]}Radius`;let a=zc(t,o),s=zc(n,o);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||Xc(a)===Xc(s)?(e[o]=Math.max(ds(Wc(a),Wc(s),r),0),(co.test(s)||co.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=ds(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(fa(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ha.update(()=>{Bc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=_i(e)?e:Nl(e);return r.start(fl("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Pu(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ql(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Ql(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Uc(t,n),jc(t,i),tc(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ou);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<cu.length;t++){const i="rotate"+cu[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=zo(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=zo(e.pointerEvents)||""),this.hasProjected&&!fc(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=au(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in Hi){if(void 0===a[e])continue;const{correct:t,applyTo:n}=Hi[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?zo(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(vu),this.root.sharedNodes.clear()}}}function mu(e){e.updateLayout()}function hu(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?dc(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=Ql(r);r.min=t[e].min,r.max=r.min+i}):Pu(i,n.layoutBox,t)&&dc(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],a=Ql(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};tc(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?tc(s,e.applyTransform(r,!0),n.measuredBox):tc(s,t,n.layoutBox);const l=!nu(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const a={x:{min:0,max:0},y:{min:0,max:0}};ic(a,n.layoutBox,i.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};ic(s,t,o.layoutBox),ru(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function fu(e){du.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 gu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function bu(e){e.clearSnapshot()}function vu(e){e.clearMeasurements()}function xu(e){e.isLayoutDirty=!1}function yu(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function wu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Cu(e){e.resolveTargetDelta()}function Iu(e){e.calcProjection()}function Nu(e){e.resetRotation()}function Eu(e){e.removeLeadSnapshot()}function Au(e,t,n){e.translate=ds(t.translate,0,n),e.scale=ds(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ju(e,t,n,r){e.min=ds(t.min,n.min,r),e.max=ds(t.max,n.max,r)}function Tu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Su={duration:.45,ease:[.4,0,.1,1]};function ku(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Pu(e,t,n){return"position"===e||"preserve-aspect"===e&&!ql(iu(t),iu(n),.2)}const Ru=pu({attachResizeListener:(e,t)=>Uo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Bu={current:void 0},Lu=pu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Bu.current){const e=new Ru({});e.mount(window),e.setOptions({layoutScroll:!0}),Bu.current=e}return Bu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ou={pan:{Feature:class extends aa{constructor(){super(...arguments),this.removePointerDownListener=va}onPointerDown(e){this.session=new _l(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Rc(e),onStart:Rc(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&ha.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Qo(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 aa{constructor(e){super(e),this.removeGroupControls=va,this.removeListeners=va,this.controls=new kc(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||va}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Lu,MeasureLayout:Dc}},Gu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Mu(e,t,n=1){Pa(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=Gu.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():$i(i)?Mu(i,t,n+1):i}const Du=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Vu=e=>Du.has(e),Fu=e=>e===qi||e===uo,Hu=(e,t)=>parseFloat(e.split(", ")[t]),Wu=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Hu(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Hu(t[1],e):0}},Xu=new Set(["x","y","z"]),zu=Wi.filter(e=>!Xu.has(e));const _u={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:Wu(4,13),y:Wu(5,14)},Zu=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Vu);let o=[],a=!1;const s=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=jl(c);const d=t[i];let p;if(Wo(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=jl(c);for(let n=t;n<e&&null!==d[n];n++)p?Pa(jl(d[n])===p,"All keyframes must be of the same type"):(p=jl(d[n]),Pa(p===u||Fu(u)&&Fu(p),"Keyframes must be of the same dimension as the current value"))}else p=jl(d);if(u!==p)if(Fu(u)&&Fu(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===uo&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[i]=u.transform(d):(a||(o=function(e){const t=[];return zu.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),s.length){const n=s.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:a}=o,s={};"none"===a&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{s[e]=_u[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(s[n]),e[n]=_u[n](l,o)}),e})(t,e,s);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),xi&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function Yu(e,t,n,r){return(e=>Object.keys(e).some(Vu))(t)?Zu(e,t,n,r):{target:t,transitionEnd:r}}const Ju=(e,t,n,r)=>{const i=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!$i(t))return;const n=Mu(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!$i(i))continue;const o=Mu(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return Yu(e,t=i.target,n,r=i.transitionEnd)},Uu={current:null},$u={current:!1};function Ku(){if($u.current=!0,xi)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Uu.current=e.matches;e.addListener(t),t()}else Uu.current=!1}const Qu=new WeakMap,qu=Object.keys(Ri),ed=qu.length,td=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nd=Ai.length;class rd{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>ha.render(this.render,!1,!0);const{latestValues:a,renderState:s}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=s,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=ji(t),this.isVariantNode=Ti(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]&&_i(t)&&(t.set(a[e],!1),gl(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Qu.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)),$u.current||Ku(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Uu.current),"production"!==process.env.NODE_ENV&&Cl(!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(){Qu.delete(this.current),this.projection&&this.projection.unmount(),fa(this.notifyUpdate),fa(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=Xi.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&ha.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,a;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?ka(!1,e):Pa(!1,e)}for(let e=0;e<ed;e++){const n=qu[e],{isEnabled:r,Feature:i,ProjectionNode:s,MeasureLayout:l}=Ri[n];s&&(o=s),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(a=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:a,layoutScroll:s,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||a&&Ci(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:s,layoutRoot:l})}return a}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<td.length;t++){const n=td[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],a=n[i];if(_i(o))e.addValue(i,o),gl(r)&&r.add(i),"development"===process.env.NODE_ENV&&Cl("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(_i(a))e.addValue(i,Nl(o,{owner:e})),gl(r)&&r.remove(i);else if(a!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Nl(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<nd;e++){const n=Ai[e],r=this.props[n];(Ii(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Nl(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Fo(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||_i(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new yl),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class id extends rd{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){const r={};for(const i in e){const e=Pl(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),a=o.length;if(a)for(let s=0;s<a;s++){const a=o[s],l=t[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[a])&&void 0!==r?r:e.readValue(a))&&void 0!==i?i:t[a]),null!=c&&("string"==typeof c&&(bl(c)||pl(c))?c=parseFloat(c):!Sl(c)&&Es.test(l)&&(c=dl(a,l)),e.addValue(a,Nl(c,{owner:e})),void 0===n[a]&&(n[a]=c),null!==c&&e.setBaseTarget(a,c))}}(this,n,o);const e=Ju(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class od extends id{readValueFromInstance(e,t){if(Xi.has(t)){const e=ul(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(Ui(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Tc(e,t)}build(e,t,n,r){bo(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Do(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_i(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Oo(e,t,n,r)}}class ad extends id{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Xi.has(t)){const e=ul(t);return e&&e.default||0}return t=Go.has(t)?t:Lo(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Vo(e,t)}build(e,t,n,r){So(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Mo(e,t,0,r)}mount(e){this.isSVGTag=Po(e.tagName),super.mount(e)}}const sd=(e,t)=>Fi(e)?new ad(t,{enableHardwareAcceleration:!1}):new od(t,{enableHardwareAcceleration:!0}),ld={...Xl,...Aa,...Ou,...{layout:{ProjectionNode:Lu,MeasureLayout:Dc}}},cd=Di((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Fi(e)?Yo:Jo,preloadedFeatures:n,useRender:Bo(t),createVisualElement:r,Component:e}}(e,t,ld,sd));function ud(){const e=t.useRef(!1);return yi(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class dd extends l.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 pd({children:e,isPresent:n}){const r=t.useId(),i=t.useRef(null),o=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:a,left:s}=o.current;if(n||!i.current||!e||!t)return;i.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${a}px !important;\n left: ${s}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),l.createElement(dd,{isPresent:n,childRef:i,sizeRef:o},l.cloneElement(e,{ref:i}))}const md=({children:e,initial:n,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:a,mode:s})=>{const c=Ho(hd),u=t.useId(),d=t.useMemo(()=>({id:u,initial:n,isPresent:r,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),a?void 0:[r]);return t.useMemo(()=>{c.forEach((e,t)=>c.set(t,!1))},[r]),l.useEffect(()=>{!r&&!c.size&&i&&i()},[r]),"popLayout"===s&&(e=l.createElement(pd,{isPresent:r},e)),l.createElement(vi.Provider,{value:d},e)};function hd(){return new Map}const fd=e=>e.key||"";const gd=({children:e,custom:n,initial:r=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:a=!0,mode:s="sync"})=>{Pa(!o,"Replace exitBeforeEnter with mode='wait'");const c=t.useContext(Bi).forceRender||function(){const e=ud(),[n,r]=t.useState(0),i=t.useCallback(()=>{e.current&&r(n+1)},[n]);return[t.useCallback(()=>ha.postRender(i),[i]),n]}()[0],u=ud(),d=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let p=d;const m=t.useRef(new Map).current,h=t.useRef(p),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(yi(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=fd(e);t.set(n,e)})}(d,f),h.current=p}),b=()=>{g.current=!0,f.clear(),m.clear()},t.useEffect(()=>()=>b(),[]),g.current)return l.createElement(l.Fragment,null,p.map(e=>l.createElement(md,{key:fd(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:a,mode:s},e)));p=[...p];const v=h.current.map(fd),x=d.map(fd),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||m.has(t)||m.set(t,void 0)}return"wait"===s&&m.size&&(p=[]),m.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const r=f.get(t);if(!r)return;const o=v.indexOf(t);let g=e;if(!g){const e=()=>{f.delete(t),m.delete(t);const e=h.current.findIndex(e=>e.key===t);if(h.current.splice(e,1),!m.size){if(h.current=d,!1===u.current)return;c(),i&&i()}};g=l.createElement(md,{key:fd(r),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:a,mode:s},r),m.set(t,g)}p.splice(o,0,g)}),p=p.map(e=>{const t=e.key;return m.has(t)?e:l.createElement(md,{key:fd(e),isPresent:!0,presenceAffectsLayout:a,mode:s},e)}),"production"!==process.env.NODE_ENV&&"wait"===s&&p.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.'),l.createElement(l.Fragment,null,m.size?p:p.map(e=>t.cloneElement(e)))};function bd(){!$u.current&&Ku();const[e]=t.useState(Uu.current);return"production"!==process.env.NODE_ENV&&Cl(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const vd={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}},pop:{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15}}};function xd({children:t,animationType:n=fi,disableAnimation:r=!0,whileHover:i,whileTap:o,transition:a,...s}){const c=bd(),u=l.default.Children.only(t);if(r||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=vd[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...i}:i,m=(null==d?void 0:d.whileTap)||o?{...null==d?void 0:d.whileTap,...o}:void 0,h=d?{...d.transition,...a}:a;if("string"==typeof u.type){const t=cd[u.type];return e.jsx(t,{...u.props,ref:u.ref,whileHover:p,whileTap:m,transition:h,...s})}return e.jsx(cd.div,{whileHover:p,whileTap:m,transition:h,...s,children:u})}xd.displayName="AnimationWrapper";const yd=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()},wd=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:r,label:i,disabled:o,fullWidth:a,buttonClassName:s,size:l={base:"medium"},iconName:c,iconSize:u=24,iconFill:d=0,disableAnimation:p,animationType:m=fi,as:h="button",...f},g)=>{const b=(()=>{const e=Ee((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()})(l),"rounded-button overflow-visible flex px-15 gap-2 items-center justify-center text-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",a?"w-full":"lg:inline-flex w-full lg:w-auto"),r=Ee((o||n)&&"cursor-not-allowed",n&&"pl-7");return Ee(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:outline-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:outline-bg-fill-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:outline-input-border-hover disabled:bg-bg-fill-secondary",secondary_inverse:"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:outline-border-inverse disabled:bg-bg-fill-secondary"}[t]||"",r,s)})();let v=`button--${t}`;n&&(v+=" button--loading"),o&&(v+=" button--disabled");const x=`${v} ${b}`,y=e.jsxs(e.Fragment,{children:[n?e.jsx(Qn,{name:"progress_activity",className:"animate-spin"}):null,i?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ee(yd(l)),children:i}),r]}):r,c?e.jsx(Qn,{name:c,size:u,fill:d,weight:"200"}):null]});return"a"===h?e.jsx(xd,{disableAnimation:p,animationType:m,children:e.jsx("a",{ref:g,className:Ee(x),...f,"data-component":"BrandButton","data-variant":"anchor",children:y})}):e.jsx(xd,{disableAnimation:p,animationType:m,children:e.jsx("button",{ref:g,className:Ee(x),disabled:o||n,...f,"data-component":"BrandButton","data-variant":"button",children:y})})});wd.displayName="BrandButton";const Cd={primary_brand:"text-text-brand",primary_inverse:"text-text",secondary:"text-text",secondary_inverse:"text-text-inverse"},Id=t=>{const{showButtonAs:n="solid",buttonVariant:r="primary_brand",buttonLabel:i,buttonPrefix:o,href:a,target:s="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:m,renderCheckPlans:h,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,idNameToOpen:v,onModalButtonClick:x,onClick:y,iconFill:w=0,buttonIconName:C,buttonIconPosition:I,size:N,iconSize:E=24,preserveQueryParameters:A,disableAnimation:j,animationType:T=fi,...S}=t,k="left"===I,P=C,R=Ee(f,k&&P?"flex-row-reverse":"");if("check availability"===m&&h){const o=null==h?void 0:h({ctaText:i,buttonVariant:r,showButtonAs:n,cta:{...t}});return l.default.isValidElement(o)?e.jsx(xd,{disableAnimation:j,animationType:T,children:o}):o}function B(e){"modal"===g&&(null==e||e.preventDefault(),null==x||x(b)),"clickId"===g&&(null==e||e.preventDefault(),function(){var e;if("clickId"===g&&v){const t=document.getElementById(v);t&&(t.scrollIntoView({behavior:"smooth",block:"start"}),null===(e=t.click)||void 0===e||e.call(t))}}())}function L(){"wifi grant redirect"===m&&function(){const e=at();!!e&&(window.location.href=e)}()}function O(e){B(e),L(),null==y||y(e)}function G(e){B(e),L(),null==y||y(e)}const M="undefined"!=typeof window?window.location.search:"",D=m?void 0:a&&A&&M?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(it),i=new Set([...r,"searchtext","page"]);let o,a;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,a=t.searchParams}else{const[t,n]=e.split("?");o=t,a=new URLSearchParams(n||"")}}catch(t){return e}const s=new URLSearchParams(a);n.forEach((e,t)=>{i.has(t.toLowerCase())||s.has(t)||s.set(t,e)});const l=s.toString();return l?`${o}?${l}`:o}(a,M):a;let V=e.jsx(li,{onClick:G,className:f,...S});switch(n){case"solid":V=D?e.jsx(wd,{as:"a",href:D,id:c,variant:r,text:i,label:o,fullWidth:p,buttonClassName:R,size:N,onClick:O,iconName:P,iconSize:E,iconFill:w,disableAnimation:j,animationType:T}):e.jsx(wd,{id:c,variant:r,text:i,label:o,fullWidth:p,size:N,onClick:G,iconName:P,iconSize:E,iconFill:w,buttonClassName:R,disableAnimation:j,animationType:T});break;case"text":V=e.jsx(rr,{title:i,href:D,target:s,variant:d||"default",className:Ee(P&&"label1 inline-flex items-center gap-2 no-underline",Cd[r],u),onClick:O,children:P?e.jsxs(e.Fragment,{children:[k?e.jsx(Qn,{name:P,size:E,fill:w}):null,i,k?null:e.jsx(Qn,{name:P,size:E,fill:w})]}):e.jsx(e.Fragment,{children:i})});break;case"button-with-icon":V=D?e.jsx(wd,{as:"a",href:D,id:c,variant:r,text:i,label:o,fullWidth:p,buttonClassName:R,size:N,onClick:O,iconName:P,iconSize:E,iconFill:w,disableAnimation:j,animationType:T}):e.jsx(wd,{id:c,variant:r,text:i,label:o,fullWidth:p,buttonClassName:R,size:N,onClick:G,iconName:P,iconSize:E,iconFill:w,disableAnimation:j,animationType:T});break;case"text-with-icon":{const t=(e=>({primary_brand:"text-text-brand",primary_inverse:"text-text-inverse",secondary:"text-text",secondary_inverse:"text-text-inverse"}[e]||"text-text-brand"))(r);V=e.jsxs(rr,{href:D,target:s,onClick:O,className:Ee("group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm no-underline",t,f),"aria-label":i,children:[k&&P?e.jsx(Qn,{name:P,fill:w,size:E,weight:"200"}):null,e.jsx(qn,{"aria-label":i,className:"label1 text-nowrap",children:i}),P&&!k&&e.jsx(Qn,{name:P,fill:w,size:E,weight:"200"})]});break}}return e.jsx(xd,{disableAnimation:j,animationType:T,className:Ee(p&&"w-full"),children:V})};var Nd;const Ed=null!==(Nd=c.default)&&void 0!==Nd?Nd:c,Ad=({href:t,title:n,description:r,date:i,category:o,image:a,imageAltText:s,imageComponent:l,asGrid:c=!0,index:u})=>{var d,p,m;const h=null!==(m=null!==(p=null!==(d=null!=s?s:null==a?void 0:a.description)&&void 0!==d?d:null==a?void 0:a.alt)&&void 0!==p?p:n)&&void 0!==m?m:"blog-card-image",f=c?"group relative 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 group relative w-full flex h-full flex-col overflow-hidden";return e.jsxs("article",{className:f,"data-section-type":"blog-card","data-section-index":u,"data-view-mode":c?"grid":"list",children:[c&&e.jsx("div",{className:"block h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:a?l?e.jsx(l,{src:a.src,alt:h,width:a.width,height:a.height,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("img",{src:a.src,alt:h,width:a.width,height:a.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})}),e.jsxs("div",{className:"flex flex-1 flex-col "+(c?"gap-5 p-6 md:p-8":"gap-1 border-b p-3 md:p-4"),children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[c&&e.jsx("span",{className:"body2 text-text-brand",children:o}),i&&e.jsxs(e.Fragment,{children:[c&&e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:i})]})]}),n&&e.jsx(qn,{as:"h2",className:"heading6",children:e.jsx(Ed,{href:t,className:"m-0 line-clamp-3 font-black transition-colors duration-150 after:absolute after:inset-0 after:z-10 after:content-[''] hover:text-text-brand group-hover:text-text-brand",children:n})}),r&&e.jsx(qn,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r})]}),!n&&e.jsx(Ed,{href:t,className:"absolute inset-0 z-10",children:e.jsx("span",{className:"sr-only",children:null!=o?o:"Read more"})})]})},jd={left:"w-full lg:flex lg:justify-start",right:"w-full lg:flex lg:justify-end",center:"w-full lg:flex lg:justify-center"},Td=({card:t,lgWidth:n,mdWidth:r})=>{var i,o,a,s,l,c;const{image:u,title:d,header:p,body:m,cta:h,ctaAlignment:f,imageLink:g,imageClassName:b,className:v,imageAltText:x,isPromoBarImg:y=!1,shadow:w=!1,disableAnimation:C}=t,I=f?jd[f]:jd.left,N=g?"cursor-pointer":"",E=g?()=>{"undefined"!=typeof window&&window.open(g,"_blank")}:void 0;return y?(null==u?void 0:u.href)?e.jsx(Jr,{src:u.href,alt:null!==(a=null!==(o=null!==(i=null!=x?x:u.description)&&void 0!==i?i:u.title)&&void 0!==o?o:d)&&void 0!==a?a:"promo-bar-image",width:148,height:40,onClick:E,className:N}):null:e.jsxs("section",{"aria-labelledby":"Image Card",className:Ee("callout-card relative flex h-full w-full flex-col gap-5 px-0 pb-4 pt-0 md:items-start md:gap-6 lg:pb-0",w&&"rounded-3xl shadow-card",r,n,v),children:[(null==u?void 0:u.href)?e.jsx("div",{className:Ee("relative h-[233px] w-full overflow-hidden sm:mb-1 md:h-[274px] md:flex-none lg:mb-0 lg:h-[330px]",b),children:e.jsx(Jr,{src:u.href,alt:null!==(l=null!==(s=null!=x?x:u.description)&&void 0!==s?s:u.title)&&void 0!==l?l:"card-image",width:u.width||400,height:u.height||330,onClick:E,className:Ee("h-full w-full rounded-[40px] object-cover",N)})}):null,p?e.jsx(qn,{as:"h4",className:"heading6 text-text",children:p}):null,m?e.jsx(qn,{as:"div",className:"body1 -mt-1 mb-0 flex-1 text-text md:-mt-2 lg:mt-2",children:m}):null,e.jsx("div",{className:Ee(I,"mt-auto"),children:h?e.jsx(Id,{...h,showButtonAs:h.showButtonAs||(h.buttonIconName?void 0:"text-with-icon"),iconName:h.iconName||(h.buttonIconName?void 0:"expand_circle_right"),iconFill:null!==(c=h.iconFill)&&void 0!==c?c:1,disableAnimation:!(!1===C&&!1===h.disableAnimation),animationType:fi}):null})]})},Sd=({card:t,lgWidth:n,mdWidth:r})=>{const{anchorId:i="FullImageCard",title:o,description:a,caption:s,image:l,imageAltText:c,cta:u,link:d,className:p,contentClassName:m,imageClassName:h,shadow:f=!0}=t,g=u||d,b=null==g?void 0:g.href,v=o?e.jsx(qn,{as:"h3",className:"body1 text-text xl:heading6",children:o}):null;return e.jsxs("section",{id:i,className:Ee("callout-card relative flex flex-col rounded-3xl bg-white p-0",f&&"shadow-card",r,n,"w-full",p),"aria-labelledby":`card-title-${i}`,children:[(null==l?void 0:l.href)?e.jsx("div",{className:Ee("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",h),children:(()=>{var t,n,r;if(!(null==l?void 0:l.href))return null;const i=e.jsx(Jr,{src:l.href,alt:null!==(r=null!==(n=null!==(t=null!=c?c:l.description)&&void 0!==t?t:l.title)&&void 0!==n?n:o)&&void 0!==r?r:"card-image",width:l.width||400,height:l.height||280,className:"w-full"});return b?e.jsx(rr,{href:b,tabIndex:-1,target:null==g?void 0:g.target,children:i}):i})()}):null,e.jsxs("div",{className:Ee("flex h-full flex-col gap-4 p-6 md:p-8",m),children:[e.jsxs("div",{className:"flex flex-1 flex-col justify-between",children:[e.jsxs("div",{children:[b&&v?e.jsx(rr,{href:b,target:null==g?void 0:g.target,className:"no-underline hover:underline",children:v}):v,a?e.jsx(qn,{as:"p",className:"body2 mt-4 text-text md:body1",children:a}):null]}),s?e.jsx(qn,{as:"p",className:"footnote mt-5 text-text-secondary",children:s}):null]}),u?e.jsx("div",{className:"mt-2 flex items-end",children:e.jsx(Id,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...u,iconName:"expand_circle_right",iconFill:1})}):null]})]})},kd={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Pd={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Rd={left:"justify-start",right:"justify-end",center:"justify-center"},Bd=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Ld=({card:t,lgWidth:n,mdWidth:r,className:i,contentClassName:o,style:a})=>{var s,l,c,u,d,p,m,h,f,g,b,v,x,y,w,C,I,N,E;const A=null===(s=t.imageView)||void 0===s?void 0:s.toLowerCase(),j="full"===A,T="margin"===A,S="standard"===A,k="icon"===A||"inset"===A||!A&&!!t.image,P=S||k,R=(null===(l=t.iconAlignment)||void 0===l?void 0:l.toLowerCase())||(null===(c=t.imageAlignment)||void 0===c?void 0:c.toLowerCase())||"left",B=t.ctaAlignment&&Pd[t.ctaAlignment]||Pd.left,L=t.ctaAlignmentBottom&&Rd[t.ctaAlignmentBottom]||Rd.left,O=null===(u=t.pinwheelColor)||void 0===u?void 0:u.split("-")[1],G=P&&t.applyCardBackgroundColor,M={...a,...G&&t.backgroundColor?{"--scc-bg":t.backgroundColor}:{},...G&&t.textColor?{"--scc-fg":t.textColor}:{},...G&&t.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...G&&t.showBackgroundImage&&O?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ae(O))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},D=n=>{var r,i,o,a;return t.image?e.jsx("div",{className:Ee("relative aspect-video overflow-hidden",n?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e.jsx(Jr,{src:t.image,alt:null!==(a=null!==(o=null!==(i=null!==(r=t.imageAltText)&&void 0!==r?r:t.imageDescription)&&void 0!==i?i:t.imageAlt)&&void 0!==o?o:t.title)&&void 0!==a?a:"card-image",width:t.imageWidth||400,height:t.imageHeight||280,className:Ee("w-full",!n&&"rounded-t-3xl")})}):null},V=G&&t.textColor?{color:t.textColor}:void 0,F=t.title?e.jsx(qn,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:V,children:t.title}):null,H=(null===(d=t.cta)||void 0===d?void 0:d.href)&&F?e.jsx(rr,{href:t.cta.href,target:t.cta.target,className:"no-underline hover:underline",style:V,children:F}):F,W=(null!==(m=null===(p=t.workingHours)||void 0===p?void 0:p.length)&&void 0!==m?m:0)>0||(null!==(f=null===(h=t.phoneNumber)||void 0===h?void 0:h.length)&&void 0!==f?f:0)>0,X=!(!t.cta||t.title||t.titleLocation||t.body||t.richText||t.image||W||(null===(g=t.ctaBottom)||void 0===g?void 0:g.title)&&(null===(b=t.ctaBottom)||void 0===b?void 0:b.href));return e.jsxs("section",{className:Ee("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",t.shadow&&"shadow-card",t.image&&!j&&!t.showBackgroundImage&&"pt-1",!t.applyCardBackgroundColor&&(null!==(x=kd[null!==(v=t.backgroundColor)&&void 0!==v?v:""])&&void 0!==x?x:""),r,n,i),style:M,"aria-labelledby":t.title?`callout-${t.title}`:void 0,children:[(null===(y=t.ctaBottom)||void 0===y?void 0:y.title)&&(null===(w=t.ctaBottom)||void 0===w?void 0:w.href)?e.jsx("div",{className:Ee("top-link m-6 flex items-center lg:m-8",L),children:e.jsxs(rr,{href:t.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e.jsx(Qn,{name:"location_on",fill:1,size:24}),e.jsx("span",{children:t.ctaBottom.title})]})}):null,t.image&&j?D(!1):null,t.image&&T?D(!0):null,e.jsxs("div",{className:Ee("relative flex flex-1 flex-col justify-between",X?"p-0":"px-6 pb-8 pt-7 lg:px-8 lg:py-8",o),children:[e.jsx("div",{className:"flex flex-1 flex-col justify-between",children:e.jsxs("div",{className:Ee("flex flex-col",t.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e.jsx("div",{className:Ee(t.imageToRichTextAlignment&&"flex-shrink-0"),children:!t.image||j||T?null:(()=>{var n,r,i,o;if(!t.image)return null;const a=S&&t.imageWidth||60,s=S&&t.imageHeight||60;return e.jsx("div",{className:Ee("relative mb-8 flex",t.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:R},children:e.jsx(Jr,{src:t.image,alt:null!==(o=null!==(i=null!==(r=null!==(n=t.imageAltText)&&void 0!==n?n:t.imageDescription)&&void 0!==r?r:t.imageAlt)&&void 0!==i?i:t.title)&&void 0!==o?o:"card-icon",width:a,height:s,className:Ee("object-contain",t.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),e.jsxs("div",{className:"flex flex-col gap-3 md:gap-4",children:[H,t.titleLocation?e.jsx("div",{className:"mb-1 lg:mb-2",children:e.jsx(qn,{as:"h4",className:"label1 font-bold text-text",children:t.titleLocation})}):null,W?e.jsx("div",{className:"mb-2",children:e.jsx("table",{children:e.jsxs("tbody",{children:[null===(C=t.workingHours)||void 0===C?void 0:C.map((t,n)=>{const[r,i]=(null!=t?t:"").split("|");return e.jsxs("tr",{children:[e.jsx("td",{className:"py-2 pr-3",children:e.jsx(qn,{className:"label2 text-text",children:r})}),e.jsx("td",{className:"py-2 pl-3",children:e.jsx(qn,{className:"body2 font-bold text-text",children:i})})]},`wh-${n}`)}),null===(I=t.phoneNumber)||void 0===I?void 0:I.map((t,n)=>e.jsxs("tr",{children:[e.jsx("td",{className:"py-1 pr-3 align-middle",children:e.jsx(Qn,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e.jsx("td",{className:"py-1 pl-3",children:e.jsx(rr,{href:Bd(t),className:"text-inherit no-underline",children:e.jsx(qn,{className:"body2 font-bold text-text",children:t})})})]},`ph-${n}`))]})})}):null,t.body?e.jsx(qn,{as:"div",className:"body1 text-text",style:V,children:t.body}):null,t.richText?e.jsx(qn,{as:"div",className:"body1 text-text",style:V,children:t.richText}):null]})]})}),t.cta?e.jsx("div",{className:Ee(!X&&"mt-2",B),children:e.jsx(Id,{linkVariant:"unstyled",linkClassName:Ee("label1 flex items-center gap-2 text-text",G&&t.textColor&&"decoration-current"),...t.cta,iconName:null!==(N=t.cta.iconName)&&void 0!==N?N:"expand_circle_right",iconFill:null!==(E=t.cta.iconFill)&&void 0!==E?E:1,fullWidth:!0,buttonClassName:Ee(t.cta.buttonClassName,X&&"w-[342px] max-w-full px-4 lg:w-[342px]")})}):null]})]})},Od={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]"},Gd={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},Md={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},Dd=e=>Math.max(1,Math.min(6,e)),Vd=t.forwardRef(({as:t,className:n="",...r},i)=>{const o=Ee(n);if(t){const n=t;return e.jsx(n,{ref:i,className:o,...r})}return e.jsx("img",{ref:i,className:o,...r})});Vd.displayName="Image";const Fd=({onSelect:n,speed:r,isSelected:i=!1,renderCheckPlans:o,iconSize:a=24,iconClassName:s,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,h=null==o?void 0:o({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(li,{onClick:()=>{p(!0),n()},className:Ee(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Qn,{className:Ee(s,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:a})]}),h]})},Hd=({planName:n,planSubtext:r,speed:i,price:o,description:a,bestValue:s=!1,bestValueText:l="best value",giftBadge:c,innerBadge:u,theme:d="light",featuresTitle:p="Business Ready Internet features",features:m=[],isExpanded:h,onToggleExpand:f,onCtaClick:g,renderCheckPlans:b,cta:v,techType:x,ismaxSpeed:y})=>{const[w,C]=t.useState(!1),I=void 0!==h?h:w,N="dark"===d;return e.jsxs("article",{className:Ee("relative flex h-full w-full max-w-[392px] flex-col",!s&&"md:pt-[38px]"),children:[s&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:l}),e.jsxs("div",{className:Ee("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",N?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",s?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(qn,{as:"h3",className:Ee("subheading2",N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(qn,{as:"p",className:"label3 text-wrap "+(N?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx(qn,{as:"span",className:Ee("label2 mr-1 mt-[2px]",N?"text-text-inverse":"text-text"),children:"$"}),e.jsx(qn,{as:"span",className:Ee("subheading6",N?"text-text-inverse":"text-text"),children:o.split(".")[0]}),e.jsxs(qn,{as:"span",className:Ee("label2",N?"text-text-inverse":"text-text"),children:[o.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(qn,{className:Ee("body2",N?"text-text-inverse":"text-text"),children:a})}),(null==c?void 0:c.length)?e.jsx("div",{className:Ee("flex-col items-center rounded-surface-sm p-2",N?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Vd,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(qn,{as:"div",className:Ee("body3",N?"text-text-inverse":"text-text"),children:t.title})]},t.title))}):null,e.jsx(Fd,{onSelect:g,speed:i,isSelected:N,renderCheckPlans:b,cta:v,iconSize:40,techType:x,isMax:y}),m.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(li,{onClick:()=>{f?f():C(!w)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(qn,{as:"h4",className:Ee("label3",N?"text-text-inverse":"text-text"),children:p}),e.jsx(Qn,{name:"keyboard_arrow_down",fill:1,size:24,className:Ee("transition-transform duration-300",I&&"rotate-180",N?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ee("overflow-hidden transition-all duration-200 ease-in-out",I?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(er,{items:m,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:N?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(N?"text-text-inverse":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(Vd,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:u.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e.jsx(qn,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},Wd=({title:t,quote:n,rating:r,author:i,role:o,avatarUrl:a,isActive:s=!1,className:l})=>e.jsxs("figure",{className:m("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",s?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",l),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx(qn,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),r?e.jsx("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Qn,{size:24,name:"star",fill:1,className:m("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),i&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:a?e.jsx(u.default,{src:a,alt:i,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:i.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:i}),e.jsx(qn,{as:"p",className:"body3 text-text",children:o})]})]})]});function Xd({fields:n,renderCheckPlans:r,isVisible:i=!0}){var o,a,s,l;const c=(null===(s=null===(a=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===a?void 0:a[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[u,d]=t.useState(c),[p,m]=t.useState({}),[h,f]=t.useState(0),[g,b]=t.useState(0),[v,x]=t.useState(0),[y,w]=t.useState(!1),C=(null===(l=null==n?void 0:n.items)||void 0===l?void 0:l.items)||[],I=C.length>2,N=!1!==(null==n?void 0:n.showArrows)&&I,E=t.useRef([]),A=t.useRef(null),j=t.useRef(0);t.useEffect(()=>{if(!I||!i)return;const e=()=>{var e;const t=(null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||0;if(0===t)return;const n=t-32,r=Math.max(1,Math.floor((n+16)/408));b(Math.max(0,C.length-r))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[I,i,C.length]),t.useEffect(()=>{f(e=>Math.min(e,g))},[g]);const T=t.useCallback(()=>{I&&f(e=>Math.max(0,e-1))},[I]),S=t.useCallback(()=>{I&&f(e=>Math.min(g,e+1))},[I,g]),k=t.useCallback(e=>{I&&(j.current=e.touches[0].clientX,w(!0))},[I]),P=t.useCallback(e=>{if(!y)return;const t=e.touches[0].clientX-j.current;x(0===h&&t>0||h>=g&&t<0?.3*t:t)},[y,h,g]),R=t.useCallback(()=>{var e;if(!y)return;w(!1);const t=.15*((null===(e=A.current)||void 0===e?void 0:e.offsetWidth)||0);v>t?T():v<-t&&S(),x(0)},[y,v,T,S]);if(t.useEffect(()=>{if(!I||!i)return;const e=()=>{const e=E.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,i,u,C.length]),!C.length&&!(null==n?void 0:n.title))return null;const B=(t,n,i=!1)=>{var o,a,s,l,c,h,f,g;const b=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==b?void 0:b[0])||"",x=(null==b?void 0:b[1])||"",y=(null===(s=null===(a=null==t?void 0:t.priceSuffix)||void 0===a?void 0:a.split("/"))||void 0===s?void 0:s[0])||"00",w=`${(null==t?void 0:t.price)||"0"}.${y}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],I=(null==t?void 0:t.highlighted)||!1,N=(null===(h=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===h?void 0:h.items)||[],A={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},j=i?p[n]||!1:u;return e.jsx("div",{ref:i?void 0:e=>{e&&!E.current.includes(e)&&(E.current[n]=e)},className:Ee(i?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e.jsx(Hd,{planName:v,planSubtext:x,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:w,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:A,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:I,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:C,isExpanded:j,onToggleExpand:()=>{i?m(e=>({...e,[n]:!e[n]})):d(!u)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,cta:t.cta,hostType:"smb"})},n)};return I?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:C.map((e,t)=>B(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[N&&e.jsxs("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:[h>0?e.jsx(li,{onClick:T,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.jsx(Qn,{name:"arrow_back",size:24})}):e.jsx("span",{className:"h-12 w-12","aria-hidden":"true"}),h<g?e.jsx(li,{onClick:S,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.jsx(Qn,{name:"arrow_forward",size:24})}):e.jsx("span",{className:"h-12 w-12","aria-hidden":"true"})]}),e.jsx("div",{ref:A,className:"mx-auto max-w-[1280px] select-none overflow-hidden",onTouchStart:k,onTouchMove:P,onTouchEnd:R,onTouchCancel:R,children:e.jsx("div",{className:Ee("ml-8 flex items-stretch gap-4 pb-4",y?"transition-none":"transition-transform duration-500 ease-in-out"),style:{transform:`translateX(calc(-${h} * (392px + 16px) + ${v}px))`},children:C.map((e,t)=>B(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-4",children:C.map((e,t)=>B(e,t))})}function zd({fields:t,renderCheckPlans:n,activeTab:r,tabs:i}){var o;const a=(null===(o=null==t?void 0:t.items)||void 0===o?void 0:o.items)||[];return i&&i.length>1&&r?e.jsx(e.Fragment,{children:i.map(o=>{const s=a.filter(e=>(e.productCategory||i[0])===o),l={...t,items:{...t.items,items:s}};return e.jsx("div",{style:{display:o===r?"block":"none"},"aria-hidden":o!==r,children:e.jsx(Xd,{fields:l,renderCheckPlans:n,isVisible:o===r})},o)})}):e.jsx(Xd,{fields:t,renderCheckPlans:n})}const _d=l.default.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:a,isMobile:s,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),m=u*c+o/l*100,h=!s||(a?d||p:d);return e.jsx("div",{className:Ee("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.jsx(Wd,{...t,isActive:d,className:"h-full"})})});_d.displayName="TestimonialCarouselSlide";const Zd=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const a=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!a||0===a.length)return null;const s=function(e){const{itemCount:n,cardOffsetPercentage:r=105,swipeThreshold:i=.15,mobileBreakpoint:o=768,autoScrollInterval:a=8e3,enableAutoScroll:s=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,m]=t.useState(!1),[h,f]=t.useState("undefined"!=typeof window?window.innerWidth:1),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),w={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:a};t.useEffect(()=>{const e=()=>{var e;f((null===(e=y.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),I=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),N=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),E=t.useCallback(e=>{x.current=e.touches[0].clientX,m(!0),v.current&&clearInterval(v.current)},[]),A=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),j=t.useCallback(()=>{m(!1);const e=h*i;u>e?I():u<-e&&C(),d(0),s&&a>0&&(v.current=setInterval(()=>{C()},a))},[u,h,i,I,C,s,a]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),t.useEffect(()=>{if(s&&0!==n&&0!==a)return v.current=setInterval(()=>{C()},a),()=>{v.current&&clearInterval(v.current)}},[C,n,s,a]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:h,containerRef:y,nextSlide:C,prevSlide:I,goToSlide:N,handleTouchStart:E,handleTouchMove:A,handleTouchEnd:j,constants:w}}({itemCount:a.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(li,{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.jsx(Qn,{name:"arrow_back",size:24})}),e.jsx(li,{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.jsx(Qn,{name:"arrow_forward",size:24})}),e.jsx("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.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,n)=>e.jsx(_d,{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.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:a.map((t,n)=>e.jsx("button",{onClick:()=>s.goToSlide(n),className:Ee("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))})]})},Yd=({tabs:n,activeTab:r,onChange:i,className:o})=>{const a=n.indexOf(r),s=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=s.current[a];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[a,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Ee("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{s.current[n]=e},onClick:()=>i(t),className:Ee("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Jd=({link:n,anchorName:r,linkColorClassName:i})=>{const[o,a]=l.default.useState(!1),s=l.default.useRef(null);if(((e,n)=>{const r=t=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))})(s,()=>a(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Id,{...n,linkClassName:Ee("body3 flex items-center h-full",i||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:u,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],m=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:m},ref:s,children:[e.jsxs(Id,{onClick:()=>a(e=>!e),"aria-expanded":o,buttonClassName:Ee("group body3 flex items-center h-full",i||"text-text"),showButtonAs:"unstyled",children:[e.jsx(qn,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e.jsx(Qn,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e.jsx("div",{className:Ee("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("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.jsx("li",{className:"submenu-link type1",children:e.jsx(Id,{...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}`))})})]})},Ud=({link:t})=>{const[n,r]=l.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(Id,{...t,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`);const{anchorId:i,title:o,items:a}=t,s=Array.isArray(null==a?void 0:a.items)?a.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(Id,{onClick:()=>r(e=>!e),"aria-expanded":n,buttonClassName:" label3 flex items-center w-full h-11 px-4",showButtonAs:"unstyled",children:[null!=o?o:null,e.jsx(Qn,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},i),n&&s.length>0&&e.jsx($d,{items:s})]})},$d=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link type2",children:e.jsx(Id,{...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}`),Kd=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:i="md",children:o,className:a,prefix:s,containerClassName:l,...c}=t,u=e.jsxs(rr,{...c,className:Ee("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[r],a),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:Ee("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"}[i]),children:e.jsx(Qn,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:o})]});return null==s||!1===s||""===s?u:e.jsxs("span",{className:Ee("flex items-center gap-2",l),children:["string"==typeof s||"number"==typeof s?e.jsx("span",{className:"text-sm font-normal text-text",children:s}):s,u]})};Kd.displayName="CallButton";const Qd=t.forwardRef((n,r)=>{const{className:i,size:o,required:a,placeholder:s,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:m=!1,prefixIconSize:h=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:w,...C}=n,I=y?"error":c,[N,E]=t.useState(!1),[A,j]=t.useState(!1),[T,S]=t.useState(w||"text"),k=t.useCallback(e=>{e.stopPropagation(),S(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ee("inline-block pb-1"),children:e.jsxs(qn,{as:"span",className:"footnote text-text",children:[l,a?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ee("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],b,(N||"hover"===I)&&!A&&"error"!==I&&"border-input-border-hover",(A||"focus"===I||"active"===I)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===I&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:h,height:h,overflow:"hidden"},children:e.jsx(Qn,{name:d,fill:p?1:0,size:h,className:Ee(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:x||C.disabled,className:Ee("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:s,type:T,...C,onMouseOver:()=>E(!0),onMouseOut:()=>E(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),j(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),j(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:k,children:e.jsx(Qn,{name:"text"===T?"visibility":"visibility_off",size:g,fill:m?1:0})}):null]}),"error"===I&&u&&""!=u?e.jsxs(qn,{className:Ee("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Qn,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Qd.displayName="Input";const qd=t=>{var n;const{primaryNavigationLinks:r,utilityNavigationLinks:i,supportNavigationLinks:o,accountNavigationLinks:a,showCallButton:s,displayCallNowCta:c,displaySearchBar:u}=t,[d,p]=l.default.useState(!1);l.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=d?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,a;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(a=(o=n).focus)||void 0===a||a.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[d]);const m=()=>{p(!1)};return e.jsxs("div",{children:[e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>p(!0),children:e.jsx(Qn,{name:"menu"})}),d?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Ee("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",d?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:Ee("flex items-center px-4",!1!==s||!1!==c?"justify-between":"justify-end"),children:[!1!==s||!1!==c?e.jsx("div",{children:e.jsx(Kd,{className:"border-none",href:t.invocaPhoneNumberLink,onClick:t.onCallClickMobile,children:t.invocaPhoneNumberDisplayText})}):null,e.jsx("div",{children:e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e.jsx(Qn,{name:"close"})})})]}),!1!==u?e.jsx(ep,{closeMenu:m,isMenuOpen:d,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}):null,e.jsxs("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...o||[],...a||[]].map((t,n)=>e.jsx("li",{children:e.jsx(Ud,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==i?void 0:i.map((n,r)=>e.jsx("li",{children:e.jsx(Id,{...Object.fromEntries(Object.entries(n).filter(([e,t])=>null!==t)),linkClassName:Ee("footnote flex items-center w-full h-11 text-text-link","number"!=typeof t.utilityNavActiveIndex?1===r&&"label4":t.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${n.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},ep=t=>{const{closeMenu:n,onSearch:r,isMenuOpen:i,searchBarIconURL:o}=t,[a,s]=l.default.useState(""),c=l.default.useRef(null),u=e=>{n(),e.preventDefault(),r(a)};return l.default.useEffect(()=>{i||s("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx(Jr,{src:o,width:32,height:32,className:"ml-2",alt:"Search icon",role:"button",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(Qd,{ref:c,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:a,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},tp=t=>{const{searchBarIconURL:n,onSearch:r}=t,[i,o]=l.default.useState(""),a=l.default.useRef(null),s=e=>{e.preventDefault(),r(i)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:s,children:[e.jsx(Jr,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:s}),e.jsx(Qd,{ref:a,type:"text",name:"search",placeholder:"Search...",value:i,onChange:e=>o(e.target.value),className:"body3 rounded-full px-3 text-text",containerClassName:"px-0 h-full border-none rounded-full",autoComplete:"off"})]})};function np(t,n){const r=Array.isArray(t)?t:[t],i=Math.min(n,r.length);return e.jsx("div",{className:"flex flex-col py-7",children:e.jsx("div",{className:"flex shrink-0 basis-0 flex-row gap-16 md:gap-20",children:[...new Array(i)].map((t,n)=>e.jsx("ul",{className:"flex flex-col gap-5",style:{width:"172px"},children:r.slice(n*Math.ceil(r.length/i),(n+1)*Math.ceil(r.length/i)).map((t,r)=>e.jsx("li",{children:t},`ordered-item-${n}-${r}`))},`ordered-col-${n}`))})})}function rp({items:t,currentTabIndex:n,subitemColCount:r,onTabClick:i}){return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:t.map((t,r)=>e.jsx(Id,{showButtonAs:"unstyled",onClick:()=>i(r,t.anchorId||""),buttonClassName:Ee("py-2 whitespace-nowrap",r===n?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},r))})}),t.map((t,i)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:i===n?"auto":0,opacity:i===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ee("overflow-hidden",i===n?"block":"hidden"),id:t.anchorId||`tab-${i}`,children:e.jsx("div",{className:"px-5 py-4 md:px-10",children:np(t.tabContent,r)})})})},i))]})}function ip({items:t,currentTabIndex:n,subitemColCount:r,onTabClick:i,setCurrentTabIndex:o}){return e.jsx("div",{className:"flex w-full flex-col",children:t.map((t,a)=>e.jsxs("div",{children:[e.jsxs("button",{onClick:()=>a===n?o(-1):i(a,t.anchorId||""),className:Ee("flex w-full items-center justify-between px-5 py-4 text-text md:px-10",a===n?"bg-bg-surface-hover":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Qn,{name:a===n?"keyboard_arrow_up":"keyboard_arrow_down",className:"text-text",size:40})]}),e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:a===n?"auto":0,opacity:a===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ee("overflow-hidden",a===n?"block":"hidden"),id:t.anchorId||`tab-${a}`,children:e.jsx("div",{className:"px-5 py-4 md:px-10",children:np(t.tabContent,r)})})})]},a))})}function op({items:t,currentTabIndex:n,subitemColCount:r,onTabClick:i}){return e.jsxs("div",{className:"flex gap-10 px-5 py-20",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"flex min-w-[320px] gap-4 rounded-[20px] border-2 px-6 py-7 shadow-lg",children:[...new Array(Math.min(2,t.length))].map((r,o)=>{const a=Math.ceil(t.length/2);return e.jsx("div",{className:"flex flex-1 flex-col gap-4",children:t.slice(o*a,(o+1)*a).map((t,r)=>{const s=o*a+r;return e.jsx("button",{onClick:()=>i(s,t.anchorId||""),className:Ee("label1 whitespace-nowrap rounded-lg px-4 py-3 text-left",s===n?"bg-bg-inverse text-white":"text-text"),children:t.tabName},s)})},`tab-col-${o}`)})})}),e.jsx("div",{className:"w-full",children:t.map((t,i)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{opacity:0,y:20},animate:{opacity:i===n?1:0,y:i===n?0:20},exit:{opacity:0,y:-20},transition:{duration:.3},className:Ee("overflow-hidden pl-10 xl:pl-20",i===n?"block":"hidden"),id:t.anchorId||`tab-${i}`,children:np(t.tabContent,r)})})},i))})]})}function ap({items:t,currentTabIndex:n,onTabClick:r}){return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:t.map((t,i)=>e.jsx(Id,{showButtonAs:"unstyled",onClick:()=>r(i,t.anchorId),buttonClassName:Ee("py-2 whitespace-nowrap",i===n?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},i))})}),t.map((t,r)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:r===n?"auto":0,opacity:r===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},r))]})}function sp({items:t,currentTabIndex:n,onTabClick:r}){return e.jsx(e.Fragment,{children:t.map((t,i)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(Id,{showButtonAs:"unstyled",onClick:()=>r(i,t.anchorId),buttonClassName:Ee("w-full flex justify-between items-center px-4 py-5",i===n?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Qn,{name:i===n?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(ci,{open:i===n,children:e.jsx("div",{className:Ee("px-4 py-4"),children:t.tabContent})})]},i))})}function lp({items:t,currentTabIndex:n,onTabClick:r}){return e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:t.map((t,i)=>e.jsx(Id,{showButtonAs:"unstyled",onClick:()=>r(i,t.anchorId),buttonClassName:Ee("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",i===n?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},i))})}),e.jsx("div",{className:"grow",children:t.map((t,r)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:r===n?"auto":0,opacity:r===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},r))})]})}function cp(n){var r;const[i,o]=t.useState(0),[a,s]=t.useState(""),[l,c]=t.useState(2),{title:u,subTitle:d,tabs:p,navigationType:m=!0,mobileSidebarTabType:h=!0,dynamic:f=!1,isOrderedList:g=!1}=n,b=null!==(r=null==p?void 0:p.items)&&void 0!==r?r:[];t.useEffect(()=>{if("undefined"!=typeof window){s(window.location.hash);const e=()=>{s(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==p?void 0:p.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===a)return o(t),!0})},[p,a]),t.useEffect(()=>{if(!f)return;const e=()=>{if("undefined"==typeof window)return;const e=window.innerWidth;c(e<=640?2:e>750||e<=768?3:e<=1024?2:3)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[f]);const v=(e,t)=>{o(e),"undefined"!=typeof window&&a&&(window.location.hash=t||"")};return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx(qn,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(qn,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,f&&g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"lg:hidden",children:h?e.jsx(rp,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v}):e.jsx(ip,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v,setCurrentTabIndex:o})}),e.jsx("div",{className:"hidden lg:block",children:m?e.jsx(rp,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v}):e.jsx(op,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v})})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"md:hidden",children:h?e.jsx(ap,{items:b,currentTabIndex:i,onTabClick:v}):e.jsx(sp,{items:b,currentTabIndex:i,onTabClick:v})}),e.jsx("div",{className:"hidden md:block",children:m?e.jsx(ap,{items:b,currentTabIndex:i,onTabClick:v}):e.jsx(lp,{items:b,currentTabIndex:i,onTabClick:v})})]})]})}const up={closed:{opacity:0},open:{opacity:1}},dp={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},pp={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"};function mp(){return mp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mp.apply(null,arguments)}function hp(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function fp(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function gp(...e){return t.useCallback(fp(...e),e)}function bp(...e){const n=e[0];if(1===e.length)return n;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=r.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}const vp=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},xp=l["useId".toString()]||(()=>{});let yp=0;function wp(e){const[t,n]=l.useState(xp());return vp(()=>{n(e=>null!=e?e:String(yp++))},[e]),e||(t?`radix-${t}`:"")}function Cp(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Ip({prop:e,defaultProp:n,onChange:r=()=>{}}){const[i,o]=function({defaultProp:e,onChange:n}){const r=t.useState(e),[i]=r,o=t.useRef(i),a=Cp(n);return t.useEffect(()=>{o.current!==i&&(a(i),o.current=i)},[i,o,a]),r}({defaultProp:n,onChange:r}),a=void 0!==e,s=a?e:i,l=Cp(r);return[s,t.useCallback(t=>{if(a){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[a,e,o,l])]}const Np=t.forwardRef((e,n)=>{const{children:r,...i}=e,o=t.Children.toArray(r),a=o.find(jp);if(a){const e=a.props.children,r=o.map(n=>n===a?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(Ep,mp({},i,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement(Ep,mp({},i,{ref:n}),r)});Np.displayName="Slot";const Ep=t.forwardRef((e,n)=>{const{children:r,...i}=e;return t.isValidElement(r)?t.cloneElement(r,{...Tp(i,r.props),ref:n?fp(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});Ep.displayName="SlotClone";const Ap=({children:e})=>t.createElement(t.Fragment,null,e);function jp(e){return t.isValidElement(e)&&e.type===Ap}function Tp(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const Sp=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const r=t.forwardRef((e,r)=>{const{asChild:i,...o}=e,a=i?Np:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(a,mp({},o,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const kp="dismissableLayer.update",Pp="dismissableLayer.pointerDownOutside",Rp="dismissableLayer.focusOutside";let Bp;const Lp=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Op=t.forwardRef((e,n)=>{var r;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(Lp),[p,m]=t.useState(null),h=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=gp(n,e=>m(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,I=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Cp(e),i=t.useRef(!1),o=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){const t={originalEvent:e};function a(){Mp(Pp,r,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=a,n.addEventListener("click",o.current,{once:!0})):a()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));C&&!n&&(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},h),N=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Cp(e),i=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){Mp(Rp,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},h);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Cp(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[r,n])}(e=>{y===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),t.useEffect(()=>{if(p)return i&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Bp=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Gp(),()=>{i&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=Bp)}},[p,h,i,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Gp())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(kp,e),()=>document.removeEventListener(kp,e)},[]),t.createElement(Sp.div,mp({},u,{ref:g,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:hp(e.onFocusCapture,N.onFocusCapture),onBlurCapture:hp(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:hp(e.onPointerDownCapture,I.onPointerDownCapture)}))});function Gp(){const e=new CustomEvent(kp);document.dispatchEvent(e)}function Mp(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}(o,a):o.dispatchEvent(a)}const Dp="focusScope.autoFocusOnMount",Vp="focusScope.autoFocusOnUnmount",Fp={bubbles:!1,cancelable:!0},Hp=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...s}=e,[l,c]=t.useState(null),u=Cp(o),d=Cp(a),p=t.useRef(null),m=gp(n,e=>c(e)),h=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(i){function e(e){if(h.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:_p(p.current,{select:!0})}function t(e){if(h.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||_p(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&_p(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[i,l,h.paused]),t.useEffect(()=>{if(l){Zp.add(h);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(Dp,Fp);l.addEventListener(Dp,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(_p(r,{select:t}),document.activeElement!==n)return}((e=Wp(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&_p(l))}return()=>{l.removeEventListener(Dp,u),setTimeout(()=>{const e=new CustomEvent(Vp,Fp);l.addEventListener(Vp,d),l.dispatchEvent(e),e.defaultPrevented||_p(null!=t?t:document.body,{select:!0}),l.removeEventListener(Vp,d),Zp.remove(h)},0)}}var e},[l,u,d,h]);const f=t.useCallback(e=>{if(!r&&!i)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[i,o]=function(e){const t=Wp(e),n=Xp(t,e),r=Xp(t.reverse(),e);return[n,r]}(t);i&&o?e.shiftKey||n!==o?e.shiftKey&&n===i&&(e.preventDefault(),r&&_p(o,{select:!0})):(e.preventDefault(),r&&_p(i,{select:!0})):n===t&&e.preventDefault()}},[r,i,h.paused]);return t.createElement(Sp.div,mp({tabIndex:-1},s,{ref:m,onKeyDown:f}))});function Wp(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 Xp(e,t){for(const n of e)if(!zp(n,{upTo:t}))return n}function zp(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 _p(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 Zp=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Yp(e,t),e.unshift(t)},remove(t){var n;e=Yp(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Yp(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Jp=t.forwardRef((e,n)=>{var r;const{container:i=(null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...o}=e;return i?d.default.createPortal(t.createElement(Sp.div,mp({},o,{ref:n})),i):null});const Up=e=>{const{present:n,children:r}=e,o=function(e){const[n,r]=t.useState(),o=t.useRef({}),a=t.useRef(e),s=t.useRef("none"),l=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=$p(o.current);s.current="mounted"===c?e:"none"},[c]),vp(()=>{const t=o.current,n=a.current;if(n!==e){const r=s.current,i=$p(t);if(e)u("MOUNT");else if("none"===i||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==i?"ANIMATION_OUT":"UNMOUNT")}a.current=e}},[e,u]),vp(()=>{if(n){const e=e=>{const t=$p(o.current).includes(e.animationName);e.target===n&&t&&i.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(s.current=$p(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}(n),a="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),s=gp(o.ref,a.ref);return"function"==typeof r||o.isPresent?t.cloneElement(a,{ref:s}):null};function $p(e){return(null==e?void 0:e.animationName)||"none"}Up.displayName="Presence";let Kp=0;function Qp(){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 qp=function(){return qp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qp.apply(this,arguments)};function em(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var tm="right-scroll-bar-position",nm="width-before-scroll-bar";function rm(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var im="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,om=new WeakMap;function am(e,n){var r,i,o,a=(r=null,i=function(t){return e.forEach(function(e){return rm(e,t)})},(o=t.useState(function(){return{value:r,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 im(function(){var t=om.get(a);if(t){var n=new Set(t),r=new Set(e),i=a.current;n.forEach(function(e){r.has(e)||rm(e,null)}),r.forEach(function(e){n.has(e)||rm(e,i)})}om.set(a,e)},[e]),a}function sm(e){return e}var lm=function(e){var t=e.sideCar,n=em(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return l.createElement(r,qp({},n))};lm.isSideCarExport=!0;var cm=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=sm);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=qp({async:!0,ssr:!1},e),t}(),um=function(){},dm=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:um,onWheelCapture:um,onTouchMoveCapture:um}),i=r[0],o=r[1],a=e.forwardProps,s=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=em(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=m,w=am([n,t]),C=qp(qp({},x),i);return l.createElement(l.Fragment,null,d&&l.createElement(y,{sideCar:cm,removeScrollBar:u,shards:p,noIsolation:h,inert:f,setCallbacks:o,allowPinchZoom:!!g,lockRef:n}),a?l.cloneElement(l.Children.only(s),qp(qp({},C),{ref:w})):l.createElement(v,qp({},C,{className:c,ref:w}),s))});dm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},dm.classNames={fullWidth:nm,zeroRight:tm};function pm(){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 mm=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=pm())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},hm=function(){var e,t=(e=mm(),function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},fm={left:0,top:0,right:0,gap:0},gm=function(e){return parseInt(e||"",10)||0},bm=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return fm;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[gm(n),gm(r),gm(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},vm=hm(),xm="data-scroll-locked",ym=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(xm,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tm," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(nm," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(tm," .").concat(tm," {\n right: 0 ").concat(r,";\n }\n \n .").concat(nm," .").concat(nm," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(xm,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},wm=function(){var e=parseInt(document.body.getAttribute(xm)||"0",10);return isFinite(e)?e:0},Cm=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;l.useEffect(function(){return document.body.setAttribute(xm,(wm()+1).toString()),function(){var e=wm()-1;e<=0?document.body.removeAttribute(xm):document.body.setAttribute(xm,e.toString())}},[]);var o=l.useMemo(function(){return bm(i)},[i]);return l.createElement(vm,{styles:ym(o,!t,i,n?"":"!important")})},Im=!1;if("undefined"!=typeof window)try{var Nm=Object.defineProperty({},"passive",{get:function(){return Im=!0,!0}});window.addEventListener("test",Nm,Nm),window.removeEventListener("test",Nm,Nm)}catch(e){Im=!1}var Em=!!Im&&{passive:!1},Am=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])},jm=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Tm(e,n)){var r=Sm(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Tm=function(e,t){return"v"===e?function(e){return Am(e,"overflowY")}(t):function(e){return Am(e,"overflowX")}(t)},Sm=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)},km=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Pm=function(e){return[e.deltaX,e.deltaY]},Rm=function(e){return e&&"current"in e?e.current:e},Bm=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Lm=0,Om=[];var Gm,Mm=(Gm=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(Lm++)[0],o=l.useState(function(){return hm()})[0],a=l.useRef(e);l.useEffect(function(){a.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Rm),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var i,o=km(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],c="deltaY"in e?e.deltaY:s[1]-o[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=jm(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=jm(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var m=r.current||i;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,s=t.contains(a),l=!1,c=o>0,u=0,d=0;do{var p=Sm(e,a),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&Tm(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=l.useCallback(function(e){var n=e;if(Om.length&&Om[Om.length-1]===o){var r="deltaY"in n?Pm(n):km(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var l=(a.current.shards||[]).map(Rm).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?s(n,l[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=l.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=l.useCallback(function(e){n.current=km(e),r.current=void 0},[]),p=l.useCallback(function(t){u(t.type,Pm(t),t.target,s(t,e.lockRef.current))},[]),m=l.useCallback(function(t){u(t.type,km(t),t.target,s(t,e.lockRef.current))},[]);l.useEffect(function(){return Om.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,Em),document.addEventListener("touchmove",c,Em),document.addEventListener("touchstart",d,Em),function(){Om=Om.filter(function(e){return e!==o}),document.removeEventListener("wheel",c,Em),document.removeEventListener("touchmove",c,Em),document.removeEventListener("touchstart",d,Em)}},[]);var h=e.removeScrollBar,f=e.inert;return l.createElement(l.Fragment,null,f?l.createElement(o,{styles:Bm(i)}):null,h?l.createElement(Cm,{gapMode:"margin"}):null)},cm.useMedium(Gm),lm),Dm=l.forwardRef(function(e,t){return l.createElement(dm,qp({},e,{ref:t,sideCar:Mm}))});Dm.classNames=dm.classNames;var Vm=new WeakMap,Fm=new WeakMap,Hm={},Wm=0,Xm=function(e){return e&&(e.host||Xm(e.parentNode))},zm=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Xm(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]);Hm[n]||(Hm[n]=new WeakMap);var o=Hm[n],a=[],s=new Set,l=new Set(i),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Vm.get(e)||0)+1,c=(o.get(e)||0)+1;Vm.set(e,l),o.set(e,c),a.push(e),1===l&&i&&Fm.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),Wm++,function(){a.forEach(function(e){var t=Vm.get(e)-1,i=o.get(e)-1;Vm.set(e,t),o.set(e,i),t||(Fm.has(e)||e.removeAttribute(r),Fm.delete(e)),i||e.removeAttribute(n)}),--Wm||(Vm=new WeakMap,Vm=new WeakMap,Fm=new WeakMap,Hm={})}},_m=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),zm(r,i,n,"aria-hidden")):function(){return null}};const Zm="Dialog",[Ym,Jm]=function(e,n=[]){let r=[];const i=()=>{const n=r.map(e=>t.createContext(e));return function(r){const i=(null==r?void 0:r[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(n,i){const o=t.createContext(i),a=r.length;function s(n){const{scope:r,children:i,...s}=n,l=(null==r?void 0:r[e][a])||o,c=t.useMemo(()=>s,Object.values(s));return t.createElement(l.Provider,{value:c},i)}return r=[...r,i],s.displayName=n+"Provider",[s,function(r,s){const l=(null==s?void 0:s[e][a])||o,c=t.useContext(l);if(c)return c;if(void 0!==i)return i;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},bp(i,...n)]}(Zm),[Um,$m]=Ym(Zm),Km="DialogPortal",[Qm,qm]=Ym(Km,{forceMount:void 0}),eh="DialogOverlay",th=t.forwardRef((e,n)=>{const r=qm(eh,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,a=$m(eh,e.__scopeDialog);return a.modal?t.createElement(Up,{present:i||a.open},t.createElement(nh,mp({},o,{ref:n}))):null}),nh=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=$m(eh,r);return t.createElement(Dm,{as:Np,allowPinchZoom:!0,shards:[o.contentRef]},t.createElement(Sp.div,mp({"data-state":dh(o.open)},i,{ref:n,style:{pointerEvents:"auto",...i.style}})))}),rh="DialogContent",ih=t.forwardRef((e,n)=>{const r=qm(rh,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,a=$m(rh,e.__scopeDialog);return t.createElement(Up,{present:i||a.open},a.modal?t.createElement(oh,mp({},o,{ref:n})):t.createElement(ah,mp({},o,{ref:n})))}),oh=t.forwardRef((e,n)=>{const r=$m(rh,e.__scopeDialog),i=t.useRef(null),o=gp(n,r.contentRef,i);return t.useEffect(()=>{const e=i.current;if(e)return _m(e)},[]),t.createElement(sh,mp({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:hp(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:hp(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:hp(e.onFocusOutside,e=>e.preventDefault())}))}),ah=t.forwardRef((e,n)=>{const r=$m(rh,e.__scopeDialog),i=t.useRef(!1),o=t.useRef(!1);return t.createElement(sh,mp({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,a;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(i.current||null===(a=r.triggerRef.current)||void 0===a||a.focus(),t.preventDefault());i.current=!1,o.current=!1},onInteractOutside:t=>{var n,a;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const s=t.target;(null===(a=r.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),sh=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,...s}=e,l=$m(rh,r),c=gp(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Qp()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Qp()),Kp++,()=>{1===Kp&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Kp--}},[]),t.createElement(t.Fragment,null,t.createElement(Hp,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:a},t.createElement(Op,mp({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":dh(l.open)},s,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),lh="DialogTitle",ch="DialogClose",uh=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=$m(ch,r);return t.createElement(Sp.button,mp({type:"button"},i,{ref:n,onClick:hp(e.onClick,()=>o.onOpenChange(!1))}))});function dh(e){return e?"open":"closed"}!function(e,n){const r=t.createContext(n);function i(e){const{children:n,...i}=e,o=t.useMemo(()=>i,Object.values(i));return t.createElement(r.Provider,{value:o},n)}i.displayName=e+"Provider"}("DialogTitleWarning",{contentName:rh,titleName:lh,docsSlug:"dialog"});const ph=e=>{const{__scopeDialog:n,children:r,open:i,defaultOpen:o,onOpenChange:a,modal:s=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Ip({prop:i,defaultProp:o,onChange:a});return t.createElement(Um,{scope:n,triggerRef:l,contentRef:c,contentId:wp(),titleId:wp(),descriptionId:wp(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:s},r)},mh=e=>{const{__scopeDialog:n,forceMount:r,children:i,container:o}=e,a=$m(Km,n);return t.createElement(Qm,{scope:n,forceMount:r},t.Children.map(i,e=>t.createElement(Up,{present:r||a.open},t.createElement(Jp,{asChild:!0,container:o},e))))},hh=th,fh=ih,gh=uh,bh=t=>{const{isOpen:n,onRequestClose:r,size:i,title:o,content:a,description:s,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(ph,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(mh,{children:[e.jsx(cd.div,{initial:"closed",animate:n?"open":"closed",variants:up,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(hh,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(cd.div,{initial:"closed",animate:n?"open":"closed",variants:dp,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.jsx(fh,{onOpenAutoFocus:e=>e.preventDefault(),className:Ee("relative mx-auto w-full overflow-hidden rounded-[24px] shadow-drop focus:outline-none",!/(^|\s)bg-/.test(null!=c?c:"")&&"bg-bg",!/(^|\s)p-/.test(null!=c?c:"")&&"p-[25px]",c),style:{maxWidth:pp[i||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(gh,{asChild:!0,children:e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 z-10 mr-2 mt-2",children:e.jsx(Qn,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-y-auto scroll-smooth [scrollbar-color:rgba(0,0,0,0.2)_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-black/20 hover:[&::-webkit-scrollbar-thumb]:bg-black/30 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar]:w-1.5",children:[o?e.jsx(qn,{className:Ee("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:o}):null,s?e.jsx(qn,{as:"div",className:"mb-8 sm:mb-5",children:s}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[a,l||null]})]})]})})})})]})})},vh=({children:t,background:n,className:r,fill:i="yellow",maxFit:o,show:a=!0,path:s="path2"})=>{const l=`${s}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,p=d?u[n]:void 0,m=n&&!d?{background:n}:void 0,h=i in c?c[i]:"text-[#F5FF1E]";return a?e.jsxs("div",{className:`shared-component-backgound-wrapper shape-bg relative overflow-hidden ${null!=r?r:""} ${o?"max-content":""} ${null!=p?p:m?"":"bg-white"}`,style:m,children:["path1"===s&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"===s&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"===s&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"===s&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"})}),"path5"===s&&e.jsxs(e.Fragment,{children:[e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-0 top-0 z-0 block md:hidden ${l} fill-current ${h}`,width:"367",height:"644",viewBox:"0 0 367 644",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M-2083.1 549.586C-1857.78 764.836 -1656.5 828.759 -1081.83 673.557C-539.683 527.203 347.968 344.365 364.89 7.43135C381.862 -193.724 210.008 -373.544 84.6305 -523.879C-1.85227 -620.854 -81.806 -706.094 -164.9 -802.494C-192.25 -834.002 -242.154 -805.661 -229.077 -765.61C-160.659 -556.59 -149.205 -385.975 -240.751 -214.056C-386.348 97.8893 -1020.17 305.621 -1399.44 344.278C-1800.65 392.049 -2033.89 187.954 -2210.22 -76.0251C-2301.18 -219.67 -2360.21 -374.3 -2388.99 -518.696C-2397.38 -561.352 -2458.78 -559.193 -2463.58 -515.969C-2501.97 -175.709 -2310.97 298.878 -2083.31 550.316"})}),e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-0 top-0 z-0 hidden md:block ${l} fill-current ${h}`,width:"367",height:"448",viewBox:"0 0 367 448",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M-2083.1 549.587C-1857.78 764.837 -1656.5 828.759 -1081.83 673.557C-539.682 527.203 347.968 344.365 364.89 7.43156C381.863 -193.724 210.008 -373.543 84.6307 -523.879C-1.85203 -620.854 -81.8058 -706.094 -164.9 -802.494C-192.249 -834.001 -242.154 -805.661 -229.077 -765.609C-160.658 -556.59 -149.205 -385.975 -240.751 -214.056C-386.348 97.8895 -1020.17 305.621 -1399.44 344.278C-1800.65 392.049 -2033.89 187.954 -2210.22 -76.0249C-2301.18 -219.669 -2360.21 -374.3 -2388.99 -518.696C-2397.38 -561.352 -2458.78 -559.193 -2463.58 -515.969C-2501.97 -175.709 -2310.97 298.879 -2083.31 550.317"})})]}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:`shared-component-backgound-wrapper ${null!=r?r:""} ${null!=p?p:""}`,style:m,children:t})},xh=e=>`?page=${e}`,yh=({currentPage:t,totalPages:n,onPageChange:r,getPageHref:i=xh,ariaLabel:o="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]}(t,n),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",l="opacity-40 pointer-events-none";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e.jsx(rr,{href:1===t?"#":i(t-1),className:`${s} ${1===t?l:""}`,"aria-label":"Go to previous page","aria-disabled":1===t,tabIndex:1===t?-1:void 0,onClick:e=>{1!==t?null==r||r(t-1):e.preventDefault()},children:e.jsx(Qn,{name:"chevron_left",size:32,"aria-hidden":"true"})}),a.map((n,o)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${o}`):e.jsx(rr,{href:i(n),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 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,onClick:()=>null==r?void 0:r(n),children:n},n)),e.jsx(rr,{href:t===n?"#":i(t+1),className:`${s} ${t===n?l:""}`,"aria-label":"Go to next page","aria-disabled":t===n,tabIndex:t===n?-1:void 0,onClick:e=>{t!==n?null==r||r(t+1):e.preventDefault()},children:e.jsx(Qn,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function wh(e){return wh="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},wh(e)}function Ch(e){var t=function(e,t){if("object"!=wh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=wh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wh(t)?t:t+""}function Ih(e,t,n){return(t=Ch(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Eh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nh(Object(n),!0).forEach(function(t){Ih(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ah(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function jh(e,t){if(e){if("string"==typeof e)return Ah(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)?Ah(e,t):void 0}}function Th(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}(e,t)||jh(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 Sh(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var kh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ph(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ch(r.key),r)}}function Rh(e,t){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rh(e,t)}function Bh(e){return Bh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bh(e)}function Lh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lh=function(){return!!e})()}function Oh(e,t){if(t&&("object"==wh(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 Gh(e){return function(e){if(Array.isArray(e))return Ah(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jh(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 Mh=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}(),Dh="-ms-",Vh="-moz-",Fh="-webkit-",Hh="comm",Wh="rule",Xh="decl",zh="@keyframes",_h=Math.abs,Zh=String.fromCharCode,Yh=Object.assign;function Jh(e){return e.trim()}function Uh(e,t,n){return e.replace(t,n)}function $h(e,t){return e.indexOf(t)}function Kh(e,t){return 0|e.charCodeAt(t)}function Qh(e,t,n){return e.slice(t,n)}function qh(e){return e.length}function ef(e){return e.length}function tf(e,t){return t.push(e),e}var nf=1,rf=1,of=0,af=0,sf=0,lf="";function cf(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:nf,column:rf,length:a,return:""}}function uf(e,t){return Yh(cf("",null,null,"",null,null,0),e,{length:-e.length},t)}function df(){return sf=af>0?Kh(lf,--af):0,rf--,10===sf&&(rf=1,nf--),sf}function pf(){return sf=af<of?Kh(lf,af++):0,rf++,10===sf&&(rf=1,nf++),sf}function mf(){return Kh(lf,af)}function hf(){return af}function ff(e,t){return Qh(lf,e,t)}function gf(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 bf(e){return nf=rf=1,of=qh(lf=e),af=0,[]}function vf(e){return lf="",e}function xf(e){return Jh(ff(af-1,Cf(91===e?e+2:40===e?e+1:e)))}function yf(e){for(;(sf=mf())&&sf<33;)pf();return gf(e)>2||gf(sf)>3?"":" "}function wf(e,t){for(;--t&&pf()&&!(sf<48||sf>102||sf>57&&sf<65||sf>70&&sf<97););return ff(e,hf()+(t<6&&32==mf()&&32==pf()))}function Cf(e){for(;pf();)switch(sf){case e:return af;case 34:case 39:34!==e&&39!==e&&Cf(sf);break;case 40:41===e&&Cf(e);break;case 92:pf()}return af}function If(e,t){for(;pf()&&e+sf!==57&&(e+sf!==84||47!==mf()););return"/*"+ff(t,af-1)+"*"+Zh(47===e?e:pf())}function Nf(e){for(;!gf(mf());)pf();return ff(e,af)}function Ef(e){return vf(Af("",null,null,null,[""],e=bf(e),0,[0],e))}function Af(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,h=0,f=1,g=1,b=1,v=0,x="",y=i,w=o,C=r,I=x;g;)switch(h=v,v=pf()){case 40:if(108!=h&&58==Kh(I,d-1)){-1!=$h(I+=Uh(xf(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:I+=xf(v);break;case 9:case 10:case 13:case 32:I+=yf(h);break;case 92:I+=wf(hf()-1,7);continue;case 47:switch(mf()){case 42:case 47:tf(Tf(If(pf(),hf()),t,n),l);break;default:I+="/"}break;case 123*f:s[c++]=qh(I)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(I=Uh(I,/\f/g,"")),m>0&&qh(I)-d&&tf(m>32?Sf(I+";",r,n,d-1):Sf(Uh(I," ","")+";",r,n,d-2),l);break;case 59:I+=";";default:if(tf(C=jf(I,t,n,c,u,i,s,x,y=[],w=[],d),o),123===v)if(0===u)Af(I,t,C,C,y,o,d,s,w);else switch(99===p&&110===Kh(I,3)?100:p){case 100:case 108:case 109:case 115:Af(e,C,C,r&&tf(jf(e,C,C,0,0,i,s,x,i,y=[],d),w),i,w,d,s,r?y:w);break;default:Af(I,C,C,C,[""],w,0,s,w)}}c=u=m=0,f=b=1,x=I="",d=a;break;case 58:d=1+qh(I),m=h;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==df())continue;switch(I+=Zh(v),v*f){case 38:b=u>0?1:(I+="\f",-1);break;case 44:s[c++]=(qh(I)-1)*b,b=1;break;case 64:45===mf()&&(I+=xf(pf())),p=mf(),u=d=qh(x=I+=Nf(hf())),v++;break;case 45:45===h&&2==qh(I)&&(f=0)}}return o}function jf(e,t,n,r,i,o,a,s,l,c,u){for(var d=i-1,p=0===i?o:[""],m=ef(p),h=0,f=0,g=0;h<r;++h)for(var b=0,v=Qh(e,d+1,d=_h(f=a[h])),x=e;b<m;++b)(x=Jh(f>0?p[b]+" "+v:Uh(v,/&\f/g,p[b])))&&(l[g++]=x);return cf(e,t,n,0===i?Wh:s,l,c,u)}function Tf(e,t,n){return cf(e,t,n,Hh,Zh(sf),Qh(e,2,-2),0)}function Sf(e,t,n,r){return cf(e,t,n,Xh,Qh(e,0,r),Qh(e,r+1,-1),r)}function kf(e,t){for(var n="",r=ef(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Pf(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Xh:return e.return=e.return||e.value;case Hh:return"";case zh:return e.return=e.value+"{"+kf(e.children,r)+"}";case Wh:e.value=e.props.join(",")}return qh(n=kf(e.children,r))?e.return=e.value+"{"+n+"}":""}function Rf(e){var t=ef(e);return function(n,r,i,o){for(var a="",s=0;s<t;s++)a+=e[s](n,r,i,o)||"";return a}}var Bf="undefined"!=typeof document,Lf=function(e,t,n){for(var r=0,i=0;r=i,i=mf(),38===r&&12===i&&(t[n]=1),!gf(i);)pf();return ff(e,af)},Of=function(e,t){return vf(function(e,t){var n=-1,r=44;do{switch(gf(r)){case 0:38===r&&12===mf()&&(t[n]=1),e[n]+=Lf(af-1,t,n);break;case 2:e[n]+=xf(r);break;case 4:if(44===r){e[++n]=58===mf()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Zh(r)}}while(r=pf());return e}(bf(e),t))},Gf=new WeakMap,Mf=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Gf.get(n))&&!r){Gf.set(e,!0);for(var i=[],o=Of(t,i),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=i[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},Df=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Vf(e,t){switch(function(e,t){return 45^Kh(e,0)?(((t<<2^Kh(e,0))<<2^Kh(e,1))<<2^Kh(e,2))<<2^Kh(e,3):0}(e,t)){case 5103:return Fh+"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 Fh+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fh+e+Vh+e+Dh+e+e;case 6828:case 4268:return Fh+e+Dh+e+e;case 6165:return Fh+e+Dh+"flex-"+e+e;case 5187:return Fh+e+Uh(e,/(\w+).+(:[^]+)/,Fh+"box-$1$2"+Dh+"flex-$1$2")+e;case 5443:return Fh+e+Dh+"flex-item-"+Uh(e,/flex-|-self/,"")+e;case 4675:return Fh+e+Dh+"flex-line-pack"+Uh(e,/align-content|flex-|-self/,"")+e;case 5548:return Fh+e+Dh+Uh(e,"shrink","negative")+e;case 5292:return Fh+e+Dh+Uh(e,"basis","preferred-size")+e;case 6060:return Fh+"box-"+Uh(e,"-grow","")+Fh+e+Dh+Uh(e,"grow","positive")+e;case 4554:return Fh+Uh(e,/([^-])(transform)/g,"$1"+Fh+"$2")+e;case 6187:return Uh(Uh(Uh(e,/(zoom-|grab)/,Fh+"$1"),/(image-set)/,Fh+"$1"),e,"")+e;case 5495:case 3959:return Uh(e,/(image-set\([^]*)/,Fh+"$1$`$1");case 4968:return Uh(Uh(e,/(.+:)(flex-)?(.*)/,Fh+"box-pack:$3"+Dh+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fh+e+e;case 4095:case 3583:case 4068:case 2532:return Uh(e,/(.+)-inline(.+)/,Fh+"$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(qh(e)-1-t>6)switch(Kh(e,t+1)){case 109:if(45!==Kh(e,t+4))break;case 102:return Uh(e,/(.+:)(.+)-([^]+)/,"$1"+Fh+"$2-$3$1"+Vh+(108==Kh(e,t+3)?"$3":"$2-$3"))+e;case 115:return~$h(e,"stretch")?Vf(Uh(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Kh(e,t+1))break;case 6444:switch(Kh(e,qh(e)-3-(~$h(e,"!important")&&10))){case 107:return Uh(e,":",":"+Fh)+e;case 101:return Uh(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fh+(45===Kh(e,14)?"inline-":"")+"box$3$1"+Fh+"$2$3$1"+Dh+"$2box$3")+e}break;case 5936:switch(Kh(e,t+11)){case 114:return Fh+e+Dh+Uh(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fh+e+Dh+Uh(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fh+e+Dh+Uh(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fh+e+Dh+e+e}return e}var Ff,Hf,Wf,Xf=Bf?void 0:(Ff=function(){return function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(){return{}})},Hf=new WeakMap,function(e){if(Hf.has(e))return Hf.get(e);var t=Ff(e);return Hf.set(e,t),t}),zf=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Xh:e.return=Vf(e.value,e.length);break;case zh:return kf([uf(e,{value:Uh(e.value,"@","@"+Fh)})],r);case Wh: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 kf([uf(e,{props:[Uh(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return kf([uf(e,{props:[Uh(t,/:(plac\w+)/,":"+Fh+"input-$1")]}),uf(e,{props:[Uh(t,/:(plac\w+)/,":-moz-$1")]}),uf(e,{props:[Uh(t,/:(plac\w+)/,Dh+"input-$1")]})],r)}return""})}}],_f=function(e){var t=e.key;if(Bf&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||zf,a={},s=[];Bf&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var l,c=[Mf,Df];if(Xf){var u=[Pf],d=Rf(c.concat(o,u)),p=Xf(o)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=kf(Ef(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=m(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var h,f=[Pf,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Rf(c.concat(o,f));i=function(e,t,n,r){h=n,kf(Ef(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Mh({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return b.sheet.hydrate(s),b},Zf={exports:{}},Yf={};var Jf,Uf,$f,Kf,Qf={};
17
+ var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function o(e,r){n.add(e,r),t||(t=i(n.drain))}function s(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function a(){for(var e=0;e<this.chain.length;e++)l(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function l(e,t,n){var r,i;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(i=s(r))?i.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function c(e){var t,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(t=s(e))?o(function(){var r=new p(n);try{t.call(e,function(){c.apply(r,arguments)},function(){u.apply(r,arguments)})}catch(e){u.call(r,e)}}):(n.msg=e,n.state=1,n.chain.length>0&&o(a,n))}catch(e){u.call(new p(n),e)}}}function u(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&o(a,t))}function d(e,t,n,r){for(var i=0;i<t.length;i++)(function(i){e.resolve(t[i]).then(function(e){n(i,e)},r)})(i)}function p(e){this.def=e,this.triggered=!1}function m(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function h(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new m(this);this.then=function(e,n){var r={success:"function"!=typeof e||e,failure:"function"==typeof n&&n};return r.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");r.resolve=e,r.reject=t}),t.chain.push(r),0!==t.state&&o(a,t),r.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){c.call(t,e)},function(e){u.call(t,e)})}catch(e){u.call(t,e)}}n=function(){var e,n,r;function i(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(t,o){r=new i(t,o),n?n.next=r:e=r,n=r,r=void 0},drain:function(){var r=e;for(e=n=t=void 0;r;)r.fn.call(r.self),r=r.next}}}();var f=e({},"constructor",h,!1);return h.prototype=f,e(f,"__NPO__",0,!1),e(h,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),e(h,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),e(h,"all",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var i=e.length,o=Array(i),s=0;d(t,e,function(e,t){o[e]=t,++s===i&&n(o)},r)})}),e(h,"race",function(e){var t=this;return"[object Array]"!=r.call(e)?t.reject(TypeError("Not an array")):new t(function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");d(t,e,function(e,t){n(t)},r)})}),h},(n=yr)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])},wr(Cr={exports:{}},Cr.exports),Cr.exports);const Nr=new WeakMap;function Ar(e,t,n){const r=Nr.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),Nr.set(e.element,r)}function Er(e,t){return(Nr.get(e.element)||{})[t]||[]}function jr(e,t,n){const r=Nr.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],Nr.set(e.element,r),!0;const i=r[t].indexOf(n);return-1!==i&&r[t].splice(i,1),Nr.set(e.element,r),r[t]&&0===r[t].length}function Tr(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function Sr(e,t,n){if(!e.element.contentWindow||!e.element.contentWindow.postMessage)return;let r={method:t};void 0!==n&&(r.value=n);const i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}function kr(e,t){let n,r=[];if((t=Tr(t)).event){if("error"===t.event){Er(e,t.data.method).forEach(n=>{const r=new Error(t.data.message);r.name=t.data.name,n.reject(r),jr(e,t.data.method,n)})}r=Er(e,`event:${t.event}`),n=t.data}else if(t.method){const i=function(e,t){const n=Er(e,t);if(n.length<1)return!1;const r=n.shift();return jr(e,t,r),r}(e,t.method);i&&(r.push(i),n=t.value)}r.forEach(t=>{try{if("function"==typeof t)return void t.call(e,n);t.resolve(n)}catch(e){}})}const Pr=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","disable_context_menu","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Rr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Pr.reduce((t,n)=>{const r=e.getAttribute(`data-vimeo-${n}`);return(r||""===r)&&(t[n]=""===r?1:r),t},t)}function Br(e,t){let{html:n}=e;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");const r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function Lr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((r,i)=>{if(!mr(e))throw new TypeError(`“${e}” is not a vimeo.com url.`);const o=function(e){const t=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),n=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"];for(const e of r)if(n.endsWith(e))return n;return"vimeo.com"}(e);let s=`https://${o}/api/oembed.json?url=${encodeURIComponent(e)}`;for(const e in t)t.hasOwnProperty(e)&&(s+=`&${e}=${encodeURIComponent(t[e])}`);const a="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;a.open("GET",s,!0),a.onload=function(){if(404!==a.status)if(403!==a.status)try{const t=JSON.parse(a.responseText);if(403===t.domain_status_code)return Br(t,n),void i(new Error(`“${e}” is not embeddable.`));r(t)}catch(e){i(e)}else i(new Error(`“${e}” is not embeddable.`));else i(new Error(`“${e}” was not found.`))},a.onerror=function(){const e=a.status?` (${a.status})`:"";i(new Error(`There was an error fetching the embed code from Vimeo${e}.`))},a.send()})}const Or={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1};class Gr extends EventTarget{logger;constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;super(),this.logger=r,this.init(t,e,{...Or,...n})}disconnect(){this.dispatchEvent(new Event("disconnect"))}async init(e,t,n){if(await this.waitForTOReadyState(e,"open"),"viewer"===n.role){await this.updatePlayer(e,t,n);const r=gr(e,"change",()=>this.updatePlayer(e,t,n)),i=this.maintainPlaybackPosition(e,t,n);this.addEventListener("disconnect",()=>{i.cancel(),r.cancel()})}else{await this.updateTimingObject(e,t);const n=gr(t,["seeked","play","pause","ratechange"],()=>this.updateTimingObject(e,t),"on","off");this.addEventListener("disconnect",()=>n.cancel())}}async updateTimingObject(e,t){const[n,r,i]=await Promise.all([t.getCurrentTime(),t.getPaused(),t.getPlaybackRate()]);e.update({position:n,velocity:r?0:i})}async updatePlayer(e,t,n){const{position:r,velocity:i}=e.query();"number"==typeof r&&t.setCurrentTime(r),"number"==typeof i&&(0===i?!1===await t.getPaused()&&t.pause():i>0&&(!0===await t.getPaused()&&(await t.play().catch(async e=>{"NotAllowedError"===e.name&&n.autoPlayMuted&&(await t.setMuted(!0),await t.play().catch(e=>console.error("Couldn't play the video from TimingSrcConnector. Error:",e)))}),this.updatePlayer(e,t,n)),await t.getPlaybackRate()!==i&&t.setPlaybackRate(i)))}maintainPlaybackPosition(e,t,n){const{allowedDrift:r,maxAllowedDrift:i,minCheckInterval:o,maxRateAdjustment:s,maxTimeToCatchUp:a}=n,l=1e3*Math.min(a,Math.max(o,i)),c=async()=>{if(0===e.query().velocity||!0===await t.getPaused())return;const n=e.query().position-await t.getCurrentTime(),o=Math.abs(n);if(this.log(`Drift: ${n}`),o>i)await this.adjustSpeed(t,0),t.setCurrentTime(e.query().position),this.log("Resync by currentTime");else if(o>r){const e=o/a,r=e<s?(s-e)/2:s;await this.adjustSpeed(t,r*Math.sign(n)),this.log("Resync by playbackRate")}},u=setInterval(()=>c(),l);return{cancel:()=>clearInterval(u)}}log(e){this.logger?.(`TimingSrcConnector: ${e}`)}speedAdjustment=0;adjustSpeed=async(e,t)=>{if(this.speedAdjustment===t)return;const n=await e.getPlaybackRate()-this.speedAdjustment+t;this.log(`New playbackRate: ${n}`),await e.setPlaybackRate(n),this.speedAdjustment=t};waitForTOReadyState(e,t){return new Promise(n=>{const r=()=>{e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})};r()})}}const Mr=new WeakMap,Dr=new WeakMap;let Vr={};class Fr{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){const t=e.querySelector("iframe");t&&(e=t)}if("IFRAME"===e.nodeName&&!mr(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Mr.has(e))return Mr.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";const n=new Ir((n,r)=>{if(this._onMessage=e=>{if(!mr(e.origin)||this.element.contentWindow!==e.source)return;"*"===this.origin&&(this.origin=e.origin);const t=Tr(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){const e=new Error(t.data.message);return e.name=t.data.name,void r(e)}const i=t&&"ready"===t.event,o=t&&"ping"===t.method;if(i||o)return this.element.setAttribute("data-ready","true"),void n();kr(this,t)},this._window.addEventListener("message",this._onMessage),"IFRAME"!==this.element.nodeName){const n=Rr(e,t);Lr(fr(n),n,e).then(t=>{const n=Br(t,e);return this.element=n,this._originalElement=e,function(e,t){const n=Nr.get(e);Nr.set(t,n),Nr.delete(e)}(e,n),Mr.set(this.element,this),t}).catch(r)}});if(Dr.set(this,n),Mr.set(this.element,this),"IFRAME"===this.element.nodeName&&Sr(this,"ping"),Vr.isEnabled){const e=()=>Vr.exit();this.fullscreenchangeHandler=()=>{Vr.isFullscreen?Ar(this,"event:exitFullscreen",e):jr(this,"event:exitFullscreen",e),this.ready().then(()=>{Sr(this,"fullscreenchange",Vr.isFullscreen)})},Vr.on("fullscreenchange",this.fullscreenchangeHandler)}return this}static isVimeoUrl(e){return mr(e)}callMethod(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(null==e)throw new TypeError("You must pass a method name.");return new Ir((t,r)=>this.ready().then(()=>{Ar(this,e,{resolve:t,reject:r}),0===n.length?n={}:1===n.length&&(n=n[0]),Sr(this,e,n)}).catch(r))}get(e){return new Ir((t,n)=>(e=pr(e,"get"),this.ready().then(()=>{Ar(this,e,{resolve:t,reject:n}),Sr(this,e)}).catch(n)))}set(e,t){return new Ir((n,r)=>{if(e=pr(e,"set"),null==t)throw new TypeError("There must be a value to set.");return this.ready().then(()=>{Ar(this,e,{resolve:n,reject:r}),Sr(this,e,t)}).catch(r)})}on(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===Er(this,`event:${e}`).length&&this.callMethod("addEventListener",e).catch(()=>{}),Ar(this,`event:${e}`,t)}off(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");jr(this,`event:${e}`,t)&&this.callMethod("removeEventListener",e).catch(e=>{})}loadVideo(e){return this.callMethod("loadVideo",e)}ready(){const e=Dr.get(this)||new Ir((e,t)=>{t(new Error("Unknown player. Probably unloaded."))});return Ir.resolve(e)}addCuePoint(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}removeCuePoint(e){return this.callMethod("removeCuePoint",e)}enableTextTrack(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t,showing:n})}disableTextTrack(){return this.callMethod("disableTextTrack")}selectAudioTrack(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:e,kind:t})}selectDefaultAudioTrack(){return this.callMethod("selectDefaultAudioTrack")}pause(){return this.callMethod("pause")}play(){return this.callMethod("play")}requestFullscreen(){return Vr.isEnabled?Vr.request(this.element):this.callMethod("requestFullscreen")}exitFullscreen(){return Vr.isEnabled?Vr.exit():this.callMethod("exitFullscreen")}getFullscreen(){return Vr.isEnabled?Ir.resolve(Vr.isFullscreen):this.get("fullscreen")}requestPictureInPicture(){return this.callMethod("requestPictureInPicture")}exitPictureInPicture(){return this.callMethod("exitPictureInPicture")}getPictureInPicture(){return this.get("pictureInPicture")}remotePlaybackPrompt(){return this.callMethod("remotePlaybackPrompt")}unload(){return this.callMethod("unload")}destroy(){return new Ir(e=>{if(Dr.delete(this),Mr.delete(this.element),this._originalElement&&(Mr.delete(this._originalElement),this._originalElement.removeAttribute("data-vimeo-initialized")),this.element&&"IFRAME"===this.element.nodeName&&this.element.parentNode&&(this.element.parentNode.parentNode&&this._originalElement&&this._originalElement!==this.element.parentNode?this.element.parentNode.parentNode.removeChild(this.element.parentNode):this.element.parentNode.removeChild(this.element)),this.element&&"DIV"===this.element.nodeName&&this.element.parentNode){this.element.removeAttribute("data-vimeo-initialized");const e=this.element.querySelector("iframe");e&&e.parentNode&&(e.parentNode.parentNode&&this._originalElement&&this._originalElement!==e.parentNode?e.parentNode.parentNode.removeChild(e.parentNode):e.parentNode.removeChild(e))}this._window.removeEventListener("message",this._onMessage),Vr.isEnabled&&Vr.off("fullscreenchange",this.fullscreenchangeHandler),e()})}getAutopause(){return this.get("autopause")}setAutopause(e){return this.set("autopause",e)}getBuffered(){return this.get("buffered")}getCameraProps(){return this.get("cameraProps")}setCameraProps(e){return this.set("cameraProps",e)}getChapters(){return this.get("chapters")}getCurrentChapter(){return this.get("currentChapter")}getColor(){return this.get("color")}getColors(){return Ir.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}setColor(e){return this.set("color",e)}setColors(e){if(!Array.isArray(e))return new Ir((e,t)=>t(new TypeError("Argument must be an array.")));const t=new Ir(e=>e(null)),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return Ir.all(n)}getCuePoints(){return this.get("cuePoints")}getCurrentTime(){return this.get("currentTime")}setCurrentTime(e){return this.set("currentTime",e)}getDuration(){return this.get("duration")}getEnded(){return this.get("ended")}getLoop(){return this.get("loop")}setLoop(e){return this.set("loop",e)}setMuted(e){return this.set("muted",e)}getMuted(){return this.get("muted")}getPaused(){return this.get("paused")}getPlaybackRate(){return this.get("playbackRate")}setPlaybackRate(e){return this.set("playbackRate",e)}getPlayed(){return this.get("played")}getQualities(){return this.get("qualities")}getQuality(){return this.get("quality")}setQuality(e){return this.set("quality",e)}getRemotePlaybackAvailability(){return this.get("remotePlaybackAvailability")}getRemotePlaybackState(){return this.get("remotePlaybackState")}getSeekable(){return this.get("seekable")}getSeeking(){return this.get("seeking")}getTextTracks(){return this.get("textTracks")}getAudioTracks(){return this.get("audioTracks")}getEnabledAudioTrack(){return this.get("enabledAudioTrack")}getDefaultAudioTrack(){return this.get("defaultAudioTrack")}getVideoEmbedCode(){return this.get("videoEmbedCode")}getVideoId(){return this.get("videoId")}getVideoTitle(){return this.get("videoTitle")}getVideoWidth(){return this.get("videoWidth")}getVideoHeight(){return this.get("videoHeight")}getVideoUrl(){return this.get("videoUrl")}getVolume(){return this.get("volume")}setVolume(e){return this.set("volume",e)}async setTimingSrc(e,t){if(!e)throw new TypeError("A Timing Object must be provided.");await this.ready();const n=new Gr(this,e,t);return Sr(this,"notifyTimingObjectConnect"),n.addEventListener("disconnect",()=>Sr(this,"notifyTimingObjectDisconnect")),n}}dr||(Vr=function(){const e=function(){let e;const t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];let n=0;const r=t.length,i={};for(;n<r;n++)if(e=t[n],e&&e[1]in document){for(n=0;n<e.length;n++)i[t[0][n]]=e[n];return i}return!1}(),t={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},n={request:t=>new Promise((r,i)=>{const o=function(){n.off("fullscreenchange",o),r()};n.on("fullscreenchange",o);const s=(t=t||document.documentElement)[e.requestFullscreen]();s instanceof Promise&&s.then(o).catch(i)}),exit:()=>new Promise((t,r)=>{if(!n.isFullscreen)return void t();const i=function(){n.off("fullscreenchange",i),t()};n.on("fullscreenchange",i);const o=document[e.exitFullscreen]();o instanceof Promise&&o.then(i).catch(r)}),on(e,n){const r=t[e];r&&document.addEventListener(r,n)},off(e,n){const r=t[e];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get:()=>Boolean(document[e.fullscreenElement])},element:{enumerable:!0,get:()=>document[e.fullscreenElement]},isEnabled:{enumerable:!0,get:()=>Boolean(document[e.fullscreenEnabled])}}),n}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;const t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=e=>{"console"in window&&console.error&&console.error(`There was an error creating an embed: ${e}`)};t.forEach(e=>{try{if(null!==e.getAttribute("data-vimeo-defer"))return;const t=Rr(e);Lr(fr(t),t,e).then(t=>Br(t,e)).catch(n)}catch(e){n(e)}})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoPlayerResizeEmbeds_)return;window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",t=>{if(!mr(t.origin))return;if(!t.data||"spacechange"!==t.data.event)return;const n=t.source?br(t.source,e):null;n&&(n.parentElement.style.paddingBottom=`${t.data.data[0].bottom}px`)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoSeoMetadataAppended)return;window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",t=>{if(!mr(t.origin))return;const n=Tr(t.data);if(!n||"ready"!==n.event)return;const r=t.source?br(t.source,e):null;r&&hr(r.src)&&new Fr(r).callMethod("appendVideoMetadata",window.location.href)})}(),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(window.VimeoCheckedUrlTimeParam)return;window.VimeoCheckedUrlTimeParam=!0;const t=e=>{"console"in window&&console.error&&console.error(`There was an error getting video Id: ${e}`)};window.addEventListener("message",n=>{if(!mr(n.origin))return;const r=Tr(n.data);if(!r||"ready"!==r.event)return;const i=n.source?br(n.source,e):null;if(i&&hr(i.src)){const e=new Fr(i);e.getVideoId().then(t=>{const n=new RegExp(`[?&]vimeo_t_${t}=([^&#]*)`).exec(window.location.href);if(n&&n[1]){const t=decodeURI(n[1]);e.setCurrentTime(t)}}).catch(t)}})}(),function(){if(window.VimeoDRMEmbedsUpdated)return;window.VimeoDRMEmbedsUpdated=!0,window.addEventListener("message",e=>{if(!mr(e.origin))return;const t=Tr(e.data);if(!t||"drminitfailed"!==t.event)return;const n=e.source?br(e.source):null;if(!n)return;const r=n.getAttribute("allow")||"";if(!r.includes("encrypted-media")){n.setAttribute("allow",`${r}; encrypted-media`);const e=new URL(n.getAttribute("src"));return e.searchParams.set("forcereload","drm"),void n.setAttribute("src",e.toString())}})}());const Hr=e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),r=t.split("/"),i=r[r.length-1];return(null==n?void 0:n[1])?n[1]===i?n[1]:`${n[1]}/${i}`:""},Wr=n=>{const{link:r,containerClassName:i,autoplay:o=!1,debug:s=!1,onPlay:a,onPause:l,onTimeUpdate:c,onEnded:u,onFullscreenToggle:d}=n,p=t.useRef(null),{href:m,embedId:h}=t.useMemo(()=>{if(!r)return{href:"",embedId:""};const e=r.toString();return{href:e,embedId:Hr(e)}},[r]);if(s&&console.log("[VimeoEmbed] href:",m,"id:",h),t.useEffect(()=>{if(!h||!p.current)return;const e=new Fr(p.current),t=()=>null==a?void 0:a(),n=()=>null==l?void 0:l(),r=()=>null==u?void 0:u(),i=e=>null==c?void 0:c(e.seconds,e.duration),o=e=>null==d?void 0:d(e.fullscreen);return e.on("play",t),e.on("pause",n),e.on("ended",r),e.on("timeupdate",i),e.on("fullscreenchange",o),()=>{e.off("play",t),e.off("pause",n),e.off("ended",r),e.off("timeupdate",i),e.off("fullscreenchange",o),e.destroy().catch(()=>{})}},[h]),!h)return null;const f=new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}),g=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],r=n[2],i=`https://player.vimeo.com/video/${e}`;return r&&/^[a-f0-9]+$/i.test(r)&&t.searchParams.set("h",r),`${i}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${h}?${f.toString()}`);return e.jsx("div",{className:Ae("relative h-0 w-full overflow-hidden pb-[56.25%]",i),children:e.jsx("iframe",{ref:p,className:"absolute left-0 top-0 h-full w-full",src:g,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};let Xr=null;const zr=e=>{if(!e)return"";const t=e.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return t&&11===t[7].length?t[7]:""},_r=n=>{const{link:r,containerClassName:i,autoplay:o=!1,onPlay:s,onPause:a,onTimeUpdate:l,onEnded:c,onFullscreenToggle:u}=n,d=t.useMemo(()=>zr(r),[r]),p=t.useRef(null),m=t.useRef(null),h=t.useRef();return ir(m,u),t.useEffect(()=>{if(!d||!p.current)return;let e,t=!1;const n=document.createElement("div");return n.style.width="100%",n.style.height="100%",p.current.appendChild(n),function(){var e;return"undefined"==typeof window?Promise.reject(new Error("YouTube IFrame API requires a browser")):(null===(e=window.YT)||void 0===e?void 0:e.Player)?Promise.resolve(window.YT):Xr||(Xr=new Promise((e,t)=>{const n=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{null==n||n(),e(window.YT)};let r=document.querySelector('script[src*="youtube.com/iframe_api"]');r||(r=document.createElement("script"),r.src="https://www.youtube.com/iframe_api",r.onerror=()=>{Xr=null,t(new Error("Failed to load YouTube IFrame API"))},document.head.appendChild(r))}),Xr)}().then(r=>{t||(e=new r.Player(n,{videoId:d,playerVars:{enablejsapi:1,autoplay:o?1:0,mute:o?1:0},events:{onReady:()=>{var t;const n=null===(t=e.getIframe)||void 0===t?void 0:t.call(e);n&&(n.className="absolute left-0 top-0 h-full w-full",m.current=n)},onStateChange:t=>{const n=r.PlayerState;t.data===n.PLAYING?(null==s||s(),clearInterval(h.current),h.current=setInterval(()=>{var t,n,r,i;const o=null!==(n=null===(t=null==e?void 0:e.getDuration)||void 0===t?void 0:t.call(e))&&void 0!==n?n:0,s=null!==(i=null===(r=null==e?void 0:e.getCurrentTime)||void 0===r?void 0:r.call(e))&&void 0!==i?i:0;null==l||l(s,o)},1e3)):t.data===n.PAUSED?(null==a||a(),clearInterval(h.current)):t.data===n.ENDED&&(null==c||c(),clearInterval(h.current))}}}))}).catch(()=>{}),()=>{var r;t=!0,clearInterval(h.current),null===(r=null==e?void 0:e.destroy)||void 0===r||r.call(e),n.remove()}},[d]),e.jsx("div",{className:Ae("relative h-full w-full overflow-hidden pb-[56.25%]",i),children:e.jsx("div",{ref:p,className:"absolute left-0 top-0 h-full w-full",title:"Embedded youtube"})})},Zr=(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})(u.default),Yr=({src:e,width:t,quality:n})=>{const r=e.startsWith("//")?`https:${e}`:e;let i;try{i=new URL(r)}catch(t){return e}return i.searchParams.set("w",String(t)),i.searchParams.set("q",String(n||90)),i.searchParams.set("fm","webp"),i.toString()},Jr=t.forwardRef(({className:t,...n},r)=>{const i="string"==typeof n.src?n.src:"",o=i.toLowerCase().split("?")[0]||"",s=i.includes("images.ctfassets.net"),a=s&&o.endsWith(".svg"),l=s&&!a?{loader:Yr,unoptimized:!1}:{unoptimized:a};return e.jsx(Zr,{ref:r,className:Ae(t),...n,...l})});Jr.displayName="NextImage";const Ur=[25,50,75];const $r=({videoLink:n,imageWidth:r=660,imageHeight:i=660,useOriginalImageAspectRatio:o=!1,isAboveTheFold:s=!1,onVideoEvent:a})=>{var l;const[c,u]=t.useState(""),[d,p]=t.useState(!1),m=function(e){const n=t.useRef(new Set),r=t.useRef(!1),i=t.useRef(0),o=t.useRef(0),s=(t,n,r)=>{e&&e(n,{videoId:t.videoId,videoTitle:t.videoTitle,provider:t.provider,position:i.current,duration:o.current,percentComplete:o.current>0?Math.min(100,Math.round(i.current/o.current*100)):0,...r})};return{handlePlay:e=>s(e,"played"),handlePause:e=>s(e,"paused"),handleFullscreenToggle:(e,t)=>s(e,"fullscreen_toggled",{isFullscreen:t}),handleClosed:e=>s(e,"closed"),handleTimeUpdate:(e,t,a)=>{const l=Number.isFinite(t)?t:0,c=Number.isFinite(a)?a:0;if(i.current=l,o.current=c,c<=0)return;const u=Math.min(100,l/c*100);Ur.forEach(t=>{u>=t&&!n.current.has(t)&&(n.current.add(t),s(e,"progress"))}),u>=99.5&&!r.current&&(r.current=!0,s(e,"completed"))},handleEnded:e=>{r.current||(r.current=!0,o.current>0&&(i.current=o.current),s(e,"completed"))},reset:()=>{n.current=new Set,r.current=!1,i.current=0,o.current=0}}}(a),h=null==n?void 0:n.videoSourceType,f="contentful"===h?null==n?void 0:n.videoAssetUrl:null==n?void 0:n.link,g="string"==typeof f?f:"",b=null==n?void 0:n.image;if(!g)return b?e.jsx("div",{className:Ae(o?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e.jsx(Jr,{src:b,alt:"section-image",priority:s,fill:!o,width:o?r||660:void 0,height:o?i||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ae(o?"w-full":"object-cover")})}):null;const v=null!==(l=null==n?void 0:n.videoPopup)&&void 0!==l&&l,x=Boolean(c&&c===g),y="contentful"===h?"contentful":g.includes("vimeo")?"vimeo":"youtube",w="contentful"===y?(e=>{var t;if("string"!=typeof e||!e)return"";const[n]=e.split(/[?#]/);return null!==(t=n.split("/").filter(Boolean).pop())&&void 0!==t?t:e})(null==n?void 0:n.videoAssetUrl):"vimeo"===y?(C=g)?Hr(C.toString()):"":zr(g);var C;const I={videoId:w,videoTitle:null==n?void 0:n.title,provider:y},N=e=>{e.stopPropagation(),m.handleClosed(I),u("")},A=(()=>{const t={onPlay:()=>m.handlePlay(I),onPause:()=>m.handlePause(I),onTimeUpdate:(e,t)=>m.handleTimeUpdate(I,e,t),onEnded:()=>m.handleEnded(I),onFullscreenToggle:e=>m.handleFullscreenToggle(I,e)};return"contentful"===h?e.jsx(or,{videoAssetUrl:null==n?void 0:n.videoAssetUrl,videoAssetType:null==n?void 0:n.videoAssetType,image:b,title:null==n?void 0:n.title,description:null==n?void 0:n.description,autoplay:x,...t}):g.includes("vimeo")?e.jsx(Wr,{link:g,autoplay:x,...t}):e.jsx(_r,{link:g,autoplay:x,...t})})();return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:Ae("video-section relative w-full cursor-pointer rounded-image transition-all duration-300 lg:w-[486px]",!x&&"hover:ring-2 hover:ring-border-focus"),onClick:()=>{x||(m.reset(),u(g))},onMouseEnter:()=>p(!0),onMouseLeave:()=>p(!1),children:[e.jsxs("div",{className:Ae(x&&!v&&"hidden",x&&!v?"opacity-0":"opacity-100","relative w-full transition-opacity duration-300"),children:[b&&e.jsx(Jr,{src:b,alt:"Video preview",width:r||660,height:i||660,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:"h-auto w-full rounded-image"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(sr,{isHovered:d})})]}),!v&&x&&e.jsx("div",{className:Ae("aspect-[16/9] w-full overflow-hidden rounded-image transition-opacity duration-300",x?"opacity-100":"opacity-0",!o&&"xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:A})]}),v&&x&&e.jsx("div",{className:"fixed inset-0 z-[100] flex items-center justify-center p-4 transition-all duration-300",onClick:N,children:e.jsxs("div",{"data-testid":"video-popup-content",className:"relative aspect-video w-[min(100%,calc(80vh*16/9))] max-w-[1280px] overflow-hidden rounded-2xl bg-black shadow-2xl md:rounded-3xl",onClick:e=>e.stopPropagation(),children:[e.jsx("button",{type:"button",onClick:N,"aria-label":"Close video","data-testid":"video-popup-close",className:"absolute right-3 top-3 z-10 flex h-9 w-9 items-center justify-center rounded-full bg-black/60 text-white transition-colors hover:bg-black/80 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white sm:right-4 sm:top-4 sm:h-10 sm:w-10",children:e.jsx(Qn,{name:"close",className:"text-white"})}),A]})})]})},Kr=e=>Array.isArray(null==e?void 0:e.content)&&e.content.every(e=>"text"===(null==e?void 0:e.nodeType)&&(!e.value||""===e.value.trim())),Qr=(e,t)=>{var n,r,i,o,s,a,l,c;const u=null===(n=null==e?void 0:e.data)||void 0===n?void 0:n.target;if((null==u?void 0:u.fields)||(null===(r=null==u?void 0:u.sys)||void 0===r?void 0:r.contentType))return u;const d=null===(i=null==u?void 0:u.sys)||void 0===i?void 0:i.id;if(!d)return null;return null!==(c=[...null!==(s=null===(o=null==t?void 0:t.entries)||void 0===o?void 0:o.block)&&void 0!==s?s:[],...null!==(l=null===(a=null==t?void 0:t.entries)||void 0===a?void 0:a.inline)&&void 0!==l?l:[]].find(e=>{var t;return(null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.id)===d}))&&void 0!==c?c:null},qr=e=>{var t,n,r,i,o;return null!==(o=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.sys)||void 0===t?void 0:t.contentType)||void 0===n?void 0:n.sys)||void 0===r?void 0:r.id)&&void 0!==i?i:null==e?void 0:e.__typename)&&void 0!==o?o:""},ei=e=>{var t,n;return null!==(n=null!==(t=null==e?void 0:e.fields)&&void 0!==t?t:e)&&void 0!==n?n:{}},ti=e=>{var t,n,r,i,o,s,a,l,c,u,d,p,m,h,f,g,b,v,x;return{image:null!==(s=null!==(i=null===(r=null===(n=null===(t=null==e?void 0:e.image)||void 0===t?void 0:t.fields)||void 0===n?void 0:n.file)||void 0===r?void 0:r.url)&&void 0!==i?i:null===(o=null==e?void 0:e.image)||void 0===o?void 0:o.url)&&void 0!==s?s:null==e?void 0:e.image,link:null==e?void 0:e.link,videoPopup:Boolean(null==e?void 0:e.videoPopup),videoSourceType:null==e?void 0:e.videoSourceType,videoAssetUrl:null!==(p=null!==(u=null===(c=null===(l=null===(a=null==e?void 0:e.videoAssetUrl)||void 0===a?void 0:a.fields)||void 0===l?void 0:l.file)||void 0===c?void 0:c.url)&&void 0!==u?u:null===(d=null==e?void 0:e.videoAssetUrl)||void 0===d?void 0:d.url)&&void 0!==p?p:null==e?void 0:e.videoAssetUrl,videoAssetType:null!==(v=null!==(g=null===(f=null===(h=null===(m=null==e?void 0:e.videoAssetUrl)||void 0===m?void 0:m.fields)||void 0===h?void 0:h.file)||void 0===f?void 0:f.contentType)&&void 0!==g?g:null===(b=null==e?void 0:e.videoAssetUrl)||void 0===b?void 0:b.contentType)&&void 0!==v?v:null==e?void 0:e.videoAssetType,title:null!==(x=null==e?void 0:e.title)&&void 0!==x?x:null==e?void 0:e.entryTitle,description:null==e?void 0:e.description}},ni=e=>{if(!e)return"";try{const t=/^https?:\/\//i.test(e)?e:`https://${e}`;return new URL(t).hostname.toLowerCase()}catch(e){return""}},ri=e=>{const t=e.toLowerCase().replace(/\.$/,""),n=t.split(".").slice(-2).join("."),r=(t.slice(0,t.length-n.length).replace(/\.$/,"").split(".")[0]||"").replace(/-(dev|development|staging|stage|qa|test|uat|prod|production)$/,"");return`${n}|${""===r||"www"===r||"kinetic"===r?"main":r}`},ii=e=>{if(!/^https?:\/\//i.test(e))return!1;try{const t=new URL(e).hostname.toLowerCase(),n=ni(process.env.NEXT_PUBLIC_SITE_URL)||ni(process.env.NEXT_PUBLIC_MAIN_SITE_URL)||("undefined"!=typeof window?window.location.hostname.toLowerCase():"");return!n||ri(t)!==ri(n)}catch(e){return!1}},oi=t=>({renderMark:{[sn.BOLD]:t=>e.jsx("strong",{className:"font-black",children:t}),[sn.ITALIC]:t=>e.jsx("em",{children:t}),[sn.UNDERLINE]:t=>e.jsx("u",{children:t}),[sn.CODE]:t=>e.jsx("code",{children:t})},renderNode:{[rn.PARAGRAPH]:(t,n)=>e.jsx("div",{className:"body3 mb-4 whitespace-pre-line",children:Kr(t)?"\n":n}),[rn.HEADING_1]:(t,n)=>e.jsx(qn,{as:"h1",className:"heading2 md:heading1",children:n}),[rn.HEADING_2]:(t,n)=>e.jsx(qn,{as:"h2",className:"heading3 md:heading2",children:n}),[rn.HEADING_3]:(t,n)=>e.jsx(qn,{as:"h3",className:"heading4 md:heading3",children:n}),[rn.HEADING_4]:(t,n)=>e.jsx(qn,{as:"h4",className:"heading5 md:heading4",children:n}),[rn.HEADING_5]:(t,n)=>e.jsx(qn,{as:"h5",className:"heading6 md:heading5",children:n}),[rn.HEADING_6]:(t,n)=>e.jsx(qn,{as:"h6",className:"heading6",children:n}),[rn.QUOTE]:(t,n)=>e.jsx("blockquote",{children:n}),[rn.UL_LIST]:(t,n)=>e.jsx("ul",{className:"list-disc pl-6",children:n}),[rn.OL_LIST]:(t,n)=>e.jsx("ol",{className:"list-decimal pl-6",children:n}),[rn.LIST_ITEM]:(t,n)=>e.jsx("li",{children:n}),[on.HYPERLINK]:(t,n)=>{var r;const i=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.uri,o=ii(i);return e.jsx("a",{href:i,target:o?"_blank":void 0,rel:o?"noopener":void 0,children:n})},[rn.EMBEDDED_ASSET]:t=>{var n,r;const i=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.target,o=null==i?void 0:i.fields,s=(null==i?void 0:i.url)||(null===(r=null==o?void 0:o.file)||void 0===r?void 0:r.url),a=(null==o?void 0:o.title)||(null==o?void 0:o.description)||"Embedded asset";if(!s)return null;const l=s.startsWith("//")?`https:${s}`:s;return e.jsx("img",{src:l,alt:a,style:{maxWidth:"100%"}})},[rn.EMBEDDED_ENTRY]:n=>{const r=Qr(n,t);if(!r)return null;const i=qr(r),o=ei(r);switch(i){case"callout":return e.jsxs("aside",{style:{border:"1px solid #ddd",padding:12,borderRadius:8},children:[e.jsx("strong",{children:o.title}),e.jsx("div",{children:o.body})]});case"componentVideoLink":case"ComponentVideoLink":return e.jsx($r,{videoLink:ti(o)});default:return null}},[on.EMBEDDED_ENTRY]:n=>{var r;const i=Qr(n,t);if(!i)return null;const o=qr(i),s=ei(i);switch(o){case"componentCheckList":return e.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 6px",backgroundColor:"#f0fdf4",border:"1px solid #bbf7d0",borderRadius:"4px",fontSize:"0.9em"},children:["✅ ",s.title]});case"componentVideoLink":case"ComponentVideoLink":return e.jsx($r,{videoLink:ti(s)});default:return e.jsx("span",{children:null!==(r=null==s?void 0:s.title)&&void 0!==r?r:""})}}}});function si(t,n,r="body1",i="body1 font-bold",o,s){if(!t||!Array.isArray(t.content))return null;const a=oi(s),l={...a,...o,renderNode:{...a.renderNode,...null==o?void 0:o.renderNode,[rn.PARAGRAPH]:(t,n)=>e.jsx("div",{className:[r,"whitespace-pre-line"].filter(Boolean).join(" "),children:Kr(t)?"\n":n}),[on.HYPERLINK]:(t,r)=>{var o;const s=null===(o=null==t?void 0:t.data)||void 0===o?void 0:o.uri,a=ii(s),l=null!=n?n:a;return e.jsx(rr,{href:s,target:l?"_blank":void 0,rel:l?"noopener":void 0,variant:"default",className:i,children:r})}}};return nn.documentToReactComponents(t,l)}const ai={renderMark:{[sn.BOLD]:e=>t.createElement("span",{className:"label1"},e)}};const li=t.forwardRef(({children:t,className:n="",style:r,disabled:i,...o},s)=>e.jsx("button",{ref:s,className:Ae(n),style:r,disabled:i,...o,children:t}));li.displayName="Button";const ci=n=>{const{open:r,children:i}=n,o=t.useRef(null),[s,a]=t.useState(0);t.useEffect(()=>{const e=o.current;if(!e)return;const t=()=>{a(r?e.scrollHeight:0)};let n;return t(),r&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[r,i]);const l=r?{}:{inert:""};return e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:r?1:0},"aria-hidden":!r,...l,children:e.jsx("div",{ref:o,children:i})})};ci.displayName="Collapse";const ui=n=>{const{title:r,defaultOpen:i,children:o,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,iconClassName:u,openOnlyOnDesktop:d,borderRadiusNone:p=!1}=n,[m,h]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;h(e)}else h(Boolean(i))},[d,i]),e.jsxs("div",{className:Ae(p?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(li,{type:"button",className:Ae(p?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>h(e=>!e),children:[e.jsx("span",{className:Ae("label5 flex-1",a),children:r}),e.jsx(Qn,{className:Ae("flex-shrink-0",u),name:m?"keyboard_arrow_up":"keyboard_arrow_down",fill:1,size:24})]}),e.jsx(ci,{open:m,children:e.jsx("div",{className:Ae("px-4 py-4",l),children:o})})]})};ui.displayName="Accordion";const di=t=>{const{className:n,...r}=t;return e.jsx("div",{className:Ae("h-[1px] border-t-0 bg-bg-surface-tertiary-active opacity-100",n),...r})};di.displayName="Divider";const pi={slow:30,medium:20,fast:10},mi={cream:"bg-[#FFFEEF]",gray90:"bg-[#FBFBFC]",white:"bg-white"},hi=({iconUrl:t,iconAlt:n,iconWidth:r,iconHeight:i,title:o,description:s},a)=>e.jsxs("div",{className:"ml-4 flex w-auto flex-shrink-0 items-center whitespace-nowrap",children:[e.jsx("img",{src:t,alt:null!=n?n:"",width:r,height:i,className:"w-[200px]"}),e.jsxs("div",{className:"w-[250px] text-center",children:[e.jsx("p",{className:"flex justify-center text-center text-body3 font-bold",children:o}),e.jsx("p",{className:"flex flex-wrap whitespace-normal text-center text-footnote",children:s})]})]},a),fi="pop",gi=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),bi=t.createContext({}),vi=t.createContext(null),xi="undefined"!=typeof document,yi=xi?t.useLayoutEffect:t.useEffect,wi=t.createContext({strict:!1});function Ci(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Ii(e){return"string"==typeof e||Array.isArray(e)}function Ni(e){return"object"==typeof e&&"function"==typeof e.start}const Ai=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ei=["initial",...Ai];function ji(e){return Ni(e.animate)||Ei.some(t=>Ii(e[t]))}function Ti(e){return Boolean(ji(e)||e.variants)}function Si(e){const{initial:n,animate:r}=function(e,t){if(ji(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Ii(t)?t:void 0,animate:Ii(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(bi));return t.useMemo(()=>({initial:n,animate:r}),[ki(n),ki(r)])}function ki(e){return Array.isArray(e)?e.join(" "):e}const Pi={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"]},Ri={};for(const e in Pi)Ri[e]={isEnabled:t=>Pi[e].some(e=>!!t[e])};const Bi=t.createContext({}),Li=t.createContext({}),Oi=Symbol.for("motionComponentSymbol");function Gi({preloadedFeatures:e,createVisualElement:n,useRender:r,useVisualState:i,Component:o}){e&&function(e){for(const t in e)Ri[t]={...Ri[t],...e[t]}}(e);const s=t.forwardRef(function(s,a){let c;const u={...t.useContext(gi),...s,layoutId:Mi(s)},{isStatic:d}=u,p=Si(s),m=i(s,d);if(!d&&xi){p.visualElement=function(e,n,r,i){const{visualElement:o}=t.useContext(bi),s=t.useContext(wi),a=t.useContext(vi),l=t.useContext(gi).reducedMotion,c=t.useRef();i=i||s.renderer,!c.current&&i&&(c.current=i(e,{visualState:n,parent:o,props:r,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(r,a)}),yi(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?yi:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(o,m,u,n);const r=t.useContext(Li),i=t.useContext(wi).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,i,e,r))}return l.createElement(bi.Provider,{value:p},c&&p.visualElement?l.createElement(c,{visualElement:p.visualElement,...u}):null,r(o,s,function(e,n,r){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),r&&("function"==typeof r?r(t):Ci(r)&&(r.current=t))},[n])}(m,p.visualElement,a),m,d,p.visualElement))});return s[Oi]=o,s}function Mi({layoutId:e}){const n=t.useContext(Bi).id;return n&&void 0!==e?n+"-"+e:e}function Di(e){function t(t,n={}){return Gi(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Vi=["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 Fi(e){return"string"==typeof e&&!e.includes("-")&&!!(Vi.indexOf(e)>-1||/[A-Z]/.test(e))}const Hi={};const Wi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Xi=new Set(Wi);function zi(e,{layout:t,layoutId:n}){return Xi.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Hi[e]||"opacity"===e)}const _i=e=>Boolean(e&&e.getVelocity),Zi={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Yi=Wi.length;const Ji=e=>t=>"string"==typeof t&&t.startsWith(e),Ui=Ji("--"),$i=Ji("var(--"),Ki=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Qi=(e,t,n)=>Math.min(Math.max(n,e),t),qi={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},eo={...qi,transform:e=>Qi(0,1,e)},to={...qi,default:1},no=e=>Math.round(1e5*e)/1e5,ro=/(-)?([\d]*\.?[\d])+/g,io=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,oo=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function so(e){return"string"==typeof e}const ao=e=>({test:t=>so(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),lo=ao("deg"),co=ao("%"),uo=ao("px"),po=ao("vh"),mo=ao("vw"),ho={...co,parse:e=>co.parse(e)/100,transform:e=>co.transform(100*e)},fo={...qi,transform:Math.round},go={borderWidth:uo,borderTopWidth:uo,borderRightWidth:uo,borderBottomWidth:uo,borderLeftWidth:uo,borderRadius:uo,radius:uo,borderTopLeftRadius:uo,borderTopRightRadius:uo,borderBottomRightRadius:uo,borderBottomLeftRadius:uo,width:uo,maxWidth:uo,height:uo,maxHeight:uo,size:uo,top:uo,right:uo,bottom:uo,left:uo,padding:uo,paddingTop:uo,paddingRight:uo,paddingBottom:uo,paddingLeft:uo,margin:uo,marginTop:uo,marginRight:uo,marginBottom:uo,marginLeft:uo,rotate:lo,rotateX:lo,rotateY:lo,rotateZ:lo,scale:to,scaleX:to,scaleY:to,scaleZ:to,skew:lo,skewX:lo,skewY:lo,distance:uo,translateX:uo,translateY:uo,translateZ:uo,x:uo,y:uo,z:uo,perspective:uo,transformPerspective:uo,opacity:eo,originX:ho,originY:ho,originZ:uo,zIndex:fo,fillOpacity:eo,strokeOpacity:eo,numOctaves:fo};function bo(e,t,n,r){const{style:i,vars:o,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Ui(e)){o[e]=n;continue}const r=go[e],d=Ki(n,r);if(Xi.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(r.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):i[e]=d}if(t.transform||(l||r?i.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,i){let o="";for(let t=0;t<Yi;t++){const n=Wi[t];void 0!==e[n]&&(o+=`${Zi[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),i?o=i(e,r?"":o):n&&r&&(o="none"),o}(e.transform,n,u,r):i.transform&&(i.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;i.transformOrigin=`${e} ${t} ${n}`}}const vo=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function xo(e,t,n){for(const r in t)_i(t[r])||zi(r,n)||(e[r]=t[r])}function yo(e,n,r){const i={};return xo(i,e.style||{},e),Object.assign(i,function({transformTemplate:e},n,r){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return bo(t,n,{enableHardwareAcceleration:!r},e),Object.assign({},t.vars,t.style)},[n])}(e,n,r)),e.transformValues?e.transformValues(i):i}function wo(e,t,n){const r={},i=yo(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=i,r}const Co=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function Io(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Co.has(e)}let No=e=>!Io(e);try{(Ao=require("@emotion/is-prop-valid").default)&&(No=e=>e.startsWith("on")?!Io(e):Ao(e))}catch(Nd){}var Ao;function Eo(e,t,n){return"string"==typeof e?e:uo.transform(t+n*e)}const jo={offset:"stroke-dashoffset",array:"stroke-dasharray"},To={offset:"strokeDashoffset",array:"strokeDasharray"};function So(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(bo(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:f}=e;m.transform&&(f&&(h.transform=m.transform),delete m.transform),f&&(void 0!==i||void 0!==o||h.transform)&&(h.transformOrigin=function(e,t,n){return`${Eo(t,e.x,e.width)} ${Eo(n,e.y,e.height)}`}(f,void 0!==i?i:.5,void 0!==o?o:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==s&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;const o=i?jo:To;e[o.offset]=uo.transform(-r);const s=uo.transform(t),a=uo.transform(n);e[o.array]=`${s} ${a}`}(m,s,a,l,!1)}const ko=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),Po=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ro(e,n,r,i){const o=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return So(t,n,{enableHardwareAcceleration:!1},Po(i),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};xo(t,e.style,e),o.style={...t,...o.style}}return o}function Bo(e=!1){return(n,r,i,{latestValues:o},s)=>{const a=(Fi(n)?Ro:wo)(r,o,s,n),l=function(e,t,n){const r={};for(const i in e)"values"===i&&"object"==typeof e.values||(No(i)||!0===n&&Io(i)||!t&&!Io(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(r,"string"==typeof n,e),c={...l,...a,ref:i},{children:u}=r,d=t.useMemo(()=>_i(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const Lo=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Oo(e,{style:t,vars:n},r,i){Object.assign(e.style,t,i&&i.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Go=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 Mo(e,t,n,r){Oo(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Go.has(n)?n:Lo(n),t.attrs[n])}function Do(e,t){const{style:n}=e,r={};for(const i in n)(_i(n[i])||t.style&&_i(t.style[i])||zi(i,e))&&(r[i]=n[i]);return r}function Vo(e,t){const n=Do(e,t);for(const r in e)if(_i(e[r])||_i(t[r])){n[-1!==Wi.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Fo(e,t,n,r={},i={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,i)),t}function Ho(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}const Wo=e=>Array.isArray(e),Xo=e=>Wo(e)?e[e.length-1]||0:e;function zo(e){const t=_i(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const _o=e=>(n,r)=>{const i=t.useContext(bi),o=t.useContext(vi),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,i,o){const s={latestValues:Zo(r,i,o,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,n,i,o);return r?s():Ho(s)};function Zo(e,t,n,r){const i={},o=r(e,{});for(const e in o)i[e]=zo(o[e]);let{initial:s,animate:a}=e;const l=ji(e),c=Ti(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let u=!!n&&!1===n.initial;u=u||!1===s;const d=u?a:s;if(d&&"boolean"!=typeof d&&!Ni(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Fo(e,t);if(!n)return;const{transitionEnd:r,transition:o,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(i[e]=t)}for(const e in r)i[e]=r[e]})}return i}const Yo={useVisualState:_o({scrapeMotionValuesFromProps:Vo,createRenderState:ko,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}So(n,r,{enableHardwareAcceleration:!1},Po(t.tagName),e.transformTemplate),Mo(t,n)}})},Jo={useVisualState:_o({scrapeMotionValuesFromProps:Do,createRenderState:vo})};function Uo(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const $o=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Ko(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Qo(e,t,n,r){return Uo(e,t,(e=>t=>$o(t)&&e(t,Ko(t)))(n),r)}const qo=(e,t)=>n=>t(e(n)),es=(...e)=>e.reduce(qo);function ts(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const ns=ts("dragHorizontal"),rs=ts("dragVertical");function is(e){let t=!1;if("y"===e)t=rs();else if("x"===e)t=ns();else{const e=ns(),n=rs();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function os(){const e=is(!0);return!e||(e(),!1)}class ss{constructor(e){this.isMounted=!1,this.node=e}update(){}}const as={delta:0,timestamp:0,isProcessing:!1};let ls=!0,cs=!1;const us=["read","update","preRender","render","postRender"],ds=us.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,o=!1;const s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{const l=a&&i,c=l?t:n;return o&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&i&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(i)o=!0;else{if(i=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),s.has(r)&&(a.schedule(r),e())}i=!1,o&&(o=!1,a.process(l))}}};return a}(()=>cs=!0),e),{}),ps=e=>ds[e].process(as),ms=e=>{cs=!1,as.delta=ls?1e3/60:Math.max(Math.min(e-as.timestamp,40),1),as.timestamp=e,as.isProcessing=!0,us.forEach(ps),as.isProcessing=!1,cs&&(ls=!1,requestAnimationFrame(ms))},hs=us.reduce((e,t)=>{const n=ds[t];return e[t]=(e,t=!1,r=!1)=>(cs||(cs=!0,ls=!0,as.isProcessing||requestAnimationFrame(ms)),n.schedule(e,t,r)),e},{});function fs(e){us.forEach(t=>ds[t].cancel(e))}function gs(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return Qo(e.current,n,(n,i)=>{if("touch"===n.type||os())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[r]&&hs.update(()=>o[r](n,i))},{passive:!e.getProps()[r]})}const bs=(e,t)=>!!t&&(e===t||bs(e,t.parentElement)),vs=e=>e;function xs(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Ko(n))}const ys=new WeakMap,ws=new WeakMap,Cs=e=>{const t=ys.get(e.target);t&&t(e)},Is=e=>{e.forEach(Cs)};function Ns(e,t,n){const r=function({root:e,...t}){const n=e||document;ws.has(n)||ws.set(n,{});const r=ws.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(Is,{root:e,...t})),r[i]}(t);return ys.set(e,n),r.observe(e),()=>{ys.delete(e),r.unobserve(e)}}const As={some:0,all:1};const Es={inView:{Feature:class extends ss{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:As[r]};return Ns(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),o=t?n:r;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ss{constructor(){super(...arguments),this.removeStartListeners=vs,this.removeEndListeners=vs,this.removeAccessibleListeners=vs,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=Qo(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();hs.update(()=>{bs(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),i=Qo(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=es(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Uo(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Uo(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&xs("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&hs.update(()=>n(e,t))})}),xs("down",(e,t)=>{this.startPress(e,t)})}),t=Uo(this.node.current,"blur",()=>{this.isPressing&&xs("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=es(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&hs.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!os()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&hs.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Qo(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Uo(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=es(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ss{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=es(Uo(this.node.current,"focus",()=>this.onFocus()),Uo(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ss{mount(){this.unmount=es(gs(this.node,!0),gs(this.node,!1))}unmount(){}}}};function js(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ts(e,t,n){const r=e.getProps();return Fo(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Ss="data-"+Lo("framerAppearId");let ks=vs,Ps=vs;"production"!==process.env.NODE_ENV&&(ks=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},Ps=(e,t)=>{if(!e)throw new Error(t)});const Rs=e=>1e3*e,Bs=e=>e/1e3,Ls=!1,Os=e=>Array.isArray(e)&&"number"==typeof e[0];function Gs(e){return Boolean(!e||"string"==typeof e&&Ds[e]||Os(e)||Array.isArray(e)&&e.every(Gs))}const Ms=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Ds={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ms([0,.65,.55,1]),circOut:Ms([.55,0,1,.45]),backIn:Ms([.31,.01,.66,-.59]),backOut:Ms([.33,1.53,.69,.99])};function Vs(e){if(e)return Os(e)?Ms(e):Array.isArray(e)?e.map(Vs):Ds[e]}const Fs={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Hs={},Ws={};for(const e in Fs)Ws[e]=()=>(void 0===Hs[e]&&(Hs[e]=Fs[e]()),Hs[e]);const Xs=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function zs(e,t,n,r){if(e===t&&n===r)return vs;const i=t=>function(e,t,n,r,i){let o,s,a=0;do{s=t+(n-t)/2,o=Xs(s,r,i)-e,o>0?n=s:t=s}while(Math.abs(o)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:Xs(i(e),t,r)}const _s=zs(.42,0,1,1),Zs=zs(0,0,.58,1),Ys=zs(.42,0,.58,1),Js=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Us=e=>t=>1-e(1-t),$s=e=>1-Math.sin(Math.acos(e)),Ks=Us($s),Qs=Js(Ks),qs=zs(.33,1.53,.69,.99),ea=Us(qs),ta=Js(ea),na={linear:vs,easeIn:_s,easeInOut:Ys,easeOut:Zs,circIn:$s,circInOut:Qs,circOut:Ks,backIn:ea,backInOut:ta,backOut:qs,anticipate:e=>(e*=2)<1?.5*ea(e):.5*(2-Math.pow(2,-10*(e-1)))},ra=e=>{if(Array.isArray(e)){Ps(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,i]=e;return zs(t,n,r,i)}return"string"==typeof e?(Ps(void 0!==na[e],`Invalid easing type '${e}'`),na[e]):e},ia=(e,t)=>n=>Boolean(so(n)&&oo.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),oa=(e,t,n)=>r=>{if(!so(r))return r;const[i,o,s,a]=r.match(ro);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},sa={...qi,transform:e=>Math.round((e=>Qi(0,255,e))(e))},aa={test:ia("rgb","red"),parse:oa("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+sa.transform(e)+", "+sa.transform(t)+", "+sa.transform(n)+", "+no(eo.transform(r))+")"};const la={test:ia("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:aa.transform},ca={test:ia("hsl","hue"),parse:oa("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+co.transform(no(t))+", "+co.transform(no(n))+", "+no(eo.transform(r))+")"},ua={test:e=>aa.test(e)||la.test(e)||ca.test(e),parse:e=>aa.test(e)?aa.parse(e):ca.test(e)?ca.parse(e):la.parse(e),transform:e=>so(e)?e:e.hasOwnProperty("red")?aa.transform(e):ca.transform(e)},da=(e,t,n)=>-n*e+n*t+e;function pa(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 ma=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},ha=[la,aa,ca];function fa(e){const t=(n=e,ha.find(e=>e.test(n)));var n;Ps(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===ca&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;i=pa(a,r,e+1/3),o=pa(a,r,e),s=pa(a,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(r)),r}const ga=(e,t)=>{const n=fa(e),r=fa(t),i={...n};return e=>(i.red=ma(n.red,r.red,e),i.green=ma(n.green,r.green,e),i.blue=ma(n.blue,r.blue,e),i.alpha=da(n.alpha,r.alpha,e),aa.transform(i))};const ba={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:vs},va={regex:io,countKey:"Colors",token:"${c}",parse:ua.parse},xa={regex:ro,countKey:"Numbers",token:"${n}",parse:qi.parse};function ya(e,{regex:t,countKey:n,token:r,parse:i}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...o.map(i)))}function wa(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&ya(n,ba),ya(n,va),ya(n,xa),n}function Ca(e){return wa(e).values}function Ia(e){const{values:t,numColors:n,numVars:r,tokenised:i}=wa(e),o=t.length;return e=>{let t=i;for(let i=0;i<o;i++)t=i<r?t.replace(ba.token,e[i]):i<r+n?t.replace(va.token,ua.transform(e[i])):t.replace(xa.token,no(e[i]));return t}}const Na=e=>"number"==typeof e?0:e;const Aa={test:function(e){var t,n;return isNaN(e)&&so(e)&&((null===(t=e.match(ro))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(io))||void 0===n?void 0:n.length)||0)>0},parse:Ca,createTransformer:Ia,getAnimatableNone:function(e){const t=Ca(e);return Ia(e)(t.map(Na))}},Ea=(e,t)=>n=>`${n>0?t:e}`;function ja(e,t){return"number"==typeof e?n=>da(e,t,n):ua.test(e)?ga(e,t):e.startsWith("var(")?Ea(e,t):ka(e,t)}const Ta=(e,t)=>{const n=[...e],r=n.length,i=e.map((e,n)=>ja(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}},Sa=(e,t)=>{const n={...e,...t},r={};for(const i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=ja(e[i],t[i]));return e=>{for(const t in r)n[t]=r[t](e);return n}},ka=(e,t)=>{const n=Aa.createTransformer(t),r=wa(e),i=wa(t);return r.numVars===i.numVars&&r.numColors===i.numColors&&r.numNumbers>=i.numNumbers?es(Ta(r.values,i.values),n):(ks(!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.`),Ea(e,t))},Pa=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Ra=(e,t)=>n=>da(e,t,n);function Ba(e,t,n){const r=[],i=n||("number"==typeof(o=e[0])?Ra:"string"==typeof o?ua.test(o)?ga:ka:Array.isArray(o)?Ta:"object"==typeof o?Sa:Ra);var o;const s=e.length-1;for(let n=0;n<s;n++){let o=i(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||vs:t;o=es(e,o)}r.push(o)}return r}function La(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const o=e.length;if(Ps(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Ba(t,r,i),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=Pa(e[n],e[n+1],t);return s[n](r)};return n?t=>l(Qi(e[0],e[o-1],t)):l}function Oa(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=Pa(0,t,r);e.push(da(n,1,i))}}(t,e.length-1),t}function Ga({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ra):ra(r),o={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Oa(t),e),a=La(s,t,{ease:Array.isArray(i)?i:(l=t,c=i,l.map(()=>c||Ys).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}function Ma(e,t){return t?e*(1e3/t):0}function Da(e,t,n){const r=Math.max(t-5,0);return Ma(n-e(r),t-r)}const Va=.001;function Fa({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;ks(e<=Rs(10),"Spring duration must be 10 seconds or less");let s=1-t;s=Qi(.05,1,s),e=Qi(.01,10,Bs(e)),s<1?(i=t=>{const r=t*s,i=r*e,o=r-n,a=Wa(t,s),l=Math.exp(-i);return Va-o/a*l},o=t=>{const r=t*s*e,o=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Wa(Math.pow(t,2),s);return(-i(t)+Va>0?-1:1)*((o-a)*l)/c}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<Ha;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=Rs(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}const Ha=12;function Wa(e,t){return e*Math.sqrt(1-t*t)}const Xa=["duration","bounce"],za=["stiffness","damping","mass"];function _a(e,t){return t.some(t=>void 0!==e[t])}function Za({keyframes:e,restDelta:t,restSpeed:n,...r}){const i=e[0],o=e[e.length-1],s={done:!1,value:i},{stiffness:a,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(!_a(e,za)&&_a(e,Xa)){const n=Fa(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),m=u?-Bs(u):0,h=l/(2*Math.sqrt(a*c)),f=o-i,g=Bs(Math.sqrt(a/c)),b=Math.abs(f)<5;let v;if(n||(n=b?.01:2),t||(t=b?.005:.5),h<1){const e=Wa(g,h);v=t=>{const n=Math.exp(-h*g*t);return o-n*((m+h*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===h)v=e=>o-Math.exp(-g*e)*(f+(m+g*f)*e);else{const e=g*Math.sqrt(h*h-1);v=t=>{const n=Math.exp(-h*g*t),r=Math.min(e*t,300);return o-n*((m+h*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:p&&d||null,next:e=>{const r=v(e);if(p)s.done=e>=d;else{let i=m;0!==e&&(i=h<1?Da(v,e,r):0);const a=Math.abs(i)<=n,l=Math.abs(o-r)<=t;s.done=a&&l}return s.value=s.done?o:r,s}}}function Ya({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],p={done:!1,value:d},m=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const f=d+h,g=void 0===s?f:s(f);g!==f&&(h=g-d);const b=e=>-h*Math.exp(-e/r),v=e=>g+b(e),x=e=>{const t=b(e),n=v(e);p.done=Math.abs(t)<=c,p.value=p.done?g:n};let y,w;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,w=Za({keyframes:[p.value,m(p.value)],velocity:Da(v,e,p.value),damping:i,stiffness:o,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==y||(t=!0,x(e),C(e)),void 0!==y&&e>y?w.next(e-y):(!t&&x(e),p)}}}const Ja=e=>{const t=({timestamp:t})=>e(t);return{start:()=>hs.update(t,!0),stop:()=>fs(t),now:()=>as.isProcessing?as.timestamp:performance.now()}};function Ua(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 $a={decay:Ya,inertia:Ya,tween:Ga,keyframes:Ga,spring:Za};function Ka({autoplay:e=!0,delay:t=0,driver:n=Ja,keyframes:r,type:i="keyframes",repeat:o=0,repeatDelay:s=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:d,...p}){let m,h,f=1,g=!1;const b=()=>{m&&m(),h=new Promise(e=>{m=e})};let v;b();const x=$a[i]||Ga;let y;x!==Ga&&"number"!=typeof r[0]&&(y=La([0,100],r,{clamp:!1}),r=[0,100]);const w=x({...p,keyframes:r});let C;"mirror"===a&&(C=x({...p,keyframes:[...r].reverse(),velocity:-(p.velocity||0)}));let I="idle",N=null,A=null,E=null;null===w.calculatedDuration&&o&&(w.calculatedDuration=Ua(w));const{calculatedDuration:j}=w;let T=1/0,S=1/0;null!==j&&(T=j+s,S=T*(o+1)-s);let k=0;const P=e=>{if(null===A)return;f>0&&(A=Math.min(A,e)),k=null!==N?N:(e-A)*f;const n=k-t,i=n<0;k=Math.max(n,0),"finished"===I&&null===N&&(k=S);let l=k,c=w;if(o){const e=k/T;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const r=Boolean(t%2);r&&("reverse"===a?(n=1-n,s&&(n-=s/T)):"mirror"===a&&(c=C));let i=Qi(0,1,n);k>S&&(i="reverse"===a&&r?1:0),l=i*T}const u=i?{done:!1,value:r[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;i||null===j||(p=k>=S);const m=null===N&&("finished"===I||"running"===I&&p||f<0&&k<=0);return d&&d(u.value),m&&L(),u},R=()=>{v&&v.stop(),v=void 0},B=()=>{I="idle",R(),b(),A=E=null},L=()=>{I="finished",u&&u(),R(),b()},O=()=>{if(g)return;v||(v=n(P));const e=v.now();l&&l(),null!==N?A=e-N:A&&"finished"!==I||(A=e),E=A,N=null,I="running",v.start()};e&&O();const G={then:(e,t)=>h.then(e,t),get time(){return Bs(k)},set time(e){e=Rs(e),k=e,null===N&&v&&0!==f?A=v.now()-e/f:N=e},get duration(){const e=null===w.calculatedDuration?Ua(w):w.calculatedDuration;return Bs(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,G.time=Bs(k))},get state(){return I},play:O,pause:()=>{I="paused",N=k},stop:()=>{g=!0,"idle"!==I&&(I="idle",c&&c(),B())},cancel:()=>{null!==E&&P(E),B()},complete:()=>{I="finished"},sample:e=>(A=0,P(e))};return G}const Qa=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function qa(e,t,{onUpdate:n,onComplete:r,...i}){if(!(Ws.waapi()&&Qa.has(t)&&!i.repeatDelay&&"mirror"!==i.repeatType&&0!==i.damping&&"inertia"!==i.type))return!1;let o,s,a=!1;const l=()=>{s=new Promise(e=>{o=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=i;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Gs(t.ease))(t,i)){const e=Ka({...i,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;p=void 0,c=n,u=r-10,d="linear"}const m=function(e,t,n,{delay:r=0,duration:i,repeat:o=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Vs(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:i,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...i,duration:u,ease:d,times:p}),h=()=>m.cancel(),f=()=>{hs.update(h),o(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,i)),r&&r(),f()},{then:(e,t)=>s.then(e,t),get time(){return Bs(m.currentTime||0)},set time(e){m.currentTime=Rs(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Bs(u)},play:()=>{a||(m.play(),fs(h))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=Ka({...i,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const el={type:"spring",stiffness:500,damping:25,restSpeed:10},tl={type:"keyframes",duration:.8},nl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rl=(e,{keyframes:t})=>t.length>2?tl:Xi.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:el:nl,il=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Aa.test(t)&&"0"!==t||t.startsWith("url("))),ol=new Set(["brightness","contrast","saturate","opacity"]);function sl(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(ro)||[];if(!r)return e;const i=n.replace(r,"");let o=ol.has(t)?1:0;return r!==n&&(o*=100),t+"("+o+i+")"}const al=/([a-z-]*)\(.*?\)/g,ll={...Aa,getAnimatableNone:e=>{const t=e.match(al);return t?t.map(sl).join(" "):e}},cl={...go,color:ua,backgroundColor:ua,outlineColor:ua,fill:ua,stroke:ua,borderColor:ua,borderTopColor:ua,borderRightColor:ua,borderBottomColor:ua,borderLeftColor:ua,filter:ll,WebkitFilter:ll},ul=e=>cl[e];function dl(e,t){let n=ul(e);return n!==ll&&(n=Aa),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const pl=e=>/^0[^.\s]+$/.test(e);function ml(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||pl(e):void 0}function hl(e,t){return e[t]||e.default||e}const fl=(e,t,n,r={})=>i=>{const o=hl(r,e)||{},s=o.delay||r.delay||0;let{elapsed:a=0}=r;a-=Rs(s);const l=function(e,t,n,r){const i=il(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const s=void 0!==r.from?r.from:e.get();let a;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?s:o[e-1]),ml(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(a=o[e]);if(i&&l.length&&a)for(let e=0;e<l.length;e++)o[l[e]]=dl(t,a);return o}(t,e,n,o),c=l[0],u=l[l.length-1],d=il(e,c),p=il(e,u);ks(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{i(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(o)||(m={...m,...rl(e,m)}),m.duration&&(m.duration=Rs(m.duration)),m.repeatDelay&&(m.repeatDelay=Rs(m.repeatDelay)),!d||!p||Ls||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const i=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:vs,pause:vs,stop:vs,then:e=>(e(),Promise.resolve()),cancel:vs,complete:vs});return t?Ka({keyframes:[0,1],duration:0,delay:t,onComplete:i}):i()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=qa(t,e,m);if(n)return n}return Ka(m)};function gl(e){return Boolean(_i(e)&&e.add)}const bl=e=>/^\-?\d*\.?\d+$/.test(e);function vl(e,t){-1===e.indexOf(t)&&e.push(t)}function xl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class yl{constructor(){this.subscriptions=[]}add(e){return vl(this.subscriptions,e),()=>xl(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){const r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const wl=new Set;function Cl(e,t,n){e||wl.has(t)||(console.warn(t),wl.add(t))}class Il{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=as;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,hs.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=()=>hs.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&&Cl(!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 yl);const n=this.events[e].add(t);return"change"===e?()=>{n(),hs.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?Ma(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 Nl(e,t){return new Il(e,t)}const Al=e=>t=>t.test(e),El=[qi,uo,co,lo,mo,po,{test:e=>"auto"===e,parse:e=>e}],jl=e=>El.find(Al(e)),Tl=[...El,ua,Aa],Sl=e=>Tl.find(Al(e));function kl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Nl(n))}function Pl(e,t){if(!t)return;return(t[e]||t.default||t).from}function Rl({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Bl(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(o=r);const c=[],u=i&&e.animationState&&e.animationState.getState()[i];for(const t in a){const r=e.getValue(t),i=a[t];if(!r||void 0===i||u&&Rl(u,t))continue;const s={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Ss];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,hs))}r.start(fl(t,r,i,e.shouldReduceMotion&&Xi.has(t)?{type:!1}:s));const d=r.animation;gl(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Ts(e,t);let{transitionEnd:r={},transition:i={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...r};for(const t in o)kl(e,t,Xo(o[t]))}(e,s)}),c}function Ll(e,t,n={}){const r=Ts(e,t,n.custom);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(Bl(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,i=1,o){const s=[],a=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(Ol).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(Ll(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,o+r,s,a,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[e,t]="beforeChildren"===a?[o,s]:[s,o];return e().then(()=>t())}return Promise.all([o(),s(n.delay)])}function Ol(e,t){return e.sortNodePosition(t)}const Gl=[...Ai].reverse(),Ml=Ai.length;function Dl(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const i=t.map(t=>Ll(e,t,n));r=Promise.all(i)}else if("string"==typeof t)r=Ll(e,t,n);else{const i="function"==typeof t?Ts(e,t,n.custom):t;r=Promise.all(Bl(e,i,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Vl(e){let t=Dl(e);const n={animate:Hl(!0),whileInView:Hl(),whileHover:Hl(),whileTap:Hl(),whileDrag:Hl(),whileFocus:Hl(),exit:Hl()};let r=!0;const i=(t,n)=>{const r=Ts(e,n);if(r){const{transition:e,transitionEnd:n,...i}=r;t={...t,...i,...n}}return t};function o(o,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<Ml;t++){const m=Gl[t],h=n[m],f=void 0!==a[m]?a[m]:l[m],g=Ii(f),b=m===s?h.isActive:null;!1===b&&(p=t);let v=f===l[m]&&f!==a[m]&&g;if(v&&r&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!f&&!h.prevProp||Ni(f)||"boolean"==typeof f)continue;const x=Fl(h.prevProp,f);let y=x||m===s&&h.isActive&&!v&&g||t>p&&g;const w=Array.isArray(f)?f:[f];let C=w.reduce(i,{});!1===b&&(C={});const{prevResolvedValues:I={}}=h,N={...I,...C},A=e=>{y=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in N){const t=C[e],n=I[e];d.hasOwnProperty(e)||(t!==n?Wo(t)&&Wo(n)?!js(t,n)||x?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=f,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),r&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...w.map(e=>({animation:e,options:{type:m,...o}})))}if(u.size){const t={};u.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let m=Boolean(c.length);return r&&!1===a.initial&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,r,i){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const a=o(i,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Fl(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!js(t,e)}function Hl(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Wl=0;const Xl={animation:{Feature:class extends ss{constructor(e){super(e),e.animationState||(e.animationState=Vl(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Ni(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 ss{constructor(){super(...arguments),this.id=Wl++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const i=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&i.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},zl=(e,t)=>Math.abs(e-t);class _l{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=Jl(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=zl(e.x,t.x),r=zl(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=as;this.history.push({...r,timestamp:i});const{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Zl(t,this.transformPagePoint),hs.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,i=Jl("pointercancel"===e.type?this.lastMoveEventInfo:Zl(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!$o(e))return;this.handlers=t,this.transformPagePoint=n;const r=Zl(Ko(e),this.transformPagePoint),{point:i}=r,{timestamp:o}=as;this.history=[{...i,timestamp:o}];const{onSessionStart:s}=t;s&&s(e,Jl(r,this.history)),this.removeListeners=es(Qo(window,"pointermove",this.handlePointerMove),Qo(window,"pointerup",this.handlePointerUp),Qo(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),fs(this.updatePoint)}}function Zl(e,t){return t?{point:t(e.point)}:e}function Yl(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Jl({point:e},t){return{point:e,delta:Yl(e,$l(t)),offset:Yl(e,Ul(t)),velocity:Kl(t,.1)}}function Ul(e){return e[0]}function $l(e){return e[e.length-1]}function Kl(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=$l(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>Rs(t)));)n--;if(!r)return{x:0,y:0};const o=Bs(i.timestamp-r.timestamp);if(0===o)return{x:0,y:0};const s={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ql(e){return e.max-e.min}function ql(e,t=0,n=.01){return Math.abs(e-t)<=n}function ec(e,t,n,r=.5){e.origin=r,e.originPoint=da(t.min,t.max,e.origin),e.scale=Ql(n)/Ql(t),(ql(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=da(n.min,n.max,e.origin)-e.originPoint,(ql(e.translate)||isNaN(e.translate))&&(e.translate=0)}function tc(e,t,n,r){ec(e.x,t.x,n.x,r?r.originX:void 0),ec(e.y,t.y,n.y,r?r.originY:void 0)}function nc(e,t,n){e.min=n.min+t.min,e.max=e.min+Ql(t)}function rc(e,t,n){e.min=t.min-n.min,e.max=e.min+Ql(t)}function ic(e,t,n){rc(e.x,t.x,n.x),rc(e.y,t.y,n.y)}function oc(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 sc(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const ac=.35;function lc(e,t,n){return{min:cc(e,t),max:cc(e,n)}}function cc(e,t){return"number"==typeof e?e:e[t]||0}const uc=()=>({x:{min:0,max:0},y:{min:0,max:0}});function dc(e){return[e("x"),e("y")]}function pc({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function mc(e){return void 0===e||1===e}function hc({scale:e,scaleX:t,scaleY:n}){return!mc(e)||!mc(t)||!mc(n)}function fc(e){return hc(e)||gc(e)||e.z||e.rotate||e.rotateX||e.rotateY}function gc(e){return bc(e.x)||bc(e.y)}function bc(e){return e&&"0%"!==e}function vc(e,t,n){return n+t*(e-n)}function xc(e,t,n,r,i){return void 0!==i&&(e=vc(e,i,r)),vc(e,n,r)+t}function yc(e,t=0,n=1,r,i){e.min=xc(e.min,t,n,r,i),e.max=xc(e.max,t,n,r,i)}function wc(e,{x:t,y:n}){yc(e.x,t.translate,t.scale,t.originPoint),yc(e.y,n.translate,n.scale,n.originPoint)}function Cc(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function Ic(e,t){e.min=e.min+t,e.max=e.max+t}function Nc(e,t,[n,r,i]){const o=void 0!==t[i]?t[i]:.5,s=da(e.min,e.max,o);yc(e,t[n],t[r],s,t.scale)}const Ac=["x","scaleX","originX"],Ec=["y","scaleY","originY"];function jc(e,t){Nc(e.x,t,Ac),Nc(e.y,t,Ec)}function Tc(e,t){return pc(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const Sc=new WeakMap;class kc{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 _l(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Ko(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=is(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),dc(e=>{let t=this.getAxisMotionValue(e).get()||0;if(co.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=Ql(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&hs.update(()=>i(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&hs.update(()=>i(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!Pc(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?da(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?da(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&Ci(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:i}){return{x:oc(e.x,n,i),y:oc(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=ac){return!1===e?e=0:!0===e&&(e=ac),{x:lc(e,"left","right"),y:lc(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&dc(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||!Ci(e))return!1;const n=e.current;Ps(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=function(e,t,n){const r=Tc(e,n),{scroll:i}=t;return i&&(Ic(r.x,i.offset.x),Ic(r.y,i.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:sc(e.x,t.x),y:sc(e.y,t.y)}}(r.layout.layoutBox,i);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=pc(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=dc(s=>{if(!Pc(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(fl(e,n,0,t))}stopAnimation(){dc(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){dc(t=>{const{drag:n}=this.getProps();if(!Pc(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-da(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ci(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};dc(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=Ql(e),i=Ql(t);return i>r?n=Pa(t.min,t.max-r,e.min):r>i&&(n=Pa(e.min,e.max-i,t.min)),Qi(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),dc(t=>{if(!Pc(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(da(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;Sc.set(this.visualElement,this);const e=Qo(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Ci(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const i=Uo(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(dc(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=ac,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:s}}}function Pc(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Rc=e=>(t,n)=>{e&&hs.update(()=>e(t,n))};const Bc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Lc(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Oc={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!uo.test(e))return e;e=parseFloat(e)}return`${Lc(e,t.target.x)}% ${Lc(e,t.target.y)}%`}},Gc={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=Aa.parse(e);if(i.length>5)return r;const o=Aa.createTransformer(e),s="number"!=typeof i[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=a,i[1+s]/=l;const c=da(a,l,.5);return"number"==typeof i[2+s]&&(i[2+s]/=c),"number"==typeof i[3+s]&&(i[3+s]/=c),o(i)}};class Mc extends l.default.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;var o;o=Vc,Object.assign(Hi,o),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Bc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o?(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||hs.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Dc(e){const[n,r]=function(){const e=t.useContext(vi);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=e,o=t.useId();return t.useEffect(()=>i(o),[]),!n&&r?[!1,()=>r&&r(o)]:[!0]}(),i=t.useContext(Bi);return l.default.createElement(Mc,{...e,layoutGroup:i,switchLayoutGroup:t.useContext(Li),isPresent:n,safeToRemove:r})}const Vc={borderRadius:{...Oc,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Oc,borderTopRightRadius:Oc,borderBottomLeftRadius:Oc,borderBottomRightRadius:Oc,boxShadow:Gc},Fc=["TopLeft","TopRight","BottomLeft","BottomRight"],Hc=Fc.length,Wc=e=>"string"==typeof e?parseFloat(e):e,Xc=e=>"number"==typeof e||uo.test(e);function zc(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const _c=Yc(0,.5,Ks),Zc=Yc(.5,.95,vs);function Yc(e,t,n){return r=>r<e?0:r>t?1:n(Pa(e,t,r))}function Jc(e,t){e.min=t.min,e.max=t.max}function Uc(e,t){Jc(e.x,t.x),Jc(e.y,t.y)}function $c(e,t,n,r,i){return e=vc(e-=t,1/n,r),void 0!==i&&(e=vc(e,1/i,r)),e}function Kc(e,t,[n,r,i],o,s){!function(e,t=0,n=1,r=.5,i,o=e,s=e){co.test(t)&&(t=parseFloat(t),t=da(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=da(o.min,o.max,r);e===o&&(a-=t),e.min=$c(e.min,t,n,a,i),e.max=$c(e.max,t,n,a,i)}(e,t[n],t[r],t[i],t.scale,o,s)}const Qc=["x","scaleX","originX"],qc=["y","scaleY","originY"];function eu(e,t,n,r){Kc(e.x,t,Qc,n?n.x:void 0,r?r.x:void 0),Kc(e.y,t,qc,n?n.y:void 0,r?r.y:void 0)}function tu(e){return 0===e.translate&&1===e.scale}function nu(e){return tu(e.x)&&tu(e.y)}function ru(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 iu(e){return Ql(e.x)/Ql(e.y)}class ou{constructor(){this.members=[]}add(e){vl(this.members,e),e.scheduleRender()}remove(e){if(xl(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function su(e,t,n){let r="";const i=e.x.translate/t.x,o=e.y.translate/t.y;if((i||o)&&(r=`translate3d(${i}px, ${o}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:i}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),i&&(r+=`rotateY(${i}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(r+=`scale(${s}, ${a})`),r||"none"}const au=(e,t)=>e.depth-t.depth;class lu{constructor(){this.children=[],this.isDirty=!1}add(e){vl(this.children,e),this.isDirty=!0}remove(e){xl(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(au),this.isDirty=!1,this.children.forEach(e)}}const cu=["","X","Y","Z"];let uu=0;const du={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function pu({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=uu++,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;du.totalNodes=du.resolvedTargetDeltas=du.recalculatedProjection=0,this.nodes.forEach(fu),this.nodes.forEach(Cu),this.nodes.forEach(Iu),this.nodes.forEach(gu),e=du,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 lu)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new yl),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:i,layout:o,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:i})=>{const o=i-n;o>=t&&(fs(r),e(o-t))};return hs.read(r,!0),()=>fs(r)}(r,250),Bc.hasAnimatedSinceResize&&(Bc.hasAnimatedSinceResize=!1,this.nodes.forEach(wu))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||s.getDefaultTransition()||Su,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!ru(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...hl(i,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||wu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,fs(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(Nu),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(vu);this.isUpdating||this.nodes.forEach(xu),this.isUpdating=!1,this.nodes.forEach(yu),this.nodes.forEach(mu),this.nodes.forEach(hu),this.clearAllSnapshots();const e=performance.now();as.delta=Qi(0,1e3/60,e-as.timestamp),as.timestamp=e,as.isProcessing=!0,ds.update.process(as),ds.preRender.process(as),ds.render.process(as),as.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(bu),this.sharedNodes.forEach(Au)}scheduleUpdateProjection(){hs.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){hs.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!i)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!nu(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||fc(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),ku((r=n).x),ku(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(Ic(t.x,n.offset.x),Ic(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Uc(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:i,options:o}=r;if(r!==this.root&&i&&o.layoutScroll){if(i.isRoot){Uc(t,e);const{scroll:n}=this.root;n&&(Ic(t.x,-n.offset.x),Ic(t.y,-n.offset.y))}Ic(t.x,i.offset.x),Ic(t.y,i.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Uc(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&jc(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),fc(r.latestValues)&&jc(n,r.latestValues)}return fc(this.latestValues)&&jc(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Uc(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!fc(n.latestValues))continue;hc(n.latestValues)&&n.updateSnapshot();const r=uc();Uc(r,n.measurePageBox()),eu(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return fc(this.latestValues)&&eu(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!==as.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:i,layoutId:o}=this.options;if(this.layout&&(i||o)){if(this.resolvedRelativeTargetAt=as.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}},ic(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Uc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,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(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,nc(s.x,a.x,l.x),nc(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Uc(this.target,this.layout.layoutBox),wc(this.target,this.targetDelta)):Uc(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}},ic(this.relativeTargetOrigin,this.target,e.target),Uc(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}du.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!hc(this.parent.latestValues)&&!gc(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===as.timestamp&&(r=!1),r)return;const{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!o)return;Uc(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const i=n.length;if(!i)return;let o,s;t.x=t.y=1;for(let a=0;a<i;a++){o=n[a],s=o.projectionDelta;const i=o.instance;i&&i.style&&"contents"===i.style.display||(r&&o.options.layoutScroll&&o.scroll&&o!==o.root&&jc(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,wc(e,s)),r&&fc(o.latestValues)&&jc(e,o.latestValues))}t.x=Cc(t.x),t.y=Cc(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;tc(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=su(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),du.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Tu));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;Eu(o.x,e.x,n),Eu(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ic(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){ju(e.x,t.x,n.x,r),ju(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&ru(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Uc(d,this.relativeTarget)),a&&(this.animationValues=i,function(e,t,n,r,i,o){i?(e.opacity=da(0,void 0!==n.opacity?n.opacity:1,_c(r)),e.opacityExit=da(void 0!==t.opacity?t.opacity:1,0,Zc(r))):o&&(e.opacity=da(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<Hc;i++){const o=`border${Fc[i]}Radius`;let s=zc(t,o),a=zc(n,o);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Xc(s)===Xc(a)?(e[o]=Math.max(da(Wc(s),Wc(a),r),0),(co.test(a)||co.test(s))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=da(t.rotate||0,n.rotate||0,r))}(i,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(fs(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=hs.update(()=>{Bc.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=_i(e)?e:Nl(e);return r.start(fl("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Pu(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Ql(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Ql(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Uc(t,n),jc(t,i),tc(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ou);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<cu.length;t++){const i="rotate"+cu[t];n[i]&&(r[i]=n[i],e.setStaticValue(i,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=zo(e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=zo(e.pointerEvents)||""),this.hasProjected&&!fc(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}const s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=su(this.projectionDeltaWithTransform,this.treeScale,s),i&&(r.transform=i(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Hi){if(void 0===s[e])continue;const{correct:t,applyTo:n}=Hi[e],i="none"===r.transform?s[e]:t(s[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?zo(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(vu),this.root.sharedNodes.clear()}}}function mu(e){e.updateLayout()}function hu(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?dc(e=>{const r=o?n.measuredBox[e]:n.layoutBox[e],i=Ql(r);r.min=t[e].min,r.max=r.min+i}):Pu(i,n.layoutBox,t)&&dc(r=>{const i=o?n.measuredBox[r]:n.layoutBox[r],s=Ql(t[r]);i.max=i.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};tc(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?tc(a,e.applyTransform(r,!0),n.measuredBox):tc(a,t,n.layoutBox);const l=!nu(s);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:i,layout:o}=r;if(i&&o){const s={x:{min:0,max:0},y:{min:0,max:0}};ic(s,n.layoutBox,i.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};ic(a,t,o.layoutBox),ru(s,a)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function fu(e){du.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 gu(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function bu(e){e.clearSnapshot()}function vu(e){e.clearMeasurements()}function xu(e){e.isLayoutDirty=!1}function yu(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function wu(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Cu(e){e.resolveTargetDelta()}function Iu(e){e.calcProjection()}function Nu(e){e.resetRotation()}function Au(e){e.removeLeadSnapshot()}function Eu(e,t,n){e.translate=da(t.translate,0,n),e.scale=da(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ju(e,t,n,r){e.min=da(t.min,n.min,r),e.max=da(t.max,n.max,r)}function Tu(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Su={duration:.45,ease:[.4,0,.1,1]};function ku(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function Pu(e,t,n){return"position"===e||"preserve-aspect"===e&&!ql(iu(t),iu(n),.2)}const Ru=pu({attachResizeListener:(e,t)=>Uo(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Bu={current:void 0},Lu=pu({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Bu.current){const e=new Ru({});e.mount(window),e.setOptions({layoutScroll:!0}),Bu.current=e}return Bu.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ou={pan:{Feature:class extends ss{constructor(){super(...arguments),this.removePointerDownListener=vs}onPointerDown(e){this.session=new _l(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Rc(e),onStart:Rc(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&hs.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=Qo(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 ss{constructor(e){super(e),this.removeGroupControls=vs,this.removeListeners=vs,this.controls=new kc(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||vs}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Lu,MeasureLayout:Dc}},Gu=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Mu(e,t,n=1){Ps(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,i]=function(e){const t=Gu.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const o=window.getComputedStyle(t).getPropertyValue(r);return o?o.trim():$i(i)?Mu(i,t,n+1):i}const Du=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Vu=e=>Du.has(e),Fu=e=>e===qi||e===uo,Hu=(e,t)=>parseFloat(e.split(", ")[t]),Wu=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const i=r.match(/^matrix3d\((.+)\)$/);if(i)return Hu(i[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Hu(t[1],e):0}},Xu=new Set(["x","y","z"]),zu=Wi.filter(e=>!Xu.has(e));const _u={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:Wu(4,13),y:Wu(5,14)},Zu=(e,t,n={},r={})=>{t={...t},r={...r};const i=Object.keys(t).filter(Vu);let o=[],s=!1;const a=[];if(i.forEach(i=>{const l=e.getValue(i);if(!e.hasValue(i))return;let c=n[i],u=jl(c);const d=t[i];let p;if(Wo(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=jl(c);for(let n=t;n<e&&null!==d[n];n++)p?Ps(jl(d[n])===p,"All keyframes must be of the same type"):(p=jl(d[n]),Ps(p===u||Fu(u)&&Fu(p),"Keyframes must be of the same dimension as the current value"))}else p=jl(d);if(u!==p)if(Fu(u)&&Fu(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[i]=parseFloat(d):Array.isArray(d)&&p===uo&&(t[i]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[i]=u.transform(d):(s||(o=function(e){const t=[];return zu.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(i),r[i]=void 0!==r[i]?r[i]:t[i],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,i=((e,t,n)=>{const r=t.measureViewportBox(),i=t.current,o=getComputedStyle(i),{display:s}=o,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=_u[e](r,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(a[n]),e[n]=_u[n](l,o)}),e})(t,e,a);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),xi&&null!==n&&window.scrollTo({top:n}),{target:i,transitionEnd:r}}return{target:t,transitionEnd:r}};function Yu(e,t,n,r){return(e=>Object.keys(e).some(Vu))(t)?Zu(e,t,n,r):{target:t,transitionEnd:r}}const Ju=(e,t,n,r)=>{const i=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!$i(t))return;const n=Mu(t,r);n&&e.set(n)});for(const e in t){const i=t[e];if(!$i(i))continue;const o=Mu(i,r);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=i))}return{target:t,transitionEnd:n}}(e,t,r);return Yu(e,t=i.target,n,r=i.transitionEnd)},Uu={current:null},$u={current:!1};function Ku(){if($u.current=!0,xi)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Uu.current=e.matches;e.addListener(t),t()}else Uu.current=!1}const Qu=new WeakMap,qu=Object.keys(Ri),ed=qu.length,td=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nd=Ei.length;class rd{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:i},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>hs.render(this.render,!1,!0);const{latestValues:s,renderState:a}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.isControllingVariants=ji(t),this.isVariantNode=Ti(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!==s[e]&&_i(t)&&(t.set(s[e],!1),gl(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Qu.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)),$u.current||Ku(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Uu.current),"production"!==process.env.NODE_ENV&&Cl(!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(){Qu.delete(this.current),this.projection&&this.projection.unmount(),fs(this.notifyUpdate),fs(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=Xi.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&hs.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),i=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,i){let o,s;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?ks(!1,e):Ps(!1,e)}for(let e=0;e<ed;e++){const n=qu[e],{isEnabled:r,Feature:i,ProjectionNode:a,MeasureLayout:l}=Ri[n];a&&(o=a),r(t)&&(!this.features[n]&&i&&(this.features[n]=new i(this)),l&&(s=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||s&&Ci(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:i,layoutScroll:a,layoutRoot:l})}return s}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<td.length;t++){const n=td[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const i in t){const o=t[i],s=n[i];if(_i(o))e.addValue(i,o),gl(r)&&r.add(i),"development"===process.env.NODE_ENV&&Cl("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(_i(s))e.addValue(i,Nl(o,{owner:e})),gl(r)&&r.remove(i);else if(s!==o)if(e.hasValue(i)){const t=e.getValue(i);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(i);e.addValue(i,Nl(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<nd;e++){const n=Ei[e],r=this.props[n];(Ii(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Nl(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Fo(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const i=this.getBaseTargetFromProps(this.props,e);return void 0===i||_i(i)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new yl),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class id extends rd{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},i){let o=function(e,t,n){const r={};for(const i in e){const e=Pl(i,t);if(void 0!==e)r[i]=e;else{const e=n.getValue(i);e&&(r[i]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),o&&(o=r(o))),i){!function(e,t,n){var r,i;const o=Object.keys(t).filter(t=>!e.hasValue(t)),s=o.length;if(s)for(let a=0;a<s;a++){const s=o[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(i=null!==(r=n[s])&&void 0!==r?r:e.readValue(s))&&void 0!==i?i:t[s]),null!=c&&("string"==typeof c&&(bl(c)||pl(c))?c=parseFloat(c):!Sl(c)&&Aa.test(l)&&(c=dl(s,l)),e.addValue(s,Nl(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,o);const e=Ju(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class od extends id{readValueFromInstance(e,t){if(Xi.has(t)){const e=ul(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),i=(Ui(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Tc(e,t)}build(e,t,n,r){bo(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Do(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;_i(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Oo(e,t,n,r)}}class sd extends id{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Xi.has(t)){const e=ul(t);return e&&e.default||0}return t=Go.has(t)?t:Lo(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Vo(e,t)}build(e,t,n,r){So(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Mo(e,t,0,r)}mount(e){this.isSVGTag=Po(e.tagName),super.mount(e)}}const ad=(e,t)=>Fi(e)?new sd(t,{enableHardwareAcceleration:!1}):new od(t,{enableHardwareAcceleration:!0}),ld={...Xl,...Es,...Ou,...{layout:{ProjectionNode:Lu,MeasureLayout:Dc}}},cd=Di((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Fi(e)?Yo:Jo,preloadedFeatures:n,useRender:Bo(t),createVisualElement:r,Component:e}}(e,t,ld,ad));function ud(){const e=t.useRef(!1);return yi(()=>(e.current=!0,()=>{e.current=!1}),[]),e}class dd extends l.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 pd({children:e,isPresent:n}){const r=t.useId(),i=t.useRef(null),o=t.useRef({width:0,height:0,top:0,left:0});return t.useInsertionEffect(()=>{const{width:e,height:t,top:s,left:a}=o.current;if(n||!i.current||!e||!t)return;i.current.dataset.motionPopId=r;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${r}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${t}px !important;\n top: ${s}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}},[n]),l.createElement(dd,{isPresent:n,childRef:i,sizeRef:o},l.cloneElement(e,{ref:i}))}const md=({children:e,initial:n,isPresent:r,onExitComplete:i,custom:o,presenceAffectsLayout:s,mode:a})=>{const c=Ho(hd),u=t.useId(),d=t.useMemo(()=>({id:u,initial:n,isPresent:r,custom:o,onExitComplete:e=>{c.set(e,!0);for(const e of c.values())if(!e)return;i&&i()},register:e=>(c.set(e,!1),()=>c.delete(e))}),s?void 0:[r]);return t.useMemo(()=>{c.forEach((e,t)=>c.set(t,!1))},[r]),l.useEffect(()=>{!r&&!c.size&&i&&i()},[r]),"popLayout"===a&&(e=l.createElement(pd,{isPresent:r},e)),l.createElement(vi.Provider,{value:d},e)};function hd(){return new Map}const fd=e=>e.key||"";const gd=({children:e,custom:n,initial:r=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:a="sync"})=>{Ps(!o,"Replace exitBeforeEnter with mode='wait'");const c=t.useContext(Bi).forceRender||function(){const e=ud(),[n,r]=t.useState(0),i=t.useCallback(()=>{e.current&&r(n+1)},[n]);return[t.useCallback(()=>hs.postRender(i),[i]),n]}()[0],u=ud(),d=function(e){const n=[];return t.Children.forEach(e,e=>{t.isValidElement(e)&&n.push(e)}),n}(e);let p=d;const m=t.useRef(new Map).current,h=t.useRef(p),f=t.useRef(new Map).current,g=t.useRef(!0);var b;if(yi(()=>{g.current=!1,function(e,t){e.forEach(e=>{const n=fd(e);t.set(n,e)})}(d,f),h.current=p}),b=()=>{g.current=!0,f.clear(),m.clear()},t.useEffect(()=>()=>b(),[]),g.current)return l.createElement(l.Fragment,null,p.map(e=>l.createElement(md,{key:fd(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:s,mode:a},e)));p=[...p];const v=h.current.map(fd),x=d.map(fd),y=v.length;for(let e=0;e<y;e++){const t=v[e];-1!==x.indexOf(t)||m.has(t)||m.set(t,void 0)}return"wait"===a&&m.size&&(p=[]),m.forEach((e,t)=>{if(-1!==x.indexOf(t))return;const r=f.get(t);if(!r)return;const o=v.indexOf(t);let g=e;if(!g){const e=()=>{f.delete(t),m.delete(t);const e=h.current.findIndex(e=>e.key===t);if(h.current.splice(e,1),!m.size){if(h.current=d,!1===u.current)return;c(),i&&i()}};g=l.createElement(md,{key:fd(r),isPresent:!1,onExitComplete:e,custom:n,presenceAffectsLayout:s,mode:a},r),m.set(t,g)}p.splice(o,0,g)}),p=p.map(e=>{const t=e.key;return m.has(t)?e:l.createElement(md,{key:fd(e),isPresent:!0,presenceAffectsLayout:s,mode:a},e)}),"production"!==process.env.NODE_ENV&&"wait"===a&&p.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.'),l.createElement(l.Fragment,null,m.size?p:p.map(e=>t.cloneElement(e)))};function bd(){!$u.current&&Ku();const[e]=t.useState(Uu.current);return"production"!==process.env.NODE_ENV&&Cl(!0!==e,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),e}const vd={scale:{whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.3}},shadow:{whileHover:{boxShadow:"0 10px 25px rgba(0,0,0,0.15)"},transition:{duration:.3}},lift:{whileHover:{y:-5},whileTap:{y:0},transition:{type:"spring",stiffness:300,damping:20}},opacity:{whileHover:{opacity:.8},transition:{duration:.2}},grow:{whileHover:{scale:1.1},whileTap:{scale:.95},transition:{type:"spring",stiffness:300,damping:20}},pop:{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.15}}};function xd({children:t,animationType:n=fi,disableAnimation:r=!0,whileHover:i,whileTap:o,transition:s,...a}){const c=bd(),u=l.default.Children.only(t);if(r||c)return u;const d=function(e){if(!e)return;const t=Array.isArray(e)?e:[e];return 0!==t.length?t.reduce((e,t)=>{const n=vd[t];return{whileHover:{...e.whileHover,...n.whileHover},...e.whileTap||n.whileTap?{whileTap:{...e.whileTap,...n.whileTap}}:{},transition:{...e.transition,...n.transition}}},{whileHover:{},transition:{}}):void 0}(n),p=d?{...d.whileHover,...i}:i,m=(null==d?void 0:d.whileTap)||o?{...null==d?void 0:d.whileTap,...o}:void 0,h=d?{...d.transition,...s}:s;if("string"==typeof u.type){const t=cd[u.type];return e.jsx(t,{...u.props,ref:u.ref,whileHover:p,whileTap:m,transition:h,...a})}return e.jsx(cd.div,{whileHover:p,whileTap:m,transition:h,...a,children:u})}xd.displayName="AnimationWrapper";const yd=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()},wd=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:r,label:i,disabled:o,fullWidth:s,buttonClassName:a,size:l={base:"medium"},iconName:c,iconSize:u=24,iconFill:d=0,disableAnimation:p,animationType:m=fi,as:h="button",...f},g)=>{const b=(()=>{const e=Ae((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()})(l),"rounded-button overflow-visible flex px-15 gap-2 items-center justify-center text-center outline-none focus:outline focus:outline-2 focus:outline-offset-2 cursor-pointer transition-colors duration-200 align-top whitespace-nowrap",s?"w-full":"lg:inline-flex w-full lg:w-auto"),r=Ae((o||n)&&"cursor-not-allowed",n&&"pl-7");return Ae(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill [&:not(:disabled)]:hover:bg-bg-fill-brand-hover focus:outline-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:outline-bg-fill-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:outline-input-border-hover disabled:bg-bg-fill-secondary",secondary_inverse:"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:outline-border-inverse disabled:bg-bg-fill-secondary"}[t]||"",r,a)})();let v=`button--${t}`;n&&(v+=" button--loading"),o&&(v+=" button--disabled");const x=`${v} ${b}`,y=e.jsxs(e.Fragment,{children:[n?e.jsx(Qn,{name:"progress_activity",className:"animate-spin"}):null,i?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ae(yd(l)),children:i}),r]}):r,c?e.jsx(Qn,{name:c,size:u,fill:d,weight:"200"}):null]});return"a"===h?e.jsx(xd,{disableAnimation:p,animationType:m,children:e.jsx("a",{ref:g,className:Ae(x),...f,"data-component":"BrandButton","data-variant":"anchor",children:y})}):e.jsx(xd,{disableAnimation:p,animationType:m,children:e.jsx("button",{ref:g,className:Ae(x),disabled:o||n,...f,"data-component":"BrandButton","data-variant":"button",children:y})})});wd.displayName="BrandButton";const Cd={primary_brand:"text-text-brand",primary_inverse:"text-text",secondary:"text-text",secondary_inverse:"text-text-inverse"},Id=t=>{const{showButtonAs:n="solid",buttonVariant:r="primary_brand",buttonLabel:i,buttonPrefix:o,href:s,target:a="_blank",anchorId:c,linkClassName:u,linkVariant:d,fullWidth:p,preDefinedFunctionExecution:m,renderCheckPlans:h,buttonClassName:f,clickToOpen:g,tabmodalNameToOpen:b,idNameToOpen:v,onModalButtonClick:x,onClick:y,iconFill:w=0,buttonIconName:C,buttonIconPosition:I,size:N,iconSize:A=24,preserveQueryParameters:E,disableAnimation:j,animationType:T=fi,...S}=t,k="left"===I,P=C,R=Ae(f,k&&P?"flex-row-reverse":"");if("check availability"===m&&h){const o=null==h?void 0:h({ctaText:i,buttonVariant:r,showButtonAs:n,cta:{...t}});return l.default.isValidElement(o)?e.jsx(xd,{disableAnimation:j,animationType:T,children:o}):o}function B(e){"modal"===g&&(null==e||e.preventDefault(),null==x||x(b)),"clickId"===g&&(null==e||e.preventDefault(),function(){var e;if("clickId"===g&&v){const t=document.getElementById(v);t&&(t.scrollIntoView({behavior:"smooth",block:"start"}),null===(e=t.click)||void 0===e||e.call(t))}}())}function L(){"wifi grant redirect"===m&&function(){const e=st();!!e&&(window.location.href=e)}()}function O(e){B(e),L(),null==y||y(e)}function G(e){B(e),L(),null==y||y(e)}const M="undefined"!=typeof window?window.location.search:"",D=m?void 0:s&&E&&M?function(e,t){if(!t)return e;const n=new URLSearchParams(t),r=new Set(it),i=new Set([...r,"searchtext","page"]);let o,s;try{if(e.startsWith("http://")||e.startsWith("https://")){const t=new URL(e);o=t.origin+t.pathname,s=t.searchParams}else{const[t,n]=e.split("?");o=t,s=new URLSearchParams(n||"")}}catch(t){return e}const a=new URLSearchParams(s);n.forEach((e,t)=>{i.has(t.toLowerCase())||a.has(t)||a.set(t,e)});const l=a.toString();return l?`${o}?${l}`:o}(s,M):s;let V=e.jsx(li,{onClick:G,className:f,...S});switch(n){case"solid":V=D?e.jsx(wd,{as:"a",href:D,id:c,variant:r,text:i,label:o,fullWidth:p,buttonClassName:R,size:N,onClick:O,iconName:P,iconSize:A,iconFill:w,disableAnimation:j,animationType:T}):e.jsx(wd,{id:c,variant:r,text:i,label:o,fullWidth:p,size:N,onClick:G,iconName:P,iconSize:A,iconFill:w,buttonClassName:R,disableAnimation:j,animationType:T});break;case"text":V=e.jsx(rr,{title:i,href:D,target:a,variant:d||"default",className:Ae(P&&"label1 inline-flex items-center gap-2 no-underline",Cd[r],u),onClick:O,children:P?e.jsxs(e.Fragment,{children:[k?e.jsx(Qn,{name:P,size:A,fill:w}):null,i,k?null:e.jsx(Qn,{name:P,size:A,fill:w})]}):e.jsx(e.Fragment,{children:i})});break;case"button-with-icon":V=D?e.jsx(wd,{as:"a",href:D,id:c,variant:r,text:i,label:o,fullWidth:p,buttonClassName:R,size:N,onClick:O,iconName:P,iconSize:A,iconFill:w,disableAnimation:j,animationType:T}):e.jsx(wd,{id:c,variant:r,text:i,label:o,fullWidth:p,buttonClassName:R,size:N,onClick:G,iconName:P,iconSize:A,iconFill:w,disableAnimation:j,animationType:T});break;case"text-with-icon":{const t=(e=>({primary_brand:"text-text-brand",primary_inverse:"text-text-inverse",secondary:"text-text",secondary_inverse:"text-text-inverse"}[e]||"text-text-brand"))(r);V=e.jsxs(rr,{href:D,target:a,onClick:O,className:Ae("group mt-auto inline-flex items-center justify-start gap-2 pt-3 text-sm no-underline",t,f),"aria-label":i,children:[k&&P?e.jsx(Qn,{name:P,fill:w,size:A,weight:"200"}):null,e.jsx(qn,{"aria-label":i,className:"label1 text-nowrap",children:i}),P&&!k&&e.jsx(Qn,{name:P,fill:w,size:A,weight:"200"})]});break}}return e.jsx(xd,{disableAnimation:j,animationType:T,className:Ae(p&&"w-full"),children:V})};var Nd;const Ad=null!==(Nd=c.default)&&void 0!==Nd?Nd:c,Ed=({href:t,title:n,description:r,date:i,category:o,image:s,imageAltText:a,imageComponent:l,asGrid:c=!0,index:u})=>{var d,p,m;const h=null!==(m=null!==(p=null!==(d=null!=a?a:null==s?void 0:s.description)&&void 0!==d?d:null==s?void 0:s.alt)&&void 0!==p?p:n)&&void 0!==m?m:"blog-card-image",f=c?"group relative 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 group relative w-full flex h-full flex-col overflow-hidden";return e.jsxs("article",{className:f,"data-section-type":"blog-card","data-section-index":u,"data-view-mode":c?"grid":"list",children:[c&&e.jsx("div",{className:"block h-[232px] w-full flex-shrink-0 overflow-hidden bg-gray-100",children:s?l?e.jsx(l,{src:s.src,alt:h,width:s.width,height:s.height,className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.jsx("img",{src:s.src,alt:h,width:s.width,height:s.height,loading:"lazy",decoding:"async",className:"h-full w-full object-cover transition-transform duration-300 group-hover:scale-[1.03]"}):e.jsx("div",{className:"h-full w-full bg-gradient-to-br from-gray-200 to-gray-100","aria-hidden":"true"})}),e.jsxs("div",{className:"flex flex-1 flex-col "+(c?"gap-5 p-6 md:p-8":"gap-1 border-b p-3 md:p-4"),children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[c&&e.jsx("span",{className:"body2 text-text-brand",children:o}),i&&e.jsxs(e.Fragment,{children:[c&&e.jsx("span",{className:"footnote text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"body2 text-text",children:i})]})]}),n&&e.jsx(qn,{as:"h2",className:"heading6",children:e.jsx(Ad,{href:t,className:"m-0 line-clamp-3 font-black transition-colors duration-150 after:absolute after:inset-0 after:z-10 after:content-[''] hover:text-text-brand group-hover:text-text-brand",children:n})}),r&&e.jsx(qn,{className:"body1 m-0 line-clamp-3 flex-1 text-text",children:r})]}),!n&&e.jsx(Ad,{href:t,className:"absolute inset-0 z-10",children:e.jsx("span",{className:"sr-only",children:null!=o?o:"Read more"})})]})},jd={left:"w-full lg:flex lg:justify-start",right:"w-full lg:flex lg:justify-end",center:"w-full lg:flex lg:justify-center"},Td=({card:t,lgWidth:n,mdWidth:r})=>{var i,o,s,a,l,c;const{image:u,title:d,header:p,body:m,cta:h,ctaAlignment:f,imageLink:g,imageClassName:b,className:v,imageAltText:x,isPromoBarImg:y=!1,shadow:w=!1,disableAnimation:C}=t,I=f?jd[f]:jd.left,N=g?"cursor-pointer":"",A=g?()=>{"undefined"!=typeof window&&window.open(g,"_blank")}:void 0;return y?(null==u?void 0:u.href)?e.jsx(Jr,{src:u.href,alt:null!==(s=null!==(o=null!==(i=null!=x?x:u.description)&&void 0!==i?i:u.title)&&void 0!==o?o:d)&&void 0!==s?s:"promo-bar-image",width:148,height:40,onClick:A,className:N}):null:e.jsxs("section",{"aria-labelledby":"Image Card",className:Ae("callout-card relative flex h-full w-full flex-col gap-5 px-0 pb-4 pt-0 md:items-start md:gap-6 lg:pb-0",w&&"rounded-3xl shadow-card",r,n,v),children:[(null==u?void 0:u.href)?e.jsx("div",{className:Ae("relative h-[233px] w-full overflow-hidden sm:mb-1 md:h-[274px] md:flex-none lg:mb-0 lg:h-[330px]",b),children:e.jsx(Jr,{src:u.href,alt:null!==(l=null!==(a=null!=x?x:u.description)&&void 0!==a?a:u.title)&&void 0!==l?l:"card-image",width:u.width||400,height:u.height||330,onClick:A,className:Ae("h-full w-full rounded-[40px] object-cover",N)})}):null,p?e.jsx(qn,{as:"h4",className:"heading6 text-text",children:p}):null,m?e.jsx(qn,{as:"div",className:"body1 -mt-1 mb-0 flex-1 text-text md:-mt-2 lg:mt-2",children:m}):null,e.jsx("div",{className:Ae(I,"mt-auto"),children:h?e.jsx(Id,{...h,showButtonAs:h.showButtonAs||(h.buttonIconName?void 0:"text-with-icon"),iconName:h.iconName||(h.buttonIconName?void 0:"expand_circle_right"),iconFill:null!==(c=h.iconFill)&&void 0!==c?c:1,disableAnimation:!(!1===C&&!1===h.disableAnimation),animationType:fi}):null})]})},Sd=({card:t,lgWidth:n,mdWidth:r})=>{const{anchorId:i="FullImageCard",title:o,description:s,caption:a,image:l,imageAltText:c,cta:u,link:d,className:p,contentClassName:m,imageClassName:h,shadow:f=!0}=t,g=u||d,b=null==g?void 0:g.href,v=o?e.jsx(qn,{as:"h3",className:"body1 text-text xl:heading6",children:o}):null;return e.jsxs("section",{id:i,className:Ae("callout-card relative flex flex-col rounded-3xl bg-white p-0",f&&"shadow-card",r,n,"w-full",p),"aria-labelledby":`card-title-${i}`,children:[(null==l?void 0:l.href)?e.jsx("div",{className:Ae("relative aspect-video overflow-hidden rounded-tl-3xl rounded-tr-3xl",h),children:(()=>{var t,n,r;if(!(null==l?void 0:l.href))return null;const i=e.jsx(Jr,{src:l.href,alt:null!==(r=null!==(n=null!==(t=null!=c?c:l.description)&&void 0!==t?t:l.title)&&void 0!==n?n:o)&&void 0!==r?r:"card-image",width:l.width||400,height:l.height||280,className:"w-full"});return b?e.jsx(rr,{href:b,tabIndex:-1,target:null==g?void 0:g.target,children:i}):i})()}):null,e.jsxs("div",{className:Ae("flex h-full flex-col gap-4 p-6 md:p-8",m),children:[e.jsxs("div",{className:"flex flex-1 flex-col justify-between",children:[e.jsxs("div",{children:[b&&v?e.jsx(rr,{href:b,target:null==g?void 0:g.target,className:"no-underline hover:underline",children:v}):v,s?e.jsx(qn,{as:"p",className:"body2 mt-4 text-text md:body1",children:s}):null]}),a?e.jsx(qn,{as:"p",className:"footnote mt-5 text-text-secondary",children:a}):null]}),u?e.jsx("div",{className:"mt-2 flex items-end",children:e.jsx(Id,{linkVariant:"unstyled",linkClassName:"label1 flex items-center gap-2 text-text",...u,iconName:"expand_circle_right",iconFill:1})}):null]})]})},kd={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Pd={left:"flex w-full justify-start",right:"flex w-full justify-end",center:"flex w-full justify-center"},Rd={left:"justify-start",right:"justify-end",center:"justify-center"},Bd=e=>{const t=(e||"").replace(/\D/g,"");return t?`tel:${t}`:""},Ld=({card:t,lgWidth:n,mdWidth:r,className:i,contentClassName:o,style:s})=>{var a,l,c,u,d,p,m,h,f,g,b,v,x,y,w,C,I,N,A;const E=null===(a=t.imageView)||void 0===a?void 0:a.toLowerCase(),j="full"===E,T="margin"===E,S="standard"===E,k="icon"===E||"inset"===E||!E&&!!t.image,P=S||k,R=(null===(l=t.iconAlignment)||void 0===l?void 0:l.toLowerCase())||(null===(c=t.imageAlignment)||void 0===c?void 0:c.toLowerCase())||"left",B=t.ctaAlignment&&Pd[t.ctaAlignment]||Pd.left,L=t.ctaAlignmentBottom&&Rd[t.ctaAlignmentBottom]||Rd.left,O=null===(u=t.pinwheelColor)||void 0===u?void 0:u.split("-")[1],G=P&&t.applyCardBackgroundColor,M={...s,...G&&t.backgroundColor?{"--scc-bg":t.backgroundColor}:{},...G&&t.textColor?{"--scc-fg":t.textColor}:{},...G&&t.backgroundColor?{backgroundColor:"var(--scc-bg)"}:{},...G&&t.showBackgroundImage&&O?{backgroundImage:`url('data:image/svg+xml;utf8,${encodeURIComponent(Ee(O))}')`,backgroundPosition:"top left",backgroundSize:"684px 107px",backgroundRepeat:"no-repeat"}:{}},D=n=>{var r,i,o,s;return t.image?e.jsx("div",{className:Ae("relative aspect-video overflow-hidden",n?"mx-6 lg:mx-8":"rounded-t-3xl"),children:e.jsx(Jr,{src:t.image,alt:null!==(s=null!==(o=null!==(i=null!==(r=t.imageAltText)&&void 0!==r?r:t.imageDescription)&&void 0!==i?i:t.imageAlt)&&void 0!==o?o:t.title)&&void 0!==s?s:"card-image",width:t.imageWidth||400,height:t.imageHeight||280,className:Ae("w-full",!n&&"rounded-t-3xl")})}):null},V=G&&t.textColor?{color:t.textColor}:void 0,F=t.title?e.jsx(qn,{as:"h3",className:"heading6 mb-2 text-text md:heading6",style:V,children:t.title}):null,H=(null===(d=t.cta)||void 0===d?void 0:d.href)&&F?e.jsx(rr,{href:t.cta.href,target:t.cta.target,className:"no-underline hover:underline",style:V,children:F}):F,W=(null!==(m=null===(p=t.workingHours)||void 0===p?void 0:p.length)&&void 0!==m?m:0)>0||(null!==(f=null===(h=t.phoneNumber)||void 0===h?void 0:h.length)&&void 0!==f?f:0)>0,X=!(!t.cta||t.title||t.titleLocation||t.body||t.richText||t.image||W||(null===(g=t.ctaBottom)||void 0===g?void 0:g.title)&&(null===(b=t.ctaBottom)||void 0===b?void 0:b.href));return e.jsxs("section",{className:Ae("callout-card relative flex h-full w-full flex-col rounded-3xl p-0",t.shadow&&"shadow-card",t.image&&!j&&!t.showBackgroundImage&&"pt-1",!t.applyCardBackgroundColor&&(null!==(x=kd[null!==(v=t.backgroundColor)&&void 0!==v?v:""])&&void 0!==x?x:""),r,n,i),style:M,"aria-labelledby":t.title?`callout-${t.title}`:void 0,children:[(null===(y=t.ctaBottom)||void 0===y?void 0:y.title)&&(null===(w=t.ctaBottom)||void 0===w?void 0:w.href)?e.jsx("div",{className:Ae("top-link m-6 flex items-center lg:m-8",L),children:e.jsxs(rr,{href:t.ctaBottom.href,className:"label1 inline-flex items-center gap-2 text-text decoration-text underline-offset-4 hover:underline",children:[e.jsx(Qn,{name:"location_on",fill:1,size:24}),e.jsx("span",{children:t.ctaBottom.title})]})}):null,t.image&&j?D(!1):null,t.image&&T?D(!0):null,e.jsxs("div",{className:Ae("relative flex flex-1 flex-col justify-between",X?"p-0":"px-6 pb-8 pt-7 lg:px-8 lg:py-8",o),children:[e.jsx("div",{className:"flex flex-1 flex-col justify-between",children:e.jsxs("div",{className:Ae("flex flex-col",t.imageToRichTextAlignment&&"lg:flex-row lg:items-start lg:gap-6"),children:[e.jsx("div",{className:Ae(t.imageToRichTextAlignment&&"flex-shrink-0"),children:!t.image||j||T?null:(()=>{var n,r,i,o;if(!t.image)return null;const s=S&&t.imageWidth||60,a=S&&t.imageHeight||60;return e.jsx("div",{className:Ae("relative mb-8 flex",t.imageToRichTextAlignment&&"h-[60px] w-[60px] flex-shrink-0"),style:{justifyContent:R},children:e.jsx(Jr,{src:t.image,alt:null!==(o=null!==(i=null!==(r=null!==(n=t.imageAltText)&&void 0!==n?n:t.imageDescription)&&void 0!==r?r:t.imageAlt)&&void 0!==i?i:t.title)&&void 0!==o?o:"card-icon",width:s,height:a,className:Ae("object-contain",t.imageToRichTextAlignment&&"!h-[60px] !w-[60px]")})})})()}),e.jsxs("div",{className:"flex flex-col gap-3 md:gap-4",children:[H,t.titleLocation?e.jsx("div",{className:"mb-1 lg:mb-2",children:e.jsx(qn,{as:"h4",className:"label1 font-bold text-text",children:t.titleLocation})}):null,W?e.jsx("div",{className:"mb-2",children:e.jsx("table",{children:e.jsxs("tbody",{children:[null===(C=t.workingHours)||void 0===C?void 0:C.map((t,n)=>{const[r,i]=(null!=t?t:"").split("|");return e.jsxs("tr",{children:[e.jsx("td",{className:"py-2 pr-3",children:e.jsx(qn,{className:"label2 text-text",children:r})}),e.jsx("td",{className:"py-2 pl-3",children:e.jsx(qn,{className:"body2 font-bold text-text",children:i})})]},`wh-${n}`)}),null===(I=t.phoneNumber)||void 0===I?void 0:I.map((t,n)=>e.jsxs("tr",{children:[e.jsx("td",{className:"py-1 pr-3 align-middle",children:e.jsx(Qn,{fill:1,name:"call",size:24,weight:"200",className:"text-text"})}),e.jsx("td",{className:"py-1 pl-3",children:e.jsx(rr,{href:Bd(t),className:"text-inherit no-underline",children:e.jsx(qn,{className:"body2 font-bold text-text",children:t})})})]},`ph-${n}`))]})})}):null,t.body?e.jsx(qn,{as:"div",className:"body1 text-text",style:V,children:t.body}):null,t.richText?e.jsx(qn,{as:"div",className:"body1 text-text",style:V,children:t.richText}):null]})]})}),t.cta?e.jsx("div",{className:Ae(!X&&"mt-2",B),children:e.jsx(Id,{linkVariant:"unstyled",linkClassName:Ae("label1 flex items-center gap-2 text-text",G&&t.textColor&&"decoration-current"),...t.cta,iconName:null!==(N=t.cta.iconName)&&void 0!==N?N:"expand_circle_right",iconFill:null!==(A=t.cta.iconFill)&&void 0!==A?A:1,fullWidth:!0,buttonClassName:Ae(t.cta.buttonClassName,X&&"w-[342px] max-w-full px-4 lg:w-[342px]")})}):null]})]})},Od={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]"},Gd={1:"md:w-full",2:"md:w-[calc(50%-1rem)]"},Md={1:"lg:w-full",2:"lg:w-[calc(50%-0.75rem)]",3:"lg:w-[calc(33.333%-1rem)]",4:"lg:w-[calc(25%-1.125rem)]",5:"lg:w-[calc(20%-1.2rem)]",6:"lg:w-[calc(16.666%-1.25rem)]"},Dd=e=>Math.max(1,Math.min(6,e)),Vd=t.forwardRef(({as:t,className:n="",...r},i)=>{const o=Ae(n);if(t){const n=t;return e.jsx(n,{ref:i,className:o,...r})}return e.jsx("img",{ref:i,className:o,...r})});Vd.displayName="Image";const Fd=({onSelect:n,speed:r,isSelected:i=!1,renderCheckPlans:o,iconSize:s=24,iconClassName:a,cta:l,techType:c,isMax:u})=>{const[d,p]=t.useState(!1),m=`btn-medium rounded-button pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${i?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,h=null==o?void 0:o({speedCardConfig:{isModalOpen:d,setModalOpen:()=>{p(!1)},speed:r,techType:c,isMax:u},cta:l});return e.jsxs(e.Fragment,{children:[e.jsxs(li,{onClick:()=>{p(!0),n()},className:Ae(m,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx(Qn,{className:Ae(a,i?"text-icon":"text-icon-inverse"),name:"expand_circle_right",fill:1,size:s})]}),h]})},Hd=({planName:n,planSubtext:r,speed:i,price:o,description:s,bestValue:a=!1,bestValueText:c="best value",giftBadge:u,innerBadge:d,theme:p="light",featuresTitle:m="Business Ready Internet features",features:h=[],isExpanded:f,onToggleExpand:g,onCtaClick:b,renderCheckPlans:v,cta:x,techType:y,ismaxSpeed:w,priceSuffixBottom:C})=>{const[I,N]=t.useState(!1),A=void 0!==f?f:I,E="dark"===p;return e.jsxs("article",{className:Ae("relative flex h-full w-full max-w-[392px] flex-col",!a&&"md:pt-[38px]"),children:[a&&e.jsx("div",{className:"label3 rounded-t-[20px] bg-bg-fill-brand-accent px-6 py-2 text-center text-text",children:c}),e.jsxs("div",{className:Ae("flex flex-grow flex-col gap-5 rounded-card px-5 py-7 shadow-cardDrop",E?"text-inverse border-2 border-border-accent bg-bg-fill-inverse":"bg-bg text-text",a?"rounded-t-none border-t-0":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(qn,{as:"h3",className:Ae("subheading2 lowercase",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:n}),e.jsx(qn,{as:"p",className:Ae("label3 text-wrap lowercase",E?"text-text-accent-on-bg-inverse":"text-text-brand"),children:r})]}),e.jsxs("div",{className:"flex flex-col items-end",children:[e.jsxs("div",{className:"flex items-start",children:[e.jsx(qn,{as:"span",className:Ae("label2 mr-1 mt-[2px]",E?"text-text-inverse":"text-text"),children:"$"}),e.jsx(qn,{as:"span",className:Ae("subheading6",E?"text-text-inverse":"text-text"),children:o.split(".")[0]}),e.jsxs(qn,{as:"span",className:Ae("label2",E?"text-text-inverse":"text-text"),children:[o.split(".")[1],"/mo"]})]}),C?e.jsx(qn,{as:"span",className:Ae("footnote text-nowrap",E?"text-text-inverse":"text-text"),children:C}):null]})]}),e.jsx("section",{children:e.jsx(qn,{className:Ae("body2 h-[56px]",E?"text-text-inverse":"text-text"),children:s})}),(null==u?void 0:u.length)?e.jsx("div",{className:"min-h-[76px]",children:e.jsx("div",{className:Ae("flex-col items-center rounded-surface-sm p-2",E?"bg-bg-surface-inverse":"bg-bg-surface-info"),children:null==u?void 0:u.map(t=>{return e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Vd,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(qn,{as:"div",className:Ae("body3",E?"text-text-inverse":"text-text"),children:(n=t.title,"string"==typeof n&&n.includes("|")?n.split("|").map((t,n)=>n%2==1?e.jsx("span",{className:"font-bold",children:t},n):e.jsx(l.default.Fragment,{children:t},n)):n)})]},t.title);var n})})}):e.jsx("div",{className:"invisible min-h-[76px] p-2","aria-hidden":"true",children:e.jsx(qn,{as:"div",className:Ae("body3",E?"text-text-inverse":"text-text"),children:" "})}),e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsx(Fd,{onSelect:b,speed:i,isSelected:E,renderCheckPlans:v,cta:x,iconSize:40,techType:y,isMax:w}),h.length>0&&e.jsxs("section",{className:"flex flex-col gap-3",children:[e.jsxs(li,{onClick:()=>{g?g():N(!I)},className:"group flex w-full items-center gap-2 text-left",children:[e.jsx(qn,{as:"h4",className:Ae("label3",E?"text-text-inverse":"text-text"),children:m}),e.jsx(Qn,{name:"keyboard_arrow_down",fill:1,size:24,className:Ae("transition-transform duration-300",A&&"rotate-180",E?"text-text-inverse":"text-text")})]}),e.jsxs("div",{className:Ae("overflow-hidden transition-all duration-200 ease-in-out",A?"opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col",children:e.jsx(er,{items:h,iconSize:24,iconPosition:"top",iconClassName:"mt-0",iconColor:E?"yellow":"green",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3",listItemClassName:""+(E?"text-text-inverse":"text-text")})}),(null==d?void 0:d.badgeIcon)?e.jsxs("div",{className:"mt-3 flex items-center gap-2 text-center",children:[e.jsx(Vd,{src:d.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"footnote text-text",children:d.badgeText.includes("|")?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"font-bold",children:d.badgeText.split("|")[0]}),e.jsx("span",{className:"font-normal",children:d.badgeText.split("|")[1]})]}):e.jsx(qn,{className:"font-bold",children:d.badgeText})})]}):null]})]})]})]})]})},Wd=({title:t,quote:n,rating:r,author:i,role:o,avatarUrl:s,isActive:a=!1,className:l})=>e.jsxs("figure",{className:m("flex w-full flex-col gap-6 rounded-card-lg p-6 transition-all duration-300 md:gap-10 md:p-14",a?"bg-bg-surface-secondary shadow-drop":"bg-gray-50 opacity-40",l),children:[e.jsxs("div",{className:"flex flex-col justify-start gap-3 md:gap-5",children:[e.jsx("header",{children:e.jsx(qn,{as:"h3",className:"label1 text-text",children:t})}),e.jsx("blockquote",{className:"body1 text-text",children:n}),r?e.jsx("div",{className:"flex","aria-label":`Rating: ${r} out of 5`,children:[...Array(5)].map((t,n)=>e.jsx(Qn,{size:24,name:"star",fill:1,className:m("h-[21px] w-[21px]",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null]}),i&&e.jsxs("figcaption",{className:"flex gap-3 md:gap-5",children:[e.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-full bg-gray-300",children:s?e.jsx(u.default,{src:s,alt:i,fill:!0,className:"object-cover",sizes:"40px"}):e.jsx("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:i.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"label3 font-bold not-italic text-text",children:i}),e.jsx(qn,{as:"p",className:"body3 text-text",children:o})]})]})]});function Xd({fields:n,renderCheckPlans:r,isVisible:i=!0}){var o,s,a,l;const c=(null===(a=null===(s=null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||void 0===s?void 0:s[0])||void 0===a?void 0:a.benefitsExpanded)||!1,[u,d]=t.useState(c),[p,m]=t.useState({}),[h,f]=t.useState(0),[g,b]=t.useState(0),[v,x]=t.useState(0),[y,w]=t.useState(!1),C=(null===(l=null==n?void 0:n.items)||void 0===l?void 0:l.items)||[],I=(null==n?void 0:n.twoColumn)||!1,N=C.length>2,A=!1!==(null==n?void 0:n.showArrows)&&N,E=t.useRef([]),j=t.useRef(null),T=t.useRef(0);t.useEffect(()=>{if(!N||!i)return;const e=()=>{var e;const t=(null===(e=j.current)||void 0===e?void 0:e.offsetWidth)||0;if(0===t)return;const n=t-32,r=Math.max(1,Math.floor((n+16)/408));b(Math.max(0,C.length-r))};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[N,i,C.length]),t.useEffect(()=>{f(e=>Math.min(e,g))},[g]);const S=t.useCallback(()=>{N&&f(e=>Math.max(0,e-1))},[N]),k=t.useCallback(()=>{N&&f(e=>Math.min(g,e+1))},[N,g]),P=t.useCallback(e=>{N&&(T.current=e.touches[0].clientX,w(!0))},[N]),R=t.useCallback(e=>{if(!y)return;const t=e.touches[0].clientX-T.current;x(0===h&&t>0||h>=g&&t<0?.3*t:t)},[y,h,g]),B=t.useCallback(()=>{var e;if(!y)return;w(!1);const t=.15*((null===(e=j.current)||void 0===e?void 0:e.offsetWidth)||0);v>t?S():v<-t&&k(),x(0)},[y,v,S,k]);if(t.useEffect(()=>{if(!N||!i)return;const e=()=>{const e=E.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)},[N,i,u,C.length]),!C.length&&!(null==n?void 0:n.title))return null;const L=(t,n,i=!1)=>{var o,s,a,l,c,h,f,g;const b=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),v=(null==b?void 0:b[0])||"",x=(null==b?void 0:b[1])||"",y=(null===(a=null===(s=null==t?void 0:t.priceSuffix)||void 0===s?void 0:s.split("/"))||void 0===a?void 0:a[0])||"00",w=`${(null==t?void 0:t.price)||"0"}.${y}`,C=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],I=(null==t?void 0:t.highlighted)||!1,N=(null===(h=null===(c=null==t?void 0:t.giftRewards)||void 0===c?void 0:c.list)||void 0===h?void 0:h.items)||[],A={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},j=i?p[n]||!1:u;return e.jsx("div",{ref:i?void 0:e=>{e&&!E.current.includes(e)&&(E.current[n]=e)},className:Ae(i?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e.jsx(Hd,{planName:v,planSubtext:x,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:w,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:A,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:I,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:C,isExpanded:j,onToggleExpand:()=>{i?m(e=>({...e,[n]:!e[n]})):d(!u)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:r,cta:t.cta,priceSuffixBottom:null==t?void 0:t.priceSuffixBottom})},n)};return N?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:Ae("md:hidden",I?"grid grid-cols-2 gap-4":"flex flex-col gap-6"),children:C.map((e,t)=>L(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[A&&e.jsxs("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:[h>0?e.jsx(li,{onClick:S,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.jsx(Qn,{name:"arrow_back",size:24})}):e.jsx("span",{className:"h-12 w-12","aria-hidden":"true"}),h<g?e.jsx(li,{onClick:k,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.jsx(Qn,{name:"arrow_forward",size:24})}):e.jsx("span",{className:"h-12 w-12","aria-hidden":"true"})]}),e.jsx("div",{ref:j,className:"mx-auto max-w-[1280px] select-none overflow-hidden",onTouchStart:P,onTouchMove:R,onTouchEnd:B,onTouchCancel:B,children:e.jsx("div",{className:Ae("ml-8 flex items-stretch gap-4 pb-4",y?"transition-none":"transition-transform duration-500 ease-in-out"),style:{transform:`translateX(calc(-${h} * (392px + 16px) + ${v}px))`},children:C.map((e,t)=>L(e,t,!1))})})]})]}):e.jsx("div",{className:Ae("w-full max-w-[1280px] gap-4",I?"grid grid-cols-2 md:flex md:flex-wrap md:justify-center":"flex flex-wrap justify-center"),children:C.map((e,t)=>L(e,t,I))})}function zd({fields:t,renderCheckPlans:n,activeTab:r,tabs:i}){var o;const s=(null===(o=null==t?void 0:t.items)||void 0===o?void 0:o.items)||[];return i&&i.length>1&&r?e.jsx(e.Fragment,{children:i.map(o=>{const a=s.filter(e=>(e.productCategory||i[0])===o),l={...t,items:{...t.items,items:a}};return e.jsx("div",{style:{display:o===r?"block":"none"},"aria-hidden":o!==r,children:e.jsx(Xd,{fields:l,renderCheckPlans:n,isVisible:o===r})},o)})}):e.jsx(Xd,{fields:t,renderCheckPlans:n})}const _d=l.default.memo(({item:t,index:n,currentIndex:r,totalItems:i,swipeOffset:o,isSwiping:s,isMobile:a,containerWidth:l,cardOffsetPercentage:c})=>{let u=n-r;u>i/2&&(u-=i),u<-i/2&&(u+=i);const d=0===u,p=1===Math.abs(u),m=u*c+o/l*100,h=!a||(s?d||p:d);return e.jsx("div",{className:Ae("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",s?"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.jsx(Wd,{...t,isActive:d,className:"h-full"})})});_d.displayName="TestimonialCarouselSlide";const Zd=({fields:n,autoScroll:r=!0,autoScrollInterval:i=8e3})=>{var o;const s=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[];if(!s||0===s.length)return null;const a=function(e){const{itemCount:n,cardOffsetPercentage:r=105,swipeThreshold:i=.15,mobileBreakpoint:o=768,autoScrollInterval:s=8e3,enableAutoScroll:a=!0}=e,[l,c]=t.useState(0),[u,d]=t.useState(0),[p,m]=t.useState(!1),[h,f]=t.useState("undefined"!=typeof window?window.innerWidth:1),[g,b]=t.useState(!1),v=t.useRef(null),x=t.useRef(0),y=t.useRef(null),w={CARD_OFFSET_PERCENTAGE:r,SWIPE_THRESHOLD:i,MOBILE_BREAKPOINT:o,AUTO_SCROLL_INTERVAL:s};t.useEffect(()=>{const e=()=>{var e;f((null===(e=y.current)||void 0===e?void 0:e.offsetWidth)||window.innerWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const C=t.useCallback(()=>{0!==n&&c(e=>(e+1)%n)},[n]),I=t.useCallback(()=>{0!==n&&c(e=>0===e?n-1:e-1)},[n]),N=t.useCallback(e=>{e<0||e>=n||c(e)},[n]),A=t.useCallback(e=>{x.current=e.touches[0].clientX,m(!0),v.current&&clearInterval(v.current)},[]),E=t.useCallback(e=>{if(!p)return;const t=e.touches[0].clientX-x.current;d(t)},[p]),j=t.useCallback(()=>{m(!1);const e=h*i;u>e?I():u<-e&&C(),d(0),a&&s>0&&(v.current=setInterval(()=>{C()},s))},[u,h,i,I,C,a,s]);return t.useEffect(()=>{const e=()=>{b(window.innerWidth<o)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[o]),t.useEffect(()=>{if(a&&0!==n&&0!==s)return v.current=setInterval(()=>{C()},s),()=>{v.current&&clearInterval(v.current)}},[C,n,a,s]),{currentIndex:l,swipeOffset:u,isSwiping:p,isMobile:g,containerWidth:h,containerRef:y,nextSlide:C,prevSlide:I,goToSlide:N,handleTouchStart:A,handleTouchMove:E,handleTouchEnd:j,constants:w}}({itemCount:s.length,cardOffsetPercentage:105,swipeThreshold:.15,mobileBreakpoint:768,autoScrollInterval:i,enableAutoScroll:r});return e.jsxs("div",{children:[e.jsxs("div",{className:"relative max-w-[1280px] md:px-11",children:[e.jsx(li,{onClick:a.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.jsx(Qn,{name:"arrow_back",size:24})}),e.jsx(li,{onClick:a.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.jsx(Qn,{name:"arrow_forward",size:24})}),e.jsx("div",{ref:a.containerRef,className:"select-none overflow-hidden rounded-card-sm will-change-transform",onTouchStart:a.handleTouchStart,onTouchMove:a.handleTouchMove,onTouchEnd:a.handleTouchEnd,children:e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:s.map((t,n)=>e.jsx(_d,{item:t,index:n,currentIndex:a.currentIndex,totalItems:s.length,swipeOffset:a.swipeOffset,isSwiping:a.isSwiping,isMobile:a.isMobile,containerWidth:a.containerWidth,cardOffsetPercentage:a.constants.CARD_OFFSET_PERCENTAGE},n))})})]}),e.jsx("div",{className:"mt-5 flex justify-center gap-2 md:mt-10",children:s.map((t,n)=>e.jsx("button",{onClick:()=>a.goToSlide(n),className:Ae("h-2 w-2 rounded-full transition-all duration-300",a.currentIndex===n?"w-6 bg-white":"bg-bg-fill-inverse-disabled hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]})},Yd=({tabs:n,activeTab:r,onChange:i,className:o})=>{const s=n.indexOf(r),a=t.useRef([]),[l,c]=t.useState({width:0,left:0});return t.useEffect(()=>{const e=a.current[s];e&&c({width:e.offsetWidth,left:e.offsetLeft})},[s,n]),e.jsx("div",{className:"flex w-full justify-center",children:e.jsxs("div",{className:Ae("relative flex w-fit gap-1 rounded-button-lg bg-bg-surface-active p-1 transition-all duration-200 ease-out",o),children:[e.jsx("div",{className:"absolute bottom-1 top-1 rounded-button bg-bg-fill-brand shadow-md transition-all duration-300 ease-out",style:{width:`${l.width}px`,left:`${l.left}px`}}),n.map((t,n)=>e.jsx("button",{ref:e=>{a.current[n]=e},onClick:()=>i(t),className:Ae("label1 relative z-10 flex min-w-[160px] items-center justify-center whitespace-nowrap rounded-button px-4 py-2.5 transition-colors duration-200 focus:outline-none active:bg-transparent",r===t?"text-text-inverse":"text-text-disabled hover:bg-bg-surface-hover"),children:t},t))]})})},Jd=({link:n,anchorName:r,linkColorClassName:i})=>{const[o,s]=l.default.useState(!1),a=l.default.useRef(null);if(((e,n)=>{const r=t=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))})(a,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Id,{...n,linkClassName:Ae("body3 flex items-center h-full",i||"text-text"),linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:u,items:d}=n,p=Array.isArray(null==d?void 0:d.items)?d.items:[],m=`--link-anchor-${r}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:m},ref:a,children:[e.jsxs(Id,{onClick:()=>s(e=>!e),"aria-expanded":o,buttonClassName:Ae("group body3 flex items-center h-full",i||"text-text"),showButtonAs:"unstyled",children:[e.jsx(qn,{as:"span",className:"group-hover:underline",children:null!=u?u:null}),e.jsx(Qn,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e.jsx("div",{className:Ae("shadow-navDrop fixed z-[1001] min-w-44 rounded-input-poppers border border-border bg-bg","transition-[opacity,transform] ease-out",o&&p.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",left:"calc((anchor(left) + anchor(right)) / 2)",translate:"-50% 0"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&s(!1)},children:p.map((t,n)=>e.jsx("li",{className:"submenu-link type1",children:e.jsx(Id,{...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}`))})})]})},Ud=({link:t})=>{const[n,r]=l.default.useState(!1);if(!t)return null;if((e=>"string"==typeof e.href)(t))return e.jsx(Id,{...t,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`);const{anchorId:i,title:o,items:s}=t,a=Array.isArray(null==s?void 0:s.items)?s.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(Id,{onClick:()=>r(e=>!e),"aria-expanded":n,buttonClassName:" label3 flex items-center w-full h-11 px-4",showButtonAs:"unstyled",children:[null!=o?o:null,e.jsx(Qn,{weight:"200",size:24,className:"group-hover:opacity-50 text-icon-secondary",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},i),n&&a.length>0&&e.jsx($d,{items:a})]})},$d=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link type2",children:e.jsx(Id,{...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}`),Kd=t=>{const{showBlinkDot:n=!1,buttonStyle:r="primary",size:i="md",children:o,className:s,prefix:a,containerClassName:l,...c}=t,u=e.jsxs(rr,{...c,className:Ae("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[i],{primary:"border-[0.727px] border-border text-text"}[r],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:Ae("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"}[i]),children:e.jsx(Qn,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:o})]});return null==a||!1===a||""===a?u:e.jsxs("span",{className:Ae("flex items-center gap-2",l),children:["string"==typeof a||"number"==typeof a?e.jsx("span",{className:"text-sm font-normal text-text",children:a}):a,u]})};Kd.displayName="CallButton";const Qd=t.forwardRef((n,r)=>{const{className:i,size:o,required:s,placeholder:a,label:l,state:c,errorText:u,prefixIconName:d,prefixIconFill:p=!0,suffixIconFill:m=!1,prefixIconSize:h=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:b,prefixIconClassName:v,loading:x,hasError:y,type:w,...C}=n,I=y?"error":c,[N,A]=t.useState(!1),[E,j]=t.useState(!1),[T,S]=t.useState(w||"text"),k=t.useCallback(e=>{e.stopPropagation(),S(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ae("inline-block pb-1"),children:e.jsxs(qn,{as:"span",className:"footnote text-text",children:[l,s?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:Ae("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[o||"medium"],b,(N||"hover"===I)&&!E&&"error"!==I&&"border-input-border-hover",(E||"focus"===I||"active"===I)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===I&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[d?e.jsx("div",{className:"mr-1",style:{width:h,height:h,overflow:"hidden"},children:e.jsx(Qn,{name:d,fill:p?1:0,size:h,className:Ae(v)})}):null,e.jsx("input",{ref:r,id:l,disabled:x||C.disabled,className:Ae("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",i),placeholder:a,type:T,...C,onMouseOver:()=>A(!0),onMouseOut:()=>A(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),j(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),j(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:k,children:e.jsx(Qn,{name:"text"===T?"visibility":"visibility_off",size:g,fill:m?1:0})}):null]}),"error"===I&&u&&""!=u?e.jsxs(qn,{className:Ae("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Qn,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Qd.displayName="Input";const qd=t=>{var n;const{primaryNavigationLinks:r,utilityNavigationLinks:i,supportNavigationLinks:o,accountNavigationLinks:s,showCallButton:a,displayCallNowCta:c,displaySearchBar:u}=t,[d,p]=l.default.useState(!1);l.default.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=d?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],i=e=>{var t,i,o,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(i=(t=r).focus)||void 0===i||i.call(t),e.preventDefault()):document.activeElement===r&&(null===(s=(o=n).focus)||void 0===s||s.call(o),e.preventDefault()))};return window.addEventListener("keydown",i),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",i)}},[d]);const m=()=>{p(!1)};return e.jsxs("div",{children:[e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>p(!0),children:e.jsx(Qn,{name:"menu"})}),d?e.jsx("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e.jsx("div",{className:Ae("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4 text-text","transition-all duration-300 ease-in-out","block",d?"right-0":"-right-96"),id:"mobile-menu-overlay",children:e.jsxs("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[e.jsxs("div",{className:Ae("flex items-center px-4",!1!==a||!1!==c?"justify-between":"justify-end"),children:[!1!==a||!1!==c?e.jsx("div",{children:e.jsx(Kd,{className:"border-none",href:t.invocaPhoneNumberLink,onClick:t.onCallClickMobile,children:t.invocaPhoneNumberDisplayText})}):null,e.jsx("div",{children:e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:m,children:e.jsx(Qn,{name:"close"})})})]}),!1!==u?e.jsx(ep,{closeMenu:m,isMenuOpen:d,searchBarIconURL:"string"==typeof t.searchBarIcon?t.searchBarIcon:(null===(n=t.searchBarIcon)||void 0===n?void 0:n.url)||"",onSearch:t.onSearch||(()=>{})}):null,e.jsxs("div",{className:"flex-grow overflow-y-auto",onClick:e=>{const t=e.target;(null==t?void 0:t.closest("a"))&&m()},children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:[...r||[],...o||[],...s||[]].map((t,n)=>e.jsx("li",{children:e.jsx(Ud,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==i?void 0:i.map((n,r)=>e.jsx("li",{children:e.jsx(Id,{...Object.fromEntries(Object.entries(n).filter(([e,t])=>null!==t)),linkClassName:Ae("footnote flex items-center w-full h-11 text-text-link","number"!=typeof t.utilityNavActiveIndex?1===r&&"label4":t.utilityNavActiveIndex===r&&"label4"),linkVariant:"unstyled"},`utility-submenu-link-btn-${n.anchorId}`)},`utility-menu-items-${r}`))})]})]})})]})},ep=t=>{const{closeMenu:n,onSearch:r,isMenuOpen:i,searchBarIconURL:o}=t,[s,a]=l.default.useState(""),c=l.default.useRef(null),u=e=>{n(),e.preventDefault(),r(s)};return l.default.useEffect(()=>{i||a("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx(Jr,{src:o,width:32,height:32,className:"ml-2",alt:"Search icon",role:"button",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(Qd,{ref:c,className:"body3 h-[34px] rounded-none px-3 text-text",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},tp=t=>{const{searchBarIconURL:n,onSearch:r}=t,[i,o]=l.default.useState(""),s=l.default.useRef(null),a=e=>{e.preventDefault(),r(i)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-input-xl border px-1 transition-colors focus-within:border-border-focus",onSubmit:a,children:[e.jsx(Jr,{src:n,width:32,height:32,alt:"Search icon",role:"button",onClick:a}),e.jsx(Qd,{ref:s,type:"text",name:"search",placeholder:"Search...",value:i,onChange:e=>o(e.target.value),className:"body3 rounded-full px-3 text-text",containerClassName:"px-0 h-full border-none rounded-full",autoComplete:"off"})]})};function np(t,n){const r=Array.isArray(t)?t:[t],i=Math.min(n,r.length);return e.jsx("div",{className:"flex flex-col py-7",children:e.jsx("div",{className:"flex shrink-0 basis-0 flex-row gap-16 md:gap-20",children:[...new Array(i)].map((t,n)=>e.jsx("ul",{className:"flex flex-col gap-5",style:{width:"172px"},children:r.slice(n*Math.ceil(r.length/i),(n+1)*Math.ceil(r.length/i)).map((t,r)=>e.jsx("li",{children:t},`ordered-item-${n}-${r}`))},`ordered-col-${n}`))})})}function rp({items:t,currentTabIndex:n,subitemColCount:r,onTabClick:i}){return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:t.map((t,r)=>e.jsx(Id,{showButtonAs:"unstyled",onClick:()=>i(r,t.anchorId||""),buttonClassName:Ae("py-2 whitespace-nowrap",r===n?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},r))})}),t.map((t,i)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:i===n?"auto":0,opacity:i===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ae("overflow-hidden",i===n?"block":"hidden"),id:t.anchorId||`tab-${i}`,children:e.jsx("div",{className:"px-5 py-4 md:px-10",children:np(t.tabContent,r)})})})},i))]})}function ip({items:t,currentTabIndex:n,subitemColCount:r,onTabClick:i,setCurrentTabIndex:o}){return e.jsx("div",{className:"flex w-full flex-col",children:t.map((t,s)=>e.jsxs("div",{children:[e.jsxs("button",{onClick:()=>s===n?o(-1):i(s,t.anchorId||""),className:Ae("flex w-full items-center justify-between px-5 py-4 text-text md:px-10",s===n?"bg-bg-surface-hover":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Qn,{name:s===n?"keyboard_arrow_up":"keyboard_arrow_down",className:"text-text",size:40})]}),e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:s===n?"auto":0,opacity:s===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},className:Ae("overflow-hidden",s===n?"block":"hidden"),id:t.anchorId||`tab-${s}`,children:e.jsx("div",{className:"px-5 py-4 md:px-10",children:np(t.tabContent,r)})})})]},s))})}function op({items:t,currentTabIndex:n,subitemColCount:r,onTabClick:i}){return e.jsxs("div",{className:"flex gap-10 px-5 py-20",children:[e.jsx("div",{className:"flex-shrink-0",children:e.jsx("div",{className:"flex min-w-[320px] gap-4 rounded-[20px] border-2 px-6 py-7 shadow-lg",children:[...new Array(Math.min(2,t.length))].map((r,o)=>{const s=Math.ceil(t.length/2);return e.jsx("div",{className:"flex flex-1 flex-col gap-4",children:t.slice(o*s,(o+1)*s).map((t,r)=>{const a=o*s+r;return e.jsx("button",{onClick:()=>i(a,t.anchorId||""),className:Ae("label1 whitespace-nowrap rounded-lg px-4 py-3 text-left",a===n?"bg-bg-inverse text-white":"text-text"),children:t.tabName},a)})},`tab-col-${o}`)})})}),e.jsx("div",{className:"w-full",children:t.map((t,i)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{opacity:0,y:20},animate:{opacity:i===n?1:0,y:i===n?0:20},exit:{opacity:0,y:-20},transition:{duration:.3},className:Ae("overflow-hidden pl-10 xl:pl-20",i===n?"block":"hidden"),id:t.anchorId||`tab-${i}`,children:np(t.tabContent,r)})})},i))})]})}function sp({items:t,currentTabIndex:n,onTabClick:r}){return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-x-auto px-5 [-ms-overflow-style:none] [scrollbar-width:none] md:flex md:justify-center [&::-webkit-scrollbar]:hidden",children:e.jsx("div",{className:"flex w-max gap-10",children:t.map((t,i)=>e.jsx(Id,{showButtonAs:"unstyled",onClick:()=>r(i,t.anchorId),buttonClassName:Ae("py-2 whitespace-nowrap",i===n?"label1 border-b-2 border-border-focus-secondary":"body1"),children:t.tabName},i))})}),t.map((t,r)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:r===n?"auto":0,opacity:r===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},r))]})}function ap({items:t,currentTabIndex:n,onTabClick:r}){return e.jsx(e.Fragment,{children:t.map((t,i)=>e.jsxs("div",{className:"py-5",children:[e.jsxs(Id,{showButtonAs:"unstyled",onClick:()=>r(i,t.anchorId),buttonClassName:Ae("w-full flex justify-between items-center px-4 py-5",i===n?"bg-bg-surface-active":""),children:[e.jsx("span",{className:"heading6",children:t.tabName}),e.jsx(Qn,{name:i===n?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:48})]}),e.jsx(ci,{open:i===n,children:e.jsx("div",{className:Ae("px-4 py-4"),children:t.tabContent})})]},i))})}function lp({items:t,currentTabIndex:n,onTabClick:r}){return e.jsxs("div",{className:"flex px-5 py-20",children:[e.jsx("div",{className:"rounded-surface-lg border border-border-secondary shadow-lg",children:e.jsx("div",{className:"flex min-w-80 flex-col gap-4 px-6 py-7",children:t.map((t,i)=>e.jsx(Id,{showButtonAs:"unstyled",onClick:()=>r(i,t.anchorId),buttonClassName:Ae("px-4 py-3 whitespace-nowrap text-left rounded-button-sm",i===n?"label1 text-white bg-bg-inverse":"body1"),children:t.tabName},i))})}),e.jsx("div",{className:"grow",children:t.map((t,r)=>e.jsx("div",{children:e.jsx(gd,{children:e.jsx(cd.div,{initial:{height:0,opacity:0},animate:{height:r===n?"auto":0,opacity:r===n?1:0},exit:{height:0,opacity:0},transition:{duration:.3},children:t.tabContent})})},r))})]})}function cp(n){var r;const[i,o]=t.useState(0),[s,a]=t.useState(""),[l,c]=t.useState(2),{title:u,subTitle:d,tabs:p,navigationType:m=!0,mobileSidebarTabType:h=!0,dynamic:f=!1,isOrderedList:g=!1}=n,b=null!==(r=null==p?void 0:p.items)&&void 0!==r?r:[];t.useEffect(()=>{if("undefined"!=typeof window){a(window.location.hash);const e=()=>{a(window.location.hash)};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}}},[]),t.useEffect(()=>{var e;null===(e=null==p?void 0:p.items)||void 0===e||e.some((e,t)=>{if(`#${(null==e?void 0:e.anchorId)||"tab-"+t}`===s)return o(t),!0})},[p,s]),t.useEffect(()=>{if(!f)return;const e=()=>{if("undefined"==typeof window)return;const e=window.innerWidth;c(e<=640?2:e>750||e<=768?3:e<=1024?2:3)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[f]);const v=(e,t)=>{o(e),"undefined"!=typeof window&&s&&(window.location.hash=t||"")};return e.jsxs("div",{children:[u||d?e.jsxs("div",{className:"mb-8 mt-5 flex flex-col gap-5 md:gap-6",children:[u?e.jsx(qn,{className:"heading2 px-5 md:heading1 md:text-center",children:u}):null,d?e.jsx(qn,{className:"subheading3 px-5 md:subheading1 md:text-center",children:d}):null]}):null,f&&g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"lg:hidden",children:h?e.jsx(rp,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v}):e.jsx(ip,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v,setCurrentTabIndex:o})}),e.jsx("div",{className:"hidden lg:block",children:m?e.jsx(rp,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v}):e.jsx(op,{items:b,currentTabIndex:i,subitemColCount:l,onTabClick:v})})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"md:hidden",children:h?e.jsx(sp,{items:b,currentTabIndex:i,onTabClick:v}):e.jsx(ap,{items:b,currentTabIndex:i,onTabClick:v})}),e.jsx("div",{className:"hidden md:block",children:m?e.jsx(sp,{items:b,currentTabIndex:i,onTabClick:v}):e.jsx(lp,{items:b,currentTabIndex:i,onTabClick:v})})]})]})}const up={closed:{opacity:0},open:{opacity:1}},dp={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},pp={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"};function mp(){return mp=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mp.apply(null,arguments)}function hp(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function fp(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function gp(...e){return t.useCallback(fp(...e),e)}function bp(...e){const n=e[0];if(1===e.length)return n;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const i=r.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}const vp=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},xp=l["useId".toString()]||(()=>{});let yp=0;function wp(e){const[t,n]=l.useState(xp());return vp(()=>{n(e=>null!=e?e:String(yp++))},[e]),e||(t?`radix-${t}`:"")}function Cp(e){const n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>(...e)=>{var t;return null===(t=n.current)||void 0===t?void 0:t.call(n,...e)},[])}function Ip({prop:e,defaultProp:n,onChange:r=()=>{}}){const[i,o]=function({defaultProp:e,onChange:n}){const r=t.useState(e),[i]=r,o=t.useRef(i),s=Cp(n);return t.useEffect(()=>{o.current!==i&&(s(i),o.current=i)},[i,o,s]),r}({defaultProp:n,onChange:r}),s=void 0!==e,a=s?e:i,l=Cp(r);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[s,e,o,l])]}const Np=t.forwardRef((e,n)=>{const{children:r,...i}=e,o=t.Children.toArray(r),s=o.find(jp);if(s){const e=s.props.children,r=o.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(Ap,mp({},i,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,r):null)}return t.createElement(Ap,mp({},i,{ref:n}),r)});Np.displayName="Slot";const Ap=t.forwardRef((e,n)=>{const{children:r,...i}=e;return t.isValidElement(r)?t.cloneElement(r,{...Tp(i,r.props),ref:n?fp(n,r.ref):r.ref}):t.Children.count(r)>1?t.Children.only(null):null});Ap.displayName="SlotClone";const Ep=({children:e})=>t.createElement(t.Fragment,null,e);function jp(e){return t.isValidElement(e)&&e.type===Ep}function Tp(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{o(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}const Sp=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const r=t.forwardRef((e,r)=>{const{asChild:i,...o}=e,s=i?Np:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,mp({},o,{ref:r}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});const kp="dismissableLayer.update",Pp="dismissableLayer.pointerDownOutside",Rp="dismissableLayer.focusOutside";let Bp;const Lp=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Op=t.forwardRef((e,n)=>{var r;const{disableOutsidePointerEvents:i=!1,onEscapeKeyDown:o,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(Lp),[p,m]=t.useState(null),h=null!==(r=null==p?void 0:p.ownerDocument)&&void 0!==r?r:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=gp(n,e=>m(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,I=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Cp(e),i=t.useRef(!1),o=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){const t={originalEvent:e};function s(){Mp(Pp,r,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=s,n.addEventListener("click",o.current,{once:!0})):s()}else n.removeEventListener("click",o.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{const t=e.target,n=[...d.branches].some(e=>e.contains(t));C&&!n&&(null==s||s(e),null==l||l(e),e.defaultPrevented||null==c||c())},h),N=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Cp(e),i=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!i.current){Mp(Rp,r,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},h);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const r=Cp(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[r,n])}(e=>{y===d.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),t.useEffect(()=>{if(p)return i&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(Bp=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Gp(),()=>{i&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=Bp)}},[p,h,i,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Gp())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(kp,e),()=>document.removeEventListener(kp,e)},[]),t.createElement(Sp.div,mp({},u,{ref:g,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:hp(e.onFocusCapture,N.onFocusCapture),onBlurCapture:hp(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:hp(e.onPointerDownCapture,I.onPointerDownCapture)}))});function Gp(){const e=new CustomEvent(kp);document.dispatchEvent(e)}function Mp(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}(o,s):o.dispatchEvent(s)}const Dp="focusScope.autoFocusOnMount",Vp="focusScope.autoFocusOnUnmount",Fp={bubbles:!1,cancelable:!0},Hp=t.forwardRef((e,n)=>{const{loop:r=!1,trapped:i=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=Cp(o),d=Cp(s),p=t.useRef(null),m=gp(n,e=>c(e)),h=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(i){function e(e){if(h.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:_p(p.current,{select:!0})}function t(e){if(h.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||_p(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&_p(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[i,l,h.paused]),t.useEffect(()=>{if(l){Zp.add(h);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(Dp,Fp);l.addEventListener(Dp,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(_p(r,{select:t}),document.activeElement!==n)return}((e=Wp(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&_p(l))}return()=>{l.removeEventListener(Dp,u),setTimeout(()=>{const e=new CustomEvent(Vp,Fp);l.addEventListener(Vp,d),l.dispatchEvent(e),e.defaultPrevented||_p(null!=t?t:document.body,{select:!0}),l.removeEventListener(Vp,d),Zp.remove(h)},0)}}var e},[l,u,d,h]);const f=t.useCallback(e=>{if(!r&&!i)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[i,o]=function(e){const t=Wp(e),n=Xp(t,e),r=Xp(t.reverse(),e);return[n,r]}(t);i&&o?e.shiftKey||n!==o?e.shiftKey&&n===i&&(e.preventDefault(),r&&_p(o,{select:!0})):(e.preventDefault(),r&&_p(i,{select:!0})):n===t&&e.preventDefault()}},[r,i,h.paused]);return t.createElement(Sp.div,mp({tabIndex:-1},a,{ref:m,onKeyDown:f}))});function Wp(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 Xp(e,t){for(const n of e)if(!zp(n,{upTo:t}))return n}function zp(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 _p(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 Zp=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Yp(e,t),e.unshift(t)},remove(t){var n;e=Yp(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Yp(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const Jp=t.forwardRef((e,n)=>{var r;const{container:i=(null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...o}=e;return i?d.default.createPortal(t.createElement(Sp.div,mp({},o,{ref:n})),i):null});const Up=e=>{const{present:n,children:r}=e,o=function(e){const[n,r]=t.useState(),o=t.useRef({}),s=t.useRef(e),a=t.useRef("none"),l=e?"mounted":"unmounted",[c,u]=function(e,n){return t.useReducer((e,t)=>{const r=n[e][t];return null!=r?r:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=$p(o.current);a.current="mounted"===c?e:"none"},[c]),vp(()=>{const t=o.current,n=s.current;if(n!==e){const r=a.current,i=$p(t);if(e)u("MOUNT");else if("none"===i||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&r!==i?"ANIMATION_OUT":"UNMOUNT")}s.current=e}},[e,u]),vp(()=>{if(n){const e=e=>{const t=$p(o.current).includes(e.animationName);e.target===n&&t&&i.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=$p(o.current))};return n.addEventListener("animationstart",t),n.addEventListener("animationcancel",e),n.addEventListener("animationend",e),()=>{n.removeEventListener("animationstart",t),n.removeEventListener("animationcancel",e),n.removeEventListener("animationend",e)}}u("ANIMATION_END")},[n,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}(n),s="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=gp(o.ref,s.ref);return"function"==typeof r||o.isPresent?t.cloneElement(s,{ref:a}):null};function $p(e){return(null==e?void 0:e.animationName)||"none"}Up.displayName="Presence";let Kp=0;function Qp(){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 qp=function(){return qp=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},qp.apply(this,arguments)};function em(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}"function"==typeof SuppressedError&&SuppressedError;var tm="right-scroll-bar-position",nm="width-before-scroll-bar";function rm(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var im="undefined"!=typeof window?l.useLayoutEffect:l.useEffect,om=new WeakMap;function sm(e,n){var r,i,o,s=(r=null,i=function(t){return e.forEach(function(e){return rm(e,t)})},(o=t.useState(function(){return{value:r,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 im(function(){var t=om.get(s);if(t){var n=new Set(t),r=new Set(e),i=s.current;n.forEach(function(e){r.has(e)||rm(e,null)}),r.forEach(function(e){n.has(e)||rm(e,i)})}om.set(s,e)},[e]),s}function am(e){return e}var lm=function(e){var t=e.sideCar,n=em(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return l.createElement(r,qp({},n))};lm.isSideCarExport=!0;var cm=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=am);var n=[],r=!1,i={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var i=t(e,r);return n.push(i),function(){n=n.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var i=n;n=[],i.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(o)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return i}(null);return t.options=qp({async:!0,ssr:!1},e),t}(),um=function(){},dm=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:um,onWheelCapture:um,onTouchMoveCapture:um}),i=r[0],o=r[1],s=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=em(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=m,w=sm([n,t]),C=qp(qp({},x),i);return l.createElement(l.Fragment,null,d&&l.createElement(y,{sideCar:cm,removeScrollBar:u,shards:p,noIsolation:h,inert:f,setCallbacks:o,allowPinchZoom:!!g,lockRef:n}),s?l.cloneElement(l.Children.only(a),qp(qp({},C),{ref:w})):l.createElement(v,qp({},C,{className:c,ref:w}),a))});dm.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},dm.classNames={fullWidth:nm,zeroRight:tm};function pm(){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 mm=function(){var e=0,t=null;return{add:function(n){var r;0==e&&(t=pm())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),r=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(r)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},hm=function(){var e,t=(e=mm(),function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},fm={left:0,top:0,right:0,gap:0},gm=function(e){return parseInt(e||"",10)||0},bm=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return fm;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[gm(n),gm(r),gm(i)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},vm=hm(),xm="data-scroll-locked",ym=function(e,t,n,r){var i=e.left,o=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(xm,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(i,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(tm," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(nm," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(tm," .").concat(tm," {\n right: 0 ").concat(r,";\n }\n \n .").concat(nm," .").concat(nm," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(xm,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},wm=function(){var e=parseInt(document.body.getAttribute(xm)||"0",10);return isFinite(e)?e:0},Cm=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;l.useEffect(function(){return document.body.setAttribute(xm,(wm()+1).toString()),function(){var e=wm()-1;e<=0?document.body.removeAttribute(xm):document.body.setAttribute(xm,e.toString())}},[]);var o=l.useMemo(function(){return bm(i)},[i]);return l.createElement(vm,{styles:ym(o,!t,i,n?"":"!important")})},Im=!1;if("undefined"!=typeof window)try{var Nm=Object.defineProperty({},"passive",{get:function(){return Im=!0,!0}});window.addEventListener("test",Nm,Nm),window.removeEventListener("test",Nm,Nm)}catch(e){Im=!1}var Am=!!Im&&{passive:!1},Em=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])},jm=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Tm(e,n)){var r=Sm(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Tm=function(e,t){return"v"===e?function(e){return Em(e,"overflowY")}(t):function(e){return Em(e,"overflowX")}(t)},Sm=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)},km=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Pm=function(e){return[e.deltaX,e.deltaY]},Rm=function(e){return e&&"current"in e?e.current:e},Bm=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Lm=0,Om=[];var Gm,Mm=(Gm=function(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),i=l.useState(Lm++)[0],o=l.useState(function(){return hm()})[0],s=l.useRef(e);l.useEffect(function(){s.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Rm),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var a=l.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var i,o=km(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-o[0],c="deltaY"in e?e.deltaY:a[1]-o[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=jm(d,u);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=jm(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(l||c)&&(r.current=i),!i)return!0;var m=r.current||i;return function(e,t,n,r){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=i*r,s=n.target,a=t.contains(s),l=!1,c=o>0,u=0,d=0;do{var p=Sm(e,s),m=p[0],h=p[1]-p[2]-i*m;(m||h)&&Tm(e,s)&&(u+=h,d+=m),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===u?l=!0:c||0!==d||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=l.useCallback(function(e){var n=e;if(Om.length&&Om[Om.length-1]===o){var r="deltaY"in n?Pm(n):km(n),i=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,i=r,t[0]===i[0]&&t[1]===i[1]);var t,i})[0];if(i&&i.should)n.cancelable&&n.preventDefault();else if(!i){var l=(s.current.shards||[]).map(Rm).filter(Boolean).filter(function(e){return e.contains(n.target)});(l.length>0?a(n,l[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=l.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=l.useCallback(function(e){n.current=km(e),r.current=void 0},[]),p=l.useCallback(function(t){u(t.type,Pm(t),t.target,a(t,e.lockRef.current))},[]),m=l.useCallback(function(t){u(t.type,km(t),t.target,a(t,e.lockRef.current))},[]);l.useEffect(function(){return Om.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,Am),document.addEventListener("touchmove",c,Am),document.addEventListener("touchstart",d,Am),function(){Om=Om.filter(function(e){return e!==o}),document.removeEventListener("wheel",c,Am),document.removeEventListener("touchmove",c,Am),document.removeEventListener("touchstart",d,Am)}},[]);var h=e.removeScrollBar,f=e.inert;return l.createElement(l.Fragment,null,f?l.createElement(o,{styles:Bm(i)}):null,h?l.createElement(Cm,{gapMode:"margin"}):null)},cm.useMedium(Gm),lm),Dm=l.forwardRef(function(e,t){return l.createElement(dm,qp({},e,{ref:t,sideCar:Mm}))});Dm.classNames=dm.classNames;var Vm=new WeakMap,Fm=new WeakMap,Hm={},Wm=0,Xm=function(e){return e&&(e.host||Xm(e.parentNode))},zm=function(e,t,n,r){var i=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Xm(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]);Hm[n]||(Hm[n]=new WeakMap);var o=Hm[n],s=[],a=new Set,l=new Set(i),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};i.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(r),i=null!==t&&"false"!==t,l=(Vm.get(e)||0)+1,c=(o.get(e)||0)+1;Vm.set(e,l),o.set(e,c),s.push(e),1===l&&i&&Fm.set(e,!0),1===c&&e.setAttribute(n,"true"),i||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),Wm++,function(){s.forEach(function(e){var t=Vm.get(e)-1,i=o.get(e)-1;Vm.set(e,t),o.set(e,i),t||(Fm.has(e)||e.removeAttribute(r),Fm.delete(e)),i||e.removeAttribute(n)}),--Wm||(Vm=new WeakMap,Vm=new WeakMap,Fm=new WeakMap,Hm={})}},_m=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),zm(r,i,n,"aria-hidden")):function(){return null}};const Zm="Dialog",[Ym,Jm]=function(e,n=[]){let r=[];const i=()=>{const n=r.map(e=>t.createContext(e));return function(r){const i=(null==r?void 0:r[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return i.scopeName=e,[function(n,i){const o=t.createContext(i),s=r.length;function a(n){const{scope:r,children:i,...a}=n,l=(null==r?void 0:r[e][s])||o,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},i)}return r=[...r,i],a.displayName=n+"Provider",[a,function(r,a){const l=(null==a?void 0:a[e][s])||o,c=t.useContext(l);if(c)return c;if(void 0!==i)return i;throw new Error(`\`${r}\` must be used within \`${n}\``)}]},bp(i,...n)]}(Zm),[Um,$m]=Ym(Zm),Km="DialogPortal",[Qm,qm]=Ym(Km,{forceMount:void 0}),eh="DialogOverlay",th=t.forwardRef((e,n)=>{const r=qm(eh,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=$m(eh,e.__scopeDialog);return s.modal?t.createElement(Up,{present:i||s.open},t.createElement(nh,mp({},o,{ref:n}))):null}),nh=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=$m(eh,r);return t.createElement(Dm,{as:Np,allowPinchZoom:!0,shards:[o.contentRef]},t.createElement(Sp.div,mp({"data-state":dh(o.open)},i,{ref:n,style:{pointerEvents:"auto",...i.style}})))}),rh="DialogContent",ih=t.forwardRef((e,n)=>{const r=qm(rh,e.__scopeDialog),{forceMount:i=r.forceMount,...o}=e,s=$m(rh,e.__scopeDialog);return t.createElement(Up,{present:i||s.open},s.modal?t.createElement(oh,mp({},o,{ref:n})):t.createElement(sh,mp({},o,{ref:n})))}),oh=t.forwardRef((e,n)=>{const r=$m(rh,e.__scopeDialog),i=t.useRef(null),o=gp(n,r.contentRef,i);return t.useEffect(()=>{const e=i.current;if(e)return _m(e)},[]),t.createElement(ah,mp({},e,{ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:hp(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=r.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:hp(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:hp(e.onFocusOutside,e=>e.preventDefault())}))}),sh=t.forwardRef((e,n)=>{const r=$m(rh,e.__scopeDialog),i=t.useRef(!1),o=t.useRef(!1);return t.createElement(ah,mp({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,s;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(i.current||null===(s=r.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());i.current=!1,o.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const a=t.target;(null===(s=r.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),ah=t.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:s,...a}=e,l=$m(rh,r),c=gp(n,t.useRef(null));return t.useEffect(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:Qp()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Qp()),Kp++,()=>{1===Kp&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Kp--}},[]),t.createElement(t.Fragment,null,t.createElement(Hp,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:s},t.createElement(Op,mp({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":dh(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),lh="DialogTitle",ch="DialogClose",uh=t.forwardRef((e,n)=>{const{__scopeDialog:r,...i}=e,o=$m(ch,r);return t.createElement(Sp.button,mp({type:"button"},i,{ref:n,onClick:hp(e.onClick,()=>o.onOpenChange(!1))}))});function dh(e){return e?"open":"closed"}!function(e,n){const r=t.createContext(n);function i(e){const{children:n,...i}=e,o=t.useMemo(()=>i,Object.values(i));return t.createElement(r.Provider,{value:o},n)}i.displayName=e+"Provider"}("DialogTitleWarning",{contentName:rh,titleName:lh,docsSlug:"dialog"});const ph=e=>{const{__scopeDialog:n,children:r,open:i,defaultOpen:o,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=Ip({prop:i,defaultProp:o,onChange:s});return t.createElement(Um,{scope:n,triggerRef:l,contentRef:c,contentId:wp(),titleId:wp(),descriptionId:wp(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},r)},mh=e=>{const{__scopeDialog:n,forceMount:r,children:i,container:o}=e,s=$m(Km,n);return t.createElement(Qm,{scope:n,forceMount:r},t.Children.map(i,e=>t.createElement(Up,{present:r||s.open},t.createElement(Jp,{asChild:!0,container:o},e))))},hh=th,fh=ih,gh=uh,bh=t=>{const{isOpen:n,onRequestClose:r,size:i,title:o,content:s,description:a,children:l,bodyClassName:c,type:u="modal",index:d=0}=t;return e.jsx(ph,{open:n,onOpenChange:()=>n&&(null==r?void 0:r()),children:e.jsxs(mh,{children:[e.jsx(cd.div,{initial:"closed",animate:n?"open":"closed",variants:up,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(hh,{})}),e.jsx("div",{className:"pointer-events-none fixed inset-0 z-[1001] flex items-center justify-center",children:e.jsx(cd.div,{initial:"closed",animate:n?"open":"closed",variants:dp,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.jsx(fh,{onOpenAutoFocus:e=>e.preventDefault(),className:Ae("relative mx-auto w-full overflow-hidden rounded-[24px] shadow-drop focus:outline-none",!/(^|\s)bg-/.test(null!=c?c:"")&&"bg-bg",!/(^|\s)p-/.test(null!=c?c:"")&&"p-[25px]",c),style:{maxWidth:pp[i||"lg"]},children:e.jsxs("div",{"data-section-type":u,"data-section-index":d,children:[e.jsx(gh,{asChild:!0,children:e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 z-10 mr-2 mt-2",children:e.jsx(Qn,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-y-auto scroll-smooth [scrollbar-color:rgba(0,0,0,0.2)_transparent] [scrollbar-width:thin] [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-black/20 hover:[&::-webkit-scrollbar-thumb]:bg-black/30 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar]:w-1.5",children:[o?e.jsx(qn,{className:Ae("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:o}):null,a?e.jsx(qn,{as:"div",className:"mb-8 sm:mb-5",children:a}):null,e.jsxs("div",{className:"flex flex-col gap-4 sm:gap-5",children:[s,l||null]})]})]})})})})]})})},vh=({children:t,background:n,className:r,fill:i="yellow",maxFit:o,show:s=!0,path:a="path2"})=>{const l=`${a}`,c={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},u={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},d="string"==typeof n&&n in u,p=d?u[n]:void 0,m=n&&!d?{background:n}:void 0,h=i in c?c[i]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shared-component-backgound-wrapper shape-bg relative overflow-hidden ${null!=r?r:""} ${o?"max-content":""} ${null!=p?p:m?"":"bg-white"}`,style:m,children:["path1"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${l} fill-current ${h}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"===a&&e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${l} fill-current ${h}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("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"})}),"path5"===a&&e.jsxs(e.Fragment,{children:[e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-0 top-0 z-0 block md:hidden ${l} fill-current ${h}`,width:"367",height:"644",viewBox:"0 0 367 644",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M-2083.1 549.586C-1857.78 764.836 -1656.5 828.759 -1081.83 673.557C-539.683 527.203 347.968 344.365 364.89 7.43135C381.862 -193.724 210.008 -373.544 84.6305 -523.879C-1.85227 -620.854 -81.806 -706.094 -164.9 -802.494C-192.25 -834.002 -242.154 -805.661 -229.077 -765.61C-160.659 -556.59 -149.205 -385.975 -240.751 -214.056C-386.348 97.8893 -1020.17 305.621 -1399.44 344.278C-1800.65 392.049 -2033.89 187.954 -2210.22 -76.0251C-2301.18 -219.67 -2360.21 -374.3 -2388.99 -518.696C-2397.38 -561.352 -2458.78 -559.193 -2463.58 -515.969C-2501.97 -175.709 -2310.97 298.878 -2083.31 550.316"})}),e.jsx("svg",{className:`shape-bg-svg pointer-events-none absolute left-0 top-0 z-0 hidden md:block ${l} fill-current ${h}`,width:"367",height:"448",viewBox:"0 0 367 448",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e.jsx("path",{d:"M-2083.1 549.587C-1857.78 764.837 -1656.5 828.759 -1081.83 673.557C-539.682 527.203 347.968 344.365 364.89 7.43156C381.863 -193.724 210.008 -373.543 84.6307 -523.879C-1.85203 -620.854 -81.8058 -706.094 -164.9 -802.494C-192.249 -834.001 -242.154 -805.661 -229.077 -765.609C-160.658 -556.59 -149.205 -385.975 -240.751 -214.056C-386.348 97.8895 -1020.17 305.621 -1399.44 344.278C-1800.65 392.049 -2033.89 187.954 -2210.22 -76.0249C-2301.18 -219.669 -2360.21 -374.3 -2388.99 -518.696C-2397.38 -561.352 -2458.78 -559.193 -2463.58 -515.969C-2501.97 -175.709 -2310.97 298.879 -2083.31 550.317"})})]}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:`shared-component-backgound-wrapper ${null!=r?r:""} ${null!=p?p:""}`,style:m,children:t})},xh=e=>`?page=${e}`,yh=({currentPage:t,totalPages:n,onPageChange:r,getPageHref:i=xh,ariaLabel:o="Pagination"})=>{const s=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]}(t,n),a="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",l="opacity-40 pointer-events-none";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":o,children:[e.jsx(rr,{href:1===t?"#":i(t-1),className:`${a} ${1===t?l:""}`,"aria-label":"Go to previous page","aria-disabled":1===t,tabIndex:1===t?-1:void 0,onClick:e=>{1!==t?null==r||r(t-1):e.preventDefault()},children:e.jsx(Qn,{name:"chevron_left",size:32,"aria-hidden":"true"})}),s.map((n,o)=>"..."===n?e.jsx("span",{className:"inline-flex h-9 w-9 cursor-default items-center justify-center text-body2 text-gray-500","aria-hidden":"true",children:"…"},`ellipsis-${o}`):e.jsx(rr,{href:i(n),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 "+(n===t?"bg-bg-surface-active font-bold hover:bg-bg-gray-300":""),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,onClick:()=>null==r?void 0:r(n),children:n},n)),e.jsx(rr,{href:t===n?"#":i(t+1),className:`${a} ${t===n?l:""}`,"aria-label":"Go to next page","aria-disabled":t===n,tabIndex:t===n?-1:void 0,onClick:e=>{t!==n?null==r||r(t+1):e.preventDefault()},children:e.jsx(Qn,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function wh(e){return wh="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},wh(e)}function Ch(e){var t=function(e,t){if("object"!=wh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=wh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==wh(t)?t:t+""}function Ih(e,t,n){return(t=Ch(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Nh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Ah(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nh(Object(n),!0).forEach(function(t){Ih(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function jh(e,t){if(e){if("string"==typeof e)return Eh(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)?Eh(e,t):void 0}}function Th(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}}(e,t)||jh(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 Sh(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var kh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ph(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ch(r.key),r)}}function Rh(e,t){return Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Rh(e,t)}function Bh(e){return Bh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bh(e)}function Lh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Lh=function(){return!!e})()}function Oh(e,t){if(t&&("object"==wh(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 Gh(e){return function(e){if(Array.isArray(e))return Eh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||jh(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 Mh=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}(),Dh="-ms-",Vh="-moz-",Fh="-webkit-",Hh="comm",Wh="rule",Xh="decl",zh="@keyframes",_h=Math.abs,Zh=String.fromCharCode,Yh=Object.assign;function Jh(e){return e.trim()}function Uh(e,t,n){return e.replace(t,n)}function $h(e,t){return e.indexOf(t)}function Kh(e,t){return 0|e.charCodeAt(t)}function Qh(e,t,n){return e.slice(t,n)}function qh(e){return e.length}function ef(e){return e.length}function tf(e,t){return t.push(e),e}var nf=1,rf=1,of=0,sf=0,af=0,lf="";function cf(e,t,n,r,i,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:nf,column:rf,length:s,return:""}}function uf(e,t){return Yh(cf("",null,null,"",null,null,0),e,{length:-e.length},t)}function df(){return af=sf>0?Kh(lf,--sf):0,rf--,10===af&&(rf=1,nf--),af}function pf(){return af=sf<of?Kh(lf,sf++):0,rf++,10===af&&(rf=1,nf++),af}function mf(){return Kh(lf,sf)}function hf(){return sf}function ff(e,t){return Qh(lf,e,t)}function gf(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 bf(e){return nf=rf=1,of=qh(lf=e),sf=0,[]}function vf(e){return lf="",e}function xf(e){return Jh(ff(sf-1,Cf(91===e?e+2:40===e?e+1:e)))}function yf(e){for(;(af=mf())&&af<33;)pf();return gf(e)>2||gf(af)>3?"":" "}function wf(e,t){for(;--t&&pf()&&!(af<48||af>102||af>57&&af<65||af>70&&af<97););return ff(e,hf()+(t<6&&32==mf()&&32==pf()))}function Cf(e){for(;pf();)switch(af){case e:return sf;case 34:case 39:34!==e&&39!==e&&Cf(af);break;case 40:41===e&&Cf(e);break;case 92:pf()}return sf}function If(e,t){for(;pf()&&e+af!==57&&(e+af!==84||47!==mf()););return"/*"+ff(t,sf-1)+"*"+Zh(47===e?e:pf())}function Nf(e){for(;!gf(mf());)pf();return ff(e,sf)}function Af(e){return vf(Ef("",null,null,null,[""],e=bf(e),0,[0],e))}function Ef(e,t,n,r,i,o,s,a,l){for(var c=0,u=0,d=s,p=0,m=0,h=0,f=1,g=1,b=1,v=0,x="",y=i,w=o,C=r,I=x;g;)switch(h=v,v=pf()){case 40:if(108!=h&&58==Kh(I,d-1)){-1!=$h(I+=Uh(xf(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:I+=xf(v);break;case 9:case 10:case 13:case 32:I+=yf(h);break;case 92:I+=wf(hf()-1,7);continue;case 47:switch(mf()){case 42:case 47:tf(Tf(If(pf(),hf()),t,n),l);break;default:I+="/"}break;case 123*f:a[c++]=qh(I)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(I=Uh(I,/\f/g,"")),m>0&&qh(I)-d&&tf(m>32?Sf(I+";",r,n,d-1):Sf(Uh(I," ","")+";",r,n,d-2),l);break;case 59:I+=";";default:if(tf(C=jf(I,t,n,c,u,i,a,x,y=[],w=[],d),o),123===v)if(0===u)Ef(I,t,C,C,y,o,d,a,w);else switch(99===p&&110===Kh(I,3)?100:p){case 100:case 108:case 109:case 115:Ef(e,C,C,r&&tf(jf(e,C,C,0,0,i,a,x,i,y=[],d),w),i,w,d,a,r?y:w);break;default:Ef(I,C,C,C,[""],w,0,a,w)}}c=u=m=0,f=b=1,x=I="",d=s;break;case 58:d=1+qh(I),m=h;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==df())continue;switch(I+=Zh(v),v*f){case 38:b=u>0?1:(I+="\f",-1);break;case 44:a[c++]=(qh(I)-1)*b,b=1;break;case 64:45===mf()&&(I+=xf(pf())),p=mf(),u=d=qh(x=I+=Nf(hf())),v++;break;case 45:45===h&&2==qh(I)&&(f=0)}}return o}function jf(e,t,n,r,i,o,s,a,l,c,u){for(var d=i-1,p=0===i?o:[""],m=ef(p),h=0,f=0,g=0;h<r;++h)for(var b=0,v=Qh(e,d+1,d=_h(f=s[h])),x=e;b<m;++b)(x=Jh(f>0?p[b]+" "+v:Uh(v,/&\f/g,p[b])))&&(l[g++]=x);return cf(e,t,n,0===i?Wh:a,l,c,u)}function Tf(e,t,n){return cf(e,t,n,Hh,Zh(af),Qh(e,2,-2),0)}function Sf(e,t,n,r){return cf(e,t,n,Xh,Qh(e,0,r),Qh(e,r+1,-1),r)}function kf(e,t){for(var n="",r=ef(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Pf(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Xh:return e.return=e.return||e.value;case Hh:return"";case zh:return e.return=e.value+"{"+kf(e.children,r)+"}";case Wh:e.value=e.props.join(",")}return qh(n=kf(e.children,r))?e.return=e.value+"{"+n+"}":""}function Rf(e){var t=ef(e);return function(n,r,i,o){for(var s="",a=0;a<t;a++)s+=e[a](n,r,i,o)||"";return s}}var Bf="undefined"!=typeof document,Lf=function(e,t,n){for(var r=0,i=0;r=i,i=mf(),38===r&&12===i&&(t[n]=1),!gf(i);)pf();return ff(e,sf)},Of=function(e,t){return vf(function(e,t){var n=-1,r=44;do{switch(gf(r)){case 0:38===r&&12===mf()&&(t[n]=1),e[n]+=Lf(sf-1,t,n);break;case 2:e[n]+=xf(r);break;case 4:if(44===r){e[++n]=58===mf()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Zh(r)}}while(r=pf());return e}(bf(e),t))},Gf=new WeakMap,Mf=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Gf.get(n))&&!r){Gf.set(e,!0);for(var i=[],o=Of(t,i),s=n.props,a=0,l=0;a<o.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=i[a]?o[a].replace(/&\f/g,s[c]):s[c]+" "+o[a]}}},Df=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Vf(e,t){switch(function(e,t){return 45^Kh(e,0)?(((t<<2^Kh(e,0))<<2^Kh(e,1))<<2^Kh(e,2))<<2^Kh(e,3):0}(e,t)){case 5103:return Fh+"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 Fh+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Fh+e+Vh+e+Dh+e+e;case 6828:case 4268:return Fh+e+Dh+e+e;case 6165:return Fh+e+Dh+"flex-"+e+e;case 5187:return Fh+e+Uh(e,/(\w+).+(:[^]+)/,Fh+"box-$1$2"+Dh+"flex-$1$2")+e;case 5443:return Fh+e+Dh+"flex-item-"+Uh(e,/flex-|-self/,"")+e;case 4675:return Fh+e+Dh+"flex-line-pack"+Uh(e,/align-content|flex-|-self/,"")+e;case 5548:return Fh+e+Dh+Uh(e,"shrink","negative")+e;case 5292:return Fh+e+Dh+Uh(e,"basis","preferred-size")+e;case 6060:return Fh+"box-"+Uh(e,"-grow","")+Fh+e+Dh+Uh(e,"grow","positive")+e;case 4554:return Fh+Uh(e,/([^-])(transform)/g,"$1"+Fh+"$2")+e;case 6187:return Uh(Uh(Uh(e,/(zoom-|grab)/,Fh+"$1"),/(image-set)/,Fh+"$1"),e,"")+e;case 5495:case 3959:return Uh(e,/(image-set\([^]*)/,Fh+"$1$`$1");case 4968:return Uh(Uh(e,/(.+:)(flex-)?(.*)/,Fh+"box-pack:$3"+Dh+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Fh+e+e;case 4095:case 3583:case 4068:case 2532:return Uh(e,/(.+)-inline(.+)/,Fh+"$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(qh(e)-1-t>6)switch(Kh(e,t+1)){case 109:if(45!==Kh(e,t+4))break;case 102:return Uh(e,/(.+:)(.+)-([^]+)/,"$1"+Fh+"$2-$3$1"+Vh+(108==Kh(e,t+3)?"$3":"$2-$3"))+e;case 115:return~$h(e,"stretch")?Vf(Uh(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Kh(e,t+1))break;case 6444:switch(Kh(e,qh(e)-3-(~$h(e,"!important")&&10))){case 107:return Uh(e,":",":"+Fh)+e;case 101:return Uh(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Fh+(45===Kh(e,14)?"inline-":"")+"box$3$1"+Fh+"$2$3$1"+Dh+"$2box$3")+e}break;case 5936:switch(Kh(e,t+11)){case 114:return Fh+e+Dh+Uh(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Fh+e+Dh+Uh(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Fh+e+Dh+Uh(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Fh+e+Dh+e+e}return e}var Ff,Hf,Wf,Xf=Bf?void 0:(Ff=function(){return function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(){return{}})},Hf=new WeakMap,function(e){if(Hf.has(e))return Hf.get(e);var t=Ff(e);return Hf.set(e,t),t}),zf=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Xh:e.return=Vf(e.value,e.length);break;case zh:return kf([uf(e,{value:Uh(e.value,"@","@"+Fh)})],r);case Wh: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 kf([uf(e,{props:[Uh(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return kf([uf(e,{props:[Uh(t,/:(plac\w+)/,":"+Fh+"input-$1")]}),uf(e,{props:[Uh(t,/:(plac\w+)/,":-moz-$1")]}),uf(e,{props:[Uh(t,/:(plac\w+)/,Dh+"input-$1")]})],r)}return""})}}],_f=function(e){var t=e.key;if(Bf&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var r,i,o=e.stylisPlugins||zf,s={},a=[];Bf&&(r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[Mf,Df];if(Xf){var u=[Pf],d=Rf(c.concat(o,u)),p=Xf(o)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=kf(Af(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};i=function(e,t,n,r){var i=t.name,o=m(e,t);return void 0===b.compat?(r&&(b.inserted[i]=!0),o):r?void(b.inserted[i]=o):o}}else{var h,f=[Pf,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=Rf(c.concat(o,f));i=function(e,t,n,r){h=n,kf(Af(e?e+"{"+t.styles+"}":t.styles),g),r&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new Mh({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return b.sheet.hydrate(a),b},Zf={exports:{}},Yf={};var Jf,Uf,$f,Kf,Qf={};
18
18
  /** @license React v16.13.1
19
19
  * react-is.development.js
20
20
  *
@@ -22,5 +22,5 @@ var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,i="undefined"!=type
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */function qf(){return Uf||(Uf=1,"production"===process.env.NODE_ENV?Zf.exports=function(){if(Wf)return Yf;Wf=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return Yf.AsyncMode=l,Yf.ConcurrentMode=c,Yf.ContextConsumer=s,Yf.ContextProvider=a,Yf.Element=t,Yf.ForwardRef=u,Yf.Fragment=r,Yf.Lazy=h,Yf.Memo=m,Yf.Portal=n,Yf.Profiler=o,Yf.StrictMode=i,Yf.Suspense=d,Yf.isAsyncMode=function(e){return y(e)||x(e)===l},Yf.isConcurrentMode=y,Yf.isContextConsumer=function(e){return x(e)===s},Yf.isContextProvider=function(e){return x(e)===a},Yf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Yf.isForwardRef=function(e){return x(e)===u},Yf.isFragment=function(e){return x(e)===r},Yf.isLazy=function(e){return x(e)===h},Yf.isMemo=function(e){return x(e)===m},Yf.isPortal=function(e){return x(e)===n},Yf.isProfiler=function(e){return x(e)===o},Yf.isStrictMode=function(e){return x(e)===i},Yf.isSuspense=function(e){return x(e)===d},Yf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Yf.typeOf=x,Yf}():Zf.exports=(Jf||(Jf=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case h:case m:case a:return g;default:return p}}case n:return p}}}var y=l,w=c,C=s,I=a,N=t,E=u,A=r,j=h,T=m,S=n,k=o,P=i,R=d,B=!1;function L(e){return x(e)===c}Qf.AsyncMode=y,Qf.ConcurrentMode=w,Qf.ContextConsumer=C,Qf.ContextProvider=I,Qf.Element=N,Qf.ForwardRef=E,Qf.Fragment=A,Qf.Lazy=j,Qf.Memo=T,Qf.Portal=S,Qf.Profiler=k,Qf.StrictMode=P,Qf.Suspense=R,Qf.isAsyncMode=function(e){return B||(B=!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.")),L(e)||x(e)===l},Qf.isConcurrentMode=L,Qf.isContextConsumer=function(e){return x(e)===s},Qf.isContextProvider=function(e){return x(e)===a},Qf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qf.isForwardRef=function(e){return x(e)===u},Qf.isFragment=function(e){return x(e)===r},Qf.isLazy=function(e){return x(e)===h},Qf.isMemo=function(e){return x(e)===m},Qf.isPortal=function(e){return x(e)===n},Qf.isProfiler=function(e){return x(e)===o},Qf.isStrictMode=function(e){return x(e)===i},Qf.isSuspense=function(e){return x(e)===d},Qf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Qf.typeOf=x}()),Qf)),Zf.exports}!function(){if(Kf)return $f;Kf=1;var e=qf(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;$f=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var m=s(r);l&&(m=m.concat(l(r)));for(var h=o(t),f=o(r),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||i&&i[b]||f&&f[b]||h&&h[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var eg="undefined"!=typeof document;var tg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===eg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var ng={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 rg(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ig=/[A-Z]|^ms/g,og=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ag=function(e){return 45===e.charCodeAt(1)},sg=function(e){return null!=e&&"boolean"!=typeof e},lg=rg(function(e){return ag(e)?e:e.replace(ig,"-$&").toLowerCase()}),cg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(og,function(e,t,n){return dg={name:t,styles:n,next:dg},t})}return 1===ng[e]||ag(e)||"number"!=typeof t||0===t?t:t+"px"};function ug(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return dg={name:i.name,styles:i.styles,next:dg},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)dg={name:a.name,styles:a.styles,next:dg},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ug(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;sg(s)&&(r+=lg(o)+":"+cg(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)sg(a[l])&&(r+=lg(o)+":"+cg(o,a[l])+";");else{var c=ug(e,t,a);switch(o){case"animation":case"animationName":r+=lg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=dg,l=n(e);return dg=s,ug(e,t,l)}}return n}var dg,pg=/label:\s*([^\s;{]+)\s*(;|$)/g;function mg(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";dg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=ug(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=ug(n,t,e[a]),r)i+=o[a]}pg.lastIndex=0;for(var s,l="";null!==(s=pg.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:dg}}var hg="undefined"!=typeof document,fg=function(e){return e()},gg=!!l.useInsertionEffect&&l.useInsertionEffect,bg=hg&&gg||fg,vg="undefined"!=typeof document,xg=l.createContext("undefined"!=typeof HTMLElement?_f({key:"css"}):null);xg.Provider;var yg=function(e){return t.forwardRef(function(n,r){var i=t.useContext(xg);return e(n,i,r)})};vg||(yg=function(e){return function(n){var r=t.useContext(xg);return null===r?(r=_f({key:"css"}),l.createElement(xg.Provider,{value:r},e(n,r))):e(n,r)}});var wg,Cg,Ig=l.createContext({}),Ng={}.hasOwnProperty,Eg="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Ag=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;tg(t,n,r);var i=bg(function(){return function(e,t,n){tg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);eg||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!eg&&0!==i.length)return i}}(t,n,r)});if(!vg&&void 0!==i){for(var o,a=n.name,s=n.next;void 0!==s;)a+=" "+s.name,s=s.next;return l.createElement("style",((o={})["data-emotion"]=t.key+" "+a,o.dangerouslySetInnerHTML={__html:i},o.nonce=t.sheet.nonce,o))}return null},jg=yg(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Eg],o=[r],a="";"string"==typeof e.className?a=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,o,e.className):null!=e.className&&(a=e.className+" ");var s=mg(o,void 0,l.useContext(Ig));a+=t.key+"-"+s.name;var c={};for(var u in e)Ng.call(e,u)&&"css"!==u&&u!==Eg&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),l.createElement(l.Fragment,null,l.createElement(Ag,{cache:t,serialized:s,isStringTag:"string"==typeof i}),l.createElement(i,c))}),Tg=jg,Sg=function(e,t){var n=arguments;if(null==t||!Ng.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Tg,i[1]=function(e,t){var n={};for(var r in t)Ng.call(t,r)&&(n[r]=t[r]);return n[Eg]=e,n}(e,t);for(var o=2;o<r;o++)i[o]=n[o];return l.createElement.apply(null,i)};function kg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return mg(t)}wg=Sg||(Sg={}),Cg||(Cg=wg.JSX||(wg.JSX={}));const Pg=Math.min,Rg=Math.max,Bg=Math.round,Lg=Math.floor,Og=e=>({x:e,y:e});function Gg(){return"undefined"!=typeof window}function Mg(e){return Fg(e)?(e.nodeName||"").toLowerCase():"#document"}function Dg(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Vg(e){var t;return null==(t=(Fg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Fg(e){return!!Gg()&&(e instanceof Node||e instanceof Dg(e).Node)}function Hg(e){return!!Gg()&&(e instanceof HTMLElement||e instanceof Dg(e).HTMLElement)}function Wg(e){return!(!Gg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Dg(e).ShadowRoot)}const Xg=new Set(["inline","contents"]);function zg(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Zg(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Xg.has(i)}const _g=new Set(["html","body","#document"]);function Zg(e){return Dg(e).getComputedStyle(e)}function Yg(e){const t=function(e){if("html"===Mg(e))return e;const t=e.assignedSlot||e.parentNode||Wg(e)&&e.host||Vg(e);return Wg(t)?t.host:t}(e);return function(e){return _g.has(Mg(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hg(t)&&zg(t)?t:Yg(t)}function Jg(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Yg(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Dg(i);if(o){const e=Ug(a);return t.concat(a,a.visualViewport||[],zg(i)?i:[],e&&n?Jg(e):[])}return t.concat(i,Jg(i,[],n))}function Ug(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $g(e){return t=e,Gg()&&(t instanceof Element||t instanceof Dg(t).Element)?e:e.contextElement;var t}function Kg(e){const t=$g(e);if(!Hg(t))return Og(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Zg(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Hg(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=Bg(n)!==o||Bg(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?Bg(n.width):n.width)/r,s=(o?Bg(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Qg(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=$g(e);let a=Og(1);t&&(a=Kg(e));const s=Og(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Dg(o),n=Ug(t);for(;n&&r&&e!==t;){const e=Kg(n),r=n.getBoundingClientRect(),i=Zg(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Dg(n),n=Ug(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function qg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eb(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=$g(e),u=i||o?[...c?Jg(c):[],...Jg(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Vg(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const h={rootMargin:-Lg(d)+"px "+-Lg(i.clientWidth-(u+p))+"px "+-Lg(i.clientHeight-(d+m))+"px "+-Lg(u)+"px",threshold:Rg(0,Pg(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||qg(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(c,n):null;let p,m=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let f=l?Qg(e):null;return l&&function t(){const r=Qg(e);f&&!qg(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var tb="undefined"!=typeof document?t.useLayoutEffect:function(){},nb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],rb=function(){};function ib(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ob(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(ib(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var ab=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===wh(e)&&null!==e?[e]:[];var t},sb=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,Eh({},Sh(e,nb))},lb=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function cb(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ub(e){return cb(e)?window.pageYOffset:e.scrollTop}function db(e,t){cb(e)?window.scrollTo(0,t):e.scrollTop=t}function pb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rb,i=ub(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;db(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function mb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?db(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&db(e,Math.max(t.offsetTop-i,0))}function hb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var fb=!1,gb={get passive(){return fb=!0}},bb="undefined"!=typeof window?window:{};bb.addEventListener&&bb.removeEventListener&&(bb.addEventListener("p",rb,gb),bb.removeEventListener("p",rb,!1));var vb=fb;function xb(e){return null!=e}function yb(e,t,n){return e?t:n}var wb=["children","innerProps"],Cb=["children","innerProps"];function Ib(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:cb(u=l)?window.innerHeight:u.clientHeight,v=ub(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=g-y,C=b-f,I=w+v,N=d-v-f,E=m-b+v+x,A=v+f-y,j=160;switch(i){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!a)return o&&pb(l,E,j),{placement:"bottom",maxHeight:t};if(!a&&N>=r||a&&C>=r)return o&&pb(l,E,j),{placement:"bottom",maxHeight:a?C-x:N-x};if("auto"===i||a){var T=t,S=a?w:I;return S>=r&&(T=Math.min(S-x-s,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return o&&db(l,E),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(I>=h&&!a)return o&&pb(l,A,j),{placement:"top",maxHeight:t};if(!a&&I>=r||a&&w>=r){var k=t;return(!a&&I>=r||a&&w>=r)&&(k=a?w-y:I-y),o&&pb(l,A,j),{placement:"top",maxHeight:k}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Nb,Eb=function(e){return"auto"===e?"bottom":e},Ab=t.createContext(null),jb=function(e){var n=e.children,r=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,a=e.menuPosition,s=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Ab)||{}).setPortalPlacement,u=t.useRef(null),d=Th(t.useState(i),2),p=d[0],m=d[1],h=Th(t.useState(null),2),f=h[0],g=h[1],b=l.spacing.controlHeight;return tb(function(){var e=u.current;if(e){var t="fixed"===a,n=Ib({maxHeight:i,menuEl:e,minHeight:r,placement:o,shouldScroll:s&&!t,isFixedPosition:t,controlHeight:b});m(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[i,o,a,s,r,c,b]),n({ref:u,placerProps:Eh(Eh({},e),{},{placement:f||Eb(o),maxHeight:p})})},Tb=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Sg("div",mp({},lb(e,"menu",{menu:!0}),{ref:n},r),t)},Sb=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Eh({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},kb=Sb,Pb=Sb,Rb=["size"],Bb=["innerProps","isRtl","size"];var Lb,Ob,Gb="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Mb=function(e){var t=e.size,n=Sh(e,Rb);return Sg("svg",mp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Gb},n))},Db=function(e){return Sg(Mb,mp({size:20},e),Sg("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"}))},Vb=function(e){return Sg(Mb,mp({size:20},e),Sg("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"}))},Fb=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Eh({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Hb=Fb,Wb=Fb,Xb=function(){var e=kg.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_"}}}(Nb||(Lb=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Ob||(Ob=Lb.slice(0)),Nb=Object.freeze(Object.defineProperties(Lb,{raw:{value:Object.freeze(Ob)}})))),zb=function(e){var t=e.delay,n=e.offset;return Sg("span",{css:kg({animation:"".concat(Xb," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},_b=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return Sg("div",mp({ref:i},lb(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Zb=["data"],Yb=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Sg("div",mp({},lb(e,"group",{group:!0}),s),Sg(o,mp({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Sg("div",null,t))},Jb=["innerRef","isDisabled","isHidden","inputClassName"],Ub={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},$b={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Eh({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ub)},Kb=function(e){return Eh({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ub)},Qb=function(e){var t=e.cx,n=e.value,r=sb(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=Sh(r,Jb);return Sg("div",mp({},lb(e,"input",{"input-container":!0}),{"data-value":n||""}),Sg("input",mp({className:t({input:!0},s),ref:i,style:Kb(a),disabled:o},l)))},qb=function(e){var t=e.children,n=e.innerProps;return Sg("div",n,t)};var ev=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Sg(l,{data:r,innerProps:Eh(Eh({},lb(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},Sg(c,{data:r,innerProps:Eh({},lb(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),Sg(u,{data:r,innerProps:Eh(Eh({},lb(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},tv={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Sg(Db,null))},Control:_b,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Sg(Vb,null))},DownChevron:Vb,CrossIcon:Db,Group:Yb,GroupHeading:function(e){var t=sb(e);t.data;var n=Sh(t,Zb);return Sg("div",mp({},lb(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Sg("span",mp({},t,lb(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Qb,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Sh(e,Bb);return Sg("div",mp({},lb(Eh(Eh({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Sg(zb,{delay:0,offset:n}),Sg(zb,{delay:160,offset:!0}),Sg(zb,{delay:320,offset:!n}))},Menu:Tb,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Sg("div",mp({},lb(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,o=e.controlElement,a=e.innerProps,s=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Th(t.useState(Eb(s)),2),p=d[0],m=d[1],h=t.useMemo(function(){return{setPortalPlacement:m}},[]),f=Th(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[o,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);tb(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),o&&c.current&&(u.current=eb(o,c.current,v,{elementResize:"ResizeObserver"in window}))},[o,v]);tb(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==l||!g)return null;var w=Sg("div",mp({ref:y},lb(Eh(Eh({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),a),r);return Sg(Ab.Provider,{value:h},n?i.createPortal(w,n):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Sh(e,Cb);return Sg("div",mp({},lb(Eh(Eh({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=Sh(e,wb);return Sg("div",mp({},lb(Eh(Eh({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:ev,MultiValueContainer:qb,MultiValueLabel:qb,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({role:"button"},n),t||Sg(Db,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return Sg("div",mp({},lb(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Sg("div",mp({},lb(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Sg("div",mp({},lb(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return Sg("div",mp({},lb(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},nv=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function rv(e,t){return e===t||!(!nv(e)||!nv(t))}function iv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!rv(e[n],t[n]))return!1;return!0}for(var ov="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)."}},av=function(e){return Sg("span",mp({css:ov},e))},sv={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},lv=function(e){var n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,a=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,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,w=l.isLoading,C=l["aria-label"],I=l["aria-live"],N=t.useMemo(function(){return Eh(Eh({},sv),d||{})},[d]),E=t.useMemo(function(){var e,t="";if(n&&N.onChange){var r=n.option,i=n.options,o=n.removedValue,a=n.removedValues,l=n.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||a||void 0,m=d?d.map(p):[],h=Eh({isDisabled:c&&f(c,s),label:u,labels:m},n);t=N.onChange(h)}return t},[n,N,f,s,p]),A=t.useMemo(function(){var e="",t=r||i,n=!!(r&&s&&s.includes(r));if(t&&N.onFocus){var a={focused:t,label:p(t),isDisabled:f(t,s),isSelected:n,options:o,context:t===r?"menu":"value",selectValue:s,isAppleDevice:u};e=N.onFocus(a)}return e},[r,i,p,f,N,o,s,u]),j=t.useMemo(function(){var e="";if(b&&v.length&&!w&&N.onFilter){var t=x({count:o.length});e=N.onFilter({inputValue:m,resultsMessage:t})}return e},[o,m,b,N,v,x,w]),T="initial-input-focus"===(null==n?void 0:n.action),S=t.useMemo(function(){var e="";if(N.guidance){var t=i?"value":b?"menu":"input";e=N.guidance({"aria-label":C,context:t,isDisabled:r&&f(r,s),isMulti:h,isSearchable:g,tabSelectsValue:y,isInitialFocus:T})}return e},[C,r,i,h,f,g,b,N,s,y,T]),k=Sg(t.Fragment,null,Sg("span",{id:"aria-selection"},E),Sg("span",{id:"aria-focused"},A),Sg("span",{id:"aria-results"},j),Sg("span",{id:"aria-guidance"},S));return Sg(t.Fragment,null,Sg(av,{id:c},T&&k),Sg(av,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!T&&k))},cv=[{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źẑżžẓẕƶȥɀⱬꝣ"}],uv=new RegExp("["+cv.map(function(e){return e.letters}).join("")+"]","g"),dv={},pv=0;pv<cv.length;pv++)for(var mv=cv[pv],hv=0;hv<mv.letters.length;hv++)dv[mv.letters[hv]]=mv.base;var fv=function(e){return e.replace(uv,function(e){return dv[e]})},gv=function(e,t){void 0===t&&(t=iv);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(fv),bv=function(e){return e.replace(/^\s+|\s+$/g,"")},vv=function(e){return"".concat(e.label," ").concat(e.value)},xv=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Eh({ignoreCase:!0,ignoreAccents:!0,stringify:vv,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?bv(n):n,u=s?bv(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=gv(c),u=fv(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},yv=["innerRef"];function wv(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=Th(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Th(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Sh(e,yv),"onExited","in","enter","exit","appear");return Sg("input",mp({ref:t},n,{css:kg({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Cv=["boxSizing","height","overflow","paddingRight","position"],Iv={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Nv(e){e.cancelable&&e.preventDefault()}function Ev(e){e.stopPropagation()}function Av(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function jv(){return"ontouchstart"in window||navigator.maxTouchPoints}var Tv=!("undefined"==typeof window||!window.document||!window.document.createElement),Sv=0,kv={capture:!1,passive:!1};var Pv=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Rv="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Bv(e){var n=e.children,r=e.lockEnabled,i=e.captureEnabled,o=function(e){var n=e.isEnabled,r=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,s=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,m=u.current,h=t>0,f=d-p-c,g=!1;f>t&&s.current&&(i&&i(e),s.current=!1),h&&l.current&&(a&&a(e),l.current=!1),h&&t>f?(r&&!s.current&&r(e),m.scrollTop=d,g=!0,s.current=!0):!h&&-t>c&&(o&&!l.current&&o(e),m.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[r,i,o,a]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),m=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),h=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!vb&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",h,t)}},[h,m,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",h,!1))},[h,m,p]);return t.useEffect(function(){if(n){var e=u.current;return f(e),function(){g(e)}}},[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var n=e.isEnabled,r=e.accountForScrollbars,i=void 0===r||r,o=t.useRef({}),a=t.useRef(null),s=t.useCallback(function(e){if(Tv){var t=document.body,n=t&&t.style;if(i&&Cv.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&Sv<1){var r=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+r||0;Object.keys(Iv).forEach(function(e){var t=Iv[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&jv()&&(t.addEventListener("touchmove",Nv,kv),e&&(e.addEventListener("touchstart",Av,kv),e.addEventListener("touchmove",Ev,kv))),Sv+=1}},[i]),l=t.useCallback(function(e){if(Tv){var t=document.body,n=t&&t.style;Sv=Math.max(Sv-1,0),i&&Sv<1&&Cv.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&jv()&&(t.removeEventListener("touchmove",Nv,kv),e&&(e.removeEventListener("touchstart",Av,kv),e.removeEventListener("touchmove",Ev,kv)))}},[i]);return t.useEffect(function(){if(n){var e=a.current;return s(e),function(){l(e)}}},[n,s,l]),function(e){a.current=e}}({isEnabled:r});return Sg(t.Fragment,null,r&&Sg("div",{onClick:Pv,css:Rv}),n(function(e){o(e),a(e)}))}var Lv="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)."}},Ov=function(e){var t=e.name,n=e.onFocus;return Sg("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Lv,value:"",onChange:function(){}})};function Gv(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 Mv(){return Gv(/^Mac/i)}function Dv(){return Gv(/^iPhone/i)||Gv(/^iPad/i)||Mv()&&navigator.maxTouchPoints>1}var Vv={clearIndicator:Wb,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return Eh({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Hb,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return Eh({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Eh({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return Eh(Eh({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},$b),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return Eh({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:Pb,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return Eh((Ih(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Ih(n,"position","absolute"),Ih(n,"width","100%"),Ih(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Eh({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return Eh({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return Eh({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return Eh({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:kb,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return Eh({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Eh({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return Eh({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return Eh({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Fv={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}},Hv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:hb(),captureMenuScroll:!hb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:xv(),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 Wv(e,t,n,r){return{type:"option",data:t,isDisabled:$v(e,t,n),isSelected:Kv(e,t,n),label:Jv(e,t),value:Uv(e,t),index:r}}function Xv(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Wv(e,n,t,r)}).filter(function(t){return Zv(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Wv(e,n,t,r);return Zv(e,o)?o:void 0}).filter(xb)}function zv(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Gh(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function _v(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Gh(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 Zv(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!qv(e)||!o)&&Qv(e,{label:a,value:s,data:i},r)}var Yv=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Jv=function(e,t){return e.getOptionLabel(t)},Uv=function(e,t){return e.getOptionValue(t)};function $v(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Kv(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Uv(e,t);return n.some(function(t){return Uv(e,t)===r})}function Qv(e,t,n){return!e.filterOption||e.filterOption(t,n)}var qv=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ex=1,tx=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&&Rh(e,t)}(n,t.Component);var e=function(e){var t=Lh();return function(){var n,r=Bh(e);if(t){var i=Bh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Oh(this,n)}}(n);function n(t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Gh(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=yb(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(yb(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=yb(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Yv(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return _v(Xv(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ob.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Jv(r.props,e)},r.getOptionValue=function(e){return Uv(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Vv[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Eh(Eh({},tv),e.components);var e},r.buildCategorizedOptions=function(){return Xv(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return zv(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Eh({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&cb(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return qv(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=r.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ex),r.state.selectValue=ab(t.value),t.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=Yv(i,o[a])}return r}return function(e,t,n){t&&Ph(e.prototype,t),n&&Ph(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{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&&mb(this.menuListRef,this.focusedOptionRef),(Mv()||Dv())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(mb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Fv):Eh(Eh({},Fv),this.props.theme):Fv}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return $v(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Kv(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Qv(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,o=e.tabIndex,a=e.form,s=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,f=r||this.getElementId("input"),g=Eh(Eh(Eh({"aria-autocomplete":"list","aria-expanded":s,"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||""},s&&{"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?l.createElement(u,mp({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:a,type:"text",value:i},g)):l.createElement(wv,mp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:rb,onFocus:this.onInputFocus,disabled:t,tabIndex:o,inputMode:"none",form:a,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,a=t.SingleValue,s=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!d)return h?null:l.createElement(s,mp({},c,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(m)return b.map(function(t,a){var s=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,mp({},c,{components:{Container:r,Label:i,Remove:o},isFocused:s,isDisabled:p,key:u,index:a,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 y=b[0];return l.createElement(a,mp({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var a={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,mp({},t,{innerProps:a,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!e||!i)return null;return l.createElement(e,mp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return l.createElement(n,mp({},r,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,mp({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,o=t.MenuList,a=t.MenuPortal,s=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,f=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,x=m.maxMenuHeight,y=m.menuIsOpen,w=m.menuPlacement,C=m.menuPosition,I=m.menuPortalTarget,N=m.menuShouldBlockScroll,E=m.menuShouldScrollIntoView,A=m.noOptionsMessage,j=m.onMenuScrollToTop,T=m.onMenuScrollToBottom;if(!y)return null;var S,k=function(t,n){var r=t.type,i=t.data,o=t.isDisabled,a=t.isSelected,s=t.label,c=t.value,m=p===i,h=o?void 0:function(){return e.onOptionHover(i)},f=o?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:a};return l.createElement(u,mp({},d,{innerProps:b,data:i,isDisabled:o,isSelected:a,key:g,label:s,type:r,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())S=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,o=t.options,a=t.index,s="".concat(e.getElementId("group"),"-").concat(a),c="".concat(s,"-heading");return l.createElement(n,mp({},d,{key:s,data:i,options:o,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return k(e,"".concat(a,"-").concat(e.index))}))}if("option"===t.type)return k(t,"".concat(t.index))});else if(g){var P=b({inputValue:f});if(null===P)return null;S=l.createElement(s,d,P)}else{var R=A({inputValue:f});if(null===R)return null;S=l.createElement(c,d,R)}var B={minMenuHeight:v,maxMenuHeight:x,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:E},L=l.createElement(jb,mp({},d,B),function(t){var n=t.ref,r=t.placerProps,a=r.placement,s=r.maxHeight;return l.createElement(i,mp({},d,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:a}),l.createElement(Bv,{captureEnabled:h,onTopArrive:j,onBottomArrive:T,lockEnabled:N},function(t){return l.createElement(o,mp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:s,focusedOption:p}),S)}))});return I||"fixed"===C?l.createElement(a,mp({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,o=t.name,a=t.required,s=this.state.selectValue;if(a&&!this.hasValue()&&!r)return l.createElement(Ov,{name:o,onFocus:this.onValueInputFocus});if(o&&!r){if(i){if(n){var c=s.map(function(t){return e.getOptionValue(t)}).join(n);return l.createElement("input",{name:o,type:"hidden",value:c})}var u=s.length>0?s.map(function(t,n){return l.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):l.createElement("input",{name:o,type:"hidden",value:""});return l.createElement("div",null,u)}var d=s[0]?this.getOptionValue(s[0]):"";return l.createElement("input",{name:o,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.isFocused,a=t.selectValue,s=this.getFocusableOptions();return l.createElement(lv,mp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:o,selectValue:a,focusableOptions:s,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,o=this.props,a=o.className,s=o.id,c=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return l.createElement(r,mp({},p,{className:a,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),l.createElement(t,mp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),l.createElement(i,mp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,mp({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=ab(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return zv(Xv(e,t))}(e,h):[],b=d?_v(Xv(e,h),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:h,focusedOption:x,focusedOptionId:Yv(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,C=a&&s;return a&&!C&&(w={value:yb(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),Eh(Eh(Eh({},f),y),{},{prevProps:e,ariaSelection:w,prevWasFocused:C})}}]),n}();tx.defaultProps=Hv;var nx=t.forwardRef(function(e,n){var r=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,i=e.defaultMenuIsOpen,o=void 0!==i&&i,a=e.defaultValue,s=void 0===a?null:a,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,h=e.value,f=Sh(e,kh),g=Th(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],x=Th(t.useState(void 0!==c?c:o),2),y=x[0],w=x[1],C=Th(t.useState(void 0!==h?h:s),2),I=C[0],N=C[1],E=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),A=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),j=t.useCallback(function(){"function"==typeof m&&m(),w(!0)},[m]),T=t.useCallback(function(){"function"==typeof p&&p(),w(!1)},[p]),S=void 0!==l?l:b,k=void 0!==c?c:y,P=void 0!==h?h:I;return Eh(Eh({},f),{},{inputValue:S,menuIsOpen:k,onChange:E,onInputChange:A,onMenuClose:T,onMenuOpen:j,value:P})}(e);return l.createElement(tx,mp({ref:n},r))}),rx=nx;const ix={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},ox=l.default.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:m,helperText:h,label:f,labelClassName:g,singleValueClassName:b,size:v="md",variant:x="default","data-cy":y,"data-testid":w,...C})=>{const I=t.useMemo(()=>xv(u),[u]),N=t.useMemo(()=>({control:({isFocused:e})=>{var t;return Ee(null!==(t=ix[v])&&void 0!==t?t:ix.md,"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&&!d,"border-input-border-critical shadow-none":d},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ee(a?"text-text text-body1 whitespace-normal":"text-text-secondary",b),menu:()=>Ee("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ee("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,m,n,d,v,b]);return"unstyled"===x?e.jsx(rx,{options:n,value:o,placeholder:l?`${s}*`:s,onChange:c,filterOption:I,className:Ee("rounded-xl",r),classNames:N,"data-cy":y,"data-testid":w,...C}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Ee("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(rx,{options:n,value:o,placeholder:l?`${s}*`:s,onChange:c,filterOption:I,className:Ee("rounded-xl",r),classNames:N,"data-cy":y,"data-testid":w,...C}),p&&e.jsx(qn,{className:"footnote mt-1 text-text-critical",children:p}),!p&&h&&e.jsx(qn,{className:"footnote mt-1 text-text-info",children:h})]})});ox.displayName="Select";const ax={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"}};function sx(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function lx(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const cx=({fill:t="#FFFEEF"})=>{const n=`logo-cream-clip-${l.default.useId()}`;return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[e.jsxs("g",{fill:t,clipPath:`url(#${n})`,children:[e.jsx("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e.jsx("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e.jsx("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e.jsx("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:n,children:e.jsx("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},ux={white:"bg-white",navy:"bg-[#00002D] text-white",green:"bg-[#26B170] text-white",blue:"bg-[#07B2E2] text-white",purple:"bg-[#931D69] text-white",yellow:"bg-[#F5FF1E]",cream500:"bg-[#FFFEEF]",gray100:"bg-bg-fill-secondary",transparent:""},dx=["blue","green","yellow","purple","white","navy"],px={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},mx={IP_PHONE_NUMBER:"ip_or_phone",TARGET_EMAIL:"target_email",REQUIRED_FIELDS_MISSING:"Required fields missing",PROVIDE_AT_LEAST_ONE:"Please provide at least one",ONE_REQUIRED_FIELD:"At least One Required"},hx="* Please fill all required fields and checkboxes",fx={phone:/^(?:\d{10}|\(\d{3}\)\s\d{3}-\d{4}|\d{3}-\d{3}-\d{4}|\+1\s\d{3}-\d{3}-\d{4})$/,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,7}:|(?:[0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,5}(?::[0-9A-Fa-f]{1,4}){1,2}|(?:[0-9A-Fa-f]{1,4}:){1,4}(?::[0-9A-Fa-f]{1,4}){1,3}|(?:[0-9A-Fa-f]{1,4}:){1,3}(?::[0-9A-Fa-f]{1,4}){1,4}|(?:[0-9A-Fa-f]{1,4}:){1,2}(?::[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:(?:(?::[0-9A-Fa-f]{1,4}){1,6})|:(?:(?::[0-9A-Fa-f]{1,4}){1,7}|:))$/,email:/^[a-zA-Z0-9._%+-]+@((?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{1,}|(?:\d{1,3}\.){3}\d{1,3})$/},gx=t.createContext(void 0),bx=({state:n,checked:r=!1,onChange:i,className:o,label:a,labelClassName:s,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:m=!1,error:h=!1,"data-cy":f,renderInfoIcon:g,...b})=>{var v,x;const y=p||"disabled"===n,w=d||c,C=Ee("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",o),I=t.useCallback(e=>{y||i&&(1===i.length?i(e.target.checked):i())},[y,i]);return e.jsxs("div",{className:Ee("flex items-center gap-3",l),children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"checkbox",id:w,name:c,value:u,checked:r,onChange:I,disabled:y,required:m,className:"peer sr-only","data-cy":f,...b}),e.jsx("label",{htmlFor:w,className:Ee("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:r?e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{width:"24",height:"24",rx:"4",className:Ee(y?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e.jsx("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Ee(y?"fill-checkbox-bg-surface-disabled":"fill-white")}),e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e.jsx("label",{htmlFor:w,className:Ee("cursor-pointer",h&&"text-text-critical",s),children:a}),g&&e.jsx(li,{type:"button",onClick:g.onClick,"data-testid":g.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!==(v=g.iconSize)&&void 0!==v?v:24,height:null!==(x=g.iconSize)&&void 0!==x?x:24,viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};bx.displayName="Checkbox";const vx=t=>{const{name:n,value:r,label:i,subText:o,checked:a,onChange:s,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:m="",disabled:h,...f}=t,g=()=>null==s?void 0:s(r||n);return e.jsxs("label",{htmlFor:n,className:Ee("flex items-center",l),"data-cy":p,...d,children:[e.jsx("input",{className:"hidden",type:"radio",name:n,value:r,checked:a,readOnly:!0,disabled:h,...f}),e.jsx(li,{type:"button",onClick:g,disabled:h,className:Ee("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",a&&"border-[1px] border-solid border-border-brand",h&&"opacity-50"),children:a&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(li,{type:"button",onClick:g,disabled:h,tabIndex:i?0:-1,children:[e.jsx("div",{className:Ee("text-body2 font-normal",m),children:i}),e.jsx("div",{className:"text-body1 text-text-info",children:o})]})]})};vx.displayName="RadioButton";const xx=e=>{const t=(e||"").replace(/\D/g,"");return t.length<=3?t:t.length<=6?`${t.slice(0,3)}-${t.slice(3)}`:t.length<=9?`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`:`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6,10)}`},yx=(t,n,r="footnote")=>e.jsxs(qn,{as:"div",className:Ee(r,"validation-label mb-1"),children:[t,n?e.jsx("span",{className:"text-text-critical",children:"*"}):null]}),wx=n=>{const{requiredField:r,handleInputChange:i,fieldId:o,displayName:a,hasError:s}=n,[l,c]=t.useState(!1);return e.jsx(bx,{name:o,id:o,checked:l,error:s,onChange:()=>{c(e=>(i(!e),!e))},labelClassName:"footnote text-text-secondary",label:e.jsxs(e.Fragment,{children:[a,r?e.jsx("span",{className:"text-text-critical",children:"*"}):null]})})},Cx={Checkbox:t=>{const{formData:n,handleInputChange:r,fieldId:i,dataSource:o,isConsentCheckbox:a,hasError:s}=t;if(a)return e.jsx(wx,{...t});const l=null==n?void 0:n[i],c="string"==typeof l&&l.length>0?l.split(","):[];return e.jsx("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:(o||[]).map((t,n)=>e.jsx("div",{className:"w-full lg:w-[384px]",children:e.jsx(bx,{name:i,label:t.label,value:t.value,checked:c.includes(t.value),onChange:()=>(e=>{let t;t=c.includes(e)?c.filter(t=>t!==e):[...c,e],r(t.join(","))})(t.value),error:s,labelClassName:"footnote"})},`${i}-${n}`))})},Imageupload:n=>{const{handleInputChange:r,loading:i}=n,[o,a]=t.useState([]),[s,l]=t.useState([]),[c,u]=t.useState(!1),[d,p]=t.useState(null),m=t.useRef(null),h=t.useContext(gx);t.useEffect(()=>{const e=o.map(e=>e.type.startsWith("image/")?URL.createObjectURL(e):"");return l(e),()=>{e.forEach(e=>{e&&URL.revokeObjectURL(e)})}},[o]);const f=e=>{const t=[];if(e&&e.length){if(Array.from(e).forEach(e=>{e.type.startsWith("image/")&&t.push(e)}),0===t.length)return void p("Only image files are allowed.");if(o.length+t.length>5)return void p("You can only upload a maximum of 5 files.");const n=[...o,...t];if(!((e,t)=>{const n=e.reduce((e,t)=>e+t.size,0);return{total:n,ok:n<=t}})(n,20971520).ok)return void p("Total file size should not be more than 20 MB.");null==h||h.setFiles(n),a(n),r(n),p(null)}};return e.jsx("div",{children:e.jsxs("div",{onDragOver:e=>{e.preventDefault(),e.stopPropagation(),u(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),u(!1)},onDrop:e=>{e.preventDefault(),e.stopPropagation(),u(!1),e.dataTransfer.files&&e.dataTransfer.files.length>0&&(f(e.dataTransfer.files),e.dataTransfer.clearData())},className:Ee("relative flex flex-col items-center justify-center rounded-xl border border-input-border bg-white px-4 py-10 text-center transition",c?"border-input-border-selected bg-bg-surface-active":"hover:border-input-border-hover"),children:[e.jsx("p",{className:"mb-3 text-sm text-text-secondary",children:"Drop files here or"}),e.jsxs("button",{type:"button",onClick:()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.click()},className:"inline-flex items-center gap-2 rounded-md bg-white px-4 py-2 text-sm font-medium text-text shadow-sm ring-1 ring-inset ring-input-border hover:bg-bg-surface-hover",children:[e.jsx(Qn,{name:"upload",weight:"700",size:24}),"Choose files"]}),e.jsx("input",{ref:m,type:"file",accept:"image/*",multiple:!0,name:"files",onChange:e=>{e.target.files&&e.target.files.length>0&&(f(e.target.files),e.target.value="")},className:"pointer-events-none absolute inset-0 h-0 w-0 opacity-0","aria-hidden":!0,tabIndex:-1}),d&&e.jsx("p",{className:"mt-2 text-sm text-text-critical",children:d}),o.length>0&&e.jsx("div",{className:"mt-8",children:e.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4",children:o.map((t,n)=>e.jsxs("li",{className:"group relative rounded-xl border border-input-border p-2",children:[t.type.startsWith("image/")&&s[n]?e.jsx("img",{src:s[n],alt:t.name,className:"h-28 w-full rounded object-cover"}):e.jsx("div",{className:"h-28 w-full rounded bg-bg-surface-active"}),e.jsxs("div",{className:"mt-2 flex items-center justify-between",children:[e.jsx("span",{className:"max-w-[50%] truncate text-sm text-text",title:t.name,children:t.name}),i?e.jsx("button",{type:"button",disabled:!0,className:"cursor-default text-sm text-text-secondary",children:"Remove"}):e.jsx("button",{type:"button",onClick:()=>(e=>{const t=[...o];t.splice(e,1),a(t),null==h||h.setFiles(t),r(t)})(n),className:"text-sm text-text-critical hover:underline",children:"Remove"})]})]},n))})})]})})},Datepicker:t=>{var n;const{displayName:r,handleInputChange:i,errorClass:o,formData:a,fieldId:s}=t;return e.jsx("div",{className:"w-full",children:e.jsx("input",{type:"datetime-local","aria-label":r,value:null!==(n=null==a?void 0:a[s])&&void 0!==n?n:"",onChange:e=>i(e.target.value),className:Ee("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",o)})})},Dropdown:n=>{var r;const{formData:i,handleInputChange:o,fieldId:a,dataSource:s,existingDataSource:l,errorClass:c}=n,[u,d]=t.useState(null!=s?s:[]),p=t.useContext(gx),m=null==p?void 0:p.resolveExistingDataSource;t.useEffect(()=>{(async()=>{var e;if((null==s||s.length<=0)&&l){if("City List"===l)return;if(!m)return;try{const e=await m(l,{selectedState:null==p?void 0:p.selectedState});d(e||[])}catch(t){null===(e=null==p?void 0:p.onError)||void 0===e||e.call(p,{type:"resolve_data_source",error:t,metadata:{existingDataSource:l}})}}})()},[s,l]),t.useEffect(()=>{if("City List"===l&&(o(null),d([]),(null==p?void 0:p.selectedState)&&m)){const e=async()=>{var e;try{const e=await m("City List",{selectedState:null==p?void 0:p.selectedState});d(e||[])}catch(t){null===(e=null==p?void 0:p.onError)||void 0===e||e.call(p,{type:"resolve_data_source",error:t,metadata:{existingDataSource:"City List"}})}};e()}},[null==p?void 0:p.selectedState,l]);const h=(null==i?void 0:i[a])?u.find(e=>e.value===(null==i?void 0:i[a])):null;return e.jsx(ox,{className:Ee("body3",c),controlClassName:"px-4 [&>div]:p-0",options:u,value:null!=h?h:void 0,onChange:o,"aria-label":null!==(r=n.displayName)&&void 0!==r?r:"Select"})},Radio:t=>{const{requiredField:n,formData:r,handleInputChange:i,fieldId:o,hasError:a,dataSource:s}=t;return e.jsx("div",{className:"mt-6 flex flex-col gap-8 sm:flex-row",children:(s||[]).map((t,s)=>e.jsx("div",{className:"w-full lg:w-[384px]",children:e.jsx(vx,{name:o,label:t.label,value:t.value,checked:(null==r?void 0:r[o])===t.value,hasError:a,onChange:i,required:n,labelClassName:"footnote"})},s))})},Text:t=>{var n,r;const{displayName:i,formData:o,textInputType:a,handleInputChange:s,fieldId:l,errorClass:c}=t;return"phone"===a?e.jsx("div",{className:"w-full",children:e.jsx(Qd,{"aria-label":i,name:l,type:"tel",value:o[l]?xx(o[l]):"",onChange:s,className:Ee("w-full",c),maxLength:14})}):"multiline"===a?e.jsx("div",{className:"w-full",children:e.jsx("textarea",{"aria-label":i,name:l,value:null!==(n=null==o?void 0:o[l])&&void 0!==n?n:"",onChange:s,rows:4,className:Ee("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",c)})}):e.jsx("div",{className:"w-full",children:e.jsx(Qd,{"aria-label":i,name:l,value:null!==(r=null==o?void 0:o[l])&&void 0!==r?r:"",onChange:s,className:Ee("w-full",c)})})}},Ix=n=>{const r=t.useContext(gx),{formData:i,setFormData:o,submitErrorFields:a,fieldId:s,displayName:l,requiredField:c,formFieldsToShow:u=[],dataSource:d,note:p}=n,[m,h]=t.useState(!1),[f,g]=t.useState({fieldId:"",errorMessage:""}),b=Cx.Radio;if(!b)return null;const v=a.includes(s);let x="";v&&(x="Datepicker"===s||"Dropdown"===s?"border border-border-critical border-solid rounded-xl":"border border-border-critical");return e.jsxs("div",{className:"w-full",children:[e.jsxs("div",{className:"mb-4",children:[yx(l,c),e.jsx(b,{displayName:l,requiredField:c,formData:i,fieldId:s,handleInputChange:e=>{g({fieldId:"",errorMessage:""}),null==r||r.setHasError(!1),h("yes"===(null==e?void 0:e.toLowerCase())),o(t=>({...t,[s]:e}))},error:f,hasError:v,dataSource:d,errorClass:x}),f.fieldId===s&&f.errorMessage&&e.jsx(qn,{as:"div",className:"footnote mt-1 text-text-critical",children:f.errorMessage}),p&&e.jsx(qn,{as:"div",className:"footnote mt-1",children:p})]}),e.jsx("div",{className:"transition duration-300 ease-in-out "+(m?"translate-y-0 opacity-100":"translate-y-4 opacity-0"),children:m&&kx(!1,u,i,o,a)})]})},Nx=n=>{var r;const i=t.useContext(gx),{loading:o,formData:a,setFormData:s,submitErrorFields:l,isGrouped:c=!1,fieldId:u,fieldType:d,fieldClassName:p,displayName:m,requiredField:h,textInputType:f,errorMessage:g,dataSource:b,existingDataSource:v,note:x,noteClassName:y,validationNote:w,validationGroupId:C,validationType:I,applyRegularExpression:N,regexPattern:E}=n,[A,j]=t.useState({fieldId:"",errorMessage:""}),T=(d?null===(r=null==i?void 0:i.fieldComponentOverrides)||void 0===r?void 0:r[d]:void 0)||(d?Cx[d]:void 0);if(!T)return null;const S=C&&I&&!c,k="Checkbox"===d&&!b&&!v,P=l.includes(u);let R="";P&&(R="Datepicker"===u||"Dropdown"===u?"border border-border-critical border-solid rounded-xl":"border border-border-critical");const B=(e,t)=>{j({fieldId:e,errorMessage:t})},L=(e,t)=>{s(n=>({...n,[e]:t}))};return e.jsxs("div",{className:Ee(S?"groupingField rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1":"",(null==p?void 0:p.split("|")[1])||"w-full"),children:[S&&!c?yx(w||mx.PROVIDE_AT_LEAST_ONE,!0,"body2"):null,!k&&yx(m,h),e.jsx("div",{className:"Checkbox"===d||"Radio"===d?k?"":"mt-6":"",children:e.jsx(T,{loading:o,displayName:m,requiredField:h,formData:a,fieldId:u,textInputType:f,handleInputChange:e=>{var t;if(null==i||i.clearFieldError(u),j({fieldId:"",errorMessage:""}),null==i||i.setHasError(!1),"Checkbox"===d||"Radio"===d)L(u,e);else if("Dropdown"===d)L(u,null==e?void 0:e.value),"State List"===v&&(null==i||i.setSelectedState(e));else if("Datepicker"===d)e?L(u,e):(B(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||""));else{if("Imageupload"===d){const t=Array.isArray(e)?e:[];return null==i||i.setFiles(t),void L("files",t)}{const{name:n,value:r}=e.target;if(!r)return void L(n,r);if("phone"===f){const t=xx(r).replace(/\D/g,"");return L(n,t),e.target.value=t,void(10!==t.length&&(B(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||"")))}if("email"!==f||(e=>{const[,t]=e.split("@");return!(!t||t.includes(".."))&&fx.email.test(e)})(r)||(B(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||"")),N&&E)try{new RegExp(E).test(r)||""===r||(B(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||""))}catch(e){null===(t=null==i?void 0:i.onError)||void 0===t||t.call(i,{type:"invalid_regex_pattern",error:e,metadata:{fieldId:u,regexPattern:E}})}L(n,r)}}},dataSource:b,error:A,errorClass:R,hasError:P,existingDataSource:v,isConsentCheckbox:k,"data-testid":"form-component"})}),A.fieldId===u&&A.errorMessage&&e.jsx(qn,{as:"div",className:"footnote text-text-critical",children:A.errorMessage}),x&&e.jsx(qn,{as:"div",className:Ee("footnote",y),children:x})]})},Ex=e=>"formField"===e.itemType,Ax=e=>"conditional"===e.itemType,jx=(e,t=!1,n={})=>{const r=((e,t)=>{const n=e.filter(Ax).flatMap(e=>{const n=t[e.fieldId];return"string"==typeof n&&"yes"===n.toLowerCase()?e.formFieldsToShow:[]});return[...e,...n]})(e,n);return r.filter(Ex).map(e=>{if(t)return{[e.fieldId]:e.sftpFieldId};const{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}=e;return{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}})},Tx=(e,t)=>{const n={};return e.forEach(e=>{const{fieldId:r,formSection:i}=e;i&&"string"==typeof i&&(n[i]||(n[i]=[]),r in t&&n[i].push({[r]:t[r]}))}),n},Sx=(t,n,r,i,o,a,s=!1)=>"formField"===t.itemType?e.jsx(Nx,{loading:r,...t,formData:i,setFormData:o,submitErrorFields:a,isGrouped:s},n):"conditional"===t.itemType?e.jsx(Ix,{...t,formData:i,setFormData:o,submitErrorFields:a},n):e.jsx(l.default.Fragment,{children:t.content},n),kx=(t,n,r,i,o)=>(e=>{const t=[];let n=0;for(;n<e.length;){const r=e[n];if(!Ex(r)){t.push({type:"single",fields:[r]}),n++;continue}const i=r.validationGroupId;if(i){const o=[];let a=n;for(;a<e.length;){const t=e[a];if(!Ex(t)||t.validationGroupId!==i)break;o.push(t),a++}const s={type:"validationGroup",validationGroupId:i,validationNote:r.validationNote,validationType:r.validationType,subGroups:[]};let l=0;for(;l<o.length;){const e=o[l];if(!1===e.fieldWidth){const t=o[l+1];t&&!1===t.fieldWidth?(s.subGroups.push({type:"double",fields:[e,t]}),l+=2):(s.subGroups.push({type:"single",fields:[e]}),l++)}else s.subGroups.push({type:"single",fields:[e]}),l++}t.push(s),n=a}else if(!1===r.fieldWidth){const i=e[n+1];i&&Ex(i)&&!1===i.fieldWidth&&!i.validationGroupId?(t.push({type:"double",fields:[r,i]}),n+=2):(t.push({type:"single",fields:[r]}),n++)}else t.push({type:"single",fields:[r]}),n++}return t})(n).map((n,a)=>{var s,l;if("validationGroup"===n.type)return e.jsxs("div",{className:"mb-0 w-full rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1",children:[n.validationNote&&e.jsxs(qn,{as:"div",className:"validation-label body3 mb-3 mt-4 sm:mt-5",children:[n.validationNote,n.validationType===mx.ONE_REQUIRED_FIELD?e.jsx("span",{className:"text-text-critical",children:"*"}):null]}),n.subGroups.map((n,a)=>"single"===n.type?e.jsx("div",{className:"mb-0 w-full",children:Sx(n.fields[0],`subgroup-field-${a}`,t,r,i,o,!0)},`subgroup-${a}`):e.jsxs("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e.jsx("div",{className:"w-full lg:flex-1",children:Sx(n.fields[0],`subgroup-field-${a}-0`,t,r,i,o,!0)}),e.jsx("div",{className:"w-full lg:flex-1",children:Sx(n.fields[1],`subgroup-field-${a}-1`,t,r,i,o,!0)})]},`subgroup-${a}`))]},`validation-group-${a}`);if("single"===n.type){const c=n.fields[0],u="formField"===c.itemType?`${null!==(l=null===(s=c.fieldClassName)||void 0===s?void 0:s.split("|")[0])&&void 0!==l?l:""} mb-0 w-full`:"w-full";return e.jsx("div",{className:u,children:Sx(c,`group-field-${a}`,t,r,i,o)},`group-${a}`)}return e.jsxs("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e.jsx("div",{className:"w-full lg:flex-1",children:Sx(n.fields[0],`group-field-${a}-0`,t,r,i,o)}),e.jsx("div",{className:"w-full lg:flex-1",children:Sx(n.fields[1],`group-field-${a}-1`,t,r,i,o)})]},`group-${a}`)}),Px=t=>{const{color:n="#fff",size:r="medium"}=t;return e.jsxs("div",{role:"status",className:"relative flex flex-row items-center",children:[e.jsxs("svg",{"aria-hidden":"true",className:Ee("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[r],t.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:n,children:[e.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e.jsx("span",{className:"sr-only",children:"Loading..."})]})};Px.displayName="Spinner";class Rx extends Error{constructor(e,t){super(e),this.name="FormValidationError",this.invalidFields=t}}class Bx extends Error{constructor(e,t,n){super(e),this.name="FormSubmissionError",this.errorActions=t,this.isCompleteFailure=n}}const Lx=e=>String(e).padStart(2,"0"),Ox=e=>{const t=Lx(e.getMonth()+1),n=Lx(e.getDate()),r=e.getFullYear();let i=e.getHours();const o=i>=12?"PM":"AM";return i=i%12||12,`${t}/${n}/${r} ${i}:${Lx(e.getMinutes())} ${o}`};exports.Accordion=({items:n,title:r,anchorId:i,background:o="white",enableHeading:a=!1,maxWidth:s=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[p,m]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);m(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id:i,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:e.jsxs("div",{className:""+(s?"max-w-120 xl:mx-auto":""),children:[e.jsx(qn,{as:a?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,r)=>{const i=t.anchorId||`item-${r}`,o=t.anchorId?p.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx(ui,{title:t.title,defaultOpen:o,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,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void m(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(qn,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx(di,{className:"my-6 md:my-10"},`divider-${r}`)]},i)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:r="yellow",cta:i,navHeight:o,isVisible:a,renderCheckPlans:s}=t,l=ax[null==r?void 0:r.toLowerCase()]||ax.yellow;if(!a)return null;const c=(null==i?void 0:i.buttonLabel)||"Check plans",u=null==s?void 0:s({ctaText:c,buttonVariant:null==i?void 0:i.buttonVariant,showButtonAs:"solid",cta:i});return e.jsxs("div",{style:{top:`${o}px`},className:Ee(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${l.bg} text-${l.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.jsx(qn,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:n}),u?e.jsx("div",{children:u}):null]})},exports.AnchoredBottomBanner=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:a,ctaButtonLink:s,ctaButtonTarget:l,anchorId:u="anchored-banner",enableCountdownTimer:d,countdownStartDateTime:p,countdownEndDateTime:m})=>{const h=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",f="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",g=t.useMemo(()=>sx(m),[m]),b=t.useMemo(()=>sx(p),[p]),v=t.useMemo(()=>!(!d||void 0===g)&&((!p||void 0!==b)&&(!(void 0!==b&&b>=g)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:p,countdownEndDateTime:m}),!1))),[d,g,b,p,m]),[x,y]=t.useState(()=>Date.now()),w=t.useRef(null),C=t.useCallback(()=>{null!==w.current&&(window.clearInterval(w.current),w.current=null)},[]);t.useEffect(()=>{if(v)return w.current=window.setInterval(()=>{const e=Date.now();void 0!==g&&e>=g&&C(),y(e)},1e3),C;C()},[v,g,C]);const I=t.useMemo(()=>{if(!v||void 0===g)return{shouldShow:!1,text:""};if(void 0!==b&&x<b||x>=g)return{shouldShow:!1,text:""};const e=(g-x)/1e3;return{shouldShow:e>0,text:lx(e)}},[v,g,b,x]);return e.jsx("section",{id:u,children:e.jsx("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 ${h} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(c.default,{href:s||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${f} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e.jsx(Qn,{name:i,size:24,fill:1,className:`${f} align-text-bottom`}),I.shouldShow&&e.jsx("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:I.text}),I.shouldShow?" ":null,a&&a," ",n&&e.jsx("span",{className:"ml-0.5",children:n})]})})})})})},exports.AwardMarquee=({anchorId:t="Award-Marquee",items:n=[],speed:r="medium",scroll:i=!1,backgroundColor:o="white",className:a})=>{const s=n.length>3,l=n.length<8,c=pi[r],u=()=>{const t=l?[...n,...n]:n;return e.jsx("div",{className:Ee("flex items-center overflow-x-hidden",mi[o]),children:e.jsx("div",{className:"flex animate-award-marquee gap-4 px-2",style:{"--award-marquee-duration":`${c}s`},children:t.map((e,t)=>hi(e,t))})})},d=e.jsx("div",{className:"flex flex-nowrap items-center justify-around overflow-clip",children:n.map((e,t)=>hi(e,t))});return i?s?e.jsx("div",{id:t,className:a,children:u()}):e.jsxs("div",{id:t,className:a,children:[e.jsx("div",{className:"sm:hidden",children:u()}),e.jsx("div",{className:"hidden sm:block",children:d})]}):e.jsx("div",{id:t,className:a,children:d})},exports.BlogCard=Ad,exports.BlogGrid=function({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:a,selectedCategory:s,categoryOptions:l}){const c=o.useRouter(),u=o.usePathname(),d=o.useSearchParams(),p=t.useRef(!0);return t.useEffect(()=>{p.current?p.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(qn,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(qn,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(qn,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(qn,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e.jsx(ox,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(d.toString());t?n.set(e,t):n.delete(e),n.delete("page"),c.push(`${u}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e.jsx(Ad,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(qn,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e.jsx(yh,{currentPage:i,totalPages:a,getPageHref:function(e){const t=new URLSearchParams(d.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${u}?${n}`:u},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})},exports.BlogGridBase=function({title:t="recent articles",description:n,paginatedArticles:r,totalArticles:i,currentPage:o,totalPages:a,selectedCategory:s,categoryOptions:l,onCategoryChange:c,onPageChange:u,getPageHref:d,asList:p=!1,imageComponent:m}){return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[n&&e.jsx(qn,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",children:n}),e.jsx(qn,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:t}),l.length>0&&e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(qn,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(qn,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(qn,{as:"span",className:"md:hidden",children:["showing"," "]}),r.length," of ",i," articles"]})]}),e.jsx(ox,{options:l,value:s,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),r.length>0?e.jsx("div",{className:p?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:r.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e.jsx(Ad,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:m,asGrid:!p,index:n},t.slug)})}):e.jsx(qn,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),a>1&&e.jsx(yh,{currentPage:o,totalPages:a,getPageHref:d,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",mobileTextColor:i,desktopTextColor:o,maxWidth:a=!0,float:s="desktop"}=t,l=`${"dark"===(null!=i?i:"desktop"===s?"dark":r)?"text-text":"text-white"} ${"dark"===(null!=o?o:"mobile"===s?"dark":r)?"xl:text-text":"xl:text-white"}`,c="always"===s?"absolute":"mobile"===s?"absolute xl:relative":"desktop"===s?"relative xl:absolute":"relative";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(a?`${"none"===s&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e.jsx("ol",{className:`${"always"===s&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${c} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,r)=>{const{image:i,...o}=t,a=(null==i?void 0:i.url)?i.url.startsWith("//")?`https:${i.url}`:i.url:"";return r===n.length-1?e.jsxs("li",{className:"flex min-w-0 items-center",children:[a&&e.jsx("img",{src:a,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(qn,{as:"span",className:`body3 mr-2 break-words ${l}`,children:t.buttonLabel})]},r):e.jsxs("li",{className:"flex flex-none items-center",children:[a&&e.jsx("img",{src:a,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(rr,{href:o.href,className:`label3 mr-2 whitespace-nowrap ${l} hover:underline`,children:o.buttonLabel}),e.jsx(Qn,{name:"chevron_right",className:`${l} `})]},r)})})}):null},exports.Button=Id,exports.Callout=({anchorId:t,title:n,items:r,enableHeading:i=!1,subtitle:o,description:a,finePrint:s,cta:l,color:c="dark",maxWidth:u=!0,maxCardsPerRow:d,cardType:p="simple",backgroundColor:m,background:h,textColor:f,containerClassName:g,innerClassName:b,applyBoxShadow:v=!1,cardStackingMobile:x=!0,cardsWidth:y=!0,noGutter:w=!1,disableAnimation:C,animationType:I="lift"})=>{var N,E,A;const j=null!==(N=null==r?void 0:r.length)&&void 0!==N?N:0,T=Dd(null!=d?d:(S=j)<=4?S||1:S%3==0?3:S%4==0||S>6?4:3);var S;const k=Dd(Math.min(T,j||T)),P=!1===y&&"blog"!==p,R=P?Ee("flex flex-col items-stretch self-stretch",w?"gap-0":"gap-3"):Ee("flex flex-wrap items-stretch justify-center self-stretch",w?"gap-0":"gap-3",w?"md:gap-0":"md:gap-3"),B=P?"":Ee("w-full",Gd[Dd(x?1:Math.min(2,T))],Md[k]),L=(t,n)=>{var r,i;const o=null!==(r=t.cardType)&&void 0!==r?r:p,a=P?{lgWidth:void 0,mdWidth:void 0}:{};switch(o){case"blog":{const r=t;return e.jsx(Ad,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,imageAltText:r.imageAltText,asGrid:!1,...a},n)}case"fullImage":return e.jsx(Sd,{card:{...t},...a},n);case"floatingImage":return e.jsx(Td,{card:{...t},...a},n);default:return e.jsx(Ld,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:v},...a},n)}},O=h?{background:h}:void 0,G=f?{color:f}:void 0,M=h?"":m&&null!==(E=Od[m])&&void 0!==E?E:"";return e.jsx("section",{id:t,className:Ee("component-container",M,g),style:O,children:e.jsx("div",{className:Ee(w?"p-0":"mx-5 mb-5 mt-12 md:mx-0 md:mb-0 md:mt-0 md:px-6 md:pb-8 md:pt-16 lg:px-0 lg:py-20",u&&"max-w-120 xl:mx-auto","dark"===c?"text-text":"text-white",b),children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",style:G,children:[n&&e.jsx(qn,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e.jsx(qn,{as:i?"h2":"h3",className:"subheading3 mt-2 md:subheading1 md:text-center lg:mt-3",children:o}),a&&e.jsx(qn,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:a})]}),e.jsx("div",{className:Ee("card-holder",R),children:r.map((t,n)=>P?e.jsx(xd,{animationType:I,disableAnimation:C,children:L(t,n)},`callout-card-${n}`):e.jsx("div",{className:Ee("callout-card",B),children:e.jsx(xd,{animationType:I,disableAnimation:C,children:L(t,n)})},`callout-card-${n}`))}),(l||s)&&e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[l?e.jsx(Id,{linkClassName:"label1",buttonClassName:"label1",...l,children:null!==(A=l.label)&&void 0!==A?A:l.buttonLabel}):null,s?e.jsx(qn,{as:"div",className:"footnote text-center text-text",children:s}):null]})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(qn,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:r,disclaimerText:i,backgroundColor:o,activeTab:a,setActiveTab:s,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:p=!1})=>{const m=r?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${o} ${m} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx(qn,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(qn,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),r&&e.jsxs("div",{className:"flex flex-col gap-8",children:[p&&r&&l.length>1&&e.jsx(Yd,{tabs:l,activeTab:a,onChange:s}),r&&e.jsx(zd,{onModalButtonClick:c,renderCheckPlans:u,fields:t,activeTab:a,tabs:l})]}),n&&e.jsx(Zd,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),i&&e.jsx(qn,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:i})]})},exports.CartRetentionBanner=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:a,onBannerShown:s})=>{var l;const{anchorId:c,mainHeading:u,description:d,cta:p,image:m,imageAltText:h,imagePosition:f="center",backgroundColor:g,imageAccentColor:b,showImageAsIcon:v=!1,Logo:x}=n,y=Boolean(m)&&"center"!==f,w="right"===f,C=g&&null!==(l=ux[g])&&void 0!==l?l:"",I=(e=>!!e&&dx.includes(e))(b),[N,E]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==a?void 0:a())&&!N&&(E(!0),null==s||s())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const A=()=>{null==o||o()},j=()=>x?e.jsx("div",{className:"cart-retention-banner-logo relative mx-auto mb-4 h-12 w-40",children:e.jsx(Jr,{src:x,alt:null!=u?u:"",fill:!0,sizes:"160px",className:"object-contain"})}):null,T=()=>m?v?e.jsx("div",{className:"cart-retention-banner-image relative mx-auto mb-4 h-[87px] w-[93px] overflow-hidden md:h-[193px] md:w-[207px]",children:e.jsx(Jr,{src:m,alt:null!=h?h:"",fill:!0,sizes:"(min-width: 768px) 207px, 93px",className:"object-contain"})}):y?e.jsx("div",{className:"cart-retention-banner-image relative md:h-full",children:e.jsx("div",{className:"relative h-[258px] w-full overflow-hidden rounded-[20px] md:h-[400px]",children:e.jsx(Jr,{src:m,alt:null!=h?h:"",fill:!0,sizes:"(min-width: 768px) 314px, 100vw",className:"object-cover object-top"})})}):e.jsx("div",{className:"cart-retention-banner-image relative mb-4 aspect-[2/1] w-full overflow-hidden rounded-[20px]",children:e.jsx(Jr,{src:m,alt:null!=h?h:"",fill:!0,sizes:"(min-width: 640px) 400px, 90vw",className:"object-cover"})}):null,S=()=>{var t,n;return e.jsxs(e.Fragment,{children:[e.jsx(qn,{className:Ee("heading2",y?"text-center md:text-left":"text-center"),children:u||"Welcome back. Let's finish your order"}),d&&ai(lt(null==d?void 0:d.json),!1,Ee("body2",y?"text-center md:text-left":"text-center")),e.jsx("div",{className:Ee("flex w-full pt-5",y?"justify-center md:justify-start":"justify-center"),children:e.jsx(Id,{onClick:A,buttonLabel:null!==(t=null==p?void 0:p.buttonLabel)&&void 0!==t?t:"Continue checkout",disableAnimation:null===(n=null==p?void 0:p.disableAnimation)||void 0===n||n,animationType:null==p?void 0:p.animationType,fullWidth:!0})})]})},k=y?e.jsxs(e.Fragment,{children:[j(),e.jsxs("div",{className:Ee("flex flex-col md:grid md:gap-6",w?"md:grid-cols-[1fr_314px]":"md:grid-cols-[314px_1fr]"),children:[e.jsx("div",{className:Ee("order-1",w&&"md:order-2","md:max-w-[314px]",v&&"flex items-center justify-center"),children:T()}),e.jsx("div",{className:Ee("order-2 flex flex-col justify-center gap-8 pt-5 md:gap-10 md:pt-0",w?"md:order-1":""),children:S()})]})]}):e.jsxs(e.Fragment,{children:[j(),T(),S()]}),P=e.jsx(vh,{path:"path5",fill:b,background:"transparent",className:Ee("rounded-3xl px-6 pb-8 md:p-6",v&&"md:!py-[95px]",x?"pt-6":"pt-13"),show:I,children:k});return r?e.jsx("div",{className:Ee("pop-up-body w-full",y?"overflow-hidden":"mb-5 mt-10",C),"data-section-type":"cart-retention-banner","data-section-index":"0",children:P}):e.jsx("section",{id:c,"data-testid":"cart-retention-banner",children:e.jsx(bh,{size:"sm",isOpen:N,onRequestClose:()=>{null==i||i(),E(!1)},bodyClassName:Ee(y?Ee("overflow-hidden md:!max-w-[828px]",!I&&"p-0"):"flex items-center justify-center","min-[370px] p-[0px]",C),type:"cart-retention-banner",children:y?P:e.jsx("div",{className:"pop-up-body mb-5 w-full",children:P})})})},exports.ComparisonTable=({title:t,disclaimer:n,table:r,maxWidth:i=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(i?"max-w-120 xl:mx-auto":""),children:[e.jsx(qn,{as:"h2",className:"heading2 md:heading1 md:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:r}),e.jsx(qn,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:n}){let r=3;const[i,o]=t.useState(!1),[a,s]=t.useState(!1),l=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=rt.get(e);return t?tt(t):null}("cookieBannerClosed");o("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");s(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),t.useEffect(()=>{if(!i)return;const e=()=>{if(l.current){const e=l.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,a]),a&&(r=14);const c=4*r;return i?e.jsxs("div",{id:"cookie-banner",ref:l,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${c}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=et(r);rt.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Qn,{name:"close"})}),n.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:r,color:i,contentAlignment:o,description:a,descriptionAlignment:s,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("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"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24 w-full`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-text-inverse"}`,children:[t&&e.jsx(qn,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${o}`,children:t}),c&&e.jsx(qn,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${o}`,children:c}),a&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${s} break-words [&_table]:w-full`,children:a}),r||p?e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(Id,{...r,renderCheckPlans:p,onModalButtonClick:d,size:{base:"large"}})}):null]})}),exports.DynamicForm=n=>{const{anchorId:r,title:i,subTitle:o,formHeading:a,description:s,disclaimer:l,successMessage:c,errorMessage:u,formClassName:d,fields:p,formSubmitOptions:m=[],submitLabel:h="Submit",ctaClassName:f,validationErrorText:g=hx,formName:b,emailSubject:v,emailTemplateName:x,toEmail:y,segmentEventId:w,onEmailSubmit:C,onSmtpSubmit:I,onSmsSubmit:N,actionHandlers:E,buildPayload:A,onSubmitSuccess:j,onTrack:T,onError:S,fieldComponentOverrides:k,resolveExistingDataSource:P}=n,R=t.useRef("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),B=t.useRef(null),[L,O]=t.useState({}),[G,M]=t.useState(!1),[D,V]=t.useState(!1),[F,H]=t.useState(!1),[W,X]=t.useState(!1),[z,_]=t.useState([]),[Z,Y]=t.useState(""),[J,U]=t.useState(null),[$,K]=t.useState({}),[Q,q]=t.useState([]),ee=t.useCallback(e=>{q(e)},[]),te=t.useCallback((e,t)=>{K(n=>({...n,[e]:t}))},[]),ne=t.useCallback(e=>{K(t=>{const n={...t};return delete n[e],n})},[]),re=t.useMemo(()=>p.reduce((e,t)=>{if("formField"!==t.itemType)return e;const n=t.validationGroupId;return null!=n&&null!=n&&(e[n]||(e[n]=[]),e[n].push(t)),e},{}),[p]);t.useEffect(()=>{if(D&&"undefined"!=typeof window&&B.current){const e=140,t=B.current.offsetTop-e;window.scrollTo({top:t,behavior:"smooth"})}},[D]);const ie=t.useMemo(()=>({fieldErrors:$,setFieldError:te,clearFieldError:ne,hasError:F,setHasError:H,selectedState:J,setSelectedState:U,files:Q,setFiles:ee,resolveExistingDataSource:P,fieldComponentOverrides:k,onError:S}),[$,te,ne,F,J,Q,ee,P,k,S]),oe=()=>{const e={...L};return p.forEach(t=>{"formField"===t.itemType&&t.applyPresetValidations&&"TN-IP-Validation"===t.selectPresetValidationsToApply&&(e[t.fieldId]=(e=>{const t=null==e?void 0:e.trim();if(!t)return e;if(fx.phone.test(t)){let e=t.replace(/\D/g,"");return 11===e.length&&e.startsWith("1")&&(e=e.slice(1)),e}return fx.ipv4.test(t)||fx.ipv6.test(t)?t:e})(e[t.fieldId]))}),O(e),e},ae=t.useMemo(()=>({email:C,sftp:I,sms:N,...E||{}}),[C,I,N,E]);return D?e.jsx("div",{ref:B,className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:c})}):W?e.jsx("div",{className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:u})}):e.jsx("section",{id:r,"aria-labelledby":`${r}-title`,children:e.jsx("div",{className:"mx-auto min-h-screen max-w-[800px] px-5 py-8 md:px-5 md:py-20",children:e.jsxs("div",{className:"pb-8 sm:pb-6 lg:pb-4",children:[e.jsxs("div",{className:"mb-8 lg:mb-16",children:[i&&e.jsx(qn,{as:"h2",className:"heading2 text-center",children:i}),o&&e.jsx(qn,{as:"h3",className:"subheading3 mt-3 text-center",children:o})]}),s?e.jsx("div",{className:"text-center",children:s}):null,a?e.jsx("div",{className:"mb-6 w-full px-2 sm:px-4",children:e.jsx(qn,{as:"div",className:"body3 mb-2 text-center text-xl sm:mb-4 md:text-left",children:a})}):null,e.jsx("div",{className:"mt-8 md:mt-16",children:e.jsx(gx.Provider,{value:ie,children:e.jsxs("form",{onSubmit:async e=>{e.preventDefault(),M(!0),Y("");const t=oe();try{const e=jx(p,!1,t),r=((e,t={})=>jx(e,!0,t).reduce((e,t)=>({...e,...t}),{}))(p,t),i=(n=t,e.filter(e=>{if(!e.requiredField)return!1;const t=n[e.fieldId];return"Checkbox"!==e.fieldType||e.dataSource?""===t||null==t:!0!==t}).map(e=>e.fieldId));if(_(i),Object.keys(re).forEach(e=>{const n=re[e],r=n.map(e=>e.fieldId);if(n.filter(e=>e.validationType===mx.ONE_REQUIRED_FIELD&&(""===t[e.fieldId]||void 0===t[e.fieldId])).length===n.length&&n.length>0)throw _(e=>[...e,...r]),new Rx(mx.REQUIRED_FIELDS_MISSING,r)}),0!==i.length||0!==Object.keys($).length)throw new Rx(mx.REQUIRED_FIELDS_MISSING,i);const o=((e,t)=>{const n=Object.fromEntries(Object.entries(t).filter(([,e])=>""!==e&&void 0!==e)),r=jx(e,!1,n);return r.every(e=>{const t=e.formSection;return"string"==typeof t&&""!==t})&&r.length>0?{...Tx(r,n)}:{form1:{...n}}})(p,t),a={submissionId:R.current,formName:b,toEmail:y,subject:v,emailTemplate:x,submittedOn:Ox(new Date),formSubmitOptions:m,formData:o,files:Q},s=A?A(a,t):a;null==T||T(w,s);const l=s.formSubmitOptions||[],c=l.includes("post"),u=l.filter(e=>"post"!==e),d=await(async(e,t,n)=>{const r=[],i=JSON.stringify({...t.formData});let o;if(t.files&&t.files.length>0){const e=new FormData;Object.keys(t).forEach(n=>{"files"!==n&&"formData"!==n&&e.append(n,t[n])}),e.append("formData",i),t.files.forEach(t=>e.append("files",t)),o=e}else o={...t,formData:i};const a=((e,t)=>t?e:e.filter(e=>"email"!==e))(e,t.emailTemplate);return await Promise.all(a.map(async e=>{const i=ae[e],a=o instanceof FormData?{headers:{"Content-Type":void 0}}:{};if(i)try{await i(o,{...n,action:e,options:a}),null==T||T(`${w}_${e}_success`,{...t,eventSuccess:!0})}catch(n){r.push(e),null==T||T(`${w}_${e}_failure`,{...t,eventSuccess:!1}),null==S||S({type:"action_failure",error:n,metadata:{action:e,submissionId:R.current}})}else r.push(e),null==T||T(`${w}_${e}_failure`,{...t,eventSuccess:!1}),null==S||S({type:"unsupported_action",error:new Error(`Action "${e}" is not supported`),metadata:{action:e}})})),{error:r.length>0,errorActions:r}})(u,s,{payload:s,formValues:t,sftpMap:r,formSubmitOptions:l,files:Q});if(d.error&&u.length===d.errorActions.length)throw new Bx("All form actions failed",d.errorActions,!0);if(d.error)throw new Bx("Some form actions failed",d.errorActions,!1);if(M(!1),V(!0),c){const e=ae.post;e&&await e({...s},{payload:s,formValues:t,sftpMap:r,formSubmitOptions:l,files:Q,action:"post",options:{}})}((e,t)=>e.some(e=>{if(!Ex(e))return!1;const n=e.dataSource;if(!Array.isArray(n))return!1;const r=t[e.fieldId],i=n.find(e=>e.value===r);return!0===(null==i?void 0:i.popup)}))(p,t)?null==j||j(t,{shouldShowPopup:!0}):null==j||j(t,{shouldShowPopup:!1})}catch(e){let t="unknown";e instanceof Rx?(t="validation",Y(g)):e instanceof Bx?(t=e.isCompleteFailure?"complete_submission_failure":"partial_submission_failure",e.isCompleteFailure?(V(!1),X(!0)):(V(!0),X(!1))):(t="unexpected",Y("An error occurred while submitting the form. Please try again later."),X(!0),V(!1)),null==S||S({type:t,error:e,metadata:{formName:b,submissionId:R.current,formSubmitOptions:m,segmentEventId:w}}),M(!1)}finally{M(!1)}var n},className:Ee("flex w-full flex-col gap-5 md:gap-8",d),children:[kx(G,p,L,O,z),Z&&e.jsx(qn,{as:"div",className:"footnote text-text-critical",children:Z}),e.jsx("div",{className:"flex justify-center",children:e.jsxs(li,{type:"submit",disabled:F||G,"aria-label":"Submit Form",className:Ee("button-submit mt-3 inline-flex h-[64px] w-full items-center justify-center gap-2 whitespace-nowrap rounded-full bg-bg-fill-brand px-[60px] text-base font-semibold text-text-brand-on-bg-fill transition hover:bg-bg-fill-brand-hover disabled:bg-bg-fill-brand-disabled md:mt-8 md:w-auto",f),children:[G&&e.jsx(Px,{}),h]})})]})})}),l&&e.jsx(qn,{as:"div",className:"footnote m-2",children:l})]})})})},exports.DynamicTabs=cp,exports.EmailInputBlock=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaButtonText:l,ctaText:c,caption:u,backgroundColor:d="white",successFeedback:p,onSubmit:m,themeColor:h,showPinWheel:f=!0,padding:g="large",requiredErrorMessage:b="Email is required",validationErrorMessage:v="Invalid email address"}=n||{},x=l||c||"Sign me up",y={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},w={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},C=(d||"").trim().toLowerCase()||"white",I=y[C]||y.white,N="white"===C?"text-text":"text-white",E=(h||"").trim().toLowerCase()||"green",A=w[E]||w.green,j=["green","blue","purple"].includes(E),T=j?"text-white":"text-text",S=j?"text-text-inverse":"text-text",k="white"===E?"#E0E0E0":"#FFFEEF",P="none"===g?"!py-0 md:!py-0":"!py-8 md:!py-20",[R,B]=t.useState(""),[L,O]=t.useState(!1),[G,M]=t.useState(""),D=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return e.jsxs("section",{id:r,className:`w-full px-4 ${P} md:px-0 ${I}`,children:[e.jsxs("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 !h-[344px] md:!w-auto md:!h-[367px] relative ${A}`,children:[f&&e.jsx("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e.jsx(cx,{fill:k})}),e.jsxs("div",{className:"w-full",children:[e.jsxs("div",{className:"lg:w-[548px]",children:[i&&e.jsx("h1",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading1 md:font-black ${T}`,children:i}),o&&e.jsx("h2",{className:`mb-3 text-heading1 font-black ${T}`,children:o}),a&&e.jsx("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${T}`,children:a})]}),e.jsxs("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e.jsx("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e.jsx("input",{type:"email",placeholder:s,value:R,onChange:e=>{const t=e.target.value;B(t),L&&O(!1),t.trim()?D(t)?M(""):M(v):M(b)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4"})}),e.jsx(Id,{buttonLabel:x,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{R.trim()?D(R)?(m({email:R}),B(""),O(!0),M("")):M(v):M(b)}})]}),G&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${S}`,children:G}),p&&L&&!G&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${T}`,children:p})]})]}),u&&e.jsx("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${N}`,children:u})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:r,image:i,imageAltText:o,list:a=[],localPathPrefix:s="/local",subTitle:l,title:c,color:u="dark",maxWidth:d=!0,addTrailingSlash:p=!1})=>{const m=(e=>{let t=0,n=e.length;for(;t<n&&47===e.charCodeAt(t);)t+=1;for(;n>t&&47===e.charCodeAt(n-1);)n-=1;return e.slice(t,n)})(null!=s?s:""),h=m?`/${m}`:"",f=e=>`${h}/${e.toLowerCase()}${p?"/":""}`;return e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:e.jsxs("div",{className:`${d?"max-w-120 xl:mx-auto":""} mx-5 mb-5 ${i?"mt-12":"mt-0 xl:mt-0"} md:px-5 xl:my-20 xl:px-10`,children:[c&&e.jsx(qn,{as:r?"h1":"h2",className:"heading2 text-center md:heading1",children:c}),l&&e.jsx(qn,{as:r?"h2":"h3",className:"subheading1 mt-4 text-center",children:l}),e.jsxs("div",{className:`mt-8 flex flex-col items-center xl:flex-row ${i?"xl:mt-16":"xl:mt-10"} gap-10`,children:[e.jsxs("div",{className:"flex flex-col gap-10 self-stretch xl:flex-[1_0_0] "+(i?"pl-2 md:px-4 lg:pl-12 xl:items-start xl:pl-16":"items-center"),children:[n&&e.jsx(qn,{as:"p",className:"body1 text-center"+(i?"lg:text-left":""),children:n}),a.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...a].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(rr,{href:f(t.code),className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:`hidden ${i?"gap-x-6":"gap-x-20"} gap-y-5 md:grid md:grid-cols-3 ${i?"":"xl:hidden"}`,children:(()=>{const t=[...a].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e.jsx("li",{className:""+(i?"":"w-[172px]"),children:e.jsx(rr,{href:f(t.code),className:"label1",children:t.name})},`item-list-3-${n}`):e.jsx("li",{"aria-hidden":"true"},`empty-3-${n}`))})()}),!i&&e.jsx("ul",{className:"hidden gap-x-20 gap-y-5 xl:grid xl:grid-cols-4",children:(()=>{const t=[...a].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/4),r=[];for(let e=0;e<n;e++)for(let i=0;i<4;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e.jsx("li",{className:"w-[172px]",children:e.jsx(rr,{href:f(t.code),className:"label1",children:t.name})},`item-list-4-${n}`):e.jsx("li",{"aria-hidden":"true"},`empty-4-${n}`))})()})]})]}),i&&e.jsx("aside",{className:"hidden md:block",children:e.jsx(Jr,{width:472,height:100,src:i,alt:null!=o?o:"image"})})]})]})})},exports.FloatingBanner=({title:t,subtitle:n,description:r,disclaimer:i,icon:o,cta:a,background:s="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("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]"}[s]} ${"dark"==l?"text-text":"text-white"} `,children:[o&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx(Jr,{width:80,height:80,alt:"icon",src:o})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx(qn,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(qn,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx(qn,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),a&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(Id,{...a,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e.jsx("div",{children:e.jsx(qn,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),exports.Footer=({body:t,links:n,bottomLinks:r,copyrights:i,terms:o,maxWidth:a=!0,onClick:s})=>{function c(e){null==s||s(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${a?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:t}),e.jsx(di,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==n?void 0:n.map((t,n)=>{var r,i;return e.jsxs(l.default.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==t?void 0:t.title}`,className:"site-links-group",children:[e.jsx(qn,{as:"div",className:"label3",children:null==t?void 0:t.title}),e.jsx("ul",{className:"flex flex-col",children:null===(i=null===(r=null==t?void 0:t.items)||void 0===r?void 0:r.items)||void 0===i?void 0:i.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(Id,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx(di,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(di,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",o]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:i}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e.jsx("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.jsx(Id,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.IframeEmbed=({iframeUrl:n,anchorId:r,backgroundColor:i,height:o})=>{const a=t.useRef(null);return t.useEffect(()=>{if(!n)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&a.current&&(a.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[n]),n?e.jsx("section",{id:r,className:"w-full",children:e.jsx("iframe",{ref:a,src:n,width:"100%",frameBorder:"0",scrolling:"no",style:{background:i?px[i]:"transparent",...o?{height:`${o}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null},exports.ImagePromoBar=({brow:t,enableHeading:n,title:r,subTitle:i,ctaDisclaimer:o,disclaimer:a,description:s,image:l,imageAltText:c,imageLinks:u,mediaPosition:d=!0,checklist:p,secondaryCta:m,cta:h,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,useOriginalImageAspectRatio:y=!1,isAboveTheFold:w=!1,onModalButtonClick:C,onClick:I,onVideoEvent:N,renderCheckPlans:E,enableAnimation:A=!1})=>{const j=Boolean(f);return e.jsxs("div",{className:"component-container shared-component-ipb pb-16 pt-16",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 xl:mx-auto":""} px-5 pb-8 pt-8 md:px-10`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-stretch xl:gap-10 xl:gap-[126px] "+(d?"xl:flex-row-reverse":"xl:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 xl:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[t&&e.jsx(qn,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:t}),r&&e.jsx(qn,{as:n?"h1":"h2",className:"heading2 xl:heading1",children:r}),i&&e.jsx(qn,{as:n?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),s&&e.jsx(qn,{as:"div",className:"body1",children:s}),p.length>0&&e.jsx(er,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),o&&e.jsx("div",{children:o}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(rr,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(Vd,{src:t.image,alt:"icon-link"})})},n))}),(h||m)&&e.jsxs("div",{className:"flex w-full flex-col gap-4 xl:flex-row",children:[h&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Id,{...h,disableAnimation:void 0===A?h.disableAnimation:!A,fullWidth:!0,size:{base:"large"},renderCheckPlans:E,onModalButtonClick:C,onClick:e=>null==I?void 0:I(e,"primary")})}),m&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Id,{...m,disableAnimation:void 0===A?m.disableAnimation:!A,fullWidth:!0,size:{base:"large"},renderCheckPlans:E,buttonClassName:"px-3 min-w-[260px]",onModalButtonClick:C,onClick:e=>null==I?void 0:I(e,"secondary")})})]})]}),e.jsxs("aside",{className:"flex w-full flex-1 shrink-0 items-center justify-center lg:w-auto",children:[l&&!j&&e.jsx("div",{className:Ee(y?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e.jsx(Jr,{src:l,alt:null!=c?c:"section-image",priority:w,fill:!y,width:y?v||660:void 0,height:y?x||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ee(y?"w-full":"object-cover")})}),e.jsx($r,{videoLink:f,imageWidth:v,imageHeight:x,useOriginalImageAspectRatio:y,isAboveTheFold:w,onVideoEvent:N})]})]})}),a&&e.jsx("div",{className:"mt-10 flex justify-center xl:mt-18",children:e.jsx("div",{children:a})})]})},exports.Modal=bh,exports.Navigation=t=>{var n,r,i;const{primaryNavigationLinks:o,utilityNavigationLinks:a,checkPlansJSX:s,primaryNavigationLogo:l,accountNavigationLinks:c,supportNavigationLinks:u,searchBarIcon:d,invocaPhoneNumberLink:p,invocaPhoneNumberDisplayText:m,callNowCtaText:h,displayCartIcon:f,cartHref:g,cartHasRetention:b,cartIconAriaLabel:v="Cart",onCallClickDesktop:x,onCallClickMobile:y,onCartClick:w,onSearch:C=()=>{},utilityNavActiveIndex:I,primaryNavigationLogoWidth:N=76.5,primaryNavigationLogoHeight:E=24,hideMobileCallButton:A=!1,displayUtilityNavigation:j=!0,displaySearchBar:T=!0,displayCallNowCta:S=!0,showCallButton:k=!0,showCallNowCtaInMainNav:P=!1,showMobileSliderMenu:R=!0,enableHamburgerNavigationOnDesktop:B=!1,callNowCtaIcon:L,navigationBackgroundColor:O,navigationLinkColor:G}=t,M="string"==typeof l?l:(null==l?void 0:l.url)||"",D=O?O.includes("-")||O.startsWith("bg-")?O:`bg-secondary-${O}`:"bg-secondary-navy500",V="string"==typeof L?L:(null==L?void 0:L.url)||"",F=t=>e.jsxs(rr,{href:p||"#",onClick:t,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":m?`Call ${m}`:"Call now",children:[V?e.jsx(Jr,{src:V,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e.jsx(qn,{as:"span",className:"text-secondary-navy500 footnote",children:m})]}),H=(null!==(n=null==o?void 0:o.length)&&void 0!==n?n:0)>0||(null!==(r=null==u?void 0:u.length)&&void 0!==r?r:0)>0||(null!==(i=null==c?void 0:c.length)&&void 0!==i?i:0)>0,W=B?void 0:"lg:hidden",X=B?"hidden":"hidden lg:block",z=B?"hidden":"hidden lg:block";return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[j?e.jsx("div",{className:Ee("utility-container lg:border-b lg:px-2",z),children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==a?void 0:a.map((t,n)=>e.jsx("li",{children:e.jsx(Id,{linkClassName:Ee("footnote flex items-center text-text w-full h-11","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}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[S?e.jsx(Kd,{className:"border-none",href:p,prefix:h,onClick:x,children:e.jsx(qn,{className:"body3 text-text",children:m})}):null,f?e.jsxs(rr,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:w,children:[e.jsx(Qn,{name:"shopping_cart"}),b&&e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"})]}):null,null==c?void 0:c.map((t,n)=>e.jsx(Jd,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,e.jsxs("div",{className:Ee("main-nav-container",D,G),"aria-label":"Main Navigation",children:[e.jsxs("div",{className:Ee("mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px]",W),children:[e.jsx("div",{children:M?e.jsx(rr,{href:"/",className:"flex",children:e.jsx(Jr,{src:M,alt:"Kinetic business logo",width:N,height:E})}):null}),e.jsx("div",{className:"flex items-center gap-6",children:R?e.jsxs(e.Fragment,{children:[k&&!A?e.jsx(Kd,{href:p,onClick:y,children:e.jsx(qn,{as:"span",className:"footnote",children:m})}):null,f?e.jsxs(rr,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:w,children:[e.jsx(Qn,{name:"shopping_cart"}),b?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,H?e.jsx(qd,{...t}):null]}):k?F(y):null})]}),e.jsx("div",{className:Ee("desktop-nav-section lg:border-b lg:px-2",X),children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[M?e.jsx(rr,{href:"/",className:"flex",children:e.jsx(Jr,{src:M,alt:"Kinetic business logo",width:N,height:E,className:"mr-[64px]"})}):null,e.jsx("div",{className:"flex h-full items-center gap-6",children:null==o?void 0:o.map((t,n)=>e.jsx(Jd,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:G},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[!P||j&&S?null:F(x),T?e.jsx(tp,{searchBarIconURL:"string"==typeof d?d:(null==d?void 0:d.url)||"",onSearch:C}):null,null==u?void 0:u.map((t,n)=>e.jsx(Jd,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:G},`support-menu-${n}`))]})]})})]})]}),s&&e.jsx("div",{className:"md:hidden",children:s})]})},exports.OrderedList=({anchorId:t,backgroundColor:n="white",title:r,description:i,tabs:o})=>{const a=e=>e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),s=(t,n)=>t.itemSlug?e.jsx(rr,{href:t.itemSlug,title:t.itemName.toUpperCase(),className:"flex items-center underline underline-offset-4",children:e.jsx(qn,{className:"body1 relative cursor-pointer text-left font-semibold leading-7",children:a(t.itemName)})},`ordered-item-${n}`):e.jsx(qn,{className:"body1 relative text-left font-semibold leading-7",children:a(t.itemName)},`ordered-item-${n}`),l={items:o.map((e,t)=>({tabName:e.items.tabName,anchorId:`tab-${t}`,tabContent:e.items.tabContent.map(s)}))};return e.jsx("section",{className:`bg-secondary-${n}`,"data-testid":"non-fiber-city-list",id:t,children:e.jsxs("div",{className:"mx-auto w-full max-w-120 px-0 py-12 md:px-6 md:py-20 lg:px-3",children:[e.jsxs("div",{className:"mb-11 px-4 md:px-0",children:[e.jsx(qn,{as:"h2",className:"heading2 text-center md:heading1",children:r}),e.jsx(qn,{as:"h3",className:"subheading3 mt-2 text-center md:subheading1",children:i})]}),e.jsx("div",{className:"section-body",children:l.items.length>0?e.jsx("div",{children:e.jsx(cp,{dynamic:!0,isOrderedList:!0,tabs:l,navigationType:!1,mobileSidebarTabType:!1})}):null})]})})},exports.PrimaryHero=t=>{var n,r,i;const{title:o,showAsHeading:a,subTitle:s,primaryCta1:l,primaryCta2:c,carouselImages:u,bottomLink:d,price:p,priceCallout:m,priceSuffix:h,checklist:f,renderCheckPlans:g,badgeImage:b,pricingDescription:v,pricingDescriptionDisclaimer:x,secondaryCta:y,secondaryCtaPrefix:w,onModalButtonClick:C,onImageClick:I,hideOnMobileCta1:N,hideOnMobileCta2:E,textColor:A="light",logoLockup:j,heroVideo:T,heroVideoMobile:S}=t,k=e=>{var t;const n=null!==(t=null==e?void 0:e.showButtonAs)&&void 0!==t?t:"solid";return"solid"===n||"button-with-icon"===n||"unstyled"===n},P=l&&c&&k(l)&&k(c),R=null===(n=null==T?void 0:T.url)||void 0===n?void 0:n.trim(),B=null===(r=null==S?void 0:S.url)||void 0===r?void 0:r.trim(),L=!!R,O=!!B,G=e=>(null==e?void 0:e.startsWith("//"))?`https:${e}`:e,M=G(b),D=G(null==u?void 0:u[0]),V=null!==(i=null==d?void 0:d.buttonLabel)&&void 0!==i?i:null==d?void 0:d.label,F="dark"===A?"text-text":"text-white",H=L&&"dark"===A?`${F} xl:text-white`:F,W=({className:t})=>M?e.jsx(Jr,{src:M,alt:"Badge",className:Ee(t,I&&"cursor-pointer"),onClick:I,width:208,height:208,quality:90,loading:"eager"}):null;return e.jsxs("div",{className:"component-container relative overflow-hidden p-4 sm:px-6 sm:py-12 xl:flex xl:min-h-[724px] xl:items-center xl:px-4",children:[L?e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==T?void 0:T.title)||o||"Hero background video",className:"absolute inset-0 z-0 hidden h-full w-full object-fill xl:block","data-testid":"hero-background-video-desktop",children:e.jsx("source",{src:R,type:"video/mp4"})}):null,e.jsxs("div",{className:Ee("primary-hero-container relative z-10 mx-auto flex w-full max-w-[626px] flex-col sm:items-center sm:text-center xl:h-full xl:max-w-120 xl:flex-row xl:items-center xl:justify-between xl:gap-4 xl:text-left"),children:[e.jsx("div",{className:Ee(`relative flex flex-col ${H} w-full xl:w-[486px]`),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e.jsx(qn,{as:a?"h1":"h2",className:"heading2 lg:heading1",children:o}),s&&e.jsx(qn,{as:"p",className:"subheading3",children:s}),p?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:m?m.split("|").map((t,n)=>e.jsx(qn,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(qn,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(qn,{as:"p",className:"subheading5",children:p}),h?e.jsx(qn,{as:"p",className:"subheading1 mt-0.5",children:h}):null]})]}):null,v?e.jsx(qn,{"data-cy":"hero-pricing-description",className:Ee("subheading1","text-left sm:text-center xl:text-left"),children:v}):null,x?e.jsx(qn,{"data-cy":"hero-pricing-disclaimer",as:"p",className:Ee("body3","text-left sm:text-center xl:text-left"),children:x}):null,f&&e.jsx(er,{listItemClassName:`body2 text-left ${H}`,items:f.map(e=>e.iconUrl?{title:e.title,iconUrl:e.iconUrl}:e.title)}),j?e.jsx("div",{className:"text-left sm:text-center xl:mb-0 xl:text-left",children:e.jsx(Jr,{src:j,alt:"Logo Lockup",className:"inline-block",width:201,height:24,quality:90,loading:"eager"})}):null,e.jsxs("div",{className:"flex flex-col gap-3",children:[P?e.jsxs("div",{className:"flex flex-col justify-center gap-3 sm:flex-row sm:gap-4 xl:justify-start",children:[e.jsx("div",{className:Ee(N&&"hidden md:block"),children:e.jsx(Id,{...l,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})}),e.jsx("div",{className:Ee(E&&"hidden md:block"),children:e.jsx(Id,{...c,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})})]}):e.jsxs(e.Fragment,{children:[l&&e.jsx("div",{className:Ee("md:block",N&&"hidden"),children:e.jsx(Id,{...l,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})}),c&&e.jsx("div",{className:Ee("md:block",E&&"hidden"),children:e.jsx(Id,{...c,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})})]}),w||y?e.jsxs("div",{className:"hidden lg:flex",children:[w&&"check availability"!==(null==y?void 0:y.preDefinedFunctionExecution)&&e.jsx(qn,{as:"span",className:"body2 mr-1",children:w}),y&&e.jsx(Id,{...y,linkClassName:`body2 ${H}`,renderCheckPlans:g,onModalButtonClick:C})]}):null,d&&(V||(null==d?void 0:d.href))&&e.jsx("div",{className:"hidden lg:block",children:e.jsx(Id,{...d,linkClassName:`text-footnote ${H}`,renderCheckPlans:g,onModalButtonClick:C})})]})]})}),e.jsxs("div",{className:"w-full xl:hidden",children:[e.jsx("div",{className:"relative my-8",children:O?e.jsxs("div",{className:"relative",children:[e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==S?void 0:S.title)||o||"Hero video",className:"h-[350px] w-full rounded-[40px] object-cover object-center sm:h-[420px] md:h-[520px]","data-testid":"hero-video-mobile",children:e.jsx("source",{src:B,type:"video/mp4"})}),e.jsx(W,{className:"absolute left-5 top-5 z-10 aspect-square w-26 object-cover object-center"})]}):e.jsxs(e.Fragment,{children:[b?e.jsx(Jr,{src:M||"",alt:"Badge",className:Ee("absolute left-5 top-5 aspect-square w-26 object-cover object-center",I&&"cursor-pointer"),onClick:I,width:104,height:104,quality:90,loading:"eager"}):null,D?e.jsx(Jr,{src:D,alt:"Hero",className:Ee("h-[205px] w-full rounded-[40px] object-cover object-center sm:h-[420px]",I&&"cursor-pointer"),onClick:I,width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]})}),w||y?e.jsxs("div",{className:`flex flex-wrap items-center ${H} lg:hidden`,children:[w&&!(null==y?void 0:y.preDefinedFunctionExecution)&&e.jsx(qn,{as:"span",className:"body2 mr-1",children:w}),y&&e.jsx(Id,{...y,renderCheckPlans:g,onModalButtonClick:C,linkClassName:`${H}`})]}):null,d&&(V||(null==d?void 0:d.href))&&e.jsx("div",{className:"flex lg:hidden",children:e.jsx(Id,{...d,renderCheckPlans:g,onModalButtonClick:C,linkClassName:`body3 ${H}`})})]}),e.jsxs("div",{className:Ee("relative hidden xl:block",L&&"h-[584px] w-[584px]"),children:[e.jsx(W,{className:"absolute -left-[114px] top-[62px] z-10 aspect-square w-[200px] object-cover object-center"}),!L&&D?e.jsx(Jr,{src:D,alt:"Hero",className:Ee("aspect-square rounded-[40px] object-cover object-center",I&&"cursor-pointer"),onClick:I,width:584,height:584,quality:90,loading:"eager"}):null]})]})]})},exports.ProductCard=Hd,exports.SearchBlock=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:p,onSubmit:m}=n,[h,f]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==p?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx(qn,{as:a?"h1":"h2",className:Ee("heading2 md:heading1"),children:i}),o&&e.jsx(qn,{as:"div",className:Ee("subheading2 mt-2 md:subheading1"),children:o})]}),s?e.jsx(qn,{className:"heading6 text-center",children:s}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:h})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(li,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Qn,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(Qd,{value:h,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"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=vh,exports.SimpleCard=Ld,exports.TestimonialCard=Wd,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(qn,{children:"Text Block"})}),exports.dynamicFormConstants=mx,exports.dynamicFormRegex=fx,exports.label1BoldOptions=si,exports.renderContentfulRichText=ai,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r=oi(n),i={...r,renderMark:{...r.renderMark,[an.BOLD]:t=>e.jsx("strong",{className:"label4 md:label2",children:t})},renderNode:{...r.renderNode,[rn.PARAGRAPH]:(t,n)=>e.jsx(e.Fragment,{children:n}),[rn.TABLE]:(t,n)=>{var r,i;return e.jsx("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e.jsx("tbody",{children:n})})})},[rn.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[rn.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e.jsx("th",{className:`label4 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[rn.TABLE_CELL]:(t,n)=>{var r,i,o,a;const s=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2,l=null===(a=null===(o=null===(i=t.content[0])||void 0===i?void 0:i.content[0])||void 0===o?void 0:o.value)||void 0===a?void 0:a.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell footnote break-words bg-white py-2 text-center align-top leading-5 text-text md:body2 first:text-left md:py-4 md:leading-7 ${s?"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:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Qn,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Qn,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[on.EMBEDDED_ENTRY]:t=>{var r,i,o,a;const s=t.data.target.sys.id,l=null===(i=null===(r=null==n?void 0:n.entries)||void 0===r?void 0:r.inline)||void 0===i?void 0:i.find(e=>e.sys.id===s);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(a=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===a?void 0:a.map(e=>{var t;return ai(lt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e.jsx(er,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e.jsx("span",{children:l.title||""})}}};return nn.documentToReactComponents(t,i)},exports.toDocument=lt,exports.useContentfulRichText=function(n,r,i){return t.useMemo(()=>{if(!n||!Array.isArray(n.content))return null;const t=oi(null==i?void 0:i.links),o={...t,renderMark:{...t.renderMark,...(null==i?void 0:i.boldClassName)?{[an.BOLD]:t=>e.jsx("strong",{className:i.boldClassName,children:t})}:{},...null==r?void 0:r.renderMark},renderNode:{...t.renderNode,...null==r?void 0:r.renderNode}};return nn.documentToReactComponents(n,o)},[n,r,null==i?void 0:i.boldClassName,null==i?void 0:i.links])},exports.useProcessedChecklist=function(e,n,r,i){return t.useMemo(()=>{var t,o;const a=null!==(o=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==o?o:[];return n?a.map(e=>{var t,n;return null!==(n=ai(lt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,r))&&void 0!==n?n:""}):a.map(e=>{var t,n,o,a,s;return{title:null!==(n=ai(lt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,r))&&void 0!==n?n:"",iconUrl:null!==(a=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==a?a:void 0,anchorId:null!==(s=null==e?void 0:e.anchorId)&&void 0!==s?s:void 0}})},[e,n,r,i])};
25
+ */function qf(){return Uf||(Uf=1,"production"===process.env.NODE_ENV?Zf.exports=function(){if(Wf)return Yf;Wf=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=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,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case a:case u:case h:case m:case s:return e;default:return p}}case n:return p}}}function y(e){return x(e)===c}return Yf.AsyncMode=l,Yf.ConcurrentMode=c,Yf.ContextConsumer=a,Yf.ContextProvider=s,Yf.Element=t,Yf.ForwardRef=u,Yf.Fragment=r,Yf.Lazy=h,Yf.Memo=m,Yf.Portal=n,Yf.Profiler=o,Yf.StrictMode=i,Yf.Suspense=d,Yf.isAsyncMode=function(e){return y(e)||x(e)===l},Yf.isConcurrentMode=y,Yf.isContextConsumer=function(e){return x(e)===a},Yf.isContextProvider=function(e){return x(e)===s},Yf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Yf.isForwardRef=function(e){return x(e)===u},Yf.isFragment=function(e){return x(e)===r},Yf.isLazy=function(e){return x(e)===h},Yf.isMemo=function(e){return x(e)===m},Yf.isPortal=function(e){return x(e)===n},Yf.isProfiler=function(e){return x(e)===o},Yf.isStrictMode=function(e){return x(e)===i},Yf.isSuspense=function(e){return x(e)===d},Yf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Yf.typeOf=x,Yf}():Zf.exports=(Jf||(Jf=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,a=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,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case a:case u:case h:case m:case s:return g;default:return p}}case n:return p}}}var y=l,w=c,C=a,I=s,N=t,A=u,E=r,j=h,T=m,S=n,k=o,P=i,R=d,B=!1;function L(e){return x(e)===c}Qf.AsyncMode=y,Qf.ConcurrentMode=w,Qf.ContextConsumer=C,Qf.ContextProvider=I,Qf.Element=N,Qf.ForwardRef=A,Qf.Fragment=E,Qf.Lazy=j,Qf.Memo=T,Qf.Portal=S,Qf.Profiler=k,Qf.StrictMode=P,Qf.Suspense=R,Qf.isAsyncMode=function(e){return B||(B=!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.")),L(e)||x(e)===l},Qf.isConcurrentMode=L,Qf.isContextConsumer=function(e){return x(e)===a},Qf.isContextProvider=function(e){return x(e)===s},Qf.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Qf.isForwardRef=function(e){return x(e)===u},Qf.isFragment=function(e){return x(e)===r},Qf.isLazy=function(e){return x(e)===h},Qf.isMemo=function(e){return x(e)===m},Qf.isPortal=function(e){return x(e)===n},Qf.isProfiler=function(e){return x(e)===o},Qf.isStrictMode=function(e){return x(e)===i},Qf.isSuspense=function(e){return x(e)===d},Qf.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===a||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Qf.typeOf=x}()),Qf)),Zf.exports}!function(){if(Kf)return $f;Kf=1;var e=qf(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;$f=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var m=a(r);l&&(m=m.concat(l(r)));for(var h=o(t),f=o(r),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||i&&i[b]||f&&f[b]||h&&h[b])){var v=c(r,b);try{s(t,b,v)}catch(e){}}}}return t}}();var eg="undefined"!=typeof document;var tg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===eg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var ng={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 rg(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ig=/[A-Z]|^ms/g,og=/_EMO_([^_]+?)_([^]*?)_EMO_/g,sg=function(e){return 45===e.charCodeAt(1)},ag=function(e){return null!=e&&"boolean"!=typeof e},lg=rg(function(e){return sg(e)?e:e.replace(ig,"-$&").toLowerCase()}),cg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(og,function(e,t,n){return dg={name:t,styles:n,next:dg},t})}return 1===ng[e]||sg(e)||"number"!=typeof t||0===t?t:t+"px"};function ug(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return dg={name:i.name,styles:i.styles,next:dg},i.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)dg={name:s.name,styles:s.styles,next:dg},s=s.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=ug(e,t,n[i])+";";else for(var o in n){var s=n[o];if("object"!=typeof s){var a=s;ag(a)&&(r+=lg(o)+":"+cg(o,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)ag(s[l])&&(r+=lg(o)+":"+cg(o,s[l])+";");else{var c=ug(e,t,s);switch(o){case"animation":case"animationName":r+=lg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var a=dg,l=n(e);return dg=a,ug(e,t,l)}}return n}var dg,pg=/label:\s*([^\s;{]+)\s*(;|$)/g;function mg(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";dg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=ug(n,t,o)):i+=o[0];for(var s=1;s<e.length;s++){if(i+=ug(n,t,e[s]),r)i+=o[s]}pg.lastIndex=0;for(var a,l="";null!==(a=pg.exec(i));)l+="-"+a[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:dg}}var hg="undefined"!=typeof document,fg=function(e){return e()},gg=!!l.useInsertionEffect&&l.useInsertionEffect,bg=hg&&gg||fg,vg="undefined"!=typeof document,xg=l.createContext("undefined"!=typeof HTMLElement?_f({key:"css"}):null);xg.Provider;var yg=function(e){return t.forwardRef(function(n,r){var i=t.useContext(xg);return e(n,i,r)})};vg||(yg=function(e){return function(n){var r=t.useContext(xg);return null===r?(r=_f({key:"css"}),l.createElement(xg.Provider,{value:r},e(n,r))):e(n,r)}});var wg,Cg,Ig=l.createContext({}),Ng={}.hasOwnProperty,Ag="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Eg=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;tg(t,n,r);var i=bg(function(){return function(e,t,n){tg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var s=e.insert(t===o?"."+r:"",o,e.sheet,!0);eg||void 0===s||(i+=s),o=o.next}while(void 0!==o);if(!eg&&0!==i.length)return i}}(t,n,r)});if(!vg&&void 0!==i){for(var o,s=n.name,a=n.next;void 0!==a;)s+=" "+a.name,a=a.next;return l.createElement("style",((o={})["data-emotion"]=t.key+" "+s,o.dangerouslySetInnerHTML={__html:i},o.nonce=t.sheet.nonce,o))}return null},jg=yg(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var i=e[Ag],o=[r],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,o,e.className):null!=e.className&&(s=e.className+" ");var a=mg(o,void 0,l.useContext(Ig));s+=t.key+"-"+a.name;var c={};for(var u in e)Ng.call(e,u)&&"css"!==u&&u!==Ag&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),l.createElement(l.Fragment,null,l.createElement(Eg,{cache:t,serialized:a,isStringTag:"string"==typeof i}),l.createElement(i,c))}),Tg=jg,Sg=function(e,t){var n=arguments;if(null==t||!Ng.call(t,"css"))return l.createElement.apply(void 0,n);var r=n.length,i=new Array(r);i[0]=Tg,i[1]=function(e,t){var n={};for(var r in t)Ng.call(t,r)&&(n[r]=t[r]);return n[Ag]=e,n}(e,t);for(var o=2;o<r;o++)i[o]=n[o];return l.createElement.apply(null,i)};function kg(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return mg(t)}wg=Sg||(Sg={}),Cg||(Cg=wg.JSX||(wg.JSX={}));const Pg=Math.min,Rg=Math.max,Bg=Math.round,Lg=Math.floor,Og=e=>({x:e,y:e});function Gg(){return"undefined"!=typeof window}function Mg(e){return Fg(e)?(e.nodeName||"").toLowerCase():"#document"}function Dg(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Vg(e){var t;return null==(t=(Fg(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Fg(e){return!!Gg()&&(e instanceof Node||e instanceof Dg(e).Node)}function Hg(e){return!!Gg()&&(e instanceof HTMLElement||e instanceof Dg(e).HTMLElement)}function Wg(e){return!(!Gg()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Dg(e).ShadowRoot)}const Xg=new Set(["inline","contents"]);function zg(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Zg(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Xg.has(i)}const _g=new Set(["html","body","#document"]);function Zg(e){return Dg(e).getComputedStyle(e)}function Yg(e){const t=function(e){if("html"===Mg(e))return e;const t=e.assignedSlot||e.parentNode||Wg(e)&&e.host||Vg(e);return Wg(t)?t.host:t}(e);return function(e){return _g.has(Mg(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hg(t)&&zg(t)?t:Yg(t)}function Jg(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Yg(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),s=Dg(i);if(o){const e=Ug(s);return t.concat(s,s.visualViewport||[],zg(i)?i:[],e&&n?Jg(e):[])}return t.concat(i,Jg(i,[],n))}function Ug(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function $g(e){return t=e,Gg()&&(t instanceof Element||t instanceof Dg(t).Element)?e:e.contextElement;var t}function Kg(e){const t=$g(e);if(!Hg(t))return Og(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Zg(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Hg(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=Bg(n)!==o||Bg(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}(t);let s=(o?Bg(n.width):n.width)/r,a=(o?Bg(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Qg(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=$g(e);let s=Og(1);t&&(s=Kg(e));const a=Og(0);let l=(i.left+a.x)/s.x,c=(i.top+a.y)/s.y,u=i.width/s.x,d=i.height/s.y;if(o){const e=r;let t=Dg(o),n=Ug(t);for(;n&&r&&e!==t;){const e=Kg(n),r=n.getBoundingClientRect(),i=Zg(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,s=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=s,t=Dg(n),n=Ug(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function qg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eb(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=$g(e),u=i||o?[...c?Jg(c):[],...Jg(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,r=null;const i=Vg(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(a||t(),!p||!m)return;const h={rootMargin:-Lg(d)+"px "+-Lg(i.clientWidth-(u+p))+"px "+-Lg(i.clientHeight-(d+m))+"px "+-Lg(u)+"px",threshold:Rg(0,Pg(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||qg(c,e.getBoundingClientRect())||s(),f=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(c,n):null;let p,m=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let f=l?Qg(e):null;return l&&function t(){const r=Qg(e);f&&!qg(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var tb="undefined"!=typeof document?t.useLayoutEffect:function(){},nb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],rb=function(){};function ib(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function ob(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(ib(e,s)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var sb=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===wh(e)&&null!==e?[e]:[];var t},ab=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,Ah({},Sh(e,nb))},lb=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,s=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),s)}};function cb(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ub(e){return cb(e)?window.pageYOffset:e.scrollTop}function db(e,t){cb(e)?window.scrollTo(0,t):e.scrollTop=t}function pb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:rb,i=ub(e),o=t-i,s=0;!function t(){var a,l=o*((a=(a=s+=10)/n-1)*a*a+1)+i;db(e,l),s<n?window.requestAnimationFrame(t):r(e)}()}function mb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?db(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&db(e,Math.max(t.offsetTop-i,0))}function hb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var fb=!1,gb={get passive(){return fb=!0}},bb="undefined"!=typeof window?window:{};bb.addEventListener&&bb.removeEventListener&&(bb.addEventListener("p",rb,gb),bb.removeEventListener("p",rb,!1));var vb=fb;function xb(e){return null!=e}function yb(e,t,n){return e?t:n}var wb=["children","innerProps"],Cb=["children","innerProps"];function Ib(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:cb(u=l)?window.innerHeight:u.clientHeight,v=ub(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),w=g-y,C=b-f,I=w+v,N=d-v-f,A=m-b+v+x,E=v+f-y,j=160;switch(i){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!s)return o&&pb(l,A,j),{placement:"bottom",maxHeight:t};if(!s&&N>=r||s&&C>=r)return o&&pb(l,A,j),{placement:"bottom",maxHeight:s?C-x:N-x};if("auto"===i||s){var T=t,S=s?w:I;return S>=r&&(T=Math.min(S-x-a,t)),{placement:"top",maxHeight:T}}if("bottom"===i)return o&&db(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(I>=h&&!s)return o&&pb(l,E,j),{placement:"top",maxHeight:t};if(!s&&I>=r||s&&w>=r){var k=t;return(!s&&I>=r||s&&w>=r)&&(k=s?w-y:I-y),o&&pb(l,E,j),{placement:"top",maxHeight:k}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var Nb,Ab=function(e){return"auto"===e?"bottom":e},Eb=t.createContext(null),jb=function(e){var n=e.children,r=e.minMenuHeight,i=e.maxMenuHeight,o=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(Eb)||{}).setPortalPlacement,u=t.useRef(null),d=Th(t.useState(i),2),p=d[0],m=d[1],h=Th(t.useState(null),2),f=h[0],g=h[1],b=l.spacing.controlHeight;return tb(function(){var e=u.current;if(e){var t="fixed"===s,n=Ib({maxHeight:i,menuEl:e,minHeight:r,placement:o,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});m(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[i,o,s,a,r,c,b]),n({ref:u,placerProps:Ah(Ah({},e),{},{placement:f||Ab(o),maxHeight:p})})},Tb=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return Sg("div",mp({},lb(e,"menu",{menu:!0}),{ref:n},r),t)},Sb=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return Ah({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},kb=Sb,Pb=Sb,Rb=["size"],Bb=["innerProps","isRtl","size"];var Lb,Ob,Gb="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},Mb=function(e){var t=e.size,n=Sh(e,Rb);return Sg("svg",mp({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Gb},n))},Db=function(e){return Sg(Mb,mp({size:20},e),Sg("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"}))},Vb=function(e){return Sg(Mb,mp({size:20},e),Sg("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"}))},Fb=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Ah({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Hb=Fb,Wb=Fb,Xb=function(){var e=kg.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_"}}}(Nb||(Lb=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],Ob||(Ob=Lb.slice(0)),Nb=Object.freeze(Object.defineProperties(Lb,{raw:{value:Object.freeze(Ob)}})))),zb=function(e){var t=e.delay,n=e.offset;return Sg("span",{css:kg({animation:"".concat(Xb," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9e3tcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgZmlsbDogJ2N1cnJlbnRDb2xvcicsXG4gICAgICBsaW5lSGVpZ2h0OiAxLFxuICAgICAgc3Ryb2tlOiAnY3VycmVudENvbG9yJyxcbiAgICAgIHN0cm9rZVdpZHRoOiAwLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IHR5cGUgQ3Jvc3NJY29uUHJvcHMgPSBKU1guSW50cmluc2ljRWxlbWVudHNbJ3N2ZyddICYgeyBzaXplPzogbnVtYmVyIH07XG5leHBvcnQgY29uc3QgQ3Jvc3NJY29uID0gKHByb3BzOiBDcm9zc0ljb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNMTQuMzQ4IDE0Ljg0OWMtMC40NjkgMC40NjktMS4yMjkgMC40NjktMS42OTcgMGwtMi42NTEtMy4wMzAtMi42NTEgMy4wMjljLTAuNDY5IDAuNDY5LTEuMjI5IDAuNDY5LTEuNjk3IDAtMC40NjktMC40NjktMC40NjktMS4yMjkgMC0xLjY5N2wyLjc1OC0zLjE1LTIuNzU5LTMuMTUyYy0wLjQ2OS0wLjQ2OS0wLjQ2OS0xLjIyOCAwLTEuNjk3czEuMjI4LTAuNDY5IDEuNjk3IDBsMi42NTIgMy4wMzEgMi42NTEtMy4wMzFjMC40NjktMC40NjkgMS4yMjgtMC40NjkgMS42OTcgMHMwLjQ2OSAxLjIyOSAwIDEuNjk3bC0yLjc1OCAzLjE1MiAyLjc1OCAzLjE1YzAuNDY5IDAuNDY5IDAuNDY5IDEuMjI5IDAgMS42OTh6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuZXhwb3J0IHR5cGUgRG93bkNoZXZyb25Qcm9wcyA9IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snc3ZnJ10gJiB7IHNpemU/OiBudW1iZXIgfTtcbmV4cG9ydCBjb25zdCBEb3duQ2hldnJvbiA9IChwcm9wczogRG93bkNoZXZyb25Qcm9wcykgPT4gKFxuICA8U3ZnIHNpemU9ezIwfSB7Li4ucHJvcHN9PlxuICAgIDxwYXRoIGQ9XCJNNC41MTYgNy41NDhjMC40MzYtMC40NDYgMS4wNDMtMC40ODEgMS41NzYgMGwzLjkwOCAzLjc0NyAzLjkwOC0zLjc0N2MwLjUzMy0wLjQ4MSAxLjE0MS0wLjQ0NiAxLjU3NCAwIDAuNDM2IDAuNDQ1IDAuNDA4IDEuMTk3IDAgMS42MTUtMC40MDYgMC40MTgtNC42OTUgNC41MDItNC42OTUgNC41MDItMC4yMTcgMC4yMjMtMC41MDIgMC4zMzUtMC43ODcgMC4zMzVzLTAuNTctMC4xMTItMC43ODktMC4zMzVjMCAwLTQuMjg3LTQuMDg0LTQuNjk1LTQuNTAycy0wLjQzNi0xLjE3IDAtMS42MTV6XCIgLz5cbiAgPC9Tdmc+XG4pO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgQnV0dG9uc1xuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG5cbmV4cG9ydCBpbnRlcmZhY2UgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxcbiAgT3B0aW9uID0gdW5rbm93bixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4gPSBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+ID0gR3JvdXBCYXNlPE9wdGlvbj5cbj4gZXh0ZW5kcyBDb21tb25Qcm9wc0FuZENsYXNzTmFtZTxPcHRpb24sIElzTXVsdGksIEdyb3VwPiB7XG4gIC8qKiBUaGUgY2hpbGRyZW4gdG8gYmUgcmVuZGVyZWQgaW5zaWRlIHRoZSBpbmRpY2F0b3IuICovXG4gIGNoaWxkcmVuPzogUmVhY3ROb2RlO1xuICAvKiogUHJvcHMgdGhhdCB3aWxsIGJlIHBhc3NlZCBvbiB0byB0aGUgY2hpbGRyZW4uICovXG4gIGlubmVyUHJvcHM6IEpTWC5JbnRyaW5zaWNFbGVtZW50c1snZGl2J107XG4gIC8qKiBUaGUgZm9jdXNlZCBzdGF0ZSBvZiB0aGUgc2VsZWN0LiAqL1xuICBpc0ZvY3VzZWQ6IGJvb2xlYW47XG4gIGlzRGlzYWJsZWQ6IGJvb2xlYW47XG59XG5cbmNvbnN0IGJhc2VDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgdGhlbWU6IHtcbiAgICAgIHNwYWNpbmc6IHsgYmFzZVVuaXQgfSxcbiAgICAgIGNvbG9ycyxcbiAgICB9LFxuICB9OlxuICAgIHwgRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuICAgIHwgQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2luZGljYXRvckNvbnRhaW5lcicsXG4gIGRpc3BsYXk6ICdmbGV4JyxcbiAgdHJhbnNpdGlvbjogJ2NvbG9yIDE1MG1zJyxcbiAgLi4uKHVuc3R5bGVkXG4gICAgPyB7fVxuICAgIDoge1xuICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw2MCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIHBhZGRpbmc6IGJhc2VVbml0ICogMixcbiAgICAgICAgJzpob3Zlcic6IHtcbiAgICAgICAgICBjb2xvcjogaXNGb2N1c2VkID8gY29sb3JzLm5ldXRyYWw4MCA6IGNvbG9ycy5uZXV0cmFsNDAsXG4gICAgICAgIH0sXG4gICAgICB9KSxcbn0pO1xuXG5leHBvcnQgY29uc3QgZHJvcGRvd25JbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IERyb3Bkb3duSW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogRHJvcGRvd25JbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnZHJvcGRvd25JbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2Ryb3Bkb3duLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8RG93bkNoZXZyb24gLz59XG4gICAgPC9kaXY+XG4gICk7XG59O1xuXG5leHBvcnQgaW50ZXJmYWNlIENsZWFySW5kaWNhdG9yUHJvcHM8XG4gIE9wdGlvbiA9IHVua25vd24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuID0gYm9vbGVhbixcbiAgR3JvdXAgZXh0ZW5kcyBHcm91cEJhc2U8T3B0aW9uPiA9IEdyb3VwQmFzZTxPcHRpb24+XG4+IGV4dGVuZHMgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWU8T3B0aW9uLCBJc011bHRpLCBHcm91cD4ge1xuICAvKiogVGhlIGNoaWxkcmVuIHRvIGJlIHJlbmRlcmVkIGluc2lkZSB0aGUgaW5kaWNhdG9yLiAqL1xuICBjaGlsZHJlbj86IFJlYWN0Tm9kZTtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xufVxuXG5leHBvcnQgY29uc3QgY2xlYXJJbmRpY2F0b3JDU1MgPSBiYXNlQ1NTO1xuZXhwb3J0IGNvbnN0IENsZWFySW5kaWNhdG9yID0gPFxuICBPcHRpb24sXG4gIElzTXVsdGkgZXh0ZW5kcyBib29sZWFuLFxuICBHcm91cCBleHRlbmRzIEdyb3VwQmFzZTxPcHRpb24+XG4+KFxuICBwcm9wczogQ2xlYXJJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgY2hpbGRyZW4sIGlubmVyUHJvcHMgfSA9IHByb3BzO1xuICByZXR1cm4gKFxuICAgIDxkaXZcbiAgICAgIHsuLi5nZXRTdHlsZVByb3BzKHByb3BzLCAnY2xlYXJJbmRpY2F0b3InLCB7XG4gICAgICAgIGluZGljYXRvcjogdHJ1ZSxcbiAgICAgICAgJ2NsZWFyLWluZGljYXRvcic6IHRydWUsXG4gICAgICB9KX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIHtjaGlsZHJlbiB8fCA8Q3Jvc3NJY29uIC8+fVxuICAgIDwvZGl2PlxuICApO1xufTtcblxuLy8gPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09XG4vLyBTZXBhcmF0b3Jcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5leHBvcnQgaW50ZXJmYWNlIEluZGljYXRvclNlcGFyYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgaXNEaXNhYmxlZDogYm9vbGVhbjtcbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpbm5lclByb3BzPzogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ107XG59XG5cbmV4cG9ydCBjb25zdCBpbmRpY2F0b3JTZXBhcmF0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0Rpc2FibGVkLFxuICAgIHRoZW1lOiB7XG4gICAgICBzcGFjaW5nOiB7IGJhc2VVbml0IH0sXG4gICAgICBjb2xvcnMsXG4gICAgfSxcbiAgfTogSW5kaWNhdG9yU2VwYXJhdG9yUHJvcHM8T3B0aW9uLCBJc011bHRpLCBHcm91cD4sXG4gIHVuc3R5bGVkOiBib29sZWFuXG4pOiBDU1NPYmplY3RXaXRoTGFiZWwgPT4gKHtcbiAgbGFiZWw6ICdpbmRpY2F0b3JTZXBhcmF0b3InLFxuICBhbGlnblNlbGY6ICdzdHJldGNoJyxcbiAgd2lkdGg6IDEsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgYmFja2dyb3VuZENvbG9yOiBpc0Rpc2FibGVkID8gY29sb3JzLm5ldXRyYWwxMCA6IGNvbG9ycy5uZXV0cmFsMjAsXG4gICAgICAgIG1hcmdpbkJvdHRvbTogYmFzZVVuaXQgKiAyLFxuICAgICAgICBtYXJnaW5Ub3A6IGJhc2VVbml0ICogMixcbiAgICAgIH0pLFxufSk7XG5cbmV4cG9ydCBjb25zdCBJbmRpY2F0b3JTZXBhcmF0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHByb3BzOiBJbmRpY2F0b3JTZXBhcmF0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPlxuKSA9PiB7XG4gIGNvbnN0IHsgaW5uZXJQcm9wcyB9ID0gcHJvcHM7XG4gIHJldHVybiAoXG4gICAgPHNwYW5cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgICAgey4uLmdldFN0eWxlUHJvcHMocHJvcHMsICdpbmRpY2F0b3JTZXBhcmF0b3InLCB7XG4gICAgICAgICdpbmRpY2F0b3Itc2VwYXJhdG9yJzogdHJ1ZSxcbiAgICAgIH0pfVxuICAgIC8+XG4gICk7XG59O1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIExvYWRpbmdcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBsb2FkaW5nRG90QW5pbWF0aW9ucyA9IGtleWZyYW1lc2BcbiAgMCUsIDgwJSwgMTAwJSB7IG9wYWNpdHk6IDA7IH1cbiAgNDAlIHsgb3BhY2l0eTogMTsgfVxuYDtcblxuZXhwb3J0IGNvbnN0IGxvYWRpbmdJbmRpY2F0b3JDU1MgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oXG4gIHtcbiAgICBpc0ZvY3VzZWQsXG4gICAgc2l6ZSxcbiAgICB0aGVtZToge1xuICAgICAgY29sb3JzLFxuICAgICAgc3BhY2luZzogeyBiYXNlVW5pdCB9LFxuICAgIH0sXG4gIH06IExvYWRpbmdJbmRpY2F0b3JQcm9wczxPcHRpb24sIElzTXVsdGksIEdyb3VwPixcbiAgdW5zdHlsZWQ6IGJvb2xlYW5cbik6IENTU09iamVjdFdpdGhMYWJlbCA9PiAoe1xuICBsYWJlbDogJ2xvYWRpbmdJbmRpY2F0b3InLFxuICBkaXNwbGF5OiAnZmxleCcsXG4gIHRyYW5zaXRpb246ICdjb2xvciAxNTBtcycsXG4gIGFsaWduU2VsZjogJ2NlbnRlcicsXG4gIGZvbnRTaXplOiBzaXplLFxuICBsaW5lSGVpZ2h0OiAxLFxuICBtYXJnaW5SaWdodDogc2l6ZSxcbiAgdGV4dEFsaWduOiAnY2VudGVyJyxcbiAgdmVydGljYWxBbGlnbjogJ21pZGRsZScsXG4gIC4uLih1bnN0eWxlZFxuICAgID8ge31cbiAgICA6IHtcbiAgICAgICAgY29sb3I6IGlzRm9jdXNlZCA/IGNvbG9ycy5uZXV0cmFsNjAgOiBjb2xvcnMubmV1dHJhbDIwLFxuICAgICAgICBwYWRkaW5nOiBiYXNlVW5pdCAqIDIsXG4gICAgICB9KSxcbn0pO1xuXG5pbnRlcmZhY2UgTG9hZGluZ0RvdFByb3BzIHtcbiAgZGVsYXk6IG51bWJlcjtcbiAgb2Zmc2V0OiBib29sZWFuO1xufVxuY29uc3QgTG9hZGluZ0RvdCA9ICh7IGRlbGF5LCBvZmZzZXQgfTogTG9hZGluZ0RvdFByb3BzKSA9PiAoXG4gIDxzcGFuXG4gICAgY3NzPXt7XG4gICAgICBhbmltYXRpb246IGAke2xvYWRpbmdEb3RBbmltYXRpb25zfSAxcyBlYXNlLWluLW91dCAke2RlbGF5fW1zIGluZmluaXRlO2AsXG4gICAgICBiYWNrZ3JvdW5kQ29sb3I6ICdjdXJyZW50Q29sb3InLFxuICAgICAgYm9yZGVyUmFkaXVzOiAnMWVtJyxcbiAgICAgIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICAgICAgbWFyZ2luTGVmdDogb2Zmc2V0ID8gJzFlbScgOiB1bmRlZmluZWQsXG4gICAgICBoZWlnaHQ6ICcxZW0nLFxuICAgICAgdmVydGljYWxBbGlnbjogJ3RvcCcsXG4gICAgICB3aWR0aDogJzFlbScsXG4gICAgfX1cbiAgLz5cbik7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTG9hZGluZ0luZGljYXRvclByb3BzPFxuICBPcHRpb24gPSB1bmtub3duLFxuICBJc011bHRpIGV4dGVuZHMgYm9vbGVhbiA9IGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj4gPSBHcm91cEJhc2U8T3B0aW9uPlxuPiBleHRlbmRzIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+IHtcbiAgLyoqIFByb3BzIHRoYXQgd2lsbCBiZSBwYXNzZWQgb24gdG8gdGhlIGNoaWxkcmVuLiAqL1xuICBpbm5lclByb3BzOiBKU1guSW50cmluc2ljRWxlbWVudHNbJ2RpdiddO1xuICAvKiogVGhlIGZvY3VzZWQgc3RhdGUgb2YgdGhlIHNlbGVjdC4gKi9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},_b=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,s=e.menuIsOpen;return Sg("div",mp({ref:i},lb(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":s}),o,{"aria-disabled":n||void 0}),t)},Zb=["data"],Yb=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return Sg("div",mp({},lb(e,"group",{group:!0}),a),Sg(o,mp({},s,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),Sg("div",null,t))},Jb=["innerRef","isDisabled","isHidden","inputClassName"],Ub={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},$b={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ah({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ub)},Kb=function(e){return Ah({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ub)},Qb=function(e){var t=e.cx,n=e.value,r=ab(e),i=r.innerRef,o=r.isDisabled,s=r.isHidden,a=r.inputClassName,l=Sh(r,Jb);return Sg("div",mp({},lb(e,"input",{"input-container":!0}),{"data-value":n||""}),Sg("input",mp({className:t({input:!0},a),ref:i,style:Kb(s),disabled:o},l)))},qb=function(e){var t=e.children,n=e.innerProps;return Sg("div",n,t)};var ev=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return Sg(l,{data:r,innerProps:Ah(Ah({},lb(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:a},Sg(c,{data:r,innerProps:Ah({},lb(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),Sg(u,{data:r,innerProps:Ah(Ah({},lb(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},tv={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||Sg(Db,null))},Control:_b,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||Sg(Vb,null))},DownChevron:Vb,CrossIcon:Db,Group:Yb,GroupHeading:function(e){var t=ab(e);t.data;var n=Sh(t,Zb);return Sg("div",mp({},lb(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return Sg("span",mp({},t,lb(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Qb,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=Sh(e,Bb);return Sg("div",mp({},lb(Ah(Ah({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),Sg(zb,{delay:0,offset:n}),Sg(zb,{delay:160,offset:!0}),Sg(zb,{delay:320,offset:!n}))},Menu:Tb,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return Sg("div",mp({},lb(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,o=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=Th(t.useState(Ab(a)),2),p=d[0],m=d[1],h=t.useMemo(function(){return{setPortalPlacement:m}},[]),f=Th(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(o){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(o),t="fixed"===l?0:window.pageYOffset,n=e[p]+t;n===(null==g?void 0:g.offset)&&e.left===(null==g?void 0:g.rect.left)&&e.width===(null==g?void 0:g.rect.width)||b({offset:n,rect:e})}},[o,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);tb(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),o&&c.current&&(u.current=eb(o,c.current,v,{elementResize:"ResizeObserver"in window}))},[o,v]);tb(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==l||!g)return null;var w=Sg("div",mp({ref:y},lb(Ah(Ah({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),r);return Sg(Eb.Provider,{value:h},n?i.createPortal(w,n):w)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=Sh(e,Cb);return Sg("div",mp({},lb(Ah(Ah({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=Sh(e,wb);return Sg("div",mp({},lb(Ah(Ah({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:ev,MultiValueContainer:qb,MultiValueLabel:qb,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({role:"button"},n),t||Sg(Db,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,s=e.innerProps;return Sg("div",mp({},lb(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return Sg("div",mp({},lb(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return Sg("div",mp({},lb(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return Sg("div",mp({},lb(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return Sg("div",mp({},lb(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},nv=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function rv(e,t){return e===t||!(!nv(e)||!nv(t))}function iv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!rv(e[n],t[n]))return!1;return!0}for(var ov="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)."}},sv=function(e){return Sg("span",mp({css:ov},e))},av={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,s=e.selectValue,a=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&&s)return"value ".concat(o," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},lv=function(e){var n=e.ariaSelection,r=e.focusedOption,i=e.focusedValue,o=e.focusableOptions,s=e.isFocused,a=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,h=l.isMulti,f=l.isOptionDisabled,g=l.isSearchable,b=l.menuIsOpen,v=l.options,x=l.screenReaderStatus,y=l.tabSelectsValue,w=l.isLoading,C=l["aria-label"],I=l["aria-live"],N=t.useMemo(function(){return Ah(Ah({},av),d||{})},[d]),A=t.useMemo(function(){var e,t="";if(n&&N.onChange){var r=n.option,i=n.options,o=n.removedValue,s=n.removedValues,l=n.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,m=d?d.map(p):[],h=Ah({isDisabled:c&&f(c,a),label:u,labels:m},n);t=N.onChange(h)}return t},[n,N,f,a,p]),E=t.useMemo(function(){var e="",t=r||i,n=!!(r&&a&&a.includes(r));if(t&&N.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:n,options:o,context:t===r?"menu":"value",selectValue:a,isAppleDevice:u};e=N.onFocus(s)}return e},[r,i,p,f,N,o,a,u]),j=t.useMemo(function(){var e="";if(b&&v.length&&!w&&N.onFilter){var t=x({count:o.length});e=N.onFilter({inputValue:m,resultsMessage:t})}return e},[o,m,b,N,v,x,w]),T="initial-input-focus"===(null==n?void 0:n.action),S=t.useMemo(function(){var e="";if(N.guidance){var t=i?"value":b?"menu":"input";e=N.guidance({"aria-label":C,context:t,isDisabled:r&&f(r,a),isMulti:h,isSearchable:g,tabSelectsValue:y,isInitialFocus:T})}return e},[C,r,i,h,f,g,b,N,a,y,T]),k=Sg(t.Fragment,null,Sg("span",{id:"aria-selection"},A),Sg("span",{id:"aria-focused"},E),Sg("span",{id:"aria-results"},j),Sg("span",{id:"aria-guidance"},S));return Sg(t.Fragment,null,Sg(sv,{id:c},T&&k),Sg(sv,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!T&&k))},cv=[{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źẑżžẓẕƶȥɀⱬꝣ"}],uv=new RegExp("["+cv.map(function(e){return e.letters}).join("")+"]","g"),dv={},pv=0;pv<cv.length;pv++)for(var mv=cv[pv],hv=0;hv<mv.letters.length;hv++)dv[mv.letters[hv]]=mv.base;var fv=function(e){return e.replace(uv,function(e){return dv[e]})},gv=function(e,t){void 0===t&&(t=iv);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(fv),bv=function(e){return e.replace(/^\s+|\s+$/g,"")},vv=function(e){return"".concat(e.label," ").concat(e.value)},xv=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=Ah({ignoreCase:!0,ignoreAccents:!0,stringify:vv,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,s=r.stringify,a=r.trim,l=r.matchFrom,c=a?bv(n):n,u=a?bv(s(t)):s(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=gv(c),u=fv(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},yv=["innerRef"];function wv(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=Th(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=Th(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(Sh(e,yv),"onExited","in","enter","exit","appear");return Sg("input",mp({ref:t},n,{css:kg({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Cv=["boxSizing","height","overflow","paddingRight","position"],Iv={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Nv(e){e.cancelable&&e.preventDefault()}function Av(e){e.stopPropagation()}function Ev(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function jv(){return"ontouchstart"in window||navigator.maxTouchPoints}var Tv=!("undefined"==typeof window||!window.document||!window.document.createElement),Sv=0,kv={capture:!1,passive:!1};var Pv=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},Rv="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Cb3R0b21MZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG4gIHJlYWRvbmx5IG9uVG9wQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4gdm9pZDtcbiAgcmVhZG9ubHkgb25Ub3BMZWF2ZT86IChldmVudDogV2hlZWxFdmVudCB8IFRvdWNoRXZlbnQpID0+IHZvaWQ7XG59XG5cbmNvbnN0IGJsdXJTZWxlY3RJbnB1dCA9IChldmVudDogTW91c2VFdmVudDxIVE1MRGl2RWxlbWVudD4pID0+IHtcbiAgY29uc3QgZWxlbWVudCA9IGV2ZW50LnRhcmdldCBhcyBIVE1MRGl2RWxlbWVudDtcbiAgcmV0dXJuIChcbiAgICBlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCAmJlxuICAgIChlbGVtZW50Lm93bmVyRG9jdW1lbnQuYWN0aXZlRWxlbWVudCBhcyBIVE1MRWxlbWVudCkuYmx1cigpXG4gICk7XG59O1xuXG5leHBvcnQgZGVmYXVsdCBmdW5jdGlvbiBTY3JvbGxNYW5hZ2VyKHtcbiAgY2hpbGRyZW4sXG4gIGxvY2tFbmFibGVkLFxuICBjYXB0dXJlRW5hYmxlZCA9IHRydWUsXG4gIG9uQm90dG9tQXJyaXZlLFxuICBvbkJvdHRvbUxlYXZlLFxuICBvblRvcEFycml2ZSxcbiAgb25Ub3BMZWF2ZSxcbn06IFByb3BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function Bv(e){var n=e.children,r=e.lockEnabled,i=e.captureEnabled,o=function(e){var n=e.isEnabled,r=e.onBottomArrive,i=e.onBottomLeave,o=e.onTopArrive,s=e.onTopLeave,a=t.useRef(!1),l=t.useRef(!1),c=t.useRef(0),u=t.useRef(null),d=t.useCallback(function(e,t){if(null!==u.current){var n=u.current,c=n.scrollTop,d=n.scrollHeight,p=n.clientHeight,m=u.current,h=t>0,f=d-p-c,g=!1;f>t&&a.current&&(i&&i(e),a.current=!1),h&&l.current&&(s&&s(e),l.current=!1),h&&t>f?(r&&!a.current&&r(e),m.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(o&&!l.current&&o(e),m.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[r,i,o,s]),p=t.useCallback(function(e){d(e,e.deltaY)},[d]),m=t.useCallback(function(e){c.current=e.changedTouches[0].clientY},[]),h=t.useCallback(function(e){var t=c.current-e.changedTouches[0].clientY;d(e,t)},[d]),f=t.useCallback(function(e){if(e){var t=!!vb&&{passive:!1};e.addEventListener("wheel",p,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",h,t)}},[h,m,p]),g=t.useCallback(function(e){e&&(e.removeEventListener("wheel",p,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",h,!1))},[h,m,p]);return t.useEffect(function(){if(n){var e=u.current;return f(e),function(){g(e)}}},[n,f,g]),function(e){u.current=e}}({isEnabled:void 0===i||i,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,r=e.accountForScrollbars,i=void 0===r||r,o=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(Tv){var t=document.body,n=t&&t.style;if(i&&Cv.forEach(function(e){var t=n&&n[e];o.current[e]=t}),i&&Sv<1){var r=parseInt(o.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+r||0;Object.keys(Iv).forEach(function(e){var t=Iv[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&jv()&&(t.addEventListener("touchmove",Nv,kv),e&&(e.addEventListener("touchstart",Ev,kv),e.addEventListener("touchmove",Av,kv))),Sv+=1}},[i]),l=t.useCallback(function(e){if(Tv){var t=document.body,n=t&&t.style;Sv=Math.max(Sv-1,0),i&&Sv<1&&Cv.forEach(function(e){var t=o.current[e];n&&(n[e]=t)}),t&&jv()&&(t.removeEventListener("touchmove",Nv,kv),e&&(e.removeEventListener("touchstart",Ev,kv),e.removeEventListener("touchmove",Av,kv)))}},[i]);return t.useEffect(function(){if(n){var e=s.current;return a(e),function(){l(e)}}},[n,a,l]),function(e){s.current=e}}({isEnabled:r});return Sg(t.Fragment,null,r&&Sg("div",{onClick:Pv,css:Rv}),n(function(e){o(e),s(e)}))}var Lv="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)."}},Ov=function(e){var t=e.name,n=e.onFocus;return Sg("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:Lv,value:"",onChange:function(){}})};function Gv(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 Mv(){return Gv(/^Mac/i)}function Dv(){return Gv(/^iPhone/i)||Gv(/^iPad/i)||Mv()&&navigator.maxTouchPoints>1}var Vv={clearIndicator:Wb,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,s=i.borderRadius;return Ah({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Hb,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return Ah({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return Ah({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,s=i.colors;return Ah(Ah({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},$b),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,s=i.spacing.baseUnit;return Ah({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*s})},loadingMessage:Pb,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,s=i.spacing,a=i.colors;return Ah((Ih(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),Ih(n,"position","absolute"),Ih(n,"width","100%"),Ih(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return Ah({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return Ah({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return Ah({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,s=e.isFocused;return Ah({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:s?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:kb,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,s=o.spacing,a=o.colors;return Ah({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?a.primary:r?a.primary25:"transparent",color:n?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return Ah({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return Ah({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return Ah({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Fv={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}},Hv={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:hb(),captureMenuScroll:!hb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:xv(),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 Wv(e,t,n,r){return{type:"option",data:t,isDisabled:$v(e,t,n),isSelected:Kv(e,t,n),label:Jv(e,t),value:Uv(e,t),index:r}}function Xv(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Wv(e,n,t,r)}).filter(function(t){return Zv(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Wv(e,n,t,r);return Zv(e,o)?o:void 0}).filter(xb)}function zv(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,Gh(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function _v(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,Gh(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 Zv(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,s=t.label,a=t.value;return(!qv(e)||!o)&&Qv(e,{label:s,value:a,data:i},r)}var Yv=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Jv=function(e,t){return e.getOptionLabel(t)},Uv=function(e,t){return e.getOptionValue(t)};function $v(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Kv(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Uv(e,t);return n.some(function(t){return Uv(e,t)===r})}function Qv(e,t,n){return!e.filterOption||e.filterOption(t,n)}var qv=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},ex=1,tx=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&&Rh(e,t)}(n,t.Component);var e=function(e){var t=Lh();return function(){var n,r=Bh(e);if(t){var i=Bh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Oh(this,n)}}(n);function n(t){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(r=e.call(this,t)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,s=i.isMulti,a=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:a}),o&&(r.setState({inputIsHiddenAfterUpdate:!s}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,s=r.state.selectValue,a=i&&r.isOptionSelected(e,s),l=r.isOptionDisabled(e,s);if(a){var c=r.getOptionValue(e);r.setValue(s.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(Gh(s),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),s=yb(t,o,o[0]||null);r.onChange(s,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(yb(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=yb(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return Yv(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return _v(Xv(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ob.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Jv(r.props,e)},r.getOptionValue=function(e){return Uv(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Vv[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,Ah(Ah({},tv),e.components);var e},r.buildCategorizedOptions=function(){return Xv(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return zv(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:Ah({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&cb(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return qv(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=r.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;r.focusValue("previous");break;case"ArrowRight":if(!n||s)return;r.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():a&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:s}),r.onMenuClose()):a&&o&&r.clearValue();break;case" ":if(s)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++ex),r.state.selectValue=sb(t.value),t.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),s=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[s],r.state.focusedOptionId=Yv(i,o[s])}return r}return function(e,t,n){t&&Ph(e.prototype,t),n&&Ph(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(n,[{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&&mb(this.menuListRef,this.focusedOptionRef),(Mv()||Dv())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(mb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),s="first"===e?0:o.length-1;if(!this.props.isMulti){var a=o.indexOf(r[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[s],focusedOptionId:this.getFocusedOptionId(o[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(s=i+1)}this.setState({inputIsHidden:-1!==s,focusedValue:n[s]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Fv):Ah(Ah({},Fv),this.props.theme):Fv}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,s=this.setValue,a=this.props,l=a.isMulti,c=a.isRtl,u=a.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:a,setValue:s,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 $v(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Kv(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Qv(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,o=e.tabIndex,s=e.form,a=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,f=r||this.getElementId("input"),g=Ah(Ah(Ah({"aria-autocomplete":"list","aria-expanded":a,"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||""},a&&{"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?l.createElement(u,mp({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:o,form:s,type:"text",value:i},g)):l.createElement(wv,mp({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:rb,onFocus:this.onInputFocus,disabled:t,tabIndex:o,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,o=t.MultiValueRemove,s=t.SingleValue,a=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!d)return h?null:l.createElement(a,mp({},c,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(m)return b.map(function(t,s){var a=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return l.createElement(n,mp({},c,{components:{Container:r,Label:i,Remove:o},isFocused:a,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 y=b[0];return l.createElement(s,mp({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,mp({},t,{innerProps:s,isFocused:o}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,o=this.state.isFocused;if(!e||!i)return null;return l.createElement(e,mp({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:o}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,o=this.state.isFocused;return l.createElement(n,mp({},r,{isDisabled:i,isFocused:o}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return l.createElement(e,mp({},t,{innerProps:i,isDisabled:n,isFocused:r}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,r=t.GroupHeading,i=t.Menu,o=t.MenuList,s=t.MenuPortal,a=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,f=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,x=m.maxMenuHeight,y=m.menuIsOpen,w=m.menuPlacement,C=m.menuPosition,I=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,E=m.noOptionsMessage,j=m.onMenuScrollToTop,T=m.onMenuScrollToBottom;if(!y)return null;var S,k=function(t,n){var r=t.type,i=t.data,o=t.isDisabled,s=t.isSelected,a=t.label,c=t.value,m=p===i,h=o?void 0:function(){return e.onOptionHover(i)},f=o?void 0:function(){return e.selectOption(i)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return l.createElement(u,mp({},d,{innerProps:b,data:i,isDisabled:o,isSelected:s,key:g,label:a,type:r,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())S=this.getCategorizedOptions().map(function(t){if("group"===t.type){var i=t.data,o=t.options,s=t.index,a="".concat(e.getElementId("group"),"-").concat(s),c="".concat(a,"-heading");return l.createElement(n,mp({},d,{key:a,data:i,options:o,Heading:r,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return k(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return k(t,"".concat(t.index))});else if(g){var P=b({inputValue:f});if(null===P)return null;S=l.createElement(a,d,P)}else{var R=E({inputValue:f});if(null===R)return null;S=l.createElement(c,d,R)}var B={minMenuHeight:v,maxMenuHeight:x,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:A},L=l.createElement(jb,mp({},d,B),function(t){var n=t.ref,r=t.placerProps,s=r.placement,a=r.maxHeight;return l.createElement(i,mp({},d,B,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),l.createElement(Bv,{captureEnabled:h,onTopArrive:j,onBottomArrive:T,lockEnabled:N},function(t){return l.createElement(o,mp({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:a,focusedOption:p}),S)}))});return I||"fixed"===C?l.createElement(s,mp({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,o=t.name,s=t.required,a=this.state.selectValue;if(s&&!this.hasValue()&&!r)return l.createElement(Ov,{name:o,onFocus:this.onValueInputFocus});if(o&&!r){if(i){if(n){var c=a.map(function(t){return e.getOptionValue(t)}).join(n);return l.createElement("input",{name:o,type:"hidden",value:c})}var u=a.length>0?a.map(function(t,n){return l.createElement("input",{key:"i-".concat(n),name:o,type:"hidden",value:e.getOptionValue(t)})}):l.createElement("input",{name:o,type:"hidden",value:""});return l.createElement("div",null,u)}var d=a[0]?this.getOptionValue(a[0]):"";return l.createElement("input",{name:o,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.isFocused,s=t.selectValue,a=this.getFocusableOptions();return l.createElement(lv,mp({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:r,focusedValue:i,isFocused:o,selectValue:s,focusableOptions:a,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,o=this.props,s=o.className,a=o.id,c=o.isDisabled,u=o.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return l.createElement(r,mp({},p,{className:s,innerProps:{id:a,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),l.createElement(t,mp({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),l.createElement(i,mp({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),l.createElement(n,mp({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,s=t.isFocused,a=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=sb(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return zv(Xv(e,t))}(e,h):[],b=d?_v(Xv(e,h),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,x=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:h,focusedOption:x,focusedOptionId:Yv(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,C=s&&a;return s&&!C&&(w={value:yb(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),Ah(Ah(Ah({},f),y),{},{prevProps:e,ariaSelection:w,prevWasFocused:C})}}]),n}();tx.defaultProps=Hv;var nx=t.forwardRef(function(e,n){var r=function(e){var n=e.defaultInputValue,r=void 0===n?"":n,i=e.defaultMenuIsOpen,o=void 0!==i&&i,s=e.defaultValue,a=void 0===s?null:s,l=e.inputValue,c=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,h=e.value,f=Sh(e,kh),g=Th(t.useState(void 0!==l?l:r),2),b=g[0],v=g[1],x=Th(t.useState(void 0!==c?c:o),2),y=x[0],w=x[1],C=Th(t.useState(void 0!==h?h:a),2),I=C[0],N=C[1],A=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),N(e)},[u]),E=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),j=t.useCallback(function(){"function"==typeof m&&m(),w(!0)},[m]),T=t.useCallback(function(){"function"==typeof p&&p(),w(!1)},[p]),S=void 0!==l?l:b,k=void 0!==c?c:y,P=void 0!==h?h:I;return Ah(Ah({},f),{},{inputValue:S,menuIsOpen:k,onChange:A,onInputChange:E,onMenuClose:T,onMenuOpen:j,value:P})}(e);return l.createElement(tx,mp({ref:n},r))}),rx=nx;const ix={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},ox=l.default.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,menuClassName:m,helperText:h,label:f,labelClassName:g,singleValueClassName:b,size:v="md",variant:x="default","data-cy":y,"data-testid":w,...C})=>{const I=t.useMemo(()=>xv(u),[u]),N=t.useMemo(()=>({control:({isFocused:e})=>{var t;return Ae(null!==(t=ix[v])&&void 0!==t?t:ix.md,"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&&!d,"border-input-border-critical shadow-none":d},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ae(s?"text-text text-body1 whitespace-normal":"text-text-secondary",b),menu:()=>Ae("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",m),option:({isFocused:e,isSelected:t,label:r})=>{var i;return Ae("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===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,i,m,n,d,v,b]);return"unstyled"===x?e.jsx(rx,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Ae("rounded-xl",r),classNames:N,"data-cy":y,"data-testid":w,...C}):e.jsxs("div",{className:"w-full",children:[f&&e.jsx("label",{className:Ae("mb-1 block text-sm font-medium text-text-secondary",g),children:f}),e.jsx(rx,{options:n,value:o,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Ae("rounded-xl",r),classNames:N,"data-cy":y,"data-testid":w,...C}),p&&e.jsx(qn,{className:"footnote mt-1 text-text-critical",children:p}),!p&&h&&e.jsx(qn,{className:"footnote mt-1 text-text-info",children:h})]})});ox.displayName="Select";const sx={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"}};function ax(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function lx(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const cx=({fill:t="#FFFEEF"})=>{const n=`logo-cream-clip-${l.default.useId()}`;return e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[e.jsxs("g",{fill:t,clipPath:`url(#${n})`,children:[e.jsx("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e.jsx("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e.jsx("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e.jsx("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:n,children:e.jsx("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},ux={white:"bg-white",navy:"bg-[#00002D] text-white",green:"bg-[#26B170] text-white",blue:"bg-[#07B2E2] text-white",purple:"bg-[#931D69] text-white",yellow:"bg-[#F5FF1E]",cream500:"bg-[#FFFEEF]",gray100:"bg-bg-fill-secondary",transparent:""},dx=["blue","green","yellow","purple","white","navy"],px={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},mx={IP_PHONE_NUMBER:"ip_or_phone",TARGET_EMAIL:"target_email",REQUIRED_FIELDS_MISSING:"Required fields missing",PROVIDE_AT_LEAST_ONE:"Please provide at least one",ONE_REQUIRED_FIELD:"At least One Required"},hx="* Please fill all required fields and checkboxes",fx={phone:/^(?:\d{10}|\(\d{3}\)\s\d{3}-\d{4}|\d{3}-\d{3}-\d{4}|\+1\s\d{3}-\d{3}-\d{4})$/,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,7}:|(?:[0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,5}(?::[0-9A-Fa-f]{1,4}){1,2}|(?:[0-9A-Fa-f]{1,4}:){1,4}(?::[0-9A-Fa-f]{1,4}){1,3}|(?:[0-9A-Fa-f]{1,4}:){1,3}(?::[0-9A-Fa-f]{1,4}){1,4}|(?:[0-9A-Fa-f]{1,4}:){1,2}(?::[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:(?:(?::[0-9A-Fa-f]{1,4}){1,6})|:(?:(?::[0-9A-Fa-f]{1,4}){1,7}|:))$/,email:/^[a-zA-Z0-9._%+-]+@((?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{1,}|(?:\d{1,3}\.){3}\d{1,3})$/},gx=t.createContext(void 0),bx=({state:n,checked:r=!1,onChange:i,className:o,label:s,labelClassName:a,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:m=!1,error:h=!1,"data-cy":f,renderInfoIcon:g,...b})=>{var v,x;const y=p||"disabled"===n,w=d||c,C=Ae("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",o),I=t.useCallback(e=>{y||i&&(1===i.length?i(e.target.checked):i())},[y,i]);return e.jsxs("div",{className:Ae("flex items-center gap-3",l),children:[e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"checkbox",id:w,name:c,value:u,checked:r,onChange:I,disabled:y,required:m,className:"peer sr-only","data-cy":f,...b}),e.jsx("label",{htmlFor:w,className:Ae("peer-focus:outline",C),style:{pointerEvents:y?"none":"auto"},children:r?e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{width:"24",height:"24",rx:"4",className:Ae(y?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e.jsx("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}):e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:Ae(y?"fill-checkbox-bg-surface-disabled":"fill-white")}),e.jsx("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),s&&e.jsx("label",{htmlFor:w,className:Ae("cursor-pointer",h&&"text-text-critical",a),children:s}),g&&e.jsx(li,{type:"button",onClick:g.onClick,"data-testid":g.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!==(v=g.iconSize)&&void 0!==v?v:24,height:null!==(x=g.iconSize)&&void 0!==x?x:24,viewBox:"0 0 24 24",fill:"none",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e.jsx("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};bx.displayName="Checkbox";const vx=t=>{const{name:n,value:r,label:i,subText:o,checked:s,onChange:a,className:l,variant:c="circle",hasError:u=!1,labelProps:d={},"data-cy":p,labelClassName:m="",disabled:h,...f}=t,g=()=>null==a?void 0:a(r||n);return e.jsxs("label",{htmlFor:n,className:Ae("flex items-center",l),"data-cy":p,...d,children:[e.jsx("input",{className:"hidden",type:"radio",name:n,value:r,checked:s,readOnly:!0,disabled:h,...f}),e.jsx(li,{type:"button",onClick:g,disabled:h,className:Ae("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",h&&"opacity-50"),children:s&&e.jsx("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),e.jsxs(li,{type:"button",onClick:g,disabled:h,tabIndex:i?0:-1,children:[e.jsx("div",{className:Ae("text-body2 font-normal",m),children:i}),e.jsx("div",{className:"text-body1 text-text-info",children:o})]})]})};vx.displayName="RadioButton";const xx=e=>{const t=(e||"").replace(/\D/g,"");return t.length<=3?t:t.length<=6?`${t.slice(0,3)}-${t.slice(3)}`:t.length<=9?`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`:`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6,10)}`},yx=(t,n,r="footnote")=>e.jsxs(qn,{as:"div",className:Ae(r,"validation-label mb-1"),children:[t,n?e.jsx("span",{className:"text-text-critical",children:"*"}):null]}),wx=n=>{const{requiredField:r,handleInputChange:i,fieldId:o,displayName:s,hasError:a}=n,[l,c]=t.useState(!1);return e.jsx(bx,{name:o,id:o,checked:l,error:a,onChange:()=>{c(e=>(i(!e),!e))},labelClassName:"footnote text-text-secondary",label:e.jsxs(e.Fragment,{children:[s,r?e.jsx("span",{className:"text-text-critical",children:"*"}):null]})})},Cx={Checkbox:t=>{const{formData:n,handleInputChange:r,fieldId:i,dataSource:o,isConsentCheckbox:s,hasError:a}=t;if(s)return e.jsx(wx,{...t});const l=null==n?void 0:n[i],c="string"==typeof l&&l.length>0?l.split(","):[];return e.jsx("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:(o||[]).map((t,n)=>e.jsx("div",{className:"w-full lg:w-[384px]",children:e.jsx(bx,{name:i,id:`${i}-${n}`,label:t.label,value:t.value,checked:c.includes(t.value),onChange:()=>(e=>{let t;t=c.includes(e)?c.filter(t=>t!==e):[...c,e],r(t.join(","))})(t.value),error:a,labelClassName:"footnote"})},`${i}-${n}`))})},Imageupload:n=>{const{handleInputChange:r,loading:i}=n,[o,s]=t.useState([]),[a,l]=t.useState([]),[c,u]=t.useState(!1),[d,p]=t.useState(null),m=t.useRef(null),h=t.useContext(gx);t.useEffect(()=>{const e=o.map(e=>e.type.startsWith("image/")?URL.createObjectURL(e):"");return l(e),()=>{e.forEach(e=>{e&&URL.revokeObjectURL(e)})}},[o]);const f=e=>{const t=[];if(e&&e.length){if(Array.from(e).forEach(e=>{e.type.startsWith("image/")&&t.push(e)}),0===t.length)return void p("Only image files are allowed.");if(o.length+t.length>5)return void p("You can only upload a maximum of 5 files.");const n=[...o,...t];if(!((e,t)=>{const n=e.reduce((e,t)=>e+t.size,0);return{total:n,ok:n<=t}})(n,20971520).ok)return void p("Total file size should not be more than 20 MB.");null==h||h.setFiles(n),s(n),r(n),p(null)}};return e.jsx("div",{children:e.jsxs("div",{onDragOver:e=>{e.preventDefault(),e.stopPropagation(),u(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),u(!1)},onDrop:e=>{e.preventDefault(),e.stopPropagation(),u(!1),e.dataTransfer.files&&e.dataTransfer.files.length>0&&(f(e.dataTransfer.files),e.dataTransfer.clearData())},className:Ae("relative flex flex-col items-center justify-center rounded-xl border border-input-border bg-white px-4 py-10 text-center transition",c?"border-input-border-selected bg-bg-surface-active":"hover:border-input-border-hover"),children:[e.jsx("p",{className:"mb-3 text-sm text-text-secondary",children:"Drop files here or"}),e.jsxs("button",{type:"button",onClick:()=>{var e;return null===(e=m.current)||void 0===e?void 0:e.click()},className:"inline-flex items-center gap-2 rounded-md bg-white px-4 py-2 text-sm font-medium text-text shadow-sm ring-1 ring-inset ring-input-border hover:bg-bg-surface-hover",children:[e.jsx(Qn,{name:"upload",weight:"700",size:24}),"Choose files"]}),e.jsx("input",{ref:m,type:"file",accept:"image/*",multiple:!0,name:"files",onChange:e=>{e.target.files&&e.target.files.length>0&&(f(e.target.files),e.target.value="")},className:"pointer-events-none absolute inset-0 h-0 w-0 opacity-0","aria-hidden":!0,tabIndex:-1}),d&&e.jsx("p",{className:"mt-2 text-sm text-text-critical",children:d}),o.length>0&&e.jsx("div",{className:"mt-8",children:e.jsx("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4",children:o.map((t,n)=>e.jsxs("li",{className:"group relative rounded-xl border border-input-border p-2",children:[t.type.startsWith("image/")&&a[n]?e.jsx("img",{src:a[n],alt:t.name,className:"h-28 w-full rounded object-cover"}):e.jsx("div",{className:"h-28 w-full rounded bg-bg-surface-active"}),e.jsxs("div",{className:"mt-2 flex items-center justify-between",children:[e.jsx("span",{className:"max-w-[50%] truncate text-sm text-text",title:t.name,children:t.name}),i?e.jsx("button",{type:"button",disabled:!0,className:"cursor-default text-sm text-text-secondary",children:"Remove"}):e.jsx("button",{type:"button",onClick:()=>(e=>{const t=[...o];t.splice(e,1),s(t),null==h||h.setFiles(t),r(t)})(n),className:"text-sm text-text-critical hover:underline",children:"Remove"})]})]},n))})})]})})},Datepicker:t=>{var n;const{displayName:r,handleInputChange:i,errorClass:o,formData:s,fieldId:a}=t;return e.jsx("div",{className:"w-full",children:e.jsx("input",{type:"datetime-local","aria-label":r,value:null!==(n=null==s?void 0:s[a])&&void 0!==n?n:"",onChange:e=>i(e.target.value),className:Ae("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",o)})})},Dropdown:n=>{var r;const{formData:i,handleInputChange:o,fieldId:s,dataSource:a,existingDataSource:l,errorClass:c}=n,[u,d]=t.useState(null!=a?a:[]),p=t.useContext(gx),m=null==p?void 0:p.resolveExistingDataSource;t.useEffect(()=>{(async()=>{var e;if((null==a||a.length<=0)&&l){if("City List"===l)return;if(!m)return;try{const e=await m(l,{selectedState:null==p?void 0:p.selectedState});d(e||[])}catch(t){null===(e=null==p?void 0:p.onError)||void 0===e||e.call(p,{type:"resolve_data_source",error:t,metadata:{existingDataSource:l}})}}})()},[a,l]),t.useEffect(()=>{if("City List"===l&&(o(null),d([]),(null==p?void 0:p.selectedState)&&m)){const e=async()=>{var e;try{const e=await m("City List",{selectedState:null==p?void 0:p.selectedState});d(e||[])}catch(t){null===(e=null==p?void 0:p.onError)||void 0===e||e.call(p,{type:"resolve_data_source",error:t,metadata:{existingDataSource:"City List"}})}};e()}},[null==p?void 0:p.selectedState,l]);const h=(null==i?void 0:i[s])?u.find(e=>e.value===(null==i?void 0:i[s])):null;return e.jsx(ox,{className:Ae("body3",c),controlClassName:"px-4 [&>div]:p-0",options:u,value:null!=h?h:void 0,onChange:o,"aria-label":null!==(r=n.displayName)&&void 0!==r?r:"Select"})},Radio:t=>{const{requiredField:n,formData:r,handleInputChange:i,fieldId:o,hasError:s,dataSource:a}=t;return e.jsx("div",{className:"mt-6 flex flex-col gap-8 sm:flex-row",children:(a||[]).map((t,a)=>e.jsx("div",{className:"w-full lg:w-[384px]",children:e.jsx(vx,{name:o,label:t.label,value:t.value,checked:(null==r?void 0:r[o])===t.value,hasError:s,onChange:i,required:n,labelClassName:"footnote"})},a))})},Text:n=>{var r,i;const{displayName:o,formData:s,textInputType:a,handleInputChange:l,fieldId:c,errorClass:u,enableAddressAutocomplete:d}=n,p=t.useContext(gx),m=null==p?void 0:p.renderAddressAutocomplete;return!!d&&!!m&&"phone"!==a&&"email"!==a&&"multiline"!==a&&m?e.jsx(m,{...n}):"phone"===a?e.jsx("div",{className:"w-full",children:e.jsx(Qd,{"aria-label":o,name:c,type:"tel",value:s[c]?xx(s[c]):"",onChange:l,className:Ae("w-full",u),maxLength:14})}):"multiline"===a?e.jsx("div",{className:"w-full",children:e.jsx("textarea",{"aria-label":o,name:c,value:null!==(r=null==s?void 0:s[c])&&void 0!==r?r:"",onChange:l,rows:4,className:Ae("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",u)})}):e.jsx("div",{className:"w-full",children:e.jsx(Qd,{"aria-label":o,name:c,value:null!==(i=null==s?void 0:s[c])&&void 0!==i?i:"",onChange:l,className:Ae("w-full",u)})})}},Ix=n=>{const r=t.useContext(gx),{formData:i,setFormData:o,submitErrorFields:s,fieldId:a,displayName:l,requiredField:c,formFieldsToShow:u=[],dataSource:d,note:p,grouped:m=!1,renderConditionalFields:h}=n,[f,g]=t.useState(!1),[b,v]=t.useState({fieldId:"",errorMessage:""}),x=m&&(a===mx.TARGET_EMAIL||a===mx.IP_PHONE_NUMBER),y=Cx.Radio;if(!y)return null;const w=s.includes(a);let C="";w&&(C="Datepicker"===a||"Dropdown"===a?"border border-border-critical border-solid rounded-xl":"border border-border-critical");return e.jsxs("div",{className:Ae("w-full",x&&"bg-bg-surface-secondary px-5 pt-1",x&&a===mx.IP_PHONE_NUMBER&&"rounded-t-xl border-x border-b border-border-secondary",x&&a===mx.TARGET_EMAIL&&"rounded-b-xl border-x border-t border-border-secondary pb-5"),children:[e.jsxs("div",{className:"mb-4",children:[yx(l,c),e.jsx(y,{displayName:l,requiredField:c,formData:i,fieldId:a,handleInputChange:e=>{v({fieldId:"",errorMessage:""}),null==r||r.setHasError(!1),g("yes"===(null==e?void 0:e.toLowerCase())),o(t=>({...t,[a]:e}))},error:b,hasError:w,dataSource:d,errorClass:C}),b.fieldId===a&&b.errorMessage&&e.jsx(qn,{as:"div",className:"footnote mt-1 text-text-critical",children:b.errorMessage}),p&&e.jsx(qn,{as:"div",className:"footnote mt-1",children:p})]}),e.jsx("div",{className:"transition duration-300 ease-in-out "+(f?"translate-y-0 opacity-100":"translate-y-4 opacity-0"),children:f&&h(!1,u,i,o,s)})]})},Nx=n=>{var r;const i=t.useContext(gx),{loading:o,formData:s,setFormData:a,submitErrorFields:l,isGrouped:c=!1,fieldId:u,fieldType:d,fieldClassName:p,displayName:m,requiredField:h,textInputType:f,errorMessage:g,dataSource:b,existingDataSource:v,note:x,noteClassName:y,validationNote:w,validationGroupId:C,validationType:I,applyRegularExpression:N,regexPattern:A,enableAddressAutocomplete:E}=n,[j,T]=t.useState({fieldId:"",errorMessage:""}),S=(d?null===(r=null==i?void 0:i.fieldComponentOverrides)||void 0===r?void 0:r[d]:void 0)||(d?Cx[d]:void 0);if(!S)return null;const k=C&&I&&!c,P="Checkbox"===d&&!b&&!v,R=l.includes(u);let B="";R&&(B="Datepicker"===u||"Dropdown"===u?"border border-border-critical border-solid rounded-xl":"border border-border-critical");const L=(e,t)=>{T({fieldId:e,errorMessage:t})},O=(e,t)=>{a(n=>({...n,[e]:t}))};return e.jsxs("div",{className:Ae(k?"groupingField rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1":"",(null==p?void 0:p.split("|")[1])||"w-full"),children:[k&&!c?yx(w||mx.PROVIDE_AT_LEAST_ONE,!0,"body2"):null,!P&&yx(m,h),e.jsx("div",{className:"Checkbox"===d||"Radio"===d?P?"":"mt-6":"",children:e.jsx(S,{loading:o,displayName:m,requiredField:h,formData:s,fieldId:u,textInputType:f,handleInputChange:e=>{var t;if(null==i||i.clearFieldError(u),T({fieldId:"",errorMessage:""}),null==i||i.setHasError(!1),"Checkbox"===d||"Radio"===d)O(u,e);else if("Dropdown"===d)O(u,null==e?void 0:e.value),"State List"===v&&(null==i||i.setSelectedState(e));else if("Datepicker"===d)e?O(u,e):(L(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||""));else{if("Imageupload"===d){const t=Array.isArray(e)?e:[];return null==i||i.setFiles(t),void O("files",t)}{const{name:n,value:r}=e.target;if(!r)return void O(n,r);if("phone"===f){const t=xx(r).replace(/\D/g,"");return O(n,t),e.target.value=t,void(10!==t.length&&(L(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||"")))}if("email"!==f||(e=>{const[,t]=e.split("@");return!(!t||t.includes(".."))&&fx.email.test(e)})(r)||(L(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||"")),N&&A)try{new RegExp(A).test(r)||""===r||(L(u,g||""),null==i||i.setHasError(!0),null==i||i.setFieldError(u,g||""))}catch(e){null===(t=null==i?void 0:i.onError)||void 0===t||t.call(i,{type:"invalid_regex_pattern",error:e,metadata:{fieldId:u,regexPattern:A}})}O(n,r)}}},dataSource:b,error:j,errorClass:B,hasError:R,existingDataSource:v,isConsentCheckbox:P,enableAddressAutocomplete:E,"data-testid":"form-component"})}),j.fieldId===u&&j.errorMessage&&e.jsx(qn,{as:"div",className:"footnote text-text-critical",children:j.errorMessage}),x&&e.jsx(qn,{as:"div",className:Ae("footnote",y),children:x})]})},Ax=e=>"formField"===e.itemType,Ex=e=>"conditional"===e.itemType,jx=(e,t=!1,n={})=>{const r=((e,t)=>{const n=e.filter(Ex).flatMap(e=>{const n=t[e.fieldId];return"string"==typeof n&&"yes"===n.toLowerCase()?e.formFieldsToShow:[]});return[...e,...n]})(e,n);return r.filter(Ax).map(e=>{if(t)return{[e.fieldId]:e.sftpFieldId};const{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:s}=e;return{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:s}})},Tx=(e,t)=>{const n={};return e.forEach(e=>{const{fieldId:r,formSection:i}=e;i&&"string"==typeof i&&(n[i]||(n[i]=[]),r in t&&n[i].push({[r]:t[r]}))}),n},Sx=e=>{var t,n,r,i,o;const s=e instanceof Error?e.message:String(e),a=s.replace(/Bearer\s+\S+/gi,"Bearer [REDACTED]").replace(/["']?Authorization["']?\s*[:=]\s*(?:"[^"]*"|'[^']*'|\S+)/gi,"Authorization: [REDACTED]").replace(/(api(?:[_-]|\s)?key|apikey|access(?:[_-]|\s)?token|token|secret|password|key)(\s*["']?\s*[:=]\s*)(?:"[^"]*"|'[^']*'|[^\s&"']+)/gi,"$1$2[REDACTED]");const l=null==e?void 0:e.cause;return{errorMessage:a,errorStatus:null!==(o=null!==(r=null!==(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status)&&void 0!==n?n:null==e?void 0:e.status)&&void 0!==r?r:null===(i=null==l?void 0:l.response)||void 0===i?void 0:i.status)&&void 0!==o?o:void 0,errorCode:[e,l].map(e=>null==e?void 0:e.code).find(e=>"string"==typeof e)}},kx=e=>{const{errorMessage:t,errorStatus:n,errorCode:r}=Sx(e);return{name:e instanceof Error?e.name:"Error",message:t,...void 0!==n?{status:n}:{},...void 0!==r?{code:r}:{}}},Px=(t,n,r,i,o,s,a=!1)=>"formField"===t.itemType?e.jsx(Nx,{loading:r,...t,formData:i,setFormData:o,submitErrorFields:s,isGrouped:a},n):"conditional"===t.itemType?e.jsx(Ix,{...t,formData:i,setFormData:o,submitErrorFields:s,renderConditionalFields:Rx},n):e.jsx(l.default.Fragment,{children:t.content},n),Rx=(t,n,r,i,o)=>(e=>{const t=[];let n=0;for(;n<e.length;){const r=e[n];if(!Ax(r)){t.push({type:"single",fields:[r]}),n++;continue}const i=r.validationGroupId;if(i){const o=[];let s=n;for(;s<e.length;){const t=e[s];if(!Ax(t)||t.validationGroupId!==i)break;o.push(t),s++}const a={type:"validationGroup",validationGroupId:i,validationNote:r.validationNote,validationType:r.validationType,subGroups:[]};let l=0;for(;l<o.length;){const e=o[l];if(!1===e.fieldWidth){const t=o[l+1];t&&!1===t.fieldWidth?(a.subGroups.push({type:"double",fields:[e,t]}),l+=2):(a.subGroups.push({type:"single",fields:[e]}),l++)}else a.subGroups.push({type:"single",fields:[e]}),l++}t.push(a),n=s}else if(!1===r.fieldWidth){const i=e[n+1];i&&Ax(i)&&!1===i.fieldWidth&&!i.validationGroupId?(t.push({type:"double",fields:[r,i]}),n+=2):(t.push({type:"single",fields:[r]}),n++)}else t.push({type:"single",fields:[r]}),n++}return t})(n).map((n,s)=>{var a,l;if("validationGroup"===n.type)return e.jsxs("div",{className:"mb-0 w-full rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1",children:[n.validationNote&&e.jsxs(qn,{as:"div",className:"validation-label body3 mb-3 mt-4 sm:mt-5",children:[n.validationNote,n.validationType===mx.ONE_REQUIRED_FIELD?e.jsx("span",{className:"text-text-critical",children:"*"}):null]}),n.subGroups.map((n,s)=>"single"===n.type?e.jsx("div",{className:"mb-0 w-full",children:Px(n.fields[0],`subgroup-field-${s}`,t,r,i,o,!0)},`subgroup-${s}`):e.jsxs("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e.jsx("div",{className:"w-full lg:flex-1",children:Px(n.fields[0],`subgroup-field-${s}-0`,t,r,i,o,!0)}),e.jsx("div",{className:"w-full lg:flex-1",children:Px(n.fields[1],`subgroup-field-${s}-1`,t,r,i,o,!0)})]},`subgroup-${s}`))]},`validation-group-${s}`);if("single"===n.type){const c=n.fields[0],u="formField"===c.itemType?`${null!==(l=null===(a=c.fieldClassName)||void 0===a?void 0:a.split("|")[0])&&void 0!==l?l:""} mb-0 w-full`:"w-full";return e.jsx("div",{className:u,children:Px(c,`group-field-${s}`,t,r,i,o)},`group-${s}`)}return e.jsxs("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e.jsx("div",{className:"w-full lg:flex-1",children:Px(n.fields[0],`group-field-${s}-0`,t,r,i,o)}),e.jsx("div",{className:"w-full lg:flex-1",children:Px(n.fields[1],`group-field-${s}-1`,t,r,i,o)})]},`group-${s}`)}),Bx=t=>{const{color:n="#fff",size:r="medium"}=t;return e.jsxs("div",{role:"status",className:"relative flex flex-row items-center",children:[e.jsxs("svg",{"aria-hidden":"true",className:Ae("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[r],t.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:n,children:[e.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e.jsx("span",{className:"sr-only",children:"Loading..."})]})};Bx.displayName="Spinner";class Lx extends Error{constructor(e,t){super(e),this.name="FormValidationError",this.invalidFields=t}}class Ox extends Error{constructor(e,t,n){super(e),this.name="FormSubmissionError",this.errorActions=t,this.isCompleteFailure=n}}const Gx=e=>String(e).padStart(2,"0"),Mx=e=>{const t=Gx(e.getMonth()+1),n=Gx(e.getDate()),r=e.getFullYear();let i=e.getHours();const o=i>=12?"PM":"AM";return i=i%12||12,`${t}/${n}/${r} ${i}:${Gx(e.getMinutes())} ${o}`};exports.Accordion=({items:n,title:r,anchorId:i,background:o="white",enableHeading:s=!1,maxWidth:a=!0,initialExpandedItems:l=[],hashAutoExpand:c=!1,descriptionMaxWidth:u="max-w-[980px]",itemContainerClassName:d})=>{const[p,m]=t.useState(l);t.useEffect(()=>{if(c&&"undefined"!=typeof window){const e=window.location.hash;if(e){const t=e.substring(e.indexOf("#")+1);m(e=>e.includes(t)?e:[...e,t])}}},[c]);return e.jsx("section",{id:i,className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]",cream500:"bg-[#FFFEEF]"}[o]} flex flex-col px-5 pb-20 pt-4 md:px-10`,children:e.jsxs("div",{className:""+(a?"max-w-120 xl:mx-auto":""),children:[e.jsx(qn,{as:s?"h1":"h2",className:"heading2 mb-10 pt-12 text-left text-text md:heading1 lg:text-center",children:r}),e.jsx("div",{className:`pt-6 md:pt-10 ${null!=d?d:""}`,children:null==n?void 0:n.map((t,r)=>{const i=t.anchorId||`item-${r}`,o=t.anchorId?p.includes(t.anchorId):void 0;return e.jsxs("div",{id:t.anchorId,className:"snap-start scroll-mt-48 lg:scroll-mt-60",children:[e.jsx(ui,{title:t.title,defaultOpen:o,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,...t.anchorId&&{onClick:()=>{return e=t.anchorId,void m(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]);var e}},children:e.jsx("div",{className:u,children:e.jsx(qn,{as:"div",children:t.description})})}),r<n.length-1&&e.jsx(di,{className:"my-6 md:my-10"},`divider-${r}`)]},i)})})]})})},exports.AddressInputBanner=t=>{const{title:n,variant:r="yellow",cta:i,navHeight:o,isVisible:s,renderCheckPlans:a}=t,l=sx[null==r?void 0:r.toLowerCase()]||sx.yellow;if(!s)return null;const c=(null==i?void 0:i.buttonLabel)||"Check plans",u=null==a?void 0:a({ctaText:c,buttonVariant:null==i?void 0:i.buttonVariant,showButtonAs:"solid",cta:i});return e.jsxs("div",{style:{top:`${o}px`},className:Ae(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${l.bg} text-${l.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.jsx(qn,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:n}),u?e.jsx("div",{children:u}):null]})},exports.AnchoredBottomBanner=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:s,ctaButtonLink:a,ctaButtonTarget:l,anchorId:u="anchored-banner",enableCountdownTimer:d,countdownStartDateTime:p,countdownEndDateTime:m})=>{const h=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",f="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",g=t.useMemo(()=>ax(m),[m]),b=t.useMemo(()=>ax(p),[p]),v=t.useMemo(()=>!(!d||void 0===g)&&((!p||void 0!==b)&&(!(void 0!==b&&b>=g)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:p,countdownEndDateTime:m}),!1))),[d,g,b,p,m]),[x,y]=t.useState(()=>Date.now()),w=t.useRef(null),C=t.useCallback(()=>{null!==w.current&&(window.clearInterval(w.current),w.current=null)},[]);t.useEffect(()=>{if(v)return w.current=window.setInterval(()=>{const e=Date.now();void 0!==g&&e>=g&&C(),y(e)},1e3),C;C()},[v,g,C]);const I=t.useMemo(()=>{if(!v||void 0===g)return{shouldShow:!1,text:""};if(void 0!==b&&x<b||x>=g)return{shouldShow:!1,text:""};const e=(g-x)/1e3;return{shouldShow:e>0,text:lx(e)}},[v,g,b,x]);return e.jsx("section",{id:u,children:e.jsx("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 ${h} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e.jsx(c.default,{href:a||"#",target:l||"_self",className:"max-w-screen-xl w-full transition-all",children:e.jsx("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:e.jsxs("div",{className:`${f} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[i&&e.jsx(Qn,{name:i,size:24,fill:1,className:`${f} align-text-bottom`}),I.shouldShow&&e.jsx("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:I.text}),I.shouldShow?" ":null,s&&s," ",n&&e.jsx("span",{className:"ml-0.5",children:n})]})})})})})},exports.AwardMarquee=({anchorId:t="Award-Marquee",items:n=[],speed:r="medium",scroll:i=!1,backgroundColor:o="white",className:s})=>{const a=n.length>3,l=n.length<8,c=pi[r],u=()=>{const t=l?[...n,...n]:n;return e.jsx("div",{className:Ae("flex items-center overflow-x-hidden",mi[o]),children:e.jsx("div",{className:"flex animate-award-marquee gap-4 px-2",style:{"--award-marquee-duration":`${c}s`},children:t.map((e,t)=>hi(e,t))})})},d=e.jsx("div",{className:"flex flex-nowrap items-center justify-around overflow-clip",children:n.map((e,t)=>hi(e,t))});return i?a?e.jsx("div",{id:t,className:s,children:u()}):e.jsxs("div",{id:t,className:s,children:[e.jsx("div",{className:"sm:hidden",children:u()}),e.jsx("div",{className:"hidden sm:block",children:d})]}):e.jsx("div",{id:t,className:s,children:d})},exports.BlogCard=Ed,exports.BlogGrid=function({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:s,selectedCategory:a,categoryOptions:l}){const c=o.useRouter(),u=o.usePathname(),d=o.useSearchParams(),p=t.useRef(!0);return t.useEffect(()=>{p.current?p.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e.jsx(qn,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(qn,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(qn,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(qn,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e.jsx(ox,{options:l,value:a,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(d.toString());t?n.set(e,t):n.delete(e),n.delete("page"),c.push(`${u}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e.jsx("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(Ed,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e.jsx(qn,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),s>1&&e.jsx(yh,{currentPage:i,totalPages:s,getPageHref:function(e){const t=new URLSearchParams(d.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${u}?${n}`:u},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})},exports.BlogGridBase=function({title:t="recent articles",description:n,paginatedArticles:r,totalArticles:i,currentPage:o,totalPages:s,selectedCategory:a,categoryOptions:l,onCategoryChange:c,onPageChange:u,getPageHref:d,asList:p=!1,imageComponent:m}){return e.jsxs("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[e.jsxs("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[n&&e.jsx(qn,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",children:n}),e.jsx(qn,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:t}),l.length>0&&e.jsxs("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[e.jsxs(qn,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(qn,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(qn,{as:"span",className:"md:hidden",children:["showing"," "]}),r.length," of ",i," articles"]})]}),e.jsx(ox,{options:l,value:a,onChange:function(e){if(!e||Array.isArray(e))return;null==c||c(e)},className:"w-full md:w-[280px]"})]})]}),r.length>0?e.jsx("div",{className:p?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:r.map((t,n)=>{var r,i,o,s,a;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.width)||600,height:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.height)||338}:void 0;return e.jsx(Ed,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:m,asGrid:!p,index:n},t.slug)})}):e.jsx(qn,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),s>1&&e.jsx(yh,{currentPage:o,totalPages:s,getPageHref:d,onPageChange:function(e){null==u||u(e)},ariaLabel:"Blog article pagination"})]})},exports.BreadcrumbNavigation=t=>{const{links:n=[],textColor:r="dark",mobileTextColor:i,desktopTextColor:o,maxWidth:s=!0,float:a="desktop"}=t,l=`${"dark"===(null!=i?i:"desktop"===a?"dark":r)?"text-text":"text-white"} ${"dark"===(null!=o?o:"mobile"===a?"dark":r)?"xl:text-text":"xl:text-white"}`,c="always"===a?"absolute":"mobile"===a?"absolute xl:relative":"desktop"===a?"relative xl:absolute":"relative";return n.length?e.jsx("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===a&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e.jsx("ol",{className:`${"always"===a&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${c} xl:mx-auto xl:flex-wrap xl:px-3`,children:n.map((t,r)=>{const{image:i,...o}=t,s=(null==i?void 0:i.url)?i.url.startsWith("//")?`https:${i.url}`:i.url:"";return r===n.length-1?e.jsxs("li",{className:"flex min-w-0 items-center",children:[s&&e.jsx("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(qn,{as:"span",className:`body3 mr-2 break-words ${l}`,children:t.buttonLabel})]},r):e.jsxs("li",{className:"flex flex-none items-center",children:[s&&e.jsx("img",{src:s,alt:(null==i?void 0:i.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e.jsx(rr,{href:o.href,className:`label3 mr-2 whitespace-nowrap ${l} hover:underline`,children:o.buttonLabel}),e.jsx(Qn,{name:"chevron_right",className:`${l} `})]},r)})})}):null},exports.Button=Id,exports.Callout=({anchorId:t,title:n,items:r,enableHeading:i=!1,subtitle:o,description:s,finePrint:a,cta:l,color:c="dark",maxWidth:u=!0,maxCardsPerRow:d,cardType:p="simple",backgroundColor:m,background:h,textColor:f,containerClassName:g,innerClassName:b,applyBoxShadow:v=!1,cardStackingMobile:x=!0,cardsWidth:y=!0,noGutter:w=!1,disableAnimation:C,animationType:I="lift"})=>{var N,A,E;const j=null!==(N=null==r?void 0:r.length)&&void 0!==N?N:0,T=Dd(null!=d?d:(S=j)<=4?S||1:S%3==0?3:S%4==0||S>6?4:3);var S;const k=Dd(Math.min(T,j||T)),P=!1===y&&"blog"!==p,R=P?Ae("flex flex-col items-stretch self-stretch",w?"gap-0":"gap-3"):Ae("flex flex-wrap items-stretch justify-center self-stretch",w?"gap-0":"gap-3",w?"md:gap-0":"md:gap-3"),B=P?"":Ae("w-full",Gd[Dd(x?1:Math.min(2,T))],Md[k]),L=(t,n)=>{var r,i;const o=null!==(r=t.cardType)&&void 0!==r?r:p,s=P?{lgWidth:void 0,mdWidth:void 0}:{};switch(o){case"blog":{const r=t;return e.jsx(Ed,{title:r.title,href:r.slug,description:r.shortDescription,date:r.blogCreationDate,category:r.category,image:r.cover,imageAltText:r.imageAltText,asGrid:!1,...s},n)}case"fullImage":return e.jsx(Sd,{card:{...t},...s},n);case"floatingImage":return e.jsx(Td,{card:{...t},...s},n);default:return e.jsx(Ld,{card:{...t,shadow:null!==(i=t.shadow)&&void 0!==i?i:v},...s},n)}},O=h?{background:h}:void 0,G=f?{color:f}:void 0,M=h?"":m&&null!==(A=Od[m])&&void 0!==A?A:"";return e.jsx("section",{id:t,className:Ae("component-container",M,g),style:O,children:e.jsx("div",{className:Ae(w?"p-0":"mx-5 mb-5 mt-12 md:mx-0 md:mb-0 md:mt-0 md:px-6 md:pb-8 md:pt-16 lg:px-0 lg:py-20",u&&"max-w-120 xl:mx-auto","dark"===c?"text-text":"text-white",b),children:e.jsxs("div",{className:"callout-container flex flex-col gap-10 md:gap-16",children:[e.jsxs("div",{className:"title-holder",style:G,children:[n&&e.jsx(qn,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),o&&e.jsx(qn,{as:i?"h2":"h3",className:"subheading3 mt-2 md:subheading1 md:text-center lg:mt-3",children:o}),s&&e.jsx(qn,{as:"p",className:"body1 mt-4 text-center md:mt-6",children:s})]}),e.jsx("div",{className:Ae("card-holder",R),children:r.map((t,n)=>P?e.jsx(xd,{animationType:I,disableAnimation:C,children:L(t,n)},`callout-card-${n}`):e.jsx("div",{className:Ae("callout-card",B),children:e.jsx(xd,{animationType:I,disableAnimation:C,children:L(t,n)})},`callout-card-${n}`))}),(l||a)&&e.jsxs("div",{className:"flex flex-col items-center gap-4",children:[l?e.jsx(Id,{linkClassName:"label1",buttonClassName:"label1",...l,children:null!==(E=l.label)&&void 0!==E?E:l.buttonLabel}):null,a?e.jsx(qn,{as:"div",className:"footnote text-center text-text",children:a}):null]})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(qn,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:r,disclaimerText:i,backgroundColor:o,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,testimonialAutoScroll:d=!0,showSwitch:p=!1})=>{const m=r?"px-3 py-9 md:py-20":n?"px-3 py-12 md:pt-20 md:pb-16":"";return e.jsxs("div",{className:`${o} ${m} mx-auto overflow-hidden`,children:[e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-8 overflow-visible md:gap-12",children:[e.jsxs("div",{children:[e.jsx(qn,{as:"h2",className:"heading2 text-text md:heading1 md:text-center",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(qn,{as:"h3",className:"body1 px-4 pt-4 md:text-center",children:null==t?void 0:t.subTitle})]}),r&&e.jsxs("div",{className:"flex flex-col gap-8",children:[p&&r&&l.length>1&&e.jsx(Yd,{tabs:l,activeTab:s,onChange:a}),r&&e.jsx(zd,{onModalButtonClick:c,renderCheckPlans:u,fields:t,activeTab:s,tabs:l})]}),n&&e.jsx(Zd,{fields:t,autoScroll:d,autoScrollInterval:8e3})]}),i&&e.jsx(qn,{as:"div",className:"footnote mt-8 px-4 text-center text-text-secondary",children:i})]})},exports.CartRetentionBanner=({fields:n,isInPopupContainer:r=!1,onClose:i,onContinueCheckout:o,checkShouldShowBanner:s,onBannerShown:a})=>{var l;const{anchorId:c,mainHeading:u,description:d,cta:p,image:m,imageAltText:h,imagePosition:f="center",backgroundColor:g,imageAccentColor:b,showImageAsIcon:v=!1,Logo:x}=n,y=Boolean(m)&&"center"!==f,w="right"===f,C=g&&null!==(l=ux[g])&&void 0!==l?l:"",I=(e=>!!e&&dx.includes(e))(b),[N,A]=t.useState(!1);t.useEffect(()=>{const e=()=>{(null==s?void 0:s())&&!N&&(A(!0),null==a||a())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const E=()=>{null==o||o()},j=()=>x?e.jsx("div",{className:"cart-retention-banner-logo relative mx-auto mb-4 h-12 w-40",children:e.jsx(Jr,{src:x,alt:null!=u?u:"",fill:!0,sizes:"160px",className:"object-contain"})}):null,T=()=>m?v?e.jsx("div",{className:"cart-retention-banner-image relative mx-auto mb-4 h-[87px] w-[93px] overflow-hidden md:h-[193px] md:w-[207px]",children:e.jsx(Jr,{src:m,alt:null!=h?h:"",fill:!0,sizes:"(min-width: 768px) 207px, 93px",className:"object-contain"})}):y?e.jsx("div",{className:"cart-retention-banner-image relative md:h-full",children:e.jsx("div",{className:"relative h-[258px] w-full overflow-hidden rounded-[20px] md:h-[400px]",children:e.jsx(Jr,{src:m,alt:null!=h?h:"",fill:!0,sizes:"(min-width: 768px) 314px, 100vw",className:"object-cover object-top"})})}):e.jsx("div",{className:"cart-retention-banner-image relative mb-4 aspect-[2/1] w-full overflow-hidden rounded-[20px]",children:e.jsx(Jr,{src:m,alt:null!=h?h:"",fill:!0,sizes:"(min-width: 640px) 400px, 90vw",className:"object-cover"})}):null,S=()=>{var t,n;return e.jsxs(e.Fragment,{children:[e.jsx(qn,{className:Ae("heading2",y?"text-center md:text-left":"text-center"),children:u||"Welcome back. Let's finish your order"}),d&&si(lt(null==d?void 0:d.json),!1,Ae("body2",y?"text-center md:text-left":"text-center")),e.jsx("div",{className:Ae("flex w-full pt-5",y?"justify-center md:justify-start":"justify-center"),children:e.jsx(Id,{onClick:E,buttonLabel:null!==(t=null==p?void 0:p.buttonLabel)&&void 0!==t?t:"Continue checkout",disableAnimation:null===(n=null==p?void 0:p.disableAnimation)||void 0===n||n,animationType:null==p?void 0:p.animationType,fullWidth:!0})})]})},k=y?e.jsxs(e.Fragment,{children:[j(),e.jsxs("div",{className:Ae("flex flex-col md:grid md:gap-6",w?"md:grid-cols-[1fr_314px]":"md:grid-cols-[314px_1fr]"),children:[e.jsx("div",{className:Ae("order-1",w&&"md:order-2","md:max-w-[314px]",v&&"flex items-center justify-center"),children:T()}),e.jsx("div",{className:Ae("order-2 flex flex-col justify-center gap-8 pt-5 md:gap-10 md:pt-0",w?"md:order-1":""),children:S()})]})]}):e.jsxs(e.Fragment,{children:[j(),T(),S()]}),P=e.jsx(vh,{path:"path5",fill:b,background:"transparent",className:Ae("rounded-3xl px-6 pb-8 md:p-6",v&&"md:!py-[95px]",x?"pt-6":"pt-13"),show:I,children:k});return r?e.jsx("div",{className:Ae("pop-up-body w-full",y?"overflow-hidden":"mb-5 mt-10",C),"data-section-type":"cart-retention-banner","data-section-index":"0",children:P}):e.jsx("section",{id:c,"data-testid":"cart-retention-banner",children:e.jsx(bh,{size:"sm",isOpen:N,onRequestClose:()=>{null==i||i(),A(!1)},bodyClassName:Ae(y?Ae("overflow-hidden md:!max-w-[828px]",!I&&"p-0"):"flex items-center justify-center","min-[370px] p-[0px]",C),type:"cart-retention-banner",children:y?P:e.jsx("div",{className:"pop-up-body mb-5 w-full",children:P})})})},exports.ComparisonTable=({title:t,disclaimer:n,table:r,maxWidth:i=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 md:mt-18 "+(i?"max-w-120 xl:mx-auto":""),children:[e.jsx(qn,{as:"h2",className:"heading2 md:heading1 md:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-5 p-5 pt-0 md:mt-10 md:px-10 md:py-9",children:r}),e.jsx(qn,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CookieBanner=function({content:n}){let r=3;const[i,o]=t.useState(!1),[s,a]=t.useState(!1),l=t.useRef(null);t.useEffect(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=rt.get(e);return t?tt(t):null}("cookieBannerClosed");o("true"!==e)},[]),t.useEffect(()=>{(()=>{const e=document.getElementById("anchored-banner");a(!!e)})()},[]),t.useEffect(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),t.useEffect(()=>{if(!i)return;const e=()=>{if(l.current){const e=l.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,s]),s&&(r=14);const c=4*r;return i?e.jsxs("div",{id:"cookie-banner",ref:l,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${c}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e.jsx(Id,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=et(r);rt.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e.jsx(Qn,{name:"close"})}),n.richText?e.jsx("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null},exports.CtaCallout=({title:t,background:n="white",button:r,color:i,contentAlignment:o,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("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"}[n]} component-container px-5 py-16 lg:px-13 lg:py-24 w-full`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-text-inverse"}`,children:[t&&e.jsx(qn,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${o}`,children:t}),c&&e.jsx(qn,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${o}`,children:c}),s&&e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a} break-words [&_table]:w-full`,children:s}),r||p?e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(Id,{...r,renderCheckPlans:p,onModalButtonClick:d,size:{base:"large"}})}):null]})}),exports.DynamicForm=n=>{const{anchorId:r,title:i,subTitle:o,formHeading:s,description:a,disclaimer:l,successMessage:c,errorMessage:u,formClassName:d,fields:p,formSubmitOptions:m=[],submitLabel:h="Submit",ctaClassName:f,validationErrorText:g=hx,formName:b,emailSubject:v,emailTemplateName:x,toEmail:y,segmentEventId:w,onEmailSubmit:C,onSmtpSubmit:I,onSmsSubmit:N,actionHandlers:A,buildPayload:E,onSubmitSuccess:j,onTrack:T,onError:S,fieldComponentOverrides:k,resolveExistingDataSource:P,renderAddressAutocomplete:R,renderSubmitButton:B}=n,L=t.useRef("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),O=t.useRef(null),[G,M]=t.useState({}),[D,V]=t.useState(!1),[F,H]=t.useState(!1),[W,X]=t.useState(!1),[z,_]=t.useState(!1),[Z,Y]=t.useState([]),[J,U]=t.useState(""),[$,K]=t.useState(null),[Q,q]=t.useState({}),[ee,te]=t.useState([]),ne=t.useCallback(e=>{te(e)},[]),re=t.useCallback((e,t)=>{q(n=>({...n,[e]:t}))},[]),ie=t.useCallback(e=>{q(t=>{const n={...t};return delete n[e],n})},[]),oe=t.useMemo(()=>p.reduce((e,t)=>{if("formField"!==t.itemType)return e;const n=t.validationGroupId;return null!=n&&null!=n&&(e[n]||(e[n]=[]),e[n].push(t)),e},{}),[p]);t.useEffect(()=>{if(F&&"undefined"!=typeof window&&O.current){const e=140,t=O.current.offsetTop-e;window.scrollTo({top:t,behavior:"smooth"})}},[F]);const se=t.useMemo(()=>({fieldErrors:Q,setFieldError:re,clearFieldError:ie,hasError:W,setHasError:X,selectedState:$,setSelectedState:K,files:ee,setFiles:ne,resolveExistingDataSource:P,fieldComponentOverrides:k,renderAddressAutocomplete:R,onError:S}),[Q,re,ie,W,$,ee,ne,P,k,R,S]),ae=()=>{const e={...G};return p.forEach(t=>{"formField"===t.itemType&&t.applyPresetValidations&&"TN-IP-Validation"===t.selectPresetValidationsToApply&&(e[t.fieldId]=(e=>{const t=null==e?void 0:e.trim();if(!t)return e;if(fx.phone.test(t)){let e=t.replace(/\D/g,"");return 11===e.length&&e.startsWith("1")&&(e=e.slice(1)),e}return fx.ipv4.test(t)||fx.ipv6.test(t)?t:e})(e[t.fieldId]))}),M(e),e},le=t.useMemo(()=>({email:C,sftp:I,sms:N,...A||{}}),[C,I,N,A]),ce=async e=>{e.preventDefault(),V(!0),U("");const t=ae();try{const e=jx(p,!1,t),r=((e,t={})=>jx(e,!0,t).reduce((e,t)=>({...e,...t}),{}))(p,t),i=(n=t,e.filter(e=>{if(!e.requiredField)return!1;const t=n[e.fieldId];return"Checkbox"!==e.fieldType||e.dataSource?""===t||null==t:!0!==t}).map(e=>e.fieldId));if(Y(i),Object.keys(oe).forEach(e=>{const n=oe[e],r=n.map(e=>e.fieldId);if(n.filter(e=>e.validationType===mx.ONE_REQUIRED_FIELD&&(""===t[e.fieldId]||void 0===t[e.fieldId])).length===n.length&&n.length>0)throw Y(e=>[...e,...r]),new Lx(mx.REQUIRED_FIELDS_MISSING,r)}),0!==i.length||0!==Object.keys(Q).length)throw new Lx(mx.REQUIRED_FIELDS_MISSING,i);const o=((e,t)=>{const n=Object.fromEntries(Object.entries(t).filter(([,e])=>""!==e&&void 0!==e)),r=jx(e,!1,n);return r.every(e=>{const t=e.formSection;return"string"==typeof t&&""!==t})&&r.length>0?{...Tx(r,n)}:{form1:{...n}}})(p,t),s={submissionId:L.current,formName:b,toEmail:y,subject:v,emailTemplate:x,submittedOn:Mx(new Date),formSubmitOptions:m,formData:o,files:ee},a=E?E(s,t):s;null==T||T(w,a);const l=a.formSubmitOptions||[],c=l.includes("post"),u=l.filter(e=>"post"!==e),d=await(async(e,t,n)=>{const r=[],i=JSON.stringify({...t.formData});let o;if(t.files&&t.files.length>0){const e=new FormData;Object.keys(t).forEach(n=>{"files"!==n&&"formData"!==n&&e.append(n,t[n])}),e.append("formData",i),t.files.forEach(t=>e.append("files",t)),o=e}else o={...t,formData:i};const s=((e,t)=>t?e:e.filter(e=>"email"!==e))(e,t.emailTemplate);return await Promise.all(s.map(async e=>{const i=le[e],s=o instanceof FormData?{headers:{"Content-Type":void 0}}:{};if(i)try{await i(o,{...n,action:e,options:s}),null==T||T(`${w}_${e}_success`,{...t,eventSuccess:!0})}catch(n){r.push(e);const{errorMessage:i,errorStatus:o,errorCode:s}=Sx(n);null==T||T(`${w}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:s}),null==S||S({type:"action_failure",error:kx(n),metadata:{action:e,submissionId:L.current}})}else{r.push(e);const n=new Error(`Action "${e}" is not supported`),{errorMessage:i,errorStatus:o,errorCode:s}=Sx(n);null==T||T(`${w}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:s}),null==S||S({type:"unsupported_action",error:n,metadata:{action:e}})}})),{error:r.length>0,errorActions:r}})(u,a,{payload:a,formValues:t,sftpMap:r,formSubmitOptions:l,files:ee});if(d.error&&u.length===d.errorActions.length)throw new Ox("All form actions failed",d.errorActions,!0);if(d.error)throw new Ox("Some form actions failed",d.errorActions,!1);if(V(!1),H(!0),c){const e=le.post;e&&await e({...a},{payload:a,formValues:t,sftpMap:r,formSubmitOptions:l,files:ee,action:"post",options:{}})}((e,t)=>e.some(e=>{if(!Ax(e))return!1;const n=e.dataSource;if(!Array.isArray(n))return!1;const r=t[e.fieldId],i=n.find(e=>e.value===r);return!0===(null==i?void 0:i.popup)}))(p,t)?null==j||j(t,{shouldShowPopup:!0}):null==j||j(t,{shouldShowPopup:!1})}catch(e){let t="unknown";e instanceof Lx?(t="validation",U(g)):e instanceof Ox?(t=e.isCompleteFailure?"complete_submission_failure":"partial_submission_failure",e.isCompleteFailure?(H(!1),_(!0)):(H(!0),_(!1))):(t="unexpected",U("An error occurred while submitting the form. Please try again later."),_(!0),H(!1)),null==S||S({type:t,error:kx(e),metadata:{formName:b,submissionId:L.current,formSubmitOptions:m,segmentEventId:w}}),V(!1)}finally{V(!1)}var n};return F?e.jsx("div",{ref:O,className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:c})}):z?e.jsx("div",{className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e.jsx("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:u})}):e.jsx("section",{id:r,"aria-labelledby":`${r}-title`,children:e.jsx("div",{className:"mx-auto min-h-screen max-w-[800px] px-5 py-8 md:px-5 md:py-20",children:e.jsxs("div",{className:"pb-8 sm:pb-6 lg:pb-4",children:[e.jsxs("div",{className:"mb-8 lg:mb-16",children:[i&&e.jsx(qn,{as:"h2",className:"heading2 text-center",children:i}),o&&e.jsx(qn,{as:"h3",className:"subheading3 mt-3 text-center",children:o})]}),a?e.jsx("div",{className:"text-center",children:a}):null,s?e.jsx("div",{className:"mb-6 w-full px-2 sm:px-4",children:e.jsx(qn,{as:"div",className:"body3 mb-2 text-center text-xl sm:mb-4 md:text-left",children:s})}):null,e.jsx("div",{className:"mt-8 md:mt-16",children:e.jsx(gx.Provider,{value:se,children:e.jsxs("form",{onSubmit:ce,className:Ae("flex w-full flex-col gap-5 md:gap-8",d),children:[Rx(D,p,G,M,Z),J&&e.jsx(qn,{as:"div",className:"footnote text-text-critical",children:J}),e.jsx("div",{className:"flex justify-center",children:B?B({isLoading:D,disabled:W||D,submitLabel:h,onSubmit:ce}):e.jsxs(li,{type:"submit",disabled:W||D,"aria-label":"Submit Form",className:Ae("button-submit mt-3 inline-flex h-[64px] w-full items-center justify-center gap-2 whitespace-nowrap rounded-full bg-bg-fill-brand px-[60px] text-base font-semibold text-text-brand-on-bg-fill transition hover:bg-bg-fill-brand-hover disabled:bg-bg-fill-brand-disabled md:mt-8 md:w-auto",f),children:[D&&e.jsx(Bx,{}),h]})})]})})}),l&&e.jsx(qn,{as:"div",className:"footnote m-2",children:l})]})})})},exports.DynamicTabs=cp,exports.EmailInputBlock=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:s,inputPlaceholder:a="Enter your email here",ctaButtonText:l,ctaText:c,caption:u,backgroundColor:d="white",successFeedback:p,onSubmit:m,themeColor:h,showPinWheel:f=!0,padding:g="large",requiredErrorMessage:b="Email is required",validationErrorMessage:v="Invalid email address"}=n||{},x=l||c||"Sign me up",y={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},w={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},C=(d||"").trim().toLowerCase()||"white",I=y[C]||y.white,N="white"===C?"text-text":"text-white",A=(h||"").trim().toLowerCase()||"green",E=w[A]||w.green,j=["green","blue","purple"].includes(A),T=j?"text-white":"text-text",S=j?"text-text-inverse":"text-text",k="white"===A?"#E0E0E0":"#FFFEEF",P="none"===g?"!py-0 md:!py-0":"!py-8 md:!py-20",[R,B]=t.useState(""),[L,O]=t.useState(!1),[G,M]=t.useState(""),D=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return e.jsxs("section",{id:r,className:`w-full px-4 ${P} md:px-0 ${I}`,children:[e.jsxs("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 !h-[344px] md:!w-auto md:!h-[367px] relative ${E}`,children:[f&&e.jsx("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e.jsx(cx,{fill:k})}),e.jsxs("div",{className:"w-full",children:[e.jsxs("div",{className:"lg:w-[548px]",children:[i&&e.jsx("h1",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading1 md:font-black ${T}`,children:i}),o&&e.jsx("h2",{className:`mb-3 text-heading1 font-black ${T}`,children:o}),s&&e.jsx("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${T}`,children:s})]}),e.jsxs("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e.jsx("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e.jsx("input",{type:"email",placeholder:a,value:R,onChange:e=>{const t=e.target.value;B(t),L&&O(!1),t.trim()?D(t)?M(""):M(v):M(b)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4"})}),e.jsx(Id,{buttonLabel:x,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{R.trim()?D(R)?(m({email:R}),B(""),O(!0),M("")):M(v):M(b)}})]}),G&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${S}`,children:G}),p&&L&&!G&&e.jsx("p",{className:`mt-2 text-label4 font-semibold ${T}`,children:p})]})]}),u&&e.jsx("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${N}`,children:u})]})},exports.FindKinetic=({background:t="white",description:n,enableHeading:r,image:i,imageAltText:o,list:s=[],localPathPrefix:a="/local",subTitle:l,title:c,color:u="dark",maxWidth:d=!0,addTrailingSlash:p=!1})=>{const m=(e=>{let t=0,n=e.length;for(;t<n&&47===e.charCodeAt(t);)t+=1;for(;n>t&&47===e.charCodeAt(n-1);)n-=1;return e.slice(t,n)})(null!=a?a:""),h=m?`/${m}`:"",f=e=>`${h}/${e.toLowerCase()}${p?"/":""}`;return e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[t]} component-container overflow-hidden ${"dark"==u?"text-text":"text-white"}`,children:e.jsxs("div",{className:`${d?"max-w-120 xl:mx-auto":""} mx-5 mb-5 ${i?"mt-12":"mt-0 xl:mt-0"} md:px-5 xl:my-20 xl:px-10`,children:[c&&e.jsx(qn,{as:r?"h1":"h2",className:"heading2 text-center md:heading1",children:c}),l&&e.jsx(qn,{as:r?"h2":"h3",className:"subheading1 mt-4 text-center",children:l}),e.jsxs("div",{className:`mt-8 flex flex-col items-center xl:flex-row ${i?"xl:mt-16":"xl:mt-10"} gap-10`,children:[e.jsxs("div",{className:"flex flex-col gap-10 self-stretch xl:flex-[1_0_0] "+(i?"pl-2 md:px-4 lg:pl-12 xl:items-start xl:pl-16":"items-center"),children:[n&&e.jsx(qn,{as:"p",className:"body1 text-center"+(i?"lg:text-left":""),children:n}),s.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-6 gap-y-5 md:hidden",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let i=0;i<2;i++){const o=i*n+e;o<t.length&&r.push(t[o])}return r.map((t,n)=>e.jsx("li",{children:e.jsx(rr,{href:f(t.code),className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:`hidden ${i?"gap-x-6":"gap-x-20"} gap-y-5 md:grid md:grid-cols-3 ${i?"":"xl:hidden"}`,children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let i=0;i<3;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e.jsx("li",{className:""+(i?"":"w-[172px]"),children:e.jsx(rr,{href:f(t.code),className:"label1",children:t.name})},`item-list-3-${n}`):e.jsx("li",{"aria-hidden":"true"},`empty-3-${n}`))})()}),!i&&e.jsx("ul",{className:"hidden gap-x-20 gap-y-5 xl:grid xl:grid-cols-4",children:(()=>{const t=[...s].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/4),r=[];for(let e=0;e<n;e++)for(let i=0;i<4;i++){const o=i*n+e;r.push(o<t.length?t[o]:null)}return r.map((t,n)=>t?e.jsx("li",{className:"w-[172px]",children:e.jsx(rr,{href:f(t.code),className:"label1",children:t.name})},`item-list-4-${n}`):e.jsx("li",{"aria-hidden":"true"},`empty-4-${n}`))})()})]})]}),i&&e.jsx("aside",{className:"hidden md:block",children:e.jsx(Jr,{width:472,height:100,src:i,alt:null!=o?o:"image"})})]})]})})},exports.FloatingBanner=({title:t,subtitle:n,description:r,disclaimer:i,icon:o,cta:s,background:a="navy",color:l="light",enableHeading:c,maxWidth:u=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-surface-lg xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("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]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[o&&e.jsx("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e.jsx("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e.jsx(Jr,{width:80,height:80,alt:"icon",src:o})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:w-4/5",children:[t&&e.jsx(qn,{as:c?"h1":"h2",className:"heading5 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(qn,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),r&&e.jsx(qn,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:r})]}),s&&e.jsx("div",{className:"mt-5 flex flex-shrink-0 justify-center lg:mt-0 lg:items-center",children:e.jsx(Id,{...s,buttonVariant:"secondary",size:{base:"medium",md:"large"}})})]}),i&&e.jsx("div",{children:e.jsx(qn,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),exports.Footer=({body:t,links:n,bottomLinks:r,copyrights:i,terms:o,maxWidth:s=!0,onClick:a})=>{function c(e){null==a||a(e)}return e.jsx("div",{className:"component-container bg-bg-inverse text-white",children:e.jsxs("div",{className:` ${s?"mx-auto max-w-120":""} px-5 py-8`,children:[e.jsx("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:t}),e.jsx(di,{className:"my-8 border-border-inverse lg:my-16"}),e.jsx("div",{className:"grid-1 grid gap-8 md:grid-cols-2 lg:grid-cols-4",children:null==n?void 0:n.map((t,n)=>{var r,i;return e.jsxs(l.default.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==t?void 0:t.title}`,className:"site-links-group",children:[e.jsx(qn,{as:"div",className:"label3",children:null==t?void 0:t.title}),e.jsx("ul",{className:"flex flex-col",children:null===(i=null===(r=null==t?void 0:t.items)||void 0===r?void 0:r.items)||void 0===i?void 0:i.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(Id,{...t,linkVariant:"unstyled",linkClassName:"text-white body3 hover:underline underline-offset-4",onClick:c})},`site-links-${n}`))})]},`link-group-${n}`)},`footer-link-group-${n}`),e.jsx(di,{className:"border-border-inverse md:hidden"})]},`footer-link-group-${n}`)})}),e.jsxs("div",{className:"py-8",children:[e.jsx(di,{className:"my-8 hidden border-border-inverse md:my-8 md:block"}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",o]}),e.jsx("p",{className:"copy-rights whitespace-pre-line",children:i}),e.jsx("nav",{"aria-label":"Footer legal",children:e.jsx("ul",{className:"bottom-links list-none",children:null==r?void 0:r.map((t,n)=>e.jsx("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.jsx(Id,{...t,linkClassName:"footnote text-white hover:underline underline-offset-4",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.IframeEmbed=({iframeUrl:n,anchorId:r,backgroundColor:i,height:o})=>{const s=t.useRef(null);return t.useEffect(()=>{if(!n)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&s.current&&(s.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[n]),n?e.jsx("section",{id:r,className:"w-full",children:e.jsx("iframe",{ref:s,src:n,width:"100%",frameBorder:"0",scrolling:"no",style:{background:i?px[i]:"transparent",...o?{height:`${o}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null},exports.ImagePromoBar=({brow:t,enableHeading:n,title:r,subTitle:i,ctaDisclaimer:o,disclaimer:s,description:a,image:l,imageAltText:c,imageLinks:u,mediaPosition:d=!0,checklist:p,secondaryCta:m,cta:h,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:v=660,imageHeight:x=660,useOriginalImageAspectRatio:y=!1,isAboveTheFold:w=!1,onModalButtonClick:C,onClick:I,onVideoEvent:N,renderCheckPlans:A,enableAnimation:E=!1})=>{const j=Boolean(f);return e.jsxs("div",{className:"component-container shared-component-ipb pb-16 pt-16",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 xl:mx-auto":""} px-5 pb-8 pt-8 md:px-10`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-stretch xl:gap-10 xl:gap-[126px] "+(d?"xl:flex-row-reverse":"xl:flex-row"),children:[e.jsxs("div",{className:"flex flex-[1_0_0] flex-col items-start justify-center gap-8 xl:gap-10 "+("dark"==b?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[t&&e.jsx(qn,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:t}),r&&e.jsx(qn,{as:n?"h1":"h2",className:"heading2 xl:heading1",children:r}),i&&e.jsx(qn,{as:n?"h2":"h3",className:"subheading3 mt-3 md:subheading1",children:i})]}),a&&e.jsx(qn,{as:"div",className:"body1",children:a}),p.length>0&&e.jsx(er,{items:p,iconPosition:"top",iconSize:24,listItemClassName:"body1 text-text",listContainerClassName:"mt-0 space-y-0 flex flex-col gap-3"}),o&&e.jsx("div",{children:o}),u.length>0&&e.jsx("div",{className:"flex gap-4",children:null==u?void 0:u.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(rr,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(Vd,{src:t.image,alt:"icon-link"})})},n))}),(h||m)&&e.jsxs("div",{className:"flex w-full flex-col gap-4 xl:flex-row",children:[h&&e.jsx("div",{className:"primary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Id,{...h,disableAnimation:void 0===E?h.disableAnimation:!E,fullWidth:!0,size:{base:"large"},renderCheckPlans:A,onModalButtonClick:C,onClick:e=>null==I?void 0:I(e,"primary")})}),m&&e.jsx("div",{className:"secondary-cta w-full xl:w-auto xl:shrink-0",children:e.jsx(Id,{...m,disableAnimation:void 0===E?m.disableAnimation:!E,fullWidth:!0,size:{base:"large"},renderCheckPlans:A,buttonClassName:"px-3 min-w-[260px]",onModalButtonClick:C,onClick:e=>null==I?void 0:I(e,"secondary")})})]})]}),e.jsxs("aside",{className:"flex w-full flex-1 shrink-0 items-center justify-center lg:w-auto",children:[l&&!j&&e.jsx("div",{className:Ae(y?"overflow-hidden rounded-image":"relative aspect-[16/9] w-full overflow-hidden rounded-image lg:h-[486px] xl:aspect-square xl:max-h-[486px] xl:w-[486px]"),children:e.jsx(Jr,{src:l,alt:null!=c?c:"section-image",priority:w,fill:!y,width:y?v||660:void 0,height:y?x||660:void 0,sizes:"(max-width: 430px) 100vw, (max-width: 834px) 100vw, 50vw",className:Ae(y?"w-full":"object-cover")})}),e.jsx($r,{videoLink:f,imageWidth:v,imageHeight:x,useOriginalImageAspectRatio:y,isAboveTheFold:w,onVideoEvent:N})]})]})}),s&&e.jsx("div",{className:"mt-10 flex justify-center xl:mt-18",children:e.jsx("div",{children:s})})]})},exports.Modal=bh,exports.Navigation=t=>{var n,r,i;const{primaryNavigationLinks:o,utilityNavigationLinks:s,checkPlansJSX:a,primaryNavigationLogo:l,accountNavigationLinks:c,supportNavigationLinks:u,searchBarIcon:d,invocaPhoneNumberLink:p,invocaPhoneNumberDisplayText:m,callNowCtaText:h,displayCartIcon:f,cartHref:g,cartHasRetention:b,cartIconAriaLabel:v="Cart",onCallClickDesktop:x,onCallClickMobile:y,onCartClick:w,onSearch:C=()=>{},utilityNavActiveIndex:I,primaryNavigationLogoWidth:N=76.5,primaryNavigationLogoHeight:A=24,hideMobileCallButton:E=!1,displayUtilityNavigation:j=!0,displaySearchBar:T=!0,displayCallNowCta:S=!0,showCallButton:k=!0,showCallNowCtaInMainNav:P=!1,showMobileSliderMenu:R=!0,enableHamburgerNavigationOnDesktop:B=!1,callNowCtaIcon:L,navigationBackgroundColor:O,navigationLinkColor:G}=t,M="string"==typeof l?l:(null==l?void 0:l.url)||"",D=O?O.includes("-")||O.startsWith("bg-")?O:`bg-secondary-${O}`:"bg-secondary-navy500",V="string"==typeof L?L:(null==L?void 0:L.url)||"",F=t=>e.jsxs(rr,{href:p||"#",onClick:t,className:"bg-secondary-gray100 text-secondary-navy500 inline-flex h-8 items-center rounded-full pl-1 pr-2 no-underline shadow-none","aria-label":m?`Call ${m}`:"Call now",children:[V?e.jsx(Jr,{src:V,alt:"Call us",width:24,height:24,className:"mr-2 self-center rounded-full"}):null,e.jsx(qn,{as:"span",className:"text-secondary-navy500 footnote",children:m})]}),H=(null!==(n=null==o?void 0:o.length)&&void 0!==n?n:0)>0||(null!==(r=null==u?void 0:u.length)&&void 0!==r?r:0)>0||(null!==(i=null==c?void 0:c.length)&&void 0!==i?i:0)>0,W=B?void 0:"lg:hidden",X=B?"hidden":"hidden lg:block",z=B?"hidden":"hidden lg:block";return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container z-[1000]",children:[j?e.jsx("div",{className:Ae("utility-container lg:border-b lg:px-2",z),children:e.jsxs("div",{className:"mx-auto flex max-w-120 justify-between",children:[e.jsx("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==s?void 0:s.map((t,n)=>e.jsx("li",{children:e.jsx(Id,{linkClassName:Ae("footnote flex items-center text-text w-full h-11","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}`))}),e.jsxs("div",{className:"flex items-center gap-10",children:[S?e.jsx(Kd,{className:"border-none",href:p,prefix:h,onClick:x,children:e.jsx(qn,{className:"body3 text-text",children:m})}):null,f?e.jsxs(rr,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:w,children:[e.jsx(Qn,{name:"shopping_cart"}),b&&e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"})]}):null,null==c?void 0:c.map((t,n)=>e.jsx(Jd,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}):null,e.jsxs("div",{className:Ae("main-nav-container",D,G),"aria-label":"Main Navigation",children:[e.jsxs("div",{className:Ae("mobile-nav-section flex h-14 items-center justify-between border border-b px-5 py-[10px]",W),children:[e.jsx("div",{children:M?e.jsx(rr,{href:"/",className:"flex",children:e.jsx(Jr,{src:M,alt:"Kinetic business logo",width:N,height:A})}):null}),e.jsx("div",{className:"flex items-center gap-6",children:R?e.jsxs(e.Fragment,{children:[k&&!E?e.jsx(Kd,{href:p,onClick:y,children:e.jsx(qn,{as:"span",className:"footnote",children:m})}):null,f?e.jsxs(rr,{href:g||"#",className:"relative inline-flex cursor-pointer","aria-label":v,onClick:w,children:[e.jsx(Qn,{name:"shopping_cart"}),b?e.jsx("span",{className:"absolute -right-2 -top-1 h-2.5 w-2.5 rounded-full bg-icon-brand"}):null]}):null,H?e.jsx(qd,{...t}):null]}):k?F(y):null})]}),e.jsx("div",{className:Ae("desktop-nav-section lg:border-b lg:px-2",X),children:e.jsxs("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[e.jsxs("div",{className:"flex h-full",children:[M?e.jsx(rr,{href:"/",className:"flex",children:e.jsx(Jr,{src:M,alt:"Kinetic business logo",width:N,height:A,className:"mr-[64px]"})}):null,e.jsx("div",{className:"flex h-full items-center gap-6",children:null==o?void 0:o.map((t,n)=>e.jsx(Jd,{anchorName:`main-menu-${n}`,link:t,linkColorClassName:G},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[!P||j&&S?null:F(x),T?e.jsx(tp,{searchBarIconURL:"string"==typeof d?d:(null==d?void 0:d.url)||"",onSearch:C}):null,null==u?void 0:u.map((t,n)=>e.jsx(Jd,{anchorName:`support-menu-${n}`,link:t,linkColorClassName:G},`support-menu-${n}`))]})]})})]})]}),a&&e.jsx("div",{className:"md:hidden",children:a})]})},exports.OrderedList=({anchorId:t,backgroundColor:n="white",title:r,description:i,tabs:o})=>{const s=e=>e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(" "),a=(t,n)=>t.itemSlug?e.jsx(rr,{href:t.itemSlug,title:t.itemName.toUpperCase(),className:"flex items-center underline underline-offset-4",children:e.jsx(qn,{className:"body1 relative cursor-pointer text-left font-semibold leading-7",children:s(t.itemName)})},`ordered-item-${n}`):e.jsx(qn,{className:"body1 relative text-left font-semibold leading-7",children:s(t.itemName)},`ordered-item-${n}`),l={items:o.map((e,t)=>({tabName:e.items.tabName,anchorId:`tab-${t}`,tabContent:e.items.tabContent.map(a)}))};return e.jsx("section",{className:`bg-secondary-${n}`,"data-testid":"non-fiber-city-list",id:t,children:e.jsxs("div",{className:"mx-auto w-full max-w-120 px-0 py-12 md:px-6 md:py-20 lg:px-3",children:[e.jsxs("div",{className:"mb-11 px-4 md:px-0",children:[e.jsx(qn,{as:"h2",className:"heading2 text-center md:heading1",children:r}),e.jsx(qn,{as:"h3",className:"subheading3 mt-2 text-center md:subheading1",children:i})]}),e.jsx("div",{className:"section-body",children:l.items.length>0?e.jsx("div",{children:e.jsx(cp,{dynamic:!0,isOrderedList:!0,tabs:l,navigationType:!1,mobileSidebarTabType:!1})}):null})]})})},exports.PrimaryHero=t=>{var n,r,i;const{title:o,showAsHeading:s,subTitle:a,primaryCta1:l,primaryCta2:c,carouselImages:u,bottomLink:d,price:p,priceCallout:m,priceSuffix:h,checklist:f,renderCheckPlans:g,badgeImage:b,pricingDescription:v,pricingDescriptionDisclaimer:x,secondaryCta:y,secondaryCtaPrefix:w,onModalButtonClick:C,onImageClick:I,hideOnMobileCta1:N,hideOnMobileCta2:A,textColor:E="light",logoLockup:j,heroVideo:T,heroVideoMobile:S}=t,k=e=>{var t;const n=null!==(t=null==e?void 0:e.showButtonAs)&&void 0!==t?t:"solid";return"solid"===n||"button-with-icon"===n||"unstyled"===n},P=l&&c&&k(l)&&k(c),R=null===(n=null==T?void 0:T.url)||void 0===n?void 0:n.trim(),B=null===(r=null==S?void 0:S.url)||void 0===r?void 0:r.trim(),L=!!R,O=!!B,G=e=>(null==e?void 0:e.startsWith("//"))?`https:${e}`:e,M=G(b),D=G(null==u?void 0:u[0]),V=null!==(i=null==d?void 0:d.buttonLabel)&&void 0!==i?i:null==d?void 0:d.label,F="dark"===E?"text-text":"text-white",H=L&&"dark"===E?`${F} xl:text-white`:F,W=({className:t})=>M?e.jsx(Jr,{src:M,alt:"Badge",className:Ae(t,I&&"cursor-pointer"),onClick:I,width:208,height:208,quality:90,loading:"eager"}):null;return e.jsxs("div",{className:"component-container relative overflow-hidden p-4 sm:px-6 sm:py-12 xl:flex xl:min-h-[724px] xl:items-center xl:px-4",children:[L?e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==T?void 0:T.title)||o||"Hero background video",className:"absolute inset-0 z-0 hidden h-full w-full object-fill xl:block","data-testid":"hero-background-video-desktop",children:e.jsx("source",{src:R,type:"video/mp4"})}):null,e.jsxs("div",{className:Ae("primary-hero-container relative z-10 mx-auto flex w-full max-w-[626px] flex-col sm:items-center sm:text-center xl:h-full xl:max-w-120 xl:flex-row xl:items-center xl:justify-between xl:gap-4 xl:text-left"),children:[e.jsx("div",{className:Ae(`relative flex flex-col ${H} w-full xl:w-[486px]`),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e.jsx(qn,{as:s?"h1":"h2",className:"heading2 lg:heading1",children:o}),a&&e.jsx(qn,{as:"p",className:"subheading3",children:a}),p?e.jsxs("div",{className:"flex sm:justify-center sm:text-left lg:justify-start",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:m?m.split("|").map((t,n)=>e.jsx(qn,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(qn,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(qn,{as:"p",className:"subheading5",children:p}),h?e.jsx(qn,{as:"p",className:"subheading1 mt-0.5",children:h}):null]})]}):null,v?e.jsx(qn,{"data-cy":"hero-pricing-description",className:Ae("subheading1","text-left sm:text-center xl:text-left"),children:v}):null,x?e.jsx(qn,{"data-cy":"hero-pricing-disclaimer",as:"p",className:Ae("body3","text-left sm:text-center xl:text-left"),children:x}):null,f&&e.jsx(er,{listItemClassName:`body2 text-left ${H}`,items:f.map(e=>e.iconUrl?{title:e.title,iconUrl:e.iconUrl}:e.title)}),j?e.jsx("div",{className:"text-left sm:text-center xl:mb-0 xl:text-left",children:e.jsx(Jr,{src:j,alt:"Logo Lockup",className:"inline-block",width:201,height:24,quality:90,loading:"eager"})}):null,e.jsxs("div",{className:"flex flex-col gap-3",children:[P?e.jsxs("div",{className:"flex flex-col justify-center gap-3 sm:flex-row sm:gap-4 xl:justify-start",children:[e.jsx("div",{className:Ae(N&&"hidden md:block"),children:e.jsx(Id,{...l,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})}),e.jsx("div",{className:Ae(A&&"hidden md:block"),children:e.jsx(Id,{...c,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,size:{base:"large"},buttonClassName:"md:w-auto text-center"})})]}):e.jsxs(e.Fragment,{children:[l&&e.jsx("div",{className:Ae("md:block",N&&"hidden"),children:e.jsx(Id,{...l,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})}),c&&e.jsx("div",{className:Ae("md:block",A&&"hidden"),children:e.jsx(Id,{...c,renderCheckPlans:g,onModalButtonClick:C,fullWidth:!0,buttonClassName:"lg:w-auto text-center"})})]}),w||y?e.jsxs("div",{className:"hidden lg:flex",children:[w&&"check availability"!==(null==y?void 0:y.preDefinedFunctionExecution)&&e.jsx(qn,{as:"span",className:"body2 mr-1",children:w}),y&&e.jsx(Id,{...y,linkClassName:`body2 ${H}`,renderCheckPlans:g,onModalButtonClick:C})]}):null,d&&(V||(null==d?void 0:d.href))&&e.jsx("div",{className:"hidden lg:block",children:e.jsx(Id,{...d,linkClassName:`text-footnote ${H}`,renderCheckPlans:g,onModalButtonClick:C})})]})]})}),e.jsxs("div",{className:"w-full xl:hidden",children:[e.jsx("div",{className:"relative my-8",children:O?e.jsxs("div",{className:"relative",children:[e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto","aria-label":(null==S?void 0:S.title)||o||"Hero video",className:"h-[350px] w-full rounded-[40px] object-cover object-center sm:h-[420px] md:h-[520px]","data-testid":"hero-video-mobile",children:e.jsx("source",{src:B,type:"video/mp4"})}),e.jsx(W,{className:"absolute left-5 top-5 z-10 aspect-square w-26 object-cover object-center"})]}):e.jsxs(e.Fragment,{children:[b?e.jsx(Jr,{src:M||"",alt:"Badge",className:Ae("absolute left-5 top-5 aspect-square w-26 object-cover object-center",I&&"cursor-pointer"),onClick:I,width:104,height:104,quality:90,loading:"eager"}):null,D?e.jsx(Jr,{src:D,alt:"Hero",className:Ae("h-[205px] w-full rounded-[40px] object-cover object-center sm:h-[420px]",I&&"cursor-pointer"),onClick:I,width:1024,height:600,sizes:"100vw",quality:90,loading:"eager"}):null]})}),w||y?e.jsxs("div",{className:`flex flex-wrap items-center ${H} lg:hidden`,children:[w&&!(null==y?void 0:y.preDefinedFunctionExecution)&&e.jsx(qn,{as:"span",className:"body2 mr-1",children:w}),y&&e.jsx(Id,{...y,renderCheckPlans:g,onModalButtonClick:C,linkClassName:`${H}`})]}):null,d&&(V||(null==d?void 0:d.href))&&e.jsx("div",{className:"flex lg:hidden",children:e.jsx(Id,{...d,renderCheckPlans:g,onModalButtonClick:C,linkClassName:`body3 ${H}`})})]}),e.jsxs("div",{className:Ae("relative hidden xl:block",L&&"h-[584px] w-[584px]"),children:[e.jsx(W,{className:"absolute -left-[114px] top-[62px] z-10 aspect-square w-[200px] object-cover object-center"}),!L&&D?e.jsx(Jr,{src:D,alt:"Hero",className:Ae("aspect-square rounded-[40px] object-cover object-center",I&&"cursor-pointer"),onClick:I,width:584,height:584,quality:90,loading:"eager"}):null]})]})]})},exports.ProductCard=Hd,exports.SearchBlock=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:s,searchDescription:a,searchInputPlaceholder:l,basicCaption:c,caption:u,backgroundColor:d,color:p,onSubmit:m}=n,[h,f]=t.useState("");return e.jsx("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[d]} ${"dark"==p?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e.jsx("div",{className:"flex justify-center",children:e.jsxs("div",{className:"w-[1200px]",children:[e.jsxs("div",{className:"mb-8 text-center",children:[e.jsx(qn,{as:s?"h1":"h2",className:Ae("heading2 md:heading1"),children:i}),o&&e.jsx(qn,{as:"div",className:Ae("subheading2 mt-2 md:subheading1"),children:o})]}),a?e.jsx(qn,{className:"heading6 text-center",children:a}):null,e.jsx("span",{className:"w-full",children:e.jsxs("form",{onSubmit:e=>{e.preventDefault(),null==m||m({searchText:h})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e.jsx(li,{type:"submit",className:"ml-2 inline-flex",children:e.jsx(Qn,{name:"search",className:"text-text"})}),e.jsx("div",{className:"flex-grow",children:e.jsx(Qd,{value:h,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"})})]})}),u||null,c]})})})},exports.ShapeBackgroundWrapper=vh,exports.SimpleCard=Ld,exports.TestimonialCard=Wd,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(qn,{children:"Text Block"})}),exports.dynamicFormConstants=mx,exports.dynamicFormRegex=fx,exports.label1BoldOptions=ai,exports.renderContentfulRichText=si,exports.renderContentfulRichTextTable=function(t,n){if(!t||!Array.isArray(t.content))return null;const r=oi(n),i={...r,renderMark:{...r.renderMark,[sn.BOLD]:t=>e.jsx("strong",{className:"label4 md:label2",children:t})},renderNode:{...r.renderNode,[rn.PARAGRAPH]:(t,n)=>e.jsx(e.Fragment,{children:n}),[rn.TABLE]:(t,n)=>{var r,i;return e.jsx("div",{className:"comparison-table-wrapper w-full overflow-x-auto border-none md:overflow-hidden",children:e.jsx("table",{className:"responsive-table w-full table-fixed border-collapse "+((null===(i=null===(r=t.content[0])||void 0===r?void 0:r.content)||void 0===i?void 0:i.length)>2?"min-w-[100.1%]":"min-w-full"),children:e.jsx("tbody",{children:n})})})},[rn.TABLE_ROW]:(t,n)=>e.jsx("tr",{className:"border-b border-gray-200 last:border-0",children:n}),[rn.TABLE_HEADER_CELL]:(t,n)=>{var r;const i=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2;return e.jsx("th",{className:`label4 break-words py-4 text-center md:label2 ${i?"sticky left-0 z-20 w-[50vw] min-w-[50vw] first:z-30 first:w-[50vw] first:min-w-[50vw] first:border-r":"w-1/4 first:w-1/2"} `,children:n})},[rn.TABLE_CELL]:(t,n)=>{var r,i,o,s;const a=(null===(r=t.parent)||void 0===r?void 0:r.content.length)>2,l=null===(s=null===(o=null===(i=t.content[0])||void 0===i?void 0:i.content[0])||void 0===o?void 0:o.value)||void 0===s?void 0:s.toLowerCase().trim();return e.jsx("td",{className:`rt-table-cell footnote break-words bg-white py-2 text-center align-top leading-5 text-text md:body2 first:text-left md:py-4 md:leading-7 ${a?"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:e.jsxs(e.Fragment,{children:[" ","yes"===l?e.jsx(Qn,{name:"check_circle",color:"#24A76A",fill:1}):"no"===l?e.jsx(Qn,{name:"cancel",color:"#CECECE",fill:1}):n]})})},[on.EMBEDDED_ENTRY]:t=>{var r,i,o,s;const a=t.data.target.sys.id,l=null===(i=null===(r=null==n?void 0:n.entries)||void 0===r?void 0:r.inline)||void 0===i?void 0:i.find(e=>e.sys.id===a);if(!l)return null;if("ComponentCheckList"===l.__typename){const t=(null===(s=null===(o=l.list)||void 0===o?void 0:o.items)||void 0===s?void 0:s.map(e=>{var t;return si(lt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),!0,"")}))||[];return e.jsx(er,{items:t,listIconName:"disc",listItemClassName:"items-baseline footnote md:body2 leading-5 md:leading-7 text-text"})}return e.jsx("span",{children:l.title||""})}}};return nn.documentToReactComponents(t,i)},exports.toDocument=lt,exports.useContentfulRichText=function(n,r,i){return t.useMemo(()=>{if(!n||!Array.isArray(n.content))return null;const t=oi(null==i?void 0:i.links),o={...t,renderMark:{...t.renderMark,...(null==i?void 0:i.boldClassName)?{[sn.BOLD]:t=>e.jsx("strong",{className:i.boldClassName,children:t})}:{},...null==r?void 0:r.renderMark},renderNode:{...t.renderNode,...null==r?void 0:r.renderNode}};return nn.documentToReactComponents(n,o)},[n,r,null==i?void 0:i.boldClassName,null==i?void 0:i.links])},exports.useProcessedChecklist=function(e,n,r,i){return t.useMemo(()=>{var t,o;const s=null!==(o=null===(t=null==e?void 0:e.list)||void 0===t?void 0:t.items)&&void 0!==o?o:[];return n?s.map(e=>{var t,n;return null!==(n=si(lt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,r))&&void 0!==n?n:""}):s.map(e=>{var t,n,o,s,a;return{title:null!==(n=si(lt(null!==(t=null==e?void 0:e.checkListTitle)&&void 0!==t?t:""),void 0,i,void 0,r))&&void 0!==n?n:"",iconUrl:null!==(s=null===(o=null==e?void 0:e.icon)||void 0===o?void 0:o.url)&&void 0!==s?s:void 0,anchorId:null!==(a=null==e?void 0:e.anchorId)&&void 0!==a?a:void 0}})},[e,n,r,i])};
26
26
  //# sourceMappingURL=index.js.map