1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1492],{2821:(e,t,o)=>{function l(){for(var e,t,o=0,l="",r=arguments.length;o<r;o++)(e=arguments[o])&&(t=function e(t){var o,l,r="";if("string"==typeof t||"number"==typeof t)r+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(o=0;o<a;o++)t[o]&&(l=e(t[o]))&&(r&&(r+=" "),r+=l)}else for(l in t)t[l]&&(r&&(r+=" "),r+=l);return r}(e))&&(l&&(l+=" "),l+=t);return l}o.d(t,{$:()=>l,A:()=>r});let r=l},35952:(e,t,o)=>{o.d(t,{A:()=>c});var l=o(95155),r=o(88144),a=o(81715),n=o(25016),i=o(33095),s=o(86842);let c=e=>{var t,o,c,d;let{isSkippable:u,soundEffect:p,...m}=e,{play:x}=(0,s.G)({src:p}),{isFirstStep:f}=(0,a.A)(),h=(0,r.A)();return(0,l.jsxs)("button",{...m,onClick:()=>{x(),m.onClick()},className:(0,n.cn)("cta-button group sm:absolute flex justify-center items-center font-medium text-base pt-3.5 pb-3.5 rounded-10 w-[calc(100%-48px)] sm:!min-w-[100px] !min-w-[calc(100vw-48px)] m-auto",h?"static mt-6":(0,n.cn)("fixed right-6 left-6 xs:left-4 xs:right-4 xs:w-[calc(100%-32px)]",{"bottom-14":u,"bottom-6":!u}),!f&&"animate-opacity0To100"),style:{...e.style,opacity:e.disabled?"70%":"100%"},"data-testid":"go-to-next-step",children:[(0,l.jsx)("span",{className:"pr-1 block ".concat(!(null==e||null==(t=e.style)?void 0:t.hideArrow)&&"-ml-[25px]"),children:e.text}),!(null==e||null==(o=e.style)?void 0:o.hideArrow)&&(0,l.jsx)("div",{children:(0,l.jsx)("div",{style:{[i.A.CTA_ARROW_BEFORE_BG]:null==(c=e.style)?void 0:c.color,backgroundColor:null==(d=e.style)?void 0:d.color},className:"cta-arrow transition-all duration-500 absolute before:absolute after:absolute after:rotate-[45deg] before:-rotate-[45deg] h-[2.29px] w-[14.86px] after:h-[2.29px] after:w-[10px] before:h-[2.29px] before:w-[10px] before:top-[3px] after:-top-[3px] ".concat(e.disabled?"":"md:group-hover:w-[32px]"," before:-right-[3.8px] after:-right-[3.8px]")})})]})}},37768:(e,t,o)=>{o.r(t),o.d(t,{default:()=>c});var l=o(95155),r=o(12115),a=o(92629),n=o(43231),i=o(22120),s=o(85299);function c(e){var t,o,c,d,u;let{step:p,moveToNextStep:m,upsellController:x,preserveQueryParams:f=!1}=e,h=(0,r.useRef)(null),v=(0,s.DR)(null!=(o=p.slug)?o:""),w=null==(t=(0,s.Dn)())?void 0:t[null!=(c=p.slug)?c:""],g=p.slug?v||(w?"data:text/html;charset=utf-8,".concat(encodeURIComponent(w)):(0,i.aC)(p.slug))||void 0:(0,i.tV)(null!=(d=p.url)?d:""),b="webviewContainer"===p.type?p.preserveQueryParams:void 0,y=f||b||!1,A=g&&y?(0,i.E4)(g,window.location.search,Array.isArray(y)?y:void 0):g,k=(0,r.useMemo)(()=>({...p,url:A}),[p,A]),{onIframeLoad:C}=(0,n.A)({iframeRef:h,step:k,moveToNextStep:m,capabilities:x?{upsell:x}:void 0}),j=!!p.mobileContainer,N=null!=(u=p.hideProgressBar)?u:!j;return(0,l.jsx)(a.A,{style:{backgroundColor:p.backgroundColor},showFullScreen:p.showFullScreen,hideProgressBar:N,moveToNextStep:j&&p.ctaText?m:void 0,nextButtonConfig:j&&p.ctaText?{text:p.ctaText,style:{backgroundColor:p.ctaBackgroundColor,color:p.ctaTextColor,...p.ctaHoverBackgroundColor&&{hoverBackgroundColor:p.ctaHoverBackgroundColor}}}:void 0,innerContainerStyle:j?{display:"flex",flexDirection:"column"}:{},children:(0,l.jsx)("iframe",{ref:h,src:A,width:"100%",height:"100%",className:j?"w-full flex-1 border-none":"w-full h-dvh ".concat(p.showFullScreen?"":"sm:rounded-40 sm:h-[640px]"),style:j?{display:"block",border:"none",minHeight:0}:{display:"block",position:"relative",border:"none"},sandbox:"allow-scripts allow-same-origin allow-forms allow-popups",allow:p.allowPayment?"payment":void 0,onLoad:C})})}},51948:(e,t,o)=>{o.d(t,{A:()=>n});var l=o(95155),r=o(81715),a=o(84591);function n(e){let{className:t="",style:o={}}=e,{onboarding:n,onboardingProgress:i}=(0,r.A)(),{isMobile:s}=(0,a.A)();if(!n.logoWithProgressBar)return(0,l.jsx)("div",{className:"pt-[80px] md:pt-[98px]"});
1let{logoImage:c,logoWidth:d,progressBarBackground:u,progressBarColor:p,logoHeightMobile:m,logoHeight:x,logoWidthMobile:f}=n.logoWithProgressBar;return(0,l.jsxs)("header",{className:"pt-[24px] md:pt-[40px] max-w-[570px] m-auto ".concat(t," z-30"),style:o,children:[(0,l.jsx)("div",{style:{backgroundImage:"url(".concat(c,")"),width:s?f:d,height:s?m:x},className:"bg-contain bg-no-repeat bg-center mx-auto min-h-[40px]"}),(0,l.jsx)("div",{className:"h-[4px] mt-3 rounded-[2.5px]",style:{background:u},children:(0,l.jsx)("div",{style:{background:p,width:"".concat(i||1,"%")},className:"h-[4px] rounded-[2.5px]"})})]})}},88144:(e,t,o)=>{o.d(t,{A:()=>n});var l=o(12115);let r=null;function a(){return!!window.visualViewport&&(null===r&&(r=window.visualViewport?window.visualViewport.height:0),r-300>window.visualViewport.height)}function n(){let[e,t]=(0,l.useState)(a);return(0,l.useEffect)(()=>{let e=window.visualViewport;if(!e)return;let o=()=>t(a());return e.addEventListener("resize",o),()=>e.removeEventListener("resize",o)},[]),e}},92629:(e,t,o)=>{o.d(t,{A:()=>c});var l=o(95155),r=o(12115),a=o(51948),n=o(35952),i=o(88144),s=o(81715);function c(e){var t,o;let{style:c={},moveToNextStep:d,nextButtonConfig:u,innerContainerStyle:p={},children:m,isAutoNext:x,shouldFadeOut:f=!0,shouldFadeIn:h=!0,showFullScreen:v=!1,hideProgressBar:w=!1,progressBarStyle:g={},fadeOutDuration:b,fadeInDuration:y,animateOut:A}=e,[k,C]=(0,r.useState)(!1);(0,r.useEffect)(()=>{A&&C(!0)},[A]);let j=(0,i.A)(),[N,B]=(0,r.useState)(!1),{isFirstStep:E,onboarding:S}=(0,s.A)();(0,r.useEffect)(()=>{let e;if(x)return e=setTimeout(()=>{T()},6e3),()=>clearInterval(e)},[]);let T=()=>{f&&C(!0),d&&d()};return(0,r.useEffect)(()=>{setTimeout(()=>{B(!0)},(null==u?void 0:u.showButtonsDelay)||0)},[]),(0,l.jsx)("div",{className:"min-h-[100dvh] flex justify-center align-center items-center bg-cover no-repeat bg-fixed",style:c,children:(0,l.jsxs)("main",{style:{...p,animationFillMode:"forwards",animationDuration:k?"".concat(null!=b?b:400,"ms"):"".concat(null!=y?y:500,"ms"),...j&&!v&&{flexDirection:"column",position:"fixed",top:"30%",translate:"transformY(-30%)",paddingTop:"102px",maxWidth:"100vw",overflowY:"hidden"}},className:"".concat(k&&"animate-fadeoutLinear"," ").concat(h&&!E&&"animate-fadeInLinear"," m-auto ").concat(v?"min-h-[100dvh]":"xs:min-h-max min-h-640 sm:max-w-360 sm:w-360"," relative w-full h-full sm:rounded-40 bg-center bg-cover bg-no-repeat md:bg-contain"),children:[!w&&(null==S?void 0:S.logoWithProgressBar)&&(0,l.jsx)(a.A,{className:"fixed md:!pt-6 top-0 right-6 left-6 md:left-0 md:right-0 lg:max-w-[312px]",style:g}),m,u&&d&&N&&(0,l.jsx)("div",{className:(null==(t=u.wrapper)?void 0:t.className)||"",style:(null==(o=u.wrapper)?void 0:o.style)||{},children:(0,l.jsx)(n.A,{text:u.text,soundEffect:u.soundEffect,onClick:T,style:u.style,disabled:u.disabled,isSkippable:u.isSkippable})})]})})}}}]);
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.