PageSourceSearch

https://cortisoldetox.com/_next/static/chunks/4690.f4ca45027a026e3f.js

js cortisoldetox.com collected 2026-09-24 12:45:40 UTC 10,576 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="30edb414-397b-4efd-b11f-d21932a81166",e._sentryDebugIdIdentifier="sentry-dbid-30edb414-397b-4efd-b11f-d21932a81166")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4690],{24690:function(e,n,t){t.r(n);var l=t(35944),o=t(90914),r=t(48425),i=t(98897),d=t(81015),u=t(86664),s=t(2890),a=t(70786),c=t(70781),v=t(51490),p=t(48334),g=t(35935),h=t(15103),f=t(53507),Z=t(14351),C=t(56640),y=t(58585),m=t(19789),k=t(63637),b=t(84240),w=t(33527),E=t(99770),S=t(7490),L=t(14106),O=t(61456),R=t(4289),T=t(11163),_=t(67294),D=t(47055),U=t(11178),P=t(18307),x=t(95530),B=t(20306),I=t(92975),j=t(53460),q=t(49331),z=t(2280),A=t(90327),V=t(77421),M=t(30202),K=t(80196),N=t(37337),W=t(58666),Q=t(43449),F=t(61094);n.default=()=>{var e,n,t,N,X,Y,$,G,J,ee,en,et,eo,er,ei,ed,eu,es,ea,ec;let ev=(0,T.useRouter)(),{query:ep,asPath:eg,isReady:eh,pathname:ef}=ev,eZ=new URLSearchParams(window.location.search).get("qz")||w.Sz;ev.query.qz||w.Sz;let eC=()=>{switch(ef){case"/start/checkout-email-7":default:return"upgrade/10";case"/start/checkout-email-8":return"upgrade"}},[ey,em]=(0,_.useState)(null),[ek,eb]=(0,_.useState)(!1),[ew,eE]=(0,_.useState)(!1),[eS,eL]=(0,_.useState)(!1),[eO,eR]=(0,_.useState)(!1),eT=(0,_.useRef)({}),{navigateWithSearchParams:e_}=(0,A.H)(ev),{code:eD,quiz_answers:eU,bought_upsells:eP,selected_products:ex,bought_products:eB,upsells_error_counts:eI,setBoughtUpsells:ej,setUpsellsErrorCounts:eq,paperBookCheck:ez,subContainerCheck:eA,ebookCheck:eV,setAnswer:eM,currencyLocale:eK,user:eN,setSelectedProducts:eW,setBoughtProducts:eQ,geolocation:eF}=(0,S.LM)(),eH=(0,j.h)("sc_"),{staticData:eX,projectData:eY,productsData:e$}=(0,E.tL)(eZ,eK),eG=(0,M.NL)(),eJ=null==eX?void 0:eX.upsellsKeys,e0=ey?null==eX?void 0:eX[ey]:null,e1=null!==(es=null==e0?void 0:null===(e=e0.ce7Config)||void 0===e?void 0:e.product)&&void 0!==es?es:null==e0?void 0:null===(n=e0.products)||void 0===n?void 0:n[0],e7=null==e$?void 0:e$.find(e=>e.key===e1),e4=(0,L.Yo)(e7),e3=(0,_.useRef)(null),e5=e=>{if(void 0===e)return;let n=eT.current[e];n&&n.scrollIntoView({behavior:"smooth",block:"center"})},e9=()=>{eL(!1),eO?eR(!1):eR(!0)},e6=()=>{var e,n;if(!(null==e0?void 0:null===(e=e0.ce7Config)||void 0===e?void 0:e.skip))return;let t=null==e0?void 0:null===(n=e0.ce7Config)||void 0===n?void 0:n.skip;ev.push({pathname:ef,query:{...ep,upgrade:t.split("/")[1]}},void 0,{shallow:!0,scroll:!0})},e8=(e,n)=>{if(eL(!1),eW([e]),nt([e]),nl("".concat(location.pathname).concat(location.search)),!eO&&(ef.includes("checkout-email-8")||nu&&ef.includes("checkout-email-7"))){eL(!0),setTimeout(()=>{e5(n)},100);return}eE(!0),setTimeout(()=>{var e;null===(e=e3.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center"})},0)},e2=()=>{console.log("scrolling to xsell section")},{isLoading:ne,errorMessage:nn,updatePayment:nt,updatePaymentUrl:nl,updatePaymentCoupon:no,isReady:nr,handleSetErrorMessage:ni,readyPaymentMethods:nd}=(0,x.Ig)(eY,null!=ex?ex:[],eD,e=>{var n;let{code:t,selected_products:l,email:o,subContainerCheck:r,paperBookCheck:i,ebookCheck:d,quiz_answers:u}=S.oR.getState().user;(0,I.Qc)(null!=t?t:"",null==e?void 0:e.order_id,null!=l?l:[]),eQ(null!=l?l:[]),eG.invalidateQueries({queryKey:["user"]}),document.cookie="hasBoughtApp=true; path=/",e_("/start/success",{hasBoughtApp:(null==eX?void 0:null===(n=eX.success)||void 0===n?void 0:n.webAppVersion)?void 0:"true"})},void 0,void 0,void 0),nu=(0,F.S)(null==eX?void 0:eX.regionsRenderV2),ns=(0,q.q)(),na={},nc=(e,n)=>{var t,w,E,S,L,T;let _="".concat(e.type,"-").concat(n),D=e;if(!e0)return(0,l.tZ)("p",{children:"loading..."});switch(e.ce7Overrides&&(D=(0,B.R)(e,e.ce7Overrides)),D.type){case"benefitSection":return(0,l.tZ)(d.Z,{...D},_);case"benefitSectionCoach":return(0,l.tZ)(u.Z,{...D,isLoading:!1,onCancel:e6,onUpgrade:()=>e8(e7,n),product:e4,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn,hideButton:!(null==e0?void 0:null===(t=e0.ce7Config)||void 0===t?void 0:t.skip),tnc:null==e0?void 0:null===(w=e0.ce7Config)||void 0===w?void 0:w.tnc,handleTncCheck:nu?e9:void 0,tncAccepted:eO,tncErrorRef:{get current(){return eT.current[n]},set current(el){eT.current[n]=el}},shouldShowTncError:eS,upgradeConfig:null==eX?void 0:eX.upgradeConfig,hasCardSkipButton:!nu,isUserV2:nu},_);case"list":return(0,l.tZ)(f.Z,{...D},_);case"reviews":return(0,l.tZ)(o.Z,{...D},_);case"planCard":return(0,l.tZ)(R._bV,{...D,isLoading:ne,onCancel:e6,onUpgrade:e8,product:e4,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn},_);case"bundlePlanCard":return(0,l.tZ)(a.Z,{...D,isLoading:ne,onCancel:e6,onUpgrade:e8,product:e4,bundlePhoto:null==eX?void 0:eX.bundlePhoto,upsellsData:null==eX?void 0:eX.upsellsData,upsellsKeys:eJ,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn},_);case"bundleList":return(0,l.tZ)(s.Z,{...D,upsellsKeys:eJ,upsellsData:null==eX?void 0:eX.upsellsData},_);case"multiVariantListWithDivider":return(0,l.tZ)(b.Z,{...D,upsellsKeys:eJ,upsellsData:null==eX?void 0:eX.upsellsData},_);case"sectioneOneSpecialUpgrade":return(0,l.tZ)(C.Z,{...D,isLoading:ne,onCancel:e6,onUpgrade:e8,product:e4,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn},_);case"sectioneTwoSpecialUpgrade":return(0,l.tZ)(y.Z,{...D,isLoading:ne,onCancel:e6,onUpgrade:e8,product:e4,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn},_);case"sectionOneLifetime":return(0,l.tZ)(m.Z,{...D,isLoading:!1,onCancel:e6,onUpgrade:()=>e8(e7,n),product:e4,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn,hideButton:!(null==e0?void 0:null===(E=e0.ce7Config)||void 0===E?void 0:E.skip),tnc:null==e0?void 0:null===(S=e0.ce7Config)||void 0===S?void 0:S.tnc,handleCheckBoxCheck:e9,tncAccepted:eO,tncErrorRef:{get current(){return eT.current[n]},set current(el){eT.current[n]=el}},showTnCerror:eS},_);case"lifetimeCardOnly":return(0,l.tZ)(g.Z,{...D,isLoading:!1,onCancel:e6,onUpgrade:()=>e8(e7,n),product:e4,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn,hideButton:!(null==e0?void 0:null===(L=e0.ce7Config)||void 0===L?void 0:L.skip),tnc:null==e0?void 0:null===(T=e0.ce7Config)||void 0===T?void 0:T.tnc,handleCheckBoxCheck:e9,tncAccepted:eO,tncErrorRef:{get current(){return eT.current[n]},set current(el){eT.current[n]=el}},showTnCerror:eS},_);case"xsellSection":return(0,l.tZ)(k.Z,{...D,onClick:e2,isThreeMonths:!1,upgradeConfig:null==eX?void 0:eX.upgradeConfig},_);case"xsellInfoCards":return(0,l.tZ)(r.Z,{...D},_);case"progressTimeline":return(0,l.tZ)(Z.Z,{...D},_);case"cardReviews":return(0,l.tZ)(c.Z,{...D,onClick:e2},_);case"collapsibleFAQ":return(0,l.tZ)(R.qRt,{...D,theme:O.rS},_);case"xsellChart":return(0,l.tZ)(R.hZK,{...D},_);case"cardReviews":return(0,l.tZ)(c.Z,{...D},_);case"checkmarkList":return(0,l.tZ)(R.utj,{...D},_);case"lifetimeChart":return(0,l.tZ)(h.Z,{...D},_);case"customLifetimeChart":return(0,l.tZ)(p.Z,{...D},_);case"featureHighlightList":return(0,l.tZ)(R.uUd,{...D},_);
1case"coachCards":return(0,l.tZ)(v.Z,{...D},_);case"xsellPlanCard":return(0,l.tZ)("div",{ref:null,children:(0,l.tZ)(i.Z,{...D,isLoading:!1,onUpgrade:e8,product:e4,disabled:eI[null==e4?void 0:e4.key]>=5,hasErrors:!!nn,isThreeMonths:!1,onCancel:e6,upgradeConfig:null==eX?void 0:eX.upgradeConfig})},_);case"reviewsWithImages":return(0,l.tZ)(K.Z,{...e,onClick:e2},_);case"disclaimer":return na=D,null;default:return null}};(0,_.useEffect)(()=>{eh&&e0&&e7&&(eW([e7]),nt([e7]),nl("".concat(location.pathname).concat(location.search)))},[eh,e0,e7,eW]),(0,_.useEffect)(()=>{eD&&Object.keys(eH).length>0&&Object.keys(eU).length>0&&(ns.mutate({code:eD,answers:{...eU,...eH}}),Object.keys(eH).length>0&&Object.entries(eH).forEach(e=>{let[n,t]=e;eM(n,t)}))},[Object.keys(eH).length,Object.keys(eU).length]),(0,_.useEffect)(()=>{var e;if(!eh)return;let n=ep.upgrade?"upgrade/".concat(ep.upgrade):null,t=null!==(e=eC())&&void 0!==e?e:"upgrade/10",l=null!=n?n:t;em(e=>e===l?e:l)},[eh,ep.upgrade,ef]);let nv=null==e0?void 0:e0.modal,np=!nu&&ev.pathname.includes("checkout-email-7")?ew:ew&&eO;return((0,_.useEffect)(()=>{nv&&eb(!0)},[nv]),(0,_.useEffect)(()=>{var e,n;(null==e0?void 0:null===(e=e0.ce7Config)||void 0===e?void 0:e.skip)&&ev.prefetch("/start/checkout-email-7?upgrade=".concat(null==e0?void 0:null===(n=e0.ce7Config)||void 0===n?void 0:n.skip))},[e0]),(0,_.useEffect)(()=>{eE(!1)},[ep]),(0,_.useEffect)(()=>{if(eZ===w.Sz||nu){eR(!1);return}eR(!0)},[eZ,nu]),eh&&e0&&e$)?(0,l.BX)(D.Z,{pageTitle:"Get Your Results",pageDescription:"Enter your email to get your personalized results",children:[(0,l.tZ)(W.Z,{path:ef}),(0,l.tZ)(R.W_F,{theme:O.rS,hideCount:!0,hasProgress:!1,logo:(0,l.tZ)(U.Z,{})}),null==e0?void 0:null===(t=e0.sections)||void 0===t?void 0:t.map((e,n)=>nc(e,n)),(0,l.tZ)(H,{ref:e3,arePaymentsOpen:np,children:(0,l.tZ)(P.Z,{isOpenPayments:!0,errorMessage:nn,isExclusivePayments:!0,isXsell:!1,updatePaymentCoupon:no,hideSubtitle:!0,inverted:null==e0?void 0:null===(X=e0.ce7Config)||void 0===X?void 0:null===(N=X.payments)||void 0===N?void 0:N.inverted,appVariantOverride:!0,hideTotal:!0,isReady:nr,resetPaymentsErrorMessage:()=>{ni("")},readyPaymentMethods:nd,paymentMethodsToLoad:null!==(ec=Object.keys(null!==(ea=null==eY?void 0:null===(Y=eY.gateway)||void 0===Y?void 0:Y.prepare_urls)&&void 0!==ea?ea:{}))&&void 0!==ec?ec:[]})}),na&&(nu&&(null==eX?void 0:null===($=eX.config)||void 0===$?void 0:$.footer)?(0,l.tZ)(Q.Z,{config:null==eX?void 0:eX.config.footer,isBgPrimary:np?null==e0?void 0:null===(J=e0.ce7Config)||void 0===J?void 0:null===(G=J.payments)||void 0===G?void 0:G.inverted:!(null==e0?void 0:null===(en=e0.ce7Config)||void 0===en?void 0:null===(ee=en.payments)||void 0===ee?void 0:ee.inverted)}):(0,l.tZ)(R.emE,{theme:O.rS,disclaimer:null==na?void 0:null===(et=na.disclaimer)||void 0===et?void 0:et.map(e=>e.replaceAll("${projectName}",w.O).replaceAll("${siteUrl}",w._O)),isWhiteSection:np?null==e0?void 0:null===(er=e0.ce7Config)||void 0===er?void 0:null===(eo=er.payments)||void 0===eo?void 0:eo.inverted:!(null==e0?void 0:null===(ed=e0.ce7Config)||void 0===ed?void 0:null===(ei=ed.payments)||void 0===ei?void 0:ei.inverted)})),nv&&ek&&(0,l.tZ)(V.Z,{isOpen:ek,onClose:()=>eb(!1),...e0.modal,text:null==e0?void 0:null===(eu=e0.modal)||void 0===eu?void 0:eu.ce7Text,product:e4,upgradeConfig:null==eX?void 0:eX.upgradeConfig})]}):(0,l.tZ)(z.Z,{})};let H=(0,N.Z)("div",{target:"espz6hi0"})("display:",e=>{let{arePaymentsOpen:n}=e;return n?"block":"none"},";")}}]);

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.