PageSourceSearch

https://cdn-web.mediately.co/_next/static/chunks/dynamic::PaywallModal.8808ea1d0539e783.js

js mediately.co collected 2026-10-01 11:47:23 UTC 18,639 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4379,4733],{21671:(e,t,i)=>{i.d(t,{AF:()=>x,Ay:()=>p,ab:()=>m,dI:()=>w,zJ:()=>u,zM:()=>h});var a=i(37876),n=i(89661),l=i(14232),r=i(36641),o=i(15836),s=i(5646),d=i(83242);let c=[{title:"paywall_comparison_benefit_elly",proOnly:!0},{title:"paywall_comparison_benefit_rou",proOnly:!0},{title:"paywall_comparison_benefit_interactions",proOnly:!0},{title:"paywall_comparison_benefit_shortcuts",proOnly:!0,appOnly:!0},{title:"paywall_comparison_offline",proOnly:!0,appOnly:!0},{title:"paywall_comparison_benefit_drug_info",proOnly:!1},{title:"paywall_comparison_benefit_icd_atc",proOnly:!1},{title:"paywall_comparison_benefit_tools",proOnly:!1}],p=({alwaysExpanded:e=!1,featureColumnLabel:t,className:i})=>{let[s,d]=l.useState(!1);return(0,a.jsxs)(y,{className:i,children:[(0,a.jsxs)(w,{children:[(0,a.jsxs)(u,{children:[(0,a.jsx)(m,{children:t}),(0,a.jsx)(h,{children:"FREE"}),(0,a.jsx)(h,{$proCol:!0,children:(0,a.jsx)(x,{children:"PRO"})})]},"header"),c.map((t,i)=>!(i>2)||s||e?(0,a.jsxs)(u,{children:[(0,a.jsxs)(m,{children:[(0,a.jsx)(n.sA,{id:t.title}),t.appOnly&&(0,a.jsx)(r.A,{variant:"blue",children:(0,a.jsx)(n.sA,{id:"paywall_comparison_app_tag"})})]}),(0,a.jsx)(h,{children:t.proOnly?(0,a.jsx)(g,{}):(0,a.jsx)(o.A,{})}),(0,a.jsx)(h,{$proCol:!0,children:(0,a.jsx)(o.A,{})})]},t.title):null)]}),!e&&(0,a.jsx)(f,{variant:"plain",onClick:()=>d(!s),children:(0,a.jsx)(n.sA,{id:s?"paywall_comparison_see_less":"paywall_comparison_see_more"})})]})},y=s.Ay.div.withConfig({componentId:"sc-caeb87e3-0"})(["display:flex;flex-direction:column;margin-bottom:20px;width:100%;"]),u=s.Ay.div.withConfig({componentId:"sc-caeb87e3-1"})(["display:flex;flex-direction:row;"]),m=s.Ay.div.withConfig({componentId:"sc-caeb87e3-2"})(["align-items:center;display:flex;flex:1;font-size:",";gap:10px;padding:12px 0;"],e=>e.theme.font.size.xs),h=s.Ay.div.withConfig({componentId:"sc-caeb87e3-3"})(["align-items:center;display:flex;font-size:",";font-weight:700;justify-content:center;margin-right:16px;padding:8px 0;width:64px;svg{path{fill:var(--aqua-200);}height:16px;width:16px;}",""],e=>e.theme.font.size.xs,e=>e.$proCol&&(0,s.AH)(["background-color:#0f388a14;font-weight:500;margin-right:0;"])),g=s.Ay.div.withConfig({componentId:"sc-caeb87e3-4"})(["width:14px;height:2px;background-color:var(--color-text-light);border-radius:1px;"]),x=s.Ay.div.withConfig({componentId:"sc-caeb87e3-5"})(["background-color:var(--blue-blue450);border-radius:8px;color:",";padding:2px 8px;"],e=>e.theme.color.white),w=s.Ay.div.withConfig({componentId:"sc-caeb87e3-6"})(["display:flex;flex-direction:column;margin-bottom:8px;padding:16px 16px 0 16px;width:100%;",":first-child ",":last-child{border-top-left-radius:8px;border-top-right-radius:8px;}",":last-child ",":last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px;}"],u,h,u,h),f=(0,s.Ay)(d.lD).withConfig({componentId:"sc-caeb87e3-7"})(["align-items:start;justify-content:start;padding:10px 16px;text-decoration:underline;width:fit-content;"])},35723:(e,t,i)=>{i.r(t),i.d(t,{Currency:()=>Q,DISCOUNTS_PER_VARIANT:()=>ee,default:()=>ea});var a,n=i(37876),l=i(89432),r=i(8233),o=i(55689),s=i(5352),d=i(60843),c=i(89099),p=i(14232),y=i(26388),u=i(5646),m=i(88731),h=i(48230),g=i.n(h),x=i(36641),w=i(15836);let f=({rcPackage:e,variant:t,locale:i,discountsPerVariant:a,isSelected:l,onClick:r})=>{let o=e.webBillingProduct.title,s=a[t]?.[i]?.[o],d=!!s?.discountPercentage,c=s?.discountPercentage;return(0,n.jsx)(A,{$isSelected:l,onClick:r,children:(0,n.jsxs)(_,{children:[(0,n.jsxs)(v,{children:[e.webBillingProduct.title,d&&(0,n.jsxs)(j,{$variant:t,children:["-",c,"%"]}),(0,n.jsx)(b,{$isSelected:l,children:(0,n.jsx)(w.A,{})})]}),(0,n.jsx)(I,{children:e.webBillingProduct.currentPrice.formattedPrice})]})})},_=u.I4.div.withConfig({componentId:"sc-d4a5bc86-0"})(["display:flex;flex-direction:column;width:100%;color:var(--blue-blue150);"]),b=u.I4.div.withConfig({componentId:"sc-d4a5bc86-1"})(["margin-left:auto;width:24px;height:24px;border-radius:50%;border:2px solid rgba(15,56,138,0.3);flex-shrink:0;display:flex;align-items:center;justify-content:center;svg{display:none;width:10px;height:10px;color:#fff;}",""],e=>e.$isSelected&&(0,u.AH)(["background:var(--blue-blue300);border:2px solid var(--blue-blue300);svg{display:block;}"])),v=u.I4.div.withConfig({componentId:"sc-d4a5bc86-2"})(["font-size:18px;display:flex;align-items:center;gap:6px;margin-bottom:4px;font-weight:600;width:100%;@media (max-width:","){font-size:16px;}"],e=>e.theme.gridBreakpoints.smMax),j=(0,u.I4)(x.A).withConfig({componentId:"sc-d4a5bc86-3"})(["display:inline-flex;min-width:22px;padding:3px 6px;justify-content:center;align-items:center;gap:4px;border-radius:6px;background:var(--Label-blue_bg,rgba(90,140,242,0.2));border:none;color:var(--blue-blue300);"]),I=u.I4.div.withConfig({componentId:"sc-d4a5bc86-4"})(["font-size:14px;line-height:20px;"]),A=u.I4.div.withConfig({componentId:"sc-d4a5bc86-5"})(["padding:16px 20px;border-radius:12px;background:rgba(15,56,138,0.08);display:flex;min-width:220px;flex-direction:column;flex:1;cursor:pointer;border:2px solid transparent;transition:border-color 0.2s,background-color 0.2s;",""],e=>e.$isSelected&&(0,u.AH)(["border:2px solid var(--blue-blue300);background:rgba(15,56,138,0.15);"]));var C=i(89661),k=i(78459),R=i(13626),N=i(13921),P=i(58692),M=i(25545),S=i(25199),E=i(5780),O=i(99192),z=i(21671),$=i(29022),B=i(
150370),K=i(17433),U=i(61368),D=i(46456);let V=(0,u.i7)(["0%{background-position:0% 50%;}50%{background-position:100% 50%;}100%{background-position:0% 50%;}"]),T=(0,u.i7)(["0%{opacity:0;}10%{opacity:1;}16.5%{opacity:1;}16.6%{opacity:0;}100%{opacity:0;}"]),Y=(0,u.i7)(["0%{transform:translateY(10px);opacity:0;}15%{transform:translateY(0);opacity:1;}16.5%{transform:translateY(0);opacity:1;}16.6%{transform:translateY(0);opacity:0;}100%{transform:translateY(0);opacity:0;}"]),F=[{text:"pywl_animation_intro",icon:!0,searchExample:null},...Array.from({length:5},(e,t)=>t).map(e=>({text:`pywl_animation_question_type_${e+1}`,searchExample:`pywl_animation_question_example_${e+1}`,icon:!1}))],H=()=>{let{messages:e}=(0,C.tz)();return(0,n.jsx)(L,{children:(0,n.jsx)(X,{children:F.map((t,i)=>(0,n.jsxs)(q,{$index:i,$noOfSlides:F.length,children:[(0,n.jsx)(W,{dangerouslySetInnerHTML:{__html:e[t.text]}}),t.icon&&(0,n.jsx)(J,{children:(0,n.jsx)(U.A,{})}),t.searchExample&&(0,n.jsxs)(G,{$index:i,$noOfSlides:F.length,children:[(0,n.jsx)(D.A,{}),(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e[t.searchExample]}})]})]},t.text))})})},L=u.I4.div.withConfig({componentId:"sc-f1a4f745-0"})(["width:100%;height:240px;background:linear-gradient( 135deg,#1a3a8f 0%,#1e4ba8 25%,#2259b8 50%,#1e4ba8 75%,#1a3a8f 100% );background-size:200% 200%;animation:"," 4s ease infinite;display:flex;align-items:center;justify-content:center;overflow:hidden;"],V),X=u.I4.div.withConfig({componentId:"sc-f1a4f745-1"})(["position:relative;display:flex;align-items:center;justify-content:center;"]),q=u.I4.div.withConfig({componentId:"sc-f1a4f745-2"})(["position:absolute;display:flex;flex-direction:column;align-items:center;text-align:center;animation:"," ","s ease-in-out infinite;animation-delay:","s;opacity:0;"],T,({$noOfSlides:e})=>2*e,({$index:e})=>2*e),W=u.I4.span.withConfig({componentId:"sc-f1a4f745-3"})(["color:white;font-size:24px;font-weight:600;max-width:90vw;width:max-content;text-align:center;"]),J=u.I4.span.withConfig({componentId:"sc-f1a4f745-4"})(["margin-top:4px;svg{width:24px;height:24px;path{fill:#fff;}}"]),G=u.I4.div.withConfig({componentId:"sc-f1a4f745-5"})(["display:flex;align-items:center;gap:8px;color:rgba(255,255,255,0.9);font-size:14px;font-weight:400;margin-top:8px;padding:8px 16px;border:1px solid #fff;border-radius:32px;animation:"," ","s ease-in-out infinite;animation-delay:","s;opacity:1;max-width:320px;svg{flex-shrink:0;width:22px;height:22px;path{fill:#fff;}}"],Y,({$noOfSlides:e})=>2*e,({$index:e})=>2*e);var Z=i(32446),Q=((a={}).EUR="EUR",a.USD="USD",a.MXN="MXN",a);let ee={welcome_30:{...(0,S.yh)().reduce((e,t)=>(e[t]={Yearly:{discountPercentage:30},Monthly:{}},e),{}),it:{Yearly:{discountPercentage:50},Monthly:{}}},elly_limit:{...(0,S.yh)().reduce((e,t)=>(e[t]={Yearly:{discountPercentage:17},Monthly:{}},e),{})},elly_discount:{...(0,S.yh)().reduce((e,t)=>(e[t]={Yearly:{discountPercentage:30},Monthly:{}},e),{}),it:{Yearly:{discountPercentage:50},Monthly:{}}},welcome_20:{...(0,S.yh)().reduce((e,t)=>(e[t]={Yearly:{discountPercentage:20},Monthly:{}},e),{})}},et={es:["EUR","USD","MXN"]},ei=({currency:e})=>{switch(e){case"MXN":return(0,n.jsx)(N.A,{});case"USD":return(0,n.jsx)(P.A,{});default:return(0,n.jsx)(M.A,{})}},ea=({show:e,origin:t,onHide:i,variant:a})=>{let[y,u]=p.useState("EUR"),{user:h}=(0,o.ur)(),x=(()=>{let{user:e,mutateUser:t}=(0,o.ur)(),{mixpanel:i}=(0,r.Hq)();return p.useCallback(async(a,n)=>{if(!e?.user?.subscriber_id||!a)return null;try{let l=d.P.configure({apiKey:"rcb_EMCBbXwUjFvVWvtkAgejPhaBdVsh",appUserId:e.user.subscriber_id}),[r]=(await l.purchase({rcPackage:a})).customerInfo.activeSubscriptions;i?.track(s.ef.SubscriptionStarted,{Native:r,From:n}),t(),setTimeout(t,7e3)}catch(e){e instanceof d.JD&&(e.errorCode,d.O4.UserCancelledError)}},[i,t,e])})(),w=(0,k.d)("register"),{messages:_}=(0,C.tz)(),{locale:b}=(0,c.useRouter)(),v=((e,t)=>{let[i,a]=p.useState([]),{user:n}=(0,o.ur)(),{locale:l}=(0,c.useRouter)(),r=p.useMemo(()=>d.P.configure({apiKey:"rcb_EMCBbXwUjFvVWvtkAgejPhaBdVsh",appUserId:n?.user?.subscriber_id||d.P.generateRevenueCatAnonymousAppUserId()}),[n.user]),s=p.useCallback(async()=>
1{if(!r)return void a([]);let i=t?`web_discount_${l}`:`web_default_${l}`;try{let t=await r.getOfferings({offeringIdentifier:i,currency:e||void 0});t.all[i]?a(t.all[i].availablePackages):a([])}catch(e){console.log(e),a([])}},[r,l,e,t]);return p.useEffect(()=>{s()},[s]),i})(y,p.useMemo(()=>[R.NR.EllyDiscount,R.NR.Welcome30].includes(a),[a])),[j,I]=p.useState(null);p.useEffect(function(){if(!v||0===v.length)return;let e=v.findIndex(e=>e.identifier.includes("annual"));-1!==e?I(e):I(0)},[v]);let{img:A,animation:N,title:P,bodyKey:M}=p.useMemo(()=>{switch(a){case R.NR.StudentDiscount:return{img:"paywall/student-paywall",title:_.paywall_students_bts_primoz_title,bodyKey:"paywall_students_bts_primoz_description"};case R.NR.RestrictionsOfUse:return{img:"paywall/pilly-paywall",title:_.paywall_pilly_title,bodyKey:"paywall_pilly_body_text"};case R.NR.EllyDiscount:return{img:"paywall/ask-elly-discount",title:_.paywall_web_elly_discount_title,bodyKey:"paywall_web_elly_discount_body"};case R.NR.EllyLimit:return{img:"paywall/unlimited-ai-mode-paywall",title:_.paywall_web_elly_notokens_title,bodyKey:"paywall_web_elly_notokens_body"};case R.NR.OCR:return{img:"paywall/ocr-paywall",title:_.paywall_ocr_title,bodyKey:"paywall_ocr_body"};case R.NR.Substances:return{img:"paywall/substances-paywall",title:_.paywall_substances_list_title,bodyKey:"paywall_substances_description"};case R.NR.CmeVignette:return{img:"paywall/vignette-paywall",title:_.paywall_clinical_vignette_title,bodyKey:"paywall_clinical_vignette_description"};case R.NR.Interactions2:return{img:"paywall/interactions2-paywall",title:_.paywall_IC_list_title,bodyKey:"paywall_IC_list_description"};case R.NR.CmeProOnly:return{img:"paywall/pro-cme-paywall",title:_.cme_pro_paywall_title,bodyKey:"cme_pro_paywall_description"};case R.NR.Welcome20:return{img:"paywall/welcome-offer20",title:_.paywall_welcome_email_title_20,bodyKey:"paywall_welcome_email_description_20"};case R.NR.Welcome30:return{img:"it"===b?"paywall/welcome-offer50":"paywall/welcome-offer30",title:_.paywall_welcome_email_title_30,bodyKey:"paywall_welcome_email_description_30"};case R.NR.Comparison:return{img:"paywall/comparison-paywall",title:_.paywall_comparison_title,bodyKey:null};case R.NR.Animation:return{img:null,animation:!0,title:_.paywall_comparison_title,bodyKey:null};case R.NR.DoseFinder:return{img:"paywall/dose-finder-paywall",title:_.paywall_dose_finder_title,bodyKey:"paywall_dose_finder_body"};case R.NR.Elly:case R.NR.AIModeNotification:return{img:"paywall/unlimited-ai-mode-paywall",title:_.paywall_AImode_notification_title,bodyKey:"paywall_AImode_notification_body"};case R.NR.AIModeGuidelines:return{img:"paywall/guidelines-paywall",title:_.paywall_AImode_guidelines_title,bodyKey:"paywall_AImode_guidelines_body"};case R.NR.Interactions:default:return{img:"paywall/interactions-paywall",title:_.paywall_interactions_title,bodyKey:"paywall_interactions_body"}}},[b,_,a]),S=p.useMemo(()=>[R.NR.Comparison,R.NR.AIModeNotification,R.NR.AIModeGuidelines,R.NR.EllyLimit].includes(a),[a]);return(0,n.jsxs)(ep,{headerNoBorder:!0,whiteBackground:!0,show:e,onHide:i,lessPadding:!0,$variant:a,header:()=>(0,n.jsx)(n.Fragment,{}),children:[N&&(0,n.jsx)(H,{}),(0,n.jsxs)(es,{$hasBodyText:!!M,children:[A&&(0,n.jsx)(ec,{children:(0,n.jsx)(l.A,{src:A,alt:"",fetchPriority:"high",loading:"eager",hiResolution:!0})}),(0,n.jsx)("h2",{children:P}),M&&(0,n.jsx)("p",{children:(0,n.jsx)(C.ZL,{id:M})}),(0,n.jsx)("div",{children:v&&0!==v.length?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(ed,{children:v.map((e,t)=>(0,n.jsx)(f,{rcPackage:e,variant:a,locale:b,discountsPerVariant:ee,isSelected:j===t,onClick:()=>I(t)},e.webBillingProduct.identifier))}),(0,n.jsx)(en,{variant:"primary",size:"lg",onClick:()=>{i(),h.isLoggedIn?null!==j?x(v[j],t):Z.oR.error(_["error.general.title"]):((0,K.J0)(K.lB.RegistrationOpenedAfterPaywall),w(B.RegistrationVariant.PaywallRegistration))},children:a===R.NR.EllyLimit?(0,n.jsx)(C.sA,{id:"paywall_AImode_guidelines_button"}):(e=>{let[t]=Object.values(e.webBillingProduct.subscriptionOptions);return!!t?.trial})(v[j||0])?(0,n.jsx)(C.sA,{id:"common-ic_popup_cta"}):(0,n.jsx)(C.sA,{id:"common.pro.subscribe.button"})}),!!et[b]&&(0,n.jsx)(el,{children:et[b].map(e=>(0,n.jsxs)(er,{$selected:y===e,onClick:()=>u(e),children:[(0,n.jsx)(ei,{currency:e}),e]},e))})]}):(0,n.jsx)(m.A,{center:!0})}),S&&(0,n.jsx)(z.Ay,{}),(0,n.jsxs)(eo,{children:[(0,n.jsx)(g(),{href:"/docs/eula",prefetch:!1,children:"Terms and conditions"}),(0,n.jsx)(g(),{href:"https://www.revenuecat.com/",children:"Secure checkout by RevenueCat"}),(0,n.jsx)(O.A,{countries:E.VT,children:(0,n.jsx)(g(),{href:"/pro",prefetch:!1,children:"Podrobno o PRO"})}),(0,n.jsx)(O.A,{children:(0,n.jsx)(g(),{href:"/business-pro",prefetch:!1,children:(0,n.jsx)(C.sA,{id:"common_paywall_business_pro_link"})})})]})]})]})},en=(0,u.I4)($.A).withConfig({componentId:"sc-ed4d3103-0"})(["width:100%;background:var(--blue-blue300);&:hover{background:var(--blue-blue300);}"]),el=u.I4.div.withConfig({componentId:"sc-ed4d3103-1"})(["display:flex;justify-content:center;margin-top:24px;margin-bottom:24px;gap:12px;"]),er=u.I4.button.withConfig({componentId:"sc-ed4d3103-2"})(["padding:8px 12px;display:flex;gap:8px;align-items:center;justify-content:center;border:1px solid var(--color-dropdown-background-selected);border-radius:8px;background:transparent;svg{width:20px;height:20px;}",";"],e=>e.$selected&&(0,u.AH)(["border:1px solid transparent;background:var(--color-background-first);"])),eo=u.I4.div.withConfig({componentId:"sc-ed4d3103-3"})(["margin-top:24px;display:flex;align-items:center;justify-content:center;gap:24px;@media (max-width:","){flex-direction:column;gap:2px;align-items:flex-start;}"],e=>e.theme.gridBreakpoints.md),es=u.I4.div.withConfig({componentId:"sc-ed4d3103-4"})(["max-width:540px;width:100%;margin:0 auto 20px;padding:0 16px 24px;h2{font-size:32px;font-weight:600;margin:0;text-align:center;padding:0;margin:32px 0 16px;"," @media (max-width:","){font-size:26px;}}> p{font-size:16px;text-align:center;margin-bottom:32px;}"],e=>!e.$hasBodyText&&(0,u.AH)(["margin-bottom:32px;"]),e=>e.theme.gridBreakpoints.smMax),ed=u.I4.div.withConfig({componentId:"sc-ed4d3103-5"})(["display:flex;gap:12px;align-items:stretch;justify-content:center;margin-bottom:16px;> div{flex:1;}@media (max-width:","){> div{min-width:unset;max-width:50%;}}"],e=>e.theme.gridBreakpoints.smMax),ec=u.I4.div.withConfig({componentId:"sc-ed4d3103-6"})(["--paywall-header-height:220px;position:relative;height:var(--paywall-header-height);img{position:absolute;height:var(--paywall-header-height);width:auto;left:50%;transform:translateX(-50%);}@media (max-width:","){--paywall-header-height:180px;}"],e=>e.theme.gridBreakpoints.mdMax),ep=(0,u.I4)(y.Ay).withConfig({componentId:"sc-ed4d3103-7"})(["color:var(--text-primary-light-theme);@media (min-width:","){width:880px !important;max-width:calc(100vw - 60px) !important;}","{overflow:hidden;padding:0;}> div > div > div{background:linear-gradient(180deg,#d4eef7 32.38%,#a8def0 100%);}","{min-height:0;}","{top:30px;z-index:1;}"],e=>e.theme.gridBreakpoints.md,y.zi,y.qI,y.C6)},36159:(e,t,i)=>{i.d(t,{Bf:()=>l,VN:()=>o,XF:()=>s,pM:()=>n,q2:()=>r});var a=i(35806);let n=async({locale:e,user:t})=>{let i=await (0,a.A)("https://mediately.co/api/v6/users",{method:"POST",headers:(0,a.l)({locale:e}),body:{user:t}}),n={user:i.user,token:i.access_token};return(await (0,a.A)("/clientApi/user/register",{method:"POST",body:n})).body},l=async({locale:e,data:t})=>(await (0,a.A)("https://mediately.co/api/v6/users/validate_email",{headers:(0,a.l)({locale:e}),params:{email:t.email}}),t),r=async({reset_password_token:e})=>await (0,a.A)("https://mediately.co/api/v6/users/reset_password_token_validity",{params:{reset_password_token:e}}),o=async({locale:e,email:t})=>await (0,a.A)(`https://mediately.co/api/rh/v6/users?email=${t}`,{headers:(0,a.l)({locale:e}),method:"DELETE"}),s=async({locale:e,user:t})=>await (0,a.A)("https://mediately.co/api/v6/users",{headers:(0,a.l)({locale:e,user:t}),params:{full_download:1}})},50370:(e,t,i)=>{i.r(t),i.d(t,{RegisterContext:()=>p,RegistrationVariant:()=>c,default:()=>u,useRegistrationVariant:()=>y});var a,n=i(37876),l=i(55689),r=i(36159),o=i(15526),s=i(89099),d=i(14232),c=((a={}).PaywallRegistration="paywall_registration",a);let p=d.createContext({registerData:{user:{},step:0},registerVariant:{paywallRegistration:!1},setRegisterData:()=>{},resetRegisterData:()=>{},registerUserMutation:{}}),y=()=>{let{query:e}=(0,s.useRouter)();return{paywallRegistration:d.useMemo(()=>!!e.paywall_registration,[e])}},u=({children:e})=>{let t=y(),{locale:i}=(0,s.useRouter)(),{mutateUser:a}=(0,l.ur)(),[c,u]=d.useState({user:{},step:0}),m=d.useCallback(()=>{u({user:{},step:0})},[u]),h=(0,o.n)({mutationFn:e=>(0,r.pM)({locale:i,user:e}),onSuccess:()=>{a(),u({user:c.user,step:3})}}),g=d.useMemo(()=>({registerData:c,setRegisterData:u,resetRegisterData:m,registerUserMutation:h,registerVariant:t}),[c,m,h,t]);return(0,n.jsx)(p.Provider,{value:g,children:e})}}}]);

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.