1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3043],{44653:(e,t,l)=>{l.d(t,{Q$:()=>x,Sn:()=>r,dH:()=>function e(t,l=""){if("string"==typeof t){let e=x(t,(e,t)=>(0,n.jsx)(a.Fragment,{children:c(e,l)},t));return e||c(t,l)}if(a.isValidElement(t)){let n=[l,t.props.className??""].filter(Boolean).join(" "),s=a.Children.map(t.props.children,t=>e(t,n));return a.cloneElement(t,void 0,s)}return Array.isArray(t)?t.map((t,l)=>(0,n.jsx)(a.Fragment,{children:e(t)},l)):t},x4:()=>function e(t){if(!t)return t;if("string"==typeof t)return t.split("\\n").reduce((e,t,l)=>(l>0&&e.push((0,n.jsx)("br",{},l)),e.push(t),e),[]);if(Array.isArray(t))return t.map((t,l)=>(0,n.jsx)(a.Fragment,{children:e(t)},l));if(a.isValidElement(t)){let l={...t.props};return l.children&&(l.children=e(l.children)),a.cloneElement(t,l)}return t},zX:()=>s});var n=l(37876),a=l(14232);function s(e){return e.toLowerCase().charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function r(e){return e.toLowerCase().replace(/\b\w/g,e=>e.toUpperCase())}let i=new Set(["\xa9","â¢","\xae","â ","â¡","\xa7","\xb6","\xb0","â°","\xb5","â»","â ","â"]),d={white:"#ffffff",spearmint:"#80D6B0",green:"#3BBFAD",peppermint:"#589EA6",ginger:"#F4BA42","light-yellow":"#FFFAEF",cinnamint:"#D66755",gray:"#C4C4C4","light-gray":"#D0D0D0","lighter-gray":"#F1F1F1","dark-gray":"#757575","light-blue":"#8AC2E0","muted-navy":"#9AB5B8",red:"#D31400",sand:"#FFF3DF",teal:"#00D9B4",black:"#1D252C",mint:"#67D7A5","mid-blue":"#4FA4AE",navy:"#035C67",violet:"#5A6AFF",blue:"#344099",text:"#565B61",hibiscus:"#DE5D83",yellow:"#FFBA2A",purple:"#A95EDB","light-green":"#048D78","light-grey":"#1A353826","light-navy":"#60AFB9","light-mint":"#99EDC5",limegreen:"#BBF174"},o=/<([a-z][a-z0-9-]*)>([\s\S]*?)(?:<\/\1>|<\1\s*\/>)/gi;function c(e,t){return[...e].map((e,l)=>i.has(e)?(0,n.jsx)("span",{className:`${t} align-super font-inherit`.trim(),style:{fontSize:"calc(1em - 6px)"},children:e},l):e)}function x(e,t=e=>e){let l,s=[],r=RegExp(o.source,"gi"),i=0,c=0;for(;null!==(l=r.exec(e));){let o=d[l[1].toLowerCase()];if(!o){r.lastIndex=l.index+1;continue}if(l.index>i){let r=`t${c}`;s.push((0,n.jsx)(a.Fragment,{children:t(e.slice(i,l.index),r)},r))}let x=`c${c}`;s.push((0,n.jsx)("span",{style:{color:o},children:t(l[2],x)},x)),i=l.index+l[0].length,c+=1}if(0===s.length)return null;if(i<e.length){let l=`t${c}`;s.push((0,n.jsx)(a.Fragment,{children:t(e.slice(i),l)},l))}return s}},53043:(e,t,l)=>{l.r(t),l.d(t,{PlansTierGrid:()=>f,default:()=>p});var n=l(37876),a=l(14232),s=l(58103),r=l.n(s),i=l(69130),d=l(44653),o=l(30098),c=l(95534);function x({tier:e,nodeIds:t,expanded:l=!1,onToggle:a}){let{iconName:s,name:f,priceText:p,metaText:m,description:u,ribbonText:h,bulletsIntro:g,bullets:y,backgroundColor:b,accentColor:j,checkColor:w,iconGlyphColor:k,checklistBackgroundColor:N,ageBadgeColor:v,useLightText:C,ctaRegistrationEntrypoint:F}=e,A=`#${j}`,D=w?`#${w}`:A,_=k?`#${k}`:C?"#013c39":"#00d9b4",$=C?"#ffffff":"#000000",B=C?"#ffffff":"#111212",E=C?"#000000":"#ffffff";return(0,n.jsxs)("div",{id:f.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,""),"data-node-id":t?.root,"data-testid":`plan-tier-${f}`,onClick:e=>{!a||e.target.closest("a, button")||window.matchMedia("(min-width: 1080px)").matches||a()},className:r()("flex w-full scroll-mt-[64px] flex-col overflow-hidden rounded-[16px] tablet:scroll-mt-20 desktop:w-auto desktop:flex-1",a&&"cursor-pointer desktop:cursor-auto"),style:{backgroundColor:`#${b}`},children:[h?(0,n.jsx)("div",{"data-node-id":t?.ribbon,className:"w-full px-6 py-2 text-center text-[16px] font-normal leading-[19px]",style:{backgroundColor:C?"#013c39":"#00d9b4",color:C?"#ffffff":"#013c39"},children:h}):(0,n.jsx)("div",{"aria-hidden":!0,className:"hidden w-full px-6 py-2 text-[16px] leading-[19px] desktop:block",children:"\xa0"}),(0,n.jsxs)("div",{className:"flex flex-1 flex-col p-6",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("span",{"data-node-id":t?.icon,className:"flex h-[40px] w-[40px] items-center justify-center rounded-[10px]",style:{backgroundColor:A},children:(0,n.jsx)(i.Icon,{fileName:s??"ic_check",className:"h-6 w-6",style:{color:_}})}),a&&(0,n.jsx)("button",{type:"button",onClick:a,"aria-expanded":l,"aria-label":`${l?"Collapse":"Expand"} ${f} plan details`,className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-transform desktop:hidden",style:{backgroundColor:A},children:(0,n.jsx)(i.Icon,{fileName:"ic_chevron_down",className:r()("h-5 w-5 transition-transform duration-200",l&&"rotate-180"),style:{color:_}})})]}),(0,n.jsx)("p",{"data-node-id":t?.name,className:"mt-4 text-[24px] font-medium leading-[29px]",style:{color:$},children:f}),p&&(0,n.jsx)("p",{"data-node-id":t?.price,className:"mt-3 text-[32px] font-normal leading-[38px]",style:{color:$},children:p}),m&&(0,n.jsx)("span",{"data-node-id":t?.ageBadge,className:"mt-3 self-start rounded-full px-3 py-1 text-[16px] font-normal leading-[19px]",style:{backgroundColor:`#${v}`,color:E},children:m}),u&&(0,n.jsx)("p",{"data-node-id":t?.description,className:"mt-3 text-[14px] font-normal leading-[17px]",style:{color:B},children:u}),(0,n.jsxs)("div",{className:r()("flex flex-col overflow-hidden transition-all duration-300 desktop:contents",l?"max-h-[1200px]":"max-h-0"),children:[g&&(0,n.jsx)("p",{"data-node-id":t?.bulletsIntro,className:"mt-4 text-[14px] font-medium leading-[17px]",style:{color:B},children:g}),(0,n.jsx)("div",{"data-node-id":t?.checklist,className:"mt-4 flex flex-col gap-3 rounded-[12px] p-4",style:{backgroundColor:`#${N}`},children:y?.map((e,l)=>(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[(0,n.jsx)("span",{className:"flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full",style:{backgroundColor:D},children:(0,n.jsx)(i.Icon,{fileName:"ic_check",className:"h-3 w-3 text-white"})}),(0,n.jsx)("p",{"data-node-id":t?.bullets?.[l],className:"flex-1 text-[14px] font-normal leading-[17px]",style:{color:B},children:(0,d.dH)(e)})]},e))}),(0,n.jsx)("div",{"data-node-id":t?.cta,className:r()("mt-auto pt-6","[&_a]:transition-colors [&_button]:transition-colors","[&_a:hover]:!bg-[var(--cta-accent)] [&_a:hover]:!text-[var(--cta-accent-text)]","[&_button:hover]:!bg-[var(--cta-accent)] [&_button:hover]:!text-[var(--cta-accent-text)]","#ffffff"===E&&"[&_a:hover_img]:invert [&_button:hover_img]:invert"),style:{"--cta-accent":A,"--cta-accent-text":E},children:(0,n.jsx)(o.default,{id:`plans-cta-${f}`,module:"Plans Tier Grid",fullWidth:!0,designType:c.Wg.STANDARD,...F?.fields,buttonVariant:"outline",borderColor:C?"#00d9b4":"#013c39",textColor:C?"#ffffff"
1:"#013c39",sysId:F?.sys?.contentType?.sys?.id})})]})]})]})}function f({eyebrow:e,headline:t,tiers:l,anchorId:s,sysId:r,nodeIds:i}){let d=l??[],o=Math.max(0,d.findIndex(e=>e.fields?.useLightText)),[c,p]=(0,a.useState)(o>=0?o:d.length-1);return(0,n.jsx)("section",{id:s||r,"data-testid":"plans-tier-grid","data-node-id":i?.root,className:"w-full bg-white px-4 py-12 desktop:px-0 desktop:py-20",children:(0,n.jsxs)("div",{className:"mx-auto flex w-full max-w-[1200px] flex-col items-center",children:[e&&(0,n.jsx)("span",{"data-node-id":i?.eyebrow,className:"rounded-full bg-[#dff6f0] px-4 py-2 text-[14px] font-medium leading-[17px] text-[#000000] desktop:text-[20px] desktop:leading-[24px]",children:e}),(0,n.jsx)("h2",{"data-node-id":i?.headline,className:"mt-4 text-center text-[44px] font-normal leading-[53px] text-[#000000]",children:t}),(0,n.jsx)("div",{className:"mt-10 flex w-full flex-col gap-4 desktop:mt-12 desktop:flex-row desktop:items-stretch desktop:gap-6",children:d.map((e,t)=>(0,n.jsx)(x,{tier:e.fields,nodeIds:i?.tiers?.[t],expanded:t===c,onToggle:()=>p(e=>e===t?-1:t)},e?.sys?.id||e.fields.name))})]})})}let p=f}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.