1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3870],{3870:(e,l,t)=>{t.r(l),t.d(l,{DefaultSelectedPlanDetails:()=>y,PriceTag:()=>b,SelectedPlan:()=>C,StrikeThroughPrice:()=>k,default:()=>w});var r=t(95155),s=t(18955),i=t(20063),a=t(22120),n=t(15534),o=t(93981);let c=e=>(0,r.jsx)("svg",{width:"98",height:"57",viewBox:"0 0 98 57",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.jsx)("path",{d:"M13.1436 3.54814C14.3866 1.35525 16.7126 0 19.2333 0H91C94.866 0 98 3.13401 98 7V50C98 53.866 94.866 57 91 57H19.2333C16.7126 57 14.3866 55.6448 13.1436 53.4519L0.956641 31.9519C-0.257074 29.8107 -0.257074 27.1893 0.95664 25.0481L13.1436 3.54814Z",fill:e.fill||"#ECEAFF"})}),d=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"86",height:"57",viewBox:"0 0 86 57",fill:"none",children:[(0,r.jsx)("path",{d:"M13.0977 3.54814C14.3407 1.35525 16.6667 0 19.1874 0H78.9541C82.8201 0 85.9541 3.13401 85.9541 7V50C85.9541 53.866 82.8201 57 78.9541 57H19.1874C16.6667 57 14.3407 55.6448 13.0977 53.4519L0.910743 31.9519C-0.302971 29.8107 -0.302972 27.1893 0.910742 25.0481L13.0977 3.54814Z",fill:"url(#paint0_linear_13503_11829)"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_13503_11829",x1:"81.6471",y1:"55.6806",x2:"-4.34391",y2:"26.7538",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#00D6BC"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#8DE251"})]})})]}),h=e=>{let{isGradient:l,...t}=e;return l?(0,r.jsx)(d,{...t}):(0,r.jsx)(c,{...t})};var p=t(85203),x=t.n(p),u=t(80220),m=t(9237),g=t(89242),f=t(52523),j=t(14365);let y=e=>{let{plan:l,planDetailsStyles:t,appId:o,discount:c,orderSummary:d,prediscountPrice:h,prediscountPricePerDay:p,language:y}=e,k=t.priceType||"normal",b=(0,i.useSearchParams)().get("discount")||c,w=(0,s.c)("Checkout.plan-details"),N=(0,a.k4)(o),{trialInDays:v,formattedSetupFee:T,formattedPrice:P,periodInMonths:D,pricePerDayWithSymbol:B,formattedPriceWithSymbol:S}=(0,n.A)({plan:l});return(0,r.jsxs)("div",{className:x()("flex flex-col gap-5 mt-6",{"px-6 pt-6 md:px-8 md:pt-8 rounded-t-48":t.containerBackgroundColor,"!gap-4":t.subscriptionGiftBanner}),style:{background:t.containerBackgroundColor||"transparent"},"data-testid":"default-plan-details",children:[l.hasTrial&&(0,r.jsx)(C,{title:w("selected-title"),rowTitle:w("app-premium-title-with-trial",{appName:N,trialInDays:v}),price:T,introStrikeThroughPrice:t.introStrikeThrough?S:void 0,paragraph:w.rich("app-premium-paragraph",{trialInDays:v,appName:N,bold:e=>(0,r.jsx)("span",{style:{fontWeight:"700"},children:e})}),planDetailsStyles:t}),t.subscriptionGiftBanner&&(()=>{let{planFilter:e,...s}=t.subscriptionGiftBanner;return(0,g.R)(e,l.code)?(0,r.jsx)("div",{className:"w-full flex items-center justify-center",children:(0,r.jsx)(m.A,{...s,className:"max-w-[328px] mb-1"})}):null})(),t.focusFlowUpsellBanner&&(()=>{let{planFilter:e,...s}=t.focusFlowUpsellBanner;return(0,j.l)(e,l.code)?(0,r.jsx)("div",{className:"w-full flex items-center justify-center",children:(0,r.jsx)(f.A,{...s,className:"mb-1"})}):null})(),(0,r.jsx)(C,{title:w(l.hasTrial?"after-trial-title":"selected-title"),rowTitle:w("app-premium-title",{appName:N}),price:"normal"===k?P:S,prediscountPrice:h,planDetailsStyles:t,period:"strikeThroughMonthly"===k?w("per-month",{numberOfMonths:D}):"strikeThroughDaily"===k||"strikeThroughMonthlyAndDaily"===k?w("per-day",{numberOfDays:1}):void 0,periodInMonths:D,pricePerDay:B,prediscountPricePerDay:p,priceType:k}),"normal"===k&&(0,r.jsxs)("div",{className:"flex text-11 md:text-13 leading-3 md:leading-4 font-medium -mt-4",children:[!!b&&(0,r.jsx)("p",{className:"font-bold px-3 py-1 rounded-full",style:{color:t.discountColor,background:t.discountBackgroundColor},children:"".concat(w("saved")," ").concat(b,"%")}),(0,r.jsx)("p",{className:"flex-1 text-right",style:{color:t.cycleColor},children:w("billed-every",{numberOfMonths:D})})]}),t.terms&&(0,r.jsx)(u.A,{className:"!mt-0",language:y||"en",terms:t.terms,plan:l,appId:o})]})},C=e=>{let{title:l,paragraph:t,rowTitle:i,price:a,introStrikeThroughPrice:n,prediscountPrice:o,prediscountPricePerDay:c,pricePerDay:d,period:h,periodInMonths:p,planDetailsStyles:x,priceType:u="normal"}=e,m="font-bold text-sm leading-4 md:text-lg md:leading-[22px] min-w-20",g=(0,s.c)("Checkout.plan-detail
1s");return(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"tracking-widest uppercase px-4 py-1.5 font-semibold text-11 lg:text-[14px] mb-4 max-w-fit m-auto rounded-[90px] leading-3 md:leading-4 text-center",style:{background:x.titleBackgroundColor,color:x.titleColor},children:l}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-1.6 flex items-center justify-between w-full gap-4",style:{color:x.textColor},children:[(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("p",{className:m,children:i}),"strikeThroughMonthlyAndDaily"===u&&(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(k,{price:o||"",textColor:x.strikeThroughPriceColor||"",strikeThroughColor:x.strikeThroughColor||""}),(0,r.jsx)("p",{className:"text-13 font-bold",children:"".concat(a," ").concat(g("per-month",{numberOfMonths:p||1}))})]})]}),(0,r.jsxs)("div",{className:"flex-1 relative",children:[(0,r.jsx)("hr",{className:"px-2 md:px-4 flex-1",style:{background:x.hrColor}}),"normal"===u?null:(0,r.jsx)(k,{price:("strikeThroughMonthly"===u?o:c)||"",textColor:x.strikeThroughPriceColor||"",strikeThroughColor:x.strikeThroughColor||"",className:"absolute right-0"})]}),(()=>{if("normal"!==u){let e="strikeThroughMonthly"===u?a:d;return(0,r.jsx)(b,{price:e||"",period:h||""})}return n?(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(k,{price:n,textColor:x.strikeThroughPriceColor||"",strikeThroughColor:x.strikeThroughColor||"",className:"text-sm md:text-base"}),(0,r.jsx)("p",{className:m,children:a})]}):(0,r.jsx)("p",{className:m,children:a})})()]}),t&&(0,r.jsx)("p",{className:"font-medium text-13 md:text-base md:leading-5 pt-2",style:{color:x.subtitleColor},children:t})]})]})},k=e=>{let{price:l,textColor:t,strikeThroughColor:s,className:i}=e;return(0,r.jsx)("p",{style:{color:s},className:x()("text-13 font-medium right-0 line-through",i),children:(0,r.jsx)("span",{style:{color:t},children:l})})},b=e=>{let{price:l,period:t,backgroundColor:s,textColor:i,isGradient:a=!1}=e;return(0,r.jsxs)("div",{className:"relative w-fit",children:[(0,r.jsx)(h,{width:100,height:100,fill:s,isGradient:a}),(0,r.jsxs)("div",{style:{color:i},className:"flex flex-col items-center justify-center absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2 w-full ml-1 text-[#251C93]",children:[(0,r.jsx)("p",{style:{lineHeight:"normal"},className:"text-17 font-bold",children:l}),(0,r.jsx)("p",{style:{lineHeight:"normal"},className:"text-13 font-medium",children:t})]})]})},w=e=>{let{plan:l,planDetailsStyles:t,appId:s,discount:i,charge:a,awaitForCharge:n,orderSummary:c,prediscountPrice:d,prediscountPricePerDay:h}=e;return n?null:a&&l?(0,r.jsx)(o.A,{charge:a,plan:l,orderSummary:c}):(0,r.jsx)(y,{plan:l,planDetailsStyles:t,appId:s,discount:i,orderSummary:c,prediscountPrice:d,prediscountPricePerDay:h})}},89242:(e,l,t)=>{t.d(l,{R:()=>r});let r=(e,l)=>{if(!e||!l)return!0;let t=e.planCodes.includes(l);return"include"===e.type?t:!t}}}]);
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.