PageSourceSearch

https://heart-bit.co/assets/DownloadStepV2-CSOXxUyE.js

js heart-bit.co collected 2026-09-25 03:34:11 UTC 21,899 bytes, 1 lines download raw bytes

1import{j as t}from"./renderApp-Jl9gCjeb.js";import{r as s,a as x}from"./index-CeeNt4yx.js";import{a8 as S,a2 as E,a0 as A,M as w,p as y,an as T}from"./onboardingStepButtonEvents-DRfDzb1V.js";const q={mascot_upsell_flow_title_part_1:"Blood Sugar Monitoring",mascot_upsell_flow_title_part_2:"on your Apple Watch",mascot_upsell_flow_subtitle:"Understand how your blood sugar changes",mascot_upsell_flow_benefits_title:"What You Get:",mascot_upsell_flow_benefit_text_1:"See blood sugar trends on Watch",mascot_upsell_flow_benefit_text_2:"Understand daily sugar patterns",mascot_upsell_flow_benefit_text_3:"Spot highs, lows & changes over time",mascot_upsell_priceOffer_title_part_1:"One-time price offer:",mascot_upsell_priceOffer_title_part_2:"Get 50% Off",mascot_upsell_priceOffer_title_part_3:" — Today Only",mascot_upsell_btn_skip:"Skip",mascot_upsell_btn_unlock:"Unlock",mascot_upsell_btn_get_offer:"Get Offer",mascot_upsell_btn_claim_my_offer:"Claim my offer",mascot_upsell_terms_text_1:"By continuing, you agree to our",mascot_upsell_terms_text_2:"Terms of Use",mascot_upsell_terms_text_3:"and",mascot_upsell_terms_text_4:"Privacy Policy",mascot_upsell_scroll_description_part_1:"You will be charged",mascot_upsell_scroll_description_part_2:"for the add-on product.",mascot_upsell_scroll_description_part_3:"This is a non-recurring payment.",mascot_upsell_coupon_header_title:"Exclusive Offer Unlocked 🔥",mascot_upsell_coupon_discount_sugar_title_1:"See the full health",mascot_upsell_coupon_discount_sugar_title_2:"picture!",mascot_upsell_coupon_discount_sugar_title_3:"Sugar and stress on your Apple Watch!",mascot_upsell_coupon_discount_sugar_title_4:"No manual logging",mascot_upsell_coupon_discount_metabolic_title_1:"Stay in control of your health",mascot_upsell_coupon_discount_metabolic_title_2:"Metabolic age, diabetes risk, ",mascot_upsell_coupon_discount_metabolic_title_3:"heart risk, and more",mascot_upsell_coupon_discount_recipe_title_1:"Satisfy your cravings ",mascot_upsell_coupon_discount_recipe_title_2:"without single worry",mascot_upsell_coupon_discount_recipe_title_3:"Recipes for steadier blood sugar",mascot_upsell_coupon_discount_default_title_1:"Turn your Apple Watch",mascot_upsell_coupon_discount_default_title_2:"into Blood Sugar Monitor!",mascot_upsell_coupon_discount_default_title_3:"No manual logging",mascot_upsell_tutorial_banner_all_text_1:"Blood Sugar Monitor",mascot_upsell_tutorial_banner_all_text_2:"Applied",mascot_upsell_tutorial_banner_default_text_1:"Blood Sugar Monitor",mascot_upsell_tutorial_banner_default_text_2:"Not Applied",mascot_upsell_tutorial_banner_text:"Special Offer Ends In:",mascot_upsell_tutorial_banner_btn_text:"Apply",mascot_upsell_tutorial_main_title_part_1:"Activate",mascot_upsell_tutorial_main_title_part_2:"your Premium Account",mascot_upsell_tutorial_subtitle_part_1:"Tap the",mascot_upsell_tutorial_subtitle_part_2:"button below",mascot_upsell_tutorial_subtitle_part_3:"and open",mascot_upsell_tutorial_subtitle_part_4:"the app",mascot_upsell_tutorial_btn_download:"Download App",mascot_upsell_tutorial_email_copied:"Email copied",mascot_upsell_tutorial_instruction_title_part_1:"If your Premium subscription",mascot_upsell_tutorial_instruction_title_part_2:"is",mascot_upsell_tutorial_instruction_title_part_3:"NOT activated",mascot_upsell_tutorial_instruction_title_part_4:"in the app",mascot_upsell_tutorial_instruction_1_text_1:"Copy the email your premium ",mascot_upsell_tutorial_instruction_1_text_2:"is registered to",mascot_upsell_tutorial_instruction_2_text_1:"Paste your email in the text field in app.",mascot_upsell_tutorial_instruction_2_text_2:"Tap login --> paste copied email",mascot_upsell_tutorial_instruction_3_text_1:"If you still see a failure,",mascot_upsell_tutorial_instruction_3_text_2:"contact us",mascot_upsell_outlet_step_1:"Premium",mascot_upsell_outlet_step_2:"Add Extension",mascot_upsell_outlet_step_3:"Access App",payment_banner_title:"Payment Successful",payment_banner_subtitle:"Your payment has been processed successfully.",payment_banner_split_text_1:"authorized now",payment_banner_split_text_2:"Remaining",payment_banner_split_text_3:"will be charged within 24h."},O={mascot_upsell_flow_title_part_1:"Monitoreo de glucosa",mascot_upsell_flow_title_part_2:"en tu Apple Watch",mascot_upsell_flow_subtitle:"Entiende cómo cambia tu glucosa",mascot_upsell_flow_benefits_title:"Qué incluye:",mascot_upsell_flow_benefit_text_1:"Mira las tendencias de glucosa en el Watch",mascot_upsell_flow_benefit_text_2:"Entiende tus patrones diarios de glucosa",mascot_upsell_flow_benefit_text_3:"Detecta picos, caídas y cambios con el tiempo",mascot_upsell_priceOffer_title_part_1:"Oferta de pago único:",mascot_upsell_priceOffer_title_part_2:"Obtén -50% ",mascot_upsell_priceOffer_title_part_3:"— Solo por hoy",mascot_upsell_btn_skip:"Saltar",mascot_upsell_btn_unlock:"Desbloquear",mascot_upsell_btn_get_offer:"Aprovechar oferta",mascot_upsell_btn_claim_my_offer:"Canjear mi oferta",mascot_upsell_terms_text_1:"Al continuar, aceptas nuestros",mascot_upsell_terms_text_2:"Términos de uso",mascot_upsell_terms_text_3:"y",mascot_upsell_terms_text_4:"Política de privacidad",mascot_upsell_scroll_description_part_1:"Se te cobrará",mascot_upsell_scroll_description_part_2:"por el producto adicional.",mascot_upsell_scroll_description_part_3:"Este es un pago único, no recurrente.",mascot_upsell_coupon_header_title:"Oferta exclusiva desbloqueada 🔥",mascot_upsell_coupon_discount_sugar_title_1:"Ver el estado de salud completo",mascot_upsell_coupon_discount_sugar_title_2:"¡imagen!",mascot_upsell_coupon_discount_sugar_title_3:"¡Azúcar y estrés en tu Apple Watch!",mascot_upsell_coupon_discount_sugar_title_4:"Sin registros manuales",mascot_upsell_coupon_discount_metabolic_title_1:"Mantén el control de tu salud",mascot_upsell_coupon_discount_metabolic_title_2:"Edad metabólica, riesgo de diabetes,",mascot_upsell_coupon_discount_metabolic_title_3:"riesgo cardíaco y mucho más",mascot_upsell_coupon_discount_recipe_title_1:"Satisface tus antojos",mascot_upsell_coupon_discount_recipe_title_2:"sin preocuparte por nada",mascot_upsell_coupon_discount_recipe_title_3:"Recetas para estabilizar mejor la glucosa",mascot_upsell_coupon_discount_default_title_1:"Convierte tu Apple Watch",mascot_upsell_coupon_discount_default_title_2:"en un monitor de glucosa",mascot_upsell_coupon_discount_default_title_3:"Sin registros manuales",mascot_upsell_tutorial_banner_all_text_1:"Monitor de glucosa",mascot_upsell_tutorial_banner_all_text_2:"Aplicado",mascot_upsell_tutorial_banner_default_text_1:"Monitor de glucosa",mascot_upsell_tutorial_banner_default_text_2:"No aplicad
1o",mascot_upsell_tutorial_banner_text:"La oferta especial termina en:",mascot_upsell_tutorial_banner_btn_text:"Aplicar",mascot_upsell_tutorial_main_title_part_1:"Activa",mascot_upsell_tutorial_main_title_part_2:"tu cuenta Premium",mascot_upsell_tutorial_subtitle_part_1:"Toca el",mascot_upsell_tutorial_subtitle_part_2:"botón de abajo",mascot_upsell_tutorial_subtitle_part_3:"y abre",mascot_upsell_tutorial_subtitle_part_4:"la app",mascot_upsell_tutorial_btn_download:"Descargar app",mascot_upsell_tutorial_email_copied:"Correo copiado",mascot_upsell_tutorial_instruction_title_part_1:"Si tu suscripción Premium",mascot_upsell_tutorial_instruction_title_part_2:"",mascot_upsell_tutorial_instruction_title_part_3:"NO se activa",mascot_upsell_tutorial_instruction_title_part_4:"en la app",mascot_upsell_tutorial_instruction_1_text_1:"Copia el correo electrónico con el que tu cuenta premium está registrada",mascot_upsell_tutorial_instruction_1_text_2:"",mascot_upsell_tutorial_instruction_2_text_1:"Pega tu correo electrónico en el campo de texto de la aplicación.",mascot_upsell_tutorial_instruction_2_text_2:"Toca iniciar sesión y pega el correo copiado",mascot_upsell_tutorial_instruction_3_text_1:"Si el error persiste,",mascot_upsell_tutorial_instruction_3_text_2:"contáctanos",mascot_upsell_outlet_step_1:"Premium",mascot_upsell_outlet_step_2:"Agregar extensión",mascot_upsell_outlet_step_3:"Acceder a la app",payment_banner_title:"Pago exitoso",payment_banner_subtitle:"Tu pago se procesó correctamente.",payment_banner_split_text_1:"autorizado ahora",payment_banner_split_text_2:"Restante",payment_banner_split_text_3:"Se realizará el cargo en un plazo de 24 horas."},k={en:q,es:O},I=_=>S({lang:_,translations:k}),D="_banner_1qfqo_46",M="_banner_visible_1qfqo_60",L="_banner_content_1qfqo_63",P="_banner_split_1qfqo_68",B="_icon_wrapper_1qfqo_79",R="_text_block_1qfqo_90",V="_title_1qfqo_95",$="_subtitle_1qfqo_100",o={banner:D,banner_visible:M,banner_content:L,banner_split:P,icon_wrapper:B,text_block:R,title:V,subtitle:$},W=_=>s.createElement("svg",{width:18,height:16,viewBox:"0 0 18 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._},s.createElement("path",{d:"M9.49219 3.39844C9.66927 3.39844 9.82031 3.46094 9.94531 3.58594C10.0703 3.71094 10.1328 3.86198 10.1328 4.03906V9.42969L9.42188 7.25L11.9922 10.7266C12.112 10.8932 12.1641 11.0651 12.1484 11.2422C12.138 11.4141 12.0599 11.5521 11.9141 11.6562C11.7526 11.7708 11.5833 11.8151 11.4062 11.7891C11.2292 11.7578 11.0703 11.651 10.9297 11.4688L9.03906 8.97656C8.97135 8.88802 8.92188 8.80208 8.89062 8.71875C8.85938 8.63542 8.84375 8.54688 8.84375 8.45312V4.03906C8.84375 3.86198 8.90625 3.71094 9.03125 3.58594C9.15625 3.46094 9.3099 3.39844 9.49219 3.39844ZM9.49219 15.9375C8.61198 15.9375 7.77083 15.7995 6.96875 15.5234C6.16667 15.2526 5.42969 14.8672 4.75781 14.3672C4.09115 13.8724 3.51823 13.2865 3.03906 12.6094C2.90365 12.4375 2.85417 12.2578 2.89062 12.0703C2.92708 11.8776 3.02344 11.7318 3.17969 11.6328C3.34635 11.5339 3.51302 11.5078 3.67969 11.5547C3.85156 11.5964 3.9974 11.6979 4.11719 11.8594C4.51302 12.4115 4.98698 12.8932 5.53906 13.3047C6.09635 13.7161 6.70833 14.0365 7.375 14.2656C8.04688 14.4948 8.7526 14.6094 9.49219 14.6094C10.4089 14.6094 11.2682 14.4375 12.0703 14.0938C12.8724 13.75 13.5781 13.2734 14.1875 12.6641C14.7969 12.0547 15.2734 11.349 15.6172 10.5469C15.9609 9.74479 16.1328 8.88542 16.1328 7.96875C16.1328 7.05208 15.9609 6.19271 15.6172 5.39062C15.2734 4.58333 14.7969 3.8776 14.1875 3.27344C13.5781 2.66406 12.8724 2.1875 12.0703 1.84375C11.2682 1.5 10.4089 1.32812 9.49219 1.32812C8.57031 1.32812 7.70833 1.5 6.90625 1.84375C6.10417 2.1875 5.39844 2.66406 4.78906 3.27344C4.1849 3.8776 3.71094 4.58333 3.36719 5.39062C3.02344 6.19271 2.85156 7.05208 2.85156 7.96875H1.52344C1.52344 6.86979 1.72917 5.83854 2.14062 4.875C2.55208 3.91146 3.1224 3.0651 3.85156 2.33594C4.58594 1.60156 5.4349 1.02865 6.39844 0.617188C7.36198 0.205729 8.39323 0 9.49219 0C10.5911 0 11.6224 0.205729 12.5859 0.617188C13.5495 1.02865 14.3958 1.60156 15.125 2.33594C15.8542 3.0651 16.4245 3.91146 16.8359 4.875C17.2526 5.83854 17.4609 6.86979 17.4609 7.96875C17.4609 9.06771 17.2526 10.099 16.8359 11.0625C16.4245 12.026 15.8542 12.8724 15.125 13.6016C14.3958 14.3307 13.5495 14.901 12.5859 15.3125C11.6224 15.7292 10.5911 15.9375 9.49219 15.9375ZM0.5625 6.46094H4.14844C4.33073 6.46094 4.46875 6.5 4.5625 6.57812C4.65625 6.65104 4.70052 6.75 4.69531 6.875C4.69531 6.99479 4.64323 7.1276 4.53906 7.27344L2.79688 9.76562C2.67188 9.94271 2.52604 10.0339 2.35938 10.
10391C2.19271 10.0391 2.04427 9.94792 1.91406 9.76562L0.164062 7.28125C0.0598958 7.13542 0.0078125 7 0.0078125 6.875C0.00260417 6.75 0.046875 6.65104 0.140625 6.57812C0.234375 6.5 0.375 6.46094 0.5625 6.46094Z",fill:"#0F6A63"})),H=({isPostPayment:_,authorizedNowCents:u,remainingCents:m,currency:C,lang:f})=>{const[n,a]=s.useState(!1),l=u??0,d=m??0,h=typeof u=="number"&&typeof m=="number",r=c=>`${C||"$"}${(c/100).toFixed(2)}`,{t:i}=I(f);return s.useEffect(()=>{if(!_)return;let c;const g=setTimeout(()=>{a(!0),c=setTimeout(()=>a(!1),2500)},1e3);return()=>{clearTimeout(g),c&&clearTimeout(c)}},[_]),_?t.jsxs("div",{className:`${o.banner} ${n?o.banner_visible:""}`,children:[t.jsxs("div",{className:o.banner_content,children:[t.jsx("div",{className:o.icon_wrapper,children:t.jsx("img",{src:"/health-onboardings/images/shared/SuccessIconGreen.avif",alt:"Success Icon",loading:"lazy",fetchpriority:"low",decoding:"async"})}),t.jsxs("div",{className:o.text_block,children:[t.jsx("span",{className:o.title,children:i("payment_banner_title")}),t.jsx("span",{className:o.subtitle,children:i("payment_banner_subtitle")})]})]}),h&&t.jsxs("div",{className:o.banner_split,children:[t.jsx("div",{className:o.icon_wrapper,children:t.jsx(W,{})}),t.jsxs("div",{className:o.text_block,children:[t.jsxs("span",{className:o.text,children:[r(l)," ",i("payment_banner_split_text_1")]}),t.jsxs("span",{className:o.text,children:[i("payment_banner_split_text_2")," ",r(d)," ",i("payment_banner_split_text_3")]})]})]})]}):null},U=_=>s.createElement("svg",{width:17,height:17,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._},s.createElement("path",{d:"M8.25 16.5C7.11458 16.5 6.04688 16.2839 5.04688 15.8516C4.05208 15.4245 3.17708 14.8333 2.42188 14.0781C1.66667 13.3229 1.07292 12.4479 0.640625 11.4531C0.213542 10.4531 0 9.38542 0 8.25C0 7.10938 0.213542 6.04167 0.640625 5.04688C1.07292 4.04688 1.66667 3.16927 2.42188 2.41406C3.17708 1.65885 4.05208 1.06771 5.04688 0.640625C6.04688 0.213542 7.11458 0 8.25 0C9.39062 0 10.4583 0.213542 11.4531 0.640625C12.4531 1.06771 13.3307 1.65885 14.0859 2.41406C14.8411 3.16927 15.4323 4.04688 15.8594 5.04688C16.2917 6.04167 16.5078 7.10938 16.5078 8.25C16.5078 9.38542 16.2917 10.4531 15.8594 11.4531C15.4323 12.4479 14.8411 13.3229 14.0859 14.0781C13.3307 14.8333 12.4531 15.4245 11.4531 15.8516C10.4583 16.2839 9.39062 16.5 8.25 16.5ZM8.05469 9.78906C8.3099 9.78906 8.52083 9.72917 8.6875 9.60938C8.85938 9.48958 8.95833 9.33854 8.98438 9.15625C8.98958 9.14062 8.99219 9.125 8.99219 9.10938C8.9974 9.08854 9 9.07292 9 9.0625C9.03646 8.875 9.13021 8.71094 9.28125 8.57031C9.4375 8.42448 9.63281 8.27604 9.86719 8.125C10.2891 7.85938 10.6094 7.59115 10.8281 7.32031C11.0469 7.04427 11.1562 6.67708 11.1562 6.21875C11.1562 5.76042 11.0286 5.36458 10.7734 5.03125C10.5182 4.69792 10.1745 4.4401 9.74219 4.25781C9.3151 4.07552 8.83854 3.98438 8.3125 3.98438C7.60938 3.98438 7.01823 4.11719 6.53906 4.38281C6.0651 4.64323 5.75 4.97396 5.59375 5.375C5.5625 5.45312 5.53646 5.53125 5.51562 5.60938C5.5 5.6875 5.49219 5.76823 5.49219 5.85156C5.49219 6.07031 5.57031 6.25521 5.72656 6.40625C5.88281 6.55729 6.07292 6.63281 6.29688 6.63281C6.46354 6.63281 6.60938 6.60156 6.73438 6.53906C6.85938 6.47656 6.96875 6.38281 7.0625 6.25781L7.15625 6.13281C7.24479 6.0026 7.33854 5.89844 7.4375 5.82031C7.54167 5.73698 7.65104 5.67448 7.76562 5.63281C7.88021 5.59115 8.0026 5.57031 8.13281 5.57031C8.38802 5.57031 8.59896 5.64323 8.76562 5.78906C8.9375 5.9349 9.02344 6.11719 9.02344 6.33594C9.02344 6.5651 8.9375 6.75521 8.76562 6.90625C8.59375 7.05729 8.34375 7.24479 8.01562 7.46875C7.72917 7.67188 7.49479 7.88281 7.3125 8.10156C7.13021 8.32031 7.03906 8.59115 7.03906 8.91406C7.03906 8.92448 7.03906 8.9349 7.03906 8.94531C7.03906 8.95052 7.03906 8.95833 7.03906 8.96875C7.03906 9.51562 7.3776 9.78906 8.05469 9.78906ZM8.04688 12.4297C8.35417 12.4297 8.61198 12.3385 8.82031 12.1562C9.03385 11.974 9.14062 11.7344 9.14062 11.4375C9.14062 11.1406 9.03646 10.901 8.82812 10.7188C8.61979 10.5312 8.35938 10.4375 8.04688 10.4375C7.73438 10.4375 7.47135 10.5312 7.25781 10.7188C7.04427 10.901 6.9375 11.1406 6.9375 11.4375C6.9375 11.7344 7.04427 11.974 7.25781 12.1562C7.47135 12.3385 7.73438 12.4297 8.04688 12.4297Z",fill:"#21A298"}
1)),Z=_=>s.createElement("svg",{width:13,height:9,viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._},s.createElement("path",{d:"M4.65308 9C4.39295 9 4.14582 8.89955 3.96373 8.72375L0.282891 5.17021C-0.0942971 4.80607 -0.0942971 4.20335 0.282891 3.8392C0.66008 3.47506 1.28439 3.47506 1.66158 3.8392L4.65308 6.72724L11.3384 0.273108C11.7156 -0.0910359 12.3399 -0.0910359 12.7171 0.273108C13.0943 0.637251 13.0943 1.23997 12.7171 1.60412L5.34242 8.72375C5.16033 8.89955 4.91321 9 4.65308 9Z",fill:"#5B85D9"})),z=_=>s.createElement("svg",{width:17,height:9,viewBox:"0 0 17 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._},s.createElement("path",{d:"M16 1L8.5 8L1 1",stroke:"#222326",strokeOpacity:.6,strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),G=_=>s.createElement("svg",{width:14,height:18,viewBox:"0 0 14 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",..._},s.createElement("path",{d:"M11.6218 3.57617C12.9104 3.57623 13.9547 4.6207 13.9548 5.90918V15.2432C13.9547 16.5317 12.9104 17.5761 11.6218 17.5762H5.39917C4.11077 17.576 3.06634 16.5316 3.06616 15.2432V5.90918C3.06634 4.62078 4.11077 3.57635 5.39917 3.57617H11.6218ZM5.39917 5.13184C4.96988 5.13201 4.622 5.47989 4.62183 5.90918V15.2432C4.622 15.6725 4.96988 16.0203 5.39917 16.0205H11.6218C12.0512 16.0204 12.399 15.6725 12.3992 15.2432V5.90918C12.399 5.47981 12.0512 5.1319 11.6218 5.13184H5.39917ZM10.6775 0.520508C11.1068 0.520625 11.4546 0.868573 11.4548 1.29785C11.4548 1.72733 11.107 2.07605 10.6775 2.07617H2.89917C2.46988 2.07635 2.122 2.42422 2.12183 2.85352V13.7432C2.12159 14.1725 1.77291 14.5205 1.34351 14.5205C0.914299 14.5203 0.566396 14.1724 0.566162 13.7432V2.85352C0.566338 1.56511 1.61077 0.520684 2.89917 0.520508H10.6775Z",fill:"#5B85D9"})),Y="_main_block_q85d4_46",F="_step_number_q85d4_128",Q="_email_box_q85d4_147",K="_app_row_q85d4_163",J="_app_row__logo_container_q85d4_174",X="_app_row__text_q85d4_184",tt="_app_title_q85d4_189",et="_app_desc_q85d4_196",_t="_primary_button_q85d4_203",st="_dwld_step_q85d4_236",ot="_app_cta_title_q85d4_300",at="_text_blue_q85d4_308",lt="_bottom_banner_q85d4_359",nt="_open_q85d4_372",it="_bottom_banner_header_q85d4_376",ct="_bottom_banner_icon_q85d4_382",rt="_bottom_banner_text_q85d4_388",pt="_bottom_banner_arrow_q85d4_397",ut="_bottom_banner_content_q85d4_417",mt="_step_q85d4_112",dt="_step_text_q85d4_448",e={main_block:Y,step_number:F,email_box:Q,app_row:K,app_row__logo_container:J,app_row__text:X,app_title:tt,app_desc:et,primary_button:_t,dwld_step:st,app_cta_title:ot,text_blue:at,bottom_banner:lt,open:nt,bottom_banner_header:it,bottom_banner_icon:ct,bottom_banner_text:rt,bottom_banner_arrow:pt,bottom_banner_content:ut,step:mt,step_text:dt};function bt({isPostPayment:_,authorizedNowCents:u,remainingCents:m,currency:C,downloadDeeplinkBase:f}){const{mixpanel:n}=E(),{customerId:a,email:l,setEmail:d}=A(),[h,r]=s.useState(!1),i=a||(typeof window<"u"?localStorage.getItem("customerId"):"")||"";s.useEffect(()=>{if(l)localStorage.setItem("email",l);else{const p=localStorage.getItem("email");p&&d(p)}},[l,d]),s.useEffect(()=>{n?.track(w.EVENT_INSTRUCTION_PRESENTED,y({cus_id:a}))},[a,n]);const c=async p=>{p&&p.preventDefault(),n?.track(w.EVENT_INSTRUCTION_DOWNLOAD_BTN_PRESSED,y({cus_id:a})),navigator?.clipboard?.writeText&&await navigator.clipboard.writeText(l||"");const j=`${(f??x.VITE_ONBOARDINGS_APP_DOWNLOAD_DEEPLINK??"").trim()}${i}`;window.open(j,"_blank","noopener,noreferrer")},{setAlertGlobal:g}=T(),v=async()=>{try{r(!0),g({message:"Email copied",onClose:()=>{},error:!1,alertTimeout:1e3,isAlertGlobal:!0}),n&&n?.track(w.EVENT_INSTRUCTION_COPY_BTN_PRESSED,y({cus_id:a})),navigator?.clipboard?.writeText&&await navigator.clipboard.writeText(l||""),setTimeout(()=>{r(!1)},2e3)}catch{}},[b,N]=s.useState(!1);return t.jsx("div",{className:e.dwld_step,children:t.jsxs("div",{className:e.main_block,children:[t.jsx(H,{isPostPayment:_,authorizedNowCents:u,remainingCents:m,currency:C}),t.jsxs("div",{className:e.app_row,children:[t.jsx("div",{className:e.app_row__logo_container,children:t.jsx("img",{src:x.VITE_SHARED_APPLICATION_LOGO_SRC,alt:"Logo",width:80,height:60,loading:"lazy",fetchpriority:"low",decoding:"async"})}),t.jsx("div",{className:e.app_row__text,children:t.jsx("span",{className:e.app_title,children:x.VITE_SHARED_APPLICATION_NAME_BRIEF})}),t.jsxs("div",{className:e.app_desc,children:[t.jsx("span",{className:e.text_blue,children:"Activate"})," ",t.jsx("br",{}),"your Premium Account"]}),t.jsxs("div",{className:e.app_cta_title,children:["Tap the ",t.jsx("span",{className:e.text_blue,children:" button below "}),"and open",t.jsx("span",{className:e.text_blue,children:" the app "})]})]},"step2"),t.jsx("button",{type:"button",className:e.primary_button,onClick:c,children:t.jsx("span",{children:"Download App"})}),t.jsxs("div",{className:`${e.bottom_banner} ${b?e.open:""}`,children:[t.jsxs("div",{className:e.bottom_banner_header,children:[t.jsx("div",{className:e.bottom_banner_icon,children:t.jsx(U,{})}),t.jsxs("div",{className:e.bottom_banner_text,children:["If your Premium subscription",t.jsx("br",{})," is ",t.jsx("strong",{children:"NOT activated"})," in the app"]}),t.jsx("button",{className:`${e.bottom_banner_arrow} ${b?e.open:""}`,onClick:()=>N(!b),children:t.jsx(z,{})})]}),t.jsxs("div",{className:`${e.bottom_banner_content} ${b?e.open:""}`,children:[t.jsxs("div",{className:e.step,children:[t.jsx("span",{className:e.step_number,children:"1"}),t.jsxs("span",{className:e.step_text,children:["Copy the email your premium",t.jsx("br",{})," is registered to"]})]}),t.jsxs("div",{className:e.email_box,onClick:v,children:[l,h?t.jsx(Z,{}):t.jsx(G,{})]}),t.jsxs("div",{className:e.step,children:[t.jsx("span",{className:e.step_number,children:"2"}),t.jsxs("span",{className:e.step_text,children:["Paste your email in the text field in app.",t.jsx("br",{}),"Tap login --> paste copied email"]})]}),t.jsxs("div",{className:e.step,children:[t.jsx("span",{className:e.step_number,children:"3"}),t.jsxs("span",{className:e.step_text,children:["If you still see a failure, ",t.jsx("a",{href:`mailto:${x.VITE_SHARED_SUPPORT_EMAIL_ADDRESS}`,children:"contact us"})]})]})]})]})]})})}const gt=Object.freeze(Object.defineProperty({__proto__:null,DownloadStepV2:bt},Symbol.toStringTag,{value:"Module"}));
1export{bt as D,H as P,Z as S,U as a,z as b,G as c,W as d,gt as e,I as u};

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.