@windstream/react-shared-components 0.0.84 → 0.0.87

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,4 @@
1
1
  "use client";
2
2
 
3
- import{jsx as e,jsxs as t,Fragment as l}from"react/jsx-runtime";import r,{forwardRef as a,useRef as n,useState as i,useEffect as o,useCallback as s}from"react";import c from"next/image";function d(e){var t,l,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(l=d(e[t]))&&(r&&(r+=" "),r+=l)}else for(l in e)e[l]&&(r&&(r+=" "),r+=l);return r}function m(){for(var e,t,l=0,r="",a=arguments.length;l<a;l++)(e=arguments[l])&&(t=d(e))&&(r&&(r+=" "),r+=t);return r}const u=e=>{const t=g(e),{conflictingClassGroups:l,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const l=e.split("-");return""===l[0]&&1!==l.length&&l.shift(),h(l,t)||f(e)},getConflictingClassGroupIds:(e,t)=>{const a=l[e]||[];return t&&r[e]?[...a,...r[e]]:a}}},h=(e,t)=>{if(0===e.length)return t.classGroupId;const l=e[0],r=t.nextPart.get(l),a=r?h(e.slice(1),r):void 0;if(a)return a;if(0===t.validators.length)return;const n=e.join("-");return t.validators.find(({validator:e})=>e(n))?.classGroupId},p=/^\[(.+)\]$/,f=e=>{if(p.test(e)){const t=p.exec(e)[1],l=t?.substring(0,t.indexOf(":"));if(l)return"arbitrary.."+l}},g=e=>{const{theme:t,classGroups:l}=e,r={nextPart:new Map,validators:[]};for(const e in l)b(l[e],r,e,t);return r},b=(e,t,l,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:x(t,e)).classGroupId=l)}if("function"==typeof e)return v(e)?void b(e(r),t,l,r):void t.validators.push({validator:e,classGroupId:l});Object.entries(e).forEach(([e,a])=>{b(a,x(t,e),l,r)})})},x=(e,t)=>{let l=e;return t.split("-").forEach(e=>{l.nextPart.has(e)||l.nextPart.set(e,{nextPart:new Map,validators:[]}),l=l.nextPart.get(e)}),l},v=e=>e.isThemeGetter,w=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,l=new Map,r=new Map;const a=(a,n)=>{l.set(a,n),t++,t>e&&(t=0,r=l,l=new Map)};return{get(e){let t=l.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(a(e,t),t):void 0},set(e,t){l.has(e)?l.set(e,t):a(e,t)}}},y=e=>{const{prefix:t,experimentalParseClassName:l}=e;let r=e=>{const t=[];let l,r=0,a=0,n=0;for(let i=0;i<e.length;i++){let o=e[i];if(0===r&&0===a){if(":"===o){t.push(e.slice(n,i)),n=i+1;continue}if("/"===o){l=i;continue}}"["===o?r++:"]"===o?r--:"("===o?a++:")"===o&&a--}const i=0===t.length?e:e.substring(n),o=N(i);return{modifiers:t,hasImportantModifier:o!==i,baseClassName:o,maybePostfixModifierPosition:l&&l>n?l-n:void 0}};if(t){const e=t+":",l=r;r=t=>t.startsWith(e)?l(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(l){const e=r;r=t=>l({className:t,parseClassName:e})}return r},N=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,k=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const l=[];let r=[];return e.forEach(e=>{"["===e[0]||t[e]?(l.push(...r.sort(),e),r=[]):r.push(e)}),l.push(...r.sort()),l}},C=/\s+/;function $(){let e,t,l=0,r="";for(;l<arguments.length;)(e=arguments[l++])&&(t=z(e))&&(r&&(r+=" "),r+=t);return r}const z=e=>{if("string"==typeof e)return e;let t,l="";for(let r=0;r<e.length;r++)e[r]&&(t=z(e[r]))&&(l&&(l+=" "),l+=t);return l};function j(e,...t){let l,r,a,n=function(o){const s=t.reduce((e,t)=>t(e),e());return l=(e=>({cache:w(e.cacheSize),parseClassName:y(e),sortModifiers:k(e),...u(e)}))(s),r=l.cache.get,a=l.cache.set,n=i,i(o)};function i(e){const t=r(e);if(t)return t;const n=((e,t)=>{const{parseClassName:l,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:n}=t,i=[],o=e.trim().split(C);let s="";for(let e=o.length-1;e>=0;e-=1){const t=o[e],{isExternal:c,modifiers:d,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:h}=l(t);if(c){s=t+(s.length>0?" "+s:s);continue}let p=!!h,f=r(p?u.substring(0,h):u);if(!f){if(!p){s=t+(s.length>0?" "+s:s);continue}if(f=r(u),!f){s=t+(s.length>0?" "+s:s);continue}p=!1}const g=n(d).join(":"),b=m?g+"!":g,x=b+f;if(i.includes(x))continue;i.push(x);const v=a(f,p);for(let e=0;e<v.length;++e){const t=v[e];i.push(b+t)}s=t+(s.length>0?" "+s:s)}return s})(e,l);return a(e,n),n}return function(){return n($.apply(null,arguments))}}const I=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},B=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,S=/^\((?:(\w[\w-]*):)?(.+)\)$/i,E=/^\d+\/\d+$/,M=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,F=/\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$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,T=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>E.test(e),D=e=>!!e&&!Number.isNaN(Number(e)),G=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&D(e.slice(0,-1)),A=e=>M.test(e),O=()=>!0,V=e=>F.test(e)&&!_.test(e),R=()=>!1,H=e=>T.test(e),q=e=>P.test(e),U=e=>!J(e)&&!te(e),X=e=>se(e,ue,R),J=e=>B.test(e),K=e=>se(e,he,V),Y=e=>se(e,pe,D),Q=e=>se(e,de,R),Z=e=>se(e,me,q),ee=e=>se(e,ge,H),te=e=>S.test(e),le=e=>ce(e,he),re=e=>ce(e,fe),ae=e=>ce(e,de),ne=e=>ce(e,ue),ie=e=>ce(e,me),oe=e=>ce(e,ge,!0),se=(e,t,l)=>{const r=B.exec(e);return!!r&&(r[1]?t(r[1]):l(r[2]))},ce=(e,t,l=!1)=>{const r=S.exec(e);return!!r&&(r[1]?t(r[1]):l)},de=e=>"position"===e||"percentage"===e,me=e=>"image"===e||"url"===e,ue=e=>"length"===e||"size"===e||"bg-size"===e,he=e=>"length"===e,pe=e=>"number"===e,fe=e=>"family-name"===e,ge=e=>"shadow"===e,be=()=>{const e=I("color"),t=I("font"),l=I("text"),r=I("font-weight"),a=I("tracking"),n=I("leading"),i=I("breakpoint"),o=I("container"),s=I("spacing"),c=I("radius"),d=I("shadow"),m=I("inset-shadow"),u=I("text-shadow"),h=I("drop-shadow"),p=I("blur"),f=I("perspective"),g=I("aspect"),b=I("ease"),x=I("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",te,J],w=()=>[te,J,s],y=()=>[L,"full","auto",...w()],N=()=>[G,"none","subgrid",te,J],k=()=>["auto",{span:["full",G,te,J]},G,te,J],C=()=>[G,"auto",te,J],$=()=>["auto","min","max","fr",te,J],z=()=>["auto",...w()],j=()=>[L,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],B=()=>[e,te,J],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ae,Q,{position:[te,J]}],E=()=>["auto","cover","contain",ne,X,{size:[te,J]}],M=()=>[W,le,K],F=()=>["","none","full",c,te,J],_=()=>["",D,le,K],T=()=>[D,W,ae,Q],P=()=>["","none",p,te,J],V=()=>["none",D,te,J],R=()=>["none",D,te,J],H=()=>[D,te,J],q=()=>[L,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[A],breakpoint:[A],color:[O],container:[A],"drop-shadow":[A],ease:["in","out","in-out"],font:[U],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[A],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[A],shadow:[A],spacing:["px",D],text:[A],"text-shadow":[A],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",L,J,te,g]}],container:["container"],columns:[{columns:[D,J,te,o]}],"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:v()}],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:y()}],"inset-x":[{"inset-x":y()}],"inset-y":[{"inset-y":y()}],start:[{start:y()}],end:[{end:y()}],top:[{top:y()}],right:[{right:y()}],bottom:[{bottom:y()}],left:[{left:y()}],visibility:["visible","invisible","collapse"],z:[{z:[G,"auto",te,J]}],basis:[{basis:[L,"full","auto",o,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[D,L,"auto","initial","none",J]}],grow:[{grow:["",D,te,J]}],shrink:[{shrink:["",D,te,J]}],order:[{order:[G,"first","last","none",te,J]}],"grid-cols":[{"grid-cols":N()}],"col-start-end":[{col:k()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":N()}],"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":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"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:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:z()}],mx:[{mx:z()}],my:[{my:z()}],ms:[{ms:z()}],me:[{me:z()}],mt:[{mt:z()}],mr:[{mr:z()}],mb:[{mb:z()}],ml:[{ml:z()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:j()}],w:[{w:[o,"screen",...j()]}],"min-w":[{"min-w":[o,"screen","none",...j()]}],"max-w":[{"max-w":[o,"screen","none","prose",{screen:[i]},...j()]}],h:[{h:["screen","lh",...j()]}],"min-h":[{"min-h":["screen","lh","none",...j()]}],"max-h":[{"max-h":["screen","lh",...j()]}],"font-size":[{text:["base",l,le,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,te,Y]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,J]}],"font-family":[{font:[re,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:[a,te,J]}],"line-clamp":[{"line-clamp":[D,"none",te,Y]}],leading:[{leading:[n,...w()]}],"list-image":[{"list-image":["none",te,J]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",te,J]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[D,"from-font","auto",te,K]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[D,"auto",te,J]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te,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",te,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:S()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},G,te,J],radial:["",te,J],conic:[G,te,J]},ie,Z]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:M()}],"gradient-via-pos":[{via:M()}],"gradient-to-pos":[{to:M()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"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:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}],"divide-color":[{divide:B()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[D,te,J]}],"outline-w":[{outline:["",D,le,K]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",d,oe,ee]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",m,oe,ee]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[D,K]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":_()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",u,oe,ee]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[D,te,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":[D]}],"mask-image-linear-from-pos":[{"mask-linear-from":T()}],"mask-image-linear-to-pos":[{"mask-linear-to":T()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":T()}],"mask-image-t-to-pos":[{"mask-t-to":T()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":T()}],"mask-image-r-to-pos":[{"mask-r-to":T()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":T()}],"mask-image-b-to-pos":[{"mask-b-to":T()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":T()}],"mask-image-l-to-pos":[{"mask-l-to":T()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":T()}],"mask-image-x-to-pos":[{"mask-x-to":T()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":T()}],"mask-image-y-to-pos":[{"mask-y-to":T()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[te,J]}],"mask-image-radial-from-pos":[{"mask-radial-from":T()}],"mask-image-radial-to-pos":[{"mask-radial-to":T()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"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":[D]}],"mask-image-conic-from-pos":[{"mask-conic-from":T()}],"mask-image-conic-to-pos":[{"mask-conic-to":T()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:S()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",te,J]}],filter:[{filter:["","none",te,J]}],blur:[{blur:P()}],brightness:[{brightness:[D,te,J]}],contrast:[{contrast:[D,te,J]}],"drop-shadow":[{"drop-shadow":["","none",h,oe,ee]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",D,te,J]}],"hue-rotate":[{"hue-rotate":[D,te,J]}],invert:[{invert:["",D,te,J]}],saturate:[{saturate:[D,te,J]}],sepia:[{sepia:["",D,te,J]}],"backdrop-filter":[{"backdrop-filter":["","none",te,J]}],"backdrop-blur":[{"backdrop-blur":P()}],"backdrop-brightness":[{"backdrop-brightness":[D,te,J]}],"backdrop-contrast":[{"backdrop-contrast":[D,te,J]}],"backdrop-grayscale":[{"backdrop-grayscale":["",D,te,J]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[D,te,J]}],"backdrop-invert":[{"backdrop-invert":["",D,te,J]}],"backdrop-opacity":[{"backdrop-opacity":[D,te,J]}],"backdrop-saturate":[{"backdrop-saturate":[D,te,J]}],"backdrop-sepia":[{"backdrop-sepia":["",D,te,J]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",te,J]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[D,"initial",te,J]}],ease:[{ease:["linear","initial",b,te,J]}],delay:[{delay:[D,te,J]}],animate:[{animate:["none",x,te,J]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,te,J]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:V()}],"rotate-x":[{"rotate-x":V()}],"rotate-y":[{"rotate-y":V()}],"rotate-z":[{"rotate-z":V()}],scale:[{scale:R()}],"scale-x":[{"scale-x":R()}],"scale-y":[{"scale-y":R()}],"scale-z":[{"scale-z":R()}],"scale-3d":["scale-3d"],skew:[{skew:H()}],"skew-x":[{"skew-x":H()}],"skew-y":[{"skew-y":H()}],transform:[{transform:[te,J,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:q()}],"translate-x":[{"translate-x":q()}],"translate-y":[{"translate-y":q()}],"translate-z":[{"translate-z":q()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",te,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":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",te,J]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[D,le,K,Y]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},xe=(e,t,l)=>{void 0!==l&&(e[t]=l)},ve=(e,t)=>{if(t)for(const l in t)xe(e,l,t[l])},we=(e,t)=>{if(t)for(const l in t)ye(e,t,l)},ye=(e,t,l)=>{const r=t[l];void 0!==r&&(e[l]=e[l]?e[l].concat(r):r)},Ne=((e,...t)=>"function"==typeof e?j(be,e,...t):j(()=>((e,{cacheSize:t,prefix:l,experimentalParseClassName:r,extend:a={},override:n={}})=>(xe(e,"cacheSize",t),xe(e,"prefix",l),xe(e,"experimentalParseClassName",r),ve(e.theme,n.theme),ve(e.classGroups,n.classGroups),ve(e.conflictingClassGroups,n.conflictingClassGroups),ve(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),xe(e,"orderSensitiveModifiers",n.orderSensitiveModifiers),we(e.theme,a.theme),we(e.classGroups,a.classGroups),we(e.conflictingClassGroups,a.conflictingClassGroups),we(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),ye(e,a,"orderSensitiveModifiers"),e))(be(),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"]}}}),ke=(...e)=>Ne(m(...e)),Ce=a(({children:t,className:l="",style:r,disabled:a,...n},i)=>e("button",{ref:i,className:ke(l),style:r,disabled:a,...n,children:t}));Ce.displayName="Button";const $e=t=>{const{open:l,children:r}=t,a=n(null),[s,c]=i(0);return o(()=>{const e=a.current;if(!e)return;const t=()=>{c(l?e.scrollHeight:0)};let r;return t(),l&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[l,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:s,opacity:l?1:0},"aria-hidden":!l,children:e("div",{ref:a,children:r})})};$e.displayName="Collapse";const ze=({name:t,fill:l=0,opticalSize:r="48dp",weight:a="200",emphasis:n=145,size:i=24,color:o="currentColor",style:s={},className:c,onClick:d,dataTestId:m})=>{const u={fontVariationSettings:`'FILL' ${l}, 'wght' ${a}, 'GRAD' ${n}, 'opsz' ${r.substring(0,2)}`,fontSize:`${i}px`,fontFamily:"'Material Symbols Rounded'",color:o||"currentColor",...s};return e("span",{style:u,className:ke("material-symbols-rounded",c),onClick:d,"data-testid":m,children:t})};ze.displayName="MaterialIcon";const je=l=>{const{title:r,defaultOpen:a,children:n,containerClassName:s,titleClassName:c,className:d,buttonClassName:m,openOnlyOnDesktop:u}=l,[h,p]=i(Boolean(!1));return o(()=>{if(u){const e=window.innerWidth>=1024;p(e)}else p(Boolean(a))},[u,a]),t("div",{className:ke("rounded-lg border",s),children:[t(Ce,{type:"button",className:ke("flex w-full items-center justify-between gap-4 rounded-t-lg px-4 py-3 text-left",m),onClick:()=>p(e=>!e),children:[e("span",{className:ke("label5",c),children:r}),e(ze,{name:h?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e($e,{open:h,children:e("div",{className:ke("px-4 py-4",d),children:n})})]})};je.displayName="Accordion";const Ie=a(({children:e,as:t,className:l="",style:a,...n},i)=>{const o=t||"p";return r.createElement(o,{ref:i,className:l,style:a,...n},e)});Ie.displayName="Text";const Be=({items:l,title:r,background:a="white",enableHeading:n=!1,maxWidth:i=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[a]} component-container`,children:t("div",{className:(i?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e("div",{children:e(Ie,{as:n?"h1":"h2",className:"heading1 text-left lg:text-center",children:r})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==l?void 0:l.map((t,l)=>e("div",{children:e(je,{title:t.title,containerClassName:"border-0 border-b-[1px] rounded-none",openOnlyOnDesktop:!0,children:e(Ie,{children:t.description})})},`item-${l}`))})]})}),Se={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},Ee=a(({className:t,...l},r)=>{const a="string"==typeof l.src?l.src:"",n=a.toLowerCase().split("?")[0]||"",i=a.includes("images.ctfassets.net")&&n.endsWith(".svg");return e(c,{ref:r,className:ke(t),...l,unoptimized:i})});Ee.displayName="NextImage";const Me=({card:l,lgWidth:r,mdWidth:a})=>{var n,i,o;const s=(null===(n=l.imageAlignment)||void 0===n?void 0:n.toLowerCase())||"left",c="left"===s?"lg:items-start":"right"===s?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${a} ${r} w-full ${null!==(o=Se[null!==(i=l.backgroundColor)&&void 0!==i?i:""])&&void 0!==o?o:""}`,children:t("div",{className:`card-template flex h-full flex-col items-center gap-6 p-8 text-center ${c}`,children:[e("div",{className:"card-header",children:(t=>{var l,r,a;if(!t.image)return null;const n=null===(l=t.imageView)||void 0===l?void 0:l.toLowerCase();return e(Ee,"full"===n?{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(a=t.title)&&void 0!==a?a:"card-icon"})})(l)}),t("div",{className:"card-body flex flex-col gap-3 text-start",children:[l.title&&e(Ie,{as:"h5",className:"heading5 font-black",children:l.title}),l.body&&e(Ie,{as:"div",className:"body1",children:l.body})]})]})})},Fe=({title:l,items:r,enableHeading:a=!1,subtitle:n,color:i="dark",maxWidth:o=!0,maxCardsPerRow:s})=>{const c={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)]"}[s||4]||" lg:w-[calc(25%-1.125rem)]",d=1===r.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${o?"max-w-120 xl:mx-auto":""} ${"dark"==i?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-8",children:[t("div",{className:"title-holder",children:[l&&e(Ie,{as:a?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:l}),n&&e(Ie,{as:a?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:n})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-8 self-stretch lg:gap-6",children:r.map((t,l)=>e(Me,{card:t,lgWidth:c,mdWidth:d},l))})]})})})},_e=({fields:t})=>e("div",{children:e(Ie,{children:"Cards"})}),Te=a(({children:t,className:l="",variant:r="unstyled",style:a,...n},i)=>{const o=ke("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,l);return e("li",{ref:i,className:o,style:a,...n,children:t})});Te.displayName="ListItem";const Pe=a(({type:t="ul",items:l,className:r="",renderItem:a,children:n,variant:i="unstyled",style:o,...s},c)=>{const d=(()=>{if("unstyled"===i)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),m={className:ke(d,`list--${t}`,`list--${i}`,r),style:o,...s,children:n||(l&&0!==l.length?l.map((t,l)=>a?a(t,l):e(Te,{className:t.className,variant:i,children:t.content},t.id||l)):null)};return e("ol"===t?"ol":"ul",{...m,ref:c})});Pe.displayName="List";const Le=l=>{const{items:r,listIconName:a="check",listItemClassName:n,iconSize:i=20,iconPosition:o="center",iconColor:s="brand"}=l,c="disc"!==a;return(null==r?void 0:r.length)?e(Pe,{className:"mt-2 space-y-1",variant:c?"unstyled":"default",children:r.map((l,r)=>t(Te,{variant:c?"unstyled":"default",className:ke(`${c?"flex":""} ${"top"===o?"items-start":"items-center"} gap-2 text-text-secondary`,n),children:[c&&e("div",{children:e(ze,{name:a,size:i,weight:"600",className:`text-icon-${s} ${"top"===o?"mt-1":""}`})}),e(Ie,{as:"div",children:l})]},r))}):null};Le.displayName="Checklist";const De=a(({as:t,className:l="",...r},a)=>{const n=ke(l);if(t){return e(t,{ref:a,className:n,...r})}return e("img",{ref:a,className:n,...r})});De.displayName="Image";const Ge=({onSelect:l,speed:r,isSelected:a=!1})=>t(Ce,{onClick:l,className:ke(`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 ${a?" 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"} `,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(a?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e(ze,{name:"chevron_right",fill:1,size:24})})]}),We=({planName:r,speed:a,price:n,description:o,bestValue:s=!1,bestValueText:c="best value",giftBadge:d,innerBadge:m,theme:u="light",featuresTitle:h="Business Ready Internet features",features:p=[],isExpanded:f,onToggleExpand:g,onCtaClick:b,hostType:x})=>{const[v,w]=i(!1),y=void 0!==f?f:v,N="dark"===u;return t("article",{className:ke("relative flex h-full w-full max-w-[392px] flex-col",!s&&"pt-[28px]"),children:[s&&e("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:c}),t("div",{className:ke("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",N?"bg-bg-fill-inverse text-white":"bg-white text-text",s?"rounded-t-none":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[t("div",{className:"flex flex-col",children:[e(Ie,{as:"h3",className:ke("whitespace-nowrap text-subheading2 font-black lowercase",N?"text-bg-fill-brand-accent":"text-text-brand"),children:r}),"smb"===x?e(Ie,{as:"p",className:`text-label3 font-black ${N?"text-bg-fill-brand-accent":"text-text-brand"} lowercase md:whitespace-nowrap`,children:"business ready internet"}):null]}),t("div",{className:"flex items-start",children:[e("span",{className:"text-xl font-normal",children:"$"}),e("span",{className:"text-subheading6 font-medium leading-none",children:n.split(".")[0]}),t("span",{className:"text-sm font-black",children:[n.split(".")[1],"/mo"]})]})]}),e("section",{children:e(Ie,{className:ke("text-base",N?"text-white":"text-text"),children:o})}),e("div",{className:ke("flex-col items-center rounded-xl p-2",N?"bg-bg-surface-inverse":"bg-gray-200"),children:d&&(null==d?void 0:d.map(l=>t("div",{className:"flex items-center gap-2 p-1",children:[e(De,{src:l.icon,alt:l.title,width:24,height:24}),e(Ie,{className:"text-sm font-bold",children:l.title})]},l.title)))}),e(Ge,{onSelect:b,speed:a,isSelected:N}),p.length>0&&t("section",{className:"flex flex-col gap-6",children:[t(Ce,{onClick:()=>{g?g():w(!v)},className:"group flex w-full items-center justify-between text-left",children:[e(Ie,{as:"h4",className:"text-base font-bold",children:h}),e(ze,{name:"keyboard_arrow_up",fill:1,size:24,className:ke("transition-transform duration-300",y&&"rotate-180")})]}),t("div",{className:ke("overflow-hidden transition-all duration-300 ease-in-out",y?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col gap-3",children:e(Le,{items:p,listItemClassName:""+(N?"text-white":"text-text")})}),(null==m?void 0:m.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(De,{src:m.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"text-sm",children:m.badgeText.includes("|")?t(l,{children:[e("span",{className:"font-bold",children:m.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:m.badgeText.split("|")[1]})]}):e(Ie,{className:"font-bold",children:m.badgeText})})]}):null]})]})]})]})},Ae=({title:l,quote:r,rating:a,author:n,role:i,avatarUrl:o,isActive:s=!1,className:d})=>t("figure",{className:m("flex h-full w-full flex-col rounded-3xl p-6 font-sans transition-all duration-300 md:p-13",s?"bg-white shadow-lg":"bg-gray-50 opacity-60",d),children:[e("header",{children:e(Ie,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:l})}),e("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:r}),a?e("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,l)=>e(ze,{size:24,name:"star",fill:1,className:m("h-5 w-5",l<a?"text-text":"text-gray-300"),"aria-hidden":"true"},l))}):null,n&&t("figcaption",{className:"flex items-center gap-3",children:[e("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:o?e(c,{src:o,alt:n,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:n.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"text-sm font-bold not-italic text-text",children:n}),e(Ie,{as:"p",className:"text-xs text-text",children:i})]})]})]});function Oe({fields:r}){var a,c,d,u;const h=(null===(d=null===(c=null===(a=null==r?void 0:r.items)||void 0===a?void 0:a.items)||void 0===c?void 0:c[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[p,f]=i(h),[g,b]=i({}),[x,v]=i(0),w=(null===(u=null==r?void 0:r.items)||void 0===u?void 0:u.items)||[],y=w.length>2,N=n([]),k=s(()=>{y&&v(e=>(e+3)%w.length)},[y,w.length]),C=s(()=>{y&&v(e=>(e-3+w.length)%w.length)},[y,w.length]);if(o(()=>{if(!y)return;const e=()=>{const e=N.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)},[y,p,w.length]),!w.length&&!(null==r?void 0:r.title))return null;const $=(t,l,r=!1)=>{var a,n,i,o,s,c,d,u;const h=`${(null===(a=null==t?void 0:t.techType)||void 0===a?void 0:a.startsWith("FIBER"))?"fiber ":""}${(null==t?void 0:t.speed)||""}`,x=(null===(i=null===(n=null==t?void 0:t.priceSuffix)||void 0===n?void 0:n.split("/"))||void 0===i?void 0:i[0])||"00",v=`${(null==t?void 0:t.price)||"0"}.${x}`,w=(null===(o=null==t?void 0:t.benefits)||void 0===o?void 0:o.items)||[],y=(null==t?void 0:t.highlighted)||!1,k=(null===(c=null===(s=null==t?void 0:t.giftRewards)||void 0===s?void 0:s.list)||void 0===c?void 0:c.items)||[],C={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},$=r?g[l]||!1:p;return e("div",{ref:r?void 0:e=>{e&&!N.current.includes(e)&&(N.current[l]=e)},className:m(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(We,{planName:h,speed:(null==t?void 0:t.speed)||"",price:v,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:k,innerBadge:C,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:y,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:w,isExpanded:$,onToggleExpand:()=>{r?b(e=>({...e,[l]:!e[l]})):f(!p)},ctaText:(null===(u=null==t?void 0:t.cta)||void 0===u?void 0:u.buttonLabel)||"Select plan",onCtaClick:()=>{},hostType:"smb"})},l)},z=[...w,...w,...w,...w,...w],j=2*w.length;return y?t(l,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:w.map((e,t)=>$(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(Ce,{onClick:k,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(ze,{name:"arrow_back",size:24})}),e(Ce,{onClick:C,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(ze,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${j+x} * (392px + 12px)))`},children:z.map((e,t)=>$(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-8 px-4",children:w.map((e,t)=>$(e,t))})}const Ve=({fields:l})=>{var r;const a=(null===(r=null==l?void 0:l.items)||void 0===r?void 0:r.items)||[],[c,d]=i(0),u=n(null),h=s(()=>{0!==a.length&&d(e=>(e+1)%a.length)},[a.length]),p=s(()=>{0!==a.length&&d(e=>0===e?a.length-1:e-1)},[a.length]);return o(()=>{if(0!==a.length)return u.current=setInterval(()=>{h()},8e3),()=>{u.current&&clearInterval(u.current)}},[h,a.length]),a&&0!==a.length?t("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e(Ce,{onClick:p,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(ze,{name:"arrow_back",size:24})}),e("div",{className:"grid grid-cols-1 justify-items-center",children:a.map((t,l)=>{let r=l-c;const n=a.length;r>n/2&&(r-=n),r<-n/2&&(r+=n);const i=0===r;return e("div",{className:m("col-start-1 row-start-1 w-full md:max-w-[815px]",i?"opacity-100":"opacity-0","md:opacity-100"),style:{transform:`translateX(${i?"0%":105*r+"%"})`,zIndex:i?10:5,visibility:Math.abs(r)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e(Ae,{...t,isActive:i,className:"h-full"})},l)})}),e(Ce,{onClick:h,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(ze,{name:"arrow_forward",size:24})}),e("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:a.map((t,l)=>e("button",{onClick:()=>d(l),className:m("h-2 w-2 rounded-full transition-all duration-300",c===l?"w-6 bg-white":"bg-white/40 hover:bg-white/60"),"aria-label":`Go to slide ${l+1}`},l))})]}):null},Re=({fields:l,hasTestimonialCards:r,hasProductCards:a,disclaimerText:n,backgroundColor:i})=>e("div",{className:`${i} mx-auto overflow-hidden px-5 py-9 md:py-20`,children:t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[e(Ie,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==l?void 0:l.title}),(null==l?void 0:l.subTitle)&&e(Ie,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==l?void 0:l.subTitle}),r&&e(Ve,{fields:l}),a&&e(Oe,{fields:l}),e(Ie,{as:"div",className:"body1 mt-8 px-4 text-center",children:n})]})}),He=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()},qe=a(({variant:r="primary_brand",isLoading:a=!1,text:n,label:i,disabled:o,fullWidth:s,size:c={base:"medium"},as:d="button",...m},u)=>{const h=(()=>{const e=ke((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()})(c),"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",s&&"w-full"),t=ke((o||a)&&"cursor-not-allowed",a&&"pl-7",o&&"bg-bg-fill-brand-disabled");return ke(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"}[r]||"",t)})();let p=`button--${r}`;a&&(p+=" button--loading"),o&&(p+=" button--disabled");const f=`${p} ${h}`,g=t(l,{children:[a?e(ze,{name:"progress_activity",className:"animate-spin"}):null,i?t("span",{className:"flex flex-col",children:[e("span",{className:ke(He(c)),children:i}),n]}):n]});return"a"===d?e("a",{ref:u,className:ke(f),...m,children:g}):e("button",{ref:u,className:ke(f),disabled:o||a,...m,children:g})});qe.displayName="BrandButton";const Ue=a(({children:t,href:l,className:r="",onClick:a,variant:n="unstyled",style:i,external:o=!1,disabled:s=!1,...c},d)=>{const m=(()=>{if("unstyled"===n)return"";const e={default:"text-text underline"},t=[s?"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[n]||e.default,t].filter(Boolean).join(" ")})(),u={...c,ref:d,className:ke(m,`link--${n}`,s&&"link--disabled",r),style:i,href:s?void 0:l,onClick:e=>{s?e.preventDefault():null==a||a(e)},...o&&!s&&{target:"_blank",rel:"noopener noreferrer"},...s&&{"aria-disabled":!0,tabIndex:-1}};return e("a",{...u,children:t})});Ue.displayName="Link";const Xe=({showButtonAs:t="solid",buttonVariant:l="primary_brand",buttonLabel:r,buttonPrefix:a,href:n,target:i="_blank",anchorId:o,linkClassName:s,linkVariant:c,fullWidth:d,preDefinedFunctionExecution:m,checkPlansJSX:u,buttonClassName:h,onClick:p,...f})=>{if("check availability"===m)return u;function g(e){null==p||p(e)}function b(e){null==p||p(e)}let x=e(Ce,{onClick:b,className:h,...f});switch(t){case"solid":x=e(qe,n?{as:"a",href:n,id:o,variant:l,text:r,label:a,fullWidth:d,onClick:g}:{id:o,variant:l,text:r,label:a,fullWidth:d,onClick:b});break;case"text":x=e(Ue,{href:n,target:i,variant:c||"default",className:`text-text-brand ${s||""}`,onClick:g,children:r})}return x},Je=({title:l,subtitle:r,description:a,disclaimer:n,icon:i,cta:o,background:s="navy",color:c="light",enableHeading:d,maxWidth:m=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-[40px] xl:mx-auto "+(m?"max-w-120":""),children:[t("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]"}[s]} ${"dark"==c?"text-text":"text-white"} `,children:[i&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(Ee,{width:80,height:80,alt:"icon",src:i})})}),t("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[l&&e(Ie,{as:d?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:l}),r&&e(Ie,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),a&&e(Ie,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:a})]}),o&&e("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e(Xe,{...o})})]}),n&&e("div",{children:e(Ie,{as:"div",className:"body3 mt-3 text-center",children:n})})]})}),Ke=({body:l,links:a,bottomLinks:n,copyrights:i,terms:o,maxWidth:s=!0,onClick:c})=>{function d(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${s?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:l}),e("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e("div",{className:"grid-1 grid gap-8 py-8 md:grid-cols-2 lg:grid-cols-4",children:null==a?void 0:a.map((l,a)=>{var n,i;return t(r.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==l?void 0:l.title}`,className:"site-links-group",children:[e(Ie,{as:"div",className:"label3",children:null==l?void 0:l.title}),e("ul",{className:"flex flex-col",children:null===(i=null===(n=null==l?void 0:l.items)||void 0===n?void 0:n.items)||void 0===i?void 0:i.map((t,l)=>e("li",{className:"pt-3",children:e(Xe,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:d})},`site-links-${l}`))})]},`link-group-${a}`)},`footer-link-group-${a}`),e("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${a}`)})}),t("div",{className:"pt-8",children:[e("p",{className:"copy-rights",children:i}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",o]}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==n?void 0:n.map((t,l)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(Xe,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:d})},`links-${l}`))})})]})]})})},Ye=({brow:l,enableHeading:r,title:a,subTitle:n,ctaDisclaimer:i,disclaimer:o,description:s,image:c,imageLinks:d,mediaPosition:m=!0,checklist:u,secondaryCta:h,cta:p,videoLink:f,maxWidth:g=!0,color:b="light",imageWidth:x=660,imageHeight:v=660})=>e("div",{className:"component-container",children:e("div",{className:`image-promo-bar-content ${g?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:gap-[126px] "+(m?"flex-row xl:flex-row-reverse":"xl:flex-row"),children:[t("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:[t("div",{className:"heading holder",children:[l&&e(Ie,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:l}),a&&e(Ie,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:a}),n&&e(Ie,{as:r?"h2":"h3",className:"subheading1 mt-3",children:n})]}),s&&e(Ie,{as:"div",className:"body1",children:s}),u.length>0&&e(Le,{items:u,iconPosition:"top",iconSize:24}),e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,l)=>e("div",{className:"image-link w-[147px]",children:e(Ue,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(De,{src:t.image,alt:"icon-link"})})},l))}),t("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[p&&e("div",{className:"primary-cta w-full xl:w-auto",children:e(Xe,{...p,fullWidth:!0})}),h&&e("div",{className:"secondary-cta",children:e(Xe,{...h,fullWidth:!0})})]}),i&&e("div",{children:i}),o&&e("div",{children:o})]}),t("aside",{className:"flex shrink-0 content-center items-center",children:[e("div",{className:"relative aspect-[16/9] w-full xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:c&&e(Ee,{src:c,alt:"section-image",width:x,height:v,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),e("div",{children:(null==f?void 0:f.link)&&e("div",{className:"video-section",children:f.image&&e(Ee,{src:f.image,alt:"Video preview",width:486,height:100,className:"rounded-[40px]"})})})]})]})})}),Qe=({link:l,anchorName:a})=>{const[n,i]=r.useState(!1),s=r.useRef(null);if(((e,t)=>{const l=l=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(l.target))||t()};o(()=>(document.addEventListener("click",l),()=>{document.removeEventListener("click",l)}))})(s,()=>i(!1)),!l)return null;if((e=>"string"==typeof e.href)(l))return e(Xe,{...l,linkClassName:"body3 flex items-center text-text-link h-full",linkVariant:"unstyled"},`submenu-link-btn-${l.anchorId}`);const{anchorId:c,title:d,items:m}=l,u=Array.isArray(null==m?void 0:m.items)?m.items:[],h=`--link-anchor-${a}`;return t("div",{className:"relative h-full",style:{anchorName:h},ref:s,children:[t(Xe,{onClick:()=>i(e=>!e),"aria-expanded":n,buttonClassName:"group body3 flex h-full items-center",showButtonAs:"unstyled",children:[e(Ie,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(ze,{weight:"700",className:"text-icon-info group-hover:opacity-50",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:ke("fixed z-10 min-w-44 rounded-xl bg-bg shadow-lg","transition-[opacity,transform] ease-out",n&&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:h,top:"anchor(bottom)",right:"anchor(right)"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:u.map((t,l)=>e("li",{className:"submenu-link",children:e(Xe,{...t,linkVariant:"unstyled",linkClassName:"body3 px-4 hover:bg-bg-surface-hover flex items-center w-full h-11 text-text-link"})},`submenu-link-${l}`))})})]})},Ze=({link:a})=>{const[n,i]=r.useState(!1);if(!a)return null;if((e=>"string"==typeof e.href)(a))return e(Xe,{...a,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${a.anchorId}`);const{anchorId:o,title:s,items:c}=a,d=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(l,{children:[t(Xe,{onClick:()=>i(e=>!e),"aria-expanded":n,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=s?s:null,e(ze,{weight:"700",name:n?"keyboard_arrow_up":"keyboard_arrow_down"})]},o),n&&d.length>0&&e(et,{items:d})]})},et=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,l)=>e("li",{className:"submenu-link",children:e(Xe,{...t,linkVariant:"unstyled",linkClassName:"body3 pl-8 pr-4 flex items-center w-full h-11 text-text-link"})},`submenu-link-${l}`))},`submenu-${t.length}`),tt=l=>{const{showBlinkDot:r=!1,buttonStyle:a="primary",size:n="md",children:i,className:o,...s}=l;return t(Ue,{...s,className:ke("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"}[n],{primary:"border-[0.727px] border-border text-text"}[a],o),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[n]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[n]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[n]} items-center justify-center rounded-full bg-icon-brand`,children:e(ze,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[n],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:i})]})};tt.displayName="CallButton";const lt=a((l,r)=>{const{className:a,size:n,required:o,placeholder:c,label:d,state:m,errorText:u,prefixIconName:h,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:b,suffixIconSize:x=24,containerClassName:v,prefixIconClassName:w,loading:y,hasError:N,type:k,...C}=l,$=N?"error":m,[z,j]=i(!1),[I,B]=i(!1),[S,E]=i(k||"text"),M=s(e=>{e.stopPropagation(),E(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[d?e("label",{htmlFor:d,className:ke("inline-block pb-1"),children:t(Ie,{as:"span",className:"footnote text-text",children:[d,o?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:ke("relative flex flex-row items-center overflow-hidden rounded-xl border border-input-border bg-input-bg-surface",{sm:"h-[48px] rounded-lg px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[n||"medium"],v,(z||"hover"===$)&&!I&&"error"!==$&&"border-input-border-hover",(I||"focus"===$||"active"===$)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===$&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[h?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(ze,{name:h,fill:p?1:0,size:g,className:ke(w)})}):null,e("input",{ref:r,id:d,disabled:y||C.disabled,className:ke("h-full grow rounded-xl p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===n&&"text-body3",a),placeholder:c,type:S,...C,onMouseOver:()=>j(!0),onMouseOut:()=>j(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),B(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),B(!1)}}),b?e("div",{className:"ml-2",style:{width:x,height:x,overflow:"hidden"},onClick:M,children:e(ze,{name:"text"===S?"visibility":"visibility_off",size:x,fill:f?1:0})}):null]}),"error"===$&&u&&""!=u?t(Ie,{className:ke("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(ze,{name:"info",size:20,className:"mr-1"}),u||"Error"]}):null]})});lt.displayName="Input";const rt=l=>{const{primaryNavigationLinks:r,utilityNavigationLinks:a,checkPlansJSX:n,primaryNavigationLogo:i,accountNavigationLinks:o,supportNavigationLinks:s,searchBarIcon:c,invocaPhoneNumberLink:d,invocaPhoneNumberDisplayText:m,onSearch:u=()=>{}}=l;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==a?void 0:a.map((t,l)=>e("li",{children:e(Xe,{linkClassName:ke("footnote flex items-center w-full h-11 text-text-link",1===l&&"label4"),linkVariant:"unstyled",...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t))})},`main-menu-items-${l}`))}),t("div",{className:"flex items-center gap-10",children:[e(tt,{className:"border-none",href:d,children:e(Ie,{className:"body3",children:m})}),null==o?void 0:o.map((t,l)=>e(Qe,{anchorName:`my-account-${l}`,link:t},`my-account-${l}`))]})]})}),t("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e("div",{children:e(Ee,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24})}),t("div",{className:"flex items-center gap-6",children:[e(tt,{href:d,children:e(Ie,{as:"span",className:"footnote",children:m})}),e(at,{...l})]})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[e(Ee,{src:"string"==typeof i?i:(null==i?void 0:i.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-14"}),e("div",{className:"flex h-full items-center gap-5",children:null==r?void 0:r.map((t,l)=>e(Qe,{anchorName:`main-menu-${l}`,link:t},`main-menu-${l}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(it,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:u}),null==s?void 0:s.map((t,l)=>e(Qe,{anchorName:`support-menu-${l}`,link:t},`support-menu-${l}`))]})]})})]})]}),n&&e("div",{className:"md:hidden",children:n})]})},at=l=>{var a;const{primaryNavigationLinks:n,utilityNavigationLinks:i}=l,[o,s]=r.useState(!1);r.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=o?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),l=t[0],r=t[t.length-1],a=e=>{var t,a,n,i;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===l&&(null===(a=(t=r).focus)||void 0===a||a.call(t),e.preventDefault()):document.activeElement===r&&(null===(i=(n=l).focus)||void 0===i||i.call(n),e.preventDefault()))};return window.addEventListener("keydown",a),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",a)}},[o]);const c=()=>{s(!1)};return t("div",{children:[e(Xe,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>s(!0),children:e(ze,{name:"menu"})}),o?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className:ke("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",o?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(tt,{className:"border-none",href:l.invocaPhoneNumberLink,children:l.invocaPhoneNumberDisplayText})}),e("div",{children:e(Xe,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:c,children:e(ze,{name:"close"})})})]}),e(nt,{closeMenu:c,isMenuOpen:o,searchBarIconURL:"string"==typeof l.searchBarIcon?l.searchBarIcon:(null===(a=l.searchBarIcon)||void 0===a?void 0:a.url)||"",onSearch:l.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:null==n?void 0:n.map((t,l)=>e("li",{children:e(Ze,{link:t})},`main-menu-items-${l}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==i?void 0:i.map((t,l)=>e("li",{children:e(Xe,{...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!==t)),linkClassName:ke("footnote flex items-center w-full h-11 text-text-link",1===l&&"label4"),linkVariant:"unstyled"},`submenu-link-btn-${t.anchorId}`)},`main-menu-items-${l}`))})]})]})})]})},nt=l=>{const{closeMenu:a,onSearch:n,isMenuOpen:i,searchBarIconURL:o}=l,[s,c]=r.useState(""),d=r.useRef(null),m=e=>{a(),e.preventDefault(),n(s)};return r.useEffect(()=>{i||c("")},[i]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:m,children:[e(Ee,{src:o,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:m}),e("div",{className:"flex-grow",children:e(lt,{ref:d,className:"h-[34px] rounded-none text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:s,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},it=l=>{const{searchBarIconURL:a,onSearch:n}=l,[i,o]=r.useState(""),s=r.useRef(null),c=e=>{e.preventDefault(),n(i)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-full border transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(Ee,{src:a,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(lt,{ref:s,className:"rounded-full p-0 text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:i,onChange:e=>o(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},ot=l=>{var r;const{title:a,showAsHeading:n,subTitle:i,primaryCta1:o,carouselImages:s,bottomLink:c,price:d,priceCallout:m,priceSuffix:u,checklist:h,checkPlansJSX:p,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:b,secondaryCtaPrefix:x}=l,v=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("div",{className:ke("primary-hero-container mx-auto flex flex-col sm:items-center sm:text-center lg:h-full lg:max-w-120 lg:flex-row lg:items-center lg:justify-between lg:gap-4 lg:px-4 lg:text-left"),children:[e("div",{className:ke("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[a&&e(Ie,{as:n?"h1":"h2",className:"heading2 lg:heading1",children:a}),i&&e(Ie,{as:"p",className:"subheading3 lg:subheading1",children:i}),d?t("div",{className:"flex",children:[e("div",{className:"mr-2 mt-2",children:m?m.split("|").map((t,l)=>e(Ie,{as:"p",className:"body2",children:t},l)):null}),t("div",{className:"flex",children:[e(Ie,{as:"p",className:"subheading1 mt-2",children:"$"}),e(Ie,{as:"p",className:"subheading5",children:d}),u?e(Ie,{as:"p",className:"subheading1 mt-2",children:u}):null]})]}):null,h&&e(Le,{listItemClassName:"text-white body2",items:h.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[o&&e("div",{className:ke("hidden lg:flex lg:flex-col"),children:e(Xe,{...o,checkPlansJSX:p})}),x||b?t("div",{className:"flex",children:[x&&e(Ie,{as:"span",className:"body2 mr-1",children:x}),b&&e(Xe,{linkClassName:"body2 text-text-inverse",...b})]}):null,c&&(v||(null==c?void 0:c.href))&&e("div",{className:"hidden lg:block",children:e(Xe,{...c,linkClassName:"text-footnote text-white"})}),g?e(Ie,{as:"p",className:"body3",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(Ee,{src:f,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:100,height:100,loading:"eager"}):null,s&&s[0]?e(Ee,{src:s[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]}),c&&(v||(null==c?void 0:c.href))&&e("div",{children:e(Xe,{...c,linkClassName:"body3 text-white"})}),g?e(Ie,{as:"p",className:"body3",children:g}):null,x||b?t("div",{className:"flex",children:[x&&e(Ie,{as:"span",className:"body2 mr-1",children:x}),b&&e(Xe,{...b})]}):null]}),t("div",{className:ke("relative hidden lg:block"),children:[f?e(Ee,{src:f,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:200,height:200,loading:"eager"}):null,s&&s[0]?e(Ee,{src:s[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,loading:"eager"}):null]})]})})},st=({fields:t})=>e("div",{children:e(Ie,{children:"Text Block"})}),ct=({fields:t})=>e("div",{children:e(Ie,{children:"Modal Block"})}),dt=({children:l,background:r,className:a,fill:n="yellow",maxFit:i,show:o=!0,path:s="path2"})=>{const c=`${s}`,d={blue:"text-[#07B2E2]",green:"text-[#26B170]",yellow:"text-[#F5FF1E]",purple:"text-[#931D69]",white:"text-white",navy:"text-[#00002D]"},m={blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"},u="string"==typeof r&&r in m,h=u?m[r]:void 0,p=r&&!u?{background:r}:void 0,f=n in d?d[n]:"text-[#F5FF1E]";return o?t("div",{className:`shape-bg relative overflow-hidden ${null!=a?a:""} ${i?"max-content":""} ${null!=h?h:p?"":"bg-white"}`,style:p,children:["path1"===s&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===s&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===s&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===s&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:l})]}):e("div",{className:a,style:p,children:l})},mt=({title:l,background:r="white",button:a,color:n,contentAlignment:i,description:o,descriptionAlignment:s,enableHeading:c,subTitle:d,maxWidth:m=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container`,children:t("div",{className:`${m?"mx-auto max-w-120":""} color-${n} flex flex-col ${"dark"==n?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e(Ie,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${i}`,children:l}),e(Ie,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${i}`,children:d}),e("div",{className:`pt-2 text-body1 lg:pt-3 text-${s}`,children:o}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(Xe,{...a})})]})}),ut=({background:r="white",description:a,enableHeading:n,image:i,list:o=[],subTitle:s,title:c,color:d="dark",maxWidth:m=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==d?"text-text":"text-white"}`,children:t("div",{className:(m?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(Ie,{as:n?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),s&&e(Ie,{as:n?"h2":"h3",className:"heading3 mt-4 text-center",children:s}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[a&&e(Ie,{as:"p",className:"body1",children:a}),o.length>0&&t(l,{children:[e("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)),l=Math.ceil(t.length/2),r=[];for(let e=0;e<l;e++)for(let a=0;a<2;a++){const n=a*l+e;n<t.length&&r.push(t[n])}return r.map((t,l)=>e("li",{children:e(Ue,{href:`/${t.code}`,className:"label1",children:t.name})},`item-list-2-${l}`))})()}),e("ul",{className:"hidden md:grid md:grid-cols-3 gap-x-8 gap-y-4",children:(()=>{const t=[...o].sort((e,t)=>e.name.localeCompare(t.name)),l=Math.ceil(t.length/3),r=[];for(let e=0;e<l;e++)for(let a=0;a<3;a++){const n=a*l+e;n<t.length&&r.push(t[n])}return r.map((t,l)=>e("li",{children:e(Ue,{href:`/${t.code}`,className:"label1",children:t.name})},`item-list-3-${l}`))})()})]})]}),i&&e("aside",{className:"hidden xl:block",children:e(Ee,{width:472,height:100,src:i,alt:"image"})})]})]})}),ht=({title:l,disclaimer:r,table:a,maxWidth:n=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(n?"max-w-120 xl:mx-auto":""),children:[e(Ie,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:l}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:a}),e(Ie,{as:"div",className:"micro mt-8 text-center",children:r})]})});export{Be as Accordion,Xe as Button,Fe as Callout,_e as Cards,Re as Carousel,ht as ComparisonTable,mt as CtaCallout,ut as FindKinetic,Je as FloatingBanner,Ke as Footer,Ye as ImagePromoBar,ct as Modal,rt as Navigation,ot as PrimaryHero,We as ProductCard,dt as ShapeBackgroundWrapper,Me as SimpleCard,Ae as TestimonialCard,st as Text};
3
+ import{jsx as e,jsxs as t,Fragment as n}from"react/jsx-runtime";import*as r from"react";import o,{forwardRef as i,useRef as s,useState as a,useEffect as l,useCallback as c,createContext as d,useLayoutEffect as u,useContext as h,useInsertionEffect as m,useMemo as p,createElement as f,useId as g,Children as v,isValidElement as y,cloneElement as b,Fragment as x,useReducer as w}from"react";import k from"next/image";import N,{flushSync as C}from"react-dom";function P(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=P(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function E(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=P(e))&&(r&&(r+=" "),r+=t);return r}const T=e=>{const t=M(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),S(n,t)||D(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},S=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?S(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find(({validator:e})=>e(i))?.classGroupId},A=/^\[(.+)\]$/,D=e=>{if(A.test(e)){const t=A.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},M=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)V(n[e],r,e,t);return r},V=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?t:L(t,e)).classGroupId=n)}if("function"==typeof e)return j(e)?void V(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach(([e,o])=>{V(o,L(t,e),n,r)})})},L=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},j=e=>e.isThemeGetter,B=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},R=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let s=0;s<e.length;s++){let a=e[s];if(0===r&&0===o){if(":"===a){t.push(e.slice(i,s)),i=s+1;continue}if("/"===a){n=s;continue}}"["===a?r++:"]"===a?r--:"("===a?o++:")"===a&&o--}const s=0===t.length?e:e.substring(i),a=F(s);return{modifiers:t,hasImportantModifier:a!==s,baseClassName:a,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},F=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 r=[];return e.forEach(e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)}),n.push(...r.sort()),n}},O=/\s+/;function $(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=z(e))&&(r&&(r+=" "),r+=t);return r}const z=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=z(e[r]))&&(n&&(n+=" "),n+=t);return n};function _(e,...t){let n,r,o,i=function(a){const l=t.reduce((e,t)=>t(e),e());return n=(e=>({cache:B(e.cacheSize),parseClassName:R(e),sortModifiers:I(e),...T(e)}))(l),r=n.cache.get,o=n.cache.set,i=s,s(a)};function s(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,s=[],a=e.trim().split(O);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=r(p?h.substring(0,m):h);if(!f){if(!p){l=t+(l.length>0?" "+l:l);continue}if(f=r(h),!f){l=t+(l.length>0?" "+l:l);continue}p=!1}const g=i(d).join(":"),v=u?g+"!":g,y=v+f;if(s.includes(y))continue;s.push(y);const b=o(f,p);for(let e=0;e<b.length;++e){const t=b[e];s.push(v+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i($.apply(null,arguments))}}const U=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},W=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,G=/^\((?:(\w[\w-]*):)?(.+)\)$/i,H=/^\d+\/\d+$/,Y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,X=/\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$/,q=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,K=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Z=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,J=e=>H.test(e),Q=e=>!!e&&!Number.isNaN(Number(e)),ee=e=>!!e&&Number.isInteger(Number(e)),te=e=>e.endsWith("%")&&Q(e.slice(0,-1)),ne=e=>Y.test(e),re=()=>!0,oe=e=>X.test(e)&&!q.test(e),ie=()=>!1,se=e=>K.test(e),ae=e=>Z.test(e),le=e=>!de(e)&&!ge(e),ce=e=>Ne(e,Te,ie),de=e=>W.test(e),ue=e=>Ne(e,Se,oe),he=e=>Ne(e,Ae,Q),me=e=>Ne(e,Pe,ie),pe=e=>Ne(e,Ee,ae),fe=e=>Ne(e,Me,se),ge=e=>G.test(e),ve=e=>Ce(e,Se),ye=e=>Ce(e,De),be=e=>Ce(e,Pe),xe=e=>Ce(e,Te),we=e=>Ce(e,Ee),ke=e=>Ce(e,Me,!0),Ne=(e,t,n)=>{const r=W.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},Ce=(e,t,n=!1)=>{const r=G.exec(e);return!!r&&(r[1]?t(r[1]):n)},Pe=e=>"position"===e||"percentage"===e,Ee=e=>"image"===e||"url"===e,Te=e=>"length"===e||"size"===e||"bg-size"===e,Se=e=>"length"===e,Ae=e=>"number"===e,De=e=>"family-name"===e,Me=e=>"shadow"===e,Ve=()=>{const e=U("color"),t=U("font"),n=U("text"),r=U("font-weight"),o=U("tracking"),i=U("leading"),s=U("breakpoint"),a=U("container"),l=U("spacing"),c=U("radius"),d=U("shadow"),u=U("inset-shadow"),h=U("text-shadow"),m=U("drop-shadow"),p=U("blur"),f=U("perspective"),g=U("aspect"),v=U("ease"),y=U("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ge,de],x=()=>[ge,de,l],w=()=>[J,"full","auto",...x()],k=()=>[ee,"none","subgrid",ge,de],N=()=>["auto",{span:["full",ee,ge,de]},ee,ge,de],C=()=>[ee,"auto",ge,de],P=()=>["auto","min","max","fr",ge,de],E=()=>["auto",...x()],T=()=>[J,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],S=()=>[e,ge,de],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",be,me,{position:[ge,de]}],D=()=>["auto","cover","contain",xe,ce,{size:[ge,de]}],M=()=>[te,ve,ue],V=()=>["","none","full",c,ge,de],L=()=>["",Q,ve,ue],j=()=>[Q,te,be,me],B=()=>["","none",p,ge,de],R=()=>["none",Q,ge,de],F=()=>["none",Q,ge,de],I=()=>[Q,ge,de],O=()=>[J,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ne],breakpoint:[ne],color:[re],container:[ne],"drop-shadow":[ne],ease:["in","out","in-out"],font:[le],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ne],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ne],shadow:[ne],spacing:["px",Q],text:[ne],"text-shadow":[ne],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",J,de,ge,g]}],container:["container"],columns:[{columns:[Q,de,ge,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:b()}],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:[ee,"auto",ge,de]}],basis:[{basis:[J,"full","auto",a,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Q,J,"auto","initial","none",de]}],grow:[{grow:["",Q,ge,de]}],shrink:[{shrink:["",Q,ge,de]}],order:[{order:[ee,"first","last","none",ge,de]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:N()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:N()}],"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":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:T()}],w:[{w:[a,"screen",...T()]}],"min-w":[{"min-w":[a,"screen","none",...T()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[s]},...T()]}],h:[{h:["screen","lh",...T()]}],"min-h":[{"min-h":["screen","lh","none",...T()]}],"max-h":[{"max-h":["screen","lh",...T()]}],"font-size":[{text:["base",n,ve,ue]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ge,he]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",te,de]}],"font-family":[{font:[ye,de,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ge,de]}],"line-clamp":[{"line-clamp":[Q,"none",ge,he]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",ge,de]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ge,de]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:S()}],"text-color":[{text:S()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[Q,"from-font","auto",ge,ue]}],"text-decoration-color":[{decoration:S()}],"underline-offset":[{"underline-offset":[Q,"auto",ge,de]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ge,de]}],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",ge,de]}],"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:D()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ee,ge,de],radial:["",ge,de],conic:[ee,ge,de]},we,pe]}],"bg-color":[{bg:S()}],"gradient-from-pos":[{from:M()}],"gradient-via-pos":[{via:M()}],"gradient-to-pos":[{to:M()}],"gradient-from":[{from:S()}],"gradient-via":[{via:S()}],"gradient-to":[{to:S()}],rounded:[{rounded:V()}],"rounded-s":[{"rounded-s":V()}],"rounded-e":[{"rounded-e":V()}],"rounded-t":[{"rounded-t":V()}],"rounded-r":[{"rounded-r":V()}],"rounded-b":[{"rounded-b":V()}],"rounded-l":[{"rounded-l":V()}],"rounded-ss":[{"rounded-ss":V()}],"rounded-se":[{"rounded-se":V()}],"rounded-ee":[{"rounded-ee":V()}],"rounded-es":[{"rounded-es":V()}],"rounded-tl":[{"rounded-tl":V()}],"rounded-tr":[{"rounded-tr":V()}],"rounded-br":[{"rounded-br":V()}],"rounded-bl":[{"rounded-bl":V()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:S()}],"border-color-x":[{"border-x":S()}],"border-color-y":[{"border-y":S()}],"border-color-s":[{"border-s":S()}],"border-color-e":[{"border-e":S()}],"border-color-t":[{"border-t":S()}],"border-color-r":[{"border-r":S()}],"border-color-b":[{"border-b":S()}],"border-color-l":[{"border-l":S()}],"divide-color":[{divide:S()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[Q,ge,de]}],"outline-w":[{outline:["",Q,ve,ue]}],"outline-color":[{outline:S()}],shadow:[{shadow:["","none",d,ke,fe]}],"shadow-color":[{shadow:S()}],"inset-shadow":[{"inset-shadow":["none",u,ke,fe]}],"inset-shadow-color":[{"inset-shadow":S()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:S()}],"ring-offset-w":[{"ring-offset":[Q,ue]}],"ring-offset-color":[{"ring-offset":S()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":S()}],"text-shadow":[{"text-shadow":["none",h,ke,fe]}],"text-shadow-color":[{"text-shadow":S()}],opacity:[{opacity:[Q,ge,de]}],"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":[Q]}],"mask-image-linear-from-pos":[{"mask-linear-from":j()}],"mask-image-linear-to-pos":[{"mask-linear-to":j()}],"mask-image-linear-from-color":[{"mask-linear-from":S()}],"mask-image-linear-to-color":[{"mask-linear-to":S()}],"mask-image-t-from-pos":[{"mask-t-from":j()}],"mask-image-t-to-pos":[{"mask-t-to":j()}],"mask-image-t-from-color":[{"mask-t-from":S()}],"mask-image-t-to-color":[{"mask-t-to":S()}],"mask-image-r-from-pos":[{"mask-r-from":j()}],"mask-image-r-to-pos":[{"mask-r-to":j()}],"mask-image-r-from-color":[{"mask-r-from":S()}],"mask-image-r-to-color":[{"mask-r-to":S()}],"mask-image-b-from-pos":[{"mask-b-from":j()}],"mask-image-b-to-pos":[{"mask-b-to":j()}],"mask-image-b-from-color":[{"mask-b-from":S()}],"mask-image-b-to-color":[{"mask-b-to":S()}],"mask-image-l-from-pos":[{"mask-l-from":j()}],"mask-image-l-to-pos":[{"mask-l-to":j()}],"mask-image-l-from-color":[{"mask-l-from":S()}],"mask-image-l-to-color":[{"mask-l-to":S()}],"mask-image-x-from-pos":[{"mask-x-from":j()}],"mask-image-x-to-pos":[{"mask-x-to":j()}],"mask-image-x-from-color":[{"mask-x-from":S()}],"mask-image-x-to-color":[{"mask-x-to":S()}],"mask-image-y-from-pos":[{"mask-y-from":j()}],"mask-image-y-to-pos":[{"mask-y-to":j()}],"mask-image-y-from-color":[{"mask-y-from":S()}],"mask-image-y-to-color":[{"mask-y-to":S()}],"mask-image-radial":[{"mask-radial":[ge,de]}],"mask-image-radial-from-pos":[{"mask-radial-from":j()}],"mask-image-radial-to-pos":[{"mask-radial-to":j()}],"mask-image-radial-from-color":[{"mask-radial-from":S()}],"mask-image-radial-to-color":[{"mask-radial-to":S()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[Q]}],"mask-image-conic-from-pos":[{"mask-conic-from":j()}],"mask-image-conic-to-pos":[{"mask-conic-to":j()}],"mask-image-conic-from-color":[{"mask-conic-from":S()}],"mask-image-conic-to-color":[{"mask-conic-to":S()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:A()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:D()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ge,de]}],filter:[{filter:["","none",ge,de]}],blur:[{blur:B()}],brightness:[{brightness:[Q,ge,de]}],contrast:[{contrast:[Q,ge,de]}],"drop-shadow":[{"drop-shadow":["","none",m,ke,fe]}],"drop-shadow-color":[{"drop-shadow":S()}],grayscale:[{grayscale:["",Q,ge,de]}],"hue-rotate":[{"hue-rotate":[Q,ge,de]}],invert:[{invert:["",Q,ge,de]}],saturate:[{saturate:[Q,ge,de]}],sepia:[{sepia:["",Q,ge,de]}],"backdrop-filter":[{"backdrop-filter":["","none",ge,de]}],"backdrop-blur":[{"backdrop-blur":B()}],"backdrop-brightness":[{"backdrop-brightness":[Q,ge,de]}],"backdrop-contrast":[{"backdrop-contrast":[Q,ge,de]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Q,ge,de]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Q,ge,de]}],"backdrop-invert":[{"backdrop-invert":["",Q,ge,de]}],"backdrop-opacity":[{"backdrop-opacity":[Q,ge,de]}],"backdrop-saturate":[{"backdrop-saturate":[Q,ge,de]}],"backdrop-sepia":[{"backdrop-sepia":["",Q,ge,de]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ge,de]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Q,"initial",ge,de]}],ease:[{ease:["linear","initial",v,ge,de]}],delay:[{delay:[Q,ge,de]}],animate:[{animate:["none",y,ge,de]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,ge,de]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:R()}],"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{"rotate-z":R()}],scale:[{scale:F()}],"scale-x":[{"scale-x":F()}],"scale-y":[{"scale-y":F()}],"scale-z":[{"scale-z":F()}],"scale-3d":["scale-3d"],skew:[{skew:I()}],"skew-x":[{"skew-x":I()}],"skew-y":[{"skew-y":I()}],transform:[{transform:[ge,de,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:O()}],"translate-x":[{"translate-x":O()}],"translate-y":[{"translate-y":O()}],"translate-z":[{"translate-z":O()}],"translate-none":["translate-none"],accent:[{accent:S()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:S()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ge,de]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ge,de]}],fill:[{fill:["none",...S()]}],"stroke-w":[{stroke:[Q,ve,ue,he]}],stroke:[{stroke:["none",...S()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Le=(e,t,n)=>{void 0!==n&&(e[t]=n)},je=(e,t)=>{if(t)for(const n in t)Le(e,n,t[n])},Be=(e,t)=>{if(t)for(const n in t)Re(e,t,n)},Re=(e,t,n)=>{const r=t[n];void 0!==r&&(e[n]=e[n]?e[n].concat(r):r)},Fe=((e,...t)=>"function"==typeof e?_(Ve,e,...t):_(()=>((e,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:o={},override:i={}})=>(Le(e,"cacheSize",t),Le(e,"prefix",n),Le(e,"experimentalParseClassName",r),je(e.theme,i.theme),je(e.classGroups,i.classGroups),je(e.conflictingClassGroups,i.conflictingClassGroups),je(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),Le(e,"orderSensitiveModifiers",i.orderSensitiveModifiers),Be(e.theme,o.theme),Be(e.classGroups,o.classGroups),Be(e.conflictingClassGroups,o.conflictingClassGroups),Be(e.conflictingClassGroupModifiers,o.conflictingClassGroupModifiers),Re(e,o,"orderSensitiveModifiers"),e))(Ve(),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)=>Fe(E(...e)),Oe=i(({children:t,className:n="",style:r,disabled:o,...i},s)=>e("button",{ref:s,className:Ie(n),style:r,disabled:o,...i,children:t}));Oe.displayName="Button";const $e=t=>{const{open:n,children:r}=t,o=s(null),[i,c]=a(0);return l(()=>{const e=o.current;if(!e)return;const t=()=>{c(n?e.scrollHeight:0)};let r;return t(),n&&(r=new ResizeObserver(()=>t()),r.observe(e)),()=>{r&&r.disconnect()}},[n,r]),e("div",{className:"overflow-hidden transition-all duration-300 ease-in-out",style:{maxHeight:i,opacity:n?1:0},"aria-hidden":!n,children:e("div",{ref:o,children:r})})};$e.displayName="Collapse";const ze=({name:t,fill:n=0,opticalSize:r="48dp",weight:o="200",emphasis:i=145,size:s=24,color:a="currentColor",style:l={},className:c,onClick:d,dataTestId:u})=>{const h={fontVariationSettings:`'FILL' ${n}, 'wght' ${o}, 'GRAD' ${i}, 'opsz' ${r.substring(0,2)}`,fontSize:`${s}px`,fontFamily:"'Material Symbols Rounded'",color:a||"currentColor",...l};return e("span",{style:h,className:Ie("material-symbols-rounded",c),onClick:d,"data-testid":u,children:t})};ze.displayName="MaterialIcon";const _e=n=>{const{title:r,defaultOpen:o,children:i,containerClassName:s,titleClassName:c,className:d,buttonClassName:u,openOnlyOnDesktop:h}=n,[m,p]=a(Boolean(!1));return l(()=>{if(h){const e=window.innerWidth>=1024;p(e)}else p(Boolean(o))},[h,o]),t("div",{className:Ie("rounded-lg border",s),children:[t(Oe,{type:"button",className:Ie("flex w-full items-center justify-between gap-4 rounded-t-lg px-4 py-3 text-left",u),onClick:()=>p(e=>!e),children:[e("span",{className:Ie("label5",c),children:r}),e(ze,{name:m?"keyboard_arrow_down":"keyboard_arrow_up",fill:1,size:24})]}),e($e,{open:m,children:e("div",{className:Ie("px-4 py-4",d),children:i})})]})};_e.displayName="Accordion";const Ue=i(({children:e,as:t,className:n="",style:r,...i},s)=>{const a=t||"p";return o.createElement(a,{ref:s,className:n,style:r,...i},e)});Ue.displayName="Text";const We=({items:n,title:r,background:o="white",enableHeading:i=!1,maxWidth:s=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[o]} component-container`,children:t("div",{className:(s?"max-w-120 xl:mx-auto":"")+" mx-5 my-8 lg:mx-20 lg:my-18",children:[e("div",{children:e(Ue,{as:i?"h1":"h2",className:"heading1 text-left lg:text-center",children:r})}),e("div",{className:"question-answer-section mt-10 lg:mt-16",children:null==n?void 0:n.map((t,n)=>e("div",{children:e(_e,{title:t.title,containerClassName:"border-0 border-b-[1px] rounded-none",openOnlyOnDesktop:!0,children:e(Ue,{children:t.description})})},`item-${n}`))})]})}),Ge={blue:"bg-fill-brand",green:"bg-fill-brand-accent",navy:"bg-fill-inverse",purple:"bg-fill-brand-tertiary",white:"bg-white",yellow:"bg-[#F5FF1E]"},He=i(({className:t,...n},r)=>{const o="string"==typeof n.src?n.src:"",i=o.toLowerCase().split("?")[0]||"",s=o.includes("images.ctfassets.net")&&i.endsWith(".svg");return e(k,{ref:r,className:Ie(t),...n,unoptimized:s})});He.displayName="NextImage";const Ye=({card:n,lgWidth:r,mdWidth:o})=>{var i,s,a;const l=(null===(i=n.imageAlignment)||void 0===i?void 0:i.toLowerCase())||"left",c="left"===l?"lg:items-start":"right"===l?"lg:items-end":"lg:items-center";return e("div",{className:`callout-card ${o} ${r} w-full ${null!==(a=Ge[null!==(s=n.backgroundColor)&&void 0!==s?s:""])&&void 0!==a?a:""}`,children:t("div",{className:`card-template flex h-full flex-col items-center gap-6 p-8 text-center ${c}`,children:[e("div",{className:"card-header",children:(t=>{var n,r,o;if(!t.image)return null;const i=null===(n=t.imageView)||void 0===n?void 0:n.toLowerCase();return e(He,"full"===i?{width:400,height:280,src:t.image,alt:null!==(r=t.title)&&void 0!==r?r:"card-icon",className:"rounded-3xl"}:{width:88,height:88,src:t.image,alt:null!==(o=t.title)&&void 0!==o?o:"card-icon"})})(n)}),t("div",{className:"card-body flex flex-col gap-3 text-start",children:[n.title&&e(Ue,{as:"h5",className:"heading5 font-black",children:n.title}),n.body&&e(Ue,{as:"div",className:"body1",children:n.body})]})]})})},Xe=({title:n,items:r,enableHeading:o=!1,subtitle:i,color:s="dark",maxWidth:a=!0,maxCardsPerRow:l})=>{const c={1:" lg:w-full",2:" lg:w-[calc(50%-0.75rem)]",3:" lg:w-[calc(33.3333%-1rem)]",4:" lg:w-[calc(25%-1.125rem)]"}[l||4]||" lg:w-[calc(25%-1.125rem)]",d=1===r.length?" md:w-full":" md:w-[calc(50%-1rem)]";return e("div",{className:"component-container",children:e("div",{className:`mx-5 mb-5 mt-12 ${a?"max-w-120 xl:mx-auto":""} ${"dark"==s?"text-text":"text-white"}`,children:t("div",{className:"callout-container flex flex-col gap-8",children:[t("div",{className:"title-holder",children:[n&&e(Ue,{as:o?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:n}),i&&e(Ue,{as:o?"h2":"h3",className:"subheading3 mt-3 md:subheading1 md:text-center",children:i})]}),e("div",{className:"card-holder flex flex-wrap items-stretch justify-center gap-8 self-stretch lg:gap-6",children:r.map((t,n)=>e(Ye,{card:t,lgWidth:c,mdWidth:d},n))})]})})})},qe=({fields:t})=>e("div",{children:e(Ue,{children:"Cards"})}),Ke=i(({children:t,className:n="",variant:r="unstyled",style:o,...i},s)=>{const a=Ie("unstyled"===r?"":"mb-1 leading-6","list-item",`list-item--${r}`,n);return e("li",{ref:s,className:a,style:o,...i,children:t})});Ke.displayName="ListItem";const Ze=i(({type:t="ul",items:n,className:r="",renderItem:o,children:i,variant:s="unstyled",style:a,...l},c)=>{const d=(()=>{if("unstyled"===s)return"";return`m-0 p-0 ${"ol"===t?"pl-6 list-decimal":"pl-5 list-disc"}`})(),u={className:Ie(d,`list--${t}`,`list--${s}`,r),style:a,...l,children:i||(n&&0!==n.length?n.map((t,n)=>o?o(t,n):e(Ke,{className:t.className,variant:s,children:t.content},t.id||n)):null)};return e("ol"===t?"ol":"ul",{...u,ref:c})});Ze.displayName="List";const Je=n=>{const{items:r,listIconName:o="check",listItemClassName:i,iconSize:s=20,iconPosition:a="center",iconColor:l="brand"}=n,c="disc"!==o;return(null==r?void 0:r.length)?e(Ze,{className:"mt-2 space-y-1",variant:c?"unstyled":"default",children:r.map((n,r)=>t(Ke,{variant:c?"unstyled":"default",className:Ie(`${c?"flex":""} ${"top"===a?"items-start":"items-center"} gap-2 text-text-secondary`,i),children:[c&&e("div",{children:e(ze,{name:o,size:s,weight:"600",className:`text-icon-${l} ${"top"===a?"mt-1":""}`})}),e(Ue,{as:"div",children:n})]},r))}):null};Je.displayName="Checklist";const Qe=i(({as:t,className:n="",...r},o)=>{const i=Ie(n);if(t){return e(t,{ref:o,className:i,...r})}return e("img",{ref:o,className:i,...r})});Qe.displayName="Image";const et=({onSelect:n,speed:r,isSelected:o=!1})=>t(Oe,{onClick:n,className:Ie(`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 ${o?" bg-bg-surface text-text focus:ring-bg-fill-surface-inverse":" bg-bg-fill-brand text-text-brand-on-bg-fill enabled:hover:bg-bg-fill-brand-hover focus:ring-bg-fill-brand"} `,"w-full justify-between pl-5 pr-5"),"data-track-element-name":"speed_plan_select_button","data-track-click-text":`Select plan speed ${r}`,"data-track-element-clicked":"speed_plan_card",children:[e("span",{children:"Select plan"}),e("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-full "+(o?"bg-bg-fill-surface-inverse text-text-inverse":"bg-bg text-text"),children:e(ze,{name:"chevron_right",fill:1,size:24})})]}),tt=({planName:r,speed:o,price:i,description:s,bestValue:l=!1,bestValueText:c="best value",giftBadge:d,innerBadge:u,theme:h="light",featuresTitle:m="Business Ready Internet features",features:p=[],isExpanded:f,onToggleExpand:g,onCtaClick:v,hostType:y})=>{const[b,x]=a(!1),w=void 0!==f?f:b,k="dark"===h;return t("article",{className:Ie("relative flex h-full w-full max-w-[392px] flex-col",!l&&"pt-[28px]"),children:[l&&e("div",{className:"rounded-t-[20px] bg-bg-fill-brand-accent px-4 py-1 text-center text-sm font-bold text-text",children:c}),t("div",{className:Ie("flex flex-grow flex-col gap-6 rounded-[20px] px-5 shadow-cardDrop",k?"bg-bg-fill-inverse text-white":"bg-white text-text",l?"rounded-t-none":""),children:[t("header",{className:"overflow-none flex items-start justify-between gap-4 pt-7",children:[t("div",{className:"flex flex-col",children:[e(Ue,{as:"h3",className:Ie("whitespace-nowrap text-subheading2 font-black lowercase",k?"text-bg-fill-brand-accent":"text-text-brand"),children:r}),"smb"===y?e(Ue,{as:"p",className:`text-label3 font-black ${k?"text-bg-fill-brand-accent":"text-text-brand"} lowercase md:whitespace-nowrap`,children:"business ready internet"}):null]}),t("div",{className:"flex items-start",children:[e("span",{className:"text-xl font-normal",children:"$"}),e("span",{className:"text-subheading6 font-medium leading-none",children:i.split(".")[0]}),t("span",{className:"text-sm font-black",children:[i.split(".")[1],"/mo"]})]})]}),e("section",{children:e(Ue,{className:Ie("text-base",k?"text-white":"text-text"),children:s})}),e("div",{className:Ie("flex-col items-center rounded-xl p-2",k?"bg-bg-surface-inverse":"bg-gray-200"),children:d&&(null==d?void 0:d.map(n=>t("div",{className:"flex items-center gap-2 p-1",children:[e(Qe,{src:n.icon,alt:n.title,width:24,height:24}),e(Ue,{className:"text-sm font-bold",children:n.title})]},n.title)))}),e(et,{onSelect:v,speed:o,isSelected:k}),p.length>0&&t("section",{className:"flex flex-col gap-6",children:[t(Oe,{onClick:()=>{g?g():x(!b)},className:"group flex w-full items-center justify-between text-left",children:[e(Ue,{as:"h4",className:"text-base font-bold",children:m}),e(ze,{name:"keyboard_arrow_up",fill:1,size:24,className:Ie("transition-transform duration-300",w&&"rotate-180")})]}),t("div",{className:Ie("overflow-hidden transition-all duration-300 ease-in-out",w?"pb-7 opacity-100":"max-h-0 opacity-0"),children:[e("div",{className:"flex flex-col gap-3",children:e(Je,{items:p,listItemClassName:""+(k?"text-white":"text-text")})}),(null==u?void 0:u.badgeIcon)?t("div",{className:"flex items-center gap-2 text-center",children:[e(Qe,{src:u.badgeIcon,alt:"Inner Badge",width:12,height:12}),e("span",{className:"text-sm",children:u.badgeText.includes("|")?t(n,{children:[e("span",{className:"font-bold",children:u.badgeText.split("|")[0]}),e("span",{className:"font-normal",children:u.badgeText.split("|")[1]})]}):e(Ue,{className:"font-bold",children:u.badgeText})})]}):null]})]})]})]})},nt=({title:n,quote:r,rating:o,author:i,role:s,avatarUrl:a,isActive:l=!1,className:c})=>t("figure",{className:E("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",c),children:[e("header",{children:e(Ue,{as:"h3",className:"mb-4 text-xl font-black lowercase text-text",children:n})}),e("blockquote",{className:"mb-5 flex-grow text-xl leading-relaxed text-text",children:r}),o?e("div",{className:"mb-5 flex gap-1",children:[...Array(5)].map((t,n)=>e(ze,{size:24,name:"star",fill:1,className:E("h-5 w-5",n<o?"text-text":"text-gray-300"),"aria-hidden":"true"},n))}):null,i&&t("figcaption",{className:"flex items-center gap-3",children:[e("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-full bg-gray-300",children:a?e(k,{src:a,alt:i,fill:!0,className:"object-cover",sizes:"40px"}):e("div",{className:"flex h-full w-full items-center justify-center bg-gray-500 text-xs font-bold text-white",children:i.charAt(0)})}),t("div",{className:"flex flex-col",children:[e("cite",{className:"text-sm font-bold not-italic text-text",children:i}),e(Ue,{as:"p",className:"text-xs text-text",children:s})]})]})]});function rt({fields:r}){var o,i,d,u;const h=(null===(d=null===(i=null===(o=null==r?void 0:r.items)||void 0===o?void 0:o.items)||void 0===i?void 0:i[0])||void 0===d?void 0:d.benefitsExpanded)||!1,[m,p]=a(h),[f,g]=a({}),[v,y]=a(0),b=(null===(u=null==r?void 0:r.items)||void 0===u?void 0:u.items)||[],x=b.length>2,w=s([]),k=c(()=>{x&&y(e=>(e+3)%b.length)},[x,b.length]),N=c(()=>{x&&y(e=>(e-3+b.length)%b.length)},[x,b.length]);if(l(()=>{if(!x)return;const e=()=>{const e=w.current.filter(Boolean);if(0===e.length)return;e.forEach(e=>{e.style.height="auto"});const t=Math.max(...e.map(e=>e.offsetHeight));e.forEach(e=>{e.style.height=`${t}px`})};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[x,m,b.length]),!b.length&&!(null==r?void 0:r.title))return null;const C=(t,n,r=!1)=>{var o,i,s,a,l,c,d,u;const h=`${(null===(o=null==t?void 0:t.techType)||void 0===o?void 0:o.startsWith("FIBER"))?"fiber ":""}${(null==t?void 0:t.speed)||""}`,v=(null===(s=null===(i=null==t?void 0:t.priceSuffix)||void 0===i?void 0:i.split("/"))||void 0===s?void 0:s[0])||"00",y=`${(null==t?void 0:t.price)||"0"}.${v}`,b=(null===(a=null==t?void 0:t.benefits)||void 0===a?void 0:a.items)||[],x=(null==t?void 0:t.highlighted)||!1,k=(null===(c=null===(l=null==t?void 0:t.giftRewards)||void 0===l?void 0:l.list)||void 0===c?void 0:c.items)||[],N={badgeText:t.innerBadge||"",badgeIcon:(null===(d=t.innerBadgeIcon)||void 0===d?void 0:d.url)||""},C=r?f[n]||!1:m;return e("div",{ref:r?void 0:e=>{e&&!w.current.includes(e)&&(w.current[n]=e)},className:E(r?"mx-auto w-full max-w-[392px]":"w-[392px] flex-shrink-0"),children:e(tt,{planName:h,speed:(null==t?void 0:t.speed)||"",price:y,description:(null==t?void 0:t.productCardDescription)||"",giftBadge:k,innerBadge:N,theme:(null==t?void 0:t.highlighted)?"dark":"light",bestValue:x,bestValueText:(null==t?void 0:t.topBadgeText)||"best value",featuresTitle:null==t?void 0:t.benefitsTitle,features:b,isExpanded:C,onToggleExpand:()=>{r?g(e=>({...e,[n]:!e[n]})):p(!m)},ctaText:(null===(u=null==t?void 0:t.cta)||void 0===u?void 0:u.buttonLabel)||"Select plan",onCtaClick:()=>{},hostType:"smb"})},n)},P=[...b,...b,...b,...b,...b],T=2*b.length;return x?t(n,{children:[e("div",{className:"flex flex-col gap-6 md:hidden",children:b.map((e,t)=>C(e,t,!0))}),t("div",{className:"relative hidden w-full md:block",children:[t("div",{className:"pointer-events-none absolute -left-16 -right-16 top-[50%] z-30 flex -translate-y-1/2 justify-between px-4 md:px-10",children:[e(Oe,{onClick:k,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Previous",children:e(ze,{name:"arrow_back",size:24})}),e(Oe,{onClick:N,className:"pointer-events-auto flex h-12 w-12 items-center justify-center rounded-full border border-gray-100 bg-white p-2 text-text shadow-cardDrop transition-all hover:bg-gray-50","aria-label":"Next",children:e(ze,{name:"arrow_forward",size:24})})]}),e("div",{className:"mx-auto max-w-[1280px] overflow-hidden",children:e("div",{className:"flex items-stretch gap-4 pb-4 transition-transform duration-500 ease-in-out",style:{transform:`translateX(calc(-${T+v} * (392px + 12px)))`},children:P.map((e,t)=>C(e,t,!1))})})]})]}):e("div",{className:"flex w-full max-w-[1280px] flex-wrap justify-center gap-8 px-4",children:b.map((e,t)=>C(e,t))})}const ot=({fields:n})=>{var r;const o=(null===(r=null==n?void 0:n.items)||void 0===r?void 0:r.items)||[],[i,d]=a(0),u=s(null),h=c(()=>{0!==o.length&&d(e=>(e+1)%o.length)},[o.length]),m=c(()=>{0!==o.length&&d(e=>0===e?o.length-1:e-1)},[o.length]);return l(()=>{if(0!==o.length)return u.current=setInterval(()=>{h()},8e3),()=>{u.current&&clearInterval(u.current)}},[h,o.length]),o&&0!==o.length?t("div",{className:"relative mx-auto max-w-[1280px] overflow-hidden md:px-24",children:[e(Oe,{onClick:m,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(ze,{name:"arrow_back",size:24})}),e("div",{className:"grid grid-cols-1 justify-items-center",children:o.map((t,n)=>{let r=n-i;const s=o.length;r>s/2&&(r-=s),r<-s/2&&(r+=s);const a=0===r;return e("div",{className:E("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*r+"%"})`,zIndex:a?10:5,visibility:Math.abs(r)>1?"hidden":"visible",transition:"all 0.5s ease-in-out"},children:e(nt,{...t,isActive:a,className:"h-full"})},n)})}),e(Oe,{onClick:h,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(ze,{name:"arrow_forward",size:24})}),e("div",{className:"mt-8 hidden justify-center gap-2 md:flex",children:o.map((t,n)=>e("button",{onClick:()=>d(n),className:E("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},it=({fields:n,hasTestimonialCards:r,hasProductCards:o,disclaimerText:i,backgroundColor:s})=>e("div",{className:`${s} mx-auto overflow-hidden px-5 py-9 md:py-20`,children:t("div",{className:"relative mx-auto flex max-w-[1280px] flex-col gap-12 overflow-visible",children:[e(Ue,{as:"h2",className:"text-center text-4xl font-bold text-text md:text-5xl",children:null==n?void 0:n.title}),(null==n?void 0:n.subTitle)&&e(Ue,{as:"h3",className:"body1 px-4 pt-4 text-center",children:null==n?void 0:n.subTitle}),r&&e(ot,{fields:n}),o&&e(rt,{fields:n}),e(Ue,{as:"div",className:"body1 mt-8 px-4 text-center",children:i})]})}),st=e=>{let t="";return e.base&&(t="x-large"===e.base?"label3 ":"label4 "),e.md&&(t+="x-large"===e.md?"md:label3 ":"md:label4 "),e.lg&&(t+="x-large"===e.lg?"lg:label3 ":"lg:label4 "),t.trim()},at=i(({variant:r="primary_brand",isLoading:o=!1,text:i,label:s,disabled:a,fullWidth:l,size:c={base:"medium"},as:d="button",...u},h)=>{const m=(()=>{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()})(c),"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",l&&"w-full"),t=Ie((a||o)&&"cursor-not-allowed",o&&"pl-7",a&&"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"}[r]||"",t)})();let p=`button--${r}`;o&&(p+=" button--loading"),a&&(p+=" button--disabled");const f=`${p} ${m}`,g=t(n,{children:[o?e(ze,{name:"progress_activity",className:"animate-spin"}):null,s?t("span",{className:"flex flex-col",children:[e("span",{className:Ie(st(c)),children:s}),i]}):i]});return"a"===d?e("a",{ref:h,className:Ie(f),...u,children:g}):e("button",{ref:h,className:Ie(f),disabled:a||o,...u,children:g})});at.displayName="BrandButton";const lt=i(({children:t,href:n,className:r="",onClick:o,variant:i="unstyled",style:s,external:a=!1,disabled:l=!1,...c},d)=>{const u=(()=>{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(" ")})(),h={...c,ref:d,className:Ie(u,`link--${i}`,l&&"link--disabled",r),style:s,href:l?void 0:n,onClick:e=>{l?e.preventDefault():null==o||o(e)},...a&&!l&&{target:"_blank",rel:"noopener noreferrer"},...l&&{"aria-disabled":!0,tabIndex:-1}};return e("a",{...h,children:t})});lt.displayName="Link";const ct=({showButtonAs:t="solid",buttonVariant:n="primary_brand",buttonLabel:r,buttonPrefix:o,href:i,target:s="_blank",anchorId:a,linkClassName:l,linkVariant:c,fullWidth:d,preDefinedFunctionExecution:u,checkPlansJSX:h,buttonClassName:m,onClick:p,...f})=>{if("check availability"===u)return h;function g(e){null==p||p(e)}function v(e){null==p||p(e)}let y=e(Oe,{onClick:v,className:m,...f});switch(t){case"solid":y=e(at,i?{as:"a",href:i,id:a,variant:n,text:r,label:o,fullWidth:d,onClick:g}:{id:a,variant:n,text:r,label:o,fullWidth:d,onClick:v});break;case"text":y=e(lt,{href:i,target:s,variant:c||"default",className:`text-text-brand ${l||""}`,onClick:g,children:r})}return y},dt=({title:n,subtitle:r,description:o,disclaimer:i,icon:s,cta:a,background:l="navy",color:c="light",enableHeading:d,maxWidth:u=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 my-8 lg:mx-20 lg:my-12 lg:rounded-[40px] xl:mx-auto "+(u?"max-w-120":""),children:[t("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]"}[l]} ${"dark"==c?"text-text":"text-white"} `,children:[s&&e("div",{className:"floating-banner-icon mb-5 flex justify-center lg:mb-0 lg:items-center",children:e("div",{className:"h-[80px] w-[80px] overflow-hidden",children:e(He,{width:80,height:80,alt:"icon",src:s})})}),t("div",{className:"flex w-full flex-col justify-center lg:mx-5 lg:w-4/5",children:[n&&e(Ue,{as:d?"h1":"h2",className:"heading2 mb-3 text-center lg:w-[95%] lg:text-left",children:n}),r&&e(Ue,{as:"h3",className:"heading3 mb-3 text-center lg:text-left",children:r}),o&&e(Ue,{as:"div",className:"body1 text-center lg:w-[95%] lg:text-left",children:o})]}),a&&e("div",{className:"mt-5 flex justify-center lg:mt-0 lg:w-[500px] lg:items-center",children:e(ct,{...a})})]}),i&&e("div",{children:e(Ue,{as:"div",className:"body3 mt-3 text-center",children:i})})]})}),ut=({body:n,links:r,bottomLinks:i,copyrights:s,terms:a,maxWidth:l=!0,onClick:c})=>{function d(e){null==c||c(e)}return e("div",{className:"component-container bg-bg-inverse text-white",children:t("div",{className:` ${l?"mx-auto max-w-120":""} px-5 py-8`,children:[e("aside",{className:"break-words","aria-label":"Promotions and disclaimers",children:n}),e("div",{className:"my-8 h-[1px] border-t-0 bg-white opacity-100 lg:my-16 dark:opacity-50"}),e("div",{className:"grid-1 grid gap-8 py-8 md:grid-cols-2 lg:grid-cols-4",children:null==r?void 0:r.map((n,r)=>{var i,s;return t(o.Fragment,{children:[e("div",{children:t("nav",{"aria-labelledby":`footer-${null==n?void 0:n.title}`,className:"site-links-group",children:[e(Ue,{as:"div",className:"label3",children:null==n?void 0:n.title}),e("ul",{className:"flex flex-col",children:null===(s=null===(i=null==n?void 0:n.items)||void 0===i?void 0:i.items)||void 0===s?void 0:s.map((t,n)=>e("li",{className:"pt-3",children:e(ct,{...t,linkVariant:"unstyled",linkClassName:"text-white body3",onClick:d})},`site-links-${n}`))})]},`link-group-${r}`)},`footer-link-group-${r}`),e("div",{className:"block h-[1px] border-t-0 bg-white opacity-100 md:hidden dark:opacity-50"})]},`footer-link-group-${r}`)})}),t("div",{className:"pt-8",children:[e("p",{className:"copy-rights",children:s}),t("p",{className:"terms-text footnote text-white",children:["© ",(new Date).getFullYear()," ",a]}),e("nav",{"aria-label":"Footer legal",children:e("ul",{className:"bottom-links list-none",children:null==i?void 0:i.map((t,n)=>e("li",{className:"relative float-left pl-[8px] before:absolute before:left-[3px] before:top-1/2 before:-translate-y-1/2 before:text-[14px] before:content-['•'] first-of-type:pl-0 first-of-type:before:content-['']",children:e(ct,{...t,linkClassName:"footnote text-white",linkVariant:"unstyled",onClick:d})},`links-${n}`))})})]})]})})},ht=({brow:n,enableHeading:r,title:o,subTitle:i,ctaDisclaimer:s,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:y=660,imageHeight:b=660})=>e("div",{className:"component-container",children:e("div",{className:`image-promo-bar-content ${g?"max-w-120 xl:mx-auto":""} mx-5 mb-8 mt-16`,children:t("div",{className:"flex shrink-0 flex-col items-center gap-8 xl:gap-[126px] "+(u?"flex-row xl:flex-row-reverse":"xl:flex-row"),children:[t("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:[t("div",{className:"heading holder",children:[n&&e(Ue,{as:"div",className:"subheading4 mb-4 text-text-brand xl:subheading2 xl:mb-3",children:n}),o&&e(Ue,{as:r?"h1":"h2",className:"heading2 xl:heading1",children:o}),i&&e(Ue,{as:r?"h2":"h3",className:"subheading1 mt-3",children:i})]}),l&&e(Ue,{as:"div",className:"body1",children:l}),h.length>0&&e(Je,{items:h,iconPosition:"top",iconSize:24}),e("div",{className:"flex gap-4",children:null==d?void 0:d.map((t,n)=>e("div",{className:"image-link w-[147px]",children:e(lt,{variant:"unstyled",href:t.url,target:"_blank",rel:"noopener noreferrer",children:e(Qe,{src:t.image,alt:"icon-link"})})},n))}),t("div",{className:"flex w-full flex-col gap-8 xl:flex-row xl:gap-3",children:[p&&e("div",{className:"primary-cta w-full xl:w-auto",children:e(ct,{...p,fullWidth:!0})}),m&&e("div",{className:"secondary-cta",children:e(ct,{...m,fullWidth:!0})})]}),s&&e("div",{children:s}),a&&e("div",{children:a})]}),t("aside",{className:"flex shrink-0 content-center items-center",children:[e("div",{className:"relative aspect-[16/9] w-full xl:aspect-square xl:max-h-[486px] xl:w-[486px]",children:c&&e(He,{src:c,alt:"section-image",width:y,height:b,className:"bottom-0 left-0 right-0 top-0 h-full rounded-[40px] object-cover"})}),e("div",{children:(null==f?void 0:f.link)&&e("div",{className:"video-section",children:f.image&&e(He,{src:f.image,alt:"Video preview",width:486,height:100,className:"rounded-[40px]"})})})]})]})})}),mt=({link:n,anchorName:r})=>{const[i,s]=o.useState(!1),a=o.useRef(null);if(((e,t)=>{const n=n=>{var r;(null===(r=null==e?void 0:e.current)||void 0===r?void 0:r.contains(n.target))||t()};l(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))})(a,()=>s(!1)),!n)return null;if((e=>"string"==typeof e.href)(n))return e(ct,{...n,linkClassName:"body3 flex items-center text-text-link h-full",linkVariant:"unstyled"},`submenu-link-btn-${n.anchorId}`);const{anchorId:c,title:d,items:u}=n,h=Array.isArray(null==u?void 0:u.items)?u.items:[],m=`--link-anchor-${r}`;return t("div",{className:"relative h-full",style:{anchorName:m},ref:a,children:[t(ct,{onClick:()=>s(e=>!e),"aria-expanded":i,buttonClassName:"group body3 flex h-full items-center",showButtonAs:"unstyled",children:[e(Ue,{as:"span",className:"group-hover:underline",children:null!=d?d:null}),e(ze,{weight:"700",className:"text-icon-info group-hover:opacity-50",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},c),e("div",{className:Ie("fixed z-10 min-w-44 rounded-xl bg-bg shadow-lg","transition-[opacity,transform] ease-out",i&&h.length>0?"pointer-events-auto translate-y-0 opacity-100 duration-75":"pointer-events-none -translate-y-2 opacity-0 duration-0"),style:{positionAnchor:m,top:"anchor(bottom)",right:"anchor(right)"},children:e("ul",{className:"flex flex-col gap-2 py-2",children:h.map((t,n)=>e("li",{className:"submenu-link",children:e(ct,{...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}`))})})]})},pt=({link:r})=>{const[i,s]=o.useState(!1);if(!r)return null;if((e=>"string"==typeof e.href)(r))return e(ct,{...r,linkClassName:"label3 flex items-center w-full h-11 px-4 text-text-link",linkVariant:"unstyled"},`submenu-link-btn-${r.anchorId}`);const{anchorId:a,title:l,items:c}=r,d=Array.isArray(null==c?void 0:c.items)?c.items:[];return t(n,{children:[t(ct,{onClick:()=>s(e=>!e),"aria-expanded":i,buttonClassName:"label3 flex h-11 w-full items-center px-4",showButtonAs:"unstyled",children:[null!=l?l:null,e(ze,{weight:"700",name:i?"keyboard_arrow_up":"keyboard_arrow_down"})]},a),i&&d.length>0&&e(ft,{items:d})]})},ft=({items:t})=>e("ul",{className:"flex flex-col gap-2",children:t.map((t,n)=>e("li",{className:"submenu-link",children:e(ct,{...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}`),gt=n=>{const{showBlinkDot:r=!1,buttonStyle:o="primary",size:i="md",children:s,className:a,...l}=n;return t(lt,{...l,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"}[i],{primary:"border-[0.727px] border-border text-text"}[o],a),children:[r?e("span",{className:`pointer-events-none absolute animate-blink ${{sm:"-left-4",md:"-left-6",lg:"-left-8"}[i]} top-1/2 ${{sm:"h-2 w-2",md:"h-3 w-3",lg:"h-4 w-4"}[i]} -translate-y-1/2 rounded-full bg-icon-brand`}):null,e("span",{className:`relative inline-flex ${{sm:"h-5 w-5",md:"h-6 w-6",lg:"h-8 w-8"}[i]} items-center justify-center rounded-full bg-icon-brand`,children:e(ze,{name:"call",fill:1,size:{sm:20,md:20,lg:32}[i],className:"text-white"})}),e("span",{className:"font-normal tracking-wide",children:s})]})};gt.displayName="CallButton";const vt=i((n,r)=>{const{className:o,size:i,required:s,placeholder:l,label:d,state:u,errorText:h,prefixIconName:m,prefixIconFill:p=!0,suffixIconFill:f=!1,prefixIconSize:g=24,suffixIconName:v,suffixIconSize:y=24,containerClassName:b,prefixIconClassName:x,loading:w,hasError:k,type:N,...C}=n,P=k?"error":u,[E,T]=a(!1),[S,A]=a(!1),[D,M]=a(N||"text"),V=c(e=>{e.stopPropagation(),M(e=>"password"===e?"text":"password")},[]);return t("div",{className:"relative",children:[d?e("label",{htmlFor:d,className:Ie("inline-block pb-1"),children:t(Ue,{as:"span",className:"footnote text-text",children:[d,s?e("span",{className:"pl-1 text-text-critical",children:"*"}):null]})}):null,t("div",{className:Ie("relative flex flex-row items-center overflow-hidden rounded-xl border border-input-border bg-input-bg-surface",{sm:"h-[48px] rounded-lg px-3 py-2",slim:"h-12",medium:"h-14",large:"h-[60px]"}[i||"medium"],b,(E||"hover"===P)&&!S&&"error"!==P&&"border-input-border-hover",(S||"focus"===P||"active"===P)&&"border-input-border-selected outline outline-1 outline-input-border-selected","error"===P&&"border-input-border-critical outline outline-1 outline-input-border-critical"),children:[m?e("div",{className:"mr-1",style:{width:g,height:g,overflow:"hidden"},children:e(ze,{name:m,fill:p?1:0,size:g,className:Ie(x)})}):null,e("input",{ref:r,id:d,disabled:w||C.disabled,className:Ie("h-full grow rounded-xl p-4 caret-bg-inverse placeholder:text-input-text-placeholder focus:border-none focus:outline-none","text-body2","slim"===i&&"text-body3",o),placeholder:l,type:D,...C,onMouseOver:()=>T(!0),onMouseOut:()=>T(!1),onFocus:e=>{var t;null===(t=C.onFocus)||void 0===t||t.call(C,e),A(!0)},onBlur:e=>{var t;null===(t=C.onBlur)||void 0===t||t.call(C,e),A(!1)}}),v?e("div",{className:"ml-2",style:{width:y,height:y,overflow:"hidden"},onClick:V,children:e(ze,{name:"text"===D?"visibility":"visibility_off",size:y,fill:f?1:0})}):null]}),"error"===P&&h&&""!=h?t(Ue,{className:Ie("footnote left-0 top-full inline-flex items-center pt-1 text-text-critical"),children:[e(ze,{name:"info",size:20,className:"mr-1"}),h||"Error"]}):null]})});vt.displayName="Input";const yt=n=>{const{primaryNavigationLinks:r,utilityNavigationLinks:o,checkPlansJSX:i,primaryNavigationLogo:s,accountNavigationLinks:a,supportNavigationLinks:l,searchBarIcon:c,invocaPhoneNumberLink:d,invocaPhoneNumberDisplayText:u,onSearch:h=()=>{}}=n;return t("div",{className:"component-container",children:[t("nav",{className:"menu-container",children:[e("div",{className:"utility-container hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex max-w-120 justify-between",children:[e("ul",{className:"flex gap-5","aria-label":"Utility Navigation",children:null==o?void 0:o.map((t,n)=>e("li",{children:e(ct,{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}`))}),t("div",{className:"flex items-center gap-10",children:[e(gt,{className:"border-none",href:d,children:e(Ue,{className:"body3",children:u})}),null==a?void 0:a.map((t,n)=>e(mt,{anchorName:`my-account-${n}`,link:t},`my-account-${n}`))]})]})}),t("div",{className:"main-nav-container","aria-label":"Main Navigation",children:[t("div",{className:"mobile-nav-section flex h-14 items-center justify-between px-5 py-[10px] lg:hidden",children:[e("div",{children:e(lt,{href:"/",className:"flex",children:e(He,{src:"string"==typeof s?s:(null==s?void 0:s.url)||"",alt:"Kinetic business logo",width:76.5,height:24})})}),t("div",{className:"flex items-center gap-6",children:[e(gt,{href:d,children:e(Ue,{as:"span",className:"footnote",children:u})}),e(bt,{...n})]})]}),e("div",{className:"desktop-nav-section hidden lg:block lg:border-b lg:px-2",children:t("div",{className:"mx-auto flex h-14 max-w-120 items-center justify-between",children:[t("div",{className:"flex h-full",children:[e(lt,{href:"/",className:"flex",children:e(He,{src:"string"==typeof s?s:(null==s?void 0:s.url)||"",alt:"Kinetic business logo",width:76.5,height:24,className:"mr-14"})}),e("div",{className:"flex h-full items-center gap-5",children:null==r?void 0:r.map((t,n)=>e(mt,{anchorName:`main-menu-${n}`,link:t},`main-menu-${n}`))})]}),t("div",{className:"flex h-full items-center gap-10",children:[e(wt,{searchBarIconURL:"string"==typeof c?c:(null==c?void 0:c.url)||"",onSearch:h}),null==l?void 0:l.map((t,n)=>e(mt,{anchorName:`support-menu-${n}`,link:t},`support-menu-${n}`))]})]})})]})]}),i&&e("div",{className:"md:hidden",children:i})]})},bt=n=>{var r;const{primaryNavigationLinks:i,utilityNavigationLinks:s}=n,[a,l]=o.useState(!1);o.useEffect(()=>{if("undefined"==typeof window)return;document.body.style.overflowY=a?"hidden":"unset";const e=document.getElementById("drawer-items");if(!e)return;const t=e.querySelectorAll(".focus-item"),n=t[0],r=t[t.length-1],o=e=>{var t,o,i,s;("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(null===(o=(t=r).focus)||void 0===o||o.call(t),e.preventDefault()):document.activeElement===r&&(null===(s=(i=n).focus)||void 0===s||s.call(i),e.preventDefault()))};return window.addEventListener("keydown",o),()=>{document.body.style.overflowY="unset",window.removeEventListener("keydown",o)}},[a]);const c=()=>{l(!1)};return t("div",{children:[e(ct,{showButtonAs:"unstyled",buttonClassName:"flex",onClick:()=>l(!0),children:e(ze,{name:"menu"})}),a?e("div",{className:"fixed bottom-0 left-0 right-0 top-0 z-[90] h-full w-full bg-scrim-bg-modal"}):null,e("div",{className: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",a?"right-0":"-right-96"),id:"mobile-menu-overlay",children:t("div",{id:"drawer-items",className:"flex h-full flex-col gap-3",children:[t("div",{className:"flex items-center justify-between px-4",children:[e("div",{children:e(gt,{className:"border-none",href:n.invocaPhoneNumberLink,children:n.invocaPhoneNumberDisplayText})}),e("div",{children:e(ct,{showButtonAs:"unstyled",buttonClassName:"focus-item flex",onClick:c,children:e(ze,{name:"close"})})})]}),e(xt,{closeMenu:c,isMenuOpen:a,searchBarIconURL:"string"==typeof n.searchBarIcon?n.searchBarIcon:(null===(r=n.searchBarIcon)||void 0===r?void 0:r.url)||"",onSearch:n.onSearch||(()=>{})}),t("div",{className:"flex-grow overflow-y-auto",children:[e("ul",{className:"mt-2 flex flex-col gap-2",children:null==i?void 0:i.map((t,n)=>e("li",{children:e(pt,{link:t})},`main-menu-items-${n}`))}),e("ul",{className:"mt-2 flex gap-5 bg-bg-fill-info px-4",children:null==s?void 0:s.map((t,n)=>e("li",{children:e(ct,{...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}`))})]})]})})]})},xt=n=>{const{closeMenu:r,onSearch:i,isMenuOpen:s,searchBarIconURL:a}=n,[l,c]=o.useState(""),d=o.useRef(null),u=e=>{r(),e.preventDefault(),i(l)};return o.useEffect(()=>{s||c("")},[s]),t("form",{name:"searchForm",className:"flex border-b border-t transition-colors focus-within:border-border-focus",onSubmit:u,children:[e(He,{src:a,width:32,height:32,alt:"Search icon",role:"button",className:"ml-2",onClick:u}),e("div",{className:"flex-grow",children:e(vt,{ref:d,className:"h-[34px] rounded-none text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:l,onChange:e=>c(e.target.value),autoComplete:"off",containerClassName:"h-[46px] px-4 pl-0 rounded-none flex-grow border-none"})})]})},wt=n=>{const{searchBarIconURL:r,onSearch:i}=n,[s,a]=o.useState(""),l=o.useRef(null),c=e=>{e.preventDefault(),i(s)};return t("form",{name:"searchForm",className:"flex h-9 w-60 rounded-full border transition-colors focus-within:border-border-focus",onSubmit:c,children:[e(He,{src:r,width:32,height:32,alt:"Search icon",role:"button",onClick:c}),e(vt,{ref:l,className:"rounded-full p-0 text-body3 font-medium leading-6",name:"search",placeholder:"Search...",value:s,onChange:e=>a(e.target.value),autoComplete:"off",containerClassName:"px-0 h-full border-none rounded-full"})]})},kt=n=>{var r;const{title:o,showAsHeading:i,subTitle:s,primaryCta1:a,carouselImages:l,bottomLink:c,price:d,priceCallout:u,priceSuffix:h,checklist:m,checkPlansJSX:p,badgeImage:f,pricingDescriptionDisclaimer:g,secondaryCta:v,secondaryCtaPrefix:y}=n,b=null!==(r=null==c?void 0:c.buttonLabel)&&void 0!==r?r:null==c?void 0:c.label;return e("div",{className:"component-container p-5 lg:h-[724px] lg:p-0",children:t("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("div",{className:Ie("relative flex flex-col text-white sm:w-[485px]"),children:t("div",{className:"flex flex-col gap-5 lg:gap-6",children:[o&&e(Ue,{as:i?"h1":"h2",className:"heading2 lg:heading1",children:o}),s&&e(Ue,{as:"p",className:"subheading3 lg:subheading1",children:s}),d?t("div",{className:"flex",children:[e("div",{className:"mr-2 mt-2",children:u?u.split("|").map((t,n)=>e(Ue,{as:"p",className:"body2",children:t},n)):null}),t("div",{className:"flex",children:[e(Ue,{as:"p",className:"subheading1 mt-2",children:"$"}),e(Ue,{as:"p",className:"subheading5",children:d}),h?e(Ue,{as:"p",className:"subheading1 mt-2",children:h}):null]})]}):null,m&&e(Je,{listItemClassName:"text-white body2",items:m.map(e=>e.title)}),t("div",{className:"flex flex-col gap-3",children:[a&&e("div",{className:Ie("hidden lg:flex lg:flex-col"),children:e(ct,{...a,checkPlansJSX:p})}),y||v?t("div",{className:"flex",children:[y&&e(Ue,{as:"span",className:"body2 mr-1",children:y}),v&&e(ct,{linkClassName:"body2 text-text-inverse",...v})]}):null,c&&(b||(null==c?void 0:c.href))&&e("div",{className:"hidden lg:block",children:e(ct,{...c,linkClassName:"text-footnote text-white"})}),g?e(Ue,{as:"p",className:"body3",children:g}):null]})]})}),t("div",{className:"lg:hidden",children:[t("div",{className:"relative my-8",children:[f?e(He,{src:f,alt:"Badge",className:"absolute left-5 top-5 aspect-square w-26 object-cover object-center",width:100,height:100,loading:"eager"}):null,l&&l[0]?e(He,{src:l[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]}),c&&(b||(null==c?void 0:c.href))&&e("div",{children:e(ct,{...c,linkClassName:"body3 text-white"})}),g?e(Ue,{as:"p",className:"body3",children:g}):null,y||v?t("div",{className:"flex",children:[y&&e(Ue,{as:"span",className:"body2 mr-1",children:y}),v&&e(ct,{...v})]}):null]}),t("div",{className:Ie("relative hidden lg:block"),children:[f?e(He,{src:f,alt:"Badge",className:"absolute -left-26 top-18 aspect-square w-52 object-cover object-center",width:200,height:200,loading:"eager"}):null,l&&l[0]?e(He,{src:l[0],alt:"Hero",className:"aspect-square rounded-[40px] object-cover object-center",width:600,height:600,loading:"eager"}):null]})]})})},Nt=({fields:t})=>e("div",{children:e(Ue,{children:"Text Block"})}),Ct={closed:{opacity:0},open:{opacity:1}},Pt={closed:{opacity:0,scale:.96},open:{opacity:1,scale:1}},Et={xs:"475px",sm:"640px",md:"768px",lg:"1024px",xl:"1280px"},Tt=d({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),St=d({}),At=d(null),Dt="undefined"!=typeof document,Mt=Dt?u:l,Vt=d({strict:!1});function Lt(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function jt(e){return"string"==typeof e||Array.isArray(e)}function Bt(e){return"object"==typeof e&&"function"==typeof e.start}const Rt=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ft=["initial",...Rt];function It(e){return Bt(e.animate)||Ft.some(t=>jt(e[t]))}function Ot(e){return Boolean(It(e)||e.variants)}function $t(e){const{initial:t,animate:n}=function(e,t){if(It(e)){const{initial:t,animate:n}=e;return{initial:!1===t||jt(t)?t:void 0,animate:jt(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,h(St));return p(()=>({initial:t,animate:n}),[zt(t),zt(n)])}function zt(e){return Array.isArray(e)?e.join(" "):e}const _t={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"]},Ut={};for(const e in _t)Ut[e]={isEnabled:t=>_t[e].some(e=>!!t[e])};const Wt=d({}),Gt=d({}),Ht=Symbol.for("motionComponentSymbol");function Yt({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:o,Component:a}){e&&function(e){for(const t in e)Ut[t]={...Ut[t],...e[t]}}(e);const d=i(function(i,d){let u;const p={...h(Tt),...i,layoutId:Xt(i)},{isStatic:f}=p,g=$t(i),v=o(i,f);if(!f&&Dt){g.visualElement=function(e,t,n,r){const{visualElement:o}=h(St),i=h(Vt),a=h(At),c=h(Tt).reducedMotion,d=s();r=r||i.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:!!a&&!1===a.initial,reducedMotionConfig:c}));const u=d.current;return m(()=>{u&&u.update(n,a)}),Mt(()=>{u&&u.render()}),l(()=>{u&&u.updateFeatures()}),(window.HandoffAppearAnimations?Mt:l)(()=>{u&&u.animationState&&u.animationState.animateChanges()}),u}(a,v,p,t);const n=h(Gt),r=h(Vt).strict;g.visualElement&&(u=g.visualElement.loadFeatures(p,r,e,n))}return r.createElement(St.Provider,{value:g},u&&g.visualElement?r.createElement(u,{visualElement:g.visualElement,...p}):null,n(a,i,function(e,t,n){return c(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):Lt(n)&&(n.current=r))},[t])}(v,g.visualElement,d),v,f,g.visualElement))});return d[Ht]=a,d}function Xt({layoutId:e}){const t=h(Wt).id;return t&&void 0!==e?t+"-"+e:e}function qt(e){function t(t,n={}){return Yt(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const Kt=["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 Zt(e){return"string"==typeof e&&!e.includes("-")&&!!(Kt.indexOf(e)>-1||/[A-Z]/.test(e))}const Jt={};const Qt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],en=new Set(Qt);function tn(e,{layout:t,layoutId:n}){return en.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Jt[e]||"opacity"===e)}const nn=e=>Boolean(e&&e.getVelocity),rn={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},on=Qt.length;const sn=e=>t=>"string"==typeof t&&t.startsWith(e),an=sn("--"),ln=sn("var(--"),cn=(e,t)=>t&&"number"==typeof e?t.transform(e):e,dn=(e,t,n)=>Math.min(Math.max(n,e),t),un={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},hn={...un,transform:e=>dn(0,1,e)},mn={...un,default:1},pn=e=>Math.round(1e5*e)/1e5,fn=/(-)?([\d]*\.?[\d])+/g,gn=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,vn=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function yn(e){return"string"==typeof e}const bn=e=>({test:t=>yn(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),xn=bn("deg"),wn=bn("%"),kn=bn("px"),Nn=bn("vh"),Cn=bn("vw"),Pn={...wn,parse:e=>wn.parse(e)/100,transform:e=>wn.transform(100*e)},En={...un,transform:Math.round},Tn={borderWidth:kn,borderTopWidth:kn,borderRightWidth:kn,borderBottomWidth:kn,borderLeftWidth:kn,borderRadius:kn,radius:kn,borderTopLeftRadius:kn,borderTopRightRadius:kn,borderBottomRightRadius:kn,borderBottomLeftRadius:kn,width:kn,maxWidth:kn,height:kn,maxHeight:kn,size:kn,top:kn,right:kn,bottom:kn,left:kn,padding:kn,paddingTop:kn,paddingRight:kn,paddingBottom:kn,paddingLeft:kn,margin:kn,marginTop:kn,marginRight:kn,marginBottom:kn,marginLeft:kn,rotate:xn,rotateX:xn,rotateY:xn,rotateZ:xn,scale:mn,scaleX:mn,scaleY:mn,scaleZ:mn,skew:xn,skewX:xn,skewY:xn,distance:kn,translateX:kn,translateY:kn,translateZ:kn,x:kn,y:kn,z:kn,perspective:kn,transformPerspective:kn,opacity:hn,originX:Pn,originY:Pn,originZ:kn,zIndex:En,fillOpacity:hn,strokeOpacity:hn,numOctaves:En};function Sn(e,t,n,r){const{style:o,vars:i,transform:s,transformOrigin:a}=e;let l=!1,c=!1,d=!0;for(const e in t){const n=t[e];if(an(e)){i[e]=n;continue}const r=Tn[e],u=cn(n,r);if(en.has(e)){if(l=!0,s[e]=u,!d)continue;n!==(r.default||0)&&(d=!1)}else e.startsWith("origin")?(c=!0,a[e]=u):o[e]=u}if(t.transform||(l||r?o.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let i="";for(let t=0;t<on;t++){const n=Qt[t];void 0!==e[n]&&(i+=`${rn[n]||n}(${e[n]}) `)}return t&&!e.z&&(i+="translateZ(0)"),i=i.trim(),o?i=o(e,r?"":i):n&&r&&(i="none"),i}(e.transform,n,d,r):o.transform&&(o.transform="none")),c){const{originX:e="50%",originY:t="50%",originZ:n=0}=a;o.transformOrigin=`${e} ${t} ${n}`}}const An=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Dn(e,t,n){for(const r in t)nn(t[r])||tn(r,n)||(e[r]=t[r])}function Mn(e,t,n){const r={};return Dn(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t,n){return p(()=>{const r={style:{},transform:{},transformOrigin:{},vars:{}};return Sn(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}(e,t,n)),e.transformValues?e.transformValues(r):r}function Vn(e,t,n){const r={},o=Mn(e,t,n);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const Ln=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 jn(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||Ln.has(e)}let Bn=e=>!jn(e);try{(Rn=require("@emotion/is-prop-valid").default)&&(Bn=e=>e.startsWith("on")?!jn(e):Rn(e))}catch(e){}var Rn;function Fn(e,t,n){return"string"==typeof e?e:kn.transform(t+n*e)}const In={offset:"stroke-dashoffset",array:"stroke-dasharray"},On={offset:"strokeDashoffset",array:"strokeDasharray"};function $n(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,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!==o||void 0!==i||p.transform)&&(p.transformOrigin=function(e,t,n){return`${Fn(t,e.x,e.width)} ${Fn(n,e.y,e.height)}`}(f,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(m.x=t),void 0!==n&&(m.y=n),void 0!==r&&(m.scale=r),void 0!==s&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?In:On;e[i.offset]=kn.transform(-r);const s=kn.transform(t),a=kn.transform(n);e[i.array]=`${s} ${a}`}(m,s,a,l,!1)}const zn=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),_n=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Un(e,t,n,r){const o=p(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return $n(n,t,{enableHardwareAcceleration:!1},_n(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Dn(t,e.style,e),o.style={...t,...o.style}}return o}function Wn(e=!1){return(t,n,r,{latestValues:o},i)=>{const s=(Zt(t)?Un:Vn)(n,o,i,t),a=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Bn(o)||!0===n&&jn(o)||!t&&!jn(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),l={...a,...s,ref:r},{children:c}=n,d=p(()=>nn(c)?c.get():c,[c]);return f(t,{...l,children:d})}}const Gn=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Hn(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const Yn=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 Xn(e,t,n,r){Hn(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(Yn.has(n)?n:Gn(n),t.attrs[n])}function qn(e,t){const{style:n}=e,r={};for(const o in n)(nn(n[o])||t.style&&nn(t.style[o])||tn(o,e))&&(r[o]=n[o]);return r}function Kn(e,t){const n=qn(e,t);for(const r in e)if(nn(e[r])||nn(t[r])){n[-1!==Qt.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return n}function Zn(e,t,n,r={},o={}){return"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==n?n:e.custom,r,o)),t}const Jn=e=>Array.isArray(e),Qn=e=>Jn(e)?e[e.length-1]||0:e;function er(e){const t=nn(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const tr=e=>(t,n)=>{const r=h(St),o=h(At),i=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const s={latestValues:nr(r,o,i,e),renderState:t()};return n&&(s.mount=e=>n(r,e,s)),s}(e,t,r,o);return n?i():function(e){const t=s(null);return null===t.current&&(t.current=e()),t.current}(i)};function nr(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=er(i[e]);let{initial:s,animate:a}=e;const l=It(e),c=Ot(e);t&&c&&!l&&!1!==e.inherit&&(void 0===s&&(s=t.initial),void 0===a&&(a=t.animate));let d=!!n&&!1===n.initial;d=d||!1===s;const u=d?a:s;if(u&&"boolean"!=typeof u&&!Bt(u)){(Array.isArray(u)?u:[u]).forEach(t=>{const n=Zn(e,t);if(!n)return;const{transitionEnd:r,transition:i,...s}=n;for(const e in s){let t=s[e];if(Array.isArray(t)){t=t[d?t.length-1:0]}null!==t&&(o[e]=t)}for(const e in r)o[e]=r[e]})}return o}const rr={useVisualState:tr({scrapeMotionValuesFromProps:Kn,createRenderState:zn,onMount:(e,t,{renderState:n,latestValues:r})=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}$n(n,r,{enableHardwareAcceleration:!1},_n(t.tagName),e.transformTemplate),Xn(t,n)}})},or={useVisualState:tr({scrapeMotionValuesFromProps:qn,createRenderState:An})};function ir(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const sr=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ar(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}function lr(e,t,n,r){return ir(e,t,(e=>t=>sr(t)&&e(t,ar(t)))(n),r)}const cr=(e,t)=>n=>t(e(n)),dr=(...e)=>e.reduce(cr);function ur(e){let t=null;return()=>{const n=()=>{t=null};return null===t&&(t=e,n)}}const hr=ur("dragHorizontal"),mr=ur("dragVertical");function pr(e){let t=!1;if("y"===e)t=mr();else if("x"===e)t=hr();else{const e=hr(),n=mr();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function fr(){const e=pr(!0);return!e||(e(),!1)}class gr{constructor(e){this.isMounted=!1,this.node=e}update(){}}const vr={delta:0,timestamp:0,isProcessing:!1};let yr=!0,br=!1;const xr=["read","update","preRender","render","postRender"],wr=xr.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,o=!1,i=!1;const s=new WeakSet,a={schedule:(e,i=!1,a=!1)=>{const l=a&&o,c=l?t:n;return i&&s.add(e),-1===c.indexOf(e)&&(c.push(e),l&&o&&(r=t.length)),e},cancel:e=>{const t=n.indexOf(e);-1!==t&&n.splice(t,1),s.delete(e)},process:l=>{if(o)i=!0;else{if(o=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let n=0;n<r;n++){const r=t[n];r(l),s.has(r)&&(a.schedule(r),e())}o=!1,i&&(i=!1,a.process(l))}}};return a}(()=>br=!0),e),{}),kr=e=>wr[e].process(vr),Nr=e=>{br=!1,vr.delta=yr?1e3/60:Math.max(Math.min(e-vr.timestamp,40),1),vr.timestamp=e,vr.isProcessing=!0,xr.forEach(kr),vr.isProcessing=!1,br&&(yr=!1,requestAnimationFrame(Nr))},Cr=xr.reduce((e,t)=>{const n=wr[t];return e[t]=(e,t=!1,r=!1)=>(br||(br=!0,yr=!0,vr.isProcessing||requestAnimationFrame(Nr)),n.schedule(e,t,r)),e},{});function Pr(e){xr.forEach(t=>wr[t].cancel(e))}function Er(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return lr(e.current,n,(n,o)=>{if("touch"===n.type||fr())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t),i[r]&&Cr.update(()=>i[r](n,o))},{passive:!e.getProps()[r]})}const Tr=(e,t)=>!!t&&(e===t||Tr(e,t.parentElement)),Sr=e=>e;function Ar(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ar(n))}const Dr=new WeakMap,Mr=new WeakMap,Vr=e=>{const t=Dr.get(e.target);t&&t(e)},Lr=e=>{e.forEach(Vr)};function jr(e,t,n){const r=function({root:e,...t}){const n=e||document;Mr.has(n)||Mr.set(n,{});const r=Mr.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Lr,{root:e,...t})),r[o]}(t);return Dr.set(e,n),r.observe(e),()=>{Dr.delete(e),r.unobserve(e)}}const Br={some:0,all:1};const Rr={inView:{Feature:class extends gr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Br[r]};return jr(this.node.current,i,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;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 gr{constructor(){super(...arguments),this.removeStartListeners=Sr,this.removeEndListeners=Sr,this.removeAccessibleListeners=Sr,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const n=this.node.getProps(),r=lr(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r}=this.node.getProps();Cr.update(()=>{Tr(this.node.current,e.target)?n&&n(e,t):r&&r(e,t)})},{passive:!(n.onTap||n.onPointerUp)}),o=lr(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=dr(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=ir(this.node.current,"keydown",e=>{if("Enter"!==e.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=ir(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&Ar("up",(e,t)=>{const{onTap:n}=this.node.getProps();n&&Cr.update(()=>n(e,t))})}),Ar("down",(e,t)=>{this.startPress(e,t)})}),t=ir(this.node.current,"blur",()=>{this.isPressing&&Ar("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=dr(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Cr.update(()=>n(e,t))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!fr()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Cr.update(()=>n(e,t))}mount(){const e=this.node.getProps(),t=lr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ir(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=dr(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends gr{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=dr(ir(this.node.current,"focus",()=>this.onFocus()),ir(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends gr{mount(){this.unmount=dr(Er(this.node,!0),Er(this.node,!1))}unmount(){}}}};function Fr(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ir(e,t,n){const r=e.getProps();return Zn(r,t,void 0!==n?n:r.custom,function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.get()),t}(e),function(e){const t={};return e.values.forEach((e,n)=>t[n]=e.getVelocity()),t}(e))}const Or="data-"+Gn("framerAppearId");let $r=Sr,zr=Sr;"production"!==process.env.NODE_ENV&&($r=(e,t)=>{e||"undefined"==typeof console||console.warn(t)},zr=(e,t)=>{if(!e)throw new Error(t)});const _r=e=>1e3*e,Ur=e=>e/1e3,Wr=!1,Gr=e=>Array.isArray(e)&&"number"==typeof e[0];function Hr(e){return Boolean(!e||"string"==typeof e&&Xr[e]||Gr(e)||Array.isArray(e)&&e.every(Hr))}const Yr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Xr={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Yr([0,.65,.55,1]),circOut:Yr([.55,0,1,.45]),backIn:Yr([.31,.01,.66,-.59]),backOut:Yr([.33,1.53,.69,.99])};function qr(e){if(e)return Gr(e)?Yr(e):Array.isArray(e)?e.map(qr):Xr[e]}const Kr={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},Zr={},Jr={};for(const e in Kr)Jr[e]=()=>(void 0===Zr[e]&&(Zr[e]=Kr[e]()),Zr[e]);const Qr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function eo(e,t,n,r){if(e===t&&n===r)return Sr;const o=t=>function(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=Qr(s,r,o)-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:Qr(o(e),t,r)}const to=eo(.42,0,1,1),no=eo(0,0,.58,1),ro=eo(.42,0,.58,1),oo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,io=e=>t=>1-e(1-t),so=e=>1-Math.sin(Math.acos(e)),ao=io(so),lo=oo(ao),co=eo(.33,1.53,.69,.99),uo=io(co),ho=oo(uo),mo={linear:Sr,easeIn:to,easeInOut:ro,easeOut:no,circIn:so,circInOut:lo,circOut:ao,backIn:uo,backInOut:ho,backOut:co,anticipate:e=>(e*=2)<1?.5*uo(e):.5*(2-Math.pow(2,-10*(e-1)))},po=e=>{if(Array.isArray(e)){zr(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return eo(t,n,r,o)}return"string"==typeof e?(zr(void 0!==mo[e],`Invalid easing type '${e}'`),mo[e]):e},fo=(e,t)=>n=>Boolean(yn(n)&&vn.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),go=(e,t,n)=>r=>{if(!yn(r))return r;const[o,i,s,a]=r.match(fn);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},vo={...un,transform:e=>Math.round((e=>dn(0,255,e))(e))},yo={test:fo("rgb","red"),parse:go("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+vo.transform(e)+", "+vo.transform(t)+", "+vo.transform(n)+", "+pn(hn.transform(r))+")"};const bo={test:fo("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:yo.transform},xo={test:fo("hsl","hue"),parse:go("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+wn.transform(pn(t))+", "+wn.transform(pn(n))+", "+pn(hn.transform(r))+")"},wo={test:e=>yo.test(e)||bo.test(e)||xo.test(e),parse:e=>yo.test(e)?yo.parse(e):xo.test(e)?xo.parse(e):bo.parse(e),transform:e=>yn(e)?e:e.hasOwnProperty("red")?yo.transform(e):xo.transform(e)},ko=(e,t,n)=>-n*e+n*t+e;function No(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 Co=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},Po=[bo,yo,xo];function Eo(e){const t=(n=e,Po.find(e=>e.test(n)));var n;zr(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===xo&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;o=No(a,r,e+1/3),i=No(a,r,e),s=No(a,r,e-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(r)),r}const To=(e,t)=>{const n=Eo(e),r=Eo(t),o={...n};return e=>(o.red=Co(n.red,r.red,e),o.green=Co(n.green,r.green,e),o.blue=Co(n.blue,r.blue,e),o.alpha=ko(n.alpha,r.alpha,e),yo.transform(o))};const So={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:Sr},Ao={regex:gn,countKey:"Colors",token:"${c}",parse:wo.parse},Do={regex:fn,countKey:"Numbers",token:"${n}",parse:un.parse};function Mo(e,{regex:t,countKey:n,token:r,parse:o}){const i=e.tokenised.match(t);i&&(e["num"+n]=i.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...i.map(o)))}function Vo(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Mo(n,So),Mo(n,Ao),Mo(n,Do),n}function Lo(e){return Vo(e).values}function jo(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Vo(e),i=t.length;return e=>{let t=o;for(let o=0;o<i;o++)t=o<r?t.replace(So.token,e[o]):o<r+n?t.replace(Ao.token,wo.transform(e[o])):t.replace(Do.token,pn(e[o]));return t}}const Bo=e=>"number"==typeof e?0:e;const Ro={test:function(e){var t,n;return isNaN(e)&&yn(e)&&((null===(t=e.match(fn))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(gn))||void 0===n?void 0:n.length)||0)>0},parse:Lo,createTransformer:jo,getAnimatableNone:function(e){const t=Lo(e);return jo(e)(t.map(Bo))}},Fo=(e,t)=>n=>`${n>0?t:e}`;function Io(e,t){return"number"==typeof e?n=>ko(e,t,n):wo.test(e)?To(e,t):e.startsWith("var(")?Fo(e,t):zo(e,t)}const Oo=(e,t)=>{const n=[...e],r=n.length,o=e.map((e,n)=>Io(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}},$o=(e,t)=>{const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=Io(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}},zo=(e,t)=>{const n=Ro.createTransformer(t),r=Vo(e),o=Vo(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?dr(Oo(r.values,o.values),n):($r(!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.`),Fo(e,t))},_o=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},Uo=(e,t)=>n=>ko(e,t,n);function Wo(e,t,n){const r=[],o=n||("number"==typeof(i=e[0])?Uo:"string"==typeof i?wo.test(i)?To:zo:Array.isArray(i)?Oo:"object"==typeof i?$o:Uo);var i;const s=e.length-1;for(let n=0;n<s;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Sr:t;i=dr(e,i)}r.push(i)}return r}function Go(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(zr(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=Wo(t,r,o),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=_o(e[n],e[n+1],t);return s[n](r)};return n?t=>l(dn(e[0],e[i-1],t)):l}function Ho(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=_o(0,t,r);e.push(ko(n,1,o))}}(t,e.length-1),t}function Yo({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(po):po(r),i={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Ho(t),e),a=Go(s,t,{ease:Array.isArray(o)?o:(l=t,c=o,l.map(()=>c||ro).splice(0,l.length-1))});var l,c;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}function Xo(e,t){return t?e*(1e3/t):0}function qo(e,t,n){const r=Math.max(t-5,0);return Xo(n-e(r),t-r)}const Ko=.001;function Zo({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;$r(e<=_r(10),"Spring duration must be 10 seconds or less");let s=1-t;s=dn(.05,1,s),e=dn(.01,10,Ur(e)),s<1?(o=t=>{const r=t*s,o=r*e,i=r-n,a=Qo(t,s),l=Math.exp(-o);return Ko-i/a*l},i=t=>{const r=t*s*e,i=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Qo(Math.pow(t,2),s);return(-o(t)+Ko>0?-1:1)*((i-a)*l)/c}):(o=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 r=n;for(let n=1;n<Jo;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=_r(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}const Jo=12;function Qo(e,t){return e*Math.sqrt(1-t*t)}const ei=["duration","bounce"],ti=["stiffness","damping","mass"];function ni(e,t){return t.some(t=>void 0!==e[t])}function ri({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{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(!ni(e,ti)&&ni(e,ei)){const n=Zo(e);t={...t,...n,velocity:0,mass:1},t.isResolvedFromDuration=!0}return t}(r),m=d?-Ur(d):0,p=l/(2*Math.sqrt(a*c)),f=i-o,g=Ur(Math.sqrt(a/c)),v=Math.abs(f)<5;let y;if(n||(n=v?.01:2),t||(t=v?.005:.5),p<1){const e=Qo(g,p);y=t=>{const n=Math.exp(-p*g*t);return i-n*((m+p*g*f)/e*Math.sin(e*t)+f*Math.cos(e*t))}}else if(1===p)y=e=>i-Math.exp(-g*e)*(f+(m+g*f)*e);else{const e=g*Math.sqrt(p*p-1);y=t=>{const n=Math.exp(-p*g*t),r=Math.min(e*t,300);return i-n*((m+p*g*f)*Math.sinh(r)+e*f*Math.cosh(r))/e}}return{calculatedDuration:h&&u||null,next:e=>{const r=y(e);if(h)s.done=e>=u;else{let o=m;0!==e&&(o=p<1?qo(y,e,r):0);const a=Math.abs(o)<=n,l=Math.abs(i-r)<=t;s.done=a&&l}return s.value=s.done?i:r,s}}}function oi({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,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===s?f:s(f);g!==f&&(p=g-u);const v=e=>-p*Math.exp(-e/r),y=e=>g+v(e),b=e=>{const t=v(e),n=y(e);h.done=Math.abs(t)<=c,h.value=h.done?g:n};let x,w;const k=e=>{var t;(t=h.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(x=e,w=ri({keyframes:[h.value,m(h.value)],velocity:qo(y,e,h.value),damping:o,stiffness:i,restDelta:c,restSpeed:d}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),k(e)),void 0!==x&&e>x?w.next(e-x):(!t&&b(e),h)}}}const ii=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Cr.update(t,!0),stop:()=>Pr(t),now:()=>vr.isProcessing?vr.timestamp:performance.now()}};function si(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 ai={decay:oi,inertia:oi,tween:Yo,keyframes:Yo,spring:ri};function li({autoplay:e=!0,delay:t=0,driver:n=ii,keyframes:r,type:o="keyframes",repeat:i=0,repeatDelay:s=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 y;v();const b=ai[o]||Yo;let x;b!==Yo&&"number"!=typeof r[0]&&(x=Go([0,100],r,{clamp:!1}),r=[0,100]);const w=b({...h,keyframes:r});let k;"mirror"===a&&(k=b({...h,keyframes:[...r].reverse(),velocity:-(h.velocity||0)}));let N="idle",C=null,P=null,E=null;null===w.calculatedDuration&&i&&(w.calculatedDuration=si(w));const{calculatedDuration:T}=w;let S=1/0,A=1/0;null!==T&&(S=T+s,A=S*(i+1)-s);let D=0;const M=e=>{if(null===P)return;f>0&&(P=Math.min(P,e)),D=null!==C?C:(e-P)*f;const n=D-t,o=n<0;D=Math.max(n,0),"finished"===N&&null===C&&(D=A);let l=D,c=w;if(i){const e=D/S;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,i+1);const r=Boolean(t%2);r&&("reverse"===a?(n=1-n,s&&(n-=s/S)):"mirror"===a&&(c=k));let o=dn(0,1,n);D>A&&(o="reverse"===a&&r?1:0),l=o*S}const d=o?{done:!1,value:r[0]}:c.next(l);x&&(d.value=x(d.value));let{done:h}=d;o||null===T||(h=D>=A);const m=null===C&&("finished"===N||"running"===N&&h||f<0&&D<=0);return u&&u(d.value),m&&j(),d},V=()=>{y&&y.stop(),y=void 0},L=()=>{N="idle",V(),v(),P=E=null},j=()=>{N="finished",d&&d(),V(),v()},B=()=>{if(g)return;y||(y=n(M));const e=y.now();l&&l(),null!==C?P=e-C:P&&"finished"!==N||(P=e),E=P,C=null,N="running",y.start()};e&&B();const R={then:(e,t)=>p.then(e,t),get time(){return Ur(D)},set time(e){e=_r(e),D=e,null===C&&y&&0!==f?P=y.now()-e/f:C=e},get duration(){const e=null===w.calculatedDuration?si(w):w.calculatedDuration;return Ur(e)},get speed(){return f},set speed(e){e!==f&&y&&(f=e,R.time=Ur(D))},get state(){return N},play:B,pause:()=>{N="paused",C=D},stop:()=>{g=!0,"idle"!==N&&(N="idle",c&&c(),L())},cancel:()=>{null!==E&&M(E),L()},complete:()=>{N="finished"},sample:e=>(P=0,M(e))};return R}const ci=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function di(e,t,{onUpdate:n,onComplete:r,...o}){if(!(Jr.waapi()&&ci.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let i,s,a=!1;const l=()=>{s=new Promise(e=>{i=e})};l();let{keyframes:c,duration:d=300,ease:u,times:h}=o;if(((e,t)=>"spring"===t.type||"backgroundColor"===e||!Hr(t.ease))(t,o)){const e=li({...o,repeat:0,delay:0});let t={done:!1,value:c[0]};const n=[];let r=0;for(;!t.done&&r<2e4;)t=e.sample(r),n.push(t.value),r+=10;h=void 0,c=n,d=r-10,u="linear"}const m=function(e,t,n,{delay:r=0,duration:o,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const c={[t]:n};l&&(c.offset=l);const d=qr(a);return Array.isArray(d)&&(c.easing=d),e.animate(c,{delay:r,duration:o,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(e.owner.current,t,c,{...o,duration:d,ease:u,times:h}),p=()=>m.cancel(),f=()=>{Cr.update(p),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,o)),r&&r(),f()},{then:(e,t)=>s.then(e,t),get time(){return Ur(m.currentTime||0)},set time(e){m.currentTime=_r(e)},get speed(){return m.playbackRate},set speed(e){m.playbackRate=e},get duration(){return Ur(d)},play:()=>{a||(m.play(),Pr(p))},pause:()=>m.pause(),stop:()=>{if(a=!0,"idle"===m.playState)return;const{currentTime:t}=m;if(t){const n=li({...o,autoplay:!1});e.setWithVelocity(n.sample(t-10).value,n.sample(t).value,10)}f()},complete:()=>m.finish(),cancel:f}}const ui={type:"spring",stiffness:500,damping:25,restSpeed:10},hi={type:"keyframes",duration:.8},mi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},pi=(e,{keyframes:t})=>t.length>2?hi:en.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ui:mi,fi=(e,t)=>"zIndex"!==e&&(!("number"!=typeof t&&!Array.isArray(t))||!("string"!=typeof t||!Ro.test(t)&&"0"!==t||t.startsWith("url("))),gi=new Set(["brightness","contrast","saturate","opacity"]);function vi(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(fn)||[];if(!r)return e;const o=n.replace(r,"");let i=gi.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const yi=/([a-z-]*)\(.*?\)/g,bi={...Ro,getAnimatableNone:e=>{const t=e.match(yi);return t?t.map(vi).join(" "):e}},xi={...Tn,color:wo,backgroundColor:wo,outlineColor:wo,fill:wo,stroke:wo,borderColor:wo,borderTopColor:wo,borderRightColor:wo,borderBottomColor:wo,borderLeftColor:wo,filter:bi,WebkitFilter:bi},wi=e=>xi[e];function ki(e,t){let n=wi(e);return n!==bi&&(n=Ro),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Ni=e=>/^0[^.\s]+$/.test(e);function Ci(e){return"number"==typeof e?0===e:null!==e?"none"===e||"0"===e||Ni(e):void 0}function Pi(e,t){return e[t]||e.default||e}const Ei=(e,t,n,r={})=>o=>{const i=Pi(r,e)||{},s=i.delay||r.delay||0;let{elapsed:a=0}=r;a-=_r(s);const l=function(e,t,n,r){const o=fi(t,n);let i;i=Array.isArray(n)?[...n]:[null,n];const s=void 0!==r.from?r.from:e.get();let a;const l=[];for(let e=0;e<i.length;e++)null===i[e]&&(i[e]=0===e?s:i[e-1]),Ci(i[e])&&l.push(e),"string"==typeof i[e]&&"none"!==i[e]&&"0"!==i[e]&&(a=i[e]);if(o&&l.length&&a)for(let e=0;e<l.length;e++)i[l[e]]=ki(t,a);return i}(t,e,n,i),c=l[0],d=l[l.length-1],u=fi(e,c),h=fi(e,d);$r(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",...i,delay:-a,onUpdate:e=>{t.set(e),i.onUpdate&&i.onUpdate(e)},onComplete:()=>{o(),i.onComplete&&i.onComplete()}};if(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:c,...d}){return!!Object.keys(d).length}(i)||(m={...m,...pi(e,m)}),m.duration&&(m.duration=_r(m.duration)),m.repeatDelay&&(m.repeatDelay=_r(m.repeatDelay)),!u||!h||Wr||!1===i.type)return function({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Sr,pause:Sr,stop:Sr,then:e=>(e(),Promise.resolve()),cancel:Sr,complete:Sr});return t?li({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}(m);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const n=di(t,e,m);if(n)return n}return li(m)};function Ti(e){return Boolean(nn(e)&&e.add)}const Si=e=>/^\-?\d*\.?\d+$/.test(e);function Ai(e,t){-1===e.indexOf(t)&&e.push(t)}function Di(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Mi{constructor(){this.subscriptions=[]}add(e){return Ai(this.subscriptions,e),()=>Di(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Vi=new Set;function Li(e,t,n){e||Vi.has(t)||(console.warn(t),Vi.add(t))}class ji{constructor(e,t={}){var n;this.version="10.12.16",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;const{delta:n,timestamp:r}=vr;this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r,Cr.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=()=>Cr.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&&Li(!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 Mi);const n=this.events[e].add(t);return"change"===e?()=>{n(),Cr.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?Xo(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 Bi(e,t){return new ji(e,t)}const Ri=e=>t=>t.test(e),Fi=[un,kn,wn,xn,Cn,Nn,{test:e=>"auto"===e,parse:e=>e}],Ii=e=>Fi.find(Ri(e)),Oi=[...Fi,wo,Ro],$i=e=>Oi.find(Ri(e));function zi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Bi(n))}function _i(e,t){if(!t)return;return(t[e]||t.default||t).from}function Ui({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Wi(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:i=e.getDefaultTransition(),transitionEnd:s,...a}=e.makeTargetAnimatable(t);const l=e.getValue("willChange");r&&(i=r);const c=[],d=o&&e.animationState&&e.animationState.getState()[o];for(const t in a){const r=e.getValue(t),o=a[t];if(!r||void 0===o||d&&Ui(d,t))continue;const s={delay:n,elapsed:0,...i};if(window.HandoffAppearAnimations&&!r.hasAnimated){const n=e.getProps()[Or];n&&(s.elapsed=window.HandoffAppearAnimations(n,t,r,Cr))}r.start(Ei(t,r,o,e.shouldReduceMotion&&en.has(t)?{type:!1}:s));const u=r.animation;Ti(l)&&(l.add(t),u.then(()=>l.remove(t))),c.push(u)}return s&&Promise.all(c).then(()=>{s&&function(e,t){const n=Ir(e,t);let{transitionEnd:r={},transition:o={},...i}=n?e.makeTargetAnimatable(n,!1):{};i={...i,...r};for(const t in i)zi(e,t,Qn(i[t]))}(e,s)}),c}function Gi(e,t,n={}){const r=Ir(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const i=r?()=>Promise.all(Wi(e,r,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:i=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(Hi).forEach((e,r)=>{e.notify("AnimationStart",t),s.push(Gi(e,t,{...i,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,i+r,s,a,n)}:()=>Promise.resolve(),{when:a}=o;if(a){const[e,t]="beforeChildren"===a?[i,s]:[s,i];return e().then(()=>t())}return Promise.all([i(),s(n.delay)])}function Hi(e,t){return e.sortNodePosition(t)}const Yi=[...Rt].reverse(),Xi=Rt.length;function qi(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map(t=>Gi(e,t,n));r=Promise.all(o)}else if("string"==typeof t)r=Gi(e,t,n);else{const o="function"==typeof t?Ir(e,t,n.custom):t;r=Promise.all(Wi(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}(e,t,n)))}function Ki(e){let t=qi(e);const n={animate:Ji(!0),whileInView:Ji(),whileHover:Ji(),whileTap:Ji(),whileDrag:Ji(),whileFocus:Ji(),exit:Ji()};let r=!0;const o=(t,n)=>{const r=Ir(e,n);if(r){const{transition:e,transitionEnd:n,...o}=r;t={...t,...o,...n}}return t};function i(i,s){const a=e.getProps(),l=e.getVariantContext(!0)||{},c=[],d=new Set;let u={},h=1/0;for(let t=0;t<Xi;t++){const m=Yi[t],p=n[m],f=void 0!==a[m]?a[m]:l[m],g=jt(f),v=m===s?p.isActive:null;!1===v&&(h=t);let y=f===l[m]&&f!==a[m]&&g;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),p.protectedKeys={...u},!p.isActive&&null===v||!f&&!p.prevProp||Bt(f)||"boolean"==typeof f)continue;const b=Zi(p.prevProp,f);let x=b||m===s&&p.isActive&&!y&&g||t>h&&g;const w=Array.isArray(f)?f:[f];let k=w.reduce(o,{});!1===v&&(k={});const{prevResolvedValues:N={}}=p,C={...N,...k},P=e=>{x=!0,d.delete(e),p.needsAnimating[e]=!0};for(const e in C){const t=k[e],n=N[e];u.hasOwnProperty(e)||(t!==n?Jn(t)&&Jn(n)?!Fr(t,n)||b?P(e):p.protectedKeys[e]=!0:void 0!==t?P(e):d.add(e):void 0!==t&&d.has(e)?P(e):p.protectedKeys[e]=!0)}p.prevProp=f,p.prevResolvedValues=k,p.isActive&&(u={...u,...k}),r&&e.blockInitialAnimation&&(x=!1),x&&!y&&c.push(...w.map(e=>({animation:e,options:{type:m,...i}})))}if(d.size){const t={};d.forEach(n=>{const r=e.getBaseTarget(n);void 0!==r&&(t[n]=r)}),c.push({animation:t})}let m=Boolean(c.length);return r&&!1===a.initial&&!e.manuallyAnimateOnMount&&(m=!1),r=!1,m?t(c):Promise.resolve()}return{animateChanges:i,setActive:function(t,r,o){var s;if(n[t].isActive===r)return Promise.resolve();null===(s=e.variantChildren)||void 0===s||s.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;const a=i(o,t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n}}function Zi(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!Fr(t,e)}function Ji(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Qi=0;const es={animation:{Feature:class extends gr{constructor(e){super(e),e.animationState||(e.animationState=Ki(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Bt(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 gr{constructor(){super(...arguments),this.id=Qi++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;const o=this.node.animationState.setActive("exit",!e,{custom:null!=n?n:this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},ts=(e,t)=>Math.abs(e-t);class ns{constructor(e,t,{transformPagePoint:n}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=is(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=ts(e.x,t.x),r=ts(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=vr;this.history.push({...r,timestamp:o});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=rs(t,this.transformPagePoint),Cr.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:n,onSessionEnd:r}=this.handlers,o=is("pointercancel"===e.type?this.lastMoveEventInfo:rs(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!sr(e))return;this.handlers=t,this.transformPagePoint=n;const r=rs(ar(e),this.transformPagePoint),{point:o}=r,{timestamp:i}=vr;this.history=[{...o,timestamp:i}];const{onSessionStart:s}=t;s&&s(e,is(r,this.history)),this.removeListeners=dr(lr(window,"pointermove",this.handlePointerMove),lr(window,"pointerup",this.handlePointerUp),lr(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Pr(this.updatePoint)}}function rs(e,t){return t?{point:t(e.point)}:e}function os(e,t){return{x:e.x-t.x,y:e.y-t.y}}function is({point:e},t){return{point:e,delta:os(e,as(t)),offset:os(e,ss(t)),velocity:ls(t,.1)}}function ss(e){return e[0]}function as(e){return e[e.length-1]}function ls(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=as(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>_r(t)));)n--;if(!r)return{x:0,y:0};const i=Ur(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function cs(e){return e.max-e.min}function ds(e,t=0,n=.01){return Math.abs(e-t)<=n}function us(e,t,n,r=.5){e.origin=r,e.originPoint=ko(t.min,t.max,e.origin),e.scale=cs(n)/cs(t),(ds(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=ko(n.min,n.max,e.origin)-e.originPoint,(ds(e.translate)||isNaN(e.translate))&&(e.translate=0)}function hs(e,t,n,r){us(e.x,t.x,n.x,r?r.originX:void 0),us(e.y,t.y,n.y,r?r.originY:void 0)}function ms(e,t,n){e.min=n.min+t.min,e.max=e.min+cs(t)}function ps(e,t,n){e.min=t.min-n.min,e.max=e.min+cs(t)}function fs(e,t,n){ps(e.x,t.x,n.x),ps(e.y,t.y,n.y)}function gs(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 vs(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const ys=.35;function bs(e,t,n){return{min:xs(e,t),max:xs(e,n)}}function xs(e,t){return"number"==typeof e?e:e[t]||0}const ws=()=>({x:{min:0,max:0},y:{min:0,max:0}});function ks(e){return[e("x"),e("y")]}function Ns({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Cs(e){return void 0===e||1===e}function Ps({scale:e,scaleX:t,scaleY:n}){return!Cs(e)||!Cs(t)||!Cs(n)}function Es(e){return Ps(e)||Ts(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Ts(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 Ds(e,t,n,r,o){return void 0!==o&&(e=As(e,o,r)),As(e,n,r)+t}function Ms(e,t=0,n=1,r,o){e.min=Ds(e.min,t,n,r,o),e.max=Ds(e.max,t,n,r,o)}function Vs(e,{x:t,y:n}){Ms(e.x,t.translate,t.scale,t.originPoint),Ms(e.y,n.translate,n.scale,n.originPoint)}function Ls(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function js(e,t){e.min=e.min+t,e.max=e.max+t}function Bs(e,t,[n,r,o]){const i=void 0!==t[o]?t[o]:.5,s=ko(e.min,e.max,i);Ms(e,t[n],t[r],s,t.scale)}const Rs=["x","scaleX","originX"],Fs=["y","scaleY","originY"];function Is(e,t){Bs(e.x,t,Rs),Bs(e.y,t,Fs)}function Os(e,t){return Ns(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const $s=new WeakMap;class zs{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;this.panSession=new ns(e,{onSessionStart:e=>{this.stopAnimation(),t&&this.snapToCursor(ar(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=pr(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),ks(e=>{let t=this.getAxisMotionValue(e).get()||0;if(wn.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=cs(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),o&&Cr.update(()=>o(e,t),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&o&&o(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:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&Cr.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!_s(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?ko(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?ko(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:n}=this.visualElement.projection||{},r=this.constraints;e&&Lt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!n)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:gs(e.x,n,o),y:gs(e.y,t,r)}}(n.layoutBox,e),this.elastic=function(e=ys){return!1===e?e=0:!0===e&&(e=ys),{x:bs(e,"left","right"),y:bs(e,"top","bottom")}}(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&ks(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||!Lt(e))return!1;const n=e.current;zr(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=Os(e,n),{scroll:o}=t;return o&&(js(r.x,o.offset.x),js(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:vs(e.x,t.x),y:vs(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Ns(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=ks(s=>{if(!_s(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const c=r?200:1e6,d=r?40:1e7,u={type:"inertia",velocity:n?e[s]:0,bounceStiffness:c,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,u)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Ei(e,n,0,t))}stopAnimation(){ks(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),n=this.visualElement.getProps(),r=n[t];return r||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){ks(t=>{const{drag:n}=this.getProps();if(!_s(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-ko(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Lt(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};ks(e=>{const t=this.getAxisMotionValue(e);if(t){const n=t.get();r[e]=function(e,t){let n=.5;const r=cs(e),o=cs(t);return o>r?n=_o(t.min,t.max-r,e.min):r>o&&(n=_o(e.min,e.max-o,t.min)),dn(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),ks(t=>{if(!_s(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(ko(o,i,r[t]))})}addListeners(){if(!this.visualElement.current)return;$s.set(this.visualElement,this);const e=lr(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();Lt(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),t();const o=ir(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ks(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=ys,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function _s(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Us=e=>(t,n)=>{e&&Cr.update(()=>e(t,n))};const Ws={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Gs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Hs={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!kn.test(e))return e;e=parseFloat(e)}return`${Gs(e,t.target.x)}% ${Gs(e,t.target.y)}%`}},Ys={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ro.parse(e);if(o.length>5)return r;const i=Ro.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const c=ko(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=c),"number"==typeof o[3+s]&&(o[3+s]/=c),i(o)}};class Xs extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=Ks,Object.assign(Jt,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),Ws.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||Cr.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:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function qs(e){const[t,n]=function(){const e=h(At);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=g();return l(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}(),r=h(Wt);return o.createElement(Xs,{...e,layoutGroup:r,switchLayoutGroup:h(Gt),isPresent:t,safeToRemove:n})}const Ks={borderRadius:{...Hs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Hs,borderTopRightRadius:Hs,borderBottomLeftRadius:Hs,borderBottomRightRadius:Hs,boxShadow:Ys},Zs=["TopLeft","TopRight","BottomLeft","BottomRight"],Js=Zs.length,Qs=e=>"string"==typeof e?parseFloat(e):e,ea=e=>"number"==typeof e||kn.test(e);function ta(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const na=oa(0,.5,ao),ra=oa(.5,.95,Sr);function oa(e,t,n){return r=>r<e?0:r>t?1:n(_o(e,t,r))}function ia(e,t){e.min=t.min,e.max=t.max}function sa(e,t){ia(e.x,t.x),ia(e.y,t.y)}function aa(e,t,n,r,o){return e=As(e-=t,1/n,r),void 0!==o&&(e=As(e,1/o,r)),e}function la(e,t,[n,r,o],i,s){!function(e,t=0,n=1,r=.5,o,i=e,s=e){wn.test(t)&&(t=parseFloat(t),t=ko(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=ko(i.min,i.max,r);e===i&&(a-=t),e.min=aa(e.min,t,n,a,o),e.max=aa(e.max,t,n,a,o)}(e,t[n],t[r],t[o],t.scale,i,s)}const ca=["x","scaleX","originX"],da=["y","scaleY","originY"];function ua(e,t,n,r){la(e.x,t,ca,n?n.x:void 0,r?r.x:void 0),la(e.y,t,da,n?n.y:void 0,r?r.y:void 0)}function ha(e){return 0===e.translate&&1===e.scale}function ma(e){return ha(e.x)&&ha(e.y)}function pa(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 fa(e){return cs(e.x)/cs(e.y)}class ga{constructor(){this.members=[]}add(e){Ai(this.members,e),e.scheduleRender()}remove(e){if(Di(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function va(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y;if((o||i)&&(r=`translate3d(${o}px, ${i}px, 0) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:e,rotateX:t,rotateY:o}=n;e&&(r+=`rotate(${e}deg) `),t&&(r+=`rotateX(${t}deg) `),o&&(r+=`rotateY(${o}deg) `)}const s=e.x.scale*t.x,a=e.y.scale*t.y;return 1===s&&1===a||(r+=`scale(${s}, ${a})`),r||"none"}const ya=(e,t)=>e.depth-t.depth;class ba{constructor(){this.children=[],this.isDirty=!1}add(e){Ai(this.children,e),this.isDirty=!0}remove(e){Di(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ya),this.isDirty=!1,this.children.forEach(e)}}const xa=["","X","Y","Z"];let wa=0;const ka={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Na({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=wa++,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;ka.totalNodes=ka.resolvedTargetDeltas=ka.recalculatedProjection=0,this.nodes.forEach(Ea),this.nodes.forEach(La),this.nodes.forEach(ja),this.nodes.forEach(Ta),e=ka,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 ba)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Mi),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,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||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=performance.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(Pr(r),e(i-t))};return Cr.read(r,!0),()=>Pr(r)}(r,250),Ws.hasAnimatedSinceResize&&(Ws.hasAnimatedSinceResize=!1,this.nodes.forEach(Va))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||$a,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!pa(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Pi(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Va(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Pr(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(Ba),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Aa);this.isUpdating||this.nodes.forEach(Da),this.isUpdating=!1,this.nodes.forEach(Ma),this.nodes.forEach(Ca),this.nodes.forEach(Pa),this.clearAllSnapshots();const e=performance.now();vr.delta=dn(0,1e3/60,e-vr.timestamp),vr.timestamp=e,vr.isProcessing=!0,wr.update.process(vr),wr.preRender.process(vr),wr.render.process(vr),vr.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(Sa),this.sharedNodes.forEach(Ra)}scheduleUpdateProjection(){Cr.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){Cr.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++){this.path[e].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!ma(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||Es(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),za((r=n).x),za(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:e}=this.options;if(!e)return{x:{min:0,max:0},y:{min:0,max:0}};const t=e.measureViewportBox(),{scroll:n}=this.root;return n&&(js(t.x,n.offset.x),js(t.y,n.offset.y)),t}removeElementScroll(e){const t={x:{min:0,max:0},y:{min:0,max:0}};sa(t,e);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){sa(t,e);const{scroll:n}=this.root;n&&(js(t.x,-n.offset.x),js(t.y,-n.offset.y))}js(t.x,o.offset.x),js(t.y,o.offset.y)}}return t}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};sa(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Is(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Es(r.latestValues)&&Is(n,r.latestValues)}return Es(this.latestValues)&&Is(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};sa(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!Es(n.latestValues))continue;Ps(n.latestValues)&&n.updateSnapshot();const r=ws();sa(r,n.measurePageBox()),ua(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Es(this.latestValues)&&ua(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!==vr.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=vr.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}},fs(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),sa(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,ms(s.x,a.x,l.x),ms(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):sa(this.target,this.layout.layoutBox),Vs(this.target,this.targetDelta)):sa(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}},fs(this.relativeTargetOrigin,this.target,e.target),sa(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ka.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ps(this.parent.latestValues)&&!Ts(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===vr.timestamp&&(r=!1),r)return;const{layout:o,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||!o&&!i)return;sa(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,s;t.x=t.y=1;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Is(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Vs(e,s)),r&&Es(i.latestValues)&&Is(e,i.latestValues))}t.x=Ls(t.x),t.y=Ls(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;hs(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=va(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===s&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ka.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...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,d=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Oa));let u;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h,m,p;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&&(fs(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),l=this.relativeTarget,h=this.relativeTargetOrigin,m=s,p=n,Ia(l.x,h.x,m.x,p),Ia(l.y,h.y,m.y,p),u&&pa(this.relativeTarget,u)&&(this.isProjectionDirty=!1),u||(u={x:{min:0,max:0},y:{min:0,max:0}}),sa(u,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=ko(0,void 0!==n.opacity?n.opacity:1,na(r)),e.opacityExit=ko(void 0!==t.opacity?t.opacity:1,0,ra(r))):i&&(e.opacity=ko(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Js;o++){const i=`border${Zs[o]}Radius`;let s=ta(t,i),a=ta(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||ea(s)===ea(a)?(e[i]=Math.max(ko(Qs(s),Qs(a),r),0),(wn.test(a)||wn.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=ko(t.rotate||0,n.rotate||0,r))}(o,r,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&&(Pr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Cr.update(()=>{Ws.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=nn(e)?e:Bi(e);return r.start(Ei("",r,t,n)),r.animation}(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&_a(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=cs(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=cs(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}sa(t,n),Is(t,o),hs(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new ga);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(t=!0),!t)return;const r={};for(let t=0;t<xa.length;t++){const o="rotate"+xa[t];n[o]&&(r[o]=n[o],e.setStaticValue(o,0))}e.render();for(const t in r)e.setStaticValue(t,r[t]);e.scheduleRender()}getProjectionStyles(e={}){var t,n;const r={};if(!this.instance||this.isSVG)return r;if(!this.isVisible)return{visibility:"hidden"};r.visibility="";const o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=er(e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;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=er(e.pointerEvents)||""),this.hasProjected&&!Es(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=va(this.projectionDeltaWithTransform,this.treeScale,s),o&&(r.transform=o(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?r.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:r.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Jt){if(void 0===s[e])continue;const{correct:t,applyTo:n}=Jt[e],o="none"===r.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?er(e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Aa),this.root.sharedNodes.clear()}}}function Ca(e){e.updateLayout()}function Pa(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?ks(e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=cs(r);r.min=t[e].min,r.max=r.min+o}):_a(o,n.layoutBox,t)&&ks(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=cs(t[r]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};hs(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?hs(a,e.applyTransform(r,!0),n.measuredBox):hs(a,t,n.layoutBox);const l=!ma(s);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};fs(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};fs(a,t,i.layoutBox),pa(s,a)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ea(e){ka.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 Ta(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Sa(e){e.clearSnapshot()}function Aa(e){e.clearMeasurements()}function Da(e){e.isLayoutDirty=!1}function Ma(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Va(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function La(e){e.resolveTargetDelta()}function ja(e){e.calcProjection()}function Ba(e){e.resetRotation()}function Ra(e){e.removeLeadSnapshot()}function Fa(e,t,n){e.translate=ko(t.translate,0,n),e.scale=ko(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ia(e,t,n,r){e.min=ko(t.min,n.min,r),e.max=ko(t.max,n.max,r)}function Oa(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const $a={duration:.45,ease:[.4,0,.1,1]};function za(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function _a(e,t,n){return"position"===e||"preserve-aspect"===e&&!ds(fa(t),fa(n),.2)}const Ua=Na({attachResizeListener:(e,t)=>ir(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Wa={current:void 0},Ga=Na({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wa.current){const e=new Ua({});e.mount(window),e.setOptions({layoutScroll:!0}),Wa.current=e}return Wa.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Ha={pan:{Feature:class extends gr{constructor(){super(...arguments),this.removePointerDownListener=Sr}onPointerDown(e){this.session=new ns(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Us(e),onStart:Us(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Cr.update(()=>r(e,t))}}}mount(){this.removePointerDownListener=lr(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 gr{constructor(e){super(e),this.removeGroupControls=Sr,this.removeListeners=Sr,this.controls=new zs(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Sr}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Ga,MeasureLayout:qs}},Ya=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Xa(e,t,n=1){zr(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Ya.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);return i?i.trim():ln(o)?Xa(o,t,n+1):o}const qa=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ka=e=>qa.has(e),Za=e=>e===un||e===kn,Ja=(e,t)=>parseFloat(e.split(", ")[t]),Qa=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Ja(o[1],t);{const t=r.match(/^matrix\((.+)\)$/);return t?Ja(t[1],e):0}},el=new Set(["x","y","z"]),tl=Qt.filter(e=>!el.has(e));const nl={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:Qa(4,13),y:Qa(5,14)},rl=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Ka);let i=[],s=!1;const a=[];if(o.forEach(o=>{const l=e.getValue(o);if(!e.hasValue(o))return;let c=n[o],d=Ii(c);const u=t[o];let h;if(Jn(u)){const e=u.length,t=null===u[0]?1:0;c=u[t],d=Ii(c);for(let n=t;n<e&&null!==u[n];n++)h?zr(Ii(u[n])===h,"All keyframes must be of the same type"):(h=Ii(u[n]),zr(h===d||Za(d)&&Za(h),"Keyframes must be of the same dimension as the current value"))}else h=Ii(u);if(d!==h)if(Za(d)&&Za(h)){const e=l.get();"string"==typeof e&&l.set(parseFloat(e)),"string"==typeof u?t[o]=parseFloat(u):Array.isArray(u)&&h===kn&&(t[o]=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[o]=d.transform(u):(s||(i=function(e){const t=[];return tl.forEach(n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),s=!0),a.push(o),r[o]=void 0!==r[o]?r[o]:t[o],l.jump(u))}),a.length){const n=a.indexOf("height")>=0?window.pageYOffset:null,o=((e,t,n)=>{const r=t.measureViewportBox(),o=t.current,i=getComputedStyle(o),{display:s}=i,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),n.forEach(e=>{a[e]=nl[e](r,i)}),t.render();const l=t.measureViewportBox();return n.forEach(n=>{const r=t.getValue(n);r&&r.jump(a[n]),e[n]=nl[n](l,i)}),e})(t,e,a);return i.length&&i.forEach(([t,n])=>{e.getValue(t).set(n)}),e.render(),Dt&&null!==n&&window.scrollTo({top:n}),{target:o,transitionEnd:r}}return{target:t,transitionEnd:r}};function ol(e,t,n,r){return(e=>Object.keys(e).some(Ka))(t)?rl(e,t,n,r):{target:t,transitionEnd:r}}const il=(e,t,n,r)=>{const o=function(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(e=>{const t=e.get();if(!ln(t))return;const n=Xa(t,r);n&&e.set(n)});for(const e in t){const o=t[e];if(!ln(o))continue;const i=Xa(o,r);i&&(t[e]=i,n||(n={}),void 0===n[e]&&(n[e]=o))}return{target:t,transitionEnd:n}}(e,t,r);return ol(e,t=o.target,n,r=o.transitionEnd)},sl={current:null},al={current:!1};const ll=new WeakMap,cl=Object.keys(Ut),dl=cl.length,ul=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],hl=Ft.length;class ml{constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,visualState:o},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=()=>Cr.render(this.render,!1,!0);const{latestValues:s,renderState:a}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=i,this.isControllingVariants=It(t),this.isVariantNode=Ot(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]&&nn(t)&&(t.set(s[e],!1),Ti(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,ll.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)),al.current||function(){if(al.current=!0,Dt)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>sl.current=e.matches;e.addListener(t),t()}else sl.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||sl.current),"production"!==process.env.NODE_ENV&&Li(!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(){ll.delete(this.current),this.projection&&this.projection.unmount(),Pr(this.notifyUpdate),Pr(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=en.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&Cr.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},n,r,o){let i,s;if("production"!==process.env.NODE_ENV&&r&&n){const e="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?$r(!1,e):zr(!1,e)}for(let e=0;e<dl;e++){const n=cl[e],{isEnabled:r,Feature:o,ProjectionNode:a,MeasureLayout:l}=Ut[n];a&&(i=a),r(t)&&(!this.features[n]&&o&&(this.features[n]=new o(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:r,dragConstraints:s,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:n,alwaysMeasureLayout:Boolean(r)||s&&Lt(s),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof n?n:"both",initialPromotionConfig:o,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<ul.length;t++){const n=ul[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){const{willChange:r}=t;for(const o in t){const i=t[o],s=n[o];if(nn(i))e.addValue(o,i),Ti(r)&&r.add(o),"development"===process.env.NODE_ENV&&Li("10.12.16"===i.version,`Attempting to mix Framer Motion versions ${i.version} with 10.12.16 may not work as expected.`);else if(nn(s))e.addValue(o,Bi(i,{owner:e})),Ti(r)&&r.remove(o);else if(s!==i)if(e.hasValue(o)){const t=e.getValue(o);!t.hasAnimated&&t.set(i)}else{const t=e.getStaticValue(o);e.addValue(o,Bi(void 0!==t?t:i,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<hl;e++){const n=Ft[e],r=this.props[n];(jt(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Bi(t,{owner:this}),this.addValue(e,n)),n}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props,r="string"==typeof n||"object"==typeof n?null===(t=Zn(this.props,n))||void 0===t?void 0:t[e]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||nn(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Mi),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class pl extends ml{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...n},{transformValues:r},o){let i=function(e,t,n){const r={};for(const o in e){const e=_i(o,t);if(void 0!==e)r[o]=e;else{const e=n.getValue(o);e&&(r[o]=e.get())}}return r}(n,e||{},this);if(r&&(t&&(t=r(t)),n&&(n=r(n)),i&&(i=r(i))),o){!function(e,t,n){var r,o;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!==(o=null!==(r=n[s])&&void 0!==r?r:e.readValue(s))&&void 0!==o?o:t[s]),null!=c&&("string"==typeof c&&(Si(c)||Ni(c))?c=parseFloat(c):!$i(c)&&Ro.test(l)&&(c=ki(s,l)),e.addValue(s,Bi(c,{owner:e})),void 0===n[s]&&(n[s]=c),null!==c&&e.setBaseTarget(s,c))}}(this,n,i);const e=il(this,n,i,t);t=e.transitionEnd,n=e.target}return{transition:e,transitionEnd:t,...n}}}class fl extends pl{readValueFromInstance(e,t){if(en.has(t)){const e=wi(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(an(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return Os(e,t)}build(e,t,n,r){Sn(e,t,n,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return qn(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;nn(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,n,r){Hn(e,t,n,r)}}class gl extends pl{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(en.has(t)){const e=wi(t);return e&&e.default||0}return t=Yn.has(t)?t:Gn(t),e.getAttribute(t)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(e,t){return Kn(e,t)}build(e,t,n,r){$n(e,t,n,this.isSVGTag,r.transformTemplate)}renderInstance(e,t,n,r){Xn(e,t,0,r)}mount(e){this.isSVGTag=_n(e.tagName),super.mount(e)}}const vl=(e,t)=>Zt(e)?new gl(t,{enableHardwareAcceleration:!1}):new fl(t,{enableHardwareAcceleration:!0}),yl={...es,...Rr,...Ha,...{layout:{ProjectionNode:Ga,MeasureLayout:qs}}},bl=qt((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...Zt(e)?rr:or,preloadedFeatures:n,useRender:Wn(t),createVisualElement:r,Component:e}}(e,t,yl,vl));function xl(){return xl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xl.apply(null,arguments)}function wl(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function kl(...e){return t=>e.forEach(e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t))}function Nl(...e){return c(kl(...e),e)}function Cl(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const r=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return p(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}const Pl=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?u:()=>{},El=r["useId".toString()]||(()=>{});let Tl=0;function Sl(e){const[t,n]=r.useState(El());return Pl(()=>{n(e=>null!=e?e:String(Tl++))},[e]),e||(t?`radix-${t}`:"")}function Al(e){const t=s(e);return l(()=>{t.current=e}),p(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}function Dl({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=function({defaultProp:e,onChange:t}){const n=a(e),[r]=n,o=s(r),i=Al(t);return l(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}({defaultProp:t,onChange:n}),i=void 0!==e,d=i?e:r,u=Al(n);return[d,c(t=>{if(i){const n="function"==typeof t?t(e):t;n!==e&&u(n)}else o(t)},[i,e,o,u])]}const Ml=i((e,t)=>{const{children:n,...r}=e,o=v.toArray(n),i=o.find(jl);if(i){const e=i.props.children,n=o.map(t=>t===i?v.count(e)>1?v.only(null):y(e)?e.props.children:null:t);return f(Vl,xl({},r,{ref:t}),y(e)?b(e,void 0,n):null)}return f(Vl,xl({},r,{ref:t}),n)});Ml.displayName="Slot";const Vl=i((e,t)=>{const{children:n,...r}=e;return y(n)?b(n,{...Bl(r,n.props),ref:t?kl(t,n.ref):n.ref}):v.count(n)>1?v.only(null):null});Vl.displayName="SlotClone";const Ll=({children:e})=>f(x,null,e);function jl(e){return y(e)&&e.type===Ll}function Bl(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}const Rl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=i((e,n)=>{const{asChild:r,...o}=e,i=r?Ml:t;return l(()=>{window[Symbol.for("radix-ui")]=!0},[]),f(i,xl({},o,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});const Fl="dismissableLayer.update",Il="dismissableLayer.pointerDownOutside",Ol="dismissableLayer.focusOutside";let $l;const zl=d({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),_l=i((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:c,onInteractOutside:d,onDismiss:u,...m}=e,p=h(zl),[g,v]=a(null),y=null!==(n=null==g?void 0:g.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,b]=a({}),x=Nl(t,e=>v(e)),w=Array.from(p.layers),[k]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),N=w.indexOf(k),C=g?w.indexOf(g):-1,P=p.layersWithOutsidePointerEventsDisabled.size>0,E=C>=N,T=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Al(e),r=s(!1),o=s(()=>{});return l(()=>{const e=e=>{if(e.target&&!r.current){const i={originalEvent:e};function s(){Wl(Il,n,i,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=s,t.addEventListener("click",o.current,{once:!0})):s()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...p.branches].some(e=>e.contains(t));E&&!n&&(null==i||i(e),null==d||d(e),e.defaultPrevented||null==u||u())},y),S=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Al(e),r=s(!1);return l(()=>{const e=e=>{if(e.target&&!r.current){Wl(Ol,n,{originalEvent:e},{discrete:!1})}};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...p.branches].some(e=>e.contains(t))||(null==c||c(e),null==d||d(e),e.defaultPrevented||null==u||u())},y);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=Al(e);l(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[n,t])}(e=>{C===p.layers.size-1&&(null==o||o(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},y),l(()=>{if(g)return r&&(0===p.layersWithOutsidePointerEventsDisabled.size&&($l=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(g)),p.layers.add(g),Ul(),()=>{r&&1===p.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=$l)}},[g,y,r,p]),l(()=>()=>{g&&(p.layers.delete(g),p.layersWithOutsidePointerEventsDisabled.delete(g),Ul())},[g,p]),l(()=>{const e=()=>b({});return document.addEventListener(Fl,e),()=>document.removeEventListener(Fl,e)},[]),f(Rl.div,xl({},m,{ref:x,style:{pointerEvents:P?E?"auto":"none":void 0,...e.style},onFocusCapture:wl(e.onFocusCapture,S.onFocusCapture),onBlurCapture:wl(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:wl(e.onPointerDownCapture,T.onPointerDownCapture)}))});function Ul(){const e=new CustomEvent(Fl);document.dispatchEvent(e)}function Wl(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&&C(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}const Gl="focusScope.autoFocusOnMount",Hl="focusScope.autoFocusOnUnmount",Yl={bubbles:!1,cancelable:!0},Xl=i((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...d}=e,[u,h]=a(null),m=Al(o),p=Al(i),g=s(null),v=Nl(t,e=>h(e)),y=s({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l(()=>{if(r){function e(e){if(y.paused||!u)return;const t=e.target;u.contains(t)?g.current=t:Jl(g.current,{select:!0})}function t(e){if(y.paused||!u)return;const t=e.relatedTarget;null!==t&&(u.contains(t)||Jl(g.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&Jl(u)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const o=new MutationObserver(n);return u&&o.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),o.disconnect()}}},[r,u,y.paused]),l(()=>{if(u){Ql.add(y);const t=document.activeElement;if(!u.contains(t)){const n=new CustomEvent(Gl,Yl);u.addEventListener(Gl,m),u.dispatchEvent(n),n.defaultPrevented||(!function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Jl(r,{select:t}),document.activeElement!==n)return}((e=ql(u),e.filter(e=>"A"!==e.tagName)),{select:!0}),document.activeElement===t&&Jl(u))}return()=>{u.removeEventListener(Gl,m),setTimeout(()=>{const e=new CustomEvent(Hl,Yl);u.addEventListener(Hl,p),u.dispatchEvent(e),e.defaultPrevented||Jl(null!=t?t:document.body,{select:!0}),u.removeEventListener(Hl,p),Ql.remove(y)},0)}}var e},[u,m,p,y]);const b=c(e=>{if(!n&&!r)return;if(y.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[r,i]=function(e){const t=ql(e),n=Kl(t,e),r=Kl(t.reverse(),e);return[n,r]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&Jl(i,{select:!0})):(e.preventDefault(),n&&Jl(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return f(Rl.div,xl({tabIndex:-1},d,{ref:v,onKeyDown:b}))});function ql(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 Kl(e,t){for(const n of e)if(!Zl(n,{upTo:t}))return n}function Zl(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 Jl(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 Ql=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=ec(e,t),e.unshift(t)},remove(t){var n;e=ec(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function ec(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}const tc=i((e,t)=>{var n;const{container:r=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...o}=e;return r?N.createPortal(f(Rl.div,xl({},o,{ref:t})),r):null});const nc=e=>{const{present:t,children:n}=e,r=function(e){const[t,n]=a(),r=s({}),o=s(e),i=s("none"),d=e?"mounted":"unmounted",[u,h]=function(e,t){return w((e,n)=>{const r=t[e][n];return null!=r?r:e},e)}(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l(()=>{const e=rc(r.current);i.current="mounted"===u?e:"none"},[u]),Pl(()=>{const t=r.current,n=o.current;if(n!==e){const r=i.current,s=rc(t);if(e)h("MOUNT");else if("none"===s||"none"===(null==t?void 0:t.display))h("UNMOUNT");else{h(n&&r!==s?"ANIMATION_OUT":"UNMOUNT")}o.current=e}},[e,h]),Pl(()=>{if(t){const e=e=>{const n=rc(r.current).includes(e.animationName);e.target===t&&n&&C(()=>h("ANIMATION_END"))},n=e=>{e.target===t&&(i.current=rc(r.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:c(e=>{e&&(r.current=getComputedStyle(e)),n(e)},[])}}(t),o="function"==typeof n?n({present:r.isPresent}):v.only(n),i=Nl(r.ref,o.ref);return"function"==typeof n||r.isPresent?b(o,{ref:i}):null};function rc(e){return(null==e?void 0:e.animationName)||"none"}nc.displayName="Presence";let oc=0;function ic(){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 sc=function(){return sc=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},sc.apply(this,arguments)};function ac(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}"function"==typeof SuppressedError&&SuppressedError;var lc="right-scroll-bar-position",cc="width-before-scroll-bar";function dc(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var uc="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,hc=new WeakMap;function mc(e,t){var n,r,o,i=(n=null,r=function(t){return e.forEach(function(e){return dc(e,t)})},(o=a(function(){return{value:n,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 uc(function(){var t=hc.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||dc(e,null)}),r.forEach(function(e){n.has(e)||dc(e,o)})}hc.set(i,e)},[e]),i}function pc(e){return e}var fc=function(e){var t=e.sideCar,n=ac(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 r.createElement(o,sc({},n))};fc.isSideCarExport=!0;var gc=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=pc);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.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 o}(null);return t.options=sc({async:!0,ssr:!1},e),t}(),vc=function(){},yc=r.forwardRef(function(e,t){var n=r.useRef(null),o=r.useState({onScrollCapture:vc,onWheelCapture:vc,onTouchMoveCapture:vc}),i=o[0],s=o[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,y=void 0===v?"div":v,b=ac(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=m,w=mc([n,t]),k=sc(sc({},b),i);return r.createElement(r.Fragment,null,u&&r.createElement(x,{sideCar:gc,removeScrollBar:d,shards:h,noIsolation:p,inert:f,setCallbacks:s,allowPinchZoom:!!g,lockRef:n}),a?r.cloneElement(r.Children.only(l),sc(sc({},k),{ref:w})):r.createElement(y,sc({},k,{className:c,ref:w}),l))});yc.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},yc.classNames={fullWidth:cc,zeroRight:lc};function bc(){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 xc=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=bc())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},wc=function(){var e,t=(e=xc(),function(t,n){r.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},kc={left:0,top:0,right:0,gap:0},Nc=function(e){return parseInt(e||"",10)||0},Cc=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return kc;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Nc(n),Nc(r),Nc(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Pc=wc(),Ec="data-scroll-locked",Tc=function(e,t,n,r){var o=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(r,";\n padding-right: ").concat(a,"px ").concat(r,";\n }\n body[").concat(Ec,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"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(r,";\n "),"padding"===n&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(lc," {\n right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(cc," {\n margin-right: ").concat(a,"px ").concat(r,";\n }\n \n .").concat(lc," .").concat(lc," {\n right: 0 ").concat(r,";\n }\n \n .").concat(cc," .").concat(cc," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Ec,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},Sc=function(){var e=parseInt(document.body.getAttribute(Ec)||"0",10);return isFinite(e)?e:0},Ac=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;r.useEffect(function(){return document.body.setAttribute(Ec,(Sc()+1).toString()),function(){var e=Sc()-1;e<=0?document.body.removeAttribute(Ec):document.body.setAttribute(Ec,e.toString())}},[]);var s=r.useMemo(function(){return Cc(i)},[i]);return r.createElement(Pc,{styles:Tc(s,!t,i,n?"":"!important")})},Dc=!1;if("undefined"!=typeof window)try{var Mc=Object.defineProperty({},"passive",{get:function(){return Dc=!0,!0}});window.addEventListener("test",Mc,Mc),window.removeEventListener("test",Mc,Mc)}catch(e){Dc=!1}var Vc=!!Dc&&{passive:!1},Lc=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])},jc=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),Bc(e,n)){var r=Rc(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Bc=function(e,t){return"v"===e?function(e){return Lc(e,"overflowY")}(t):function(e){return Lc(e,"overflowX")}(t)},Rc=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]},Ic=function(e){return[e.deltaX,e.deltaY]},Oc=function(e){return e&&"current"in e?e.current:e},$c=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},zc=0,_c=[];var Uc,Wc=(Uc=function(e){var t=r.useRef([]),n=r.useRef([0,0]),o=r.useRef(),i=r.useState(zc++)[0],s=r.useState(function(){return wc()})[0],a=r.useRef(e);r.useEffect(function(){a.current=e},[e]),r.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(Oc),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var l=r.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!a.current.allowPinchZoom;var r,i=Fc(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[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=jc(u,d);if(!h)return!0;if(h?r=u:(r="v"===u?"h":"v",h=jc(u,d)),!h)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,r){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,s=n.target,a=t.contains(s),l=!1,c=i>0,d=0,u=0;do{var h=Rc(e,s),m=h[0],p=h[1]-h[2]-o*m;(m||p)&&Bc(e,s)&&(d+=p,u+=m),s=s.parentNode}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return c&&0===d?l=!0:c||0!==u||(l=!0),l}(m,t,e,"h"===m?l:c)},[]),c=r.useCallback(function(e){var n=e;if(_c.length&&_c[_c.length-1]===s){var r="deltaY"in n?Ic(n):Fc(n),o=t.current.filter(function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(a.current.shards||[]).map(Oc).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?l(n,i[0]):!a.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),d=r.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),u=r.useCallback(function(e){n.current=Fc(e),o.current=void 0},[]),h=r.useCallback(function(t){d(t.type,Ic(t),t.target,l(t,e.lockRef.current))},[]),m=r.useCallback(function(t){d(t.type,Fc(t),t.target,l(t,e.lockRef.current))},[]);r.useEffect(function(){return _c.push(s),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",c,Vc),document.addEventListener("touchmove",c,Vc),document.addEventListener("touchstart",u,Vc),function(){_c=_c.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,Vc),document.removeEventListener("touchmove",c,Vc),document.removeEventListener("touchstart",u,Vc)}},[]);var p=e.removeScrollBar,f=e.inert;return r.createElement(r.Fragment,null,f?r.createElement(s,{styles:$c(i)}):null,p?r.createElement(Ac,{gapMode:"margin"}):null)},gc.useMedium(Uc),fc),Gc=r.forwardRef(function(e,t){return r.createElement(yc,sc({},e,{ref:t,sideCar:Wc}))});Gc.classNames=yc.classNames;var Hc=new WeakMap,Yc=new WeakMap,Xc={},qc=0,Kc=function(e){return e&&(e.host||Kc(e.parentNode))},Zc=function(e,t,n,r){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Kc(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]);Xc[n]||(Xc[n]=new WeakMap);var i=Xc[n],s=[],a=new Set,l=new Set(o),c=function(e){e&&!a.has(e)&&(a.add(e),c(e.parentNode))};o.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(r),o=null!==t&&"false"!==t,l=(Hc.get(e)||0)+1,c=(i.get(e)||0)+1;Hc.set(e,l),i.set(e,c),s.push(e),1===l&&o&&Yc.set(e,!0),1===c&&e.setAttribute(n,"true"),o||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return d(t),a.clear(),qc++,function(){s.forEach(function(e){var t=Hc.get(e)-1,o=i.get(e)-1;Hc.set(e,t),i.set(e,o),t||(Yc.has(e)||e.removeAttribute(r),Yc.delete(e)),o||e.removeAttribute(n)}),--qc||(Hc=new WeakMap,Hc=new WeakMap,Yc=new WeakMap,Xc={})}},Jc=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Zc(r,o,n,"aria-hidden")):function(){return null}};const Qc="Dialog",[ed,td]=function(e,t=[]){let n=[];const r=()=>{const t=n.map(e=>d(e));return function(n){const r=(null==n?void 0:n[e])||t;return p(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){const o=d(r),i=n.length;function s(t){const{scope:n,children:r,...s}=t,a=(null==n?void 0:n[e][i])||o,l=p(()=>s,Object.values(s));return f(a.Provider,{value:l},r)}return n=[...n,r],s.displayName=t+"Provider",[s,function(n,s){const a=(null==s?void 0:s[e][i])||o,l=h(a);if(l)return l;if(void 0!==r)return r;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},Cl(r,...t)]}(Qc),[nd,rd]=ed(Qc),od="DialogPortal",[id,sd]=ed(od,{forceMount:void 0}),ad="DialogOverlay",ld=i((e,t)=>{const n=sd(ad,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=rd(ad,e.__scopeDialog);return i.modal?f(nc,{present:r||i.open},f(cd,xl({},o,{ref:t}))):null}),cd=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=rd(ad,n);return f(Gc,{as:Ml,allowPinchZoom:!0,shards:[o.contentRef]},f(Rl.div,xl({"data-state":yd(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),dd="DialogContent",ud=i((e,t)=>{const n=sd(dd,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=rd(dd,e.__scopeDialog);return f(nc,{present:r||i.open},i.modal?f(hd,xl({},o,{ref:t})):f(md,xl({},o,{ref:t})))}),hd=i((e,t)=>{const n=rd(dd,e.__scopeDialog),r=s(null),o=Nl(t,n.contentRef,r);return l(()=>{const e=r.current;if(e)return Jc(e)},[]),f(pd,xl({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:wl(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:wl(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:wl(e.onFocusOutside,e=>e.preventDefault())}))}),md=i((e,t)=>{const n=rd(dd,e.__scopeDialog),r=s(!1),o=s(!1);return f(pd,xl({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,s;(null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented)||(r.current||null===(s=n.triggerRef.current)||void 0===s||s.focus(),t.preventDefault());r.current=!1,o.current=!1},onInteractOutside:t=>{var i,s;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const a=t.target;(null===(s=n.triggerRef.current)||void 0===s?void 0:s.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),pd=i((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...a}=e,c=rd(dd,n),d=Nl(t,s(null));return l(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:ic()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:ic()),oc++,()=>{1===oc&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),oc--}},[]),f(x,null,f(Xl,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},f(_l,xl({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":yd(c.open)},a,{ref:d,onDismiss:()=>c.onOpenChange(!1)}))),!1)}),fd="DialogTitle",gd="DialogClose",vd=i((e,t)=>{const{__scopeDialog:n,...r}=e,o=rd(gd,n);return f(Rl.button,xl({type:"button"},r,{ref:t,onClick:wl(e.onClick,()=>o.onOpenChange(!1))}))});function yd(e){return e?"open":"closed"}!function(e,t){const n=d(t);function r(e){const{children:t,...r}=e,o=p(()=>r,Object.values(r));return f(n.Provider,{value:o},t)}r.displayName=e+"Provider"}("DialogTitleWarning",{contentName:dd,titleName:fd,docsSlug:"dialog"});const bd=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!0}=e,l=s(null),d=s(null),[u=!1,h]=Dl({prop:r,defaultProp:o,onChange:i});return f(nd,{scope:t,triggerRef:l,contentRef:d,contentId:Sl(),titleId:Sl(),descriptionId:Sl(),open:u,onOpenChange:h,onOpenToggle:c(()=>h(e=>!e),[h]),modal:a},n)},xd=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=rd(od,t);return f(id,{scope:t,forceMount:n},v.map(r,e=>f(nc,{present:n||i.open},f(tc,{asChild:!0,container:o},e))))},wd=ld,kd=ud,Nd=vd,Cd=n=>{const{isOpen:r,onRequestClose:o,size:i,title:s,content:a,description:l,children:c,bodyClassName:d}=n;return e(bd,{open:r,onOpenChange:()=>r&&(null==o?void 0:o()),children:t(xd,{children:[e(bl.div,{initial:"closed",animate:r?"open":"closed",variants:Ct,transition:{type:"tween",duration:.2,ease:"easeInOut"},className:"fixed inset-0 z-[1000] bg-scrim-bg-modal",children:e(wd,{})}),e(bl.div,{initial:"closed",animate:r?"open":"closed",variants:Pt,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:t(kd,{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",d),style:{maxWidth:Et[i||"lg"]},children:[e(Nd,{asChild:!0,children:e(ct,{showButtonAs:"unstyled",buttonClassName:"absolute right-0 top-0 mr-2 mt-2 bg-bg",children:e(ze,{name:"close"})})}),t("div",{className:"custom-modal-body max-h-[85vh] overflow-visible",children:[s?e(Ue,{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:s}):null,l?e(Ue,{as:"div",children:l}):null,a,c||null]})]})})]})})},Pd=({children:n,background:r,className:o,fill:i="yellow",maxFit:s,show:a=!0,path:l="path2"})=>{const c=`${l}`,d={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]"},h="string"==typeof r&&r in u,m=h?u[r]:void 0,p=r&&!h?{background:r}:void 0,f=i in d?d[i]:"text-[#F5FF1E]";return a?t("div",{className:`shape-bg relative overflow-hidden ${null!=o?o:""} ${s?"max-content":""} ${null!=m?m:p?"":"bg-white"}`,style:p,children:["path1"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2371px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"2262",height:"4359",viewBox:"0 0 2262 4359",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1838.72 444.021C2216.45 758.242 2351.22 1060.81 2202.83 1982.25C2062.95 2851.55 1923.57 4265.14 1394.48 4348.94C1079.75 4409.66 766.955 4172.68 508.523 4003.04C340.876 3884.89 192.855 3774.9 26.6866 3661.93C-27.6562 3624.7 8.69435 3542.15 74.1261 3555.69C415.628 3626.61 686.916 3615.36 942.942 3443.48C1410.95 3163.54 1632.32 2141.02 1629.56 1543.75C1637.51 910.76 1276.06 582.318 829.643 352.709C587.562 235.528 333.508 169.963 100.699 149.757C31.9431 143.965 25.0259 47.9703 92.459 33.1281C623.196 -84.6769 1404.59 131.886 1839.84 443.573"})}),"path2"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[45.8px] z-0 translate-x-[-101%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.09 4009.1 647.09 3634.26 264.38C3417.79 27.9944 3025.37 31.7818 2716.76 13.9013C2511.72 8.81634 2327.31 8.87399 2126.55 0.511773C2060.73 -2.00127 2040.7 85.9475 2101.3 114.087C2417.76 260.743 2628.86 431.51 2731.94 722.142C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.97 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),"path3"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-2600px] z-0 translate-x-[-55%] ${c} fill-current ${f}`,width:"3044",height:"3248",viewBox:"0 0 3044 3248",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1.21857 1353.6C-0.931975 1765.46 120.504 2015.15 791.765 2417.01C1424.98 2796.19 2407.16 3469.31 2746.34 3175.04C2955.08 3005.86 2971.76 2677.32 3002.33 2420C3016.95 2248.7 3026.23 2094.39 3043.38 1926.83C3048.81 1871.88 2976.24 1850.67 2949.63 1899.96C2810.91 2157.33 2657.35 2325.33 2408.95 2396.88C1976.88 2546.15 1201.39 2136.59 819.655 1812.63C409.231 1476.27 393.475 1067.19 486.97 656.895C542.372 438.358 637.352 239.983 749.974 79.7081C783.347 32.4684 725.487 -23.7534 679.587 11.5067C317.699 288.49 35.1358 906.671 0.328344 1354.07"})}),"path4"===l&&e("svg",{className:`shape-bg-svg pointer-events-none absolute left-1/2 top-[-1966.1px] z-0 translate-x-[-48%] ${c} fill-current ${f}`,width:"3739",height:"3666",viewBox:"0 0 3739 3666",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:e("path",{d:"M1662.93 3664.31C2153.52 3637.23 2442.1 3474.65 2872.31 2646.41C3278.25 1865.1 4009.1 647.091 3634.26 264.381C3417.79 27.9951 3025.37 31.7826 2716.76 13.902C2511.72 8.81709 2327.31 8.87474 2126.55 0.512528C2060.73 -2.00052 2040.7 85.9483 2101.3 114.088C2417.76 260.743 2628.86 431.51 2731.94 722.143C2940.79 1225.9 2508.91 2178.82 2150.63 2656.7C1779.64 3169.63 1293.64 3217.84 798.345 3136.04C534.128 3085.8 291.072 2986.98 92.1133 2864.4C33.4593 2828.06 -29.3236 2901.01 15.967 2953.13C371.841 3364.12 1128.29 3656.09 1663.56 3665.34"})}),e("div",{className:"shape-bg-content relative z-[1]",children:n})]}):e("div",{className:o,style:p,children:n})},Ed=({title:n,background:r="white",button:o,color:i,contentAlignment:s,description:a,descriptionAlignment:l,enableHeading:c,subTitle:d,maxWidth:u=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container`,children:t("div",{className:`${u?"mx-auto max-w-120":""} color-${i} flex flex-col ${"dark"==i?"text-text":"text-white"} px-5 py-16 lg:px-13 lg:py-24`,children:[e(Ue,{as:c?"h1":"h2",className:`heading2 lg:heading1 text-${s}`,children:n}),e(Ue,{as:"h3",className:`subheading3 pt-2 lg:subheading1 lg:pt-3 text-${s}`,children:d}),e("div",{className:`pt-2 text-body1 lg:pt-3 text-${l}`,children:a}),e("div",{className:"flex justify-center pt-5 lg:pt-14",children:e(ct,{...o})})]})}),Td=({background:r="white",description:o,enableHeading:i,image:s,list:a=[],subTitle:l,title:c,color:d="dark",maxWidth:u=!0})=>e("div",{className:`${{blue:"bg-[#07B2E2]",green:"bg-[#26B170]",yellow:"bg-[#F5FF1E]",purple:"bg-[#931D69]",white:"bg-white",navy:"bg-[#00002D]"}[r]} component-container overflow-hidden ${"dark"==d?"text-text":"text-white"}`,children:t("div",{className:(u?"max-w-120 xl:mx-auto":"")+" mx-5 mb-5 mt-12 xl:my-20",children:[c&&e(Ue,{as:i?"h1":"h2",className:"heading2 md:heading1 md:text-center",children:c}),l&&e(Ue,{as:i?"h2":"h3",className:"heading3 mt-4 text-center",children:l}),t("div",{className:"mt-8 flex items-center xl:mt-16 xl:gap-10",children:[t("div",{className:"flex flex-col items-start gap-10 self-stretch xl:flex-[1_0_0]",children:[o&&e(Ue,{as:"p",className:"body1",children:o}),a.length>0&&t(n,{children:[e("ul",{className:"grid w-full grid-cols-2 gap-x-8 gap-y-4 md:hidden",children:(()=>{const t=[...a].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/2),r=[];for(let e=0;e<n;e++)for(let o=0;o<2;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e("li",{children:e(lt,{href:`/${t.code}`,className:"label1",children:t.name})},`item-list-2-${n}`))})()}),e("ul",{className:"hidden gap-x-8 gap-y-4 md:grid md:grid-cols-3",children:(()=>{const t=[...a].sort((e,t)=>e.name.localeCompare(t.name)),n=Math.ceil(t.length/3),r=[];for(let e=0;e<n;e++)for(let o=0;o<3;o++){const i=o*n+e;i<t.length&&r.push(t[i])}return r.map((t,n)=>e("li",{children:e(lt,{href:`/${t.code}`,className:"label1",children:t.name})},`item-list-3-${n}`))})()})]})]}),s&&e("aside",{className:"hidden xl:block",children:e(He,{width:472,height:100,src:s,alt:"image"})})]})]})}),Sd=({title:n,disclaimer:r,table:o,maxWidth:i=!0})=>e("div",{className:"component-container",children:t("div",{className:"mx-5 mb-5 mt-8 lg:mt-10 "+(i?"max-w-120 xl:mx-auto":""),children:[e(Ue,{as:"h2",className:"heading2 lg:heading1 lg:text-center",children:n}),e("div",{className:"comparison-table-container mt-20 xl:mt-10",children:o}),e(Ue,{as:"div",className:"micro mt-8 text-center",children:r})]})});export{We as Accordion,ct as Button,Xe as Callout,qe as Cards,it as Carousel,Sd as ComparisonTable,Ed as CtaCallout,Td as FindKinetic,dt as FloatingBanner,ut as Footer,ht as ImagePromoBar,Cd as Modal,yt as Navigation,kt as PrimaryHero,tt as ProductCard,Pd as ShapeBackgroundWrapper,Ye as SimpleCard,nt as TestimonialCard,Nt as Text};
4
4
  //# sourceMappingURL=index.esm.js.map