@windstream/react-shared-components 0.0.99 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,12 @@
1
1
  "use client";
2
2
 
3
- "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/image"),s=require("react-dom");function r(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var o=r(t);function i(e){var t,n,s="";if("string"==typeof e||"number"==typeof e)s+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=i(e[t]))&&(s&&(s+=" "),s+=n)}else for(n in e)e[n]&&(s&&(s+=" "),s+=n);return s}function a(){for(var e,t,n=0,s="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=i(e))&&(s&&(s+=" "),s+=t);return s}const l=e=>{const t=h(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),c(n,t)||u(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&s[e]?[...r,...s[e]]:r}}},c=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],s=t.nextPart.get(n),r=s?c(e.slice(1),s):void 0;if(r)return r;if(0===t.validators.length)return;const o=e.join("-");return t.validators.find(({validator:e})=>e(o))?.classGroupId},d=/^\[(.+)\]$/,u=e=>{if(d.test(e)){const t=d.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},h=e=>{const{theme:t,classGroups:n}=e,s={nextPart:new Map,validators:[]};for(const e in n)m(n[e],s,e,t);return s},m=(e,t,n,s)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:p(t,e)).classGroupId=n)}if("function"==typeof e)return f(e)?void m(e(s),t,n,s):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{m(r,p(t,e),n,s)})})},p=(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},f=e=>e.isThemeGetter,g=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,s=new Map;const r=(r,o)=>{n.set(r,o),t++,t>e&&(t=0,s=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=s.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},v=e=>{const{prefix:t,experimentalParseClassName:n}=e;let s=e=>{const t=[];let n,s=0,r=0,o=0;for(let i=0;i<e.length;i++){let a=e[i];if(0===s&&0===r){if(":"===a){t.push(e.slice(o,i)),o=i+1;continue}if("/"===a){n=i;continue}}"["===a?s++:"]"===a?s--:"("===a?r++:")"===a&&r--}const i=0===t.length?e:e.substring(o),a=x(i);return{modifiers:t,hasImportantModifier:a!==i,baseClassName:a,maybePostfixModifierPosition:n&&n>o?n-o:void 0}};if(t){const e=t+":",n=s;s=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=s;s=t=>n({className:t,parseClassName:e})}return s},x=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,y=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let s=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...s.sort(),e),s=[]):s.push(e)}),n.push(...s.sort()),n}},b=/\s+/;function w(){let e,t,n=0,s="";for(;n<arguments.length;)(e=arguments[n++])&&(t=j(e))&&(s&&(s+=" "),s+=t);return s}const j=e=>{if("string"==typeof e)return e;let t,n="";for(let s=0;s<e.length;s++)e[s]&&(t=j(e[s]))&&(n&&(n+=" "),n+=t);return n};function k(e,...t){let n,s,r,o=function(a){const c=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:g(e.cacheSize),parseClassName:v(e),sortModifiers:y(e),...l(e)}))(c),s=n.cache.get,r=n.cache.set,o=i,i(a)};function i(e){const t=s(e);if(t)return t;const o=((e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r,sortModifiers:o}=t,i=[],a=e.trim().split(b);let l="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{isExternal:c,modifiers:d,hasImportantModifier:u,baseClassName:h,maybePostfixModifierPosition:m}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let p=!!m,f=s(p?h.substring(0,m):h);if(!f){if(!p){l=t+(l.length>0?" "+l:l);continue}if(f=s(h),!f){l=t+(l.length>0?" "+l:l);continue}p=!1}const g=o(d).join(":"),v=u?g+"!":g,x=v+f;if(i.includes(x))continue;i.push(x);const y=r(f,p);for(let e=0;e<y.length;++e){const t=y[e];i.push(v+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return r(e,o),o}return function(){return o(w.apply(null,arguments))}}const N=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},C=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,E=/^\((?:(\w[\w-]*):)?(.+)\)$/i,P=/^\d+\/\d+$/,S=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,T=/\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$/,A=/^(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=>P.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),L=e=>!!e&&Number.isInteger(Number(e)),B=e=>e.endsWith("%")&&R(e.slice(0,-1)),F=e=>S.test(e),O=()=>!0,I=e=>T.test(e)&&!A.test(e),$=()=>!1,z=e=>M.test(e),_=e=>D.test(e),U=e=>!G(e)&&!Z(e),W=e=>re(e,le,$),G=e=>C.test(e),H=e=>re(e,ce,I),Y=e=>re(e,de,R),q=e=>re(e,ie,$),X=e=>re(e,ae,_),K=e=>re(e,he,z),Z=e=>E.test(e),J=e=>oe(e,ce),Q=e=>oe(e,ue),ee=e=>oe(e,ie),te=e=>oe(e,le),ne=e=>oe(e,ae),se=e=>oe(e,he,!0),re=(e,t,n)=>{const s=C.exec(e);return!!s&&(s[1]?t(s[1]):n(s[2]))},oe=(e,t,n=!1)=>{const s=E.exec(e);return!!s&&(s[1]?t(s[1]):n)},ie=e=>"position"===e||"percentage"===e,ae=e=>"image"===e||"url"===e,le=e=>"length"===e||"size"===e||"bg-size"===e,ce=e=>"length"===e,de=e=>"number"===e,ue=e=>"family-name"===e,he=e=>"shadow"===e,me=()=>{const e=N("color"),t=N("font"),n=N("text"),s=N("font-weight"),r=N("tracking"),o=N("leading"),i=N("breakpoint"),a=N("container"),l=N("spacing"),c=N("radius"),d=N("shadow"),u=N("inset-shadow"),h=N("text-shadow"),m=N("drop-shadow"),p=N("blur"),f=N("perspective"),g=N("aspect"),v=N("ease"),x=N("animate"),y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Z,G],b=()=>[Z,G,l],w=()=>[V,"full","auto",...b()],j=()=>[L,"none","subgrid",Z,G],k=()=>["auto",{span:["full",L,Z,G]},L,Z,G],C=()=>[L,"auto",Z,G],E=()=>["auto","min","max","fr",Z,G],P=()=>["auto",...b()],S=()=>[V,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],T=()=>[e,Z,G],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ee,q,{position:[Z,G]}],M=()=>["auto","cover","contain",te,W,{size:[Z,G]}],D=()=>[B,J,H],I=()=>["","none","full",c,Z,G],$=()=>["",R,J,H],z=()=>[R,B,ee,q],_=()=>["","none",p,Z,G],re=()=>["none",R,Z,G],oe=()=>["none",R,Z,G],ie=()=>[R,Z,G],ae=()=>[V,"full",...b()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[F],breakpoint:[F],color:[O],container:[F],"drop-shadow":[F],ease:["in","out","in-out"],font:[U],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[F],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[F],shadow:[F],spacing:["px",R],text:[F],"text-shadow":[F],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",V,G,Z,g]}],container:["container"],columns:[{columns:[R,G,Z,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:y()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{start:w()}],end:[{end:w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[L,"auto",Z,G]}],basis:[{basis:[V,"full","auto",a,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[R,V,"auto","initial","none",G]}],grow:[{grow:["",R,Z,G]}],shrink:[{shrink:["",R,Z,G]}],order:[{order:[L,"first","last","none",Z,G]}],"grid-cols":[{"grid-cols":j()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":j()}],"row-start-end":[{row:k()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":E()}],"auto-rows":[{"auto-rows":E()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"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:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:P()}],mx:[{mx:P()}],my:[{my:P()}],ms:[{ms:P()}],me:[{me:P()}],mt:[{mt:P()}],mr:[{mr:P()}],mb:[{mb:P()}],ml:[{ml:P()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],w:[{w:[a,"screen",...S()]}],"min-w":[{"min-w":[a,"screen","none",...S()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",n,J,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,Z,Y]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",B,G]}],"font-family":[{font:[Q,G,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,Z,G]}],"line-clamp":[{"line-clamp":[R,"none",Z,Y]}],leading:[{leading:[o,...b()]}],"list-image":[{"list-image":["none",Z,G]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Z,G]}],"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:[R,"from-font","auto",Z,H]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[R,"auto",Z,G]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Z,G]}],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",Z,G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:A()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:M()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},L,Z,G],radial:["",Z,G],conic:[L,Z,G]},ne,X]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"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":[R,Z,G]}],"outline-w":[{outline:["",R,J,H]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",d,se,K]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",u,se,K]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[R,H]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",h,se,K]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[R,Z,G]}],"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":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":z()}],"mask-image-linear-to-pos":[{"mask-linear-to":z()}],"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":z()}],"mask-image-t-to-pos":[{"mask-t-to":z()}],"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":z()}],"mask-image-r-to-pos":[{"mask-r-to":z()}],"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":z()}],"mask-image-b-to-pos":[{"mask-b-to":z()}],"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":z()}],"mask-image-l-to-pos":[{"mask-l-to":z()}],"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":z()}],"mask-image-x-to-pos":[{"mask-x-to":z()}],"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":z()}],"mask-image-y-to-pos":[{"mask-y-to":z()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[Z,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":z()}],"mask-image-radial-to-pos":[{"mask-radial-to":z()}],"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":[R]}],"mask-image-conic-from-pos":[{"mask-conic-from":z()}],"mask-image-conic-to-pos":[{"mask-conic-to":z()}],"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:A()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:M()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Z,G]}],filter:[{filter:["","none",Z,G]}],blur:[{blur:_()}],brightness:[{brightness:[R,Z,G]}],contrast:[{contrast:[R,Z,G]}],"drop-shadow":[{"drop-shadow":["","none",m,se,K]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",R,Z,G]}],"hue-rotate":[{"hue-rotate":[R,Z,G]}],invert:[{invert:["",R,Z,G]}],saturate:[{saturate:[R,Z,G]}],sepia:[{sepia:["",R,Z,G]}],"backdrop-filter":[{"backdrop-filter":["","none",Z,G]}],"backdrop-blur":[{"backdrop-blur":_()}],"backdrop-brightness":[{"backdrop-brightness":[R,Z,G]}],"backdrop-contrast":[{"backdrop-contrast":[R,Z,G]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,Z,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,Z,G]}],"backdrop-invert":[{"backdrop-invert":["",R,Z,G]}],"backdrop-opacity":[{"backdrop-opacity":[R,Z,G]}],"backdrop-saturate":[{"backdrop-saturate":[R,Z,G]}],"backdrop-sepia":[{"backdrop-sepia":["",R,Z,G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Z,G]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",Z,G]}],ease:[{ease:["linear","initial",v,Z,G]}],delay:[{delay:[R,Z,G]}],animate:[{animate:["none",x,Z,G]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,Z,G]}],"perspective-origin":[{"perspective-origin":y()}],rotate:[{rotate:re()}],"rotate-x":[{"rotate-x":re()}],"rotate-y":[{"rotate-y":re()}],"rotate-z":[{"rotate-z":re()}],scale:[{scale:oe()}],"scale-x":[{"scale-x":oe()}],"scale-y":[{"scale-y":oe()}],"scale-z":[{"scale-z":oe()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[Z,G,"","none","gpu","cpu"]}],"transform-origin":[{origin:y()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"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",Z,G]}],"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":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"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",Z,G]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[R,J,H,Y]}],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"]}},pe=(e,t,n)=>{void 0!==n&&(e[t]=n)},fe=(e,t)=>{if(t)for(const n in t)pe(e,n,t[n])},ge=(e,t)=>{if(t)for(const n in t)ve(e,t,n)},ve=(e,t,n)=>{const s=t[n];void 0!==s&&(e[n]=e[n]?e[n].concat(s):s)},xe=((e,...t)=>"function"==typeof e?k(me,e,...t):k(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:s,extend:r={},override:o={}})=>(pe(e,"cacheSize",t),pe(e,"prefix",n),pe(e,"experimentalParseClassName",s),fe(e.theme,o.theme),fe(e.classGroups,o.classGroups),fe(e.conflictingClassGroups,o.conflictingClassGroups),fe(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),pe(e,"orderSensitiveModifiers",o.orderSensitiveModifiers),ge(e.theme,r.theme),ge(e.classGroups,r.classGroups),ge(e.conflictingClassGroups,r.conflictingClassGroups),ge(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),ve(e,r,"orderSensitiveModifiers"),e))(me(),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"]}}}),ye=(...e)=>xe(a(...e)),be=t.forwardRef(({children:t,className:n="",style:s,disabled:r,...o},i)=>e.jsx("button",{ref:i,className:ye(n),style:s,disabled:r,...o,children:t}));be.displayName="Button";const we=n=>{const{open:s,children:r}=n,o=t.useRef(null),[i,a]=t.useState(0);return t.useEffect(()=>{const e=o.current;if(!e)return;const t=()=>{a(s?e.scrollHeight:0)};let n;return t(),s&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[s,r]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:s?1:0},"aria-hidden":!s,children:e.jsx("div",{ref:o,children:r})})};we.displayName="Collapse";const je=({name:t,fill:n=0,opticalSize:s="48dp",weight:r="200",emphasis:o=145,size:i=24,color:a="currentColor",style:l={},className:c,onClick:d,dataTestId:u})=>{const h={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${o}, 'opsz' ${s.substring(0,2)}`,fontSize:`${i}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:h,className:ye("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:d,"data-testid":u,children:t})};je.displayName="MaterialIcon";const ke=n=>{const{title:s,defaultOpen:r,children:o,containerClassName:i,titleClassName:a,className:l,buttonClassName:c,openOnlyOnDesktop:d,borderRadiusNone:u=!1}=n,[h,m]=t.useState(Boolean(!1));return t.useEffect(()=>{if(d){const e=window.innerWidth>=1024;m(e)}else m(Boolean(r))},[d,r]),e.jsxs("div",{className:ye(u?"rounded-none border":"rounded-surface-xs border",i),children:[e.jsxs(be,{type:"button",className:ye(u?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>m(e=>!e),children:[e.jsx("span",{className:ye("label5",a),children:s}),e.jsx(je,{name:h?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(we,{open:h,children:e.jsx("div",{className:ye("px-4 py-4",l),children:o})})]})};ke.displayName="Accordion";const Ne=t.forwardRef(({children:e,as:n,className:s="",style:r,...o},i)=>{const a=n||"p";return t.createElement(a,{ref:i,className:s,style:r,...o},e)});Ne.displayName="Text";const Ce=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()},Ee=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:s,label:r,disabled:o,fullWidth:i,size:a={base:"medium"},as:l="button",...c},d)=>{const u=(()=>{const e=ye((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()})(a),"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&&"w-full"),s=ye((o||n)&&"cursor-not-allowed",n&&"pl-7",o&&"bg-bg-fill-brand-disabled");return ye(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand",primary_inverse:"bg-bg-surface-inverse text-text-inverse enabled:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse",secondary:"border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse"}[t]||"",s)})();let h=`button--${t}`;n&&(h+=" button--loading"),o&&(h+=" button--disabled");const m=`${h} ${u}`,p=e.jsxs(e.Fragment,{children:[n?e.jsx(je,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:ye(Ce(a)),children:r}),s]}):s]});return"a"===l?e.jsx("a",{ref:d,className:ye(m),...c,children:p}):e.jsx("button",{ref:d,className:ye(m),disabled:o||n,...c,children:p})});Ee.displayName="BrandButton";const Pe=t.forwardRef(({children:t,href:n,className:s="",onClick:r,variant:o="unstyled",style:i,external:a=!1,disabled:l=!1,...c},d)=>{const u=(()=>{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(" ")})(),h={...c,ref:d,className:ye(u,`link--${o}`,l&&"link--disabled",s),style:i,href:l?void 0:n,onClick:e=>{l?e.preventDefault():null==r||r(e)},...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return e.jsx("a",{...h,children:t})});Pe.displayName="Link";const Se=t=>{const{showButtonAs:n="solid",buttonVariant:s="primary_brand",buttonLabel:r,buttonPrefix:o,href:i,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:d,fullWidth:u,preDefinedFunctionExecution:h,renderCheckPlans:m,buttonClassName:p,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:v,onClick:x,iconName:y,...b}=t;if("check availability"===h){return null==m?void 0:m({ctaText:r,buttonVariant:s,showButtonAs:n,cta:{...t}})}function w(){"modal"===f&&(null==v||v(g))}function j(e){w(),null==x||x(e)}function k(e){w(),null==x||x(e)}let N=e.jsx(be,{onClick:k,className:p,...b});switch(n){case"solid":N=i?e.jsx(Ee,{as:"a",href:i,id:l,variant:s,text:r,label:o,fullWidth:u,onClick:j}):e.jsx(Ee,{id:l,variant:s,text:r,label:o,fullWidth:u,onClick:k});break;case"text":N=e.jsxs(Pe,{href:i,target:a,variant:d||"default",className:`text-text-brand ${c||""}`,onClick:j,children:[r," ",y&&e.jsx(je,{name:y,size:24})]})}return N},Te={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ae=t.forwardRef(({className:t,...s},r)=>{const o="string"==typeof s.src?s.src:"",i=o.toLowerCase().split("?")[0]||"",a=o.includes("images.ctfassets.net")&&i.endsWith(".svg");return e.jsx(n,{ref:r,className:ye(t),...s,unoptimized:a})});Ae.displayName="NextImage";const Me=({card:t,lgWidth:n,mdWidth:s})=>{var r,o,i;const a=(null===(r=t.imageAlignment)||void 0===r?void 0:r.toLowerCase())||"left",l="left"===a?"lg:items-start":"right"===a?"lg:items-end":"lg:items-center";return e.jsx("div",{className:`callout-card ${s} ${n} w-full ${null!==(i=Te[null!==(o=t.backgroundColor)&&void 0!==o?o:""])&&void 0!==i?i:""}`,children:e.jsxs("div",{className:`card-template flex h-full flex-col items-center gap-8 p-8 text-center ${l}`,children:[e.jsx("div",{className:"card-header",children:(t=>{var n,s,r;if(!t.image)return null;return"full"===(null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase())?e.jsx(Ae,{width:400,height:280,src:t.image,alt:null!==(s=t.title)&&void 0!==s?s:"card-icon",className:"rounded-3xl"}):e.jsx(Ae,{width:88,height:88,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon"})})(t)}),e.jsxs("div",{className:"card-body flex flex-col gap-3 text-start",children:[t.title&&e.jsx(Ne,{as:"h5",className:"heading5 font-black",children:t.title}),t.body&&e.jsx(Ne,{as:"div",className:"body1",children:t.body})]}),t.cta&&e.jsx("div",{className:"card-footer",children:e.jsx(Se,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...t.cta,iconName:"expand_circle_right"})})]})})},De={green:"#209A61",yellow:"#F5FF36"},Ve=t.forwardRef(({children:t,className:n="",variant:s="unstyled",style:r,...o},i)=>{const a=ye("unstyled"===s?"":"mb-1 leading-6","list-item",`list-item--${s}`,n);return e.jsx("li",{ref:i,className:a,style:r,...o,children:t})});Ve.displayName="ListItem";const Re=t.forwardRef(({type:t="ul",items:n,className:s="",renderItem:r,children:o,variant:i="unstyled",style:a,...l},c)=>{const d=(()=>{if("unstyled"===i)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),u={className:ye(d,`list--${t}`,`list--${i}`,s),style:a,...l,children:o||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Ve,{className:t.className,variant:i,children:t.content},t.id||n)):null)};return"ol"===t?e.jsx("ol",{...u,ref:c}):e.jsx("ul",{...u,ref:c})});Re.displayName="List";const Le=t=>{const{items:n,listIconName:s="check",listItemClassName:r,iconSize:o=20,iconPosition:i="center",iconColor:a="green"}=t,l="disc"!==s;return(null==n?void 0:n.length)?e.jsx(Re,{className:"mt-2 space-y-1",variant:l?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Ve,{variant:l?"unstyled":"default",className:ye(`${l?"flex":""} ${"top"===i?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[l&&e.jsx("div",{children:e.jsx(je,{name:s,size:o,color:De[a],weight:"600",className:"top"===i?"mt-1":""})}),e.jsx(Ne,{as:"div",children:t})]},n))}):null};Le.displayName="Checklist";const Be=t.forwardRef(({as:t,className:n="",...s},r)=>{const o=ye(n);if(t){const n=t;return e.jsx(n,{ref:r,className:o,...s})}return e.jsx("img",{ref:r,className:o,...s})});Be.displayName="Image";const Fe=({onSelect:n,speed:s,isSelected:r=!1,renderCheckPlans:o,cta:i,techType:a,isMax:l})=>{const[c,d]=t.useState(!1),u=`btn-medium rounded-2xl pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${r?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,h=null==o?void 0:o({speedCardConfig:{isModalOpen:c,setModalOpen:()=>{d(!1)},speed:s,techType:a,isMax:l},cta:i});return e.jsxs(e.Fragment,{children:[e.jsxs(be,{onClick:()=>{d(!0),n()},className:ye(u,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${s}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(r?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e.jsx(je,{name:"chevron_right",fill:1,size:24})})]}),h]})},Oe=({planName:n,planSubtext:s,speed:r,price:o,description:i,bestValue:a=!1,bestValueText:l="best value",giftBadge:c,innerBadge:d,theme:u="light",featuresTitle:h="Business Ready Internet features",features:m=[],isExpanded:p,onToggleExpand:f,onCtaClick:g,renderCheckPlans:v,cta:x,techType:y,ismaxSpeed:b})=>{const[w,j]=t.useState(!1),k=void 0!==p?p:w,N="dark"===u;return e.jsxs("article",{className:ye("relative flex h-full w-full max-w-[392px] flex-col",!a&&"pt-[28px]"),children:[a&&e.jsx("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:l}),e.jsxs("div",{className:ye("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",N?"bg-bg-fill-inverse text-white":"bg-white text-text",a?"rounded-t-none":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(Ne,{as:"h3",className:ye("subheading2 whitespace-nowrap font-black",N?"text-bg-fill-brand-accent":"text-text-brand"),children:n}),e.jsx(Ne,{as:"p",className:`text-label3 font-black ${N?"text-bg-fill-brand-accent":"text-text-brand"} md:whitespace-nowrap`,children:s})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx("span",{className:"text-xl font-normal",children:"$"}),e.jsx("span",{className:"text-subheading6 font-medium leading-none",children:o.split(".")[0]}),e.jsxs("span",{className:"text-sm font-black",children:[o.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(Ne,{className:ye("text-base",N?"text-white":"text-text"),children:i})}),e.jsx("div",{className:ye("flex-col items-center rounded-xl p-2",N?"bg-bg-surface-inverse":"bg-gray-200"),children:c&&(null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2 p-1",children:[e.jsx(Be,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(Ne,{as:"div",className:"text-sm font-bold",children:t.title})]},t.title)))}),e.jsx(Fe,{onSelect:g,speed:r,isSelected:N,renderCheckPlans:v,cta:x,techType:y,isMax:b}),m.length>0&&e.jsxs("section",{className:"flex flex-col gap-6",children:[e.jsxs(be,{onClick:()=>{f?f():j(!w)},className:"group flex w-full items-center justify-between text-left",children:[e.jsx(Ne,{as:"h4",className:"text-base font-bold",children:h}),e.jsx(je,{name:"keyboard_arrow_up",fill:1,size:24,className:ye("transition-transform duration-300",k&&"rotate-180")})]}),e.jsxs("div",{className:ye("overflow-hidden transition-all duration-300 ease-in-out",k?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col gap-3",children:e.jsx(Le,{items:m,iconColor:N?"yellow":"green",listItemClassName:""+(N?"text-white":"text-text")})}),(null==d?void 0:d.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(Be,{src:d.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"text-sm",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(Ne,{className:"font-bold",children:d.badgeText})})]}):null]})]})]})]})},Ie=({title:t,quote:s,rating:r,author:o,role:i,avatarUrl:l,isActive:c=!1,className:d})=>e.jsxs("figure",{className:a("flex h-full w-full flex-col rounded-3xl p-6 font-sans transition-all duration-300 md:p-13",c?"bg-white shadow-lg":"bg-gray-50 opacity-60",d),children:[e.jsx("header",{children:e.jsx(Ne,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:t})}),e.jsx("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:s}),r?e.jsx("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,n)=>e.jsx(je,{size:24,name:"star",fill:1,className:a("h-5 w-5",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null,o&&e.jsxs("figcaption",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:l?e.jsx(n,{src:l,alt:o,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:o.charAt(0)})}),e.jsxs("div",{className:"flex flex-col",children:[e.jsx("cite",{className:"text-sm font-bold not-italic text-text",children:o}),e.jsx(Ne,{as:"p",className:"text-xs text-text",children:i})]})]})]});function $e({fields:n,renderCheckPlans:s}){var r,o,i,a;const l=(null===(i=null===(o=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===o?void 0:o[0])||void 0===i?void 0:i.benefitsExpanded)||!1,[c,d]=t.useState(l),[u,h]=t.useState({}),[m,p]=t.useState(0),f=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=f.length>2,v=t.useRef([]),x=t.useCallback(()=>{g&&p(e=>(e+3)%f.length)},[g,f.length]),y=t.useCallback(()=>{g&&p(e=>(e-3+f.length)%f.length)},[g,f.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=v.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)},[g,c,f.length]),!f.length&&!(null==n?void 0:n.title))return null;const b=(t,n,r=!1)=>{var o,i,a,l,m,p,f,g;const x=null===(o=null==t?void 0:t.speed)||void 0===o?void 0:o.split("|"),y=(null==x?void 0:x[0])||"",b=(null==x?void 0:x[1])||"",w=(null===(a=null===(i=null==t?void 0:t.priceSuffix)||void 0===i?void 0:i.split("/"))||void 0===a?void 0:a[0])||"00",j=`${(null==t?void 0:t.price)||"0"}.${w}`,k=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],N=(null==t?void 0:t.highlighted)||!1,C=(null===(p=null===(m=null==t?void 0:t.giftRewards)||void 0===m?void 0:m.list)||void 0===p?void 0:p.items)||[],E={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},P=r?u[n]||!1:c;return e.jsx("div",{ref:r?void 0:e=>{e&&!v.current.includes(e)&&(v.current[n]=e)},className:ye(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e.jsx(Oe,{planName:y,planSubtext:b,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:j,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:C,innerBadge:E,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:N,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:k,isExpanded:P,onToggleExpand:()=>{r?h(e=>({...e,[n]:!e[n]})):d(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:s,cta:t.cta,hostType:"smb"})},n)},w=[...f,...f,...f,...f,...f],j=2*f.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:f.map((e,t)=>b(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[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:[e.jsx(be,{onClick:x,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(je,{name:"arrow_back",size:24})}),e.jsx(be,{onClick:y,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(je,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${j+m} * (392px + 12px)))`},children:w.map((e,t)=>b(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-8 px-4",children:f.map((e,t)=>b(e,t))})}const ze=({fields:n})=>{var s;const r=(null===(s=null==n?void 0:n.items)||void 0===s?void 0:s.items)||[],[o,i]=t.useState(0),a=t.useRef(null),l=t.useCallback(()=>{0!==r.length&&i(e=>(e+1)%r.length)},[r.length]),c=t.useCallback(()=>{0!==r.length&&i(e=>0===e?r.length-1:e-1)},[r.length]);return t.useEffect(()=>{if(0!==r.length)return a.current=setInterval(()=>{l()},8e3),()=>{a.current&&clearInterval(a.current)}},[l,r.length]),r&&0!==r.length?e.jsxs("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e.jsx(be,{onClick:c,className:"group absolute left-4 top-1/2 z-20 hidden h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(je,{name:"arrow_back",size:24})}),e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:r.map((t,n)=>{let s=n-o;const i=r.length;s>i/2&&(s-=i),s<-i/2&&(s+=i);const a=0===s;return e.jsx("div",{className:ye("col-start-1 row-start-1 w-full md:max-w-[815px]",a?"opacity-100":"opacity-0","md:opacity-100"),style:{transform:`translateX(${a?"0%":105*s+"%"})`,zIndex:a?10:5,visibility:Math.abs(s)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e.jsx(Ie,{...t,isActive:a,className:"h-full"})},n)})}),e.jsx(be,{onClick:l,className:"group absolute right-4 top-1/2 z-20 hidden h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(je,{name:"arrow_forward",size:24})}),e.jsx("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:r.map((t,n)=>e.jsx("button",{onClick:()=>i(n),className:ye("h-2 w-2 rounded-full transition-all duration-300",o===n?"w-6 bg-white":"bg-white/40 hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]}):null},_e=({tabs:t,activeTab:n,onChange:s,className:r})=>e.jsx("div",{className:ye("mx-auto my-6 flex w-fit rounded-2xl bg-white p-1",r),children:t.map(t=>e.jsx("button",{onClick:()=>s(t),className:ye("min-w-[160px] whitespace-nowrap rounded-2xl bg-[#EEEEEE] px-4 py-2.5 text-label1 font-black transition-all duration-300",n===t?"bg-bg-fill-brand text-white shadow-md":"text-text-info hover:bg-[#E5E5E7]"),children:t},t))}),Ue=({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(je,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),We=n=>{const{link:s,containerClassName:r,autoplay:o=!1,debug:i=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!s)return{href:"",embedId:""};const e=s.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),s=t.split("/"),r=s[s.length-1];return(null==n?void 0:n[1])?n[1]===r?n[1]:`${n[1]}/${r}`:""})(e);return{href:e,embedId:t}},[s]);if(i&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],s=n[2],r=`https://player.vimeo.com/video/${e}`;return s&&/^[a-f0-9]+$/i.test(s)&&t.searchParams.set("h",s),`${r}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:o?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:ye("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Ge=n=>{const{link:s,containerClassName:r,autoplay:o=!1}=n,i=t.useMemo(()=>{if(!s)return"";const e=s.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[s]),a=o?"?autoplay=1":"";return e.jsx("div",{className:ye("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${i}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},He=({link:n,anchorName:s})=>{const[r,o]=t.useState(!1),i=t.useRef(null);if(((e,n)=>{const s=t=>{var s;(null===(s=null==e?void 0:e.current)||void 0===s?void 0:s.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",s),()=>{document.removeEventListener("click",s)}))})(i,()=>o(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Se,{...n,linkClassName:"body3 flex items-center text-text-link h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:l,items:c}=n,d=Array.isArray(null==c?void 0:c.items)?c.items:[],u=`--link-anchor-${s}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:u},ref:i,children:[e.jsxs(Se,{onClick:()=>o(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full items-center",showButtonAs:"unstyled",children:[e.jsx(Ne,{as:"span",className:"group-hover:underline",children:null!=l?l:null}),e.jsx(je,{weight:"700",className:"text-icon-info group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:ye("fixed z-10 min-w-44 rounded-xl bg-bg shadow-lg","transition-[opacity,transform] ease-out",r&&d.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:u,top:"anchor(bottom)",right:"anchor(right)"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",children:d.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Se,{...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}`))})})]})},Ye=({link:n})=>{const[s,r]=t.useState(!1);if(!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Se,{...n,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:o,title:i,items:a}=n,l=Array.isArray(null==a?void 0:a.items)?a.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(Se,{onClick:()=>r(e=>!e),"aria-expanded":s,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=i?i:null,e.jsx(je,{weight:"700",name:s?"keyboard_arrow_up":"keyboard_arrow_down"})]},o),s&&l.length>0&&e.jsx(qe,{items:l})]})},qe=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Se,{...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}`),Xe=t=>{const{showBlinkDot:n=!1,buttonStyle:s="primary",size:r="md",children:o,className:i,...a}=t;return e.jsxs(Pe,{...a,className:ye("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[r],{primary:"border-[0.727px] border-border text-text"}[s],i),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[r]} items-center justify-center rounded-full bg-icon-brand`,children:e.jsx(je,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:o})]})};Xe.displayName="CallButton";const Ke=t.forwardRef((n,s)=>{const{className:r,size:o,required:i,placeholder:a,label:l,state:c,errorText:d,prefixIconName:u,prefixIconFill:h=!0,suffixIconFill:m=!1,prefixIconSize:p=24,suffixIconName:f,suffixIconSize:g=24,containerClassName:v,prefixIconClassName:x,loading:y,hasError:b,type:w,...j}=n,k=b?"error":c,[N,C]=t.useState(!1),[E,P]=t.useState(!1),[S,T]=t.useState(w||"text"),A=t.useCallback(e=>{e.stopPropagation(),T(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:ye("inline-block pb-1"),children:e.jsxs(Ne,{as:"span",className:"footnote text-text",children:[l,i?e.jsx("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,e.jsxs("div",{className:ye("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"],v,(N||"hover"===k)&&!E&&"error"!==k&&"border-input-border-hover",(E||"focus"===k||"active"===k)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===k&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[u?e.jsx("div",{className:"mr-1",style:{width:p,height:p,overflow:"hidden"},children:e.jsx(je,{name:u,fill:h?1:0,size:p,className:ye(x)})}):null,e.jsx("input",{ref:s,id:l,disabled:y||j.disabled,className:ye("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===o&&"text-body3",r),placeholder:a,type:S,...j,onMouseOver:()=>C(!0),onMouseOut:()=>C(!1),onFocus:e=>{var t;null===(t=j.onFocus)||void 0===t||t.call(j,e),P(!0)},onBlur:e=>{var t;null===(t=j.onBlur)||void 0===t||t.call(j,e),P(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:A,children:e.jsx(je,{name:"text"===S?"visibility":"visibility_off",size:g,fill:m?1:0})}):null]}),"error"===k&&d&&""!=d?e.jsxs(Ne,{className:ye("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(je,{name:"info",size:20,className:"mr-1"}),d||"Error"]}):null]})});Ke.displayName="Input";const Ze=n=>{var s;const{primaryNavigationLinks:r,utilityNavigationLinks:o}=n,[i,a]=t.useState(!1);t.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=i?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],s=t[t.length-1],r=e=>{var t,r,o,i;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(r=(t=s).focus)||void 0===r||r.call(t),e.preventDefault()):document.activeElement===s&&(null===(i=(o=n).focus)||void 0===i||i.call(o),e.preventDefault()))};return window.addEventListener("keydown",r),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",r)}},[i]);const l=()=>{a(!1)};return e.jsxs("div",{children:[e.jsx(Se,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>a(!0),children:e.jsx(je,{name:"menu"})}),i?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:ye("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",i?"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:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(Xe,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(Se,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:l,children:e.jsx(je,{name:"close"})})})]}),e.jsx(Je,{closeMenu:l,isMenuOpen:i,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(s=n.searchBarIcon)||void 0===s?void 0:s.url)||"",onSearch:n.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{children:e.jsx(Ye,{link:t})},`main-menu-items-${n}`))}),e.jsx("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==o?void 0:o.map((t,n)=>e.jsx("li",{children:e.jsx(Se,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:ye("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`)},`main-menu-items-${n}`))})]})]})})]})},Je=n=>{const{closeMenu:s,onSearch:r,isMenuOpen:o,searchBarIconURL:i}=n,[a,l]=t.useState(""),c=t.useRef(null),d=e=>{s(),e.preventDefault(),r(a)};return t.useEffect(()=>{o||l("")},[o]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:d,children:[e.jsx(Ae,{src:i,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:d}),e.jsx("div",{className:"flex-grow",children:e.jsx(Ke,{ref:c,className:"h-[34px] rounded-none text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:a,onChange:e=>l(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},Qe=n=>{const{searchBarIconURL:s,onSearch:r}=n,[o,i]=t.useState(""),a=t.useRef(null),l=e=>{e.preventDefault(),r(o)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-full border transition-colors focus-within:border-border-focus",onSubmit:l,children:[e.jsx(Ae,{src:s,width:32,height:32,alt:"Search icon",role:"button",onClick:l}),e.jsx(Ke,{ref:a,className:"rounded-full p-0 text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:o,onChange:e=>i(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},et={closed:{opacity:0},open:{opacity:1}},tt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},nt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},st=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),rt=t.createContext({}),ot=t.createContext(null),it="undefined"!=typeof document,at=it?t.useLayoutEffect:t.useEffect,lt=t.createContext({strict:!1});function ct(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function dt(e){return"string"==typeof e||Array.isArray(e)}function ut(e){return"object"==typeof e&&"function"==typeof e.start}const ht=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],mt=["initial",...ht];function pt(e){return ut(e.animate)||mt.some(t=>dt(e[t]))}function ft(e){return Boolean(pt(e)||e.variants)}function gt(e){const{initial:n,animate:s}=function(e,t){if(pt(e)){const{initial:t,animate:n}=e;return{initial:!1===t||dt(t)?t:void 0,animate:dt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(rt));return t.useMemo(()=>({initial:n,animate:s}),[vt(n),vt(s)])}function vt(e){return Array.isArray(e)?e.join(" "):e}const xt={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"]},yt={};for(const e in xt)yt[e]={isEnabled:t=>xt[e].some(e=>!!t[e])};const bt=t.createContext({}),wt=t.createContext({}),jt=Symbol.for("motionComponentSymbol");function kt({preloadedFeatures:e,createVisualElement:n,useRender:s,useVisualState:r,Component:i}){e&&function(e){for(const t in e)yt[t]={...yt[t],...e[t]}}(e);const a=t.forwardRef(function(a,l){let c;const d={...t.useContext(st),...a,layoutId:Nt(a)},{isStatic:u}=d,h=gt(a),m=r(a,u);if(!u&&it){h.visualElement=function(e,n,s,r){const{visualElement:o}=t.useContext(rt),i=t.useContext(lt),a=t.useContext(ot),l=t.useContext(st).reducedMotion,c=t.useRef();r=r||i.renderer,!c.current&&r&&(c.current=r(e,{visualState:n,parent:o,props:s,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const d=c.current;return t.useInsertionEffect(()=>{d&&d.update(s,a)}),at(()=>{d&&d.render()}),t.useEffect(()=>{d&&d.updateFeatures()}),(window.HandoffAppearAnimations?at:t.useEffect)(()=>{d&&d.animationState&&d.animationState.animateChanges()}),d}(i,m,d,n);const s=t.useContext(wt),r=t.useContext(lt).strict;h.visualElement&&(c=h.visualElement.loadFeatures(d,r,e,s))}return o.createElement(rt.Provider,{value:h},c&&h.visualElement?o.createElement(c,{visualElement:h.visualElement,...d}):null,s(i,a,function(e,n,s){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),s&&("function"==typeof s?s(t):ct(s)&&(s.current=t))},[n])}(m,h.visualElement,l),m,u,h.visualElement))});return a[jt]=i,a}function Nt({layoutId:e}){const n=t.useContext(bt).id;return n&&void 0!==e?n+"-"+e:e}function Ct(e){function t(t,n={}){return kt(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,s)=>(n.has(s)||n.set(s,t(s)),n.get(s))})}const Et=["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 Pt(e){return"string"==typeof e&&!e.includes("-")&&!!(Et.indexOf(e)>-1||/[A-Z]/.test(e))}const St={};const Tt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],At=new Set(Tt);function Mt(e,{layout:t,layoutId:n}){return At.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!St[e]||"opacity"===e)}const Dt=e=>Boolean(e&&e.getVelocity),Vt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Rt=Tt.length;const Lt=e=>t=>"string"==typeof t&&t.startsWith(e),Bt=Lt("--"),Ft=Lt("var(--"),Ot=(e,t)=>t&&"number"==typeof e?t.transform(e):e,It=(e,t,n)=>Math.min(Math.max(n,e),t),$t={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},zt={...$t,transform:e=>It(0,1,e)},_t={...$t,default:1},Ut=e=>Math.round(1e5*e)/1e5,Wt=/(-)?([\d]*\.?[\d])+/g,Gt=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Ht=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Yt(e){return"string"==typeof e}const qt=e=>({test:t=>Yt(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Xt=qt("deg"),Kt=qt("%"),Zt=qt("px"),Jt=qt("vh"),Qt=qt("vw"),en={...Kt,parse:e=>Kt.parse(e)/100,transform:e=>Kt.transform(100*e)},tn={...$t,transform:Math.round},nn={borderWidth:Zt,borderTopWidth:Zt,borderRightWidth:Zt,borderBottomWidth:Zt,borderLeftWidth:Zt,borderRadius:Zt,radius:Zt,borderTopLeftRadius:Zt,borderTopRightRadius:Zt,borderBottomRightRadius:Zt,borderBottomLeftRadius:Zt,width:Zt,maxWidth:Zt,height:Zt,maxHeight:Zt,size:Zt,top:Zt,right:Zt,bottom:Zt,left:Zt,padding:Zt,paddingTop:Zt,paddingRight:Zt,paddingBottom:Zt,paddingLeft:Zt,margin:Zt,marginTop:Zt,marginRight:Zt,marginBottom:Zt,marginLeft:Zt,rotate:Xt,rotateX:Xt,rotateY:Xt,rotateZ:Xt,scale:_t,scaleX:_t,scaleY:_t,scaleZ:_t,skew:Xt,skewX:Xt,skewY:Xt,distance:Zt,translateX:Zt,translateY:Zt,translateZ:Zt,x:Zt,y:Zt,z:Zt,perspective:Zt,transformPerspective:Zt,opacity:zt,originX:en,originY:en,originZ:Zt,zIndex:tn,fillOpacity:zt,strokeOpacity:zt,numOctaves:tn};function sn(e,t,n,s){const{style:r,vars:o,transform:i,transformOrigin:a}=e;let l=!1,c=!1,d=!0;for(const e in t){const n=t[e];if(Bt(e)){o[e]=n;continue}const s=nn[e],u=Ot(n,s);if(At.has(e)){if(l=!0,i[e]=u,!d)continue;n!==(s.default||0)&&(d=!1)}else e.startsWith("origin")?(c=!0,a[e]=u):r[e]=u}if(t.transform||(l||s?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},s,r){let o="";for(let t=0;t<Rt;t++){const n=Tt[t];void 0!==e[n]&&(o+=`${Vt[n]||n}(${e[n]}) `)}return t&&!e.z&&(o+="translateZ(0)"),o=o.trim(),r?o=r(e,s?"":o):n&&s&&(o="none"),o}(e.transform,n,d,s):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}const rn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function on(e,t,n){for(const s in t)Dt(t[s])||Mt(s,n)||(e[s]=t[s])}function an(e,n,s){const r={};return on(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},n,s){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return sn(t,n,{enableHardwareAcceleration:!s},e),Object.assign({},t.vars,t.style)},[n])}(e,n,s)),e.transformValues?e.transformValues(r):r}function ln(e,t,n){const s={},r=an(e,t,n);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=r,s}const cn=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 dn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||cn.has(e)}let un=e=>!dn(e);try{(hn=require("@emotion/is-prop-valid").default)&&(un=e=>e.startsWith("on")?!dn(e):hn(e))}catch(e){}var hn;function mn(e,t,n){return"string"==typeof e?e:Zt.transform(t+n*e)}const pn={offset:"stroke-dashoffset",array:"stroke-dasharray"},fn={offset:"strokeDashoffset",array:"strokeDasharray"};function gn(e,{attrX:t,attrY:n,attrScale:s,originX:r,originY:o,pathLength:i,pathSpacing:a=1,pathOffset:l=0,...c},d,u,h){if(sn(e,c,d,h),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:m,style:p,dimensions:f}=e;m.transform&&(f&&(p.transform=m.transform),delete m.transform),f&&(void 0!==r||void 0!==o||p.transform)&&(p.transformOrigin=function(e,t,n){return`${mn(t,e.x,e.width)} ${mn(n,e.y,e.height)}`}(f,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==s&&(m.scale=s),void 0!==i&&function(e,t,n=1,s=0,r=!0){e.pathLength=1;const o=r?pn:fn;e[o.offset]=Zt.transform(-s);const i=Zt.transform(t),a=Zt.transform(n);e[o.array]=`${i} ${a}`}(m,i,a,l,!1)}const vn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),xn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function yn(e,n,s,r){const o=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return gn(t,n,{enableHardwareAcceleration:!1},xn(r),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};on(t,e.style,e),o.style={...t,...o.style}}return o}function bn(e=!1){return(n,s,r,{latestValues:o},i)=>{const a=(Pt(n)?yn:ln)(s,o,i,n),l=function(e,t,n){const s={};for(const r in e)"values"===r&&"object"==typeof e.values||(un(r)||!0===n&&dn(r)||!t&&!dn(r)||e.draggable&&r.startsWith("onDrag"))&&(s[r]=e[r]);return s}(s,"string"==typeof n,e),c={...l,...a,ref:r},{children:d}=s,u=t.useMemo(()=>Dt(d)?d.get():d,[d]);return t.createElement(n,{...c,children:u})}}const wn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function jn(e,{style:t,vars:n},s,r){Object.assign(e.style,t,r&&r.getProjectionStyles(s));for(const t in n)e.style.setProperty(t,n[t])}const kn=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 Nn(e,t,n,s){jn(e,t,void 0,s);for(const n in t.attrs)e.setAttribute(kn.has(n)?n:wn(n),t.attrs[n])}function Cn(e,t){const{style:n}=e,s={};for(const r in n)(Dt(n[r])||t.style&&Dt(t.style[r])||Mt(r,e))&&(s[r]=n[r]);return s}function En(e,t){const n=Cn(e,t);for(const s in e)if(Dt(e[s])||Dt(t[s])){n[-1!==Tt.indexOf(s)?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s]=e[s]}return n}function Pn(e,t,n,s={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,s,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,s,r)),t}const Sn=e=>Array.isArray(e),Tn=e=>Sn(e)?e[e.length-1]||0:e;function An(e){const t=Dt(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const Mn=e=>(n,s)=>{const r=t.useContext(rt),o=t.useContext(ot),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},s,r,o){const i={latestValues:Dn(s,r,o,e),renderState:t()};return n&&(i.mount=e=>n(s,e,i)),i}(e,n,r,o);return s?i():function(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}(i)};function Dn(e,t,n,s){const r={},o=s(e,{});for(const e in o)r[e]=An(o[e]);let{initial:i,animate:a}=e;const l=pt(e),c=ft(e);t&&c&&!l&&!1!==e.inherit&&(void 0===i&&(i=t.initial),void 0===a&&(a=t.animate));let d=!!n&&!1===n.initial;d=d||!1===i;const u=d?a:i;if(u&&"boolean"!=typeof u&&!ut(u)){(Array.isArray(u)?u:[u]).forEach(t=>{const n=Pn(e,t);if(!n)return;const{transitionEnd:s,transition:o,...i}=n;for(const e in i){let t=i[e];if(Array.isArray(t)){t=t[d?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in s)r[e]=s[e]})}return r}const Vn={useVisualState:Mn({scrapeMotionValuesFromProps:En,createRenderState:vn,onMount:(e,t,{renderState:n,latestValues:s})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}gn(n,s,{enableHardwareAcceleration:!1},xn(t.tagName),e.transformTemplate),Nn(t,n)}})},Rn={useVisualState:Mn({scrapeMotionValuesFromProps:Cn,createRenderState:rn})};function Ln(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}const Bn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Fn(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function On(e,t,n,s){return Ln(e,t,(e=>t=>Bn(t)&&e(t,Fn(t)))(n),s)}const In=(e,t)=>n=>t(e(n)),$n=(...e)=>e.reduce(In);function zn(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const _n=zn("dragHorizontal"),Un=zn("dragVertical");function Wn(e){let t=!1;if("y"===e)t=Un();else if("x"===e)t=_n();else{const e=_n(),n=Un();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Gn(){const e=Wn(!0);return!e||(e(),!1)}class Hn{constructor(e){this.isMounted=!1,this.node=e}update(){}}const Yn={delta:0,timestamp:0,isProcessing:!1};let qn=!0,Xn=!1;const Kn=["read","update","preRender","render","postRender"],Zn=Kn.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],s=0,r=!1,o=!1;const i=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{const l=a&&r,c=l?t:n;return o&&i.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(s=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),i.delete(e)},process:l=>{if(r)o=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,s=t.length,s)for(let n=0;n<s;n++){const s=t[n];s(l),i.has(s)&&(a.schedule(s),e())}r=!1,o&&(o=!1,a.process(l))}}};return a}(()=>Xn=!0),e),{}),Jn=e=>Zn[e].process(Yn),Qn=e=>{Xn=!1,Yn.delta=qn?1e3/60:Math.max(Math.min(e-Yn.timestamp,40),1),Yn.timestamp=e,Yn.isProcessing=!0,Kn.forEach(Jn),Yn.isProcessing=!1,Xn&&(qn=!1,requestAnimationFrame(Qn))},es=Kn.reduce((e,t)=>{const n=Zn[t];return e[t]=(e,t=!1,s=!1)=>(Xn||(Xn=!0,qn=!0,Yn.isProcessing||requestAnimationFrame(Qn)),n.schedule(e,t,s)),e},{});function ts(e){Kn.forEach(t=>Zn[t].cancel(e))}function ns(e,t){const n="pointer"+(t?"enter":"leave"),s="onHover"+(t?"Start":"End");return On(e.current,n,(n,r)=>{if("touch"===n.type||Gn())return;const o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t),o[s]&&es.update(()=>o[s](n,r))},{passive:!e.getProps()[s]})}const ss=(e,t)=>!!t&&(e===t||ss(e,t.parentElement)),rs=e=>e;function os(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Fn(n))}const is=new WeakMap,as=new WeakMap,ls=e=>{const t=is.get(e.target);t&&t(e)},cs=e=>{e.forEach(ls)};function ds(e,t,n){const s=function({root:e,...t}){const n=e||document;as.has(n)||as.set(n,{});const s=as.get(n),r=JSON.stringify(t);return s[r]||(s[r]=new IntersectionObserver(cs,{root:e,...t})),s[r]}(t);return is.set(e,n),s.observe(e),()=>{is.delete(e),s.unobserve(e)}}const us={some:0,all:1};const hs={inView:{Feature:class extends Hn{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:s="some",once:r}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:us[s]};return ds(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:s}=this.node.getProps(),o=t?n:s;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 Hn{constructor(){super(...arguments),this.removeStartListeners=rs,this.removeEndListeners=rs,this.removeAccessibleListeners=rs,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),s=On(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:s}=this.node.getProps();es.update(()=>{ss(this.node.current,e.target)?n&&n(e,t):s&&s(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=On(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=$n(s,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Ln(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Ln(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&os("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&es.update(()=>n(e,t))})}),os("down",(e,t)=>{this.startPress(e,t)})}),t=Ln(this.node.current,"blur",()=>{this.isPressing&&os("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=$n(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:s}=this.node.getProps();s&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&es.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Gn()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&es.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=On(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Ln(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=$n(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Hn{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=$n(Ln(this.node.current,"focus",()=>this.onFocus()),Ln(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Hn{mount(){this.unmount=$n(ns(this.node,!0),ns(this.node,!1))}unmount(){}}}};function ms(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s<n;s++)if(t[s]!==e[s])return!1;return!0}function ps(e,t,n){const s=e.getProps();return Pn(s,t,void 0!==n?n:s.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 fs="data-"+wn("framerAppearId");let gs=rs,vs=rs;"production"!==process.env.NODE_ENV&&(gs=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},vs=(e,t)=>{if(!e)throw new Error(t)});const xs=e=>1e3*e,ys=e=>e/1e3,bs=!1,ws=e=>Array.isArray(e)&&"number"==typeof e[0];function js(e){return Boolean(!e||"string"==typeof e&&Ns[e]||ws(e)||Array.isArray(e)&&e.every(js))}const ks=([e,t,n,s])=>`cubic-bezier(${e}, ${t}, ${n}, ${s})`,Ns={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ks([0,.65,.55,1]),circOut:ks([.55,0,1,.45]),backIn:ks([.31,.01,.66,-.59]),backOut:ks([.33,1.53,.69,.99])};function Cs(e){if(e)return ws(e)?ks(e):Array.isArray(e)?e.map(Cs):Ns[e]}const Es={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Ps={},Ss={};for(const e in Es)Ss[e]=()=>(void 0===Ps[e]&&(Ps[e]=Es[e]()),Ps[e]);const Ts=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function As(e,t,n,s){if(e===t&&n===s)return rs;const r=t=>function(e,t,n,s,r){let o,i,a=0;do{i=t+(n-t)/2,o=Ts(i,s,r)-e,o>0?n=i:t=i}while(Math.abs(o)>1e-7&&++a<12);return i}(t,0,1,e,n);return e=>0===e||1===e?e:Ts(r(e),t,s)}const Ms=As(.42,0,1,1),Ds=As(0,0,.58,1),Vs=As(.42,0,.58,1),Rs=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Ls=e=>t=>1-e(1-t),Bs=e=>1-Math.sin(Math.acos(e)),Fs=Ls(Bs),Os=Rs(Fs),Is=As(.33,1.53,.69,.99),$s=Ls(Is),zs=Rs($s),_s={linear:rs,easeIn:Ms,easeInOut:Vs,easeOut:Ds,circIn:Bs,circInOut:Os,circOut:Fs,backIn:$s,backInOut:zs,backOut:Is,anticipate:e=>(e*=2)<1?.5*$s(e):.5*(2-Math.pow(2,-10*(e-1)))},Us=e=>{if(Array.isArray(e)){vs(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,s,r]=e;return As(t,n,s,r)}return"string"==typeof e?(vs(void 0!==_s[e],`Invalid easing type '${e}'`),_s[e]):e},Ws=(e,t)=>n=>Boolean(Yt(n)&&Ht.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Gs=(e,t,n)=>s=>{if(!Yt(s))return s;const[r,o,i,a]=s.match(Wt);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(i),alpha:void 0!==a?parseFloat(a):1}},Hs={...$t,transform:e=>Math.round((e=>It(0,255,e))(e))},Ys={test:Ws("rgb","red"),parse:Gs("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+Hs.transform(e)+", "+Hs.transform(t)+", "+Hs.transform(n)+", "+Ut(zt.transform(s))+")"};const qs={test:Ws("#"),parse:function(e){let t="",n="",s="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),s=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),s=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,s+=s,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:Ys.transform},Xs={test:Ws("hsl","hue"),parse:Gs("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+Kt.transform(Ut(t))+", "+Kt.transform(Ut(n))+", "+Ut(zt.transform(s))+")"},Ks={test:e=>Ys.test(e)||qs.test(e)||Xs.test(e),parse:e=>Ys.test(e)?Ys.parse(e):Xs.test(e)?Xs.parse(e):qs.parse(e),transform:e=>Yt(e)?e:e.hasOwnProperty("red")?Ys.transform(e):Xs.transform(e)},Zs=(e,t,n)=>-n*e+n*t+e;function Js(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 Qs=(e,t,n)=>{const s=e*e;return Math.sqrt(Math.max(0,n*(t*t-s)+s))},er=[qs,Ys,Xs];function tr(e){const t=(n=e,er.find(e=>e.test(n)));var n;vs(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let s=t.parse(e);return t===Xs&&(s=function({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,n/=100;let r=0,o=0,i=0;if(t/=100){const s=n<.5?n*(1+t):n+t-n*t,a=2*n-s;r=Js(a,s,e+1/3),o=Js(a,s,e),i=Js(a,s,e-1/3)}else r=o=i=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*i),alpha:s}}(s)),s}const nr=(e,t)=>{const n=tr(e),s=tr(t),r={...n};return e=>(r.red=Qs(n.red,s.red,e),r.green=Qs(n.green,s.green,e),r.blue=Qs(n.blue,s.blue,e),r.alpha=Zs(n.alpha,s.alpha,e),Ys.transform(r))};const sr={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:rs},rr={regex:Gt,countKey:"Colors",token:"${c}",parse:Ks.parse},or={regex:Wt,countKey:"Numbers",token:"${n}",parse:$t.parse};function ir(e,{regex:t,countKey:n,token:s,parse:r}){const o=e.tokenised.match(t);o&&(e["num"+n]=o.length,e.tokenised=e.tokenised.replace(t,s),e.values.push(...o.map(r)))}function ar(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&ir(n,sr),ir(n,rr),ir(n,or),n}function lr(e){return ar(e).values}function cr(e){const{values:t,numColors:n,numVars:s,tokenised:r}=ar(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=r<s?t.replace(sr.token,e[r]):r<s+n?t.replace(rr.token,Ks.transform(e[r])):t.replace(or.token,Ut(e[r]));return t}}const dr=e=>"number"==typeof e?0:e;const ur={test:function(e){var t,n;return isNaN(e)&&Yt(e)&&((null===(t=e.match(Wt))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Gt))||void 0===n?void 0:n.length)||0)>0},parse:lr,createTransformer:cr,getAnimatableNone:function(e){const t=lr(e);return cr(e)(t.map(dr))}},hr=(e,t)=>n=>`${n>0?t:e}`;function mr(e,t){return"number"==typeof e?n=>Zs(e,t,n):Ks.test(e)?nr(e,t):e.startsWith("var(")?hr(e,t):gr(e,t)}const pr=(e,t)=>{const n=[...e],s=n.length,r=e.map((e,n)=>mr(e,t[n]));return e=>{for(let t=0;t<s;t++)n[t]=r[t](e);return n}},fr=(e,t)=>{const n={...e,...t},s={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(s[r]=mr(e[r],t[r]));return e=>{for(const t in s)n[t]=s[t](e);return n}},gr=(e,t)=>{const n=ur.createTransformer(t),s=ar(e),r=ar(t);return s.numVars===r.numVars&&s.numColors===r.numColors&&s.numNumbers>=r.numNumbers?$n(pr(s.values,r.values),n):(gs(!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.`),hr(e,t))},vr=(e,t,n)=>{const s=t-e;return 0===s?1:(n-e)/s},xr=(e,t)=>n=>Zs(e,t,n);function yr(e,t,n){const s=[],r=n||("number"==typeof(o=e[0])?xr:"string"==typeof o?Ks.test(o)?nr:gr:Array.isArray(o)?pr:"object"==typeof o?fr:xr);var o;const i=e.length-1;for(let n=0;n<i;n++){let o=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||rs:t;o=$n(e,o)}s.push(o)}return s}function br(e,t,{clamp:n=!0,ease:s,mixer:r}={}){const o=e.length;if(vs(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 i=yr(t,s,r),a=i.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const s=vr(e[n],e[n+1],t);return i[n](s)};return n?t=>l(It(e[0],e[o-1],t)):l}function wr(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const r=vr(0,t,s);e.push(Zs(n,1,r))}}(t,e.length-1),t}function jr({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(s)?s.map(Us):Us(s),o={done:!1,value:t[0]},i=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:wr(t),e),a=br(i,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||Vs).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}function kr(e,t){return t?e*(1e3/t):0}function Nr(e,t,n){const s=Math.max(t-5,0);return kr(n-e(s),t-s)}const Cr=.001;function Er({duration:e=800,bounce:t=.25,velocity:n=0,mass:s=1}){let r,o;gs(e<=xs(10),"Spring duration must be 10 seconds or less");let i=1-t;i=It(.05,1,i),e=It(.01,10,ys(e)),i<1?(r=t=>{const s=t*i,r=s*e,o=s-n,a=Sr(t,i),l=Math.exp(-r);return Cr-o/a*l},o=t=>{const s=t*i*e,o=s*n+n,a=Math.pow(i,2)*Math.pow(t,2)*e,l=Math.exp(-s),c=Sr(Math.pow(t,2),i);return(-r(t)+Cr>0?-1:1)*((o-a)*l)/c}):(r=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 s=n;for(let n=1;n<Pr;n++)s-=e(s)/t(s);return s}(r,o,5/e);if(e=xs(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*s;return{stiffness:t,damping:2*i*Math.sqrt(s*t),duration:e}}}const Pr=12;function Sr(e,t){return e*Math.sqrt(1-t*t)}const Tr=["duration","bounce"],Ar=["stiffness","damping","mass"];function Mr(e,t){return t.some(t=>void 0!==e[t])}function Dr({keyframes:e,restDelta:t,restSpeed:n,...s}){const r=e[0],o=e[e.length-1],i={done:!1,value:r},{stiffness:a,damping:l,mass:c,velocity:d,duration:u,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Mr(e,Ar)&&Mr(e,Tr)){const n=Er(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(s),m=d?-ys(d):0,p=l/(2*Math.sqrt(a*c)),f=o-r,g=ys(Math.sqrt(a/c)),v=Math.abs(f)<5;let x;if(n||(n=v?.01:2),t||(t=v?.005:.5),p<1){const e=Sr(g,p);x=t=>{const n=Math.exp(-p*g*t);return o-n*((m+p*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===p)x=e=>o-Math.exp(-g*e)*(f+(m+g*f)*e);else{const e=g*Math.sqrt(p*p-1);x=t=>{const n=Math.exp(-p*g*t),s=Math.min(e*t,300);return o-n*((m+p*g*f)*Math.sinh(s)+e*f*Math.cosh(s))/e}}return{calculatedDuration:h&&u||null,next:e=>{const s=x(e);if(h)i.done=e>=u;else{let r=m;0!==e&&(r=p<1?Nr(x,e,s):0);const a=Math.abs(r)<=n,l=Math.abs(o-s)<=t;i.done=a&&l}return i.value=i.done?o:s,i}}}function Vr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:i,min:a,max:l,restDelta:c=.5,restSpeed:d}){const u=e[0],h={done:!1,value:u},m=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let p=n*t;const f=u+p,g=void 0===i?f:i(f);g!==f&&(p=g-u);const v=e=>-p*Math.exp(-e/s),x=e=>g+v(e),y=e=>{const t=v(e),n=x(e);h.done=Math.abs(t)<=c,h.value=h.done?g:n};let b,w;const j=e=>{var t;(t=h.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(b=e,w=Dr({keyframes:[h.value,m(h.value)],velocity:Nr(x,e,h.value),damping:r,stiffness:o,restDelta:c,restSpeed:d}))};return j(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==b||(t=!0,y(e),j(e)),void 0!==b&&e>b?w.next(e-b):(!t&&y(e),h)}}}const Rr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>es.update(t,!0),stop:()=>ts(t),now:()=>Yn.isProcessing?Yn.timestamp:performance.now()}};function Lr(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 Br={decay:Vr,inertia:Vr,tween:jr,keyframes:jr,spring:Dr};function Fr({autoplay:e=!0,delay:t=0,driver:n=Rr,keyframes:s,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:d,onUpdate:u,...h}){let m,p,f=1,g=!1;const v=()=>{m&&m(),p=new Promise(e=>{m=e})};let x;v();const y=Br[r]||jr;let b;y!==jr&&"number"!=typeof s[0]&&(b=br([0,100],s,{clamp:!1}),s=[0,100]);const w=y({...h,keyframes:s});let j;"mirror"===a&&(j=y({...h,keyframes:[...s].reverse(),velocity:-(h.velocity||0)}));let k="idle",N=null,C=null,E=null;null===w.calculatedDuration&&o&&(w.calculatedDuration=Lr(w));const{calculatedDuration:P}=w;let S=1/0,T=1/0;null!==P&&(S=P+i,T=S*(o+1)-i);let A=0;const M=e=>{if(null===C)return;f>0&&(C=Math.min(C,e)),A=null!==N?N:(e-C)*f;const n=A-t,r=n<0;A=Math.max(n,0),"finished"===k&&null===N&&(A=T);let l=A,c=w;if(o){const e=A/S;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,o+1);const s=Boolean(t%2);s&&("reverse"===a?(n=1-n,i&&(n-=i/S)):"mirror"===a&&(c=j));let r=It(0,1,n);A>T&&(r="reverse"===a&&s?1:0),l=r*S}const d=r?{done:!1,value:s[0]}:c.next(l);b&&(d.value=b(d.value));let{done:h}=d;r||null===P||(h=A>=T);const m=null===N&&("finished"===k||"running"===k&&h||f<0&&A<=0);return u&&u(d.value),m&&R(),d},D=()=>{x&&x.stop(),x=void 0},V=()=>{k="idle",D(),v(),C=E=null},R=()=>{k="finished",d&&d(),D(),v()},L=()=>{if(g)return;x||(x=n(M));const e=x.now();l&&l(),null!==N?C=e-N:C&&"finished"!==k||(C=e),E=C,N=null,k="running",x.start()};e&&L();const B={then:(e,t)=>p.then(e,t),get time(){return ys(A)},set time(e){e=xs(e),A=e,null===N&&x&&0!==f?C=x.now()-e/f:N=e},get duration(){const e=null===w.calculatedDuration?Lr(w):w.calculatedDuration;return ys(e)},get speed(){return f},set speed(e){e!==f&&x&&(f=e,B.time=ys(A))},get state(){return k},play:L,pause:()=>{k="paused",N=A},stop:()=>{g=!0,"idle"!==k&&(k="idle",c&&c(),V())},cancel:()=>{null!==E&&M(E),V()},complete:()=>{k="finished"},sample:e=>(C=0,M(e))};return B}const Or=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Ir(e,t,{onUpdate:n,onComplete:s,...r}){if(!(Ss.waapi()&&Or.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let o,i,a=!1;const l=()=>{i=new Promise(e=>{o=e})};l();let{keyframes:c,duration:d=300,ease:u,times:h}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!js(t.ease))(t,r)){const e=Fr({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let s=0;for(;!t.done&&s<2e4;)t=e.sample(s),n.push(t.value),s+=10;h=void 0,c=n,d=s-10,u="linear"}const m=function(e,t,n,{delay:s=0,duration:r,repeat:o=0,repeatType:i="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const d=Cs(a);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:s,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===i?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:d,ease:u,times:h}),p=()=>m.cancel(),f=()=>{es.update(p),o(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),s&&s(),f()},{then:(e,t)=>i.then(e,t),get time(){return ys(m.currentTime||0)},set time(e){m.currentTime=xs(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return ys(d)},play:()=>{a||(m.play(),ts(p))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=Fr({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const $r={type:"spring",stiffness:500,damping:25,restSpeed:10},zr={type:"keyframes",duration:.8},_r={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ur=(e,{keyframes:t})=>t.length>2?zr:At.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:$r:_r,Wr=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!ur.test(t)&&"0"!==t||t.startsWith("url("))),Gr=new Set(["brightness","contrast","saturate","opacity"]);function Hr(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[s]=n.match(Wt)||[];if(!s)return e;const r=n.replace(s,"");let o=Gr.has(t)?1:0;return s!==n&&(o*=100),t+"("+o+r+")"}const Yr=/([a-z-]*)\(.*?\)/g,qr={...ur,getAnimatableNone:e=>{const t=e.match(Yr);return t?t.map(Hr).join(" "):e}},Xr={...nn,color:Ks,backgroundColor:Ks,outlineColor:Ks,fill:Ks,stroke:Ks,borderColor:Ks,borderTopColor:Ks,borderRightColor:Ks,borderBottomColor:Ks,borderLeftColor:Ks,filter:qr,WebkitFilter:qr},Kr=e=>Xr[e];function Zr(e,t){let n=Kr(e);return n!==qr&&(n=ur),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Jr=e=>/^0[^.\s]+$/.test(e);function Qr(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Jr(e):void 0}function eo(e,t){return e[t]||e.default||e}const to=(e,t,n,s={})=>r=>{const o=eo(s,e)||{},i=o.delay||s.delay||0;let{elapsed:a=0}=s;a-=xs(i);const l=function(e,t,n,s){const r=Wr(t,n);let o;o=Array.isArray(n)?[...n]:[null,n];const i=void 0!==s.from?s.from:e.get();let a;const l=[];for(let e=0;e<o.length;e++)null===o[e]&&(o[e]=0===e?i:o[e-1]),Qr(o[e])&&l.push(e),"string"==typeof o[e]&&"none"!==o[e]&&"0"!==o[e]&&(a=o[e]);if(r&&l.length&&a)for(let e=0;e<l.length;e++)o[l[e]]=Zr(t,a);return o}(t,e,n,o),c=l[0],d=l[l.length-1],u=Wr(e,c),h=Wr(e,d);gs(u===h,`You are trying to animate ${e} from "${c}" to "${d}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${d} 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:()=>{r(),o.onComplete&&o.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:s,staggerDirection:r,repeat:o,repeatType:i,repeatDelay:a,from:l,elapsed:c,...d}){return!!Object.keys(d).length}(o)||(m={...m,...Ur(e,m)}),m.duration&&(m.duration=xs(m.duration)),m.repeatDelay&&(m.repeatDelay=xs(m.repeatDelay)),!u||!h||bs||!1===o.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:s}){const r=()=>(n&&n(e[e.length-1]),s&&s(),{time:0,speed:1,duration:0,play:rs,pause:rs,stop:rs,then:e=>(e(),Promise.resolve()),cancel:rs,complete:rs});return t?Fr({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Ir(t,e,m);if(n)return n}return Fr(m)};function no(e){return Boolean(Dt(e)&&e.add)}const so=e=>/^\-?\d*\.?\d+$/.test(e);function ro(e,t){-1===e.indexOf(t)&&e.push(t)}function oo(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class io{constructor(){this.subscriptions=[]}add(e){return ro(this.subscriptions,e),()=>oo(this.subscriptions,e)}notify(e,t,n){const s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](e,t,n);else for(let r=0;r<s;r++){const s=this.subscriptions[r];s&&s(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ao=new Set;function lo(e,t,n){e||ao.has(t)||(console.warn(t),ao.add(t))}class co{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:s}=Yn;this.lastUpdated!==s&&(this.timeDelta=n,this.lastUpdated=s,es.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=()=>es.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&&lo(!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 io);const n=this.events[e].add(t);return"change"===e?()=>{n(),es.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?kr(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 uo(e,t){return new co(e,t)}const ho=e=>t=>t.test(e),mo=[$t,Zt,Kt,Xt,Qt,Jt,{test:e=>"auto"===e,parse:e=>e}],po=e=>mo.find(ho(e)),fo=[...mo,Ks,ur],go=e=>fo.find(ho(e));function vo(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,uo(n))}function xo(e,t){if(!t)return;return(t[e]||t.default||t).from}function yo({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,s}function bo(e,t,{delay:n=0,transitionOverride:s,type:r}={}){let{transition:o=e.getDefaultTransition(),transitionEnd:i,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");s&&(o=s);const c=[],d=r&&e.animationState&&e.animationState.getState()[r];for(const t in a){const s=e.getValue(t),r=a[t];if(!s||void 0===r||d&&yo(d,t))continue;const i={delay:n,elapsed:0,...o};if(window.HandoffAppearAnimations&&!s.hasAnimated){const n=e.getProps()[fs];n&&(i.elapsed=window.HandoffAppearAnimations(n,t,s,es))}s.start(to(t,s,r,e.shouldReduceMotion&&At.has(t)?{type:!1}:i));const u=s.animation;no(l)&&(l.add(t),u.then(()=>l.remove(t))),c.push(u)}return i&&Promise.all(c).then(()=>{i&&function(e,t){const n=ps(e,t);let{transitionEnd:s={},transition:r={},...o}=n?e.makeTargetAnimatable(n,!1):{};o={...o,...s};for(const t in o)vo(e,t,Tn(o[t]))}(e,i)}),c}function wo(e,t,n={}){const s=ps(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(r=n.transitionOverride);const o=s?()=>Promise.all(bo(e,s,n)):()=>Promise.resolve(),i=e.variantChildren&&e.variantChildren.size?(s=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:a}=r;return function(e,t,n=0,s=0,r=1,o){const i=[],a=(e.variantChildren.size-1)*s,l=1===r?(e=0)=>e*s:(e=0)=>a-e*s;return Array.from(e.variantChildren).sort(jo).forEach((e,s)=>{e.notify("AnimationStart",t),i.push(wo(e,t,{...o,delay:n+l(s)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(i)}(e,t,o+s,i,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[e,t]="beforeChildren"===a?[o,i]:[i,o];return e().then(()=>t())}return Promise.all([o(),i(n.delay)])}function jo(e,t){return e.sortNodePosition(t)}const ko=[...ht].reverse(),No=ht.length;function Co(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>wo(e,t,n));s=Promise.all(r)}else if("string"==typeof t)s=wo(e,t,n);else{const r="function"==typeof t?ps(e,t,n.custom):t;s=Promise.all(bo(e,r,n))}return s.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Eo(e){let t=Co(e);const n={animate:So(!0),whileInView:So(),whileHover:So(),whileTap:So(),whileDrag:So(),whileFocus:So(),exit:So()};let s=!0;const r=(t,n)=>{const s=ps(e,n);if(s){const{transition:e,transitionEnd:n,...r}=s;t={...t,...r,...n}}return t};function o(o,i){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],d=new Set;let u={},h=1/0;for(let t=0;t<No;t++){const m=ko[t],p=n[m],f=void 0!==a[m]?a[m]:l[m],g=dt(f),v=m===i?p.isActive:null;!1===v&&(h=t);let x=f===l[m]&&f!==a[m]&&g;if(x&&s&&e.manuallyAnimateOnMount&&(x=!1),p.protectedKeys={...u},!p.isActive&&null===v||!f&&!p.prevProp||ut(f)||"boolean"==typeof f)continue;const y=Po(p.prevProp,f);let b=y||m===i&&p.isActive&&!x&&g||t>h&&g;const w=Array.isArray(f)?f:[f];let j=w.reduce(r,{});!1===v&&(j={});const{prevResolvedValues:k={}}=p,N={...k,...j},C=e=>{b=!0,d.delete(e),p.needsAnimating[e]=!0};for(const e in N){const t=j[e],n=k[e];u.hasOwnProperty(e)||(t!==n?Sn(t)&&Sn(n)?!ms(t,n)||y?C(e):p.protectedKeys[e]=!0:void 0!==t?C(e):d.add(e):void 0!==t&&d.has(e)?C(e):p.protectedKeys[e]=!0)}p.prevProp=f,p.prevResolvedValues=j,p.isActive&&(u={...u,...j}),s&&e.blockInitialAnimation&&(b=!1),b&&!x&&c.push(...w.map(e=>({animation:e,options:{type:m,...o}})))}if(d.size){const t={};d.forEach(n=>{const s=e.getBaseTarget(n);void 0!==s&&(t[n]=s)}),c.push({animation:t})}let m=Boolean(c.length);return s&&!1===a.initial&&!e.manuallyAnimateOnMount&&(m=!1),s=!1,m?t(c):Promise.resolve()}return{animateChanges:o,setActive:function(t,s,r){var i;if(n[t].isActive===s)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,s)}),n[t].isActive=s;const a=o(r,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Po(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!ms(t,e)}function So(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let To=0;const Ao={animation:{Feature:class extends Hn{constructor(e){super(e),e.animationState||(e.animationState=Eo(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),ut(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Hn{constructor(){super(...arguments),this.id=To++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Mo=(e,t)=>Math.abs(e-t);class Do{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=Lo(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Mo(e.x,t.x),s=Mo(e.y,t.y);return Math.sqrt(n**2+s**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:s}=e,{timestamp:r}=Yn;this.history.push({...s,timestamp:r});const{onStart:o,onMove:i}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Vo(t,this.transformPagePoint),es.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:s}=this.handlers,r=Lo("pointercancel"===e.type?this.lastMoveEventInfo:Vo(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),s&&s(e,r)},!Bn(e))return;this.handlers=t,this.transformPagePoint=n;const s=Vo(Fn(e),this.transformPagePoint),{point:r}=s,{timestamp:o}=Yn;this.history=[{...r,timestamp:o}];const{onSessionStart:i}=t;i&&i(e,Lo(s,this.history)),this.removeListeners=$n(On(window,"pointermove",this.handlePointerMove),On(window,"pointerup",this.handlePointerUp),On(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ts(this.updatePoint)}}function Vo(e,t){return t?{point:t(e.point)}:e}function Ro(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Lo({point:e},t){return{point:e,delta:Ro(e,Fo(t)),offset:Ro(e,Bo(t)),velocity:Oo(t,.1)}}function Bo(e){return e[0]}function Fo(e){return e[e.length-1]}function Oo(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const r=Fo(e);for(;n>=0&&(s=e[n],!(r.timestamp-s.timestamp>xs(t)));)n--;if(!s)return{x:0,y:0};const o=ys(r.timestamp-s.timestamp);if(0===o)return{x:0,y:0};const i={x:(r.x-s.x)/o,y:(r.y-s.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function Io(e){return e.max-e.min}function $o(e,t=0,n=.01){return Math.abs(e-t)<=n}function zo(e,t,n,s=.5){e.origin=s,e.originPoint=Zs(t.min,t.max,e.origin),e.scale=Io(n)/Io(t),($o(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Zs(n.min,n.max,e.origin)-e.originPoint,($o(e.translate)||isNaN(e.translate))&&(e.translate=0)}function _o(e,t,n,s){zo(e.x,t.x,n.x,s?s.originX:void 0),zo(e.y,t.y,n.y,s?s.originY:void 0)}function Uo(e,t,n){e.min=n.min+t.min,e.max=e.min+Io(t)}function Wo(e,t,n){e.min=t.min-n.min,e.max=e.min+Io(t)}function Go(e,t,n){Wo(e.x,t.x,n.x),Wo(e.y,t.y,n.y)}function Ho(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 Yo(e,t){let n=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,s]=[s,n]),{min:n,max:s}}const qo=.35;function Xo(e,t,n){return{min:Ko(e,t),max:Ko(e,n)}}function Ko(e,t){return"number"==typeof e?e:e[t]||0}const Zo=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Jo(e){return[e("x"),e("y")]}function Qo({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function ei(e){return void 0===e||1===e}function ti({scale:e,scaleX:t,scaleY:n}){return!ei(e)||!ei(t)||!ei(n)}function ni(e){return ti(e)||si(e)||e.z||e.rotate||e.rotateX||e.rotateY}function si(e){return ri(e.x)||ri(e.y)}function ri(e){return e&&"0%"!==e}function oi(e,t,n){return n+t*(e-n)}function ii(e,t,n,s,r){return void 0!==r&&(e=oi(e,r,s)),oi(e,n,s)+t}function ai(e,t=0,n=1,s,r){e.min=ii(e.min,t,n,s,r),e.max=ii(e.max,t,n,s,r)}function li(e,{x:t,y:n}){ai(e.x,t.translate,t.scale,t.originPoint),ai(e.y,n.translate,n.scale,n.originPoint)}function ci(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function di(e,t){e.min=e.min+t,e.max=e.max+t}function ui(e,t,[n,s,r]){const o=void 0!==t[r]?t[r]:.5,i=Zs(e.min,e.max,o);ai(e,t[n],t[s],i,t.scale)}const hi=["x","scaleX","originX"],mi=["y","scaleY","originY"];function pi(e,t){ui(e.x,t,hi),ui(e.y,t,mi)}function fi(e,t){return Qo(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}(e.getBoundingClientRect(),t))}const gi=new WeakMap;class vi{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 Do(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Fn(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:s,onDragStart:r}=this.getProps();if(n&&!s&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Wn(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),Jo(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Kt.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const s=n.layout.layoutBox[e];if(s){t=Io(s)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&es.update(()=>r(e,t),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:s,onDirectionLock:r,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:i}=t;if(s&&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}(i),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,i),this.updateAxis("y",t.point,i),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:s}=t;this.startAnimation(s);const{onDragEnd:r}=this.getProps();r&&es.update(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:s}=this.getProps();if(!n||!xi(e,s,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},s){return void 0!==t&&e<t?e=s?Zs(t,e,s.min):Math.max(e,t):void 0!==n&&e>n&&(e=s?Zs(n,e,s.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},s=this.constraints;e&&ct(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:s,right:r}){return{x:Ho(e.x,n,r),y:Ho(e.y,t,s)}}(n.layoutBox,e),this.elastic=function(e=qo){return!1===e?e=0:!0===e&&(e=qo),{x:Xo(e,"left","right"),y:Xo(e,"top","bottom")}}(t),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Jo(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||!ct(e))return!1;const n=e.current;vs(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const r=function(e,t,n){const s=fi(e,n),{scroll:r}=t;return r&&(di(s.x,r.offset.x),di(s.y,r.offset.y)),s}(n,s.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Yo(e.x,t.x),y:Yo(e.y,t.y)}}(s.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=Qo(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:s,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:i}=this.getProps(),a=this.constraints||{},l=Jo(i=>{if(!xi(i,t,this.currentDirection))return;let l=a&&a[i]||{};o&&(l={min:0,max:0});const c=s?200:1e6,d=s?40:1e7,u={type:"inertia",velocity:n?e[i]:0,bounceStiffness:c,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(i,u)});return Promise.all(l).then(i)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(to(e,n,0,t))}stopAnimation(){Jo(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),s=n[t];return s||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Jo(t=>{const{drag:n}=this.getProps();if(!xi(t,n,this.currentDirection))return;const{projection:s}=this.visualElement,r=this.getAxisMotionValue(t);if(s&&s.layout){const{min:n,max:o}=s.layout.layoutBox[t];r.set(e[t]-Zs(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!ct(t)||!n||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};Jo(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();s[e]=function(e,t){let n=.5;const s=Io(e),r=Io(t);return r>s?n=vr(t.min,t.max-s,e.min):s>r&&(n=vr(e.min,e.max-r,t.min)),It(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Jo(t=>{if(!xi(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];n.set(Zs(r,o,s[t]))})}addListeners(){if(!this.visualElement.current)return;gi.set(this.visualElement,this);const e=On(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();ct(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,s=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=Ln(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Jo(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),s(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:o=qo,dragMomentum:i=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:s,dragConstraints:r,dragElastic:o,dragMomentum:i}}}function xi(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const yi=e=>(t,n)=>{e&&es.update(()=>e(t,n))};const bi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function wi(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ji={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Zt.test(e))return e;e=parseFloat(e)}return`${wi(e,t.target.x)}% ${wi(e,t.target.y)}%`}},ki={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,r=ur.parse(e);if(r.length>5)return s;const o=ur.createTransformer(e),i="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+i]/=a,r[1+i]/=l;const c=Zs(a,l,.5);return"number"==typeof r[2+i]&&(r[2+i]/=c),"number"==typeof r[3+i]&&(r[3+i]/=c),o(r)}};class Ni extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:s}=this.props,{projection:r}=e;var o;o=Ei,Object.assign(St,o),r&&(t.group&&t.group.add(r),n&&n.register&&s&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),bi.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:s,isPresent:r}=this.props,o=n.projection;return o?(o.isPresent=r,s||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||es.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:s}=e;s&&(s.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(s),n&&n.deregister&&n.deregister(s))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ci(e){const[n,s]=function(){const e=t.useContext(ot);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:s,register:r}=e,o=t.useId();return t.useEffect(()=>r(o),[]),!n&&s?[!1,()=>s&&s(o)]:[!0]}(),r=t.useContext(bt);return t.createElement(Ni,{...e,layoutGroup:r,switchLayoutGroup:t.useContext(wt),isPresent:n,safeToRemove:s})}const Ei={borderRadius:{...ji,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ji,borderTopRightRadius:ji,borderBottomLeftRadius:ji,borderBottomRightRadius:ji,boxShadow:ki},Pi=["TopLeft","TopRight","BottomLeft","BottomRight"],Si=Pi.length,Ti=e=>"string"==typeof e?parseFloat(e):e,Ai=e=>"number"==typeof e||Zt.test(e);function Mi(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Di=Ri(0,.5,Fs),Vi=Ri(.5,.95,rs);function Ri(e,t,n){return s=>s<e?0:s>t?1:n(vr(e,t,s))}function Li(e,t){e.min=t.min,e.max=t.max}function Bi(e,t){Li(e.x,t.x),Li(e.y,t.y)}function Fi(e,t,n,s,r){return e=oi(e-=t,1/n,s),void 0!==r&&(e=oi(e,1/r,s)),e}function Oi(e,t,[n,s,r],o,i){!function(e,t=0,n=1,s=.5,r,o=e,i=e){Kt.test(t)&&(t=parseFloat(t),t=Zs(i.min,i.max,t/100)-i.min);if("number"!=typeof t)return;let a=Zs(o.min,o.max,s);e===o&&(a-=t),e.min=Fi(e.min,t,n,a,r),e.max=Fi(e.max,t,n,a,r)}(e,t[n],t[s],t[r],t.scale,o,i)}const Ii=["x","scaleX","originX"],$i=["y","scaleY","originY"];function zi(e,t,n,s){Oi(e.x,t,Ii,n?n.x:void 0,s?s.x:void 0),Oi(e.y,t,$i,n?n.y:void 0,s?s.y:void 0)}function _i(e){return 0===e.translate&&1===e.scale}function Ui(e){return _i(e.x)&&_i(e.y)}function Wi(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 Gi(e){return Io(e.x)/Io(e.y)}class Hi{constructor(){this.members=[]}add(e){ro(this.members,e),e.scheduleRender()}remove(e){if(oo(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:s}=e.options;!1===s&&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 Yi(e,t,n){let s="";const r=e.x.translate/t.x,o=e.y.translate/t.y;if((r||o)&&(s=`translate3d(${r}px, ${o}px, 0) `),1===t.x&&1===t.y||(s+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(s+=`rotate(${e}deg) `),t&&(s+=`rotateX(${t}deg) `),r&&(s+=`rotateY(${r}deg) `)}const i=e.x.scale*t.x,a=e.y.scale*t.y;return 1===i&&1===a||(s+=`scale(${i}, ${a})`),s||"none"}const qi=(e,t)=>e.depth-t.depth;class Xi{constructor(){this.children=[],this.isDirty=!1}add(e){ro(this.children,e),this.isDirty=!0}remove(e){oo(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(qi),this.isDirty=!1,this.children.forEach(e)}}const Ki=["","X","Y","Z"];let Zi=0;const Ji={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Qi({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Zi++,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;Ji.totalNodes=Ji.resolvedTargetDeltas=Ji.recalculatedProjection=0,this.nodes.forEach(na),this.nodes.forEach(ca),this.nodes.forEach(da),this.nodes.forEach(sa),e=Ji,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 Xi)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new io),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 s;this.isSVG=(s=t)instanceof SVGElement&&"svg"!==s.tagName,this.instance=t;const{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(this.isLayoutDirty=!0),e){let n;const s=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),s=({timestamp:r})=>{const o=r-n;o>=t&&(ts(s),e(o-t))};return es.read(s,!0),()=>ts(s)}(s,250),bi.hasAnimatedSinceResize&&(bi.hasAnimatedSinceResize=!1,this.nodes.forEach(la))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:s})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||i.getDefaultTransition()||ga,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=i.getProps(),l=!this.targetLayout||!Wi(this.targetLayout,s)||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={...eo(r,"layout"),onPlay:o,onComplete:a};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||la(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}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,ts(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(ua),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 s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(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(oa);this.isUpdating||this.nodes.forEach(ia),this.isUpdating=!1,this.nodes.forEach(aa),this.nodes.forEach(ea),this.nodes.forEach(ta),this.clearAllSnapshots();const e=performance.now();Yn.delta=It(0,1e3/60,e-Yn.timestamp),Yn.timestamp=e,Yn.isProcessing=!0,Zn.update.process(Yn),Zn.preRender.process(Yn),Zn.render.process(Yn),Yn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ra),this.sharedNodes.forEach(ha)}scheduleUpdateProjection(){es.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){es.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:s(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Ui(this.projectionDelta),n=this.getTransformTemplate(),s=n?n(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;e&&(t||ni(this.latestValues)||o)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var s;return e&&(n=this.removeTransform(n)),va((s=n).x),va(s.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&&(di(t.x,n.offset.x),di(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Bi(t,e);for(let n=0;n<this.path.length;n++){const s=this.path[n],{scroll:r,options:o}=s;if(s!==this.root&&r&&o.layoutScroll){if(r.isRoot){Bi(t,e);const{scroll:n}=this.root;n&&(di(t.x,-n.offset.x),di(t.y,-n.offset.y))}di(t.x,r.offset.x),di(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Bi(n,e);for(let e=0;e<this.path.length;e++){const s=this.path[e];!t&&s.options.layoutScroll&&s.scroll&&s!==s.root&&pi(n,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),ni(s.latestValues)&&pi(n,s.latestValues)}return ni(this.latestValues)&&pi(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Bi(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!ni(n.latestValues))continue;ti(n.latestValues)&&n.updateSnapshot();const s=Zo();Bi(s,n.measurePageBox()),zi(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,s)}return ni(this.latestValues)&&zi(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!==Yn.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 s=Boolean(this.resumingFrom)||this!==n;if(!(e||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:o}=this.options;if(this.layout&&(r||o)){if(this.resolvedRelativeTargetAt=Yn.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}},Go(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Bi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var i,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(),i=this.target,a=this.relativeTarget,l=this.relativeParent.target,Uo(i.x,a.x,l.x),Uo(i.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Bi(this.target,this.layout.layoutBox),li(this.target,this.targetDelta)):Bi(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}},Go(this.relativeTargetOrigin,this.target,e.target),Bi(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Ji.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!ti(this.parent.latestValues)&&!si(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 s=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(s=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===Yn.timestamp&&(s=!1),s)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;Bi(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,s=!1){const r=n.length;if(!r)return;let o,i;t.x=t.y=1;for(let a=0;a<r;a++){o=n[a],i=o.projectionDelta;const r=o.instance;r&&r.style&&"contents"===r.style.display||(s&&o.options.layoutScroll&&o.scroll&&o!==o.root&&pi(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(t.x*=i.x.scale,t.y*=i.y.scale,li(e,i)),s&&ni(o.latestValues)&&pi(e,o.latestValues))}t.x=ci(t.x),t.y=ci(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;_o(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=Yi(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===i&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Ji.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,s=n?n.latestValues:{},r={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const i={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,d=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(fa));let u;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h,m,p;ma(o.x,e.x,n),ma(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Go(i,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l=this.relativeTarget,h=this.relativeTargetOrigin,m=i,p=n,pa(l.x,h.x,m.x,p),pa(l.y,h.y,m.y,p),u&&Wi(this.relativeTarget,u)&&(this.isProjectionDirty=!1),u||(u={x:{min:0,max:0},y:{min:0,max:0}}),Bi(u,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,s,r,o){r?(e.opacity=Zs(0,void 0!==n.opacity?n.opacity:1,Di(s)),e.opacityExit=Zs(void 0!==t.opacity?t.opacity:1,0,Vi(s))):o&&(e.opacity=Zs(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,s));for(let r=0;r<Si;r++){const o=`border${Pi[r]}Radius`;let i=Mi(t,o),a=Mi(n,o);void 0===i&&void 0===a||(i||(i=0),a||(a=0),0===i||0===a||Ai(i)===Ai(a)?(e[o]=Math.max(Zs(Ti(i),Ti(a),s),0),(Kt.test(a)||Kt.test(i))&&(e[o]+="%")):e[o]=a)}(t.rotate||n.rotate)&&(e.rotate=Zs(t.rotate||0,n.rotate||0,s))}(r,s,this.latestValues,n,d,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&&(ts(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=es.update(()=>{bi.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const s=Dt(e)?e:uo(e);return s.start(to("",s,t,n)),s.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:s,latestValues:r}=e;if(t&&n&&s){if(this!==e&&this.layout&&s&&xa(this.options.animationType,this.layout.layoutBox,s.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Io(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const s=Io(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+s}Bi(t,n),pi(t,r),_o(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Hi);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 s=this.getStack();s&&s.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 s={};for(let t=0;t<Ki.length;t++){const r="rotate"+Ki[t];n[r]&&(s[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in s)e.setStaticValue(t,s[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=An(e.pointerEvents)||"",s.transform=r?r(this.latestValues,""):"none",s;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=An(e.pointerEvents)||""),this.hasProjected&&!ni(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const i=o.animationValues||o.latestValues;this.applyTransformsToTarget(),s.transform=Yi(this.projectionDeltaWithTransform,this.treeScale,i),r&&(s.transform=r(i,s.transform));const{x:a,y:l}=this.projectionDelta;s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?s.opacity=o===this?null!==(n=null!==(t=i.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:s.opacity=o===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const e in St){if(void 0===i[e])continue;const{correct:t,applyTo:n}=St[e],r="none"===s.transform?i[e]:t(i[e],o);if(n){const e=n.length;for(let t=0;t<e;t++)s[n[t]]=r}else s[e]=r}return this.options.layoutId&&(s.pointerEvents=o===this?An(e.pointerEvents)||"":"none"),s}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(oa),this.root.sharedNodes.clear()}}}function ea(e){e.updateLayout()}function ta(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:s}=e.layout,{animationType:r}=e.options,o=n.source!==e.layout.source;"size"===r?Jo(e=>{const s=o?n.measuredBox[e]:n.layoutBox[e],r=Io(s);s.min=t[e].min,s.max=s.min+r}):xa(r,n.layoutBox,t)&&Jo(s=>{const r=o?n.measuredBox[s]:n.layoutBox[s],i=Io(t[s]);r.max=r.min+i,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[s].max=e.relativeTarget[s].min+i)});const i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};_o(i,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?_o(a,e.applyTransform(s,!0),n.measuredBox):_o(a,t,n.layoutBox);const l=!Ui(i);let c=!1;if(!e.resumeFrom){const s=e.getClosestProjectingParent();if(s&&!s.resumeFrom){const{snapshot:r,layout:o}=s;if(r&&o){const i={x:{min:0,max:0},y:{min:0,max:0}};Go(i,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Go(a,t,o.layoutBox),Wi(i,a)||(c=!0),s.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=i,e.relativeParent=s)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:i,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function na(e){Ji.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 sa(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ra(e){e.clearSnapshot()}function oa(e){e.clearMeasurements()}function ia(e){e.isLayoutDirty=!1}function aa(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function la(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ca(e){e.resolveTargetDelta()}function da(e){e.calcProjection()}function ua(e){e.resetRotation()}function ha(e){e.removeLeadSnapshot()}function ma(e,t,n){e.translate=Zs(t.translate,0,n),e.scale=Zs(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function pa(e,t,n,s){e.min=Zs(t.min,n.min,s),e.max=Zs(t.max,n.max,s)}function fa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const ga={duration:.45,ease:[.4,0,.1,1]};function va(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function xa(e,t,n){return"position"===e||"preserve-aspect"===e&&!$o(Gi(t),Gi(n),.2)}const ya=Qi({attachResizeListener:(e,t)=>Ln(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ba={current:void 0},wa=Qi({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ba.current){const e=new ya({});e.mount(window),e.setOptions({layoutScroll:!0}),ba.current=e}return ba.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ja={pan:{Feature:class extends Hn{constructor(){super(...arguments),this.removePointerDownListener=rs}onPointerDown(e){this.session=new Do(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:s}=this.node.getProps();return{onSessionStart:yi(e),onStart:yi(t),onMove:n,onEnd:(e,t)=>{delete this.session,s&&es.update(()=>s(e,t))}}}mount(){this.removePointerDownListener=On(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 Hn{constructor(e){super(e),this.removeGroupControls=rs,this.removeListeners=rs,this.controls=new vi(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||rs}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:wa,MeasureLayout:Ci}},ka=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Na(e,t,n=1){vs(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[s,r]=function(e){const t=ka.exec(e);if(!t)return[,];const[,n,s]=t;return[n,s]}(e);if(!s)return;const o=window.getComputedStyle(t).getPropertyValue(s);return o?o.trim():Ft(r)?Na(r,t,n+1):r}const Ca=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ea=e=>Ca.has(e),Pa=e=>e===$t||e===Zt,Sa=(e,t)=>parseFloat(e.split(", ")[t]),Ta=(e,t)=>(n,{transform:s})=>{if("none"===s||!s)return 0;const r=s.match(/^matrix3d\((.+)\)$/);if(r)return Sa(r[1],t);{const t=s.match(/^matrix\((.+)\)$/);return t?Sa(t[1],e):0}},Aa=new Set(["x","y","z"]),Ma=Tt.filter(e=>!Aa.has(e));const Da={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:Ta(4,13),y:Ta(5,14)},Va=(e,t,n={},s={})=>{t={...t},s={...s};const r=Object.keys(t).filter(Ea);let o=[],i=!1;const a=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],d=po(c);const u=t[r];let h;if(Sn(u)){const e=u.length,t=null===u[0]?1:0;c=u[t],d=po(c);for(let n=t;n<e&&null!==u[n];n++)h?vs(po(u[n])===h,"All keyframes must be of the same type"):(h=po(u[n]),vs(h===d||Pa(d)&&Pa(h),"Keyframes must be of the same dimension as the current value"))}else h=po(u);if(d!==h)if(Pa(d)&&Pa(h)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof u?t[r]=parseFloat(u):Array.isArray(u)&&h===Zt&&(t[r]=u.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==h?void 0:h.transform)&&(0===c||0===u)?0===c?l.set(h.transform(c)):t[r]=d.transform(u):(i||(o=function(e){const t=[];return Ma.forEach(n=>{const s=e.getValue(n);void 0!==s&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),i=!0),a.push(r),s[r]=void 0!==s[r]?s[r]:t[r],l.jump(u))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const s=t.measureViewportBox(),r=t.current,o=getComputedStyle(r),{display:i}=o,a={};"none"===i&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=Da[e](s,o)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const s=t.getValue(n);s&&s.jump(a[n]),e[n]=Da[n](l,o)}),e})(t,e,a);return o.length&&o.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),it&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:s}}return{target:t,transitionEnd:s}};function Ra(e,t,n,s){return(e=>Object.keys(e).some(Ea))(t)?Va(e,t,n,s):{target:t,transitionEnd:s}}const La=(e,t,n,s)=>{const r=function(e,{...t},n){const s=e.current;if(!(s instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Ft(t))return;const n=Na(t,s);n&&e.set(n)});for(const e in t){const r=t[e];if(!Ft(r))continue;const o=Na(r,s);o&&(t[e]=o,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,s);return Ra(e,t=r.target,n,s=r.transitionEnd)},Ba={current:null},Fa={current:!1};const Oa=new WeakMap,Ia=Object.keys(yt),$a=Ia.length,za=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],_a=mt.length;class Ua{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:s,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>es.render(this.render,!1,!0);const{latestValues:i,renderState:a}=r;this.latestValues=i,this.baseTarget={...i},this.initialValues=t.initial?{...i}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=s,this.options=o,this.isControllingVariants=pt(t),this.isVariantNode=ft(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!==i[e]&&Dt(t)&&(t.set(i[e],!1),no(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,Oa.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)),Fa.current||function(){if(Fa.current=!0,it)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ba.current=e.matches;e.addListener(t),t()}else Ba.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ba.current),"production"!==process.env.NODE_ENV&&lo(!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(){Oa.delete(this.current),this.projection&&this.projection.unmount(),ts(this.notifyUpdate),ts(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=At.has(e),s=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&es.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{s(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,s,r){let o,i;if("production"!==process.env.NODE_ENV&&s&&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?gs(!1,e):vs(!1,e)}for(let e=0;e<$a;e++){const n=Ia[e],{isEnabled:s,Feature:r,ProjectionNode:a,MeasureLayout:l}=yt[n];a&&(o=a),s(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(i=l))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:s,dragConstraints:i,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(s)||i&&ct(i),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return i}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<za.length;t++){const n=za[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const s=e["on"+n];s&&(this.propEventSubscriptions[n]=this.on(n,s))}this.prevMotionValues=function(e,t,n){const{willChange:s}=t;for(const r in t){const o=t[r],i=n[r];if(Dt(o))e.addValue(r,o),no(s)&&s.add(r),"development"===process.env.NODE_ENV&&lo("10.12.16"===o.version,`Attempting to mix Framer Motion versions ${o.version} with 10.12.16 may not work as expected.`);else if(Dt(i))e.addValue(r,uo(o,{owner:e})),no(s)&&s.remove(r);else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,uo(void 0!==t?t:o,{owner:e}))}}for(const s in n)void 0===t[s]&&e.removeValue(s);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<_a;e++){const n=mt[e],s=this.props[n];(dt(s)||!1===s)&&(t[n]=s)}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=uo(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,s="string"==typeof n||"object"==typeof n?null===(t=Pn(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==s)return s;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Dt(r)?void 0!==this.initialValues[e]&&void 0===s?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new io),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Wa extends Ua{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:s},r){let o=function(e,t,n){const s={};for(const r in e){const e=xo(r,t);if(void 0!==e)s[r]=e;else{const e=n.getValue(r);e&&(s[r]=e.get())}}return s}(n,e||{},this);if(s&&(t&&(t=s(t)),n&&(n=s(n)),o&&(o=s(o))),r){!function(e,t,n){var s,r;const o=Object.keys(t).filter(t=>!e.hasValue(t)),i=o.length;if(i)for(let a=0;a<i;a++){const i=o[a],l=t[i];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(s=n[i])&&void 0!==s?s:e.readValue(i))&&void 0!==r?r:t[i]),null!=c&&("string"==typeof c&&(so(c)||Jr(c))?c=parseFloat(c):!go(c)&&ur.test(l)&&(c=Zr(i,l)),e.addValue(i,uo(c,{owner:e})),void 0===n[i]&&(n[i]=c),null!==c&&e.setBaseTarget(i,c))}}(this,n,o);const e=La(this,n,o,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Ga extends Wa{readValueFromInstance(e,t){if(At.has(t)){const e=Kr(t);return e&&e.default||0}{const s=(n=e,window.getComputedStyle(n)),r=(Bt(t)?s.getPropertyValue(t):s[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return fi(e,t)}build(e,t,n,s){sn(e,t,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Cn(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Dt(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,s){jn(e,t,n,s)}}class Ha extends Wa{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(At.has(t)){const e=Kr(t);return e&&e.default||0}return t=kn.has(t)?t:wn(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return En(e,t)}build(e,t,n,s){gn(e,t,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,t,n,s){Nn(e,t,0,s)}mount(e){this.isSVGTag=xn(e.tagName),super.mount(e)}}const Ya=(e,t)=>Pt(e)?new Ha(t,{enableHardwareAcceleration:!1}):new Ga(t,{enableHardwareAcceleration:!0}),qa={...Ao,...hs,...ja,...{layout:{ProjectionNode:wa,MeasureLayout:Ci}}},Xa=Ct((e,t)=>function(e,{forwardMotionProps:t=!1},n,s){return{...Pt(e)?Vn:Rn,preloadedFeatures:n,useRender:bn(t),createVisualElement:s,Component:e}}(e,t,qa,Ya));function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},Ka.apply(null,arguments)}function Za(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(null==e||e(s),!1===n||!s.defaultPrevented)return null==t?void 0:t(s)}}function Ja(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Qa(...e){return t.useCallback(Ja(...e),e)}function el(...e){const n=e[0];if(1===e.length)return n;const s=()=>{const s=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=s.reduce((t,{useScope:n,scopeName:s})=>({...t,...n(e)[`__scope${s}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:r}),[r])}};return s.scopeName=n.scopeName,s}const tl=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},nl=o["useId".toString()]||(()=>{});let sl=0;function rl(e){const[t,n]=o.useState(nl());return tl(()=>{n(e=>null!=e?e:String(sl++))},[e]),e||(t?`radix-${t}`:"")}function ol(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 il({prop:e,defaultProp:n,onChange:s=()=>{}}){const[r,o]=function({defaultProp:e,onChange:n}){const s=t.useState(e),[r]=s,o=t.useRef(r),i=ol(n);return t.useEffect(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),s}({defaultProp:n,onChange:s}),i=void 0!==e,a=i?e:r,l=ol(s);return[a,t.useCallback(t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else o(t)},[i,e,o,l])]}const al=t.forwardRef((e,n)=>{const{children:s,...r}=e,o=t.Children.toArray(s),i=o.find(dl);if(i){const e=i.props.children,s=o.map(n=>n===i?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(ll,Ka({},r,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,s):null)}return t.createElement(ll,Ka({},r,{ref:n}),s)});al.displayName="Slot";const ll=t.forwardRef((e,n)=>{const{children:s,...r}=e;return t.isValidElement(s)?t.cloneElement(s,{...ul(r,s.props),ref:n?Ja(n,s.ref):s.ref}):t.Children.count(s)>1?t.Children.only(null):null});ll.displayName="SlotClone";const cl=({children:e})=>t.createElement(t.Fragment,null,e);function dl(e){return t.isValidElement(e)&&e.type===cl}function ul(e,t){const n={...t};for(const s in t){const r=e[s],o=t[s];/^on[A-Z]/.test(s)?r&&o?n[s]=(...e)=>{o(...e),r(...e)}:r&&(n[s]=r):"style"===s?n[s]={...r,...o}:"className"===s&&(n[s]=[r,o].filter(Boolean).join(" "))}return{...e,...n}}const hl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const s=t.forwardRef((e,s)=>{const{asChild:r,...o}=e,i=r?al:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(i,Ka({},o,{ref:s}))});return s.displayName=`Primitive.${n}`,{...e,[n]:s}},{});const ml="dismissableLayer.update",pl="dismissableLayer.pointerDownOutside",fl="dismissableLayer.focusOutside";let gl;const vl=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),xl=t.forwardRef((e,n)=>{var s;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...d}=e,u=t.useContext(vl),[h,m]=t.useState(null),p=null!==(s=null==h?void 0:h.ownerDocument)&&void 0!==s?s:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=Qa(n,e=>m(e)),v=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=v.indexOf(x),b=h?v.indexOf(h):-1,w=u.layersWithOutsidePointerEventsDisabled.size>0,j=b>=y,k=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const s=ol(e),r=t.useRef(!1),o=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){const t={originalEvent:e};function i(){bl(pl,s,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",o.current),o.current=i,n.addEventListener("click",o.current,{once:!0})):i()}else n.removeEventListener("click",o.current);r.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",o.current)}},[n,s]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...u.branches].some(e=>e.contains(t));j&&!n&&(null==i||i(e),null==l||l(e),e.defaultPrevented||null==c||c())},p),N=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const s=ol(e),r=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){bl(fl,s,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,s]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...u.branches].some(e=>e.contains(t))||(null==a||a(e),null==l||l(e),e.defaultPrevented||null==c||c())},p);return function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const s=ol(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&s(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[s,n])}(e=>{b===u.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},p),t.useEffect(()=>{if(h)return r&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(gl=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(h)),u.layers.add(h),yl(),()=>{r&&1===u.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=gl)}},[h,p,r,u]),t.useEffect(()=>()=>{h&&(u.layers.delete(h),u.layersWithOutsidePointerEventsDisabled.delete(h),yl())},[h,u]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(ml,e),()=>document.removeEventListener(ml,e)},[]),t.createElement(hl.div,Ka({},d,{ref:g,style:{pointerEvents:w?j?"auto":"none":void 0,...e.style},onFocusCapture:Za(e.onFocusCapture,N.onFocusCapture),onBlurCapture:Za(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:Za(e.onPointerDownCapture,k.onPointerDownCapture)}))});function yl(){const e=new CustomEvent(ml);document.dispatchEvent(e)}function bl(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?function(e,t){e&&s.flushSync(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}const wl="focusScope.autoFocusOnMount",jl="focusScope.autoFocusOnUnmount",kl={bubbles:!1,cancelable:!0},Nl=t.forwardRef((e,n)=>{const{loop:s=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[l,c]=t.useState(null),d=ol(o),u=ol(i),h=t.useRef(null),m=Qa(n,e=>c(e)),p=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(r){function e(e){if(p.paused||!l)return;const t=e.target;l.contains(t)?h.current=t:Sl(h.current,{select:!0})}function t(e){if(p.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||Sl(h.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Sl(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const s=new MutationObserver(n);return l&&s.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),s.disconnect()}}},[r,l,p.paused]),t.useEffect(()=>{if(l){Tl.add(p);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(wl,kl);l.addEventListener(wl,d),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const s of e)if(Sl(s,{select:t}),document.activeElement!==n)return}((e=Cl(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Sl(l))}return()=>{l.removeEventListener(wl,d),setTimeout(()=>{const e=new CustomEvent(jl,kl);l.addEventListener(jl,u),l.dispatchEvent(e),e.defaultPrevented||Sl(null!=t?t:document.body,{select:!0}),l.removeEventListener(jl,u),Tl.remove(p)},0)}}var e},[l,d,u,p]);const f=t.useCallback(e=>{if(!s&&!r)return;if(p.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){const t=e.currentTarget,[r,o]=function(e){const t=Cl(e),n=El(t,e),s=El(t.reverse(),e);return[n,s]}(t);r&&o?e.shiftKey||n!==o?e.shiftKey&&n===r&&(e.preventDefault(),s&&Sl(o,{select:!0})):(e.preventDefault(),s&&Sl(r,{select:!0})):n===t&&e.preventDefault()}},[s,r,p.paused]);return t.createElement(hl.div,Ka({tabIndex:-1},a,{ref:m,onKeyDown:f}))});function Cl(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 El(e,t){for(const n of e)if(!Pl(n,{upTo:t}))return n}function Pl(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 Sl(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 Tl=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Al(e,t),e.unshift(t)},remove(t){var n;e=Al(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Al(e,t){const n=[...e],s=n.indexOf(t);return-1!==s&&n.splice(s,1),n}const Ml=t.forwardRef((e,n)=>{var r;const{container:o=(null===globalThis||void 0===globalThis||null===(r=globalThis.document)||void 0===r?void 0:r.body),...i}=e;return o?s.createPortal(t.createElement(hl.div,Ka({},i,{ref:n})),o):null});const Dl=e=>{const{present:n,children:r}=e,o=function(e){const[n,r]=t.useState(),o=t.useRef({}),i=t.useRef(e),a=t.useRef("none"),l=e?"mounted":"unmounted",[c,d]=function(e,n){return t.useReducer((e,t)=>{const s=n[e][t];return null!=s?s:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=Vl(o.current);a.current="mounted"===c?e:"none"},[c]),tl(()=>{const t=o.current,n=i.current;if(n!==e){const s=a.current,r=Vl(t);if(e)d("MOUNT");else if("none"===r||"none"===(null==t?void 0:t.display))d("UNMOUNT");else{d(n&&s!==r?"ANIMATION_OUT":"UNMOUNT")}i.current=e}},[e,d]),tl(()=>{if(n){const e=e=>{const t=Vl(o.current).includes(e.animationName);e.target===n&&t&&s.flushSync(()=>d("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=Vl(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)}}d("ANIMATION_END")},[n,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{e&&(o.current=getComputedStyle(e)),r(e)},[])}}(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),a=Qa(o.ref,i.ref);return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:a}):null};function Vl(e){return(null==e?void 0:e.animationName)||"none"}Dl.displayName="Presence";let Rl=0;function Ll(){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 Bl=function(){return Bl=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Bl.apply(this,arguments)};function Fl(e,t){var n={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(s=Object.getOwnPropertySymbols(e);r<s.length;r++)t.indexOf(s[r])<0&&Object.prototype.propertyIsEnumerable.call(e,s[r])&&(n[s[r]]=e[s[r]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Ol="right-scroll-bar-position",Il="width-before-scroll-bar";function $l(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var zl="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,_l=new WeakMap;function Ul(e,n){var s,r,o,i=(s=null,r=function(t){return e.forEach(function(e){return $l(e,t)})},(o=t.useState(function(){return{value:s,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return zl(function(){var t=_l.get(i);if(t){var n=new Set(t),s=new Set(e),r=i.current;n.forEach(function(e){s.has(e)||$l(e,null)}),s.forEach(function(e){n.has(e)||$l(e,r)})}_l.set(i,e)},[e]),i}function Wl(e){return e}var Gl=function(e){var t=e.sideCar,n=Fl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var s=t.read();if(!s)throw new Error("Sidecar medium not found");return o.createElement(s,Bl({},n))};Gl.isSideCarExport=!0;var Hl=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Wl);var n=[],s=!1,r={read:function(){if(s)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,s);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(s=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){s=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var o=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(o)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=Bl({async:!0,ssr:!1},e),t}(),Yl=function(){},ql=o.forwardRef(function(e,t){var n=o.useRef(null),s=o.useState({onScrollCapture:Yl,onWheelCapture:Yl,onTouchMoveCapture:Yl}),r=s[0],i=s[1],a=e.forwardProps,l=e.children,c=e.className,d=e.removeScrollBar,u=e.enabled,h=e.shards,m=e.sideCar,p=e.noIsolation,f=e.inert,g=e.allowPinchZoom,v=e.as,x=void 0===v?"div":v,y=Fl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),b=m,w=Ul([n,t]),j=Bl(Bl({},y),r);return o.createElement(o.Fragment,null,u&&o.createElement(b,{sideCar:Hl,removeScrollBar:d,shards:h,noIsolation:p,inert:f,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),a?o.cloneElement(o.Children.only(l),Bl(Bl({},j),{ref:w})):o.createElement(x,Bl({},j,{className:c,ref:w}),l))});ql.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},ql.classNames={fullWidth:Il,zeroRight:Ol};function Xl(){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 Kl=function(){var e=0,t=null;return{add:function(n){var s,r;0==e&&(t=Xl())&&(r=n,(s=t).styleSheet?s.styleSheet.cssText=r:s.appendChild(document.createTextNode(r)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Zl=function(){var e,t=(e=Kl(),function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,s=e.dynamic;return t(n,s),null}},Jl={left:0,top:0,right:0,gap:0},Ql=function(e){return parseInt(e||"",10)||0},ec=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Jl;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],s=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[Ql(n),Ql(s),Ql(r)]}(e),n=document.documentElement.clientWidth,s=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,s-n+t[2]-t[0])}},tc=Zl(),nc="data-scroll-locked",sc=function(e,t,n,s){var r=e.left,o=e.top,i=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(s,";\n padding-right: ").concat(a,"px ").concat(s,";\n }\n body[").concat(nc,"] {\n overflow: hidden ").concat(s,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(s,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(s,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(s,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ol," {\n right: ").concat(a,"px ").concat(s,";\n }\n \n .").concat(Il," {\n margin-right: ").concat(a,"px ").concat(s,";\n }\n \n .").concat(Ol," .").concat(Ol," {\n right: 0 ").concat(s,";\n }\n \n .").concat(Il," .").concat(Il," {\n margin-right: 0 ").concat(s,";\n }\n \n body[").concat(nc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},rc=function(){var e=parseInt(document.body.getAttribute(nc)||"0",10);return isFinite(e)?e:0},oc=function(e){var t=e.noRelative,n=e.noImportant,s=e.gapMode,r=void 0===s?"margin":s;o.useEffect(function(){return document.body.setAttribute(nc,(rc()+1).toString()),function(){var e=rc()-1;e<=0?document.body.removeAttribute(nc):document.body.setAttribute(nc,e.toString())}},[]);var i=o.useMemo(function(){return ec(r)},[r]);return o.createElement(tc,{styles:sc(i,!t,r,n?"":"!important")})},ic=!1;if("undefined"!=typeof window)try{var ac=Object.defineProperty({},"passive",{get:function(){return ic=!0,!0}});window.addEventListener("test",ac,ac),window.removeEventListener("test",ac,ac)}catch(e){ic=!1}var lc=!!ic&&{passive:!1},cc=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])},dc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),uc(e,n)){var s=hc(e,n);if(s[1]>s[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},uc=function(e,t){return"v"===e?function(e){return cc(e,"overflowY")}(t):function(e){return cc(e,"overflowX")}(t)},hc=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},mc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},pc=function(e){return[e.deltaX,e.deltaY]},fc=function(e){return e&&"current"in e?e.current:e},gc=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},vc=0,xc=[];var yc,bc=(yc=function(e){var t=o.useRef([]),n=o.useRef([0,0]),s=o.useRef(),r=o.useState(vc++)[0],i=o.useState(function(){return Zl()})[0],a=o.useRef(e);o.useEffect(function(){a.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=function(e,t,n){if(n||2===arguments.length)for(var s,r=0,o=t.length;r<o;r++)!s&&r in t||(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(fc),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var l=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var r,o=mc(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-o[0],c="deltaY"in e?e.deltaY:i[1]-o[1],d=e.target,u=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===u&&"range"===d.type)return!1;var h=dc(u,d);if(!h)return!0;if(h?r=u:(r="v"===u?"h":"v",h=dc(u,d)),!h)return!1;if(!s.current&&"changedTouches"in e&&(l||c)&&(s.current=r),!r)return!0;var m=s.current||r;return function(e,t,n,s){var r=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),o=r*s,i=n.target,a=t.contains(i),l=!1,c=o>0,d=0,u=0;do{var h=hc(e,i),m=h[0],p=h[1]-h[2]-r*m;(m||p)&&uc(e,i)&&(d+=p,u+=m),i=i.parentNode}while(!a&&i!==document.body||a&&(t.contains(i)||t===i));return c&&0===d?l=!0:c||0!==u||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=o.useCallback(function(e){var n=e;if(xc.length&&xc[xc.length-1]===i){var s="deltaY"in n?pc(n):mc(n),r=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,r=s,t[0]===r[0]&&t[1]===r[1]);var t,r})[0];if(r&&r.should)n.cancelable&&n.preventDefault();else if(!r){var o=(a.current.shards||[]).map(fc).filter(Boolean).filter(function(e){return e.contains(n.target)});(o.length>0?l(n,o[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),d=o.useCallback(function(e,n,s,r){var o={name:e,delta:n,target:s,should:r};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),u=o.useCallback(function(e){n.current=mc(e),s.current=void 0},[]),h=o.useCallback(function(t){d(t.type,pc(t),t.target,l(t,e.lockRef.current))},[]),m=o.useCallback(function(t){d(t.type,mc(t),t.target,l(t,e.lockRef.current))},[]);o.useEffect(function(){return xc.push(i),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",c,lc),document.addEventListener("touchmove",c,lc),document.addEventListener("touchstart",u,lc),function(){xc=xc.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,lc),document.removeEventListener("touchmove",c,lc),document.removeEventListener("touchstart",u,lc)}},[]);var p=e.removeScrollBar,f=e.inert;return o.createElement(o.Fragment,null,f?o.createElement(i,{styles:gc(r)}):null,p?o.createElement(oc,{gapMode:"margin"}):null)},Hl.useMedium(yc),Gl),wc=o.forwardRef(function(e,t){return o.createElement(ql,Bl({},e,{ref:t,sideCar:bc}))});wc.classNames=ql.classNames;var jc=new WeakMap,kc=new WeakMap,Nc={},Cc=0,Ec=function(e){return e&&(e.host||Ec(e.parentNode))},Pc=function(e,t,n,s){var r=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Ec(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]);Nc[n]||(Nc[n]=new WeakMap);var o=Nc[n],i=[],a=new Set,l=new Set(r),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};r.forEach(c);var d=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))d(e);else try{var t=e.getAttribute(s),r=null!==t&&"false"!==t,l=(jc.get(e)||0)+1,c=(o.get(e)||0)+1;jc.set(e,l),o.set(e,c),i.push(e),1===l&&r&&kc.set(e,!0),1===c&&e.setAttribute(n,"true"),r||e.setAttribute(s,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return d(t),a.clear(),Cc++,function(){i.forEach(function(e){var t=jc.get(e)-1,r=o.get(e)-1;jc.set(e,t),o.set(e,r),t||(kc.has(e)||e.removeAttribute(s),kc.delete(e)),r||e.removeAttribute(n)}),--Cc||(jc=new WeakMap,jc=new WeakMap,kc=new WeakMap,Nc={})}},Sc=function(e,t,n){void 0===n&&(n="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(s.push.apply(s,Array.from(r.querySelectorAll("[aria-live], script"))),Pc(s,r,n,"aria-hidden")):function(){return null}};const Tc="Dialog",[Ac,Mc]=function(e,n=[]){let s=[];const r=()=>{const n=s.map(e=>t.createContext(e));return function(s){const r=(null==s?void 0:s[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...s,[e]:r}}),[s,r])}};return r.scopeName=e,[function(n,r){const o=t.createContext(r),i=s.length;function a(n){const{scope:s,children:r,...a}=n,l=(null==s?void 0:s[e][i])||o,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},r)}return s=[...s,r],a.displayName=n+"Provider",[a,function(s,a){const l=(null==a?void 0:a[e][i])||o,c=t.useContext(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${s}\` must be used within \`${n}\``)}]},el(r,...n)]}(Tc),[Dc,Vc]=Ac(Tc),Rc="DialogPortal",[Lc,Bc]=Ac(Rc,{forceMount:void 0}),Fc="DialogOverlay",Oc=t.forwardRef((e,n)=>{const s=Bc(Fc,e.__scopeDialog),{forceMount:r=s.forceMount,...o}=e,i=Vc(Fc,e.__scopeDialog);return i.modal?t.createElement(Dl,{present:r||i.open},t.createElement(Ic,Ka({},o,{ref:n}))):null}),Ic=t.forwardRef((e,n)=>{const{__scopeDialog:s,...r}=e,o=Vc(Fc,s);return t.createElement(wc,{as:al,allowPinchZoom:!0,shards:[o.contentRef]},t.createElement(hl.div,Ka({"data-state":qc(o.open)},r,{ref:n,style:{pointerEvents:"auto",...r.style}})))}),$c="DialogContent",zc=t.forwardRef((e,n)=>{const s=Bc($c,e.__scopeDialog),{forceMount:r=s.forceMount,...o}=e,i=Vc($c,e.__scopeDialog);return t.createElement(Dl,{present:r||i.open},i.modal?t.createElement(_c,Ka({},o,{ref:n})):t.createElement(Uc,Ka({},o,{ref:n})))}),_c=t.forwardRef((e,n)=>{const s=Vc($c,e.__scopeDialog),r=t.useRef(null),o=Qa(n,s.contentRef,r);return t.useEffect(()=>{const e=r.current;if(e)return Sc(e)},[]),t.createElement(Wc,Ka({},e,{ref:o,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Za(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=s.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:Za(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:Za(e.onFocusOutside,e=>e.preventDefault())}))}),Uc=t.forwardRef((e,n)=>{const s=Vc($c,e.__scopeDialog),r=t.useRef(!1),o=t.useRef(!1);return t.createElement(Wc,Ka({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,i;(null===(n=e.onCloseAutoFocus)||void 0===n||n.call(e,t),t.defaultPrevented)||(r.current||null===(i=s.triggerRef.current)||void 0===i||i.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var n,i;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const a=t.target;(null===(i=s.triggerRef.current)||void 0===i?void 0:i.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),Wc=t.forwardRef((e,n)=>{const{__scopeDialog:s,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,l=Vc($c,s),c=Qa(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:Ll()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Ll()),Rl++,()=>{1===Rl&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Rl--}},[]),t.createElement(t.Fragment,null,t.createElement(Nl,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},t.createElement(xl,Ka({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":qc(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),Gc="DialogTitle",Hc="DialogClose",Yc=t.forwardRef((e,n)=>{const{__scopeDialog:s,...r}=e,o=Vc(Hc,s);return t.createElement(hl.button,Ka({type:"button"},r,{ref:n,onClick:Za(e.onClick,()=>o.onOpenChange(!1))}))});function qc(e){return e?"open":"closed"}!function(e,n){const s=t.createContext(n);function r(e){const{children:n,...r}=e,o=t.useMemo(()=>r,Object.values(r));return t.createElement(s.Provider,{value:o},n)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:$c,titleName:Gc,docsSlug:"dialog"});const Xc=e=>{const{__scopeDialog:n,children:s,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[d=!1,u]=il({prop:r,defaultProp:o,onChange:i});return t.createElement(Dc,{scope:n,triggerRef:l,contentRef:c,contentId:rl(),titleId:rl(),descriptionId:rl(),open:d,onOpenChange:u,onOpenToggle:t.useCallback(()=>u(e=>!e),[u]),modal:a},s)},Kc=e=>{const{__scopeDialog:n,forceMount:s,children:r,container:o}=e,i=Vc(Rc,n);return t.createElement(Lc,{scope:n,forceMount:s},t.Children.map(r,e=>t.createElement(Dl,{present:s||i.open},t.createElement(Ml,{asChild:!0,container:o},e))))},Zc=Oc,Jc=zc,Qc=Yc;exports.Accordion=({items:t,title:n,background:s="white",enableHeading:r=!1,maxWidth:o=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[s]} component-container`,children:e.jsxs("div",{className:(o?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e.jsx("div",{children:e.jsx(Ne,{as:r?"h1":"h2",className:"heading1 text-left lg:text-center",children:n})}),e.jsx("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==t?void 0:t.map((t,n)=>e.jsx("div",{children:e.jsx(ke,{title:t.title,containerClassName:"border-0 border-b-[1px]",buttonClassName:"px-0 label1",borderRadiusNone:!0,openOnlyOnDesktop:!0,children:e.jsx(Ne,{children:t.description})})},`item-${n}`))})]})}),exports.Button=Se,exports.Callout=({title:t,items:n,enableHeading:s=!1,subtitle:r,color:o="dark",maxWidth:i=!0,maxCardsPerRow:a})=>{const l={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[a||4]||" lg:w-[calc(25%-1.125rem)]",c=1===n.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e.jsx("div",{className:"component-container",children:e.jsx("div",{className:`mx-5 mb-5 mt-12 ${i?"max-w-120 xl:mx-auto":""} ${"dark"==o?"text-text":"text-white"}`,children:e.jsxs("div",{className:"callout-container flex flex-col gap-8",children:[e.jsxs("div",{className:"title-holder",children:[t&&e.jsx(Ne,{as:s?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:t}),r&&e.jsx(Ne,{as:s?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:r})]}),e.jsx("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-8 self-stretch lg:gap-6",children:n.map((t,n)=>e.jsx(Me,{card:t,lgWidth:l,mdWidth:c},n))})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(Ne,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:s,disclaimerText:r,backgroundColor:o,activeTab:i,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:d,showSwitch:u=!1})=>e.jsx("div",{className:`${o} mx-auto overflow-hidden px-5 py-9 md:py-20`,children:e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[e.jsxs("div",{children:[e.jsx(Ne,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(Ne,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==t?void 0:t.subTitle})]}),u&&s&&l.length>1&&e.jsx(_e,{tabs:l,activeTab:i,onChange:a,className:"mb-8"}),n&&e.jsx(ze,{fields:t}),s&&e.jsx($e,{onModalButtonClick:c,renderCheckPlans:d,fields:t}),e.jsx(Ne,{as:"div",className:"body1 mt-8 px-4 text-center text-neutral-600",children:r})]})}),exports.ComparisonTable=({title:t,disclaimer:n,table:s,maxWidth:r=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(r?"max-w-120 xl:mx-auto":""),children:[e.jsx(Ne,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-20 xl:mt-10",children:s}),e.jsx(Ne,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CtaCallout=({title:t,background:n="white",button:s,color:r,contentAlignment:o,description:i,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:d=!0,onModalButtonClick:u,renderCheckPlans:h})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[n]} component-container`,children:e.jsxs("div",{className:`${d?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e.jsx(Ne,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${o}`,children:t}),e.jsx(Ne,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${o}`,children:c}),e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:i}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(Se,{...s,renderCheckPlans:h,onModalButtonClick:u})})]})}),exports.FindKinetic=({background:t="white",description:n,enableHeading:s,image:r,list:o=[],subTitle:i,title:a,color:l="dark",maxWidth:c=!0})=>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"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx(Ne,{as:s?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),i&&e.jsx(Ne,{as:s?"h2":"h3",className:"heading3 mt-4 text-center",children:i}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx(Ne,{as:"p",className:"body1",children:n}),o.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-8 gap-y-4 md:hidden",children:(()=>{const t=[...o].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),s=[];for(let e=0;e<n;e++)for(let r=0;r<2;r++){const o=r*n+e;o<t.length&&s.push(t[o])}return s.map((t,n)=>e.jsx("li",{children:e.jsx(Pe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-8 gap-y-4 md:grid md:grid-cols-3",children:(()=>{const t=[...o].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),s=[];for(let e=0;e<n;e++)for(let r=0;r<3;r++){const o=r*n+e;o<t.length&&s.push(t[o])}return s.map((t,n)=>e.jsx("li",{children:e.jsx(Pe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),r&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx(Ae,{width:472,height:100,src:r,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:s,disclaimer:r,icon:o,cta:i,background:a="navy",color:l="light",enableHeading:c,maxWidth:d=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-[40px] xl:mx-auto "+(d?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-[28px] px-5 py-7 lg:flex-row lg:rounded-[40px] lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[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(Ae,{width:80,height:80,alt:"icon",src:o})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[t&&e.jsx(Ne,{as:c?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(Ne,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),s&&e.jsx(Ne,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:s})]}),i&&e.jsx("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e.jsx(Se,{...i})})]}),r&&e.jsx("div",{children:e.jsx(Ne,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),exports.Footer=({body:n,links:s,bottomLinks:r,copyrights:o,terms:i,maxWidth:a=!0,onClick:l})=>{function c(e){null==l||l(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:n}),e.jsx("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e.jsx("div",{className:"grid-1 grid gap-8 py-8 md:grid-cols-2 lg:grid-cols-4",children:null==s?void 0:s.map((n,s)=>{var r,o;return e.jsxs(t.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e.jsx(Ne,{as:"div",className:"label3",children:null==n?void 0:n.title}),e.jsx("ul",{className:"flex flex-col",children:null===(o=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===o?void 0:o.map((t,n)=>e.jsx("li",{className:"pt-3",children:e.jsx(Se,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:c})},`site-links-${n}`))})]},`link-group-${s}`)},`footer-link-group-${s}`),e.jsx("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${s}`)})}),e.jsxs("div",{className:"pt-8",children:[e.jsx("p",{className:"copy-rights",children:o}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",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(Se,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:s,title:r,subTitle:o,ctaDisclaimer:i,disclaimer:a,description:l,image:c,imageLinks:d,mediaPosition:u=!0,checklist:h,secondaryCta:m,cta:p,videoLink:f,maxWidth:g=!0,color:v="light",imageWidth:x=660,imageHeight:y=660,onModalButtonClick:b,renderCheckPlans:w})=>{var j,k;const[N,C]=t.useState(""),[E,P]=t.useState(!1),S=null!==(j=null==f?void 0:f.link)&&void 0!==j?j:"",T=null==f?void 0:f.image,A=null!==(k=null==f?void 0:f.videoPopup)&&void 0!==k&&k,M=Boolean(N&&N===S),D=f&&T?S.includes("vimeo")?e.jsx(We,{link:S,autoplay:M}):e.jsx(Ge,{link:S,autoplay:M}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-start xl:gap-[126px] "+(u?"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"==v?"text-text":"text-white"),children:[e.jsxs("div",{className:"heading holder",children:[n&&e.jsx(Ne,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),r&&e.jsx(Ne,{as:s?"h1":"h2",className:"heading2 xl:heading1",children:r}),o&&e.jsx(Ne,{as:s?"h2":"h3",className:"subheading1 mt-3",children:o})]}),l&&e.jsx(Ne,{as:"div",className:"body1",children:l}),h.length>0&&e.jsx(Le,{items:h,iconPosition:"top",iconSize:24}),e.jsx("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e.jsx("div",{className:"image-link w-[147px]",children:e.jsx(Pe,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(Be,{src:t.image,alt:"icon-link"})})},n))}),e.jsxs("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[p&&e.jsx("div",{className:"primary-cta w-full xl:w-auto",children:e.jsx(Se,{...p,fullWidth:!0,renderCheckPlans:w,onModalButtonClick:b})}),m&&e.jsx("div",{className:"secondary-cta",children:e.jsx(Se,{...m,fullWidth:!0,renderCheckPlans:w,onModalButtonClick:b})})]}),i&&e.jsx("div",{children:i}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center xl:w-auto",children:[c&&e.jsx("div",{className:"relative aspect-[16/9] w-full xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:e.jsx(Ae,{src:c,alt:"section-image",width:x,height:y,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),(null==f?void 0:f.link)&&e.jsxs("div",{className:ye("video-section relative w-full cursor-pointer overflow-hidden rounded-[40px] transition-all duration-300 xl:w-[486px]",!M&&"hover:shadow-2xl"),onClick:()=>{var e;C(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>P(!0),onMouseLeave:()=>P(!1),children:[e.jsxs("div",{className:ye(M&&!A&&"hidden",M&&!A?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(Ae,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-[40px] object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(Ue,{isHovered:E})})]}),!A&&M&&e.jsx("div",{className:ye("aspect-[16/9] w-full overflow-hidden rounded-[40px] transition-opacity duration-300",M?"opacity-100":"opacity-0"),children:D})]})]})]})}),A&&M&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),C("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:D})})]})},exports.Modal=t=>{const{isOpen:n,onRequestClose:s,size:r,title:o,content:i,description:a,children:l,bodyClassName:c}=t;return e.jsx(Xc,{open:n,onOpenChange:()=>n&&(null==s?void 0:s()),children:e.jsxs(Kc,{children:[e.jsx(Xa.div,{initial:"closed",animate:n?"open":"closed",variants:et,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(Zc,{})}),e.jsx(Xa.div,{initial:"closed",animate:n?"open":"closed",variants:tt,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"fixed left-1/2 top-1/2 z-[1001] w-auto -translate-x-1/2 -translate-y-1/2 focus:outline-none",children:e.jsxs(Jc,{className:ye("fixed left-[50%] top-[50%] w-[90vw] translate-x-[-50%] translate-y-[-50%] rounded-[6px] bg-bg p-[25px] shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none",c),style:{maxWidth:nt[r||"lg"]},children:[e.jsx(Qc,{asChild:!0,children:e.jsx(Se,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(je,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[o?e.jsx(Ne,{className:ye("mx-auto mb-3 mt-5 text-center","heading5 md:max-w-[80%] md:pt-0","mb-5 md:mb-[60px]"),as:"h2",children:o}):null,a?e.jsx(Ne,{as:"div",children:a}):null,i,l||null]})]})})]})})},exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:s,checkPlansJSX:r,primaryNavigationLogo:o,accountNavigationLinks:i,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:d,onSearch:u=()=>{}}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",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(Se,{linkClassName:ye("footnote flex items-center w-full h-11 text-text-link",1===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:[e.jsx(Xe,{className:"border-none",href:c,children:e.jsx(Ne,{className:"body3",children:d})}),null==i?void 0:i.map((t,n)=>e.jsx(He,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(Pe,{href:"/",className:"flex",children:e.jsx(Ae,{src:"string"==typeof o?o:(null==o?void 0:o.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx(Xe,{href:c,children:e.jsx(Ne,{as:"span",className:"footnote",children:d})}),e.jsx(Ze,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",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:[e.jsx(Pe,{href:"/",className:"flex",children:e.jsx(Ae,{src:"string"==typeof o?o:(null==o?void 0:o.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-14"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(He,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(Qe,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:u}),null==a?void 0:a.map((t,n)=>e.jsx(He,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e.jsx("div",{className:"md:hidden",children:r})]})},exports.PrimaryHero=t=>{var n;const{title:s,showAsHeading:r,subTitle:o,primaryCta1:i,carouselImages:a,bottomLink:l,price:c,priceCallout:d,priceSuffix:u,checklist:h,renderCheckPlans:m,badgeImage:p,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:v,onModalButtonClick:x}=t,y=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:ye("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:ye("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[s&&e.jsx(Ne,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:s}),o&&e.jsx(Ne,{as:"p",className:"subheading3 lg:subheading1",children:o}),c?e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:d?d.split("|").map((t,n)=>e.jsx(Ne,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(Ne,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(Ne,{as:"p",className:"subheading5",children:c}),u?e.jsx(Ne,{as:"p",className:"subheading1 mt-0.5",children:u}):null]})]}):null,h&&e.jsx(Le,{listItemClassName:"text-white body2",items:h.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[i&&e.jsx("div",{className:ye("hidden lg:flex lg:flex-col"),children:e.jsx(Se,{...i,renderCheckPlans:m,onModalButtonClick:x})}),v||g?e.jsxs("div",{className:"flex",children:[v&&e.jsx(Ne,{as:"span",className:"body2 mr-1",children:v}),g&&e.jsx(Se,{linkClassName:"body2 text-text-inverse",onModalButtonClick:x,...g})]}):null,l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden lg:block",children:e.jsx(Se,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:x})}),f?e.jsx(Ne,{as:"p",className:"body3",children:f}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[p?e.jsx(Ae,{src:p,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:100,height:100,loading:"eager"}):null,a&&a[0]?e.jsx(Ae,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] rounded-[40px] object-cover object-center sm:h-[420px]",width:350,height:205,loading:"eager"}):null]}),l&&(y||(null==l?void 0:l.href))&&e.jsx("div",{children:e.jsx(Se,{...l,onModalButtonClick:x,linkClassName:"body3 text-white"})}),f?e.jsx(Ne,{as:"p",className:"body3",children:f}):null,v||g?e.jsxs("div",{className:"flex",children:[v&&e.jsx(Ne,{as:"span",className:"body2 mr-1",children:v}),g&&e.jsx(Se,{...g,onModalButtonClick:x,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:ye("relative hidden lg:block"),children:[p?e.jsx(Ae,{src:p,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:200,height:200,loading:"eager"}):null,a&&a[0]?e.jsx(Ae,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,loading:"eager"}):null]})]})})},exports.ProductCard=Oe,exports.ShapeBackgroundWrapper=({children:t,background:n,className:s,fill:r="yellow",maxFit:o,show:i=!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]"},d={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},u="string"==typeof n&&n in d,h=u?d[n]:void 0,m=n&&!u?{background:n}:void 0,p=r in c?c[r]:"text-[#F5FF1E]";return i?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=s?s:""} ${o?"max-content":""} ${null!=h?h: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 ${p}`,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 ${p}`,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 ${p}`,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 ${p}`,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"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:s,style:m,children:t})},exports.SimpleCard=Me,exports.TestimonialCard=Ie,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(Ne,{children:"Text Block"})});
3
+ "use strict";var e=require("react/jsx-runtime"),t=require("react"),n=require("next/image"),o=require("react-dom"),r=require("next/link"),i=require("next/navigation");function s(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var a=s(t);function l(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=l(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function c(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=l(e))&&(o&&(o+=" "),o+=t);return o}const u=e=>{const t=h(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),d(n,t)||m(e)},getConflictingClassGroupIds:(e,t)=>{const r=n[e]||[];return t&&o[e]?[...r,...o[e]]:r}}},d=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?d(e.slice(1),o):void 0;if(r)return r;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},p=/^\[(.+)\]$/,m=e=>{if(p.test(e)){const t=p.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},h=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const e in n)f(n[e],o,e,t);return o},f=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:g(t,e)).classGroupId=n)}if("function"==typeof e)return b(e)?void f(e(o),t,n,o):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,r])=>{f(r,g(t,e),n,o)})})},g=(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},b=e=>e.isThemeGetter,v=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(r,i)=>{n.set(r,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(r(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):r(e,t)}}},x=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=e=>{const t=[];let n,o=0,r=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===o&&0===r){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?o++:"]"===a?o--:"("===a?r++:")"===a&&r--}const s=0===t.length?e:e.substring(i),a=y(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=o;o=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=o;o=t=>n({className:t,parseClassName:e})}return o},y=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,I=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const n=[];let o=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...o.sort(),e),o=[]):o.push(e)}),n.push(...o.sort()),n}},C=/\s+/;function w(){let e,t,n=0,o="";for(;n<arguments.length;)(e=arguments[n++])&&(t=A(e))&&(o&&(o+=" "),o+=t);return o}const A=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=A(e[o]))&&(n&&(n+=" "),n+=t);return n};function N(e,...t){let n,o,r,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:v(e.cacheSize),parseClassName:x(e),sortModifiers:I(e),...u(e)}))(l),o=n.cache.get,r=n.cache.set,i=s,s(a)};function s(e){const t=o(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=t,s=[],a=e.trim().split(C);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=o(h?p.substring(0,m):p);if(!f){if(!h){l=t+(l.length>0?" "+l:l);continue}if(f=o(p),!f){l=t+(l.length>0?" "+l:l);continue}h=!1}const g=i(u).join(":"),b=d?g+"!":g,v=b+f;if(s.includes(v))continue;s.push(v);const x=r(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 r(e,i),i}return function(){return i(w.apply(null,arguments))}}const j=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},k=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,G=/^\((?:(\w[\w-]*):)?(.+)\)$/i,P=/^\d+\/\d+$/,V=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B=/\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$/,S=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,R=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,T=e=>P.test(e),M=e=>!!e&&!Number.isNaN(Number(e)),X=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&M(e.slice(0,-1)),F=e=>V.test(e),L=()=>!0,O=e=>B.test(e)&&!S.test(e),Z=()=>!1,D=e=>E.test(e),z=e=>R.test(e),H=e=>!J(e)&&!q(e),Y=e=>se(e,ue,Z),J=e=>k.test(e),U=e=>se(e,de,O),$=e=>se(e,pe,M),Q=e=>se(e,le,Z),_=e=>se(e,ce,z),K=e=>se(e,he,D),q=e=>G.test(e),ee=e=>ae(e,de),te=e=>ae(e,me),ne=e=>ae(e,le),oe=e=>ae(e,ue),re=e=>ae(e,ce),ie=e=>ae(e,he,!0),se=(e,t,n)=>{const o=k.exec(e);return!!o&&(o[1]?t(o[1]):n(o[2]))},ae=(e,t,n=!1)=>{const o=G.exec(e);return!!o&&(o[1]?t(o[1]):n)},le=e=>"position"===e||"percentage"===e,ce=e=>"image"===e||"url"===e,ue=e=>"length"===e||"size"===e||"bg-size"===e,de=e=>"length"===e,pe=e=>"number"===e,me=e=>"family-name"===e,he=e=>"shadow"===e,fe=()=>{const e=j("color"),t=j("font"),n=j("text"),o=j("font-weight"),r=j("tracking"),i=j("leading"),s=j("breakpoint"),a=j("container"),l=j("spacing"),c=j("radius"),u=j("shadow"),d=j("inset-shadow"),p=j("text-shadow"),m=j("drop-shadow"),h=j("blur"),f=j("perspective"),g=j("aspect"),b=j("ease"),v=j("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",q,J],y=()=>[q,J,l],I=()=>[T,"full","auto",...y()],C=()=>[X,"none","subgrid",q,J],w=()=>["auto",{span:["full",X,q,J]},X,q,J],A=()=>[X,"auto",q,J],N=()=>["auto","min","max","fr",q,J],k=()=>["auto",...y()],G=()=>[T,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],P=()=>[e,q,J],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ne,Q,{position:[q,J]}],B=()=>["auto","cover","contain",oe,Y,{size:[q,J]}],S=()=>[W,ee,U],E=()=>["","none","full",c,q,J],R=()=>["",M,ee,U],O=()=>[M,W,ne,Q],Z=()=>["","none",h,q,J],D=()=>["none",M,q,J],z=()=>["none",M,q,J],se=()=>[M,q,J],ae=()=>[T,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[F],breakpoint:[F],color:[L],container:[F],"drop-shadow":[F],ease:["in","out","in-out"],font:[H],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[F],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[F],shadow:[F],spacing:["px",M],text:[F],"text-shadow":[F],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",T,J,q,g]}],container:["container"],columns:[{columns:[M,J,q,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:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{start:I()}],end:[{end:I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[X,"auto",q,J]}],basis:[{basis:[T,"full","auto",a,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[M,T,"auto","initial","none",J]}],grow:[{grow:["",M,q,J]}],shrink:[{shrink:["",M,q,J]}],order:[{order:[X,"first","last","none",q,J]}],"grid-cols":[{"grid-cols":C()}],"col-start-end":[{col:w()}],"col-start":[{"col-start":A()}],"col-end":[{"col-end":A()}],"grid-rows":[{"grid-rows":C()}],"row-start-end":[{row:w()}],"row-start":[{"row-start":A()}],"row-end":[{"row-end":A()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap: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:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:G()}],w:[{w:[a,"screen",...G()]}],"min-w":[{"min-w":[a,"screen","none",...G()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...G()]}],h:[{h:["screen","lh",...G()]}],"min-h":[{"min-h":["screen","lh","none",...G()]}],"max-h":[{"max-h":["screen","lh",...G()]}],"font-size":[{text:["base",n,ee,U]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,q,$]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,J]}],"font-family":[{font:[te,J,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,q,J]}],"line-clamp":[{"line-clamp":[M,"none",q,$]}],leading:[{leading:[i,...y()]}],"list-image":[{"list-image":["none",q,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[M,"from-font","auto",q,U]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[M,"auto",q,J]}],"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",q,J]}],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",q,J]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:V()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},X,q,J],radial:["",q,J],conic:[X,q,J]},re,_]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:S()}],"gradient-via-pos":[{via:S()}],"gradient-to-pos":[{to:S()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:E()}],"rounded-s":[{"rounded-s":E()}],"rounded-e":[{"rounded-e":E()}],"rounded-t":[{"rounded-t":E()}],"rounded-r":[{"rounded-r":E()}],"rounded-b":[{"rounded-b":E()}],"rounded-l":[{"rounded-l":E()}],"rounded-ss":[{"rounded-ss":E()}],"rounded-se":[{"rounded-se":E()}],"rounded-ee":[{"rounded-ee":E()}],"rounded-es":[{"rounded-es":E()}],"rounded-tl":[{"rounded-tl":E()}],"rounded-tr":[{"rounded-tr":E()}],"rounded-br":[{"rounded-br":E()}],"rounded-bl":[{"rounded-bl":E()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[M,q,J]}],"outline-w":[{outline:["",M,ee,U]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,ie,K]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",d,ie,K]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[M,U]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,ie,K]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[M,q,J]}],"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":[M]}],"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":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"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":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"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":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"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":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"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":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"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":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"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":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[q,J]}],"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":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[M]}],"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":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:V()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,J]}],filter:[{filter:["","none",q,J]}],blur:[{blur:Z()}],brightness:[{brightness:[M,q,J]}],contrast:[{contrast:[M,q,J]}],"drop-shadow":[{"drop-shadow":["","none",m,ie,K]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",M,q,J]}],"hue-rotate":[{"hue-rotate":[M,q,J]}],invert:[{invert:["",M,q,J]}],saturate:[{saturate:[M,q,J]}],sepia:[{sepia:["",M,q,J]}],"backdrop-filter":[{"backdrop-filter":["","none",q,J]}],"backdrop-blur":[{"backdrop-blur":Z()}],"backdrop-brightness":[{"backdrop-brightness":[M,q,J]}],"backdrop-contrast":[{"backdrop-contrast":[M,q,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",M,q,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[M,q,J]}],"backdrop-invert":[{"backdrop-invert":["",M,q,J]}],"backdrop-opacity":[{"backdrop-opacity":[M,q,J]}],"backdrop-saturate":[{"backdrop-saturate":[M,q,J]}],"backdrop-sepia":[{"backdrop-sepia":["",M,q,J]}],"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",q,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[M,"initial",q,J]}],ease:[{ease:["linear","initial",b,q,J]}],delay:[{delay:[M,q,J]}],animate:[{animate:["none",v,q,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,q,J]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:D()}],"rotate-x":[{"rotate-x":D()}],"rotate-y":[{"rotate-y":D()}],"rotate-z":[{"rotate-z":D()}],scale:[{scale:z()}],"scale-x":[{"scale-x":z()}],"scale-y":[{"scale-y":z()}],"scale-z":[{"scale-z":z()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[q,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q,J]}],"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",q,J]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[M,ee,U,$]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ge=(e,t,n)=>{void 0!==n&&(e[t]=n)},be=(e,t)=>{if(t)for(const n in t)ge(e,n,t[n])},ve=(e,t)=>{if(t)for(const n in t)xe(e,t,n)},xe=(e,t,n)=>{const o=t[n];void 0!==o&&(e[n]=e[n]?e[n].concat(o):o)},ye=((e,...t)=>"function"==typeof e?N(fe,e,...t):N(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:o,extend:r={},override:i={}})=>(ge(e,"cacheSize",t),ge(e,"prefix",n),ge(e,"experimentalParseClassName",o),be(e.theme,i.theme),be(e.classGroups,i.classGroups),be(e.conflictingClassGroups,i.conflictingClassGroups),be(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ge(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),ve(e.theme,r.theme),ve(e.classGroups,r.classGroups),ve(e.conflictingClassGroups,r.conflictingClassGroups),ve(e.conflictingClassGroupModifiers,r.conflictingClassGroupModifiers),xe(e,r,"orderSensitiveModifiers"),e))(fe(),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"]}}}),Ie=(...e)=>ye(c(...e)),Ce=t.forwardRef(({children:t,className:n="",style:o,disabled:r,...i},s)=>e.jsx("button",{ref:s,className:Ie(n),style:o,disabled:r,...i,children:t}));Ce.displayName="Button";const we=n=>{const{open:o,children:r}=n,i=t.useRef(null),[s,a]=t.useState(0);return t.useEffect(()=>{const e=i.current;if(!e)return;const t=()=>{a(o?e.scrollHeight:0)};let n;return t(),o&&(n=new ResizeObserver(()=>t()),n.observe(e)),()=>{n&&n.disconnect()}},[o,r]),e.jsx("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:o?1:0},"aria-hidden":!o,children:e.jsx("div",{ref:i,children:r})})};we.displayName="Collapse";const Ae=({name:t,fill:n=0,opticalSize:o="48dp",weight:r="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:u,dataTestId:d})=>{const p={fontVariationSettings:`'FILL' ${n}, 'wght' ${r}, 'GRAD' ${i}, 'opsz' ${o.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e.jsx("span",{style:p,className:Ie("material-symbols-rounded inline-block max-w-[52px] overflow-hidden",c),onClick:u,"data-testid":d,children:t})};Ae.displayName="MaterialIcon";const Ne=n=>{const{title:o,defaultOpen:r,children:i,containerClassName:s,titleClassName:a,className:l,buttonClassName:c,openOnlyOnDesktop:u,borderRadiusNone:d=!1}=n,[p,m]=t.useState(Boolean(!1));return t.useEffect(()=>{if(u){const e=window.innerWidth>=1024;m(e)}else m(Boolean(r))},[u,r]),e.jsxs("div",{className:Ie(d?"rounded-none border":"rounded-surface-xs border",s),children:[e.jsxs(Ce,{type:"button",className:Ie(d?"rounded-none":"rounded-t-surface-xs","flex w-full items-center justify-between gap-4 px-4 py-3 text-left",c),onClick:()=>m(e=>!e),children:[e.jsx("span",{className:Ie("label5",a),children:o}),e.jsx(Ae,{name:p?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e.jsx(we,{open:p,children:e.jsx("div",{className:Ie("px-4 py-4",l),children:i})})]})};Ne.displayName="Accordion";const je=t.forwardRef(({children:e,as:n,className:o="",style:r,...i},s)=>{const a=n||"p";return t.createElement(a,{ref:s,className:o,style:r,...i},e)});je.displayName="Text";const ke=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},Ge=t.forwardRef(({variant:t="primary_brand",isLoading:n=!1,text:o,label:r,disabled:i,fullWidth:s,size:a={base:"medium"},as:l="button",...c},u)=>{const d=(()=>{const e=Ie((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()})(a),"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",s&&"w-full"),o=Ie((i||n)&&"cursor-not-allowed",n&&"pl-7",i&&"bg-bg-fill-brand-disabled");return Ie(e,{primary_brand:"bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand",primary_inverse:"bg-bg-surface-inverse text-text-inverse enabled:hover:bg-bg-fill-inverse-hover focus:ring-bg-surface-inverse",secondary:"border-2 border-border-secondary-on-bg-fill bg-bg text-text focus:ring-bg-surface-inverse"}[t]||"",o)})();let p=`button--${t}`;n&&(p+=" button--loading"),i&&(p+=" button--disabled");const m=`${p} ${d}`,h=e.jsxs(e.Fragment,{children:[n?e.jsx(Ae,{name:"progress_activity",className:"animate-spin"}):null,r?e.jsxs("span",{className:"flex flex-col",children:[e.jsx("span",{className:Ie(ke(a)),children:r}),o]}):o]});return"a"===l?e.jsx("a",{ref:u,className:Ie(m),...c,children:h}):e.jsx("button",{ref:u,className:Ie(m),disabled:i||n,...c,children:h})});Ge.displayName="BrandButton";const Pe=t.forwardRef(({children:t,href:n,className:o="",onClick:r,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...c},u)=>{const d=(()=>{if("unstyled"===i)return"";const e={default:"text-text underline"},t=[l?"opacity-60 cursor-not-allowed pointer-events-none":"cursor-pointer"].filter(Boolean).join(" ");return["transition-colors duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2",e[i]||e.default,t].filter(Boolean).join(" ")})(),p={...c,ref:u,className:Ie(d,`link--${i}`,l&&"link--disabled",o),style:s,href:l?void 0:n,onClick:e=>{l?e.preventDefault():null==r||r(e)},...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return e.jsx("a",{...p,children:t})});Pe.displayName="Link";const Ve=t=>{const{showButtonAs:n="solid",buttonVariant:o="primary_brand",buttonLabel:r,buttonPrefix:i,href:s,target:a="_blank",anchorId:l,linkClassName:c,linkVariant:u,fullWidth:d,preDefinedFunctionExecution:p,renderCheckPlans:m,buttonClassName:h,clickToOpen:f,tabmodalNameToOpen:g,onModalButtonClick:b,onClick:v,iconName:x,...y}=t;if("check availability"===p){return null==m?void 0:m({ctaText:r,buttonVariant:o,showButtonAs:n,cta:{...t}})}function I(){"modal"===f&&(null==b||b(g))}function C(e){I(),null==v||v(e)}function w(e){I(),null==v||v(e)}let A=e.jsx(Ce,{onClick:w,className:h,...y});switch(n){case"solid":A=s?e.jsx(Ge,{as:"a",href:s,id:l,variant:o,text:r,label:i,fullWidth:d,onClick:C}):e.jsx(Ge,{id:l,variant:o,text:r,label:i,fullWidth:d,onClick:w});break;case"text":A=e.jsxs(Pe,{href:s,target:a,variant:u||"default",className:`text-text-brand ${c||""}`,onClick:C,children:[r," ",x&&e.jsx(Ae,{name:x,size:24})]})}return A},Be={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Se=t.forwardRef(({className:t,...o},r)=>{const i="string"==typeof o.src?o.src:"",s=i.toLowerCase().split("?")[0]||"",a=i.includes("images.ctfassets.net")&&s.endsWith(".svg");return e.jsx(n,{ref:r,className:Ie(t),...o,unoptimized:a})});Se.displayName="NextImage";const Ee=({card:t,lgWidth:n,mdWidth:o})=>{var r,i,s;const a=(null===(r=t.imageAlignment)||void 0===r?void 0:r.toLowerCase())||"left",l="left"===a?"lg:items-start":"right"===a?"lg:items-end":"lg:items-center";return e.jsx("div",{className:`callout-card ${o} ${n} w-full ${null!==(s=Be[null!==(i=t.backgroundColor)&&void 0!==i?i:""])&&void 0!==s?s:""}`,children:e.jsxs("div",{className:`card-template flex h-full flex-col items-center gap-8 p-8 text-center ${l}`,children:[e.jsx("div",{className:"card-header",children:(t=>{var n,o,r;if(!t.image)return null;return"full"===(null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase())?e.jsx(Se,{width:400,height:280,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon",className:"rounded-3xl"}):e.jsx(Se,{width:88,height:88,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon"})})(t)}),e.jsxs("div",{className:"card-body flex flex-col gap-3 text-start",children:[t.title&&e.jsx(je,{as:"h5",className:"heading5 font-black",children:t.title}),t.body&&e.jsx(je,{as:"div",className:"body1",children:t.body})]}),t.cta&&e.jsx("div",{className:"card-footer",children:e.jsx(Ve,{linkVariant:"unstyled",linkClassName:"label1 flex items-center text-text gap-2",...t.cta,iconName:"expand_circle_right"})})]})})},Re={green:"#209A61",yellow:"#F5FF36"},Te=t.forwardRef(({children:t,className:n="",variant:o="unstyled",style:r,...i},s)=>{const a=Ie("unstyled"===o?"":"mb-1 leading-6","list-item",`list-item--${o}`,n);return e.jsx("li",{ref:s,className:a,style:r,...i,children:t})});Te.displayName="ListItem";const Me=t.forwardRef(({type:t="ul",items:n,className:o="",renderItem:r,children:i,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=Ie(u,`list--${t}`,`list--${s}`,o),p=i||(n&&0!==n.length?n.map((t,n)=>r?r(t,n):e.jsx(Te,{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}):e.jsx("ul",{...m,ref:c})});Me.displayName="List";const Xe=t=>{const{items:n,listIconName:o="check",listItemClassName:r,iconSize:i=20,iconPosition:s="center",iconColor:a="green"}=t,l="disc"!==o;return(null==n?void 0:n.length)?e.jsx(Me,{className:"mt-2 space-y-1",variant:l?"unstyled":"default",children:n.map((t,n)=>e.jsxs(Te,{variant:l?"unstyled":"default",className:Ie(`${l?"flex":""} ${"top"===s?"items-start":"items-center"} gap-2 text-text-secondary`,r),children:[l&&e.jsx("div",{children:e.jsx(Ae,{name:o,size:i,color:Re[a],weight:"600",className:"top"===s?"mt-1":""})}),e.jsx(je,{as:"div",children:t})]},n))}):null};Xe.displayName="Checklist";const We=t.forwardRef(({as:t,className:n="",...o},r)=>{const i=Ie(n);if(t){const n=t;return e.jsx(n,{ref:r,className:i,...o})}return e.jsx("img",{ref:r,className:i,...o})});We.displayName="Image";const Fe=({onSelect:n,speed:o,isSelected:r=!1,renderCheckPlans:i,cta:s,techType:a,isMax:l})=>{const[c,u]=t.useState(!1),d=`btn-medium rounded-2xl pl-15 pr-15 inline-flex gap-2 items-center justify-center outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer transition-colors duration-200 align-top ${r?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,p=null==i?void 0:i({speedCardConfig:{isModalOpen:c,setModalOpen:()=>{u(!1)},speed:o,techType:a,isMax:l},cta:s});return e.jsxs(e.Fragment,{children:[e.jsxs(Ce,{onClick:()=>{u(!0),n()},className:Ie(d,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${o}`,"data-track-element-clicked":"speed_plan_card",children:[e.jsx("span",{children:"Select plan"}),e.jsx("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(r?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e.jsx(Ae,{name:"chevron_right",fill:1,size:24})})]}),p]})},Le=({planName:n,planSubtext:o,speed:r,price:i,description:s,bestValue:a=!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[I,C]=t.useState(!1),w=void 0!==h?h:I,A="dark"===d;return e.jsxs("article",{className:Ie("relative flex h-full w-full max-w-[392px] flex-col",!a&&"pt-[28px]"),children:[a&&e.jsx("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:l}),e.jsxs("div",{className:Ie("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",A?"bg-bg-fill-inverse text-white":"bg-white text-text",a?"rounded-t-none":""),children:[e.jsxs("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(je,{as:"h3",className:Ie("subheading2 whitespace-nowrap font-black",A?"text-bg-fill-brand-accent":"text-text-brand"),children:n}),e.jsx(je,{as:"p",className:`text-label3 font-black ${A?"text-bg-fill-brand-accent":"text-text-brand"} md:whitespace-nowrap`,children:o})]}),e.jsxs("div",{className:"flex items-start",children:[e.jsx("span",{className:"text-xl font-normal",children:"$"}),e.jsx("span",{className:"text-subheading6 font-medium leading-none",children:i.split(".")[0]}),e.jsxs("span",{className:"text-sm font-black",children:[i.split(".")[1],"/mo"]})]})]}),e.jsx("section",{children:e.jsx(je,{className:Ie("text-base",A?"text-white":"text-text"),children:s})}),e.jsx("div",{className:Ie("flex-col items-center rounded-xl p-2",A?"bg-bg-surface-inverse":"bg-gray-200"),children:c&&(null==c?void 0:c.map(t=>e.jsxs("div",{className:"flex items-center gap-2 p-1",children:[e.jsx(We,{src:t.icon,alt:t.title,width:24,height:24}),e.jsx(je,{as:"div",className:"text-sm font-bold",children:t.title})]},t.title)))}),e.jsx(Fe,{onSelect:g,speed:r,isSelected:A,renderCheckPlans:b,cta:v,techType:x,isMax:y}),m.length>0&&e.jsxs("section",{className:"flex flex-col gap-6",children:[e.jsxs(Ce,{onClick:()=>{f?f():C(!I)},className:"group flex w-full items-center justify-between text-left",children:[e.jsx(je,{as:"h4",className:"text-base font-bold",children:p}),e.jsx(Ae,{name:"keyboard_arrow_up",fill:1,size:24,className:Ie("transition-transform duration-300",w&&"rotate-180")})]}),e.jsxs("div",{className:Ie("overflow-hidden transition-all duration-300 ease-in-out",w?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e.jsx("div",{className:"flex flex-col gap-3",children:e.jsx(Xe,{items:m,iconColor:A?"yellow":"green",listItemClassName:""+(A?"text-white":"text-text")})}),(null==u?void 0:u.badgeIcon)?e.jsxs("div",{className:"flex items-center gap-2 text-center",children:[e.jsx(We,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e.jsx("span",{className:"text-sm",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(je,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},Oe=({title:t,quote:o,rating:r,author:i,role:s,avatarUrl:a,isActive:l=!1,className:u})=>e.jsxs("figure",{className:c("flex h-full w-full flex-col rounded-3xl p-6 font-sans transition-all duration-300 md:p-13",l?"bg-white shadow-lg":"bg-gray-50 opacity-60",u),children:[e.jsx("header",{children:e.jsx(je,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:t})}),e.jsx("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:o}),r?e.jsx("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,n)=>e.jsx(Ae,{size:24,name:"star",fill:1,className:c("h-5 w-5",n<r?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null,i&&e.jsxs("figcaption",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:a?e.jsx(n,{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:"text-sm font-bold not-italic text-text",children:i}),e.jsx(je,{as:"p",className:"text-xs text-text",children:s})]})]})]});function Ze({fields:n,renderCheckPlans:o}){var r,i,s,a;const l=(null===(s=null===(i=null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||void 0===i?void 0:i[0])||void 0===s?void 0:s.benefitsExpanded)||!1,[c,u]=t.useState(l),[d,p]=t.useState({}),[m,h]=t.useState(0),f=(null===(a=null==n?void 0:n.items)||void 0===a?void 0:a.items)||[],g=f.length>2,b=t.useRef([]),v=t.useCallback(()=>{g&&h(e=>(e+3)%f.length)},[g,f.length]),x=t.useCallback(()=>{g&&h(e=>(e-3+f.length)%f.length)},[g,f.length]);if(t.useEffect(()=>{if(!g)return;const e=()=>{const e=b.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)},[g,c,f.length]),!f.length&&!(null==n?void 0:n.title))return null;const y=(t,n,r=!1)=>{var i,s,a,l,m,h,f,g;const v=null===(i=null==t?void 0:t.speed)||void 0===i?void 0:i.split("|"),x=(null==v?void 0:v[0])||"",y=(null==v?void 0:v[1])||"",I=(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",C=`${(null==t?void 0:t.price)||"0"}.${I}`,w=(null===(l=null==t?void 0:t.benefits)||void 0===l?void 0:l.items)||[],A=(null==t?void 0:t.highlighted)||!1,N=(null===(h=null===(m=null==t?void 0:t.giftRewards)||void 0===m?void 0:m.list)||void 0===h?void 0:h.items)||[],j={badgeText:t.innerBadge||"",badgeIcon:(null===(f=t.innerBadgeIcon)||void 0===f?void 0:f.url)||""},k=r?d[n]||!1:c;return e.jsx("div",{ref:r?void 0:e=>{e&&!b.current.includes(e)&&(b.current[n]=e)},className:Ie(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e.jsx(Le,{planName:x,planSubtext:y,speed:(null==t?void 0:t.speed)||"",techType:(null==t?void 0:t.techType)||"",ismaxSpeed:(null==t?void 0:t.ismaxSpeed)||"",price:C,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:N,innerBadge:j,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:A,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:k,onToggleExpand:()=>{r?p(e=>({...e,[n]:!e[n]})):u(!c)},ctaText:(null===(g=null==t?void 0:t.cta)||void 0===g?void 0:g.buttonLabel)||"Select plan",onCtaClick:()=>{},renderCheckPlans:o,cta:t.cta,hostType:"smb"})},n)},I=[...f,...f,...f,...f,...f],C=2*f.length;return g?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"flex flex-col gap-6 md:hidden",children:f.map((e,t)=>y(e,t,!0))}),e.jsxs("div",{className:"relative hidden w-full md:block",children:[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:[e.jsx(Ce,{onClick:v,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(Ae,{name:"arrow_back",size:24})}),e.jsx(Ce,{onClick:x,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(Ae,{name:"arrow_forward",size:24})})]}),e.jsx("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e.jsx("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${C+m} * (392px + 12px)))`},children:I.map((e,t)=>y(e,t,!1))})})]})]}):e.jsx("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-8 px-4",children:f.map((e,t)=>y(e,t))})}const De=({fields:n})=>{var o;const r=(null===(o=null==n?void 0:n.items)||void 0===o?void 0:o.items)||[],[i,s]=t.useState(0),a=t.useRef(null),l=t.useCallback(()=>{0!==r.length&&s(e=>(e+1)%r.length)},[r.length]),c=t.useCallback(()=>{0!==r.length&&s(e=>0===e?r.length-1:e-1)},[r.length]);return t.useEffect(()=>{if(0!==r.length)return a.current=setInterval(()=>{l()},8e3),()=>{a.current&&clearInterval(a.current)}},[l,r.length]),r&&0!==r.length?e.jsxs("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e.jsx(Ce,{onClick:c,className:"group absolute left-4 top-1/2 z-20 hidden h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Previous",children:e.jsx(Ae,{name:"arrow_back",size:24})}),e.jsx("div",{className:"grid grid-cols-1 justify-items-center",children:r.map((t,n)=>{let o=n-i;const s=r.length;o>s/2&&(o-=s),o<-s/2&&(o+=s);const a=0===o;return e.jsx("div",{className:Ie("col-start-1 row-start-1 w-full md:max-w-[815px]",a?"opacity-100":"opacity-0","md:opacity-100"),style:{transform:`translateX(${a?"0%":105*o+"%"})`,zIndex:a?10:5,visibility:Math.abs(o)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e.jsx(Oe,{...t,isActive:a,className:"h-full"})},n)})}),e.jsx(Ce,{onClick:l,className:"group absolute right-4 top-1/2 z-20 hidden h-10 w-10 -translate-y-1/2 items-center justify-center rounded-full bg-white p-2 text-text shadow-md transition-colors hover:bg-gray-100 md:flex","aria-label":"Next",children:e.jsx(Ae,{name:"arrow_forward",size:24})}),e.jsx("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:r.map((t,n)=>e.jsx("button",{onClick:()=>s(n),className:Ie("h-2 w-2 rounded-full transition-all duration-300",i===n?"w-6 bg-white":"bg-white/40 hover:bg-white/60"),"aria-label":`Go to slide ${n+1}`},n))})]}):null},ze=({tabs:t,activeTab:n,onChange:o,className:r})=>e.jsx("div",{className:Ie("mx-auto my-6 flex w-fit rounded-2xl bg-white p-1",r),children:t.map(t=>e.jsx("button",{onClick:()=>o(t),className:Ie("min-w-[160px] whitespace-nowrap rounded-2xl bg-[#EEEEEE] px-4 py-2.5 text-label1 font-black transition-all duration-300",n===t?"bg-bg-fill-brand text-white shadow-md":"text-text-info hover:bg-[#E5E5E7]"),children:t},t))}),He=({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(Ae,{name:"play_arrow",size:72,fill:1,className:"transition-colors duration-300 "+(t?"text-text-brand":"text-slate-500 group-hover:text-text-brand")})}),Ye=n=>{const{link:o,containerClassName:r,autoplay:i=!1,debug:s=!1}=n,{href:a,embedId:l}=t.useMemo(()=>{if(!o)return{href:"",embedId:""};const e=o.toString(),t=(e=>{const t=e.split(/[?#]/)[0].replace(/\/+$/,""),n=t.match(/vimeo\.com\/(?:.*\/)?(\d{6,})/)||t.match(/player\.vimeo\.com\/video\/(\d{6,})/),o=t.split("/"),r=o[o.length-1];return(null==n?void 0:n[1])?n[1]===r?n[1]:`${n[1]}/${r}`:""})(e);return{href:e,embedId:t}},[o]);if(s&&console.log("[VimeoEmbed] href:",a,"id:",l),!l)return null;const c=function(e){try{const t=new URL(e),n=t.pathname.split("/").filter(Boolean);if("video"===n[0]&&n.length>=2){const e=n[1],o=n[2],r=`https://player.vimeo.com/video/${e}`;return o&&/^[a-f0-9]+$/i.test(o)&&t.searchParams.set("h",o),`${r}?${t.searchParams.toString()}`}return e}catch(t){return e}}(`https://player.vimeo.com/video/${l}?${new URLSearchParams({autoplay:i?"1":"0",muted:"0",playsinline:"1",dnt:"1",title:"0",byline:"0",portrait:"0",autopause:"1"}).toString()}`);return e.jsx("div",{className:Ie("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:c,allow:"autoplay; fullscreen; picture-in-picture",allowFullScreen:!0,referrerPolicy:"strict-origin-when-cross-origin",title:"Embedded vimeo"})})};const Je=n=>{const{link:o,containerClassName:r,autoplay:i=!1}=n,s=t.useMemo(()=>{if(!o)return"";const e=o.toString().match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/);return e&&11===e[7].length?e[7]:""},[o]),a=i?"?autoplay=1":"";return e.jsx("div",{className:Ie("relative h-0 w-full overflow-hidden pb-[56.25%]",r),children:e.jsx("iframe",{className:"absolute left-0 top-0 h-full w-full",src:`https://www.youtube.com/embed/${s}${a}`,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0,title:"Embedded youtube"})})},Ue=({link:n,anchorName:o})=>{const[r,i]=t.useState(!1),s=t.useRef(null);if(((e,n)=>{const o=t=>{var o;(null===(o=null==e?void 0:e.current)||void 0===o?void 0:o.contains(t.target))||n()};t.useEffect(()=>(document.addEventListener("click",o),()=>{document.removeEventListener("click",o)}))})(s,()=>i(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Ve,{...n,linkClassName:"body3 flex items-center text-text-link h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:a,title:l,items:c}=n,u=Array.isArray(null==c?void 0:c.items)?c.items:[],d=`--link-anchor-${o}`;return e.jsxs("div",{className:"relative h-full",style:{anchorName:d},ref:s,children:[e.jsxs(Ve,{onClick:()=>i(e=>!e),"aria-expanded":r,buttonClassName:"group body3 flex h-full items-center",showButtonAs:"unstyled",children:[e.jsx(je,{as:"span",className:"group-hover:underline",children:null!=l?l:null}),e.jsx(Ae,{weight:"700",className:"text-icon-info group-hover:opacity-50",name:r?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),e.jsx("div",{className:Ie("fixed z-10 min-w-44 rounded-xl bg-bg shadow-lg","transition-[opacity,transform] ease-out",r&&u.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:d,top:"anchor(bottom)",right:"anchor(right)"},children:e.jsx("ul",{className:"flex flex-col gap-2 py-2",children:u.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Ve,{...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}`))})})]})},$e=({link:n})=>{const[o,r]=t.useState(!1);if(!n)return null;if((e=>"string"==typeof e.href)(n))return e.jsx(Ve,{...n,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:i,title:s,items:a}=n,l=Array.isArray(null==a?void 0:a.items)?a.items:[];return e.jsxs(e.Fragment,{children:[e.jsxs(Ve,{onClick:()=>r(e=>!e),"aria-expanded":o,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=s?s:null,e.jsx(Ae,{weight:"700",name:o?"keyboard_arrow_up":"keyboard_arrow_down"})]},i),o&&l.length>0&&e.jsx(Qe,{items:l})]})},Qe=({items:t})=>e.jsx("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e.jsx("li",{className:"submenu-link",children:e.jsx(Ve,{...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}`),_e=t=>{const{showBlinkDot:n=!1,buttonStyle:o="primary",size:r="md",children:i,className:s,...a}=t;return e.jsxs(Pe,{...a,className:Ie("relative flex items-center gap-2 font-medium tracking-wide outline-offset-4 rounded-full",{sm:"h-6 text-xs pl-1 pr-2",md:"h-8 text-sm pl-1 pr-2",lg:"h-10 text-base pl-2 pr-3"}[r],{primary:"border-[0.727px] border-border text-text"}[o],s),children:[n?e.jsx("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[r]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[r]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e.jsx("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[r]} items-center justify-center rounded-full bg-icon-brand`,children:e.jsx(Ae,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[r],className:"text-white"})}),e.jsx("span",{className:"font-normal tracking-wide",children:i})]})};_e.displayName="CallButton";const Ke=t.forwardRef((n,o)=>{const{className:r,size:i,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:I,...C}=n,w=y?"error":c,[A,N]=t.useState(!1),[j,k]=t.useState(!1),[G,P]=t.useState(I||"text"),V=t.useCallback(e=>{e.stopPropagation(),P(e=>"password"===e?"text":"password")},[]);return e.jsxs("div",{className:"relative",children:[l?e.jsx("label",{htmlFor:l,className:Ie("inline-block pb-1"),children:e.jsxs(je,{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:Ie("relative flex flex-row items-center overflow-hidden rounded-input border border-input-border bg-input-bg-surface",{sm:"h-[48px] px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],b,(A||"hover"===w)&&!j&&"error"!==w&&"border-input-border-hover",(j||"focus"===w||"active"===w)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===w&&"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(Ae,{name:d,fill:p?1:0,size:h,className:Ie(v)})}):null,e.jsx("input",{ref:o,id:l,disabled:x||C.disabled,className:Ie("h-full grow rounded-input p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",r),placeholder:a,type:G,...C,onMouseOver:()=>N(!0),onMouseOut:()=>N(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),k(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),k(!1)}}),f?e.jsx("div",{className:"ml-2",style:{width:g,height:g,overflow:"hidden"},onClick:V,children:e.jsx(Ae,{name:"text"===G?"visibility":"visibility_off",size:g,fill:m?1:0})}):null]}),"error"===w&&u&&""!=u?e.jsxs(je,{className:Ie("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e.jsx(Ae,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});Ke.displayName="Input";const qe=n=>{var o;const{primaryNavigationLinks:r,utilityNavigationLinks:i}=n,[s,a]=t.useState(!1);t.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=s?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],o=t[t.length-1],r=e=>{var t,r,i,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(r=(t=o).focus)||void 0===r||r.call(t),e.preventDefault()):document.activeElement===o&&(null===(s=(i=n).focus)||void 0===s||s.call(i),e.preventDefault()))};return window.addEventListener("keydown",r),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",r)}},[s]);const l=()=>{a(!1)};return e.jsxs("div",{children:[e.jsx(Ve,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>a(!0),children:e.jsx(Ae,{name:"menu"})}),s?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:Ie("fixed bottom-0 right-0 top-0","z-[100] h-full bg-bg px-0 py-4","transition-all duration-300 ease-in-out","block",s?"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:"flex items-center justify-between px-4",children:[e.jsx("div",{children:e.jsx(_e,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e.jsx("div",{children:e.jsx(Ve,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:l,children:e.jsx(Ae,{name:"close"})})})]}),e.jsx(et,{closeMenu:l,isMenuOpen:s,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(o=n.searchBarIcon)||void 0===o?void 0:o.url)||"",onSearch:n.onSearch||(()=>{})}),e.jsxs("div",{className:"flex-grow overflow-y-auto",children:[e.jsx("ul",{className:"mt-2 flex flex-col gap-2",children:null==r?void 0:r.map((t,n)=>e.jsx("li",{children:e.jsx($e,{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((t,n)=>e.jsx("li",{children:e.jsx(Ve,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:Ie("footnote flex items-center w-full h-11 text-text-link",1===n&&"label4"),linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`)},`main-menu-items-${n}`))})]})]})})]})},et=n=>{const{closeMenu:o,onSearch:r,isMenuOpen:i,searchBarIconURL:s}=n,[a,l]=t.useState(""),c=t.useRef(null),u=e=>{o(),e.preventDefault(),r(a)};return t.useEffect(()=>{i||l("")},[i]),e.jsxs("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e.jsx(Se,{src:s,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e.jsx("div",{className:"flex-grow",children:e.jsx(Ke,{ref:c,className:"h-[34px] rounded-none text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:a,onChange:e=>l(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},tt=n=>{const{searchBarIconURL:o,onSearch:r}=n,[i,s]=t.useState(""),a=t.useRef(null),l=e=>{e.preventDefault(),r(i)};return e.jsxs("form",{name:"searchForm",className:"flex h-9 w-60 rounded-full border transition-colors focus-within:border-border-focus",onSubmit:l,children:[e.jsx(Se,{src:o,width:32,height:32,alt:"Search icon",role:"button",onClick:l}),e.jsx(Ke,{ref:a,className:"rounded-full p-0 text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:i,onChange:e=>s(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},nt={closed:{opacity:0},open:{opacity:1}},ot={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},rt={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},it=t.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),st=t.createContext({}),at=t.createContext(null),lt="undefined"!=typeof document,ct=lt?t.useLayoutEffect:t.useEffect,ut=t.createContext({strict:!1});function dt(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function pt(e){return"string"==typeof e||Array.isArray(e)}function mt(e){return"object"==typeof e&&"function"==typeof e.start}const ht=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ft=["initial",...ht];function gt(e){return mt(e.animate)||ft.some(t=>pt(e[t]))}function bt(e){return Boolean(gt(e)||e.variants)}function vt(e){const{initial:n,animate:o}=function(e,t){if(gt(e)){const{initial:t,animate:n}=e;return{initial:!1===t||pt(t)?t:void 0,animate:pt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,t.useContext(st));return t.useMemo(()=>({initial:n,animate:o}),[xt(n),xt(o)])}function xt(e){return Array.isArray(e)?e.join(" "):e}const yt={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"]},It={};for(const e in yt)It[e]={isEnabled:t=>yt[e].some(e=>!!t[e])};const Ct=t.createContext({}),wt=t.createContext({}),At=Symbol.for("motionComponentSymbol");function Nt({preloadedFeatures:e,createVisualElement:n,useRender:o,useVisualState:r,Component:i}){e&&function(e){for(const t in e)It[t]={...It[t],...e[t]}}(e);const s=t.forwardRef(function(s,l){let c;const u={...t.useContext(it),...s,layoutId:jt(s)},{isStatic:d}=u,p=vt(s),m=r(s,d);if(!d&&lt){p.visualElement=function(e,n,o,r){const{visualElement:i}=t.useContext(st),s=t.useContext(ut),a=t.useContext(at),l=t.useContext(it).reducedMotion,c=t.useRef();r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:n,parent:i,props:o,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:l}));const u=c.current;return t.useInsertionEffect(()=>{u&&u.update(o,a)}),ct(()=>{u&&u.render()}),t.useEffect(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?ct:t.useEffect)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(i,m,u,n);const o=t.useContext(wt),r=t.useContext(ut).strict;p.visualElement&&(c=p.visualElement.loadFeatures(u,r,e,o))}return a.createElement(st.Provider,{value:p},c&&p.visualElement?a.createElement(c,{visualElement:p.visualElement,...u}):null,o(i,s,function(e,n,o){return t.useCallback(t=>{t&&e.mount&&e.mount(t),n&&(t?n.mount(t):n.unmount()),o&&("function"==typeof o?o(t):dt(o)&&(o.current=t))},[n])}(m,p.visualElement,l),m,d,p.visualElement))});return s[At]=i,s}function jt({layoutId:e}){const n=t.useContext(Ct).id;return n&&void 0!==e?n+"-"+e:e}function kt(e){function t(t,n={}){return Nt(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const Gt=["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 Pt(e){return"string"==typeof e&&!e.includes("-")&&!!(Gt.indexOf(e)>-1||/[A-Z]/.test(e))}const Vt={};const Bt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],St=new Set(Bt);function Et(e,{layout:t,layoutId:n}){return St.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Vt[e]||"opacity"===e)}const Rt=e=>Boolean(e&&e.getVelocity),Tt={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Mt=Bt.length;const Xt=e=>t=>"string"==typeof t&&t.startsWith(e),Wt=Xt("--"),Ft=Xt("var(--"),Lt=(e,t)=>t&&"number"==typeof e?t.transform(e):e,Ot=(e,t,n)=>Math.min(Math.max(n,e),t),Zt={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Dt={...Zt,transform:e=>Ot(0,1,e)},zt={...Zt,default:1},Ht=e=>Math.round(1e5*e)/1e5,Yt=/(-)?([\d]*\.?[\d])+/g,Jt=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,Ut=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function $t(e){return"string"==typeof e}const Qt=e=>({test:t=>$t(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),_t=Qt("deg"),Kt=Qt("%"),qt=Qt("px"),en=Qt("vh"),tn=Qt("vw"),nn={...Kt,parse:e=>Kt.parse(e)/100,transform:e=>Kt.transform(100*e)},on={...Zt,transform:Math.round},rn={borderWidth:qt,borderTopWidth:qt,borderRightWidth:qt,borderBottomWidth:qt,borderLeftWidth:qt,borderRadius:qt,radius:qt,borderTopLeftRadius:qt,borderTopRightRadius:qt,borderBottomRightRadius:qt,borderBottomLeftRadius:qt,width:qt,maxWidth:qt,height:qt,maxHeight:qt,size:qt,top:qt,right:qt,bottom:qt,left:qt,padding:qt,paddingTop:qt,paddingRight:qt,paddingBottom:qt,paddingLeft:qt,margin:qt,marginTop:qt,marginRight:qt,marginBottom:qt,marginLeft:qt,rotate:_t,rotateX:_t,rotateY:_t,rotateZ:_t,scale:zt,scaleX:zt,scaleY:zt,scaleZ:zt,skew:_t,skewX:_t,skewY:_t,distance:qt,translateX:qt,translateY:qt,translateZ:qt,x:qt,y:qt,z:qt,perspective:qt,transformPerspective:qt,opacity:Dt,originX:nn,originY:nn,originZ:qt,zIndex:on,fillOpacity:Dt,strokeOpacity:Dt,numOctaves:on};function sn(e,t,n,o){const{style:r,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,u=!0;for(const e in t){const n=t[e];if(Wt(e)){i[e]=n;continue}const o=rn[e],d=Lt(n,o);if(St.has(e)){if(l=!0,s[e]=d,!u)continue;n!==(o.default||0)&&(u=!1)}else e.startsWith("origin")?(c=!0,a[e]=d):r[e]=d}if(t.transform||(l||o?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},o,r){let i="";for(let t=0;t<Mt;t++){const n=Bt[t];void 0!==e[n]&&(i+=`${Tt[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),r?i=r(e,o?"":i):n&&o&&(i="none"),i}(e.transform,n,u,o):r.transform&&(r.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}const an=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ln(e,t,n){for(const o in t)Rt(t[o])||Et(o,n)||(e[o]=t[o])}function cn(e,n,o){const r={};return ln(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},n,o){return t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return sn(t,n,{enableHardwareAcceleration:!o},e),Object.assign({},t.vars,t.style)},[n])}(e,n,o)),e.transformValues?e.transformValues(r):r}function un(e,t,n){const o={},r=cn(e,t,n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=r,o}const dn=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 pn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||dn.has(e)}let mn=e=>!pn(e);try{(hn=require("@emotion/is-prop-valid").default)&&(mn=e=>e.startsWith("on")?!pn(e):hn(e))}catch(e){}var hn;function fn(e,t,n){return"string"==typeof e?e:qt.transform(t+n*e)}const gn={offset:"stroke-dashoffset",array:"stroke-dasharray"},bn={offset:"strokeDashoffset",array:"strokeDasharray"};function vn(e,{attrX:t,attrY:n,attrScale:o,originX:r,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...c},u,d,p){if(sn(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!==r||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${fn(t,e.x,e.width)} ${fn(n,e.y,e.height)}`}(f,void 0!==r?r:.5,void 0!==i?i:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==o&&(m.scale=o),void 0!==s&&function(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?gn:bn;e[i.offset]=qt.transform(-o);const s=qt.transform(t),a=qt.transform(n);e[i.array]=`${s} ${a}`}(m,s,a,l,!1)}const xn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),yn=e=>"string"==typeof e&&"svg"===e.toLowerCase();function In(e,n,o,r){const i=t.useMemo(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return vn(t,n,{enableHardwareAcceleration:!1},yn(r),e.transformTemplate),{...t.attrs,style:{...t.style}}},[n]);if(e.style){const t={};ln(t,e.style,e),i.style={...t,...i.style}}return i}function Cn(e=!1){return(n,o,r,{latestValues:i},s)=>{const a=(Pt(n)?In:un)(o,i,s,n),l=function(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||(mn(r)||!0===n&&pn(r)||!t&&!pn(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}(o,"string"==typeof n,e),c={...l,...a,ref:r},{children:u}=o,d=t.useMemo(()=>Rt(u)?u.get():u,[u]);return t.createElement(n,{...c,children:d})}}const wn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function An(e,{style:t,vars:n},o,r){Object.assign(e.style,t,r&&r.getProjectionStyles(o));for(const t in n)e.style.setProperty(t,n[t])}const Nn=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 jn(e,t,n,o){An(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(Nn.has(n)?n:wn(n),t.attrs[n])}function kn(e,t){const{style:n}=e,o={};for(const r in n)(Rt(n[r])||t.style&&Rt(t.style[r])||Et(r,e))&&(o[r]=n[r]);return o}function Gn(e,t){const n=kn(e,t);for(const o in e)if(Rt(e[o])||Rt(t[o])){n[-1!==Bt.indexOf(o)?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o]=e[o]}return n}function Pn(e,t,n,o={},r={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,o,r)),t}const Vn=e=>Array.isArray(e),Bn=e=>Vn(e)?e[e.length-1]||0:e;function Sn(e){const t=Rt(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const En=e=>(n,o)=>{const r=t.useContext(st),i=t.useContext(at),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},o,r,i){const s={latestValues:Rn(o,r,i,e),renderState:t()};return n&&(s.mount=e=>n(o,e,s)),s}(e,n,r,i);return o?s():function(e){const n=t.useRef(null);return null===n.current&&(n.current=e()),n.current}(s)};function Rn(e,t,n,o){const r={},i=o(e,{});for(const e in i)r[e]=Sn(i[e]);let{initial:s,animate:a}=e;const l=gt(e),c=bt(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&&!mt(d)){(Array.isArray(d)?d:[d]).forEach(t=>{const n=Pn(e,t);if(!n)return;const{transitionEnd:o,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[u?t.length-1:0]}null!==t&&(r[e]=t)}for(const e in o)r[e]=o[e]})}return r}const Tn={useVisualState:En({scrapeMotionValuesFromProps:Gn,createRenderState:xn,onMount:(e,t,{renderState:n,latestValues:o})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}vn(n,o,{enableHardwareAcceleration:!1},yn(t.tagName),e.transformTemplate),jn(t,n)}})},Mn={useVisualState:En({scrapeMotionValuesFromProps:kn,createRenderState:an})};function Xn(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}const Wn=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function Fn(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function Ln(e,t,n,o){return Xn(e,t,(e=>t=>Wn(t)&&e(t,Fn(t)))(n),o)}const On=(e,t)=>n=>t(e(n)),Zn=(...e)=>e.reduce(On);function Dn(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const zn=Dn("dragHorizontal"),Hn=Dn("dragVertical");function Yn(e){let t=!1;if("y"===e)t=Hn();else if("x"===e)t=zn();else{const e=zn(),n=Hn();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Jn(){const e=Yn(!0);return!e||(e(),!1)}class Un{constructor(e){this.isMounted=!1,this.node=e}update(){}}const $n={delta:0,timestamp:0,isProcessing:!1};let Qn=!0,_n=!1;const Kn=["read","update","preRender","render","postRender"],qn=Kn.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],o=0,r=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&r,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&r&&(o=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(r)i=!0;else{if(r=!0,[t,n]=[n,t],n.length=0,o=t.length,o)for(let n=0;n<o;n++){const o=t[n];o(l),s.has(o)&&(a.schedule(o),e())}r=!1,i&&(i=!1,a.process(l))}}};return a}(()=>_n=!0),e),{}),eo=e=>qn[e].process($n),to=e=>{_n=!1,$n.delta=Qn?1e3/60:Math.max(Math.min(e-$n.timestamp,40),1),$n.timestamp=e,$n.isProcessing=!0,Kn.forEach(eo),$n.isProcessing=!1,_n&&(Qn=!1,requestAnimationFrame(to))},no=Kn.reduce((e,t)=>{const n=qn[t];return e[t]=(e,t=!1,o=!1)=>(_n||(_n=!0,Qn=!0,$n.isProcessing||requestAnimationFrame(to)),n.schedule(e,t,o)),e},{});function oo(e){Kn.forEach(t=>qn[t].cancel(e))}function ro(e,t){const n="pointer"+(t?"enter":"leave"),o="onHover"+(t?"Start":"End");return Ln(e.current,n,(n,r)=>{if("touch"===n.type||Jn())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[o]&&no.update(()=>i[o](n,r))},{passive:!e.getProps()[o]})}const io=(e,t)=>!!t&&(e===t||io(e,t.parentElement)),so=e=>e;function ao(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Fn(n))}const lo=new WeakMap,co=new WeakMap,uo=e=>{const t=lo.get(e.target);t&&t(e)},po=e=>{e.forEach(uo)};function mo(e,t,n){const o=function({root:e,...t}){const n=e||document;co.has(n)||co.set(n,{});const o=co.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(po,{root:e,...t})),o[r]}(t);return lo.set(e,n),o.observe(e),()=>{lo.delete(e),o.unobserve(e)}}const ho={some:0,all:1};const fo={inView:{Feature:class extends Un{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:o="some",once:r}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:ho[o]};return mo(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),i=t?n:o;i&&i(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Un{constructor(){super(...arguments),this.removeStartListeners=so,this.removeEndListeners=so,this.removeAccessibleListeners=so,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),o=Ln(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:o}=this.node.getProps();no.update(()=>{io(this.node.current,e.target)?n&&n(e,t):o&&o(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),r=Ln(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Zn(o,r),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=Xn(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Xn(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&ao("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&no.update(()=>n(e,t))})}),ao("down",(e,t)=>{this.startPress(e,t)})}),t=Xn(this.node.current,"blur",()=>{this.isPressing&&ao("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=Zn(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&no.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Jn()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&no.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=Ln(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=Xn(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Zn(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Un{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=Zn(Xn(this.node.current,"focus",()=>this.onFocus()),Xn(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Un{mount(){this.unmount=Zn(ro(this.node,!0),ro(this.node,!1))}unmount(){}}}};function go(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}function bo(e,t,n){const o=e.getProps();return Pn(o,t,void 0!==n?n:o.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const vo="data-"+wn("framerAppearId");let xo=so,yo=so;"production"!==process.env.NODE_ENV&&(xo=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},yo=(e,t)=>{if(!e)throw new Error(t)});const Io=e=>1e3*e,Co=e=>e/1e3,wo=!1,Ao=e=>Array.isArray(e)&&"number"==typeof e[0];function No(e){return Boolean(!e||"string"==typeof e&&ko[e]||Ao(e)||Array.isArray(e)&&e.every(No))}const jo=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,ko={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:jo([0,.65,.55,1]),circOut:jo([.55,0,1,.45]),backIn:jo([.31,.01,.66,-.59]),backOut:jo([.33,1.53,.69,.99])};function Go(e){if(e)return Ao(e)?jo(e):Array.isArray(e)?e.map(Go):ko[e]}const Po={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Vo={},Bo={};for(const e in Po)Bo[e]=()=>(void 0===Vo[e]&&(Vo[e]=Po[e]()),Vo[e]);const So=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Eo(e,t,n,o){if(e===t&&n===o)return so;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=So(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:So(r(e),t,o)}const Ro=Eo(.42,0,1,1),To=Eo(0,0,.58,1),Mo=Eo(.42,0,.58,1),Xo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Wo=e=>t=>1-e(1-t),Fo=e=>1-Math.sin(Math.acos(e)),Lo=Wo(Fo),Oo=Xo(Lo),Zo=Eo(.33,1.53,.69,.99),Do=Wo(Zo),zo=Xo(Do),Ho={linear:so,easeIn:Ro,easeInOut:Mo,easeOut:To,circIn:Fo,circInOut:Oo,circOut:Lo,backIn:Do,backInOut:zo,backOut:Zo,anticipate:e=>(e*=2)<1?.5*Do(e):.5*(2-Math.pow(2,-10*(e-1)))},Yo=e=>{if(Array.isArray(e)){yo(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,o,r]=e;return Eo(t,n,o,r)}return"string"==typeof e?(yo(void 0!==Ho[e],`Invalid easing type '${e}'`),Ho[e]):e},Jo=(e,t)=>n=>Boolean($t(n)&&Ut.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Uo=(e,t,n)=>o=>{if(!$t(o))return o;const[r,i,s,a]=o.match(Yt);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},$o={...Zt,transform:e=>Math.round((e=>Ot(0,255,e))(e))},Qo={test:Jo("rgb","red"),parse:Uo("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+$o.transform(e)+", "+$o.transform(t)+", "+$o.transform(n)+", "+Ht(Dt.transform(o))+")"};const _o={test:Jo("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:Qo.transform},Ko={test:Jo("hsl","hue"),parse:Uo("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+Kt.transform(Ht(t))+", "+Kt.transform(Ht(n))+", "+Ht(Dt.transform(o))+")"},qo={test:e=>Qo.test(e)||_o.test(e)||Ko.test(e),parse:e=>Qo.test(e)?Qo.parse(e):Ko.test(e)?Ko.parse(e):_o.parse(e),transform:e=>$t(e)?e:e.hasOwnProperty("red")?Qo.transform(e):Ko.transform(e)},er=(e,t,n)=>-n*e+n*t+e;function tr(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 nr=(e,t,n)=>{const o=e*e;return Math.sqrt(Math.max(0,n*(t*t-o)+o))},or=[_o,Qo,Ko];function rr(e){const t=(n=e,or.find(e=>e.test(n)));var n;yo(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let o=t.parse(e);return t===Ko&&(o=function({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=tr(a,o,e+1/3),i=tr(a,o,e),s=tr(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}(o)),o}const ir=(e,t)=>{const n=rr(e),o=rr(t),r={...n};return e=>(r.red=nr(n.red,o.red,e),r.green=nr(n.green,o.green,e),r.blue=nr(n.blue,o.blue,e),r.alpha=er(n.alpha,o.alpha,e),Qo.transform(r))};const sr={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:so},ar={regex:Jt,countKey:"Colors",token:"${c}",parse:qo.parse},lr={regex:Yt,countKey:"Numbers",token:"${n}",parse:Zt.parse};function cr(e,{regex:t,countKey:n,token:o,parse:r}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,o),e.values.push(...i.map(r)))}function ur(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&cr(n,sr),cr(n,ar),cr(n,lr),n}function dr(e){return ur(e).values}function pr(e){const{values:t,numColors:n,numVars:o,tokenised:r}=ur(e),i=t.length;return e=>{let t=r;for(let r=0;r<i;r++)t=r<o?t.replace(sr.token,e[r]):r<o+n?t.replace(ar.token,qo.transform(e[r])):t.replace(lr.token,Ht(e[r]));return t}}const mr=e=>"number"==typeof e?0:e;const hr={test:function(e){var t,n;return isNaN(e)&&$t(e)&&((null===(t=e.match(Yt))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(Jt))||void 0===n?void 0:n.length)||0)>0},parse:dr,createTransformer:pr,getAnimatableNone:function(e){const t=dr(e);return pr(e)(t.map(mr))}},fr=(e,t)=>n=>`${n>0?t:e}`;function gr(e,t){return"number"==typeof e?n=>er(e,t,n):qo.test(e)?ir(e,t):e.startsWith("var(")?fr(e,t):xr(e,t)}const br=(e,t)=>{const n=[...e],o=n.length,r=e.map((e,n)=>gr(e,t[n]));return e=>{for(let t=0;t<o;t++)n[t]=r[t](e);return n}},vr=(e,t)=>{const n={...e,...t},o={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(o[r]=gr(e[r],t[r]));return e=>{for(const t in o)n[t]=o[t](e);return n}},xr=(e,t)=>{const n=hr.createTransformer(t),o=ur(e),r=ur(t);return o.numVars===r.numVars&&o.numColors===r.numColors&&o.numNumbers>=r.numNumbers?Zn(br(o.values,r.values),n):(xo(!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.`),fr(e,t))},yr=(e,t,n)=>{const o=t-e;return 0===o?1:(n-e)/o},Ir=(e,t)=>n=>er(e,t,n);function Cr(e,t,n){const o=[],r=n||("number"==typeof(i=e[0])?Ir:"string"==typeof i?qo.test(i)?ir:xr:Array.isArray(i)?br:"object"==typeof i?vr:Ir);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=r(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||so:t;i=Zn(e,i)}o.push(i)}return o}function wr(e,t,{clamp:n=!0,ease:o,mixer:r}={}){const i=e.length;if(yo(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=Cr(t,o,r),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const o=yr(e[n],e[n+1],t);return s[n](o)};return n?t=>l(Ot(e[0],e[i-1],t)):l}function Ar(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const r=yr(0,t,o);e.push(er(n,1,r))}}(t,e.length-1),t}function Nr({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(o)?o.map(Yo):Yo(o),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Ar(t),e),a=wr(s,t,{ease:Array.isArray(r)?r:(l=t,c=r,l.map(()=>c||Mo).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function jr(e,t){return t?e*(1e3/t):0}function kr(e,t,n){const o=Math.max(t-5,0);return jr(n-e(o),t-o)}const Gr=.001;function Pr({duration:e=800,bounce:t=.25,velocity:n=0,mass:o=1}){let r,i;xo(e<=Io(10),"Spring duration must be 10 seconds or less");let s=1-t;s=Ot(.05,1,s),e=Ot(.01,10,Co(e)),s<1?(r=t=>{const o=t*s,r=o*e,i=o-n,a=Br(t,s),l=Math.exp(-r);return Gr-i/a*l},i=t=>{const o=t*s*e,i=o*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-o),c=Br(Math.pow(t,2),s);return(-r(t)+Gr>0?-1:1)*((i-a)*l)/c}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let o=n;for(let n=1;n<Vr;n++)o-=e(o)/t(o);return o}(r,i,5/e);if(e=Io(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*o;return{stiffness:t,damping:2*s*Math.sqrt(o*t),duration:e}}}const Vr=12;function Br(e,t){return e*Math.sqrt(1-t*t)}const Sr=["duration","bounce"],Er=["stiffness","damping","mass"];function Rr(e,t){return t.some(t=>void 0!==e[t])}function Tr({keyframes:e,restDelta:t,restSpeed:n,...o}){const r=e[0],i=e[e.length-1],s={done:!1,value:r},{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(!Rr(e,Er)&&Rr(e,Sr)){const n=Pr(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(o),m=u?-Co(u):0,h=l/(2*Math.sqrt(a*c)),f=i-r,g=Co(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=Br(g,h);v=t=>{const n=Math.exp(-h*g*t);return i-n*((m+h*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===h)v=e=>i-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),o=Math.min(e*t,300);return i-n*((m+h*g*f)*Math.sinh(o)+e*f*Math.cosh(o))/e}}return{calculatedDuration:p&&d||null,next:e=>{const o=v(e);if(p)s.done=e>=d;else{let r=m;0!==e&&(r=h<1?kr(v,e,o):0);const a=Math.abs(r)<=n,l=Math.abs(i-o)<=t;s.done=a&&l}return s.value=s.done?i:o,s}}}function Mr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=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/o),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,I;const C=e=>{var t;(t=p.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(y=e,I=Tr({keyframes:[p.value,m(p.value)],velocity:kr(v,e,p.value),damping:r,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return I||void 0!==y||(t=!0,x(e),C(e)),void 0!==y&&e>y?I.next(e-y):(!t&&x(e),p)}}}const Xr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>no.update(t,!0),stop:()=>oo(t),now:()=>$n.isProcessing?$n.timestamp:performance.now()}};function Wr(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 Fr={decay:Mr,inertia:Mr,tween:Nr,keyframes:Nr,spring:Tr};function Lr({autoplay:e=!0,delay:t=0,driver:n=Xr,keyframes:o,type:r="keyframes",repeat:i=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=Fr[r]||Nr;let y;x!==Nr&&"number"!=typeof o[0]&&(y=wr([0,100],o,{clamp:!1}),o=[0,100]);const I=x({...p,keyframes:o});let C;"mirror"===a&&(C=x({...p,keyframes:[...o].reverse(),velocity:-(p.velocity||0)}));let w="idle",A=null,N=null,j=null;null===I.calculatedDuration&&i&&(I.calculatedDuration=Wr(I));const{calculatedDuration:k}=I;let G=1/0,P=1/0;null!==k&&(G=k+s,P=G*(i+1)-s);let V=0;const B=e=>{if(null===N)return;f>0&&(N=Math.min(N,e)),V=null!==A?A:(e-N)*f;const n=V-t,r=n<0;V=Math.max(n,0),"finished"===w&&null===A&&(V=P);let l=V,c=I;if(i){const e=V/G;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const o=Boolean(t%2);o&&("reverse"===a?(n=1-n,s&&(n-=s/G)):"mirror"===a&&(c=C));let r=Ot(0,1,n);V>P&&(r="reverse"===a&&o?1:0),l=r*G}const u=r?{done:!1,value:o[0]}:c.next(l);y&&(u.value=y(u.value));let{done:p}=u;r||null===k||(p=V>=P);const m=null===A&&("finished"===w||"running"===w&&p||f<0&&V<=0);return d&&d(u.value),m&&R(),u},S=()=>{v&&v.stop(),v=void 0},E=()=>{w="idle",S(),b(),N=j=null},R=()=>{w="finished",u&&u(),S(),b()},T=()=>{if(g)return;v||(v=n(B));const e=v.now();l&&l(),null!==A?N=e-A:N&&"finished"!==w||(N=e),j=N,A=null,w="running",v.start()};e&&T();const M={then:(e,t)=>h.then(e,t),get time(){return Co(V)},set time(e){e=Io(e),V=e,null===A&&v&&0!==f?N=v.now()-e/f:A=e},get duration(){const e=null===I.calculatedDuration?Wr(I):I.calculatedDuration;return Co(e)},get speed(){return f},set speed(e){e!==f&&v&&(f=e,M.time=Co(V))},get state(){return w},play:T,pause:()=>{w="paused",A=V},stop:()=>{g=!0,"idle"!==w&&(w="idle",c&&c(),E())},cancel:()=>{null!==j&&B(j),E()},complete:()=>{w="finished"},sample:e=>(N=0,B(e))};return M}const Or=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function Zr(e,t,{onUpdate:n,onComplete:o,...r}){if(!(Bo.waapi()&&Or.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:u=300,ease:d,times:p}=r;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!No(t.ease))(t,r)){const e=Lr({...r,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let o=0;for(;!t.done&&o<2e4;)t=e.sample(o),n.push(t.value),o+=10;p=void 0,c=n,u=o-10,d="linear"}const m=function(e,t,n,{delay:o=0,duration:r,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Go(a);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:o,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...r,duration:u,ease:d,times:p}),h=()=>m.cancel(),f=()=>{no.update(h),i(),l()};return m.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:n="loop"}){return e[t&&"loop"!==n&&t%2==1?0:e.length-1]}(c,r)),o&&o(),f()},{then:(e,t)=>s.then(e,t),get time(){return Co(m.currentTime||0)},set time(e){m.currentTime=Io(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Co(u)},play:()=>{a||(m.play(),oo(h))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=Lr({...r,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const Dr={type:"spring",stiffness:500,damping:25,restSpeed:10},zr={type:"keyframes",duration:.8},Hr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Yr=(e,{keyframes:t})=>t.length>2?zr:St.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Dr:Hr,Jr=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!hr.test(t)&&"0"!==t||t.startsWith("url("))),Ur=new Set(["brightness","contrast","saturate","opacity"]);function $r(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(Yt)||[];if(!o)return e;const r=n.replace(o,"");let i=Ur.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const Qr=/([a-z-]*)\(.*?\)/g,_r={...hr,getAnimatableNone:e=>{const t=e.match(Qr);return t?t.map($r).join(" "):e}},Kr={...rn,color:qo,backgroundColor:qo,outlineColor:qo,fill:qo,stroke:qo,borderColor:qo,borderTopColor:qo,borderRightColor:qo,borderBottomColor:qo,borderLeftColor:qo,filter:_r,WebkitFilter:_r},qr=e=>Kr[e];function ei(e,t){let n=qr(e);return n!==_r&&(n=hr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ti=e=>/^0[^.\s]+$/.test(e);function ni(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||ti(e):void 0}function oi(e,t){return e[t]||e.default||e}const ri=(e,t,n,o={})=>r=>{const i=oi(o,e)||{},s=i.delay||o.delay||0;let{elapsed:a=0}=o;a-=Io(s);const l=function(e,t,n,o){const r=Jr(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==o.from?o.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),ni(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(r&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=ei(t,a);return i}(t,e,n,i),c=l[0],u=l[l.length-1],d=Jr(e,c),p=Jr(e,u);xo(d===p,`You are trying to animate ${e} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let m={keyframes:l,velocity:t.getVelocity(),ease:"easeOut",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{r(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:r,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(i)||(m={...m,...Yr(e,m)}),m.duration&&(m.duration=Io(m.duration)),m.repeatDelay&&(m.repeatDelay=Io(m.repeatDelay)),!d||!p||wo||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:o}){const r=()=>(n&&n(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:so,pause:so,stop:so,then:e=>(e(),Promise.resolve()),cancel:so,complete:so});return t?Lr({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=Zr(t,e,m);if(n)return n}return Lr(m)};function ii(e){return Boolean(Rt(e)&&e.add)}const si=e=>/^\-?\d*\.?\d+$/.test(e);function ai(e,t){-1===e.indexOf(t)&&e.push(t)}function li(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ci{constructor(){this.subscriptions=[]}add(e){return ai(this.subscriptions,e),()=>li(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r<o;r++){const o=this.subscriptions[r];o&&o(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ui=new Set;function di(e,t,n){e||ui.has(t)||(console.warn(t),ui.add(t))}class pi{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:o}=$n;this.lastUpdated!==o&&(this.timeDelta=n,this.lastUpdated=o,no.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=()=>no.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&&di(!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 ci);const n=this.events[e].add(t);return"change"===e?()=>{n(),no.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?jr(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 mi(e,t){return new pi(e,t)}const hi=e=>t=>t.test(e),fi=[Zt,qt,Kt,_t,tn,en,{test:e=>"auto"===e,parse:e=>e}],gi=e=>fi.find(hi(e)),bi=[...fi,qo,hr],vi=e=>bi.find(hi(e));function xi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,mi(n))}function yi(e,t){if(!t)return;return(t[e]||t.default||t).from}function Ii({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function Ci(e,t,{delay:n=0,transitionOverride:o,type:r}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");o&&(i=o);const c=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const t in a){const o=e.getValue(t),r=a[t];if(!o||void 0===r||u&&Ii(u,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!o.hasAnimated){const n=e.getProps()[vo];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,o,no))}o.start(ri(t,o,r,e.shouldReduceMotion&&St.has(t)?{type:!1}:s));const d=o.animation;ii(l)&&(l.add(t),d.then(()=>l.remove(t))),c.push(d)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=bo(e,t);let{transitionEnd:o={},transition:r={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...o};for(const t in i)xi(e,t,Bn(i[t]))}(e,s)}),c}function wi(e,t,n={}){const o=bo(e,t,n.custom);let{transition:r=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(r=n.transitionOverride);const i=o?()=>Promise.all(Ci(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=r;return function(e,t,n=0,o=0,r=1,i){const s=[],a=(e.variantChildren.size-1)*o,l=1===r?(e=0)=>e*o:(e=0)=>a-e*o;return Array.from(e.variantChildren).sort(Ai).forEach((e,o)=>{e.notify("AnimationStart",t),s.push(wi(e,t,{...i,delay:n+l(o)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+o,s,a,n)}:()=>Promise.resolve(),{when:a}=r;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Ai(e,t){return e.sortNodePosition(t)}const Ni=[...ht].reverse(),ji=ht.length;function ki(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>wi(e,t,n));o=Promise.all(r)}else if("string"==typeof t)o=wi(e,t,n);else{const r="function"==typeof t?bo(e,t,n.custom):t;o=Promise.all(Ci(e,r,n))}return o.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Gi(e){let t=ki(e);const n={animate:Vi(!0),whileInView:Vi(),whileHover:Vi(),whileTap:Vi(),whileDrag:Vi(),whileFocus:Vi(),exit:Vi()};let o=!0;const r=(t,n)=>{const o=bo(e,n);if(o){const{transition:e,transitionEnd:n,...r}=o;t={...t,...r,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],u=new Set;let d={},p=1/0;for(let t=0;t<ji;t++){const m=Ni[t],h=n[m],f=void 0!==a[m]?a[m]:l[m],g=pt(f),b=m===s?h.isActive:null;!1===b&&(p=t);let v=f===l[m]&&f!==a[m]&&g;if(v&&o&&e.manuallyAnimateOnMount&&(v=!1),h.protectedKeys={...d},!h.isActive&&null===b||!f&&!h.prevProp||mt(f)||"boolean"==typeof f)continue;const x=Pi(h.prevProp,f);let y=x||m===s&&h.isActive&&!v&&g||t>p&&g;const I=Array.isArray(f)?f:[f];let C=I.reduce(r,{});!1===b&&(C={});const{prevResolvedValues:w={}}=h,A={...w,...C},N=e=>{y=!0,u.delete(e),h.needsAnimating[e]=!0};for(const e in A){const t=C[e],n=w[e];d.hasOwnProperty(e)||(t!==n?Vn(t)&&Vn(n)?!go(t,n)||x?N(e):h.protectedKeys[e]=!0:void 0!==t?N(e):u.add(e):void 0!==t&&u.has(e)?N(e):h.protectedKeys[e]=!0)}h.prevProp=f,h.prevResolvedValues=C,h.isActive&&(d={...d,...C}),o&&e.blockInitialAnimation&&(y=!1),y&&!v&&c.push(...I.map(e=>({animation:e,options:{type:m,...i}})))}if(u.size){const t={};u.forEach(n=>{const o=e.getBaseTarget(n);void 0!==o&&(t[n]=o)}),c.push({animation:t})}let m=Boolean(c.length);return o&&!1===a.initial&&!e.manuallyAnimateOnMount&&(m=!1),o=!1,m?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,o,r){var s;if(n[t].isActive===o)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,o)}),n[t].isActive=o;const a=i(r,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Pi(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!go(t,e)}function Vi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Bi=0;const Si={animation:{Feature:class extends Un{constructor(e){super(e),e.animationState||(e.animationState=Gi(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),mt(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 Un{constructor(){super(...arguments),this.id=Bi++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===o)return;const r=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Ei=(e,t)=>Math.abs(e-t);class Ri{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=Xi(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Ei(e.x,t.x),o=Ei(e.y,t.y);return Math.sqrt(n**2+o**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:o}=e,{timestamp:r}=$n;this.history.push({...o,timestamp:r});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=Ti(t,this.transformPagePoint),no.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:o}=this.handlers,r=Xi("pointercancel"===e.type?this.lastMoveEventInfo:Ti(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,r),o&&o(e,r)},!Wn(e))return;this.handlers=t,this.transformPagePoint=n;const o=Ti(Fn(e),this.transformPagePoint),{point:r}=o,{timestamp:i}=$n;this.history=[{...r,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,Xi(o,this.history)),this.removeListeners=Zn(Ln(window,"pointermove",this.handlePointerMove),Ln(window,"pointerup",this.handlePointerUp),Ln(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),oo(this.updatePoint)}}function Ti(e,t){return t?{point:t(e.point)}:e}function Mi(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Xi({point:e},t){return{point:e,delta:Mi(e,Fi(t)),offset:Mi(e,Wi(t)),velocity:Li(t,.1)}}function Wi(e){return e[0]}function Fi(e){return e[e.length-1]}function Li(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=Fi(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>Io(t)));)n--;if(!o)return{x:0,y:0};const i=Co(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const s={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Oi(e){return e.max-e.min}function Zi(e,t=0,n=.01){return Math.abs(e-t)<=n}function Di(e,t,n,o=.5){e.origin=o,e.originPoint=er(t.min,t.max,e.origin),e.scale=Oi(n)/Oi(t),(Zi(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=er(n.min,n.max,e.origin)-e.originPoint,(Zi(e.translate)||isNaN(e.translate))&&(e.translate=0)}function zi(e,t,n,o){Di(e.x,t.x,n.x,o?o.originX:void 0),Di(e.y,t.y,n.y,o?o.originY:void 0)}function Hi(e,t,n){e.min=n.min+t.min,e.max=e.min+Oi(t)}function Yi(e,t,n){e.min=t.min-n.min,e.max=e.min+Oi(t)}function Ji(e,t,n){Yi(e.x,t.x,n.x),Yi(e.y,t.y,n.y)}function Ui(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 $i(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}const Qi=.35;function _i(e,t,n){return{min:Ki(e,t),max:Ki(e,n)}}function Ki(e,t){return"number"==typeof e?e:e[t]||0}const qi=()=>({x:{min:0,max:0},y:{min:0,max:0}});function es(e){return[e("x"),e("y")]}function ts({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function ns(e){return void 0===e||1===e}function os({scale:e,scaleX:t,scaleY:n}){return!ns(e)||!ns(t)||!ns(n)}function rs(e){return os(e)||is(e)||e.z||e.rotate||e.rotateX||e.rotateY}function is(e){return ss(e.x)||ss(e.y)}function ss(e){return e&&"0%"!==e}function as(e,t,n){return n+t*(e-n)}function ls(e,t,n,o,r){return void 0!==r&&(e=as(e,r,o)),as(e,n,o)+t}function cs(e,t=0,n=1,o,r){e.min=ls(e.min,t,n,o,r),e.max=ls(e.max,t,n,o,r)}function us(e,{x:t,y:n}){cs(e.x,t.translate,t.scale,t.originPoint),cs(e.y,n.translate,n.scale,n.originPoint)}function ds(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function ps(e,t){e.min=e.min+t,e.max=e.max+t}function ms(e,t,[n,o,r]){const i=void 0!==t[r]?t[r]:.5,s=er(e.min,e.max,i);cs(e,t[n],t[o],s,t.scale)}const hs=["x","scaleX","originX"],fs=["y","scaleY","originY"];function gs(e,t){ms(e.x,t,hs),ms(e.y,t,fs)}function bs(e,t){return ts(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}(e.getBoundingClientRect(),t))}const vs=new WeakMap;class xs{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 Ri(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(Fn(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:o,onDragStart:r}=this.getProps();if(n&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Yn(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),es(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Kt.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const o=n.layout.layoutBox[e];if(o){t=Oi(o)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&no.update(()=>r(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:o,onDirectionLock:r,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(o&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&no.update(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:o}=this.getProps();if(!n||!ys(e,o,this.currentDirection))return;const r=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},o){return void 0!==t&&e<t?e=o?er(t,e,o.min):Math.max(e,t):void 0!==n&&e>n&&(e=o?er(n,e,o.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),r.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},o=this.constraints;e&&dt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:Ui(e.x,n,r),y:Ui(e.y,t,o)}}(n.layoutBox,e),this.elastic=function(e=Qi){return!1===e?e=0:!0===e&&(e=Qi),{x:_i(e,"left","right"),y:_i(e,"top","bottom")}}(t),o!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&es(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||!dt(e))return!1;const n=e.current;yo(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const r=function(e,t,n){const o=bs(e,n),{scroll:r}=t;return r&&(ps(o.x,r.offset.x),ps(o.y,r.offset.y)),o}(n,o.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:$i(e.x,t.x),y:$i(e.y,t.y)}}(o.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=ts(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:o,dragTransition:r,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=es(s=>{if(!ys(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=o?200:1e6,u=o?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(ri(e,n,0,t))}stopAnimation(){es(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),o=n[t];return o||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){es(t=>{const{drag:n}=this.getProps();if(!ys(t,n,this.currentDirection))return;const{projection:o}=this.visualElement,r=this.getAxisMotionValue(t);if(o&&o.layout){const{min:n,max:i}=o.layout.layoutBox[t];r.set(e[t]-er(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!dt(t)||!n||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};es(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();o[e]=function(e,t){let n=.5;const o=Oi(e),r=Oi(t);return r>o?n=yr(t.min,t.max-o,e.min):o>r&&(n=yr(e.min,e.max-r,t.min)),Ot(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),es(t=>{if(!ys(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:i}=this.constraints[t];n.set(er(r,i,o[t]))})}addListeners(){if(!this.visualElement.current)return;vs.set(this.visualElement,this);const e=Ln(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();dt(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const r=Xn(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(es(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=Qi,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function ys(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Is=e=>(t,n)=>{e&&no.update(()=>e(t,n))};const Cs={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ws(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const As={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!qt.test(e))return e;e=parseFloat(e)}return`${ws(e,t.target.x)}% ${ws(e,t.target.y)}%`}},Ns={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=hr.parse(e);if(r.length>5)return o;const i=hr.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const c=er(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=c),"number"==typeof r[3+s]&&(r[3+s]/=c),i(r)}};class js extends t.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:o}=this.props,{projection:r}=e;var i;i=Gs,Object.assign(Vt,i),r&&(t.group&&t.group.add(r),n&&n.register&&o&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Cs.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:o,isPresent:r}=this.props,i=n.projection;return i?(i.isPresent=r,o||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?i.promote():i.relegate()||no.postRender(()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function ks(e){const[n,o]=function(){const e=t.useContext(at);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=e,i=t.useId();return t.useEffect(()=>r(i),[]),!n&&o?[!1,()=>o&&o(i)]:[!0]}(),r=t.useContext(Ct);return t.createElement(js,{...e,layoutGroup:r,switchLayoutGroup:t.useContext(wt),isPresent:n,safeToRemove:o})}const Gs={borderRadius:{...As,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:As,borderTopRightRadius:As,borderBottomLeftRadius:As,borderBottomRightRadius:As,boxShadow:Ns},Ps=["TopLeft","TopRight","BottomLeft","BottomRight"],Vs=Ps.length,Bs=e=>"string"==typeof e?parseFloat(e):e,Ss=e=>"number"==typeof e||qt.test(e);function Es(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Rs=Ms(0,.5,Lo),Ts=Ms(.5,.95,so);function Ms(e,t,n){return o=>o<e?0:o>t?1:n(yr(e,t,o))}function Xs(e,t){e.min=t.min,e.max=t.max}function Ws(e,t){Xs(e.x,t.x),Xs(e.y,t.y)}function Fs(e,t,n,o,r){return e=as(e-=t,1/n,o),void 0!==r&&(e=as(e,1/r,o)),e}function Ls(e,t,[n,o,r],i,s){!function(e,t=0,n=1,o=.5,r,i=e,s=e){Kt.test(t)&&(t=parseFloat(t),t=er(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=er(i.min,i.max,o);e===i&&(a-=t),e.min=Fs(e.min,t,n,a,r),e.max=Fs(e.max,t,n,a,r)}(e,t[n],t[o],t[r],t.scale,i,s)}const Os=["x","scaleX","originX"],Zs=["y","scaleY","originY"];function Ds(e,t,n,o){Ls(e.x,t,Os,n?n.x:void 0,o?o.x:void 0),Ls(e.y,t,Zs,n?n.y:void 0,o?o.y:void 0)}function zs(e){return 0===e.translate&&1===e.scale}function Hs(e){return zs(e.x)&&zs(e.y)}function Ys(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 Js(e){return Oi(e.x)/Oi(e.y)}class Us{constructor(){this.members=[]}add(e){ai(this.members,e),e.scheduleRender()}remove(e){if(li(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:o}=e.options;!1===o&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function $s(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y;if((r||i)&&(o=`translate3d(${r}px, ${i}px, 0) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:r}=n;e&&(o+=`rotate(${e}deg) `),t&&(o+=`rotateX(${t}deg) `),r&&(o+=`rotateY(${r}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(o+=`scale(${s}, ${a})`),o||"none"}const Qs=(e,t)=>e.depth-t.depth;class _s{constructor(){this.children=[],this.isDirty=!1}add(e){ai(this.children,e),this.isDirty=!0}remove(e){li(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Qs),this.isDirty=!1,this.children.forEach(e)}}const Ks=["","X","Y","Z"];let qs=0;const ea={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function ta({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=qs++,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;ea.totalNodes=ea.resolvedTargetDeltas=ea.recalculatedProjection=0,this.nodes.forEach(ra),this.nodes.forEach(da),this.nodes.forEach(pa),this.nodes.forEach(ia),e=ea,window.MotionDebug&&window.MotionDebug.record(e)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new _s)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ci),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:r,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n;const o=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(oo(o),e(i-t))};return no.read(o,!0),()=>oo(o)}(o,250),Cs.hasAnimatedSinceResize&&(Cs.hasAnimatedSinceResize=!1,this.nodes.forEach(ua))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||va,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Ys(this.targetLayout,o)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...oi(r,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ua(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,oo(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(ma),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(aa);this.isUpdating||this.nodes.forEach(la),this.isUpdating=!1,this.nodes.forEach(ca),this.nodes.forEach(na),this.nodes.forEach(oa),this.clearAllSnapshots();const e=performance.now();$n.delta=Ot(0,1e3/60,e-$n.timestamp),$n.timestamp=e,$n.isProcessing=!0,qn.update.process($n),qn.preRender.process($n),qn.render.process($n),$n.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(sa),this.sharedNodes.forEach(ha)}scheduleUpdateProjection(){no.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){no.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:o(this.instance),offset:n(this.instance)})}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!Hs(this.projectionDelta),n=this.getTransformTemplate(),o=n?n(this.latestValues,""):void 0,i=o!==this.prevTransformTemplateValue;e&&(t||rs(this.latestValues)||i)&&(r(this.instance,o),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var o;return e&&(n=this.removeTransform(n)),xa((o=n).x),xa(o.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(ps(t.x,n.offset.x),ps(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ws(t,e);for(let n=0;n<this.path.length;n++){const o=this.path[n],{scroll:r,options:i}=o;if(o!==this.root&&r&&i.layoutScroll){if(r.isRoot){Ws(t,e);const{scroll:n}=this.root;n&&(ps(t.x,-n.offset.x),ps(t.y,-n.offset.y))}ps(t.x,r.offset.x),ps(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Ws(n,e);for(let e=0;e<this.path.length;e++){const o=this.path[e];!t&&o.options.layoutScroll&&o.scroll&&o!==o.root&&gs(n,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),rs(o.latestValues)&&gs(n,o.latestValues)}return rs(this.latestValues)&&gs(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Ws(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!rs(n.latestValues))continue;os(n.latestValues)&&n.updateSnapshot();const o=qi();Ws(o,n.measurePageBox()),Ds(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,o)}return rs(this.latestValues)&&Ds(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!==$n.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const o=Boolean(this.resumingFrom)||this!==n;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:i}=this.options;if(this.layout&&(r||i)){if(this.resolvedRelativeTargetAt=$n.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}},Ji(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Ws(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,Hi(s.x,a.x,l.x),Hi(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Ws(this.target,this.layout.layoutBox),us(this.target,this.targetDelta)):Ws(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}},Ji(this.relativeTargetOrigin,this.target,e.target),Ws(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ea.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!os(this.parent.latestValues)&&!is(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let o=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(o=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===$n.timestamp&&(o=!1),o)return;const{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!i)return;Ws(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let a=0;a<r;a++){i=n[a],s=i.projectionDelta;const r=i.instance;r&&r.style&&"contents"===r.style.display||(o&&i.options.layoutScroll&&i.scroll&&i!==i.root&&gs(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,us(e,s)),o&&rs(i.latestValues)&&gs(e,i.latestValues))}t.x=ds(t.x),t.y=ds(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;zi(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=$s(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ea.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const 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(ba));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;fa(i.x,e.x,n),fa(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ji(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,o){ga(e.x,t.x,n.x,o),ga(e.y,t.y,n.y,o)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&Ys(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Ws(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,o,r,i){r?(e.opacity=er(0,void 0!==n.opacity?n.opacity:1,Rs(o)),e.opacityExit=er(void 0!==t.opacity?t.opacity:1,0,Ts(o))):i&&(e.opacity=er(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,o));for(let r=0;r<Vs;r++){const i=`border${Ps[r]}Radius`;let s=Es(t,i),a=Es(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Ss(s)===Ss(a)?(e[i]=Math.max(er(Bs(s),Bs(a),o),0),(Kt.test(a)||Kt.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=er(t.rotate||0,n.rotate||0,o))}(r,o,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(oo(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=no.update(()=>{Cs.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const o=Rt(e)?e:mi(e);return o.start(ri("",o,t,n)),o.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&ya(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Oi(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=Oi(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}Ws(t,n),gs(t,r),zi(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Us);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const o={};for(let t=0;t<Ks.length;t++){const r="rotate"+Ks[t];n[r]&&(o[r]=n[r],e.setStaticValue(r,0))}e.render();for(const t in o)e.setStaticValue(t,o[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const o={};if(!this.instance||this.isSVG)return o;if(!this.isVisible)return{visibility:"hidden"};o.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,o.opacity="",o.pointerEvents=Sn(e.pointerEvents)||"",o.transform=r?r(this.latestValues,""):"none",o;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Sn(e.pointerEvents)||""),this.hasProjected&&!rs(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),o.transform=$s(this.projectionDeltaWithTransform,this.treeScale,s),r&&(o.transform=r(s,o.transform));const{x:a,y:l}=this.projectionDelta;o.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?o.opacity=i===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:o.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Vt){if(void 0===s[e])continue;const{correct:t,applyTo:n}=Vt[e],r="none"===o.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)o[n[t]]=r}else o[e]=r}return this.options.layoutId&&(o.pointerEvents=i===this?Sn(e.pointerEvents)||"":"none"),o}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(aa),this.root.sharedNodes.clear()}}}function na(e){e.updateLayout()}function oa(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;"size"===r?es(e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=Oi(o);o.min=t[e].min,o.max=o.min+r}):ya(r,n.layoutBox,t)&&es(o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=Oi(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};zi(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?zi(a,e.applyTransform(o,!0),n.measuredBox):zi(a,t,n.layoutBox);const l=!Hs(s);let c=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};Ji(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Ji(a,t,i.layoutBox),Ys(s,a)||(c=!0),o.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=o)}}}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 ra(e){ea.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 ia(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function sa(e){e.clearSnapshot()}function aa(e){e.clearMeasurements()}function la(e){e.isLayoutDirty=!1}function ca(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ua(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function da(e){e.resolveTargetDelta()}function pa(e){e.calcProjection()}function ma(e){e.resetRotation()}function ha(e){e.removeLeadSnapshot()}function fa(e,t,n){e.translate=er(t.translate,0,n),e.scale=er(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ga(e,t,n,o){e.min=er(t.min,n.min,o),e.max=er(t.max,n.max,o)}function ba(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const va={duration:.45,ease:[.4,0,.1,1]};function xa(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function ya(e,t,n){return"position"===e||"preserve-aspect"===e&&!Zi(Js(t),Js(n),.2)}const Ia=ta({attachResizeListener:(e,t)=>Xn(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Ca={current:void 0},wa=ta({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ca.current){const e=new Ia({});e.mount(window),e.setOptions({layoutScroll:!0}),Ca.current=e}return Ca.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Aa={pan:{Feature:class extends Un{constructor(){super(...arguments),this.removePointerDownListener=so}onPointerDown(e){this.session=new Ri(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:o}=this.node.getProps();return{onSessionStart:Is(e),onStart:Is(t),onMove:n,onEnd:(e,t)=>{delete this.session,o&&no.update(()=>o(e,t))}}}mount(){this.removePointerDownListener=Ln(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 Un{constructor(e){super(e),this.removeGroupControls=so,this.removeListeners=so,this.controls=new xs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||so}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:wa,MeasureLayout:ks}},Na=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ja(e,t,n=1){yo(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[o,r]=function(e){const t=Na.exec(e);if(!t)return[,];const[,n,o]=t;return[n,o]}(e);if(!o)return;const i=window.getComputedStyle(t).getPropertyValue(o);return i?i.trim():Ft(r)?ja(r,t,n+1):r}const ka=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ga=e=>ka.has(e),Pa=e=>e===Zt||e===qt,Va=(e,t)=>parseFloat(e.split(", ")[t]),Ba=(e,t)=>(n,{transform:o})=>{if("none"===o||!o)return 0;const r=o.match(/^matrix3d\((.+)\)$/);if(r)return Va(r[1],t);{const t=o.match(/^matrix\((.+)\)$/);return t?Va(t[1],e):0}},Sa=new Set(["x","y","z"]),Ea=Bt.filter(e=>!Sa.has(e));const Ra={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:Ba(4,13),y:Ba(5,14)},Ta=(e,t,n={},o={})=>{t={...t},o={...o};const r=Object.keys(t).filter(Ga);let i=[],s=!1;const a=[];if(r.forEach(r=>{const l=e.getValue(r);if(!e.hasValue(r))return;let c=n[r],u=gi(c);const d=t[r];let p;if(Vn(d)){const e=d.length,t=null===d[0]?1:0;c=d[t],u=gi(c);for(let n=t;n<e&&null!==d[n];n++)p?yo(gi(d[n])===p,"All keyframes must be of the same type"):(p=gi(d[n]),yo(p===u||Pa(u)&&Pa(p),"Keyframes must be of the same dimension as the current value"))}else p=gi(d);if(u!==p)if(Pa(u)&&Pa(p)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof d?t[r]=parseFloat(d):Array.isArray(d)&&p===qt&&(t[r]=d.map(parseFloat))}else(null==u?void 0:u.transform)&&(null==p?void 0:p.transform)&&(0===c||0===d)?0===c?l.set(p.transform(c)):t[r]=u.transform(d):(s||(i=function(e){const t=[];return Ea.forEach(n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(r),o[r]=void 0!==o[r]?o[r]:t[r],l.jump(d))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,r=((e,t,n)=>{const o=t.measureViewportBox(),r=t.current,i=getComputedStyle(r),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=Ra[e](o,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const o=t.getValue(n);o&&o.jump(a[n]),e[n]=Ra[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),lt&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:o}}return{target:t,transitionEnd:o}};function Ma(e,t,n,o){return(e=>Object.keys(e).some(Ga))(t)?Ta(e,t,n,o):{target:t,transitionEnd:o}}const Xa=(e,t,n,o)=>{const r=function(e,{...t},n){const o=e.current;if(!(o instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!Ft(t))return;const n=ja(t,o);n&&e.set(n)});for(const e in t){const r=t[e];if(!Ft(r))continue;const i=ja(r,o);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=r))}return{target:t,transitionEnd:n}}(e,t,o);return Ma(e,t=r.target,n,o=r.transitionEnd)},Wa={current:null},Fa={current:!1};const La=new WeakMap,Oa=Object.keys(It),Za=Oa.length,Da=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],za=ft.length;class Ha{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,visualState:r},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>no.render(this.render,!1,!0);const{latestValues:s,renderState:a}=r;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=o,this.options=i,this.isControllingVariants=gt(t),this.isVariantNode=bt(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]&&Rt(t)&&(t.set(s[e],!1),ii(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,La.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)),Fa.current||function(){if(Fa.current=!0,lt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wa.current=e.matches;e.addListener(t),t()}else Wa.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Wa.current),"production"!==process.env.NODE_ENV&&di(!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(){La.delete(this.current),this.projection&&this.projection.unmount(),oo(this.notifyUpdate),oo(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=St.has(e),o=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&no.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{o(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,o,r){let i,s;if("production"!==process.env.NODE_ENV&&o&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?xo(!1,e):yo(!1,e)}for(let e=0;e<Za;e++){const n=Oa[e],{isEnabled:o,Feature:r,ProjectionNode:a,MeasureLayout:l}=It[n];a&&(i=a),o(t)&&(!this.features[n]&&r&&(this.features[n]=new r(this)),l&&(s=l))}if(!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);const{layoutId:e,layout:n,drag:o,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(o)||s&&dt(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,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<Da.length;t++){const n=Da[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=function(e,t,n){const{willChange:o}=t;for(const r in t){const i=t[r],s=n[r];if(Rt(i))e.addValue(r,i),ii(o)&&o.add(r),"development"===process.env.NODE_ENV&&di("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(Rt(s))e.addValue(r,mi(i,{owner:e})),ii(o)&&o.remove(r);else if(s!==i)if(e.hasValue(r)){const t=e.getValue(r);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(r);e.addValue(r,mi(void 0!==t?t:i,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<za;e++){const n=ft[e],o=this.props[n];(pt(o)||!1===o)&&(t[n]=o)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=mi(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,o="string"==typeof n||"object"==typeof n?null===(t=Pn(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==o)return o;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||Rt(r)?void 0!==this.initialValues[e]&&void 0===o?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new ci),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Ya extends Ha{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:o},r){let i=function(e,t,n){const o={};for(const r in e){const e=yi(r,t);if(void 0!==e)o[r]=e;else{const e=n.getValue(r);e&&(o[r]=e.get())}}return o}(n,e||{},this);if(o&&(t&&(t=o(t)),n&&(n=o(n)),i&&(i=o(i))),r){!function(e,t,n){var o,r;const i=Object.keys(t).filter(t=>!e.hasValue(t)),s=i.length;if(s)for(let a=0;a<s;a++){const s=i[a],l=t[s];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(r=null!==(o=n[s])&&void 0!==o?o:e.readValue(s))&&void 0!==r?r:t[s]),null!=c&&("string"==typeof c&&(si(c)||ti(c))?c=parseFloat(c):!vi(c)&&hr.test(l)&&(c=ei(s,l)),e.addValue(s,mi(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=Xa(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class Ja extends Ya{readValueFromInstance(e,t){if(St.has(t)){const e=qr(t);return e&&e.default||0}{const o=(n=e,window.getComputedStyle(n)),r=(Wt(t)?o.getPropertyValue(t):o[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return bs(e,t)}build(e,t,n,o){sn(e,t,n,o.transformTemplate)}scrapeMotionValuesFromProps(e,t){return kn(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Rt(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,o){An(e,t,n,o)}}class Ua extends Ya{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(St.has(t)){const e=qr(t);return e&&e.default||0}return t=Nn.has(t)?t:wn(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Gn(e,t)}build(e,t,n,o){vn(e,t,n,this.isSVGTag,o.transformTemplate)}renderInstance(e,t,n,o){jn(e,t,0,o)}mount(e){this.isSVGTag=yn(e.tagName),super.mount(e)}}const $a=(e,t)=>Pt(e)?new Ua(t,{enableHardwareAcceleration:!1}):new Ja(t,{enableHardwareAcceleration:!0}),Qa={...Si,...fo,...Aa,...{layout:{ProjectionNode:wa,MeasureLayout:ks}}},_a=kt((e,t)=>function(e,{forwardMotionProps:t=!1},n,o){return{...Pt(e)?Tn:Mn,preloadedFeatures:n,useRender:Cn(t),createVisualElement:o,Component:e}}(e,t,Qa,$a));function Ka(){return Ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Ka.apply(null,arguments)}function qa(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(null==e||e(o),!1===n||!o.defaultPrevented)return null==t?void 0:t(o)}}function el(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function tl(...e){return t.useCallback(el(...e),e)}function nl(...e){const n=e[0];if(1===e.length)return n;const o=()=>{const o=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=o.reduce((t,{useScope:n,scopeName:o})=>({...t,...n(e)[`__scope${o}`]}),{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:r}),[r])}};return o.scopeName=n.scopeName,o}const ol=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?t.useLayoutEffect:()=>{},rl=a["useId".toString()]||(()=>{});let il=0;function sl(e){const[t,n]=a.useState(rl());return ol(()=>{n(e=>null!=e?e:String(il++))},[e]),e||(t?`radix-${t}`:"")}function al(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 ll({prop:e,defaultProp:n,onChange:o=()=>{}}){const[r,i]=function({defaultProp:e,onChange:n}){const o=t.useState(e),[r]=o,i=t.useRef(r),s=al(n);return t.useEffect(()=>{i.current!==r&&(s(r),i.current=r)},[r,i,s]),o}({defaultProp:n,onChange:o}),s=void 0!==e,a=s?e:r,l=al(o);return[a,t.useCallback(t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&l(n)}else i(t)},[s,e,i,l])]}const cl=t.forwardRef((e,n)=>{const{children:o,...r}=e,i=t.Children.toArray(o),s=i.find(pl);if(s){const e=s.props.children,o=i.map(n=>n===s?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return t.createElement(ul,Ka({},r,{ref:n}),t.isValidElement(e)?t.cloneElement(e,void 0,o):null)}return t.createElement(ul,Ka({},r,{ref:n}),o)});cl.displayName="Slot";const ul=t.forwardRef((e,n)=>{const{children:o,...r}=e;return t.isValidElement(o)?t.cloneElement(o,{...ml(r,o.props),ref:n?el(n,o.ref):o.ref}):t.Children.count(o)>1?t.Children.only(null):null});ul.displayName="SlotClone";const dl=({children:e})=>t.createElement(t.Fragment,null,e);function pl(e){return t.isValidElement(e)&&e.type===dl}function ml(e,t){const n={...t};for(const o in t){const r=e[o],i=t[o];/^on[A-Z]/.test(o)?r&&i?n[o]=(...e)=>{i(...e),r(...e)}:r&&(n[o]=r):"style"===o?n[o]={...r,...i}:"className"===o&&(n[o]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}const hl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,n)=>{const o=t.forwardRef((e,o)=>{const{asChild:r,...i}=e,s=r?cl:n;return t.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),t.createElement(s,Ka({},i,{ref:o}))});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{});const fl="dismissableLayer.update",gl="dismissableLayer.pointerDownOutside",bl="dismissableLayer.focusOutside";let vl;const xl=t.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),yl=t.forwardRef((e,n)=>{var o;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...u}=e,d=t.useContext(xl),[p,m]=t.useState(null),h=null!==(o=null==p?void 0:p.ownerDocument)&&void 0!==o?o:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,f]=t.useState({}),g=tl(n,e=>m(e)),b=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),x=b.indexOf(v),y=p?b.indexOf(p):-1,I=d.layersWithOutsidePointerEventsDisabled.size>0,C=y>=x,w=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const o=al(e),r=t.useRef(!1),i=t.useRef(()=>{});return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){const t={originalEvent:e};function s(){Cl(gl,o,t,{discrete:!0})}"touch"===e.pointerType?(n.removeEventListener("click",i.current),i.current=s,n.addEventListener("click",i.current,{once:!0})):s()}else n.removeEventListener("click",i.current);r.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",i.current)}},[n,o]),{onPointerDownCapture:()=>r.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),A=function(e,n=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const o=al(e),r=t.useRef(!1);return t.useEffect(()=>{const e=e=>{if(e.target&&!r.current){Cl(bl,o,{originalEvent:e},{discrete:!1})}};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,o]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.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 o=al(e);t.useEffect(()=>{const e=e=>{"Escape"===e.key&&o(e)};return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[o,n])}(e=>{y===d.layers.size-1&&(null==i||i(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},h),t.useEffect(()=>{if(p)return r&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(vl=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),Il(),()=>{r&&1===d.layersWithOutsidePointerEventsDisabled.size&&(h.body.style.pointerEvents=vl)}},[p,h,r,d]),t.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),Il())},[p,d]),t.useEffect(()=>{const e=()=>f({});return document.addEventListener(fl,e),()=>document.removeEventListener(fl,e)},[]),t.createElement(hl.div,Ka({},u,{ref:g,style:{pointerEvents:I?C?"auto":"none":void 0,...e.style},onFocusCapture:qa(e.onFocusCapture,A.onFocusCapture),onBlurCapture:qa(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:qa(e.onPointerDownCapture,w.onPointerDownCapture)}))});function Il(){const e=new CustomEvent(fl);document.dispatchEvent(e)}function Cl(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?function(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}(i,s):i.dispatchEvent(s)}const wl="focusScope.autoFocusOnMount",Al="focusScope.autoFocusOnUnmount",Nl={bubbles:!1,cancelable:!0},jl=t.forwardRef((e,n)=>{const{loop:o=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...a}=e,[l,c]=t.useState(null),u=al(i),d=al(s),p=t.useRef(null),m=tl(n,e=>c(e)),h=t.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;t.useEffect(()=>{if(r){function e(e){if(h.paused||!l)return;const t=e.target;l.contains(t)?p.current=t:Vl(p.current,{select:!0})}function t(e){if(h.paused||!l)return;const t=e.relatedTarget;null!==t&&(l.contains(t)||Vl(p.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Vl(l)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return l&&o.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[r,l,h.paused]),t.useEffect(()=>{if(l){Bl.add(h);const t=document.activeElement;if(!l.contains(t)){const n=new CustomEvent(wl,Nl);l.addEventListener(wl,u),l.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const o of e)if(Vl(o,{select:t}),document.activeElement!==n)return}((e=kl(l),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Vl(l))}return()=>{l.removeEventListener(wl,u),setTimeout(()=>{const e=new CustomEvent(Al,Nl);l.addEventListener(Al,d),l.dispatchEvent(e),e.defaultPrevented||Vl(null!=t?t:document.body,{select:!0}),l.removeEventListener(Al,d),Bl.remove(h)},0)}}var e},[l,u,d,h]);const f=t.useCallback(e=>{if(!o&&!r)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,[r,i]=function(e){const t=kl(e),n=Gl(t,e),o=Gl(t.reverse(),e);return[n,o]}(t);r&&i?e.shiftKey||n!==i?e.shiftKey&&n===r&&(e.preventDefault(),o&&Vl(i,{select:!0})):(e.preventDefault(),o&&Vl(r,{select:!0})):n===t&&e.preventDefault()}},[o,r,h.paused]);return t.createElement(hl.div,Ka({tabIndex:-1},a,{ref:m,onKeyDown:f}))});function kl(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 Gl(e,t){for(const n of e)if(!Pl(n,{upTo:t}))return n}function Pl(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 Vl(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 Bl=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=Sl(e,t),e.unshift(t)},remove(t){var n;e=Sl(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function Sl(e,t){const n=[...e],o=n.indexOf(t);return-1!==o&&n.splice(o,1),n}const El=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),...s}=e;return i?o.createPortal(t.createElement(hl.div,Ka({},s,{ref:n})),i):null});const Rl=e=>{const{present:n,children:r}=e,i=function(e){const[n,r]=t.useState(),i=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 o=n[e][t];return null!=o?o:e},e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{const e=Tl(i.current);a.current="mounted"===c?e:"none"},[c]),ol(()=>{const t=i.current,n=s.current;if(n!==e){const o=a.current,r=Tl(t);if(e)u("MOUNT");else if("none"===r||"none"===(null==t?void 0:t.display))u("UNMOUNT");else{u(n&&o!==r?"ANIMATION_OUT":"UNMOUNT")}s.current=e}},[e,u]),ol(()=>{if(n){const e=e=>{const t=Tl(i.current).includes(e.animationName);e.target===n&&t&&o.flushSync(()=>u("ANIMATION_END"))},t=e=>{e.target===n&&(a.current=Tl(i.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&&(i.current=getComputedStyle(e)),r(e)},[])}}(n),s="function"==typeof r?r({present:i.isPresent}):t.Children.only(r),a=tl(i.ref,s.ref);return"function"==typeof r||i.isPresent?t.cloneElement(s,{ref:a}):null};function Tl(e){return(null==e?void 0:e.animationName)||"none"}Rl.displayName="Presence";let Ml=0;function Xl(){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 Wl=function(){return Wl=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},Wl.apply(this,arguments)};function Fl(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n}"function"==typeof SuppressedError&&SuppressedError;var Ll="right-scroll-bar-position",Ol="width-before-scroll-bar";function Zl(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Dl="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,zl=new WeakMap;function Hl(e,n){var o,r,i,s=(o=null,r=function(t){return e.forEach(function(e){return Zl(e,t)})},(i=t.useState(function(){return{value:o,callback:r,facade:{get current(){return i.value},set current(e){var t=i.value;t!==e&&(i.value=e,i.callback(e,t))}}}})[0]).callback=r,i.facade);return Dl(function(){var t=zl.get(s);if(t){var n=new Set(t),o=new Set(e),r=s.current;n.forEach(function(e){o.has(e)||Zl(e,null)}),o.forEach(function(e){n.has(e)||Zl(e,r)})}zl.set(s,e)},[e]),s}function Yl(e){return e}var Jl=function(e){var t=e.sideCar,n=Fl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw new Error("Sidecar medium not found");return a.createElement(o,Wl({},n))};Jl.isSideCarExport=!0;var Ul=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Yl);var n=[],o=!1,r={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var r=t(e,o);return n.push(r),function(){n=n.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(o=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){o=!0;var t=[];if(n.length){var r=n;n=[],r.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),n={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),n}}}};return r}(null);return t.options=Wl({async:!0,ssr:!1},e),t}(),$l=function(){},Ql=a.forwardRef(function(e,t){var n=a.useRef(null),o=a.useState({onScrollCapture:$l,onWheelCapture:$l,onTouchMoveCapture:$l}),r=o[0],i=o[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,m=e.sideCar,h=e.noIsolation,f=e.inert,g=e.allowPinchZoom,b=e.as,v=void 0===b?"div":b,x=Fl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=m,I=Hl([n,t]),C=Wl(Wl({},x),r);return a.createElement(a.Fragment,null,d&&a.createElement(y,{sideCar:Ul,removeScrollBar:u,shards:p,noIsolation:h,inert:f,setCallbacks:i,allowPinchZoom:!!g,lockRef:n}),s?a.cloneElement(a.Children.only(l),Wl(Wl({},C),{ref:I})):a.createElement(v,Wl({},C,{className:c,ref:I}),l))});Ql.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Ql.classNames={fullWidth:Ol,zeroRight:Ll};function _l(){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 Kl=function(){var e=0,t=null;return{add:function(n){var o;0==e&&(t=_l())&&(!function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}(t,n),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ql=function(){var e,t=(e=Kl(),function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,o=e.dynamic;return t(n,o),null}},ec={left:0,top:0,right:0,gap:0},tc=function(e){return parseInt(e||"",10)||0},nc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ec;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[tc(n),tc(o),tc(r)]}(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},oc=ql(),rc="data-scroll-locked",ic=function(e,t,n,o){var r=e.left,i=e.top,s=e.right,a=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(o,";\n padding-right: ").concat(a,"px ").concat(o,";\n }\n body[").concat(rc,"] {\n overflow: hidden ").concat(o,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(o,";"),"margin"===n&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(o,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(o,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Ll," {\n right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(Ol," {\n margin-right: ").concat(a,"px ").concat(o,";\n }\n \n .").concat(Ll," .").concat(Ll," {\n right: 0 ").concat(o,";\n }\n \n .").concat(Ol," .").concat(Ol," {\n margin-right: 0 ").concat(o,";\n }\n \n body[").concat(rc,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},sc=function(){var e=parseInt(document.body.getAttribute(rc)||"0",10);return isFinite(e)?e:0},ac=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,r=void 0===o?"margin":o;a.useEffect(function(){return document.body.setAttribute(rc,(sc()+1).toString()),function(){var e=sc()-1;e<=0?document.body.removeAttribute(rc):document.body.setAttribute(rc,e.toString())}},[]);var i=a.useMemo(function(){return nc(r)},[r]);return a.createElement(oc,{styles:ic(i,!t,r,n?"":"!important")})},lc=!1;if("undefined"!=typeof window)try{var cc=Object.defineProperty({},"passive",{get:function(){return lc=!0,!0}});window.addEventListener("test",cc,cc),window.removeEventListener("test",cc,cc)}catch(e){lc=!1}var uc=!!lc&&{passive:!1},dc=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])},pc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),mc(e,n)){var o=hc(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},mc=function(e,t){return"v"===e?function(e){return dc(e,"overflowY")}(t):function(e){return dc(e,"overflowX")}(t)},hc=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},fc=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},gc=function(e){return[e.deltaX,e.deltaY]},bc=function(e){return e&&"current"in e?e.current:e},vc=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},xc=0,yc=[];var Ic,Cc=(Ic=function(e){var t=a.useRef([]),n=a.useRef([0,0]),o=a.useRef(),r=a.useState(xc++)[0],i=a.useState(function(){return ql()})[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(bc),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,i=fc(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],c="deltaY"in e?e.deltaY:a[1]-i[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=pc(d,u);if(!p)return!0;if(p?r=d:(r="v"===d?"h":"v",p=pc(d,u)),!p)return!1;if(!o.current&&"changedTouches"in e&&(l||c)&&(o.current=r),!r)return!0;var m=o.current||r;return function(e,t,n,o){var r=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=r*o,s=n.target,a=t.contains(s),l=!1,c=i>0,u=0,d=0;do{var p=hc(e,s),m=p[0],h=p[1]-p[2]-r*m;(m||h)&&mc(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=a.useCallback(function(e){var n=e;if(yc.length&&yc[yc.length-1]===i){var o="deltaY"in n?gc(n):fc(n),r=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,r=o,t[0]===r[0]&&t[1]===r[1]);var t,r})[0];if(r&&r.should)n.cancelable&&n.preventDefault();else if(!r){var a=(s.current.shards||[]).map(bc).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?l(n,a[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),u=a.useCallback(function(e,n,o,r){var i={name:e,delta:n,target:o,should:r};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=a.useCallback(function(e){n.current=fc(e),o.current=void 0},[]),p=a.useCallback(function(t){u(t.type,gc(t),t.target,l(t,e.lockRef.current))},[]),m=a.useCallback(function(t){u(t.type,fc(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return yc.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,uc),document.addEventListener("touchmove",c,uc),document.addEventListener("touchstart",d,uc),function(){yc=yc.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,uc),document.removeEventListener("touchmove",c,uc),document.removeEventListener("touchstart",d,uc)}},[]);var h=e.removeScrollBar,f=e.inert;return a.createElement(a.Fragment,null,f?a.createElement(i,{styles:vc(r)}):null,h?a.createElement(ac,{gapMode:"margin"}):null)},Ul.useMedium(Ic),Jl),wc=a.forwardRef(function(e,t){return a.createElement(Ql,Wl({},e,{ref:t,sideCar:Cc}))});wc.classNames=Ql.classNames;var Ac=new WeakMap,Nc=new WeakMap,jc={},kc=0,Gc=function(e){return e&&(e.host||Gc(e.parentNode))},Pc=function(e,t,n,o){var r=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Gc(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]);jc[n]||(jc[n]=new WeakMap);var i=jc[n],s=[],a=new Set,l=new Set(r),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};r.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(a.has(e))u(e);else try{var t=e.getAttribute(o),r=null!==t&&"false"!==t,l=(Ac.get(e)||0)+1,c=(i.get(e)||0)+1;Ac.set(e,l),i.set(e,c),s.push(e),1===l&&r&&Nc.set(e,!0),1===c&&e.setAttribute(n,"true"),r||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),a.clear(),kc++,function(){s.forEach(function(e){var t=Ac.get(e)-1,r=i.get(e)-1;Ac.set(e,t),i.set(e,r),t||(Nc.has(e)||e.removeAttribute(o),Nc.delete(e)),r||e.removeAttribute(n)}),--kc||(Ac=new WeakMap,Ac=new WeakMap,Nc=new WeakMap,jc={})}},Vc=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),Pc(o,r,n,"aria-hidden")):function(){return null}};const Bc="Dialog",[Sc,Ec]=function(e,n=[]){let o=[];const r=()=>{const n=o.map(e=>t.createContext(e));return function(o){const r=(null==o?void 0:o[e])||n;return t.useMemo(()=>({[`__scope${e}`]:{...o,[e]:r}}),[o,r])}};return r.scopeName=e,[function(n,r){const i=t.createContext(r),s=o.length;function a(n){const{scope:o,children:r,...a}=n,l=(null==o?void 0:o[e][s])||i,c=t.useMemo(()=>a,Object.values(a));return t.createElement(l.Provider,{value:c},r)}return o=[...o,r],a.displayName=n+"Provider",[a,function(o,a){const l=(null==a?void 0:a[e][s])||i,c=t.useContext(l);if(c)return c;if(void 0!==r)return r;throw new Error(`\`${o}\` must be used within \`${n}\``)}]},nl(r,...n)]}(Bc),[Rc,Tc]=Sc(Bc),Mc="DialogPortal",[Xc,Wc]=Sc(Mc,{forceMount:void 0}),Fc="DialogOverlay",Lc=t.forwardRef((e,n)=>{const o=Wc(Fc,e.__scopeDialog),{forceMount:r=o.forceMount,...i}=e,s=Tc(Fc,e.__scopeDialog);return s.modal?t.createElement(Rl,{present:r||s.open},t.createElement(Oc,Ka({},i,{ref:n}))):null}),Oc=t.forwardRef((e,n)=>{const{__scopeDialog:o,...r}=e,i=Tc(Fc,o);return t.createElement(wc,{as:cl,allowPinchZoom:!0,shards:[i.contentRef]},t.createElement(hl.div,Ka({"data-state":Qc(i.open)},r,{ref:n,style:{pointerEvents:"auto",...r.style}})))}),Zc="DialogContent",Dc=t.forwardRef((e,n)=>{const o=Wc(Zc,e.__scopeDialog),{forceMount:r=o.forceMount,...i}=e,s=Tc(Zc,e.__scopeDialog);return t.createElement(Rl,{present:r||s.open},s.modal?t.createElement(zc,Ka({},i,{ref:n})):t.createElement(Hc,Ka({},i,{ref:n})))}),zc=t.forwardRef((e,n)=>{const o=Tc(Zc,e.__scopeDialog),r=t.useRef(null),i=tl(n,o.contentRef,r);return t.useEffect(()=>{const e=r.current;if(e)return Vc(e)},[]),t.createElement(Yc,Ka({},e,{ref:i,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qa(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=o.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:qa(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:qa(e.onFocusOutside,e=>e.preventDefault())}))}),Hc=t.forwardRef((e,n)=>{const o=Tc(Zc,e.__scopeDialog),r=t.useRef(!1),i=t.useRef(!1);return t.createElement(Yc,Ka({},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)||(r.current||null===(s=o.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());r.current=!1,i.current=!1},onInteractOutside:t=>{var n,s;null===(n=e.onInteractOutside)||void 0===n||n.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const a=t.target;(null===(s=o.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))}),Yc=t.forwardRef((e,n)=>{const{__scopeDialog:o,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:s,...a}=e,l=Tc(Zc,o),c=tl(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:Xl()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:Xl()),Ml++,()=>{1===Ml&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Ml--}},[]),t.createElement(t.Fragment,null,t.createElement(jl,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:s},t.createElement(yl,Ka({role:"dialog",id:l.contentId,"aria-describedby":l.descriptionId,"aria-labelledby":l.titleId,"data-state":Qc(l.open)},a,{ref:c,onDismiss:()=>l.onOpenChange(!1)}))),!1)}),Jc="DialogTitle",Uc="DialogClose",$c=t.forwardRef((e,n)=>{const{__scopeDialog:o,...r}=e,i=Tc(Uc,o);return t.createElement(hl.button,Ka({type:"button"},r,{ref:n,onClick:qa(e.onClick,()=>i.onOpenChange(!1))}))});function Qc(e){return e?"open":"closed"}!function(e,n){const o=t.createContext(n);function r(e){const{children:n,...r}=e,i=t.useMemo(()=>r,Object.values(r));return t.createElement(o.Provider,{value:i},n)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:Zc,titleName:Jc,docsSlug:"dialog"});const _c=e=>{const{__scopeDialog:n,children:o,open:r,defaultOpen:i,onOpenChange:s,modal:a=!0}=e,l=t.useRef(null),c=t.useRef(null),[u=!1,d]=ll({prop:r,defaultProp:i,onChange:s});return t.createElement(Rc,{scope:n,triggerRef:l,contentRef:c,contentId:sl(),titleId:sl(),descriptionId:sl(),open:u,onOpenChange:d,onOpenToggle:t.useCallback(()=>d(e=>!e),[d]),modal:a},o)},Kc=e=>{const{__scopeDialog:n,forceMount:o,children:r,container:i}=e,s=Tc(Mc,n);return t.createElement(Xc,{scope:n,forceMount:o},t.Children.map(r,e=>t.createElement(Rl,{present:o||s.open},t.createElement(El,{asChild:!0,container:i},e))))},qc=Lc,eu=Dc,tu=$c,nu=({href:t,title:o,description:i,date:s,category:a,image:l,readMoreText:c="Read more"})=>e.jsxs("article",{className:"flex flex-col overflow-hidden rounded-xl bg-white shadow-[0_1px_4px_rgba(0,0,0,0.08),0_4px_16px_rgba(0,0,0,0.06)] transition-all duration-200 hover:-translate-y-0.5 hover:shadow-[0_4px_12px_rgba(0,0,0,0.12),0_8px_24px_rgba(0,0,0,0.10)]",children:[e.jsx(r,{href:t,tabIndex:-1,"aria-hidden":"true",className:"block",children:e.jsx("div",{className:"aspect-video w-full flex-shrink-0 overflow-hidden bg-gray-100",children:l?e.jsx(n,{src:l.src,alt:l.alt,width:l.width,height:l.height,className:"h-full w-full object-cover transition-transform duration-300 hover:scale-[1.03]",sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw"}):e.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 gap-5 p-5 pb-6",children:[e.jsxs("div",{className:"flex items-center gap-2 text-[13px]",children:[e.jsx("span",{className:"text-body2 font-semibold text-text-brand",children:a}),s&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-xs text-text","aria-hidden":"true",children:"•"}),e.jsx("time",{className:"text-body2 text-text",children:s})]})]}),o&&e.jsx(r,{href:t,className:"m-0 line-clamp-3 text-heading6 font-black transition-colors duration-150 hover:text-text-brand",children:o}),i&&e.jsx(je,{className:"m-0 line-clamp-3 flex-1 text-body1",children:i}),e.jsx(r,{href:t,className:"group mt-auto inline-flex justify-between pt-3 text-sm text-text-brand no-underline transition-all duration-200 hover:gap-2.5 hover:text-[#007ab8]","aria-label":`${c} about ${o||"this article"}`,children:e.jsxs(Ce,{"aria-label":`${c} about ${o||"this article"}`,className:"flex w-36 justify-around text-nowrap text-label1 font-black",children:[c,e.jsx(Ae,{name:"expand_circle_right",fill:0,size:24,weight:"600"})]})})]})]}),ou=({currentPage:t,totalPages:n,onPageChange:o,ariaLabel:r="Pagination"})=>{const i=function(e,t){if(t<=7)return Array.from({length:t},(e,t)=>t+1);const n=[];n.push(1),e>3&&n.push("...");const o=Math.max(2,e-1),r=Math.min(t-1,e+1);for(let e=o;e<=r;e++)n.push(e);e<t-2&&n.push("...");return n.push(t),n}(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 disabled:opacity-40 disabled:cursor-not-allowed";return e.jsxs("nav",{className:"flex items-center justify-center gap-1 px-6 pb-12","aria-label":r,children:[e.jsx(Ce,{className:s,onClick:()=>o(t-1),disabled:1===t,"aria-label":"Go to previous page",children:e.jsx(Ae,{name:"chevron_left",size:32,"aria-hidden":"true"})}),i.map((n,r)=>"..."===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-${r}`):e.jsx(Ce,{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":""),onClick:()=>o(n),"aria-label":`Go to page ${n}`,"aria-current":n===t?"page":void 0,children:n},n)),e.jsx(Ce,{className:s,onClick:()=>o(t+1),disabled:t===n,"aria-label":"Go to next page",children:e.jsx(Ae,{name:"chevron_right",size:32,"aria-hidden":"true"})})]})};function ru(e){return ru="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},ru(e)}function iu(e){var t=function(e,t){if("object"!=ru(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=ru(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ru(t)?t:t+""}function su(e,t,n){return(t=iu(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function au(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function lu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?au(Object(n),!0).forEach(function(t){su(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):au(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cu(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function uu(e,t){if(e){if("string"==typeof e)return cu(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)?cu(e,t):void 0}}function du(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,s,a=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return a}}(e,t)||uu(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 pu(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var mu=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function hu(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,iu(o.key),o)}}function fu(e,t){return fu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fu(e,t)}function gu(e){return gu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gu(e)}function bu(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bu=function(){return!!e})()}function vu(e,t){if(t&&("object"==ru(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 xu(e){return function(e){if(Array.isArray(e))return cu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||uu(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 yu=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}(),Iu="-ms-",Cu="-moz-",wu="-webkit-",Au="comm",Nu="rule",ju="decl",ku="@keyframes",Gu=Math.abs,Pu=String.fromCharCode,Vu=Object.assign;function Bu(e){return e.trim()}function Su(e,t,n){return e.replace(t,n)}function Eu(e,t){return e.indexOf(t)}function Ru(e,t){return 0|e.charCodeAt(t)}function Tu(e,t,n){return e.slice(t,n)}function Mu(e){return e.length}function Xu(e){return e.length}function Wu(e,t){return t.push(e),e}var Fu=1,Lu=1,Ou=0,Zu=0,Du=0,zu="";function Hu(e,t,n,o,r,i,s){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:Fu,column:Lu,length:s,return:""}}function Yu(e,t){return Vu(Hu("",null,null,"",null,null,0),e,{length:-e.length},t)}function Ju(){return Du=Zu>0?Ru(zu,--Zu):0,Lu--,10===Du&&(Lu=1,Fu--),Du}function Uu(){return Du=Zu<Ou?Ru(zu,Zu++):0,Lu++,10===Du&&(Lu=1,Fu++),Du}function $u(){return Ru(zu,Zu)}function Qu(){return Zu}function _u(e,t){return Tu(zu,e,t)}function Ku(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 qu(e){return Fu=Lu=1,Ou=Mu(zu=e),Zu=0,[]}function ed(e){return zu="",e}function td(e){return Bu(_u(Zu-1,rd(91===e?e+2:40===e?e+1:e)))}function nd(e){for(;(Du=$u())&&Du<33;)Uu();return Ku(e)>2||Ku(Du)>3?"":" "}function od(e,t){for(;--t&&Uu()&&!(Du<48||Du>102||Du>57&&Du<65||Du>70&&Du<97););return _u(e,Qu()+(t<6&&32==$u()&&32==Uu()))}function rd(e){for(;Uu();)switch(Du){case e:return Zu;case 34:case 39:34!==e&&39!==e&&rd(Du);break;case 40:41===e&&rd(e);break;case 92:Uu()}return Zu}function id(e,t){for(;Uu()&&e+Du!==57&&(e+Du!==84||47!==$u()););return"/*"+_u(t,Zu-1)+"*"+Pu(47===e?e:Uu())}function sd(e){for(;!Ku($u());)Uu();return _u(e,Zu)}function ad(e){return ed(ld("",null,null,null,[""],e=qu(e),0,[0],e))}function ld(e,t,n,o,r,i,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=r,I=i,C=o,w=x;g;)switch(h=v,v=Uu()){case 40:if(108!=h&&58==Ru(w,d-1)){-1!=Eu(w+=Su(td(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=td(v);break;case 9:case 10:case 13:case 32:w+=nd(h);break;case 92:w+=od(Qu()-1,7);continue;case 47:switch($u()){case 42:case 47:Wu(ud(id(Uu(),Qu()),t,n),l);break;default:w+="/"}break;case 123*f:a[c++]=Mu(w)*b;case 125*f:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(w=Su(w,/\f/g,"")),m>0&&Mu(w)-d&&Wu(m>32?dd(w+";",o,n,d-1):dd(Su(w," ","")+";",o,n,d-2),l);break;case 59:w+=";";default:if(Wu(C=cd(w,t,n,c,u,r,a,x,y=[],I=[],d),i),123===v)if(0===u)ld(w,t,C,C,y,i,d,a,I);else switch(99===p&&110===Ru(w,3)?100:p){case 100:case 108:case 109:case 115:ld(e,C,C,o&&Wu(cd(e,C,C,0,0,r,a,x,r,y=[],d),I),r,I,d,a,o?y:I);break;default:ld(w,C,C,C,[""],I,0,a,I)}}c=u=m=0,f=b=1,x=w="",d=s;break;case 58:d=1+Mu(w),m=h;default:if(f<1)if(123==v)--f;else if(125==v&&0==f++&&125==Ju())continue;switch(w+=Pu(v),v*f){case 38:b=u>0?1:(w+="\f",-1);break;case 44:a[c++]=(Mu(w)-1)*b,b=1;break;case 64:45===$u()&&(w+=td(Uu())),p=$u(),u=d=Mu(x=w+=sd(Qu())),v++;break;case 45:45===h&&2==Mu(w)&&(f=0)}}return i}function cd(e,t,n,o,r,i,s,a,l,c,u){for(var d=r-1,p=0===r?i:[""],m=Xu(p),h=0,f=0,g=0;h<o;++h)for(var b=0,v=Tu(e,d+1,d=Gu(f=s[h])),x=e;b<m;++b)(x=Bu(f>0?p[b]+" "+v:Su(v,/&\f/g,p[b])))&&(l[g++]=x);return Hu(e,t,n,0===r?Nu:a,l,c,u)}function ud(e,t,n){return Hu(e,t,n,Au,Pu(Du),Tu(e,2,-2),0)}function dd(e,t,n,o){return Hu(e,t,n,ju,Tu(e,0,o),Tu(e,o+1,-1),o)}function pd(e,t){for(var n="",o=Xu(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function md(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ju:return e.return=e.return||e.value;case Au:return"";case ku:return e.return=e.value+"{"+pd(e.children,o)+"}";case Nu:e.value=e.props.join(",")}return Mu(n=pd(e.children,o))?e.return=e.value+"{"+n+"}":""}function hd(e){var t=Xu(e);return function(n,o,r,i){for(var s="",a=0;a<t;a++)s+=e[a](n,o,r,i)||"";return s}}var fd="undefined"!=typeof document,gd=function(e,t,n){for(var o=0,r=0;o=r,r=$u(),38===o&&12===r&&(t[n]=1),!Ku(r);)Uu();return _u(e,Zu)},bd=function(e,t){return ed(function(e,t){var n=-1,o=44;do{switch(Ku(o)){case 0:38===o&&12===$u()&&(t[n]=1),e[n]+=gd(Zu-1,t,n);break;case 2:e[n]+=td(o);break;case 4:if(44===o){e[++n]=58===$u()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Pu(o)}}while(o=Uu());return e}(qu(e),t))},vd=new WeakMap,xd=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||vd.get(n))&&!o){vd.set(e,!0);for(var r=[],i=bd(t,r),s=n.props,a=0,l=0;a<i.length;a++)for(var c=0;c<s.length;c++,l++)e.props[l]=r[a]?i[a].replace(/&\f/g,s[c]):s[c]+" "+i[a]}}},yd=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Id(e,t){switch(function(e,t){return 45^Ru(e,0)?(((t<<2^Ru(e,0))<<2^Ru(e,1))<<2^Ru(e,2))<<2^Ru(e,3):0}(e,t)){case 5103:return wu+"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 wu+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return wu+e+Cu+e+Iu+e+e;case 6828:case 4268:return wu+e+Iu+e+e;case 6165:return wu+e+Iu+"flex-"+e+e;case 5187:return wu+e+Su(e,/(\w+).+(:[^]+)/,wu+"box-$1$2"+Iu+"flex-$1$2")+e;case 5443:return wu+e+Iu+"flex-item-"+Su(e,/flex-|-self/,"")+e;case 4675:return wu+e+Iu+"flex-line-pack"+Su(e,/align-content|flex-|-self/,"")+e;case 5548:return wu+e+Iu+Su(e,"shrink","negative")+e;case 5292:return wu+e+Iu+Su(e,"basis","preferred-size")+e;case 6060:return wu+"box-"+Su(e,"-grow","")+wu+e+Iu+Su(e,"grow","positive")+e;case 4554:return wu+Su(e,/([^-])(transform)/g,"$1"+wu+"$2")+e;case 6187:return Su(Su(Su(e,/(zoom-|grab)/,wu+"$1"),/(image-set)/,wu+"$1"),e,"")+e;case 5495:case 3959:return Su(e,/(image-set\([^]*)/,wu+"$1$`$1");case 4968:return Su(Su(e,/(.+:)(flex-)?(.*)/,wu+"box-pack:$3"+Iu+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+wu+e+e;case 4095:case 3583:case 4068:case 2532:return Su(e,/(.+)-inline(.+)/,wu+"$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(Mu(e)-1-t>6)switch(Ru(e,t+1)){case 109:if(45!==Ru(e,t+4))break;case 102:return Su(e,/(.+:)(.+)-([^]+)/,"$1"+wu+"$2-$3$1"+Cu+(108==Ru(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Eu(e,"stretch")?Id(Su(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==Ru(e,t+1))break;case 6444:switch(Ru(e,Mu(e)-3-(~Eu(e,"!important")&&10))){case 107:return Su(e,":",":"+wu)+e;case 101:return Su(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+wu+(45===Ru(e,14)?"inline-":"")+"box$3$1"+wu+"$2$3$1"+Iu+"$2box$3")+e}break;case 5936:switch(Ru(e,t+11)){case 114:return wu+e+Iu+Su(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return wu+e+Iu+Su(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return wu+e+Iu+Su(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return wu+e+Iu+e+e}return e}var Cd,wd,Ad,Nd=fd?void 0:(Cd=function(){return e=function(){return{}},t=Object.create(null),function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]};var e,t},wd=new WeakMap,function(e){if(wd.has(e))return wd.get(e);var t=Cd(e);return wd.set(e,t),t}),jd=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case ju:e.return=Id(e.value,e.length);break;case ku:return pd([Yu(e,{value:Su(e.value,"@","@"+wu)})],o);case Nu: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 pd([Yu(e,{props:[Su(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return pd([Yu(e,{props:[Su(t,/:(plac\w+)/,":"+wu+"input-$1")]}),Yu(e,{props:[Su(t,/:(plac\w+)/,":-moz-$1")]}),Yu(e,{props:[Su(t,/:(plac\w+)/,Iu+"input-$1")]})],o)}return""})}}],kd=function(e){var t=e.key;if(fd&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,r,i=e.stylisPlugins||jd,s={},a=[];fd&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;a.push(e)}));var l,c=[xd,yd];if(Nd){var u=[md],d=hd(c.concat(i,u)),p=Nd(i)(t),m=function(e,t){var n=t.name;return void 0===p[n]&&(p[n]=pd(ad(e?e+"{"+t.styles+"}":t.styles),d)),p[n]};r=function(e,t,n,o){var r=t.name,i=m(e,t);return void 0===b.compat?(o&&(b.inserted[r]=!0),i):o?void(b.inserted[r]=i):i}}else{var h,f=[md,(l=function(e){h.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],g=hd(c.concat(i,f));r=function(e,t,n,o){h=n,pd(ad(e?e+"{"+t.styles+"}":t.styles),g),o&&(b.inserted[t.name]=!0)}}var b={key:t,sheet:new yu({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:r};return b.sheet.hydrate(a),b},Gd={exports:{}},Pd={};var Vd,Bd,Sd,Ed,Rd={};
4
+ /** @license React v16.13.1
5
+ * react-is.development.js
6
+ *
7
+ * Copyright (c) Facebook, Inc. and its affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */function Td(){return Bd||(Bd=1,"production"===process.env.NODE_ENV?Gd.exports=function(){if(Ad)return Pd;Ad=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,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 o:case i:case r: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 Pd.AsyncMode=l,Pd.ConcurrentMode=c,Pd.ContextConsumer=a,Pd.ContextProvider=s,Pd.Element=t,Pd.ForwardRef=u,Pd.Fragment=o,Pd.Lazy=h,Pd.Memo=m,Pd.Portal=n,Pd.Profiler=i,Pd.StrictMode=r,Pd.Suspense=d,Pd.isAsyncMode=function(e){return y(e)||x(e)===l},Pd.isConcurrentMode=y,Pd.isContextConsumer=function(e){return x(e)===a},Pd.isContextProvider=function(e){return x(e)===s},Pd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Pd.isForwardRef=function(e){return x(e)===u},Pd.isFragment=function(e){return x(e)===o},Pd.isLazy=function(e){return x(e)===h},Pd.isMemo=function(e){return x(e)===m},Pd.isPortal=function(e){return x(e)===n},Pd.isProfiler=function(e){return x(e)===i},Pd.isStrictMode=function(e){return x(e)===r},Pd.isSuspense=function(e){return x(e)===d},Pd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===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)},Pd.typeOf=x,Pd}():Gd.exports=(Vd||(Vd=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,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 o:case i:case r: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,I=c,C=a,w=s,A=t,N=u,j=o,k=h,G=m,P=n,V=i,B=r,S=d,E=!1;function R(e){return x(e)===c}Rd.AsyncMode=y,Rd.ConcurrentMode=I,Rd.ContextConsumer=C,Rd.ContextProvider=w,Rd.Element=A,Rd.ForwardRef=N,Rd.Fragment=j,Rd.Lazy=k,Rd.Memo=G,Rd.Portal=P,Rd.Profiler=V,Rd.StrictMode=B,Rd.Suspense=S,Rd.isAsyncMode=function(e){return E||(E=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(e)||x(e)===l},Rd.isConcurrentMode=R,Rd.isContextConsumer=function(e){return x(e)===a},Rd.isContextProvider=function(e){return x(e)===s},Rd.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Rd.isForwardRef=function(e){return x(e)===u},Rd.isFragment=function(e){return x(e)===o},Rd.isLazy=function(e){return x(e)===h},Rd.isMemo=function(e){return x(e)===m},Rd.isPortal=function(e){return x(e)===n},Rd.isProfiler=function(e){return x(e)===i},Rd.isStrictMode=function(e){return x(e)===r},Rd.isSuspense=function(e){return x(e)===d},Rd.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===i||e===r||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===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)},Rd.typeOf=x}()),Rd)),Gd.exports}!function(){if(Ed)return Sd;Ed=1;var e=Td(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},r={};function i(n){return e.isMemo(n)?o:r[n.$$typeof]||t}r[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r[e.Memo]=o;var s=Object.defineProperty,a=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Sd=function e(t,o,r){if("string"!=typeof o){if(d){var p=u(o);p&&p!==d&&e(t,p,r)}var m=a(o);l&&(m=m.concat(l(o)));for(var h=i(t),f=i(o),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||r&&r[b]||f&&f[b]||h&&h[b])){var v=c(o,b);try{s(t,b,v)}catch(e){}}}}return t}}();var Md="undefined"!=typeof document;var Xd=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===Md&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)};var Wd={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 Fd(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Ld=/[A-Z]|^ms/g,Od=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zd=function(e){return 45===e.charCodeAt(1)},Dd=function(e){return null!=e&&"boolean"!=typeof e},zd=Fd(function(e){return Zd(e)?e:e.replace(Ld,"-$&").toLowerCase()}),Hd=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Od,function(e,t,n){return Jd={name:t,styles:n,next:Jd},t})}return 1===Wd[e]||Zd(e)||"number"!=typeof t||0===t?t:t+"px"};function Yd(e,t,n){if(null==n)return"";var o=n;if(void 0!==o.__emotion_styles)return o;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return Jd={name:r.name,styles:r.styles,next:Jd},r.name;var i=n;if(void 0!==i.styles){var s=i.next;if(void 0!==s)for(;void 0!==s;)Jd={name:s.name,styles:s.styles,next:Jd},s=s.next;return i.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=Yd(e,t,n[r])+";";else for(var i in n){var s=n[i];if("object"!=typeof s){var a=s;Dd(a)&&(o+=zd(i)+":"+Hd(i,a)+";")}else if(Array.isArray(s)&&"string"==typeof s[0]&&null==t)for(var l=0;l<s.length;l++)Dd(s[l])&&(o+=zd(i)+":"+Hd(i,s[l])+";");else{var c=Yd(e,t,s);switch(i){case"animation":case"animationName":o+=zd(i)+":"+c+";";break;default:o+=i+"{"+c+"}"}}}return o}(e,t,n);case"function":if(void 0!==e){var a=Jd,l=n(e);return Jd=a,Yd(e,t,l)}}return n}var Jd,Ud=/label:\s*([^\s;{]+)\s*(;|$)/g;function $d(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";Jd=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=Yd(n,t,i)):r+=i[0];for(var s=1;s<e.length;s++){if(r+=Yd(n,t,e[s]),o)r+=i[s]}Ud.lastIndex=0;for(var a,l="";null!==(a=Ud.exec(r));)l+="-"+a[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:Jd}}var Qd="undefined"!=typeof document,_d=function(e){return e()},Kd=!!a.useInsertionEffect&&a.useInsertionEffect,qd=Qd&&Kd||_d,ep="undefined"!=typeof document,tp=a.createContext("undefined"!=typeof HTMLElement?kd({key:"css"}):null);tp.Provider;var np=function(e){return t.forwardRef(function(n,o){var r=t.useContext(tp);return e(n,r,o)})};ep||(np=function(e){return function(n){var o=t.useContext(tp);return null===o?(o=kd({key:"css"}),a.createElement(tp.Provider,{value:o},e(n,o))):e(n,o)}});var op,rp,ip=a.createContext({}),sp={}.hasOwnProperty,ap="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",lp=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;Xd(t,n,o);var r=qd(function(){return function(e,t,n){Xd(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var s=e.insert(t===i?"."+o:"",i,e.sheet,!0);Md||void 0===s||(r+=s),i=i.next}while(void 0!==i);if(!Md&&0!==r.length)return r}}(t,n,o)});if(!ep&&void 0!==r){for(var i,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return a.createElement("style",((i={})["data-emotion"]=t.key+" "+s,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},cp=np(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var r=e[ap],i=[o],s="";"string"==typeof e.className?s=function(e,t,n){var o="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(o+=n+" ")}),o}(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=$d(i,void 0,a.useContext(ip));s+=t.key+"-"+l.name;var c={};for(var u in e)sp.call(e,u)&&"css"!==u&&u!==ap&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),a.createElement(a.Fragment,null,a.createElement(lp,{cache:t,serialized:l,isStringTag:"string"==typeof r}),a.createElement(r,c))}),up=cp,dp=function(e,t){var n=arguments;if(null==t||!sp.call(t,"css"))return a.createElement.apply(void 0,n);var o=n.length,r=new Array(o);r[0]=up,r[1]=function(e,t){var n={};for(var o in t)sp.call(t,o)&&(n[o]=t[o]);return n[ap]=e,n}(e,t);for(var i=2;i<o;i++)r[i]=n[i];return a.createElement.apply(null,r)};function pp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $d(t)}op=dp||(dp={}),rp||(rp=op.JSX||(op.JSX={}));const mp=Math.min,hp=Math.max,fp=Math.round,gp=Math.floor,bp=e=>({x:e,y:e});function vp(){return"undefined"!=typeof window}function xp(e){return Cp(e)?(e.nodeName||"").toLowerCase():"#document"}function yp(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ip(e){var t;return null==(t=(Cp(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Cp(e){return!!vp()&&(e instanceof Node||e instanceof yp(e).Node)}function wp(e){return!!vp()&&(e instanceof HTMLElement||e instanceof yp(e).HTMLElement)}function Ap(e){return!(!vp()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof yp(e).ShadowRoot)}const Np=new Set(["inline","contents"]);function jp(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Gp(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!Np.has(r)}const kp=new Set(["html","body","#document"]);function Gp(e){return yp(e).getComputedStyle(e)}function Pp(e){const t=function(e){if("html"===xp(e))return e;const t=e.assignedSlot||e.parentNode||Ap(e)&&e.host||Ip(e);return Ap(t)?t.host:t}(e);return function(e){return kp.has(xp(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:wp(t)&&jp(t)?t:Pp(t)}function Vp(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);const r=Pp(e),i=r===(null==(o=e.ownerDocument)?void 0:o.body),s=yp(r);if(i){const e=Bp(s);return t.concat(s,s.visualViewport||[],jp(r)?r:[],e&&n?Vp(e):[])}return t.concat(r,Vp(r,[],n))}function Bp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Sp(e){return t=e,vp()&&(t instanceof Element||t instanceof yp(t).Element)?e:e.contextElement;var t}function Ep(e){const t=Sp(e);if(!wp(t))return bp(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=function(e){const t=Gp(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=wp(e),i=r?e.offsetWidth:n,s=r?e.offsetHeight:o,a=fp(n)!==i||fp(o)!==s;return a&&(n=i,o=s),{width:n,height:o,$:a}}(t);let s=(i?fp(n.width):n.width)/o,a=(i?fp(n.height):n.height)/r;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Rp(e,t,n,o){void 0===t&&(t=!1);const r=e.getBoundingClientRect(),i=Sp(e);let s=bp(1);t&&(s=Ep(e));const a=bp(0);let l=(r.left+a.x)/s.x,c=(r.top+a.y)/s.y,u=r.width/s.x,d=r.height/s.y;if(i){const e=o;let t=yp(i),n=Bp(t);for(;n&&o&&e!==t;){const e=Ep(n),o=n.getBoundingClientRect(),r=Gp(n),i=o.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,s=o.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=s,t=yp(n),n=Bp(t)}}return function(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Tp(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Mp(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=o,c=Sp(e),u=r||i?[...c?Vp(c):[],...Vp(t)]:[];u.forEach(e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const d=c&&a?function(e,t){let n,o=null;const r=Ip(e);function i(){var e;clearTimeout(n),null==(e=o)||e.disconnect(),o=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(a||t(),!p||!m)return;const h={rootMargin:-gp(d)+"px "+-gp(r.clientWidth-(u+p))+"px "+-gp(r.clientHeight-(d+m))+"px "+-gp(u)+"px",threshold:hp(0,mp(1,l))||1};let f=!0;function g(t){const o=t[0].intersectionRatio;if(o!==l){if(!f)return s();o?s(!1,o):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==o||Tp(c,e.getBoundingClientRect())||s(),f=!1}try{o=new IntersectionObserver(g,{...h,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(g,h)}o.observe(e)}(!0),i}(c,n):null;let p,m=-1,h=null;s&&(h=new ResizeObserver(e=>{let[o]=e;o&&o.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?Rp(e):null;return l&&function t(){const o=Rp(e);f&&!Tp(f,o)&&n();f=o,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var Xp="undefined"!=typeof document?t.useLayoutEffect:function(){},Wp=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Fp=function(){};function Lp(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Op(e,t){for(var n=arguments.length,o=new Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var i=[].concat(o);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&i.push("".concat(Lp(e,s)));return i.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var Zp=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===ru(e)&&null!==e?[e]:[];var t},Dp=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,lu({},pu(e,Wp))},zp=function(e,t,n){var o=e.cx,r=e.getStyles,i=e.getClassNames,s=e.className;return{css:r(t,e),className:o(null!=n?n:{},i(t,e),s)}};function Hp(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Yp(e){return Hp(e)?window.pageYOffset:e.scrollTop}function Jp(e,t){Hp(e)?window.scrollTo(0,t):e.scrollTop=t}function Up(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Fp,r=Yp(e),i=t-r,s=0;!function t(){var a,l=i*((a=(a=s+=10)/n-1)*a*a+1)+r;Jp(e,l),s<n?window.requestAnimationFrame(t):o(e)}()}function $p(e,t){var n=e.getBoundingClientRect(),o=t.getBoundingClientRect(),r=t.offsetHeight/3;o.bottom+r>n.bottom?Jp(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+r,e.scrollHeight)):o.top-r<n.top&&Jp(e,Math.max(t.offsetTop-r,0))}function Qp(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var _p=!1,Kp={get passive(){return _p=!0}},qp="undefined"!=typeof window?window:{};qp.addEventListener&&qp.removeEventListener&&(qp.addEventListener("p",Fp,Kp),qp.removeEventListener("p",Fp,!1));var em=_p;function tm(e){return null!=e}function nm(e,t,n){return e?t:n}var om=["children","innerProps"],rm=["children","innerProps"];function im(e){var t=e.maxHeight,n=e.menuEl,o=e.minHeight,r=e.placement,i=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,o=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var r=e;r=r.parentElement;)if(t=getComputedStyle(r),(!n||"static"!==t.position)&&o.test(t.overflow+t.overflowY+t.overflowX))return r;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=s?window.innerHeight:Hp(u=l)?window.innerHeight:u.clientHeight,v=Yp(l),x=parseInt(getComputedStyle(n).marginBottom,10),y=parseInt(getComputedStyle(n).marginTop,10),I=g-y,C=b-f,w=I+v,A=d-v-f,N=m-b+v+x,j=v+f-y,k=160;switch(r){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(A>=h&&!s)return i&&Up(l,N,k),{placement:"bottom",maxHeight:t};if(!s&&A>=o||s&&C>=o)return i&&Up(l,N,k),{placement:"bottom",maxHeight:s?C-x:A-x};if("auto"===r||s){var G=t,P=s?I:w;return P>=o&&(G=Math.min(P-x-a,t)),{placement:"top",maxHeight:G}}if("bottom"===r)return i&&Jp(l,N),{placement:"bottom",maxHeight:t};break;case"top":if(I>=h)return{placement:"top",maxHeight:t};if(w>=h&&!s)return i&&Up(l,j,k),{placement:"top",maxHeight:t};if(!s&&w>=o||s&&I>=o){var V=t;return(!s&&w>=o||s&&I>=o)&&(V=s?I-y:w-y),i&&Up(l,j,k),{placement:"top",maxHeight:V}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}var sm,am=function(e){return"auto"===e?"bottom":e},lm=t.createContext(null),cm=function(e){var n=e.children,o=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,c=(t.useContext(lm)||{}).setPortalPlacement,u=t.useRef(null),d=du(t.useState(r),2),p=d[0],m=d[1],h=du(t.useState(null),2),f=h[0],g=h[1],b=l.spacing.controlHeight;return Xp(function(){var e=u.current;if(e){var t="fixed"===s,n=im({maxHeight:r,menuEl:e,minHeight:o,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:b});m(n.maxHeight),g(n.placement),null==c||c(n.placement)}},[r,i,s,a,o,c,b]),n({ref:u,placerProps:lu(lu({},e),{},{placement:f||am(i),maxHeight:p})})},um=function(e){var t=e.children,n=e.innerRef,o=e.innerProps;return dp("div",Ka({},zp(e,"menu",{menu:!0}),{ref:n},o),t)},dm=function(e,t){var n=e.theme,o=n.spacing.baseUnit,r=n.colors;return lu({textAlign:"center"},t?{}:{color:r.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},pm=dm,mm=dm,hm=["size"],fm=["innerProps","isRtl","size"];var gm,bm,vm="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)."}},xm=function(e){var t=e.size,n=pu(e,hm);return dp("svg",Ka({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:vm},n))},ym=function(e){return dp(xm,Ka({size:20},e),dp("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"}))},Im=function(e){return dp(xm,Ka({size:20},e),dp("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"}))},Cm=function(e,t){var n=e.isFocused,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return lu({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*r,":hover":{color:n?i.neutral80:i.neutral40}})},wm=Cm,Am=Cm,Nm=function(){var e=pp.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_"}}}(sm||(gm=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],bm||(bm=gm.slice(0)),sm=Object.freeze(Object.defineProperties(gm,{raw:{value:Object.freeze(bm)}})))),jm=function(e){var t=e.delay,n=e.offset;return dp("span",{css:pp({animation:"".concat(Nm," 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= */")})},km=function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.innerRef,i=e.innerProps,s=e.menuIsOpen;return dp("div",Ka({ref:r},zp(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":o,"control--menu-is-open":s}),i,{"aria-disabled":n||void 0}),t)},Gm=["data"],Pm=function(e){var t=e.children,n=e.cx,o=e.getStyles,r=e.getClassNames,i=e.Heading,s=e.headingProps,a=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return dp("div",Ka({},zp(e,"group",{group:!0}),a),dp(i,Ka({},s,{selectProps:u,theme:c,getStyles:o,getClassNames:r,cx:n}),l),dp("div",null,t))},Vm=["innerRef","isDisabled","isHidden","inputClassName"],Bm={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Sm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":lu({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Bm)},Em=function(e){return lu({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Bm)},Rm=function(e){var t=e.cx,n=e.value,o=Dp(e),r=o.innerRef,i=o.isDisabled,s=o.isHidden,a=o.inputClassName,l=pu(o,Vm);return dp("div",Ka({},zp(e,"input",{"input-container":!0}),{"data-value":n||""}),dp("input",Ka({className:t({input:!0},a),ref:r,style:Em(s),disabled:i},l)))},Tm=function(e){var t=e.children,n=e.innerProps;return dp("div",n,t)};var Mm=function(e){var t=e.children,n=e.components,o=e.data,r=e.innerProps,i=e.isDisabled,s=e.removeProps,a=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return dp(l,{data:o,innerProps:lu(lu({},zp(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":i})),r),selectProps:a},dp(c,{data:o,innerProps:lu({},zp(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},t),dp(u,{data:o,innerProps:lu(lu({},zp(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},s),selectProps:a}))},Xm={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return dp("div",Ka({},zp(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||dp(ym,null))},Control:km,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return dp("div",Ka({},zp(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||dp(Im,null))},DownChevron:Im,CrossIcon:ym,Group:Pm,GroupHeading:function(e){var t=Dp(e);t.data;var n=pu(t,Gm);return dp("div",Ka({},zp(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return dp("div",Ka({},zp(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return dp("span",Ka({},t,zp(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Rm,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,o=e.size,r=void 0===o?4:o,i=pu(e,fm);return dp("div",Ka({},zp(lu(lu({},i),{},{innerProps:t,isRtl:n,size:r}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),dp(jm,{delay:0,offset:n}),dp(jm,{delay:160,offset:!0}),dp(jm,{delay:320,offset:!n}))},Menu:um,MenuList:function(e){var t=e.children,n=e.innerProps,o=e.innerRef,r=e.isMulti;return dp("div",Ka({},zp(e,"menuList",{"menu-list":!0,"menu-list--is-multi":r}),{ref:o},n),t)},MenuPortal:function(e){var n=e.appendTo,r=e.children,i=e.controlElement,s=e.innerProps,a=e.menuPlacement,l=e.menuPosition,c=t.useRef(null),u=t.useRef(null),d=du(t.useState(am(a)),2),p=d[0],m=d[1],h=t.useMemo(function(){return{setPortalPlacement:m}},[]),f=du(t.useState(null),2),g=f[0],b=f[1],v=t.useCallback(function(){if(i){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(i),t="fixed"===l?0:window.pageYOffset,n=e[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})}},[i,l,p,null==g?void 0:g.offset,null==g?void 0:g.rect.left,null==g?void 0:g.rect.width]);Xp(function(){v()},[v]);var x=t.useCallback(function(){"function"==typeof u.current&&(u.current(),u.current=null),i&&c.current&&(u.current=Mp(i,c.current,v,{elementResize:"ResizeObserver"in window}))},[i,v]);Xp(function(){x()},[x]);var y=t.useCallback(function(e){c.current=e,x()},[x]);if(!n&&"fixed"!==l||!g)return null;var I=dp("div",Ka({ref:y},zp(lu(lu({},e),{},{offset:g.offset,position:l,rect:g.rect}),"menuPortal",{"menu-portal":!0}),s),r);return dp(lm.Provider,{value:h},n?o.createPortal(I,n):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,o=e.innerProps,r=pu(e,rm);return dp("div",Ka({},zp(lu(lu({},r),{},{children:n,innerProps:o}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),o),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,o=e.innerProps,r=pu(e,om);return dp("div",Ka({},zp(lu(lu({},r),{},{children:n,innerProps:o}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),o),n)},MultiValue:Mm,MultiValueContainer:Tm,MultiValueLabel:Tm,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return dp("div",Ka({role:"button"},n),t||dp(ym,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.innerRef,s=e.innerProps;return dp("div",Ka({},zp(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":o,"option--is-selected":r}),{ref:i,"aria-disabled":n},s),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return dp("div",Ka({},zp(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,o=e.isDisabled,r=e.isRtl;return dp("div",Ka({},zp(e,"container",{"--is-disabled":o,"--is-rtl":r}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,o=e.innerProps;return dp("div",Ka({},zp(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),o),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,o=e.isMulti,r=e.hasValue;return dp("div",Ka({},zp(e,"valueContainer",{"value-container":!0,"value-container--is-multi":o,"value-container--has-value":r}),n),t)}},Wm=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Fm(e,t){return e===t||!(!Wm(e)||!Wm(t))}function Lm(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Fm(e[n],t[n]))return!1;return!0}for(var Om="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)."}},Zm=function(e){return dp("span",Ka({css:Om},e))},Dm={guidance:function(e){var t=e.isSearchable,n=e.isMulti,o=e.tabSelectsValue,r=e.context,i=e.isInitialFocus;switch(r){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return i?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,o=void 0===n?"":n,r=e.labels,i=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(o,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(r.length>1?"s":""," ").concat(r.join(","),", selected.");case"select-option":return"option ".concat(o,i?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,o=e.options,r=e.label,i=void 0===r?"":r,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(i," focused, ").concat(u(s,n),".");if("menu"===t&&c){var d=a?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(i).concat(p,", ").concat(u(o,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},zm=function(e){var n=e.ariaSelection,o=e.focusedOption,r=e.focusedValue,i=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,I=l.isLoading,C=l["aria-label"],w=l["aria-live"],A=t.useMemo(function(){return lu(lu({},Dm),d||{})},[d]),N=t.useMemo(function(){var e,t="";if(n&&A.onChange){var o=n.option,r=n.options,i=n.removedValue,s=n.removedValues,l=n.value,c=i||o||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=r||s||void 0,m=d?d.map(p):[],h=lu({isDisabled:c&&f(c,a),label:u,labels:m},n);t=A.onChange(h)}return t},[n,A,f,a,p]),j=t.useMemo(function(){var e="",t=o||r,n=!!(o&&a&&a.includes(o));if(t&&A.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:n,options:i,context:t===o?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(s)}return e},[o,r,p,f,A,i,a,u]),k=t.useMemo(function(){var e="";if(b&&v.length&&!I&&A.onFilter){var t=x({count:i.length});e=A.onFilter({inputValue:m,resultsMessage:t})}return e},[i,m,b,A,v,x,I]),G="initial-input-focus"===(null==n?void 0:n.action),P=t.useMemo(function(){var e="";if(A.guidance){var t=r?"value":b?"menu":"input";e=A.guidance({"aria-label":C,context:t,isDisabled:o&&f(o,a),isMulti:h,isSearchable:g,tabSelectsValue:y,isInitialFocus:G})}return e},[C,o,r,h,f,g,b,A,a,y,G]),V=dp(t.Fragment,null,dp("span",{id:"aria-selection"},N),dp("span",{id:"aria-focused"},j),dp("span",{id:"aria-results"},k),dp("span",{id:"aria-guidance"},P));return dp(t.Fragment,null,dp(Zm,{id:c},G&&V),dp(Zm,{"aria-live":w,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!G&&V))},Hm=[{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źẑżžẓẕƶȥɀⱬꝣ"}],Ym=new RegExp("["+Hm.map(function(e){return e.letters}).join("")+"]","g"),Jm={},Um=0;Um<Hm.length;Um++)for(var $m=Hm[Um],Qm=0;Qm<$m.letters.length;Qm++)Jm[$m.letters[Qm]]=$m.base;var _m=function(e){return e.replace(Ym,function(e){return Jm[e]})},Km=function(e,t){void 0===t&&(t=Lm);var n=null;function o(){for(var o=[],r=0;r<arguments.length;r++)o[r]=arguments[r];if(n&&n.lastThis===this&&t(o,n.lastArgs))return n.lastResult;var i=e.apply(this,o);return n={lastResult:i,lastArgs:o,lastThis:this},i}return o.clear=function(){n=null},o}(_m),qm=function(e){return e.replace(/^\s+|\s+$/g,"")},eh=function(e){return"".concat(e.label," ").concat(e.value)},th=function(e){return function(t,n){if(t.data.__isNew__)return!0;var o=lu({ignoreCase:!0,ignoreAccents:!0,stringify:eh,trim:!0,matchFrom:"any"},e),r=o.ignoreCase,i=o.ignoreAccents,s=o.stringify,a=o.trim,l=o.matchFrom,c=a?qm(n):n,u=a?qm(s(t)):s(t);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=Km(c),u=_m(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},nh=["innerRef"];function oh(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];var r=Object.entries(e).filter(function(e){var t=du(e,1)[0];return!n.includes(t)});return r.reduce(function(e,t){var n=du(t,2),o=n[0],r=n[1];return e[o]=r,e},{})}(pu(e,nh),"onExited","in","enter","exit","appear");return dp("input",Ka({ref:t},n,{css:pp({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 rh=["boxSizing","height","overflow","paddingRight","position"],ih={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function sh(e){e.cancelable&&e.preventDefault()}function ah(e){e.stopPropagation()}function lh(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ch(){return"ontouchstart"in window||navigator.maxTouchPoints}var uh=!("undefined"==typeof window||!window.document||!window.document.createElement),dh=0,ph={capture:!1,passive:!1};var mh=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},hh="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 fh(e){var n=e.children,o=e.lockEnabled,r=e.captureEnabled,i=function(e){var n=e.isEnabled,o=e.onBottomArrive,r=e.onBottomLeave,i=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&&(r&&r(e),a.current=!1),h&&l.current&&(s&&s(e),l.current=!1),h&&t>f?(o&&!a.current&&o(e),m.scrollTop=d,g=!0,a.current=!0):!h&&-t>c&&(i&&!l.current&&i(e),m.scrollTop=0,g=!0,l.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[o,r,i,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=!!em&&{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===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),s=function(e){var n=e.isEnabled,o=e.accountForScrollbars,r=void 0===o||o,i=t.useRef({}),s=t.useRef(null),a=t.useCallback(function(e){if(uh){var t=document.body,n=t&&t.style;if(r&&rh.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&dh<1){var o=parseInt(i.current.paddingRight,10)||0,s=document.body?document.body.clientWidth:0,a=window.innerWidth-s+o||0;Object.keys(ih).forEach(function(e){var t=ih[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(a,"px"))}t&&ch()&&(t.addEventListener("touchmove",sh,ph),e&&(e.addEventListener("touchstart",lh,ph),e.addEventListener("touchmove",ah,ph))),dh+=1}},[r]),l=t.useCallback(function(e){if(uh){var t=document.body,n=t&&t.style;dh=Math.max(dh-1,0),r&&dh<1&&rh.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&ch()&&(t.removeEventListener("touchmove",sh,ph),e&&(e.removeEventListener("touchstart",lh,ph),e.removeEventListener("touchmove",ah,ph)))}},[r]);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:o});return dp(t.Fragment,null,o&&dp("div",{onClick:mh,css:hh}),n(function(e){i(e),s(e)}))}var gh="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)."}},bh=function(e){var t=e.name,n=e.onFocus;return dp("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:gh,value:"",onChange:function(){}})};function vh(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function xh(){return vh(/^Mac/i)}function yh(){return vh(/^iPhone/i)||vh(/^iPad/i)||xh()&&navigator.maxTouchPoints>1}var Ih={clearIndicator:Am,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.theme,i=r.colors,s=r.borderRadius;return lu({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:r.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},dropdownIndicator:wm,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,o=n.colors,r=n.spacing;return lu({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*r.baseUnit,paddingRight:3*r.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing.baseUnit,i=o.colors;return lu({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*r,marginTop:2*r})},input:function(e,t){var n=e.isDisabled,o=e.value,r=e.theme,i=r.spacing,s=r.colors;return lu(lu({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},Sm),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,o=e.size,r=e.theme,i=r.colors,s=r.spacing.baseUnit;return lu({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},loadingMessage:mm,menu:function(e,t){var n,o=e.placement,r=e.theme,i=r.borderRadius,s=r.spacing,a=r.colors;return lu((su(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),su(n,"position","absolute"),su(n,"width","100%"),su(n,"zIndex",1),n),t?{}:{backgroundColor:a.neutral0,borderRadius:i,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,o=e.theme.spacing.baseUnit;return lu({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},menuPortal:function(e){var t=e.rect,n=e.offset,o=e.position;return{left:t.left,position:o,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors;return lu({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:r/2,margin:o.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,o=n.borderRadius,r=n.colors,i=e.cropWithEllipsis;return lu({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:r.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,o=n.spacing,r=n.borderRadius,i=n.colors,s=e.isFocused;return lu({alignItems:"center",display:"flex"},t?{}:{borderRadius:r/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},noOptionsMessage:pm,option:function(e,t){var n=e.isDisabled,o=e.isFocused,r=e.isSelected,i=e.theme,s=i.spacing,a=i.colors;return lu({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:r?a.primary:o?a.primary25:"transparent",color:n?a.neutral20:r?a.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:r?a.primary:a.primary50}})},placeholder:function(e,t){var n=e.theme,o=n.spacing,r=n.colors;return lu({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:r.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,o=e.theme,r=o.spacing,i=o.colors;return lu({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,o=e.isMulti,r=e.hasValue,i=e.selectProps.controlShouldRenderValue;return lu({alignItems:"center",display:o&&r&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ch={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}},wh={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qp(),captureMenuScroll:!Qp(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:th(),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 Ah(e,t,n,o){return{type:"option",data:t,isDisabled:Sh(e,t,n),isSelected:Eh(e,t,n),label:Vh(e,t),value:Bh(e,t),index:o}}function Nh(e,t){return e.options.map(function(n,o){if("options"in n){var r=n.options.map(function(n,o){return Ah(e,n,t,o)}).filter(function(t){return Gh(e,t)});return r.length>0?{type:"group",data:n,options:r,index:o}:void 0}var i=Ah(e,n,t,o);return Gh(e,i)?i:void 0}).filter(tm)}function jh(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,xu(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function kh(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,xu(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 Gh(e,t){var n=e.inputValue,o=void 0===n?"":n,r=t.data,i=t.isSelected,s=t.label,a=t.value;return(!Th(e)||!i)&&Rh(e,{label:s,value:a,data:r},o)}var Ph=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Vh=function(e,t){return e.getOptionLabel(t)},Bh=function(e,t){return e.getOptionValue(t)};function Sh(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Eh(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var o=Bh(e,t);return n.some(function(t){return Bh(e,t)===o})}function Rh(e,t,n){return!e.filterOption||e.filterOption(t,n)}var Th=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Mh=1,Xh=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&&fu(e,t)}(n,t.Component);var e=function(e){var t=bu();return function(){var n,o=gu(e);if(t){var r=gu(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return vu(this,n)}}(n);function n(t){var o;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=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},o.blockOptionHover=!1,o.isComposing=!1,o.commonProps=void 0,o.initialTouchX=0,o.initialTouchY=0,o.openAfterFocus=!1,o.scrollToFocusedOptionOnUpdate=!1,o.userIsDragging=void 0,o.controlRef=null,o.getControlRef=function(e){o.controlRef=e},o.focusedOptionRef=null,o.getFocusedOptionRef=function(e){o.focusedOptionRef=e},o.menuListRef=null,o.getMenuListRef=function(e){o.menuListRef=e},o.inputRef=null,o.getInputRef=function(e){o.inputRef=e},o.focus=o.focusInput,o.blur=o.blurInput,o.onChange=function(e,t){var n=o.props,r=n.onChange,i=n.name;t.name=i,o.ariaOnChange(e,t),r(e,t)},o.setValue=function(e,t,n){var r=o.props,i=r.closeMenuOnSelect,s=r.isMulti,a=r.inputValue;o.onInputChange("",{action:"set-value",prevInputValue:a}),i&&(o.setState({inputIsHiddenAfterUpdate:!s}),o.onMenuClose()),o.setState({clearFocusValueOnUpdate:!0}),o.onChange(e,{action:t,option:n})},o.selectOption=function(e){var t=o.props,n=t.blurInputOnSelect,r=t.isMulti,i=t.name,s=o.state.selectValue,a=r&&o.isOptionSelected(e,s),l=o.isOptionDisabled(e,s);if(a){var c=o.getOptionValue(e);o.setValue(s.filter(function(e){return o.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void o.ariaOnChange(e,{action:"select-option",option:e,name:i});r?o.setValue([].concat(xu(s),[e]),"select-option",e):o.setValue(e,"select-option")}n&&o.blurInput()},o.removeValue=function(e){var t=o.props.isMulti,n=o.state.selectValue,r=o.getOptionValue(e),i=n.filter(function(e){return o.getOptionValue(e)!==r}),s=nm(t,i,i[0]||null);o.onChange(s,{action:"remove-value",removedValue:e}),o.focusInput()},o.clearValue=function(){var e=o.state.selectValue;o.onChange(nm(o.props.isMulti,[],null),{action:"clear",removedValues:e})},o.popValue=function(){var e=o.props.isMulti,t=o.state.selectValue,n=t[t.length-1],r=t.slice(0,t.length-1),i=nm(e,r,r[0]||null);n&&o.onChange(i,{action:"pop-value",removedValue:n})},o.getFocusedOptionId=function(e){return Ph(o.state.focusableOptionsWithIds,e)},o.getFocusableOptionsWithIds=function(){return kh(Nh(o.props,o.state.selectValue),o.getElementId("option"))},o.getValue=function(){return o.state.selectValue},o.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Op.apply(void 0,[o.props.classNamePrefix].concat(t))},o.getOptionLabel=function(e){return Vh(o.props,e)},o.getOptionValue=function(e){return Bh(o.props,e)},o.getStyles=function(e,t){var n=o.props.unstyled,r=Ih[e](t,n);r.boxSizing="border-box";var i=o.props.styles[e];return i?i(r,t):r},o.getClassNames=function(e,t){var n,r;return null===(n=(r=o.props.classNames)[e])||void 0===n?void 0:n.call(r,t)},o.getElementId=function(e){return"".concat(o.state.instancePrefix,"-").concat(e)},o.getComponents=function(){return e=o.props,lu(lu({},Xm),e.components);var e},o.buildCategorizedOptions=function(){return Nh(o.props,o.state.selectValue)},o.getCategorizedOptions=function(){return o.props.menuIsOpen?o.buildCategorizedOptions():[]},o.buildFocusableOptions=function(){return jh(o.buildCategorizedOptions())},o.getFocusableOptions=function(){return o.props.menuIsOpen?o.buildFocusableOptions():[]},o.ariaOnChange=function(e,t){o.setState({ariaSelection:lu({value:e},t)})},o.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),o.focusInput())},o.onMenuMouseMove=function(e){o.blockOptionHover=!1},o.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=o.props.openMenuOnClick;o.state.isFocused?o.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&o.onMenuClose():t&&o.openMenu("first"):(t&&(o.openAfterFocus=!0),o.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},o.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||o.props.isDisabled)){var t=o.props,n=t.isMulti,r=t.menuIsOpen;o.focusInput(),r?(o.setState({inputIsHiddenAfterUpdate:!n}),o.onMenuClose()):o.openMenu("first"),e.preventDefault()}},o.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(o.clearValue(),e.preventDefault(),o.openAfterFocus=!1,"touchend"===e.type?o.focusInput():setTimeout(function(){return o.focusInput()}))},o.onScroll=function(e){"boolean"==typeof o.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Hp(e.target)&&o.props.onMenuClose():"function"==typeof o.props.closeMenuOnScroll&&o.props.closeMenuOnScroll(e)&&o.props.onMenuClose()},o.onCompositionStart=function(){o.isComposing=!0},o.onCompositionEnd=function(){o.isComposing=!1},o.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(o.initialTouchX=n.clientX,o.initialTouchY=n.clientY,o.userIsDragging=!1)},o.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var r=Math.abs(n.clientX-o.initialTouchX),i=Math.abs(n.clientY-o.initialTouchY);o.userIsDragging=r>5||i>5}},o.onTouchEnd=function(e){o.userIsDragging||(o.controlRef&&!o.controlRef.contains(e.target)&&o.menuListRef&&!o.menuListRef.contains(e.target)&&o.blurInput(),o.initialTouchX=0,o.initialTouchY=0)},o.onControlTouchEnd=function(e){o.userIsDragging||o.onControlMouseDown(e)},o.onClearIndicatorTouchEnd=function(e){o.userIsDragging||o.onClearIndicatorMouseDown(e)},o.onDropdownIndicatorTouchEnd=function(e){o.userIsDragging||o.onDropdownIndicatorMouseDown(e)},o.handleInputChange=function(e){var t=o.props.inputValue,n=e.currentTarget.value;o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange(n,{action:"input-change",prevInputValue:t}),o.props.menuIsOpen||o.onMenuOpen()},o.onInputFocus=function(e){o.props.onFocus&&o.props.onFocus(e),o.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(o.openAfterFocus||o.props.openMenuOnFocus)&&o.openMenu("first"),o.openAfterFocus=!1},o.onInputBlur=function(e){var t=o.props.inputValue;o.menuListRef&&o.menuListRef.contains(document.activeElement)?o.inputRef.focus():(o.props.onBlur&&o.props.onBlur(e),o.onInputChange("",{action:"input-blur",prevInputValue:t}),o.onMenuClose(),o.setState({focusedValue:null,isFocused:!1}))},o.onOptionHover=function(e){if(!o.blockOptionHover&&o.state.focusedOption!==e){var t=o.getFocusableOptions().indexOf(e);o.setState({focusedOption:e,focusedOptionId:t>-1?o.getFocusedOptionId(e):null})}},o.shouldHideSelectedOptions=function(){return Th(o.props)},o.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),o.focus()},o.onKeyDown=function(e){var t=o.props,n=t.isMulti,r=t.backspaceRemovesValue,i=t.escapeClearsValue,s=t.inputValue,a=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=o.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(o.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||s)return;o.focusValue("previous");break;case"ArrowRight":if(!n||s)return;o.focusValue("next");break;case"Delete":case"Backspace":if(s)return;if(f)o.removeValue(f);else{if(!r)return;n?o.popValue():a&&o.clearValue()}break;case"Tab":if(o.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&o.isOptionSelected(h,g))return;o.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(o.isComposing)return;o.selectOption(h);break}return;case"Escape":c?(o.setState({inputIsHiddenAfterUpdate:!1}),o.onInputChange("",{action:"menu-close",prevInputValue:s}),o.onMenuClose()):a&&i&&o.clearValue();break;case" ":if(s)return;if(!c){o.openMenu("first");break}if(!h)return;o.selectOption(h);break;case"ArrowUp":c?o.focusOption("up"):o.openMenu("last");break;case"ArrowDown":c?o.focusOption("down"):o.openMenu("first");break;case"PageUp":if(!c)return;o.focusOption("pageup");break;case"PageDown":if(!c)return;o.focusOption("pagedown");break;case"Home":if(!c)return;o.focusOption("first");break;case"End":if(!c)return;o.focusOption("last");break;default:return}e.preventDefault()}},o.state.instancePrefix="react-select-"+(o.props.instanceId||++Mh),o.state.selectValue=Zp(t.value),t.menuIsOpen&&o.state.selectValue.length){var r=o.getFocusableOptionsWithIds(),i=o.buildFocusableOptions(),s=i.indexOf(o.state.selectValue[0]);o.state.focusableOptionsWithIds=r,o.state.focusedOption=i[s],o.state.focusedOptionId=Ph(r,i[s])}return o}return function(e,t,n){t&&hu(e.prototype,t),n&&hu(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&&$p(this.menuListRef,this.focusedOptionRef),(xh()||yh())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,o=t.menuIsOpen,r=this.state.isFocused;(r&&!n&&e.isDisabled||r&&o&&!e.menuIsOpen)&&this.focusInput(),r&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):r||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&($p(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,o=n.selectValue,r=n.isFocused,i=this.buildFocusableOptions(),s="first"===e?0:i.length-1;if(!this.props.isMulti){var a=i.indexOf(o[0]);a>-1&&(s=a)}this.scrollToFocusedOptionOnUpdate=!(r&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:i[s],focusedOptionId:this.getFocusedOptionId(i[s])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,o=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var r=n.indexOf(o);o||(r=-1);var i=n.length-1,s=-1;if(n.length){switch(e){case"previous":s=0===r?0:-1===r?i:r-1;break;case"next":r>-1&&r<i&&(s=r+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,o=this.getFocusableOptions();if(o.length){var r=0,i=o.indexOf(n);n||(i=-1),"up"===e?r=i>0?i-1:o.length-1:"down"===e?r=(i+1)%o.length:"pageup"===e?(r=i-t)<0&&(r=0):"pagedown"===e?(r=i+t)>o.length-1&&(r=o.length-1):"last"===e&&(r=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[r],focusedValue:null,focusedOptionId:this.getFocusedOptionId(o[r])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ch):lu(lu({},Ch),this.props.theme):Ch}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,o=this.getClassNames,r=this.getValue,i=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:o,getValue:r,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:i,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 Sh(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Eh(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Rh(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,o=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:o})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,o=e.inputId,r=e.inputValue,i=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,f=o||this.getElementId("input"),g=lu(lu(lu({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?a.createElement(u,Ka({},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:i,form:s,type:"text",value:r},g)):a.createElement(oh,Ka({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Fp,onFocus:this.onInputFocus,disabled:t,tabIndex:i,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,r=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,x=g.isFocused;if(!this.hasValue()||!d)return h?null:a.createElement(l,Ka({},c,{key:"placeholder",isDisabled:p,isFocused:x,innerProps:{id:this.getElementId("placeholder")}}),f);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return a.createElement(n,Ka({},c,{components:{Container:o,Label:r,Remove:i},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var y=b[0];return a.createElement(s,Ka({},c,{data:y,isDisabled:p}),this.formatOptionLabel(y,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||r)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,Ka({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,r=n.isLoading,i=this.state.isFocused;if(!e||!r)return null;return a.createElement(e,Ka({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,r=this.props.isDisabled,i=this.state.isFocused;return a.createElement(n,Ka({},o,{isDisabled:r,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,r={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return a.createElement(e,Ka({},t,{innerProps:r,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,r=t.Menu,i=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,f=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,x=m.maxMenuHeight,y=m.menuIsOpen,I=m.menuPlacement,C=m.menuPosition,w=m.menuPortalTarget,A=m.menuShouldBlockScroll,N=m.menuShouldScrollIntoView,j=m.noOptionsMessage,k=m.onMenuScrollToTop,G=m.onMenuScrollToBottom;if(!y)return null;var P,V=function(t,n){var o=t.type,r=t.data,i=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===r,h=i?void 0:function(){return e.onOptionHover(r)},f=i?void 0:function(){return e.selectOption(r)},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 a.createElement(u,Ka({},d,{innerProps:b,data:r,isDisabled:i,isSelected:s,key:g,label:l,type:o,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())P=this.getCategorizedOptions().map(function(t){if("group"===t.type){var r=t.data,i=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return a.createElement(n,Ka({},d,{key:l,data:r,options:i,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return V(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return V(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;P=a.createElement(l,d,B)}else{var S=j({inputValue:f});if(null===S)return null;P=a.createElement(c,d,S)}var E={minMenuHeight:v,maxMenuHeight:x,menuPlacement:I,menuPosition:C,menuShouldScrollIntoView:N},R=a.createElement(cm,Ka({},d,E),function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return a.createElement(r,Ka({},d,E,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),a.createElement(fh,{captureEnabled:h,onTopArrive:k,onBottomArrive:G,lockEnabled:A},function(t){return a.createElement(i,Ka({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),P)}))});return w||"fixed"===C?a.createElement(s,Ka({},d,{appendTo:w,controlElement:this.controlRef,menuPlacement:I,menuPosition:C}),R):R}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,o=t.isDisabled,r=t.isMulti,i=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!o)return a.createElement(bh,{name:i,onFocus:this.onValueInputFocus});if(i&&!o){if(r){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return a.createElement("input",{name:i,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return a.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})}):a.createElement("input",{name:i,type:"hidden",value:""});return a.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return a.createElement("input",{name:i,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,r=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return a.createElement(zm,Ka({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:r,isFocused:i,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,r=e.ValueContainer,i=this.props,s=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return a.createElement(o,Ka({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),a.createElement(t,Ka({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),a.createElement(r,Ka({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),a.createElement(n,Ka({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,o=t.clearFocusValueOnUpdate,r=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,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=Zp(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return jh(Nh(e,t))}(e,h):[],b=d?kh(Nh(e,h),"".concat(l,"-option")):[],v=o?function(e,t){var n=e.focusedValue,o=e.selectValue.indexOf(n);if(o>-1){if(t.indexOf(n)>-1)return n;if(o<t.length)return t[o]}return null}(t,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:Ph(b,x),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var y=null!=r&&e!==n?{inputIsHidden:r,inputIsHiddenAfterUpdate:void 0}:{},I=i,C=s&&a;return s&&!C&&(I={value:nm(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!a),"initial-input-focus"===(null==i?void 0:i.action)&&(I=null),lu(lu(lu({},f),y),{},{prevProps:e,ariaSelection:I,prevWasFocused:C})}}]),n}();Xh.defaultProps=wh;var Wh=t.forwardRef(function(e,n){var o=function(e){var n=e.defaultInputValue,o=void 0===n?"":n,r=e.defaultMenuIsOpen,i=void 0!==r&&r,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=pu(e,mu),g=du(t.useState(void 0!==l?l:o),2),b=g[0],v=g[1],x=du(t.useState(void 0!==c?c:i),2),y=x[0],I=x[1],C=du(t.useState(void 0!==h?h:a),2),w=C[0],A=C[1],N=t.useCallback(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),j=t.useCallback(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),v(void 0!==n?n:e)},[d]),k=t.useCallback(function(){"function"==typeof m&&m(),I(!0)},[m]),G=t.useCallback(function(){"function"==typeof p&&p(),I(!1)},[p]),P=void 0!==l?l:b,V=void 0!==c?c:y,B=void 0!==h?h:w;return lu(lu({},f),{},{inputValue:P,menuIsOpen:V,onChange:N,onInputChange:j,onMenuClose:G,onMenuOpen:k,value:B})}(e);return a.createElement(Xh,Ka({ref:n},o))}),Fh=Wh;const Lh=t.memo(({options:n,className:o,controlClassName:r,value:i,isCustomStyle:s=!1,placeholder:a,required:l,onChange:c,filterOptions:u,hasError:d,error:p,helperText:m,label:h,labelClassName:f,size:g="md",variant:b="default","data-cy":v,"data-testid":x,...y})=>{const I=t.useMemo(()=>th(u),[u]),C=t.useMemo(()=>({control:({isFocused:e})=>Ie("sm"===g?"h-[48px] px-3 rounded-lg":"h-[56px] px-3 rounded-xl","border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!d,"border-input-border-critical shadow-none":d},r),indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>s?e.value?"hidden":"block":"block text-icon-default "+(d?"text-icon-critical":""),singleValue:()=>Ie(s?"text-text text-body1 whitespace-normal":"text-text-secondary"),menu:()=>"z-20 mt-2",option:({isFocused:e,isSelected:t,label:o})=>{var r;return Ie("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",s?"text-body1 text-text":"",s&&(null===(r=n[n.length-1])||void 0===r?void 0:r.label)!==o?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[s,r,n,d,g]);return"unstyled"===b?e.jsx(Fh,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Ie("rounded-xl",o),classNames:C,"data-cy":v,"data-testid":x,...y}):e.jsxs("div",{className:"w-full",children:[h&&e.jsx("label",{className:Ie("mb-1 block text-sm font-medium text-text-secondary",f),children:h}),e.jsx(Fh,{options:n,value:i,placeholder:l?`${a}*`:a,onChange:c,filterOption:I,className:Ie("rounded-xl",o),classNames:C,"data-cy":v,"data-testid":x,...y}),p&&e.jsx(je,{className:"footnote mt-1 text-text-critical",children:p}),!p&&m&&e.jsx(je,{className:"footnote mt-1 text-text-info",children:m})]})});Lh.displayName="Select",exports.Accordion=({items:t,title:n,background:o="white",enableHeading:r=!1,maxWidth:i=!0})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[o]} component-container`,children:e.jsxs("div",{className:(i?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e.jsx("div",{children:e.jsx(je,{as:r?"h1":"h2",className:"heading1 text-left lg:text-center",children:n})}),e.jsx("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==t?void 0:t.map((t,n)=>e.jsx("div",{children:e.jsx(Ne,{title:t.title,containerClassName:"border-0 border-b-[1px]",buttonClassName:"px-0 label1",borderRadiusNone:!0,openOnlyOnDesktop:!0,children:e.jsx(je,{children:t.description})})},`item-${n}`))})]})}),exports.BlogCard=nu,exports.BlogGrid=function({paginatedArticles:t,totalArticles:n,currentPage:o,totalPages:r,selectedCategory:s,categoryOptions:a}){const l=i.useRouter(),c=i.usePathname(),u=i.useSearchParams();function d(e,t){const n=new URLSearchParams(u.toString());t?n.set(e,t):n.delete(e),"category"===e&&n.delete("page"),l.push(`${c}?${n.toString()}`,{scroll:!1})}return e.jsxs("section",{"aria-label":"Blog articles",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(je,{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(je,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e.jsx(je,{as:"span",className:"hidden md:block",children:"showing"}),e.jsxs("strong",{className:"block text-nowrap font-bold text-text-info",children:[e.jsxs(je,{as:"span",className:"md:hidden",children:["showing"," "]}),t.length," of ",n," articles"]})]}),e.jsx(Lh,{options:a,value:s,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;d("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),t.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:t.map(t=>{var n,o,r,i,s;const a=t.slug.startsWith("/")?t.slug:`/${t.slug}`,l=(null===(n=null==t?void 0:t.cover)||void 0===n?void 0:n.url)?{src:null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.url,alt:(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e.jsx(nu,{href:a,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:l},t.slug)})}):e.jsx(je,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),r>1&&e.jsx(ou,{currentPage:o,totalPages:r,onPageChange:function(e){d("page",1===e?"":e.toString()),window.scrollTo({top:0,behavior:"smooth"})},ariaLabel:"Blog article pagination"})]})},exports.Button=Ve,exports.Callout=({title:t,items:n,enableHeading:o=!1,subtitle:r,color:i="dark",maxWidth:s=!0,maxCardsPerRow:a})=>{const l={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[a||4]||" lg:w-[calc(25%-1.125rem)]",c=1===n.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e.jsx("div",{className:"component-container",children:e.jsx("div",{className:`mx-5 mb-5 mt-12 ${s?"max-w-120 xl:mx-auto":""} ${"dark"==i?"text-text":"text-white"}`,children:e.jsxs("div",{className:"callout-container flex flex-col gap-8",children:[e.jsxs("div",{className:"title-holder",children:[t&&e.jsx(je,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:t}),r&&e.jsx(je,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:r})]}),e.jsx("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-8 self-stretch lg:gap-6",children:n.map((t,n)=>e.jsx(Ee,{card:t,lgWidth:l,mdWidth:c},n))})]})})})},exports.Cards=({fields:t})=>e.jsx("div",{children:e.jsx(je,{children:"Cards"})}),exports.Carousel=({fields:t,hasTestimonialCards:n,hasProductCards:o,disclaimerText:r,backgroundColor:i,activeTab:s,setActiveTab:a,tabs:l,onModalButtonClick:c,renderCheckPlans:u,showSwitch:d=!1})=>e.jsx("div",{className:`${i} mx-auto overflow-hidden px-5 py-9 md:py-20`,children:e.jsxs("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[e.jsxs("div",{children:[e.jsx(je,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==t?void 0:t.title}),(null==t?void 0:t.subTitle)&&e.jsx(je,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==t?void 0:t.subTitle})]}),d&&o&&l.length>1&&e.jsx(ze,{tabs:l,activeTab:s,onChange:a,className:"mb-8"}),n&&e.jsx(De,{fields:t}),o&&e.jsx(Ze,{onModalButtonClick:c,renderCheckPlans:u,fields:t}),e.jsx(je,{as:"div",className:"body1 mt-8 px-4 text-center text-neutral-600",children:r})]})}),exports.ComparisonTable=({title:t,disclaimer:n,table:o,maxWidth:r=!0})=>e.jsx("div",{className:"component-container",children:e.jsxs("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(r?"max-w-120 xl:mx-auto":""),children:[e.jsx(je,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:t}),e.jsx("div",{className:"comparison-table-container mt-20 xl:mt-10",children:o}),e.jsx(je,{as:"div",className:"micro mt-8 text-center",children:n})]})}),exports.CtaCallout=({title:t,background:n="white",button:o,color:r,contentAlignment:i,description:s,descriptionAlignment:a,enableHeading:l,subTitle:c,maxWidth:u=!0,onModalButtonClick:d,renderCheckPlans:p})=>e.jsx("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[n]} component-container`,children:e.jsxs("div",{className:`${u?"mx-auto max-w-120":""} color-${r} flex flex-col ${"dark"==r?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e.jsx(je,{as:l?"h1":"h2",className:`heading2 lg:heading1 text-${i}`,children:t}),e.jsx(je,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${i}`,children:c}),e.jsx("div",{className:`pt-2 text-body1 lg:pt-3 text-${a}`,children:s}),e.jsx("div",{className:"flex justify-center pt-5 lg:pt-14",children:e.jsx(Ve,{...o,renderCheckPlans:p,onModalButtonClick:d})})]})}),exports.FindKinetic=({background:t="white",description:n,enableHeading:o,image:r,list:i=[],subTitle:s,title:a,color:l="dark",maxWidth:c=!0})=>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"==l?"text-text":"text-white"}`,children:e.jsxs("div",{className:(c?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[a&&e.jsx(je,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:a}),s&&e.jsx(je,{as:o?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),e.jsxs("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[e.jsxs("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[n&&e.jsx(je,{as:"p",className:"body1",children:n}),i.length>0&&e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"grid w-full grid-cols-2 gap-x-8 gap-y-4 md:hidden",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),o=[];for(let e=0;e<n;e++)for(let r=0;r<2;r++){const i=r*n+e;i<t.length&&o.push(t[i])}return o.map((t,n)=>e.jsx("li",{children:e.jsx(Pe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e.jsx("ul",{className:"hidden gap-x-8 gap-y-4 md:grid md:grid-cols-3",children:(()=>{const t=[...i].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),o=[];for(let e=0;e<n;e++)for(let r=0;r<3;r++){const i=r*n+e;i<t.length&&o.push(t[i])}return o.map((t,n)=>e.jsx("li",{children:e.jsx(Pe,{href:`/local/${t.code.toLowerCase()}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),r&&e.jsx("aside",{className:"hidden xl:block",children:e.jsx(Se,{width:472,height:100,src:r,alt:"image"})})]})]})}),exports.FloatingBanner=({title:t,subtitle:n,description:o,disclaimer:r,icon:i,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-[40px] xl:mx-auto "+(u?"max-w-120":""),children:[e.jsxs("div",{className:`flex flex-col rounded-[28px] px-5 py-7 lg:flex-row lg:rounded-[40px] lg:px-16 lg:py-9 ${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} ${"dark"==l?"text-text":"text-white"} `,children:[i&&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(Se,{width:80,height:80,alt:"icon",src:i})})}),e.jsxs("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[t&&e.jsx(je,{as:c?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:t}),n&&e.jsx(je,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:n}),o&&e.jsx(je,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),s&&e.jsx("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e.jsx(Ve,{...s})})]}),r&&e.jsx("div",{children:e.jsx(je,{as:"div",className:"body3 mt-3 text-center",children:r})})]})}),exports.Footer=({body:n,links:o,bottomLinks:r,copyrights:i,terms:s,maxWidth:a=!0,onClick:l})=>{function c(e){null==l||l(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:n}),e.jsx("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e.jsx("div",{className:"grid-1 grid gap-8 py-8 md:grid-cols-2 lg:grid-cols-4",children:null==o?void 0:o.map((n,o)=>{var r,i;return e.jsxs(t.Fragment,{children:[e.jsx("div",{children:e.jsxs("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e.jsx(je,{as:"div",className:"label3",children:null==n?void 0:n.title}),e.jsx("ul",{className:"flex flex-col",children:null===(i=null===(r=null==n?void 0:n.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(Ve,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:c})},`site-links-${n}`))})]},`link-group-${o}`)},`footer-link-group-${o}`),e.jsx("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${o}`)})}),e.jsxs("div",{className:"pt-8",children:[e.jsx("p",{className:"copy-rights",children:i}),e.jsxs("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",s]}),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(Ve,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:c})},`links-${n}`))})})]})]})})},exports.ImagePromoBar=({brow:n,enableHeading:o,title:r,subTitle:i,ctaDisclaimer:s,disclaimer:a,description:l,image: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,onModalButtonClick:y,renderCheckPlans:I})=>{var C,w;const[A,N]=t.useState(""),[j,k]=t.useState(!1),G=null!==(C=null==f?void 0:f.link)&&void 0!==C?C:"",P=null==f?void 0:f.image,V=null!==(w=null==f?void 0:f.videoPopup)&&void 0!==w&&w,B=Boolean(A&&A===G),S=f&&P?G.includes("vimeo")?e.jsx(Ye,{link:G,autoplay:B}):e.jsx(Je,{link:G,autoplay:B}):null;return e.jsxs("div",{className:"component-container",children:[e.jsx("div",{className:`image-promo-bar-content ${g?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:e.jsxs("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:items-start 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:[n&&e.jsx(je,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),r&&e.jsx(je,{as:o?"h1":"h2",className:"heading2 xl:heading1",children:r}),i&&e.jsx(je,{as:o?"h2":"h3",className:"subheading1 mt-3",children:i})]}),l&&e.jsx(je,{as:"div",className:"body1",children:l}),p.length>0&&e.jsx(Xe,{items:p,iconPosition:"top",iconSize:24}),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(Pe,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e.jsx(We,{src:t.image,alt:"icon-link"})})},n))}),e.jsxs("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[h&&e.jsx("div",{className:"primary-cta w-full xl:w-auto",children:e.jsx(Ve,{...h,fullWidth:!0,renderCheckPlans:I,onModalButtonClick:y})}),m&&e.jsx("div",{className:"secondary-cta",children:e.jsx(Ve,{...m,fullWidth:!0,renderCheckPlans:I,onModalButtonClick:y})})]}),s&&e.jsx("div",{children:s}),a&&e.jsx("div",{children:a})]}),e.jsxs("aside",{className:"flex w-full shrink-0 items-center justify-center xl:w-auto",children:[c&&e.jsx("div",{className:"relative aspect-[16/9] w-full xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:e.jsx(Se,{src:c,alt:"section-image",width:v,height:x,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),(null==f?void 0:f.link)&&e.jsxs("div",{className:Ie("video-section relative w-full cursor-pointer overflow-hidden rounded-[40px] transition-all duration-300 xl:w-[486px]",!B&&"hover:shadow-2xl"),onClick:()=>{var e;N(null!==(e=null==f?void 0:f.link)&&void 0!==e?e:"")},onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:[e.jsxs("div",{className:Ie(B&&!V&&"hidden",B&&!V?"opacity-0":"opacity-100","relative aspect-[16/9] w-full transition-opacity duration-300 xl:aspect-square"),children:[f.image&&e.jsx(Se,{src:f.image,alt:"Video preview",width:486,height:486,className:"absolute inset-0 h-full w-full rounded-[40px] object-cover"}),e.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:e.jsx(He,{isHovered:j})})]}),!V&&B&&e.jsx("div",{className:Ie("aspect-[16/9] w-full overflow-hidden rounded-[40px] transition-opacity duration-300",B?"opacity-100":"opacity-0"),children:S})]})]})]})}),V&&B&&e.jsx("div",{className:"fixed inset-0 top-20 z-[100] flex items-center justify-center bg-black/80 p-4 transition-all duration-300",onClick:e=>{e.stopPropagation(),N("")},children:e.jsx("div",{className:"max-w-6xl aspect-video w-full overflow-hidden rounded-3xl bg-black shadow-2xl md:w-4/6",onClick:e=>e.stopPropagation(),children:S})})]})},exports.Modal=t=>{const{isOpen:n,onRequestClose:o,size:r,title:i,content:s,description:a,children:l,bodyClassName:c}=t;return e.jsx(_c,{open:n,onOpenChange:()=>n&&(null==o?void 0:o()),children:e.jsxs(Kc,{children:[e.jsx(_a.div,{initial:"closed",animate:n?"open":"closed",variants:nt,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e.jsx(qc,{})}),e.jsx(_a.div,{initial:"closed",animate:n?"open":"closed",variants:ot,transition:{type:"tween",duration:.3,ease:"easeInOut"},className:"fixed left-1/2 top-1/2 z-[1001] w-auto -translate-x-1/2 -translate-y-1/2 focus:outline-none",children:e.jsxs(eu,{className:Ie("fixed left-[50%] top-[50%] w-[90vw] translate-x-[-50%] translate-y-[-50%] rounded-[6px] bg-bg p-[25px] shadow-[hsl(206_22%_7%_/_35%)_0px_10px_38px_-10px,_hsl(206_22%_7%_/_20%)_0px_10px_20px_-15px] focus:outline-none",c),style:{maxWidth:rt[r||"lg"]},children:[e.jsx(tu,{asChild:!0,children:e.jsx(Ve,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e.jsx(Ae,{name:"close"})})}),e.jsxs("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[i?e.jsx(je,{className:Ie("mx-auto mb-3 mt-5 text-center","heading5 md:max-w-[80%] md:pt-0","mb-5 md:mb-[60px]"),as:"h2",children:i}):null,a?e.jsx(je,{as:"div",children:a}):null,s,l||null]})]})})]})})},exports.Navigation=t=>{const{primaryNavigationLinks:n,utilityNavigationLinks:o,checkPlansJSX:r,primaryNavigationLogo:i,accountNavigationLinks:s,supportNavigationLinks:a,searchBarIcon:l,invocaPhoneNumberLink:c,invocaPhoneNumberDisplayText:u,onSearch:d=()=>{}}=t;return e.jsxs("div",{className:"component-container",children:[e.jsxs("nav",{className:"menu-container",children:[e.jsx("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",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==o?void 0:o.map((t,n)=>e.jsx("li",{children:e.jsx(Ve,{linkClassName:Ie("footnote flex items-center w-full h-11 text-text-link",1===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:[e.jsx(_e,{className:"border-none",href:c,children:e.jsx(je,{className:"body3",children:u})}),null==s?void 0:s.map((t,n)=>e.jsx(Ue,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),e.jsxs("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[e.jsxs("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e.jsx("div",{children:e.jsx(Pe,{href:"/",className:"flex",children:e.jsx(Se,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),e.jsxs("div",{className:"flex items-center gap-6",children:[e.jsx(_e,{href:c,children:e.jsx(je,{as:"span",className:"footnote",children:u})}),e.jsx(qe,{...t})]})]}),e.jsx("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",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:[e.jsx(Pe,{href:"/",className:"flex",children:e.jsx(Se,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-14"})}),e.jsx("div",{className:"flex h-full items-center gap-5",children:null==n?void 0:n.map((t,n)=>e.jsx(Ue,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),e.jsxs("div",{className:"flex h-full items-center gap-10",children:[e.jsx(tt,{searchBarIconURL:"string"==typeof l?l:(null==l?void 0:l.url)||"",onSearch:d}),null==a?void 0:a.map((t,n)=>e.jsx(Ue,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),r&&e.jsx("div",{className:"md:hidden",children:r})]})},exports.PrimaryHero=t=>{var n;const{title:o,showAsHeading:r,subTitle:i,primaryCta1:s,carouselImages:a,bottomLink:l,price:c,priceCallout:u,priceSuffix:d,checklist:p,renderCheckPlans:m,badgeImage:h,pricingDescriptionDisclaimer:f,secondaryCta:g,secondaryCtaPrefix:b,onModalButtonClick:v}=t,x=null!==(n=null==l?void 0:l.buttonLabel)&&void 0!==n?n:null==l?void 0:l.label;return e.jsx("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:e.jsxs("div",{className:Ie("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e.jsx("div",{className:Ie("relative flex flex-col text-white sm:w-[485px]"),children:e.jsxs("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e.jsx(je,{as:r?"h1":"h2",className:"heading2 lg:heading1",children:o}),i&&e.jsx(je,{as:"p",className:"subheading3 lg:subheading1",children:i}),c?e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"mr-2 mt-0.5",children:u?u.split("|").map((t,n)=>e.jsx(je,{as:"p",className:"body2",children:t},n)):null}),e.jsxs("div",{className:"flex",children:[e.jsx(je,{as:"p",className:"subheading1 mt-0.5",children:"$"}),e.jsx(je,{as:"p",className:"subheading5",children:c}),d?e.jsx(je,{as:"p",className:"subheading1 mt-0.5",children:d}):null]})]}):null,p&&e.jsx(Xe,{listItemClassName:"text-white body2",items:p.map(e=>e.title)}),e.jsxs("div",{className:"flex flex-col gap-3",children:[s&&e.jsx("div",{className:Ie("hidden lg:flex lg:flex-col"),children:e.jsx(Ve,{...s,renderCheckPlans:m,onModalButtonClick:v})}),b||g?e.jsxs("div",{className:"flex",children:[b&&e.jsx(je,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Ve,{linkClassName:"body2 text-text-inverse",onModalButtonClick:v,...g})]}):null,l&&(x||(null==l?void 0:l.href))&&e.jsx("div",{className:"hidden lg:block",children:e.jsx(Ve,{...l,linkClassName:"text-footnote text-white",onModalButtonClick:v})}),f?e.jsx(je,{as:"p",className:"body3",children:f}):null]})]})}),e.jsxs("div",{className:"lg:hidden",children:[e.jsxs("div",{className:"relative my-8",children:[h?e.jsx(Se,{src:h,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:100,height:100,loading:"eager"}):null,a&&a[0]?e.jsx(Se,{src:a[0],alt:"Hero",className:"aspect-[1.71:1] sm:aspect-[1.41:1] rounded-[40px] object-cover object-center sm:h-[420px]",width:350,height:205,loading:"eager"}):null]}),l&&(x||(null==l?void 0:l.href))&&e.jsx("div",{children:e.jsx(Ve,{...l,onModalButtonClick:v,linkClassName:"body3 text-white"})}),f?e.jsx(je,{as:"p",className:"body3",children:f}):null,b||g?e.jsxs("div",{className:"flex",children:[b&&e.jsx(je,{as:"span",className:"body2 mr-1",children:b}),g&&e.jsx(Ve,{...g,onModalButtonClick:v,linkClassName:"text-white"})]}):null]}),e.jsxs("div",{className:Ie("relative hidden lg:block"),children:[h?e.jsx(Se,{src:h,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:200,height:200,loading:"eager"}):null,a&&a[0]?e.jsx(Se,{src:a[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,loading:"eager"}):null]})]})})},exports.ProductCard=Le,exports.ShapeBackgroundWrapper=({children:t,background:n,className:o,fill:r="yellow",maxFit:i,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=r in c?c[r]:"text-[#F5FF1E]";return s?e.jsxs("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${i?"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"})}),e.jsx("div",{className:"shape-bg-content relative z-[1]",children:t})]}):e.jsx("div",{className:o,style:m,children:t})},exports.SimpleCard=Ee,exports.TestimonialCard=Oe,exports.Text=({fields:t})=>e.jsx("div",{children:e.jsx(je,{children:"Text Block"})});
4
12
  //# sourceMappingURL=index.js.map