1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8950],{8950:function(e,t,r){r.r(t),r.d(t,{default:function(){return em}});var i,l=r(1527),n=r(8461),a=r(7728),s=r(3179),o=r(7905),u=r(3783),p=r(959);function c(e,t){return null!==e&&null!==t&&"object"==typeof e&&"object"==typeof t&&"id"in e&&"id"in t?e.id===t.id:e===t}var d=r(7702),f=r(4607),m=r(7228),v=r(4159),x=r(883),g=r(9803);let h=(0,p.createContext)(void 0);function b(){return(0,p.useContext)(h)}var w=r(2897),y=r(4327),A=r(3324),k=r(3724),T=r(3023),I=r(9866),j=r(2479),N=r(9624);let V=(0,p.createContext)(null);function P(e){var t,r,i;let l=null!=(r=null==(t=(0,p.useContext)(V))?void 0:t.value)?r:void 0;return(null!=(i=null==e?void 0:e.length)?i:0)>0?[l,...e].filter(Boolean).join(" "):l}function O({inherit:e=!1}={}){let t=P(),[r,i]=(0,p.useState)([]),l=e?[t,...r].filter(Boolean):r;return[l.length>0?l.join(" "):void 0,(0,p.useMemo)(()=>function(e){let t=(0,d.z)(e=>(i(t=>[...t,e]),()=>i(t=>{let r=t.slice(),i=r.indexOf(e);return -1!==i&&r.splice(i,1),r}))),r=(0,p.useMemo)(()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value}),[t,e.slot,e.name,e.props,e.value]);return p.createElement(V.Provider,{value:r},e.children)},[i])]}V.displayName="LabelContext";let E=Object.assign((0,I.yV)(function(e,t){var r;let i=(0,p.useId)(),l=function e(){let t=(0,p.useContext)(V);if(null===t){let t=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),n=b(),a=(0,x.B)(),{id:s=`headlessui-label-${i}`,htmlFor:o=null!=n?n:null==(r=l.props)?void 0:r.htmlFor,passive:u=!1,...c}=e,m=(0,v.T)(t);(0,f.e)(()=>l.register(s),[s,l.register]);let g=(0,d.z)(e=>{let t=e.currentTarget;if(t instanceof HTMLLabelElement&&e.preventDefault(),l.props&&"onClick"in l.props&&"function"==typeof l.props.onClick&&l.props.onClick(e),t instanceof HTMLLabelElement){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let r=e.getAttribute("aria-disabled");if("true"===r||""===r)return;(e instanceof HTMLInputElement&&("radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),h=a||!1,w=(0,p.useMemo)(()=>({...l.slot,disabled:h}),[l.slot,h]),y={ref:m,...l.props,id:s,htmlFor:o,onClick:g};return u&&("onClick"in y&&(delete y.htmlFor,delete y.onClick),"onClick"in c&&delete c.onClick),(0,I.sY)({ourProps:y,theirProps:c,slot:w,defaultTag:o?"label":"div",name:l.name||"Label"})}),{});var F=((i=F||{})[i.RegisterOption=0]="RegisterOption",i[i.UnregisterOption=1]="UnregisterOption",i);let M={0(e,t){let r=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:(0,y.z2)(r,e=>e.element.current)}},1(e,t){let r=e.options.slice(),i=e.options.findIndex(e=>e.id===t.id);return -1===i?e:(r.splice(i,1),{...e,options:r})}},R=(0,p.createContext)(null);function S(e){let t=(0,p.useContext)(R);if(null===t){let t=Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,S),t}return t}R.displayName="RadioGroupDataContext";let C=(0,p.createContext)(null);function _(e){let t=(0,p.useContext)(C);if(null===t){let t=Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,_),t}return t}function L(e,t){return(0,k.E)(t.type,M,e,t)}C.displayName="RadioGroupActionsContext";let z=(0,I.yV)(function(e,t){let r=(0,p.useId)(),i=(0,x.B)(),{id:l=`headlessui-radiogroup-${r}`,value:n,form:a,name:s,onChange:o,by:u,disabled:f=i||!1,defaultValue:m,...h}=e,b=function(e=c){return(0,p.useCallback)((t,r)=>"string"==typeof e?(null==t?void 0:t[e])===(null==r?void 0:r[e]):e(t,r),[e])}(u),[w,k]=(0,p.useReducer)(L,{options:[]}),V=w.options,[P,E]=O(),[F,M]=(0,j.fw)(),S=(0,p.useRef)(null),_=(0,v.T)(S,t),z=function(e){let[t]=(0,p.useState)(e);return t}(m),[D,G]=function(e,t,r){let[i,l]=(0,p.useState)(r),n=void 0!==e,a=(0,p.useRef)(n),s=(0,p.useRef)(!1),o=(0,p.useRef)(!1);return!n||a.current||s.current?n||!a.current||o.current||(o.current=!0,a.current=n,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")):(s.current=!0,a.current=n,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")),[n?e:i,(0,d.z)(e=>(n||l(e),null==t?void 0:t(e)))]}(n,o,z),Z=(0,p.useMemo)(()=>V.find(e=>!e.propsRef.current.disabled),[V]),B=(0,p.useMemo)(()=>V.some(e=>b(e.propsRef.current.value,D)),[V,D]),$=(0,d.z)(e=>{var t;if(f||b(e,D))return!1;let r=null==(t=V.find(t=>b(t.propsRef.current.value,e)))?void 0:t.propsRef.current;return(null==r||!r.disabled)&&(null==G||G(e),!0)}),Y=(0,d.z)(e=>{let t=S.current;if(!t)return;let r=(0,T.r)(t),i=V.filter(e=>!1===e.propsRef.current.disabled).map(e=>e.element.current);switch(e.key){case N.R.Enter:(0,A.g)(e.currentTarget);break;case N.R.ArrowLeft:case N.R.ArrowUp:if(e.preventDefault(),e.stopPropagation(),(0,y.jA)(i,y.TO.Previous|
1y.TO.WrapAround)===y.fE.Success){let e=V.find(e=>e.element.current===(null==r?void 0:r.activeElement));e&&$(e.propsRef.current.value)}break;case N.R.ArrowRight:case N.R.ArrowDown:if(e.preventDefault(),e.stopPropagation(),(0,y.jA)(i,y.TO.Next|y.TO.WrapAround)===y.fE.Success){let e=V.find(e=>e.element.current===(null==r?void 0:r.activeElement));e&&$(e.propsRef.current.value)}break;case N.R.Space:{e.preventDefault(),e.stopPropagation();let t=V.find(e=>e.element.current===(null==r?void 0:r.activeElement));t&&$(t.propsRef.current.value)}}}),H=(0,d.z)(e=>(k({type:0,...e}),()=>k({type:1,id:e.id}))),q=(0,p.useMemo)(()=>({value:D,firstOption:Z,containsCheckedOption:B,disabled:f,compare:b,...w}),[D,Z,B,f,b,w]),U=(0,p.useMemo)(()=>({registerOption:H,change:$}),[H,$]),W=(0,p.useMemo)(()=>({value:D}),[D]),X=(0,p.useCallback)(()=>{if(void 0!==z)return $(z)},[$,z]);return p.createElement(M,{name:"RadioGroup.Description"},p.createElement(E,{name:"RadioGroup.Label"},p.createElement(C.Provider,{value:U},p.createElement(R.Provider,{value:q},null!=s&&p.createElement(g.Mt,{disabled:f,data:{[s]:D||"on"},overrides:{type:"radio",checked:null!=D},form:a,onReset:X}),(0,I.sY)({ourProps:{ref:_,id:l,role:"radiogroup","aria-labelledby":P,"aria-describedby":F,onKeyDown:Y},theirProps:h,slot:W,defaultTag:"div",name:"RadioGroup"})))))}),D=(0,I.yV)(function(e,t){var r;let i=S("RadioGroup.Option"),l=_("RadioGroup.Option"),n=(0,p.useId)(),{id:a=`headlessui-radiogroup-option-${n}`,value:s,disabled:c=i.disabled||!1,autoFocus:x=!1,...g}=e,h=(0,p.useRef)(null),b=(0,v.T)(h,t),[y,A]=O(),[k,T]=(0,j.fw)(),N=(0,m.E)({value:s,disabled:c});(0,f.e)(()=>l.registerOption({id:a,element:h,propsRef:N}),[a,l,h,N]);let V=(0,d.z)(e=>{var t;if((0,w.P)(e.currentTarget))return e.preventDefault();l.change(s)&&(null==(t=h.current)||t.focus())}),P=(null==(r=i.firstOption)?void 0:r.id)===a,{isFocusVisible:E,focusProps:F}=(0,o.F)({autoFocus:x}),{isHovered:M,hoverProps:R}=(0,u.X)({isDisabled:c}),C=i.compare(i.value,s),L=(0,I.dG)({ref:b,id:a,role:"radio","aria-checked":C?"true":"false","aria-labelledby":y,"aria-describedby":k,"aria-disabled":!!c||void 0,tabIndex:c?-1:C||!i.containsCheckedOption&&P?0:-1,onClick:c?void 0:V,autoFocus:x},F,R),z=(0,p.useMemo)(()=>({checked:C,disabled:c,active:E,hover:M,focus:E,autofocus:x}),[C,c,M,E,x]);return p.createElement(T,{name:"RadioGroup.Description"},p.createElement(A,{name:"RadioGroup.Label"},(0,I.sY)({ourProps:L,theirProps:g,slot:z,defaultTag:"div",name:"RadioGroup.Option"})))}),G=(0,I.yV)(function(e,t){var r;let i=S("Radio"),l=_("Radio"),n=(0,p.useId)(),a=b(),s=(0,x.B)(),{id:c=a||`headlessui-radio-${n}`,value:g,disabled:h=i.disabled||s||!1,autoFocus:y=!1,...A}=e,k=(0,p.useRef)(null),T=(0,v.T)(k,t),N=P(),V=(0,j.zH)(),O=(0,m.E)({value:g,disabled:h});(0,f.e)(()=>l.registerOption({id:c,element:k,propsRef:O}),[c,l,k,O]);let E=(0,d.z)(e=>{var t;if((0,w.P)(e.currentTarget))return e.preventDefault();l.change(g)&&(null==(t=k.current)||t.focus())}),{isFocusVisible:F,focusProps:M}=(0,o.F)({autoFocus:y}),{isHovered:R,hoverProps:C}=(0,u.X)({isDisabled:h}),L=(null==(r=i.firstOption)?void 0:r.id)===c,z=i.compare(i.value,g),D=(0,I.dG)({ref:T,id:c,role:"radio","aria-checked":z?"true":"false","aria-labelledby":N,"aria-describedby":V,"aria-disabled":!!h||void 0,tabIndex:h?-1:z||!i.containsCheckedOption&&L?0:-1,autoFocus:y,onClick:h?void 0:E},M,C),G=(0,p.useMemo)(()=>({checked:z,disabled:h,hover:R,focus:F,autofocus:y}),[z,h,R,F,y]);return(0,I.sY)({ourProps:D,theirProps:A,slot:G,defaultTag:"span",name:"Radio"})}),Z=Object.assign(z,{Option:D,Radio:G,Label:E,Description:j.dk});var B=r(5924),$=r(446),Y=r(630),H=r(6414),q=r(7914);let U=[{text:"text-gray-900"},{text:"text-ink"}],W=e=>"boolean"==typeof e?e:["true","1"].includes(String(e??"").trim().toLowerCase());function X(e){return"object"==typeof e&&null!==e}function J(e,t){let r=(0,q.xi)(e);return{previewFieldAttributes:(0,q.L7)(e),previewValue:r?function e(t){if(Array.isArray(t))return t.map(String);if(X(t)){let r=Object.values(t).find(e=>Array.isArray(e)||"string"==typeof e);return void 0===r?[]:e(r)}if("string"==typeof t){try{let r=JSON.parse(t);if(r!==t)return e(r)}catch{}return t.split(/\r?\n|,\s*/).map(e=>
1e.trim()).filter(Boolean)}return[]}(r.newValue):t,previewMarker:null}}function K(e,t){let r=(0,q.L7)(e),i=(0,p.useRef)(null),[n,a]=(0,p.useState)(t?.url);return(0,p.useEffect)(()=>{a(t?.url)},[t?.url]),(0,p.useEffect)(()=>{let e=i.current;if(!e)return;let t=new MutationObserver(()=>{let t=e.querySelector("img");t?.src&&a(t.src)});return t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["src"]}),()=>t.disconnect()},[]),{previewValue:n,previewMarker:(0,l.jsx)("span",{ref:i,...r,"aria-hidden":"true",className:"hidden",children:n?(0,l.jsx)("img",{src:n,alt:""}):null})}}let Q=["label","link","arrow","style","size","color"];function ee(e){return Q.some(t=>t===e)}function et(e,t){return e.length===t.length&&e.every((e,r)=>e.fieldApiId===t[r]?.fieldApiId&&e.instanceId===t[r]?.instanceId)}function er(e,t){return e.length>=t.length&&t.every((t,r)=>t.fieldApiId===e[r]?.fieldApiId&&t.instanceId===e[r]?.instanceId)}function ei(e){if(!e)return null;if("string"==typeof e.id&&e.id)return e.id;let t=e.__hygraphInternal_entityId;if("string"==typeof t&&t)return t;let r=e.__hygraphInternal_uuid;return"string"==typeof r&&r?r:null}function el(e){let t=e.localizations,r=X(t)?Object.values(t).find(X):void 0,i={...e,...r};return Array.isArray(i.openInNewTab)&&(i.openInNewTab=i.openInNewTab.map(W)),X(i.link)&&"ExternalLink"!==i.link.__typename&&(i.link=el(i.link)),i}function en(e,t){let r=e.findIndex(e=>ei(e)===t);if(-1!==r)return r;let i=t.match(/\.callToAction\.(\d+)-level-1$/),l=i?Number(i[1]):-1;if(l>=0&&l<e.length&&!ei(e[l]))return l;let n=e.map((e,t)=>ei(e)?-1:t).filter(e=>-1!==e);return 1===n.length?n[0]:-1}function ea(e,t){let r=e.map(el),i=(t??[]).map(el),l=i.length>=r.length?i:r,n=l===i?r:i,a=new Map(n.map(e=>[ei(e),e]).filter(([e])=>null!==e));return l.map((e,t)=>{let r=ei(e),i=(r?a.get(r):void 0)??(l.length===n.length?n[t]:void 0);return{...i,...e}})}function es(e,t,r){let i=ei(e)??ei(t)??r?.id??null;if(!i)return null;let l=t??e,n={...r,...l};return{...n,__typename:"string"==typeof n.__typename?n.__typename:"Plan",id:i,customPlan:W(n.customPlan),callToAction:r?.callToAction??(Array.isArray(n.callToAction)?n.callToAction:[]),customFeatures:Array.isArray(n.customFeatures)?n.customFeatures.map(String):r?.customFeatures??[],features:Array.isArray(n.features)?n.features.map(String):r?.features??[],support:Array.isArray(n.support)?n.support.map(String):r?.support??[],scope:Array.isArray(n.scope)?n.scope.map(String):r?.scope??[],footnotes:Array.isArray(n.footnotes)?n.footnotes.map(String):r?.footnotes??[]}}function eo({plan:e,preview:t,frequency:r,annuallyLabel:i,planCount:a,startingAt:s}){let o=(0,q.rO)("startingAt",s),u=t.customPlan.previewValue,p=(e,r,i="space-y-3 text-lg leading-6 text-ink")=>(0,l.jsx)("ul",{className:i,children:e.map((e,i)=>(0,l.jsxs)("li",{className:"flex gap-x-3 text-sm items-start",children:[(0,l.jsx)(n.Z,{className:"h-6 w-6 flex-none text-primary-700","aria-hidden":"true"}),(0,l.jsx)("span",{...t[r].previewFieldAttributes,"data-hygraph-list-index":i,className:"customFeatures"===r?"block whitespace-pre-line text-ink":void 0,children:e})]},`${e}-${i}`))}),c=(0,l.jsxs)("div",{className:"row-start-4 flex flex-col items-center gap-3 pb-8 px-6 lg:px-8",children:[e.callToAction.map((e,t)=>(0,l.jsx)(ec,{button:e,fullWidth:!0,className:"!px-2 lg:text-[14px]"},ei(e)??`button-${t}`)),t.callToActionExplainer.previewValue&&(0,l.jsx)("span",{...t.callToActionExplainer.previewFieldAttributes,className:"text-xs text-gray-600 mx-auto text-center",children:t.callToActionExplainer.previewValue})]});return u?(0,l.jsx)("div",{className:(0,B.Z)("plan-card editorial-cell [--editorial-pad:0]",t.mostPopular.previewValue&&"bg-primary-100"),children:(0,l.jsxs)("div",{className:"plan-card__rows relative",style:t.backgroundImage.previewValue?{backgroundImage:`url(${t.backgroundImage.previewValue})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}:void 0,children:[(0,l.jsx)(H.O,{isAiGenerated:e.backgroundImage?.isAiGenerated}),(0,l.jsxs)("div",{className:"row-start-1 relative flex flex-row flex-wrap items-center gap-x-4 gap-y-2 px-6 py-8 lg:px-8",children:[(0,l.jsx)("h3",{...t.planTitle.previewFieldAttributes,className:(0,B.Z)(U[1].text,"text-heading1 font-medium leading-8"),children:t.planTitle.previewValue}),t.mostPopular.previewValue&&t.mostPopularLabel.previewValue&&(0,l.jsx)("p",{...t.mostPopularLabel.previewFieldAttributes,className:"ml-auto border border-ink bg-transparent px-2.5 py-1 text-base font-medium leading-5 text-ink",children:t.mostPopularLabel.previewValue})]}),(0,l.jsx)("p",{...t.description.previewFieldAttributes,className:"row-start-2 px-6 pb-8 text-lg font-normal leading-5 text-ink lg:px-8",children:t.description.previewValue}),(0,l.jsxs)("div",{className:"row-start-3 flex flex-col items-baseline gap-x-1 px-6 pb-6 lg:px-8",children:[e.price&&(0,l.jsx)(q.f1,{fieldApiId:"price",instanceId:e.price.id,children:(0,l.jsxs)("div",{className:"flex flex-col items-baseline gap-x-1",children:[(0,l.jsx)("span",{...o.previewFieldAttributes,className:"text-base text-gray-600",children:o.previewValue}),(0,l.jsx)("p",{children:(0,l.jsx)(ep,{price:e.price,annually:r===i})})]})}),t.customPlanSubtitle.previewValue&&(0,l.jsx)("p",{...t.customPlanSubtitle.previewFieldAttributes,className:(0,B.Z)("text-base font-semibold text-ink",e.price&&"mt-4"),children:t.customPlanSubtitle.previewValue}
1),t.customPlanSubdescription.previewValue&&(e.price||t.customPlanSubtitle.previewValue?(0,l.jsx)("p",{...t.customPlanSubdescription.previewFieldAttributes,className:"mt-1 text-sm text-ink",children:t.customPlanSubdescription.previewValue}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{"aria-hidden":"true",className:"invisible text-base",children:o.previewValue}),(0,l.jsx)("p",{...t.customPlanSubdescription.previewFieldAttributes,className:"text-display6 font-display font-bold tracking-tight text-ink",children:(0,l.jsx)("span",{className:"[word-spacing:0.12em] xl:text-[2.125rem] xl:leading-none 2xl:text-display6",children:t.customPlanSubdescription.previewValue})})]}))]}),c,t.customFeatures.previewValue.length>0&&(0,l.jsxs)("div",{className:"plan-card__list row-start-5 px-6 py-6 lg:px-8",children:[t.featuresTitle.previewValue&&(0,l.jsx)("p",{...t.featuresTitle.previewFieldAttributes,className:"text-lg font-semibold pb-4 text-ink",children:t.featuresTitle.previewValue}),p(t.customFeatures.previewValue,"customFeatures")]}),(t.supportTitle.previewValue||t.support.previewValue.length>0)&&(0,l.jsxs)("div",{className:"row-start-6 px-6 py-6 lg:px-8",children:[(0,l.jsx)("p",{...t.supportTitle.previewFieldAttributes,className:"text-lg font-semibold pb-4 text-ink",children:t.supportTitle.previewValue}),p(t.support.previewValue,"support")]}),(t.scopeTitle.previewValue||t.scope.previewValue.length>0)&&(0,l.jsxs)("div",{className:"row-start-7 px-6 py-6 lg:px-8",children:[(0,l.jsx)("p",{...t.scopeTitle.previewFieldAttributes,className:"text-lg font-semibold pb-4 text-ink",children:t.scopeTitle.previewValue}),p(t.scope.previewValue,"scope","space-y-3 text-lg leading-6 text-ink")]})]})}):(0,l.jsx)("div",{className:(0,B.Z)("plan-card editorial-cell [--editorial-pad:0]",t.mostPopular.previewValue&&"bg-primary-100"),children:(0,l.jsxs)("div",{className:"plan-card__rows",children:[(0,l.jsxs)("div",{className:"row-start-1 gap-x-4 gap-y-2 flex flex-row flex-wrap items-center relative py-8 px-6 lg:px-8",children:[(0,l.jsx)("h3",{id:e.id,...t.planTitle.previewFieldAttributes,className:(0,B.Z)(U[0].text,"text-heading1 font-medium leading-8 text-ink"),children:t.planTitle.previewValue}),t.mostPopular.previewValue&&t.mostPopularLabel.previewValue&&(0,l.jsx)("p",{...t.mostPopularLabel.previewFieldAttributes,className:"ml-auto border border-ink bg-transparent px-2.5 py-1 text-base font-medium leading-5 text-ink",children:t.mostPopularLabel.previewValue})]}),(0,l.jsx)("p",{...t.description.previewFieldAttributes,className:(0,B.Z)("row-start-2 pb-8 text-lg font-normal leading-5 px-6 lg:px-8","text-ink"),children:t.description.previewValue}),(0,l.jsxs)("div",{className:"row-start-3 pb-6 flex flex-col items-baseline gap-x-1 px-6 lg:px-8",children:[(0,l.jsx)("div",{...o.previewFieldAttributes,className:"text-base text-gray-600",children:o.previewValue}),(0,l.jsx)("p",{children:e.price&&(0,l.jsx)(q.f1,{fieldApiId:"price",instanceId:e.price.id,children:(0,l.jsx)("span",{className:(0,B.Z)("text-display6 font-display font-normal tracking-tight","text-ink"),children:(0,l.jsx)(ep,{price:e.price,annually:r===i})})})})]}),c,t.featuresTitle.previewValue&&t.features.previewValue.length>0&&(0,l.jsxs)("div",{className:"plan-card__list row-start-5 px-6 lg:px-8 py-6",children:[(0,l.jsx)("p",{...t.featuresTitle.previewFieldAttributes,className:"text-lg font-semibold pb-4 text-ink",children:t.featuresTitle.previewValue}),p(t.features.previewValue,"features")]}),(t.supportTitle.previewValue||t.support.previewValue.length>0)&&(0,l.jsxs)("div",{className:"row-start-6 px-6 lg:px-8 py-6",children:[(0,l.jsx)("p",{...t.supportTitle.previewFieldAttributes,className:"text-lg font-semibold pb-4 text-ink",children:t.supportTitle.previewValue}),p(t.support.previewValue,"support")]}),(t.scopeTitle.previewValue||t.scope.previewValue.length>0)&&(0,l.jsxs)("div",{className:"row-start-7 px-6 lg:px-8 py-6",children:[(0,l.jsx)("p",{...t.scopeTitle.previewFieldAttributes,className:"text-lg font-semibold pb-4 text-ink",children:t.scopeTitle.previewValue}),p(t.scope.previewValue,"scope","space-y-3 text-lg leading-6 text-ink")]})]})})}function eu({plan:e,children:t}){var r;let i={planTitle:(0,q.rO)("planTitle",e.planTitle),description:(0,q.rO)("description",e.description),mostPopular:(0,q.rO)("mostPopular",e.mostPopular,W),customPlan:(r=e.customPlan,{previewFieldAttributes:(0,q.L7)("customPlan"),previewValue:r,previewMarker:null}),mostPopularLabel:(0,q.rO)("mostPopularLabel",e.mostPopularLabel),customPlanSubtitle:(0,q.rO)("customPlanSubtitle",e.customPlanSubtitle),customPlanSubde
1scription:(0,q.rO)("customPlanSubdescription",e.customPlanSubdescription),callToActionExplainer:(0,q.rO)("callToActionExplainer",e.callToActionExplainer),featuresTitle:(0,q.rO)("featuresTitle",e.featuresTitle),supportTitle:(0,q.rO)("supportTitle",e.supportTitle),scopeTitle:(0,q.rO)("scopeTitle",e.scopeTitle),features:J("features",e.features),support:J("support",e.support),scope:J("scope",e.scope),customFeatures:J("customFeatures",e.customFeatures),footnotes:J("footnotes",e.footnotes),icon:K("icon",e.icon),backgroundImage:K("backgroundImage",e.backgroundImage)};return(0,l.jsxs)(l.Fragment,{children:[t(i),i.planTitle.previewMarker,i.description.previewMarker,i.mostPopular.previewMarker,i.customPlan.previewMarker,i.mostPopularLabel.previewMarker,i.customPlanSubtitle.previewMarker,i.customPlanSubdescription.previewMarker,i.callToActionExplainer.previewMarker,i.featuresTitle.previewMarker,i.supportTitle.previewMarker,i.scopeTitle.previewMarker,i.features.previewMarker,i.support.previewMarker,i.scope.previewMarker,i.customFeatures.previewMarker,i.footnotes.previewMarker,i.icon.previewMarker,i.backgroundImage.previewMarker]})}function ep({price:e,annually:t}){let r=(0,q.rO)("monthly",e.monthly),i=(0,q.rO)("monthlySuffix",e.monthlySuffix),n=(0,q.rO)("yearly",e.yearly),a=(0,q.rO)("yearlySuffix",e.yearlySuffix),s=t?n:r,o=t?a:i;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{...s.previewFieldAttributes,className:"text-display6 font-bold tracking-tight",children:s.previewValue}),(0,l.jsx)("span",{...o.previewFieldAttributes,className:"pl-2 text-lg font-normal leading-6 text-gray-600",children:o.previewValue}),r.previewMarker,i.previewMarker,n.previewMarker,a.previewMarker]})}function ec({button:e,className:t,fullWidth:r=!1}){let i=ei(e)??e.id;return(0,l.jsx)(q.f1,{fieldApiId:"callToAction",instanceId:i,children:(0,l.jsx)(ed,{button:e,className:t,fullWidth:r})})}function ed({button:e,className:t,fullWidth:r}){let i=(0,q.rO)("arrow",e.arrow,W),n=(0,q.rO)("style",e.style),s=(0,q.rO)("size",e.size),o=(0,q.rO)("color",e.color),u=(0,q.xi)("link"),p=u?u.newValue:e.link,c=(0,q.L7)("link");return(0,l.jsxs)("div",{...c,className:"contents",children:[(0,l.jsx)($.Z,{fullWidth:r,...e,link:p,arrow:i.previewValue??!1,style:n.previewValue??e.style,size:s.previewValue??e.size,color:o.previewValue??e.color,className:(0,B.Z)(t,s.previewValue===a.qE.Large?"xl:text-lg":"xl:text-base")}),i.previewMarker,n.previewMarker,s.previewMarker,o.previewMarker]})}function ef({plan:e}){let t=J("footnotes",e.footnotes);return(0,l.jsxs)(l.Fragment,{children:[t.previewValue.length>0&&(0,l.jsx)("div",{className:"mt-8 px-6 lg:px-8",children:(0,l.jsx)("p",{className:"text-sm text-left text-gray-500 leading-6",children:t.previewValue.map((e,r)=>(0,l.jsxs)("span",{className:"block",children:[(0,l.jsx)("span",{"aria-hidden":"true",children:"* "}),(0,l.jsx)("span",{...t.previewFieldAttributes,"data-hygraph-list-index":r,children:e})]},r))})}),t.previewMarker]})}function em({heading:e,subtitle:t,description:r,plans:i,paymentFrequencyMonthly:n,paymentFrequencyAnnually:a,startingAt:o}){let u=(0,q.rO)("subtitle",t),c=(0,q.rO)("description",r),d=(0,q.rO)("paymentFrequencyMonthly",n),f=(0,q.rO)("paymentFrequencyAnnually",a),m=(0,q.rO)("startingAt",o),[v,x]=(0,p.useState)(a),g=function(e){let[t,r]=(0,p.useState)(e),{entryId:i,componentChain:l}=(0,q.My)(),n=(0,p.useCallback)(e=>(function(e,t,r){if(e.entryId!==t)return!1;let i=e.componentChain??[];if("COMPONENT_ARRAY"===e.fieldType&&"plans"===e.fieldApiId&&et(i,r))return!0;if("COMPONENT_ARRAY"===e.fieldType&&"callToAction"===e.fieldApiId&&er(i,r)&&i.length===r.length+1||"COMPONENT"===e.fieldType&&"price"===e.fieldApiId&&er(i,r)&&i.length===r.length+1)return i[r.length]?.fieldApiId==="plans";if(er(i,r)&&i.length===r.length+3){let t=i[r.length],l=i[r.length+1],n=i[r.length+2];return t?.fieldApiId==="plans"&&l?.fieldApiId==="callToAction"&&n?.fieldApiId==="link"&&["openInNewTab","link","page","blogPost"].includes(e.fieldApiId)}if(er(i,r)&&i.length===r.length+2){let t=i[r.length],l=i[r.length+1];return t?.fieldApiId==="plans"&&(l?.fieldApiId==="callToAction"&&ee(e.fieldApiId)||l?.fieldApiId==="price"&&["monthly","monthlySuffix","yearly","yearlySuffix"].includes(e.fieldApiId))}if(!er(i,r)||i.length!==r.length+1)return!1;let l=i[r.length];return l?.fieldApiId==="plans"&&["customPlan","planTitle"].includes(e.fieldApiId)})(e,i,l),[l,i]),a=(0,q.xR)(n);return(0,p.useEffect)(()=>{r(e)},[e]),(0,p.useEffect)(()=>
1{if(!a||a.entryId!==i)return;let e=a.componentChain??[];if("COMPONENT_ARRAY"===a.fieldType&&"plans"===a.fieldApiId&&et(e,l)){r(e=>{let t=new Map(e.map(e=>[e.id,e])),r=ea(a.newValue,a.transformedValue),i=new Set(r.map(e=>ei(e)).filter(e=>null!==e)),l=r.some(e=>!t.has(ei(e)??"")),n=r.map(e=>{let r=ei(e),i=r?t.get(r):void 0;return i??es(e,void 0,void 0)}).filter(e=>null!==e);return l?[...n,...e.filter(e=>!i.has(e.id))]:n});return}if("COMPONENT"===a.fieldType&&"price"===a.fieldApiId&&er(e,l)&&e.length===l.length+1){let t=e[l.length]?.instanceId;if(!t)return;let i=a.newValue;r(e=>{if(!e.some(e=>e.id===t)){let r=es({__typename:"Plan",id:t,price:i},void 0,void 0);return r?[...e,r]:e}return e.map(e=>e.id===t?{...e,price:e.price&&ei(e.price)===ei(i)?{...e.price,...i}:i}:e)});return}if("COMPONENT_ARRAY"===a.fieldType&&"callToAction"===a.fieldApiId&&er(e,l)&&e.length===l.length+1){let t=e[l.length];if(t?.fieldApiId!=="plans")return;let i=ea(a.newValue,a.transformedValue);r(e=>{let r=e.find(e=>e.id===t.instanceId);if(!r){let r=es({__typename:"Plan",id:t.instanceId,callToAction:i},void 0,void 0);return r?[...e,r]:e}let l=new Map(r.callToAction.map(e=>[ei(e),e])),n=i.filter(e=>!ei(e)).length,a=i.map((e,t)=>{let a=ei(e),s=a?l.get(a):1===n&&r.callToAction.length===i.length?r.callToAction[t]:void 0;return s?{...s,...e,id:a??ei(s)??void 0}:e}),s=new Set(a.map(e=>ei(e)).filter(e=>null!==e)),o=a.some(e=>!l.has(ei(e))),u=o?[...a,...r.callToAction.filter(e=>!s.has(ei(e)??""))]:a;return e.map(e=>e.id===t.instanceId?{...e,callToAction:u}:e)});return}if(er(e,l)&&e.length===l.length+3){let t=e[l.length],i=e[l.length+1],n=e[l.length+2],s={openInNewTab:"LinkExternal",link:"LinkExternal",page:"LinkInternal",blogPost:"LinkInternalBlogPost"}[a.fieldApiId];if(t?.fieldApiId!=="plans"||i?.fieldApiId!=="callToAction"||n?.fieldApiId!=="link"||!s)return;let o="openInNewTab"===a.fieldApiId?(Array.isArray(a.newValue)?a.newValue:[a.newValue]).map(W):a.newValue;console.log("[Plan link debug]",{planId:t.instanceId,buttonId:i.instanceId,linkId:n.instanceId,field:a.fieldApiId}),r(e=>e.map(e=>{if(e.id!==t.instanceId)return e;let r=en(e.callToAction,i.instanceId);if(-1===r)return e;let l=e.callToAction[r],u=X(l.link)?l.link:void 0,p={...ei(u)===n.instanceId?u:void 0,__typename:s,id:n.instanceId,[a.fieldApiId]:o},c={...l,id:i.instanceId,link:p};return{...e,callToAction:e.callToAction.map((e,t)=>t===r?c:e)}}));return}if(er(e,l)&&e.length===l.length+2){let t=e[l.length],i=e[l.length+1];if(t?.fieldApiId!=="plans"||!i)return;if("price"===i.fieldApiId){let e=i.instanceId;r(r=>{let i={__typename:"PlanPrice",id:e};if(!r.some(e=>e.id===t.instanceId)){let e=es({__typename:"Plan",id:t.instanceId,price:i},void 0,void 0);return e?[...r,e]:r}return r.some(e=>e.id===t.instanceId&&!e.price)?r.map(e=>e.id!==t.instanceId||e.price?e:{...e,price:i}):r});return}if("callToAction"!==i.fieldApiId||!ee(a.fieldApiId))return;r(e=>e.map(e=>{if(e.id!==t.instanceId)return e;let r=i.instanceId,l=en(e.callToAction,r),n="arrow"===a.fieldApiId?W(a.newValue):a.newValue,s={...-1!==l?e.callToAction[l]:{__typename:"ButtonComponent"},id:r,[a.fieldApiId]:n};return{...e,callToAction:-1!==l?e.callToAction.map((e,t)=>t===l?s:e):[...e.callToAction,s]}}));return}if(!er(e,l)||e.length!==l.length+1)return;let t=e[l.length];if(t?.fieldApiId!=="plans"||!["customPlan","planTitle"].includes(a.fieldApiId))return;let n="customPlan"===a.fieldApiId?W(a.newValue):a.newValue;r(e=>{let r=e.some(e=>e.id===t.instanceId);if(r){if("planTitle"===a.fieldApiId){let r=e.find(e=>e.id===t.instanceId)?.planTitle;if(!!r==!!n)return e}return e.map(e=>e.id===t.instanceId?{...e,[a.fieldApiId]:n}:e)}return[...e,es({__typename:"Plan",id:t.instanceId,[a.fieldApiId]:n},void 0,void 0)]})},[l,i,a]),t}(i),h=g.filter(e=>!!e.planTitle),b=!!(e?.span1?.trim()||e?.span2?.trim()||e?.span3?.trim()),w=!!c.previewValue?.trim(),y=(0,p.useMemo)(()=>1===h.length?"grid-cols-1":2===h.length?"grid-cols-1 md:grid-cols-2":3===h.length?"grid-cols-1 md:grid-cols-2 lg:grid-cols-3":4===h.length?"grid-cols-1 md:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-5",[h.length]);return b?(0,l.jsx)("section",{className:"px-6 md:px-8 py-12 md:py-16",id:(0,Y.i)(e,"plan-pricing-section"),children:(0,l.jsxs)("div",{className:(0,B.Z)("container flex flex-col items-center gap-6 max-w-7xl",{"2xl:max-w-8xl":h.length>=4}),children:[(0,l.jsxs)("div",{className:"max-w-4xl flex flex-col text-center",children:[u.previewValue&&(0,l.jsx)("p",{...u.previewFieldAttributes,className:"text-ink text-lg",children:u.previewValue}),(0,l.jsx)("div",{className:"mx-auto max-w-4xl",children:(0,l.jsx)(s.Z,{...e,previewFieldApiId:"heading"})}),w&&(0,l.jsx)("p",{...c.previewFieldAttributes,className:"text-ink text-lg py-4 text-center",children:c.previewValue})]}),(0,l.jsx)("div",{className:"flex justify-center",children:(0,l.jsxs)(Z,{value:v??void 0,onChange:x,className:"grid grid-cols-2 gap-x-1 rounded-full p-1 text-center text-base font-medium leading-5 ring-1 ring-inset ring-ink bg-transparent",children:[(0,l.jsx)(E,{className:"sr-only",children:"Payment frequency"}),(0,l.jsx)(G,{value:d.previewValue,className:({checked:e})=>(0,B.Z)(e?"bg-ink text-gray-25":"text-ink hover:bg-gray-50","cursor-pointer rounded-full px-4 py-2 transition"),children:(0,l.jsx)("span",{...d.previewFieldAttributes,children:d.previewValue})},d.previewValue),(0,l.jsx)(G,{value:f.previewValue,className:({checked:e})=>(0,B.Z)(e?"bg-ink text-gray-25":"text-ink hover:bg-gray-50","cursor-pointer rounded-full px-4 py-2 transition"),children:(0,l.jsx)("span",{...f.previewFieldAttributes,children:f.previewValue})},f.previewValue)]})}),u.previewMarker,c.previewMarker,d.previewMarker,f.previewMarker,(0,l.jsx)("div",{className:(0,B.Z)("relative isolate mx-auto mt-10 editorial-grid grid-cols-1 border-b border-ink lg:mx-0","after:pointer-events-none after:absolute after:bottom-[-1px] after:left-[-100vw] after:right-[-100vw] after:h-px after:bg-ink after:content-['']",y),children:h.map(e=>e.planTitle&&(0,l.jsx)(q.f1,{fieldApiId:"plans",instanceId:e.id,children:(0,l.jsx)(eu,{plan:e,children:t=>(0,l.jsx)(eo,{plan:e,preview:t,frequency:v,annuallyLabel:f.previewValue,planCount:h.length,startingAt:m.previewValue})})},e.id))}),h.map(e=>(0,l.jsx)(q.f1,{fieldApiId:"plans",instanceId:e.id,children:(0,l.jsx)(ef,{plan:e})},`footnotes-${e.id}`)),m.previewMarker]})}):null}},2479:function(e,t,r){r.d(t,{dk:function(){return d},fw:function(){return c},zH:function(){return p}});var i=r(959),l=r(7702),n=r(4607),a=r(4159),s=r(883),o=r(9866);let u=(0,i.createContext)(null);function p(){var e,t;return null!=(t=null==(e=(0,i.useContext)(u))?void 0:e.value)?t:void 0}function c(){let[e,t]=(0,i.useState)([]);return[e.length>0?e.join(" "):void 0,(0,i.useMemo)(()=>function(e){let r=(0,l.z)(e=>(t(t=>[...t,e]),()=>t(t=>{let r=t.slice(),i=r.indexOf(e);return -1!==i&&r.splice(i,1),r}))),n=(0,i.useMemo)(()=>({register:r,slot:e.slot,name:e.name,props:e.props,value:e.value}),[r,e.slot,e.name,e.props,e.value]);return i.createElement(u.Provider,{value:n},e.children)},[t])]}
1u.displayName="DescriptionContext";let d=Object.assign((0,o.yV)(function(e,t){let r=(0,i.useId)(),l=(0,s.B)(),{id:p=`headlessui-description-${r}`,...c}=e,d=function e(){let t=(0,i.useContext)(u);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),f=(0,a.T)(t);(0,n.e)(()=>d.register(p),[p,d.register]);let m=l||!1,v=(0,i.useMemo)(()=>({...d.slot,disabled:m}),[d.slot,m]),x={ref:f,...d.props,id:p};return(0,o.sY)({ourProps:x,theirProps:c,slot:v,defaultTag:"p",name:d.name||"Description"})}),{})},883:function(e,t,r){r.d(t,{B:function(){return n}});var i=r(959);let l=(0,i.createContext)(void 0);function n(){return(0,i.useContext)(l)}},9803:function(e,t,r){r.d(t,{Mt:function(){return c},yd:function(){return p}});var i=r(959),l=r(422),n=r(479),a=r(3324),s=r(9866),o=r(4668);let u=(0,i.createContext)(null);function p({children:e}){let t=(0,i.useContext)(u);if(!t)return i.createElement(i.Fragment,null,e);let{target:r}=t;return r?(0,l.createPortal)(i.createElement(i.Fragment,null,e),r):null}function c({data:e,form:t,disabled:r,onReset:l,overrides:u}){let[c,f]=(0,i.useState)(null),m=(0,n.G)();return(0,i.useEffect)(()=>{if(l&&c)return m.addEventListener(c,"reset",l)},[c,t,l]),i.createElement(p,null,i.createElement(d,{setForm:f,formId:t}),(0,a.t)(e).map(([e,l])=>i.createElement(o._,{features:o.x.Hidden,...(0,s.oA)({key:e,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:t,disabled:r,name:e,value:l,...u})})))}function d({setForm:e,formId:t}){return(0,i.useEffect)(()=>{if(t){let r=document.getElementById(t);r&&e(r)}},[e,t]),t?null:i.createElement(o._,{features:o.x.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:t=>{if(!t)return;let r=t.closest("form");r&&e(r)}})}},3324:function(e,t,r){function i(e,t){return e?e+"["+t+"]":t}function l(e){var t,r;let i=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(i){for(let t of i.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type)){t.click();return}null==(r=i.requestSubmit)||r.call(i)}}r.d(t,{g:function(){return l},t:function(){return function e(t={},r=null,l=[]){for(let[n,a]of Object.entries(t))!function t(r,l,n){if(Array.isArray(n))for(let[e,a]of n.entries())t(r,i(l,e.toString()),a);else n instanceof Date?r.push([l,n.toISOString()]):"boolean"==typeof n?r.push([l,n?"1":"0"]):"string"==typeof n?r.push([l,n]):"number"==typeof n?r.push([l,`${n}`]):null==n?r.push([l,""]):e(n,l,r)}(l,i(r,n),a);return l}}})},8461:function(e,t,r){var i=r(959);let l=i.forwardRef(function({title:e,titleId:t,...r},l){return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:l,"aria-labelledby":t},r),e?i.createElement("title",{id:t},e):null,i.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"}))});t.Z=l}}]);
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.