PageSourceSearch

https://signup.spiriohub.com/_next/static/chunks/1bpmd1lx4g7cd.js

js spiriohub.com collected 2026-09-24 11:02:17 UTC 127,278 bytes, 15 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,201997,e=>{"use strict";var s=e.i(796357),a=e.i(708128),l=e.i(506386),i=e.i(999160),t=e.i(231880),n=e.i(112547),r=e.i(637173),c=e.i(658484),o=e.i(701513),d=e.i(461751),m=e.i(918278),h=e.i(274739),g=e.i(715216),u=e.i(726323);e.i(460387);var p=e.i(122108),x=e.i(994161),j=e.i(251616),v=e.i(251312);e.i(581956);var f=e.i(687224),y=e.i(249985),N=e.i(287485),_=e.i(678353),P=e.i(990033),C=e.i(660724),b=e.i(768820),w="_1l6h7e08",S="_1l6h7e0a",$="_1l6h7e0b",k="_1l6h7e0c",T="_1l6h7e0d",M="_1l6h7e0f",L="_154579o2",A="_154579o3",D="_154579o6",F="_154579o7",I="_154579o8",E="_154579o9",U="_154579oa",B="_154579ob",Z="_154579oc",R="_154579od",O="_154579og",z="_154579oh",V="_154579om",K="_154579on",q="_1j8h42l0";function H({isActive:e,type:s}){return(0,g.jsx)("div",{className:e?"high"===s?`${q} _1j8h42l2`:`${q} _1j8h42l1`:q})}var W="_95lx0g2";function G({value:e,type:s}){let[a,l]=(0,h.useState)(0);(0,h.useEffect)(()=>{l(e)},[]);let i="high"===s?`${W} _95lx0g4`:`${W} _95lx0g3`;return(0,g.jsxs)("div",{className:"_95lx0g0",children:[(0,g.jsx)("div",{className:"_95lx0g1"}),(0,g.jsx)("div",{className:i,style:{width:`${a}%`}}),(0,g.jsx)("div",{className:"_95lx0g5",style:{left:`calc(${a}% - 0.625rem)`},children:(0,g.jsx)("div",{className:"_95lx0g6"})})]})}var Q="energy_b",Y="breathSp",X=({className:e})=>(0,g.jsxs)("svg",{className:e,width:"10",height:"10",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsxs)("g",{clipPath:"url(#clip0_977_4200_simple)",children:[(0,g.jsx)("path",{d:"M7.88815 15.9998C7.6903 15.9999 7.49687 15.9413 7.33234 15.8314C7.16781 15.7216 7.03957 15.5654 6.96384 15.3826C6.88812 15.1998 6.86831 14.9987 6.90694 14.8046C6.94556 14.6106 7.04087 14.4324 7.18082 14.2925L12.2955 9.1785C12.4503 9.02373 12.5731 8.83998 12.6569 8.63774C12.7407 8.4355 12.7838 8.21874 12.7838 7.99983C12.7838 7.78093 12.7407 7.56416 12.6569 7.36193C12.5731 7.15969 12.4503 6.97594 12.2955 6.82117L7.18082 1.70717C7.08793 1.61428 7.01424 1.504 6.96397 1.38264C6.9137 1.26127 6.88783 1.1312 6.88783 0.999832C6.88783 0.734531 6.99322 0.480095 7.18082 0.292499C7.36841 0.104902 7.62285 -0.000488281 7.88815 -0.000488281C8.01951 -0.000488281 8.14959 0.0253858 8.27095 0.0756566C8.39232 0.125927 8.50259 0.19961 8.59548 0.292499L13.7095 5.40717C14.3971 6.09479 14.7834 7.0274 14.7834 7.99983C14.7834 8.97226 14.3971 9.90487 13.7095 10.5925L8.59548 15.7072C8.50258 15.8 8.39229 15.8736 8.27093 15.9239C8.14956 15.9741 8.01949 15.9999 7.88815 15.9998Z"}),(0,g.jsx)("path",{d:"M1.52469 16.0001C1.3269 16 1.13356 15.9413 0.969133 15.8314C0.804703 15.7215 0.676563 15.5653 0.600921 15.3825C0.525279 15.1998 0.505531 14.9987 0.544175 14.8047C0.582819 14.6107 0.678119 14.4326 0.818023 14.2928L6.87469 8.23609C6.90573 8.20512 6.93036 8.16834 6.94717 8.12784C6.96397 8.08734 6.97262 8.04393 6.97262 8.00009C6.97262 7.95624 6.96397 7.91283 6.94717 7.87233C6.93036 7.83183 6.90573 7.79505 6.87469 7.76409L0.818023 1.70742C0.630426 1.51991 0.525 1.26556 0.524938 1.00032C0.524875 0.735082 0.630181 0.480681 0.817689 0.293085C1.0052 0.105488 1.25955 6.25399e-05 1.52479 2.78157e-08C1.79003 -6.24843e-05 2.04443 0.105243 2.23202 0.292751L8.28936 6.35009C8.72565 6.78825 8.9706 7.38141 8.9706 7.99975C8.9706 8.61809 8.72565 9.21125 8.28936 9.64942L2.23202 15.7074C2.13912 15.8003 2.02883 15.8739 1.90747 15.9241C1.7861 15.9743 1.65603 16.0001 1.52469 16.0001Z"})]}),(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:"clip0_977_4200_simple",children:(0,g.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),J=({firstArrowOpacity:e,secondArrowOpacity:s,className:a})=>(0,g.jsxs)("svg",{className:a,width:"32",height:"32",viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsxs)("g",{clipPath:"url(#clip0_977_4200_animated)",children:[(0,g.jsx)("path",{d:"M7.88815 15.9998C7.6903 15.9999 7.49687 15.9413 7.33234 15.8314C7.16781 15.7216 7.03957 15.5654 6.96384 15.3826C6.88812 15.1998 6.86831 14.9987 6.90694 14.8046C6.94556 14.6106 7.04087 14.4324 7.18082 14.2925L12.2955 9.1785C12.4503 9.02373 12.5731 8.83998 12.6569 8.63774C12.7407 8.4355 12.7838 8.21874 12.7838 7.99983C12.7838 7.78093 12.7407 7.56416 12.6569 7.36193C12.5731 7.15969 12.4503 6.97594 12.2955 6.82117L7.18082 1.70717C7.08793 1.61428 7.01424 1.504 6.96397 1.38264C6.9137 1.26127 6.88783 1.1312 6.88783 0.999832C6.88783 0.734531 6.99322 0.480095 7.18082 0.292499C7.36841 0.104902 7.62285 -0.000488281 7.88815 -0.000488281C8.01951 -0.
1000488281 8.14959 0.0253858 8.27095 0.0756566C8.39232 0.125927 8.50259 0.19961 8.59548 0.292499L13.7095 5.40717C14.3971 6.09479 14.7834 7.0274 14.7834 7.99983C14.7834 8.97226 14.3971 9.90487 13.7095 10.5925L8.59548 15.7072C8.50258 15.8 8.39229 15.8736 8.27093 15.9239C8.14956 15.9741 8.01949 15.9999 7.88815 15.9998Z",style:{opacity:e,transition:"opacity 600ms linear"}}),(0,g.jsx)("path",{d:"M1.52469 16.0001C1.3269 16 1.13356 15.9413 0.969133 15.8314C0.804703 15.7215 0.676563 15.5653 0.600921 15.3825C0.525279 15.1998 0.505531 14.9987 0.544175 14.8047C0.582819 14.6107 0.678119 14.4326 0.818023 14.2928L6.87469 8.23609C6.90573 8.20512 6.93036 8.16834 6.94717 8.12784C6.96397 8.08734 6.97262 8.04393 6.97262 8.00009C6.97262 7.95624 6.96397 7.91283 6.94717 7.87233C6.93036 7.83183 6.90573 7.79505 6.87469 7.76409L0.818023 1.70742C0.630426 1.51991 0.525 1.26556 0.524938 1.00032C0.524875 0.735082 0.630181 0.480681 0.817689 0.293085C1.0052 0.105488 1.25955 6.25399e-05 1.52479 2.78157e-08C1.79003 -6.24843e-05 2.04443 0.105243 2.23202 0.292751L8.28936 6.35009C8.72565 6.78825 8.9706 7.38141 8.9706 7.99975C8.9706 8.61809 8.72565 9.21125 8.28936 9.64942L2.23202 15.7074C2.13912 15.8003 2.02883 15.8739 1.90747 15.9241C1.7861 15.9743 1.65603 16.0001 1.52469 16.0001Z",style:{opacity:s,transition:"opacity 600ms linear"}})]}),(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:"clip0_977_4200_animated",children:(0,g.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]}),ee={"18-34":c.R,"35-49":c.H,"50-64":c.H,"65plus":c.H},es={"18-34":c.B,"35-49":c.W,"50-64":c.W,"65plus":c.W},ea={"18-34":c.z,"35-49":c.U,"50-64":c.U,"65plus":c.U},el={"18-34":c.L,"35-49":c.V,"50-64":c.V,"65plus":c.V};function ei(e){let{t:s}=(0,x.useTranslation)(),l=(0,h.useMemo)(()=>{let s=new URLSearchParams(window.location.search);return s.get("gen_type")||s.get("gender")||a.M.get(`${e}_gen_type`)},[]),i=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("age")||a.M.get(`${e}_age`),[]),t=(0,h.useMemo)(()=>{let e="male"===l,s=e?es:ee,a=e?el:ea,t=null!=i&&["18-34","35-49","50-64","65plus"].includes(i)&&i in s&&i in a?i:"50-64";return{sad:s[t],happy:a[t]}},[l,i]),[n,r]=(0,h.useState)(1),[o,d]=(0,h.useState)(1);return(0,h.useEffect)(()=>{let e,s=setInterval(()=>d(e=>+(1!==e)),1200),a=setTimeout(()=>{e=setInterval(()=>r(e=>+(1!==e)),1200)},300);return()=>{clearInterval(s),clearTimeout(a),e&&clearInterval(e)}},[]),(0,g.jsx)("div",{className:"_154579o0",children:(0,g.jsxs)("div",{className:"_154579o1",children:[(0,g.jsxs)("div",{className:L,children:[(0,g.jsx)("div",{className:A,children:(0,g.jsx)(c.G,{text:s(`${Y}.sellingPage.goalsSection.badTooltip`),backgroundColor:"rgba(20, 19, 25, 0.80)",color:"#fff",arrowDirection:"bottom",typographyStyle:{fontSize:"1rem"},contentStyle:{padding:"0.75rem"}})}),(0,g.jsx)("div",{className:D,children:(0,g.jsx)("img",{className:F,style:{filter:"drop-shadow(0px 1px 40px rgba(155, 59, 59, 0.60))",zIndex:99},src:t.sad,alt:`Sad ${"male"===l?"Man":"Woman"}`,draggable:!1})}),(0,g.jsxs)("div",{className:I,children:[(0,g.jsx)("div",{className:E,children:(0,g.jsxs)("div",{className:U,children:[(0,g.jsx)("p",{className:B,children:s(`${Y}.sellingPage.goalsSection.category1`)}),(0,g.jsxs)("div",{className:O,children:[(0,g.jsx)(X,{className:`${z} _154579oj _154579ol`}),(0,g.jsx)("p",{className:`${R} _154579of`,children:s(`${Y}.sellingPage.goalsSection.badValue1`)})]})]})}),(0,g.jsx)("div",{className:V}),(0,g.jsxs)("div",{className:E,children:[(0,g.jsxs)("div",{className:U,children:[(0,g.jsx)("p",{className:B,children:s(`${Y}.sellingPage.goalsSection.breathingCategory`)}),(0,g.jsx)("p",{className:Z,children:s(`${Y}.sellingPage.goalsSection.breathingBadValue`)})]}),(0,g.jsx)(G,{type:"low",value:30})]}),(0,g.jsx)("div",{className:V}),(0,g.jsxs)("div",{className:E,children:[(0,g.jsxs)("div",{className:U,children:[(0,g.jsx)("p",{className:B,children:s(`${Y}.sellingPage.goalsSection.dailyEnergyCategory`)}),(0,g.jsx)("p",{className:Z,children:s(`${Y}.sellingPage.goalsSection.dailyEnergyBadValue`)})]}),(0,g.jsxs)("div",{className:K,children:[(0,g.jsx)(H,{isActive:!0,type:"low"}),(0,g.jsx)(H,{}),(0,g.jsx)(H,{})]})]})]})]}),(0,g.jsxs)("div",{className:"_154579o4",children:[(0,g.jsx)("div",{className:"_154579o5"}),(0,g.jsx)("div",{className:"_154579oo",children:(0,g.jsx)(J,{className:"_154579op",firstArrowOpacity:n,secondArrowOpacity:o})})]}),(0,g.jsxs)("div",{className:L,children:[(0,g.jsx)("div",{className:A,children:(0,g.jsx)(c.G,{text:s(`${Y}.sellingPage.goalsSection.goodTooltip`),backgroundColor:"#227E64",color:"#fff",arrowDirection:"bottom",typographyStyle:{fontSize:"1rem"},contentStyle:{padding:"0.75rem"}})}),(0,g.jsx)("div",{className:D,children:(0,g.jsx)("img",{className:F,src:t.happy,alt:`Happy ${"male"===l?"Man":"Woman"}`,draggable:!1,style:{filter:"drop-shadow(0px 1px 40px rgba(3, 191, 160, 0.40)
1)",zIndex:99}})}),(0,g.jsxs)("div",{className:I,children:[(0,g.jsx)("div",{className:E,children:(0,g.jsxs)("div",{className:U,children:[(0,g.jsx)("p",{className:B,children:s(`${Y}.sellingPage.goalsSection.category1`)}),(0,g.jsxs)("div",{className:O,children:[(0,g.jsx)(X,{className:`${z} _154579oi _154579ok`}),(0,g.jsx)("p",{className:`${R} _154579oe`,children:s(`${Y}.sellingPage.goalsSection.goodValue1`)})]})]})}),(0,g.jsx)("div",{className:V}),(0,g.jsxs)("div",{className:E,children:[(0,g.jsxs)("div",{className:U,children:[(0,g.jsx)("p",{className:B,children:s(`${Y}.sellingPage.goalsSection.breathingCategory`)}),(0,g.jsx)("p",{className:Z,children:s(`${Y}.sellingPage.goalsSection.breathingGoodValue`)})]}),(0,g.jsx)(G,{type:"high",value:75})]}),(0,g.jsx)("div",{className:V}),(0,g.jsxs)("div",{className:E,children:[(0,g.jsxs)("div",{className:U,children:[(0,g.jsx)("p",{className:B,children:s(`${Y}.sellingPage.goalsSection.dailyEnergyCategory`)}),(0,g.jsx)("p",{className:Z,children:s(`${Y}.sellingPage.goalsSection.dailyEnergyGoodValue`)})]}),(0,g.jsxs)("div",{className:K,children:[(0,g.jsx)(H,{isActive:!0,type:"high"}),(0,g.jsx)(H,{isActive:!0,type:"high"}),(0,g.jsx)(H,{isActive:!0,type:"high"})]})]})]})]})]})})}var et="_1b0uxx75",en="_1b0uxx79",er=e=>{let{language:s,topTooltip:a,middleTooltip:l,bottomTooltip:i,...t}=e;return(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 329 180",fill:"none",...t,children:[(0,g.jsx)("style",{children:`
2          @keyframes draw {
3            to {
4              stroke-dashoffset: 0;
5            }
6          }
7          @keyframes appear {
8            0% {
9              opacity: 0;
10            }
11            100% {
12              opacity: 1;
13            }
14          }
15        `}),(0,g.jsx)("path",{fill:"#34293E",d:"M.5 32.4h325v2H.5zM.5 65.8h325v2H.5zM.5 99.2h325v2H.5zM.5 132.6h325v2H.5zM.5 166h325v2H.5z"}),(0,g.jsx)("rect",{x:"226",y:"146",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"130",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"114",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"98",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"82",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"66",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"50",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"34",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"18",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"50",width:"3",height:"8",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"162",width:"3",height:"4",fill:"#655868"}),(0,g.jsx)("rect",{x:"226",y:"82",width:"3",height:"5",fill:"#655868"}),(0,g.jsx)("path",{fill:"#261F2E",d:"M10.392 156.359c-7.951 7.174 2.426 1.851 0 0Z"}),(0,g.jsx)("path",{style:{strokeDasharray:350,strokeDashoffset:330,animation:"draw 3s ease-in-out forwards"},stroke:"url(#a)",strokeLinecap:"round",strokeWidth:4,d:"M9 155.883c6.692.973-8.557 9.055 2.5-.5 36.255-31.332 70.5-12.5 115.5-49.5C177.5 56.5 238.5 51.5 324.5 43.5"}),(0,g.jsx)("path",{style:{strokeDasharray:320,strokeDashoffset:320,animation:"draw 3s ease-in-out forwards"},stroke:"url(#b)",strokeWidth:4,d:"M9 157.383c36.333-18 157.4-26.1 317-24.5"}),(0,g.jsx)("circle",{style:{opacity:0,animation:"appear 0.25s linear forwards",animationDelay:"1.85s"},cx:202,cy:62.5,r:7.5,fill:"#227E64",stroke:"#fff",strokeWidth:4}),(0,g.jsx)("circle",{style:{opacity:0,animation:"appear 0.25s linear forwards",animationDelay:"2s"},cx:227,cy:133.5,r:7.5,fill:"#FF4F4F",stroke:"#fff",strokeWidth:4}),(0,g.jsx)("circle",{style:{opacity:0,animation:"appear 0.25s linear forwards",animationDelay:"2s"},cx:227,cy:56.5,r:7.5,fill:"#227E64",stroke:"#fff",strokeWidth:4}),(0,g.jsx)("circle",{style:{opacity:0,animation:"appear 0.25s linear forwards",animationDelay:"2.15s"},cx:252,cy:52.5,r:7.5,fill:"#227E64",stroke:"#fff",strokeWidth:4}),(0,g.jsx)("circle",{cx:12,cy:156.5,r:8.5,fill:"#fff",stroke:"#FF4F4F",strokeWidth:4}),a&&(0,g.jsx)("g",{style:{opacity:0,animation:"appear 0.5s linear forwards",animationDelay:"2s"}
15,filter:"url(#c)",children:(0,g.jsx)(n.r,{x:227,y:43,lines:a.lines,arrowDirection:"down",color:"#227E64",fontSize:12,fontWeight:700,paddingX:10,paddingY:8})}),l&&(0,g.jsx)("g",{style:{opacity:0,animation:"appear 0.5s linear forwards",animationDelay:"2s"},filter:"url(#d)",children:(0,g.jsx)(n.r,{x:227,y:124,lines:l.lines,arrowDirection:"down",color:"#FF4F4F",fontSize:12,fontWeight:700,paddingX:10,paddingY:8})}),i&&(0,g.jsx)("g",{style:{opacity:0,animation:"appear 0.5s linear forwards",animationDelay:"0.25s"},children:(0,g.jsx)(n.r,{x:14,y:142,lines:i.lines,arrowDirection:"down",color:"#ffffff",textColor:"#201C27",fontSize:12,fontWeight:700,paddingX:10,paddingY:8,arrowAlign:"left"})}),(0,g.jsxs)("defs",{children:[(0,g.jsxs)("linearGradient",{id:"a",x1:306.999,x2:-16.425,y1:18.896,y2:109.407,gradientUnits:"userSpaceOnUse",children:[(0,g.jsx)("stop",{stopColor:"#2FE0B6"}),(0,g.jsx)("stop",{offset:.333,stopColor:"#B9F5A6"}),(0,g.jsx)("stop",{offset:.667,stopColor:"#FFD600"}),(0,g.jsx)("stop",{offset:1,stopColor:"red"})]}),(0,g.jsxs)("linearGradient",{id:"b",x1:6.5,x2:315,y1:174.357,y2:174.357,gradientUnits:"userSpaceOnUse",children:[(0,g.jsx)("stop",{stopColor:"#FF4F4F"}),(0,g.jsx)("stop",{offset:1,stopColor:"#FFD600"})]}),(0,g.jsxs)("filter",{id:"c",x:"-20%",y:"-20%",width:"140%",height:"140%",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,g.jsx)("feOffset",{dy:4}),(0,g.jsx)("feGaussianBlur",{stdDeviation:5}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,g.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2318_3776"}),(0,g.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2318_3776",result:"shape"})]}),(0,g.jsxs)("filter",{id:"d",x:"-20%",y:"-20%",width:"140%",height:"140%",colorInterpolationFilters:"sRGB",children:[(0,g.jsx)("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),(0,g.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,g.jsx)("feOffset",{dy:4}),(0,g.jsx)("feGaussianBlur",{stdDeviation:5}),(0,g.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,g.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.2 0"}),(0,g.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2318_3776"}),(0,g.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2318_3776",result:"shape"})]})]})]})};function ec({isOpen:e,onClose:s}){let a=(0,h.useMemo)(()=>{let e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("language")||"en").toLowerCase().slice(0,2)||"en"},[]),{t:l}=(0,x.useTranslation)(),t=()=>"u">typeof document&&document.documentElement.clientWidth<528;return(0,g.jsxs)(j.Sheet,{isOpen:e,onClose:s,style:{width:t()?"100%":"33rem",left:t()?0:"calc((100% - 33rem) / 2)"},detent:"content-height",children:[(0,g.jsxs)(j.Sheet.Container,{style:{borderTopLeftRadius:"1rem",borderTopRightRadius:"1rem",boxShadow:"none",background:"#271F2F"},children:[(0,g.jsx)(j.Sheet.Header,{}),(0,g.jsx)(j.Sheet.Content,{style:{padding:"0 1rem 1.5rem 1rem",overflow:"auto"},children:(0,g.jsxs)("div",{className:"_1b0uxx70",children:[(0,g.jsx)("h3",{className:"_1b0uxx71",children:l(`${Y}.sellingPage.discountModal.title`)}),(0,g.jsxs)("div",{className:"_1b0uxx72",children:[(0,g.jsx)(er,{language:a,topTooltip:{lines:[l(`${Y}.sellingPage.discountModal.chartTopTooltip`)]},middleTooltip:{lines:[l(`${Y}.sellingPage.discountModal.chartMiddleTooltip`)]},bottomTooltip:{lines:[l(`${Y}.sellingPage.discountModal.chartBottomTooltip`)]}}),(0,g.jsxs)("div",{className:"_1b0uxx78",children:[(0,g.jsx)("span",{className:en,children:l(`${Y}.sellingPage.discountModal.todayTimeline`)}),(0,g.jsx)("span",{className:en,children:l(`${Y}.sellingPage.discountModal.firstMonthTimeline`)})]})]}),(0,g.jsx)("p",{className:"_1b0uxx73",children:l(`${Y}.layouts.quizPageLayout.illustrativePurposes`)}),(0,g.jsx)("div",{className:"_1b0uxx74",children:(0,g.jsx)("span",{className:et,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.discountModal.info`,components:{highlighted1:(0,g.jsx)("span",{className:`${et} _1b0uxx76`}),highlighted2:(0,g.jsx)("span",{className:`${et} _1b0uxx77`})}})})}),(0,g.jsx)(i.ut,{fullWidth:!0,title:l(`${Y}.sellingPage.discountModal.button`),onClick:s})]})})]}),(0,g.jsx)(j.Sheet.Backdrop,{onTap:()=>{}})]})}function eo({initialSeconds:e,isActive:s,storageKey:l,onExpire:i}){let[t,n]=(0,h.useState)(()=>{let s=Number(a.M.get(l));return!isNaN(s)&&s>=0?s:e}),r=(0,h.useRef)(null);return(0,h.useEffect)(()=>
15{if(s)return t<=0?void i?.():(r.current=window.setInterval(()=>{n(e=>{let s=e-1;return a.M.set(l,s.toString()),s})},1e3),()=>{null!==r.current&&clearInterval(r.current)})},[s,t,l,i]),(0,h.useEffect)(()=>{t<=0&&(null!==r.current&&clearInterval(r.current),i?.())},[t,i]),t}var ed=new Set(["XX","T1"]);function em({seconds:e,giftIcon:s=!1,style:a}){let l=(0,h.useMemo)(()=>Math.floor(e/60),[e]),i=(0,h.useMemo)(()=>e%60,[e]),t=(0,h.useMemo)(()=>l<10?`0${l}`:l,[l]),n=(0,h.useMemo)(()=>i<10?`0${i}`:i,[i]);return(0,g.jsxs)("span",{className:"_1q8a2x00",style:a,children:[s?"🎁":""," ",t,(0,g.jsx)("span",{className:"_1q8a2x01",style:a,children:":"}),n]})}function eh({timerSeconds:e,hasGiftIcon:s,onScrollToPlans:a}){let{t:l}=(0,x.useTranslation)();return(0,g.jsxs)("div",{className:"_1l6h7e04",children:[(0,g.jsx)(em,{seconds:e,giftIcon:s}),(0,g.jsx)("button",{className:"_1l6h7e07",onClick:a,children:l(`${Y}.sellingPage.headerButton`)})]})}var eg={yellow:"rgb(255, 205, 76)",green:"rgb(34, 126, 100)",red:"rgb(255, 79, 79)",white:"rgb(255, 255, 255)"};function eu(e){return(0,a.H)(e).map((e,s)=>{let a={};return e.color&&(a.color=eg[e.color]??e.color),e.italic&&(a.fontStyle="italic"),e.bold&&(a.fontWeight=700),Object.keys(a).length>0?(0,g.jsx)("span",{style:a,children:e.text},s):(0,g.jsx)(h.default.Fragment,{children:e.text},s)})}function ep({isDiscount75Proposed:e,isDiscount67Proposed:s,isDiscount50Proposed:a,titleParts:l,builderTitle:i,subtitle:t}){let{t:n}=(0,x.useTranslation)(),r=!!("string"==typeof i&&i.trim().length>0),c=!!("string"==typeof t&&t.trim().length>0);return(0,g.jsxs)("div",{className:"_1l6h7e05",children:[e||s?(0,g.jsx)("p",{className:`${k} ${M}`,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.previousDiscountSubtitle`,components:{highlighted:(0,g.jsx)("span",{className:`${k} ${T} ${M}`})}})}):a?(0,g.jsx)("p",{className:k,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.specialDiscountSubtitle`,components:{highlighted:(0,g.jsx)("span",{className:`${k} ${T}`})}})}):"",e?(0,g.jsx)("h2",{className:S,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.discount75Title`,components:{highlighted:(0,g.jsx)("span",{className:`${S} ${$}`})}})}):s?(0,g.jsx)("h2",{className:S,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.discountTitle`,components:{highlighted:(0,g.jsx)("span",{className:`${S} ${$}`})}})}):r?(0,g.jsx)("h2",{className:w,children:eu(i)}):(0,g.jsx)("h2",{className:w,children:l.map((e,s)=>e.highlight?(0,g.jsx)("span",{className:`${w} _1l6h7e09`,children:e.text},s):(0,g.jsx)(h.default.Fragment,{children:e.text},s))}),(0,g.jsx)("p",{className:"_1l6h7e0g",children:c?eu(t):n(`${Y}.sellingPage.subtitle`)})]})}var ex="_1iambev4",ej="_1iambev7",ev="_1iambev9 _1iambev8",ef="_1iambevi",ey="_1iambevj",eN="_1iambevk",e_="_1iambevt",eP="_1iambevy",eC="_1iambev14",eb="_1s2nmh44",ew="_1s2nmh49",eS="_1s2nmh4b",e$="_1s2nmh4l",ek="_1s2nmh4n",eT="_1s2nmh4p",eM="_1s2nmh4t",eL="_1s2nmh4v",eA="_1s2nmh4x";function eD({isDiscount50:e,isDiscount67:s,isDiscount75:l,priceWithoutDiscount:t,priceWithDiscount:n,isMostPopular:r,label:o,monthlyPrice:d,monthlyPriceWithoutDiscount:m,isSelected:u,onSelect:p,currency:j,countryCode:v}){let{t:f}=(0,x.useTranslation)(),y=(0,h.useMemo)(()=>({[a.O.USD]:"$",[a.O.EUR]:"€",[a.O.GBP]:"£"})[j],[j]),N=l||s||e;return(0,g.jsxs)("div",{className:"_1s2nmh42",children:[N&&(0,g.jsx)("div",{className:"_1s2nmh4z",children:(0,g.jsx)("span",{className:"_1s2nmh410",children:f(l?"breathSp.sellingPage.selectPlanSection.discount75Badge":s?"breathSp.sellingPage.selectPlanSection.additionalDiscountBadge":"breathSp.sellingPage.selectPlanSection.discountBadge")})}),(0,g.jsxs)("div",{className:"_1s2nmh43",onClick:p,children:[r&&(0,g.jsx)("div",{className:"_1s2nmh40",children:(0,g.jsx)("h6",{className:"_1s2nmh41",children:f("breathSp.sellingPage.selectPlanSection.mostPopular")})}),(0,g.jsxs)("div",{className:r&&u?`${eb} _1s2nmh47`:r?`${eb} _1s2nmh45`:u?`${eb} _1s2nmh46`:eb,children:[(0,g.jsxs)("div",{className:"_1s2nmh4d",children:[(0,g.jsx)("div",{className:"_1s2nmh48",children:(0,g.jsx)("div",{className:u?`${ew} _1s2nmh4a`:ew,children:(0,g.jsx)("div",{className:u?`${eS} _1s2nmh4c`:eS})})}),(0,g.jsxs)("div",{className:"_1s2nmh4g",children:[(0,g.jsx)("h5",{className:"_1s2nmh4f",children:o}),(0,g.jsxs)("div",{children:[N&&(0,g.jsxs)("span",{className:"_1s2nmh4h",children:[y,m]}),(0,g.jsxs)("span",{className:"_1s2nmh4j",children:[y,N?d:m]})]})]})]}),(0,g.jsx)("div",{className:"_1s2nmh4e",children:(0,g.jsxs)("div",{className:"_1s2nmh4k",children:[(0,g.jsx)(i.st,{className:u?`${e$} _1s2nmh4m`:e$}),(0,g.jsxs)("div",{className:u?`${ek} _1s2nmh4o`:ek,children:[(0,g.jsx)("span",{className:u?`${eT} _1s2nmh4q`:eT,children:y}),(0,g.jsxs)("div",{className:"_1s2nmh4r",children:[(0,g.jsx)("span",{className:u?`${eM} _1s2nmh4u`:eM,children:(0,c.I)(Number(N?n:t)).dollars}),(0,g.jsxs)("div",{className:"_1s2nmh4s",children:[(0,g.jsx)("span",{className:u?`${eL} _1s2nmh4w`:eL,children:(0,c.I)(Number(N?n:t)).coins}),(0,g.jsx)("span",{className:u?`${eA} _1s2nmh4y`:eA,children:f(`${Y}.sellingPage.selectPlanSection.timeline`)})]})]})]})]})})]})]})]})}var eF={"one-month":{plan:"one-month",months:1,monthlyPrice:39.99,monthlyDiscount50TrialPrice:19.99,monthlyDiscount67TrialPrice:12.99,monthlyDiscount75TrialPrice:9.99,labelKey:`${Y}.sellingPage.selectPlanSection.oneMonthPlanLabel`,solidgatePlanDescription:"1-MONTH PLAN",isMostPopular:!1,isBestValue:!1,isRecommended:!1,solidgateFullProductId:"494aa7dc-5161-475c-a63a-a8be0957a312",solidgateDiscount50TrialProductId:"5cf191d0-3622-43d2-89d4-544482da98b7",solidgateDiscount67TrialProductId:"efa516e7-40fa-4f8f-9bf2-925b12f452b9",solidgateDiscount75TrialProductId:"68793122-de7c-4a18-adab-d153406d7e09"},"three-month":{plan:"three-month",months:3,monthlyPrice:89.99,monthlyDiscount50TrialPrice:44.99,monthlyDiscount67TrialPrice:29.99,monthlyDiscount75TrialPrice:21.99,labelKey:`${Y}.sellingPage.selectPlanSection.threeMonthPlanLabel`,solidgatePlanDescription:"3-MONTH PLAN",isMostPopular:!0,isBestValue:!1,isRecommended:!1,solidgateFullProductId:"edc08a7c-ab43-4e13-ac06-d0056720104d",solidgateDiscount50TrialProductId:"1903f69d-9c97-40bb-a452-ccc5d6df9147",solidgateDiscount67TrialProductId:"4ee6b1ea-ecc7-4c8e-9ff7-3c1fedab540a",solidgateDiscount75TrialProductId:"5ed6dcdf-597c-4d0b-90b1-ab8629db4018"},"six-month":{plan:"six-month",months:6,monthlyPrice:119.99,monthlyDiscount50TrialPrice:59.99,monthlyDiscount67TrialPrice:39.99,monthlyDiscount75TrialPrice:29.99,labelKey:`${Y}.sellingPage.selectPlanSection.sixMonthPlanLabel`,solidgatePlanDescription:"6-MONTH PLAN",isMostPopular:!1,isBestValue:!1,isRecommended:!1,solidgateFullProductId:"6fdad698-3a44-41eb-9ab7-911b95cdd039",solidgateDiscount50TrialProductId:"023259dd-43d8-440e-b94a-f85de778da3c",solidgateDiscount67TrialProductId:"7a0899d7-68c6-44c0-85d8-b897f5159231",solidgateDiscount75TrialProductId:"199419a5-1a7e-4023-904d-270c2d456ded"}},eI={"one-month":{plan:"one-month",months:1,monthlyPrice:44.99,monthlyDiscount50TrialPrice:19.99,monthlyDiscount67TrialPrice:12.99,monthlyDiscount75TrialPrice:9.99,labelKey:`${Y}.sellingPage.selectPlanSection.oneMonthPlanLabel`,solidgatePlanDescription:"1-MONTH PLAN",isMostPopular:!1,isBestValue:!1,isRecommended:!1,solidgateFullProductId:"972c6ae1-5038-4ef8-9b37-cac1e30d6543",solidgateDiscount50TrialProductId:"aad1a804-89ca-4023-bc22-58f780933c92",solidgateDiscount67TrialProductId:"f651ed
1571-40b1-43a7-b045-58ba68e7d020",solidgateDiscount75TrialProductId:"689181c3-c991-4720-a6f8-539076fc67c4"},"three-month":{plan:"three-month",months:3,monthlyPrice:99.99,monthlyDiscount50TrialPrice:44.99,monthlyDiscount67TrialPrice:29.99,monthlyDiscount75TrialPrice:21.99,labelKey:`${Y}.sellingPage.selectPlanSection.threeMonthPlanLabel`,solidgatePlanDescription:"3-MONTH PLAN",isMostPopular:!0,isBestValue:!1,isRecommended:!1,solidgateFullProductId:"d0612b0d-96a0-413f-ac8e-c03a83bd33e8",solidgateDiscount50TrialProductId:"d8e2e872-70ad-49e0-8324-150b8089afbb",solidgateDiscount67TrialProductId:"243673a9-8b16-4b47-8973-22c0c307272f",solidgateDiscount75TrialProductId:"7b3df5a5-0823-45cd-9316-896ee8f020d2"},"six-month":{plan:"six-month",months:6,monthlyPrice:129.99,monthlyDiscount50TrialPrice:59.99,monthlyDiscount67TrialPrice:39.99,monthlyDiscount75TrialPrice:29.99,labelKey:`${Y}.sellingPage.selectPlanSection.sixMonthPlanLabel`,solidgatePlanDescription:"6-MONTH PLAN",isMostPopular:!1,isBestValue:!1,isRecommended:!1,solidgateFullProductId:"e99a1f00-7067-47eb-8632-ad3b8446b38d",solidgateDiscount50TrialProductId:"2476e738-f580-44c1-8777-3576540d8f4e",solidgateDiscount67TrialProductId:"8d97c444-132e-4cc5-87dc-0333d58d4f5a",solidgateDiscount75TrialProductId:"fed84745-0287-491f-a423-d273c52aa2fd"}},eE="_1ferivk1",eU="_1ferivk4",eB="_1ferivk5";function eZ({showBorder:e,blurIcons:s}){let{t:a}=(0,x.useTranslation)();return(0,g.jsxs)("div",{className:"_1ferivk0",children:[(0,g.jsxs)("div",{className:e?`${eE} _1ferivk2`:eE,children:[(0,g.jsx)(i.ot,{}),(0,g.jsx)("span",{className:"_1ferivk3",children:a(`${Y}.sellingPage.selectPlanSection.paySafeTip.badgeText`)})]}),(0,g.jsxs)("div",{className:s?`${eU} ${eB}`:eU,children:[!1,(0,g.jsx)(i.it,{}),(0,g.jsx)(i.nt,{}),(0,g.jsx)(i.tt,{}),(0,g.jsx)(i.et,{}),(0,g.jsx)(i.rt,{}),(0,g.jsx)(i.$,{})]})]})}var eR="t3v7yg0",eO="_1tovtn48",ez="_1tovtn49",eV="_1tovtn4b",eK={general:{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.generalTitle`,subtitle:`${Y}.sellingPage.paywall.errors.generalSubtitle`,firstAdvice:`${Y}.sellingPage.paywall.errors.generalFirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.generalSecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.generalThirdAdvice`},"3.08":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.generalTitle`,subtitle:`${Y}.sellingPage.paywall.errors.generalSubtitle`,oneMonthAdvice:`${Y}.sellingPage.paywall.errors.oneMonthAdvice`,firstAdvice:`${Y}.sellingPage.paywall.errors.generalFirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.generalSecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.generalThirdAdvice`},"3.10":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.generalTitle`,subtitle:`${Y}.sellingPage.paywall.errors.generalSubtitle`,oneMonthAdvice:`${Y}.sellingPage.paywall.errors.oneMonthAdvice`,firstAdvice:`${Y}.sellingPage.paywall.errors.generalFirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.generalSecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.generalThirdAdvice`},"3.02":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.3_02Title`,subtitle:`${Y}.sellingPage.paywall.errors.3_02Subtitle`,oneMonthAdvice:`${Y}.sellingPage.paywall.errors.oneMonthAdvice`,firstAdvice:`${Y}.sellingPage.paywall.errors.3_02FirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.3_02SecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.3_02ThirdAdvice`},"3.07":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.3_07Title`,subtitle:`${Y}.sellingPage.paywall.errors.3_07Subtitle`,firstAdvice:`${Y}.sellingPage.paywall.errors.3_07FirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.3_07SecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.3_07ThirdAdvice`},"2.14":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.2_14Title`,subtitle:`${Y}.sellingPage.paywall.errors.2_14Subtitle`,firstAdvice:`${Y}.sellingPage.paywall.errors.2_14FirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.2_14SecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.2_14ThirdAdvice`},"2.06":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.2_06Title`,subtitle:`${Y}.sellingPage.paywall.errors.2_06Subtitle`,firstAdvice:`${Y}.sellingPage.paywall.errors.2_06FirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.2_06SecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.2_06ThirdAdvice`},"5.01":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.5_01Title`,subtitle:`${Y}.sellingPage.paywall.errors.5_01Subtitle`,firstAdvice:`${Y}.sellingPage.paywall.errors.5_01FirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.5_01SecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.5_01ThirdAdvice`},"2.08":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.2_08Title`,subtitle:`${Y}.sellingPage.paywall.errors.2_08Subtitle`,firstAdvice:`${Y}.sellingPage.paywall.errors.2_08FirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.2_08SecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.2_08ThirdAdvice`},"2.09":{emoji:"🤔",title:`${Y}.sellingPage.paywall.errors.2_09Title`,subtitle:`${Y}
15.sellingPage.paywall.errors.2_09Subtitle`,firstAdvice:`${Y}.sellingPage.paywall.errors.2_09FirstAdvice`,secondAdvice:`${Y}.sellingPage.paywall.errors.2_09SecondAdvice`,thirdAdvice:`${Y}.sellingPage.paywall.errors.2_09ThirdAdvice`}};function eq({errorCode:e,onRetry:s,onRetryPayment:l,onChooseAnotherPaymentMethod:i,isRecurringRetryEnabled:t=!1,isRetryPaymentLoading:n=!1,retryPaymentError:c,plan:o}){let{t:m}=(0,x.useTranslation)(),u=(0,h.useMemo)(()=>e&&eK[e]||eK.general,[e]);return(0,g.jsxs)("div",{className:"_1tovtn40",children:[(0,g.jsx)("span",{className:"_1tovtn42",children:u.emoji}),(0,g.jsxs)("div",{className:"_1tovtn41",children:[(0,g.jsx)("h5",{className:"_1tovtn43",children:(0,g.jsx)(p.Trans,{i18nKey:u.title})}),(0,g.jsx)("p",{className:"_1tovtn44",children:(0,g.jsx)(p.Trans,{i18nKey:u.subtitle,components:{highlighted:(0,g.jsx)("span",{className:"_1tovtn45"}),highlightedReason:(0,g.jsx)("span",{className:"_1tovtn46"})}})})]}),(0,g.jsxs)("div",{className:"_1tovtn47",children:["one-month"!==o&&u.oneMonthAdvice&&(0,g.jsxs)("div",{className:"_1tovtn48",children:[(0,g.jsx)(r.r,{isActive:!0,activeBackgroundColor:"#FF854C",checkMarkColor:"#FFF"}),(0,g.jsx)("span",{className:"_1tovtn49",children:(0,g.jsx)(p.Trans,{i18nKey:u.oneMonthAdvice,components:{highlighted:(0,g.jsx)("span",{className:"_1tovtn4a"})}})})]}),(0,g.jsxs)("div",{className:eO,children:[(0,g.jsx)(r.r,{isActive:!0,activeBackgroundColor:"#FF854C",checkMarkColor:"#FFF"}),(0,g.jsx)("span",{className:ez,children:(0,g.jsx)(p.Trans,{i18nKey:u.firstAdvice,components:{supportLink:(0,g.jsx)("a",{href:"mailto:[email protected]",className:eV}),hubLink:(0,g.jsx)("a",{href:"https://spiriohub.com/",className:eV})}})})]}),(0,g.jsxs)("div",{className:eO,children:[(0,g.jsx)(r.r,{isActive:!0,activeBackgroundColor:"#FF854C",checkMarkColor:"#FFF"}),(0,g.jsx)("span",{className:ez,children:(0,g.jsx)(p.Trans,{i18nKey:u.secondAdvice,components:{supportLink:(0,g.jsx)("a",{href:"mailto:[email protected]",className:eV}),hubLink:(0,g.jsx)("a",{href:"https://spiriohub.com/",className:eV})}})})]}),(0,g.jsxs)("div",{className:eO,children:[(0,g.jsx)(r.r,{isActive:!0,activeBackgroundColor:"#FF854C",checkMarkColor:"#FFF"}),(0,g.jsx)("span",{className:ez,children:(0,g.jsx)(p.Trans,{i18nKey:u.thirdAdvice,components:{supportLink:(0,g.jsx)("a",{href:"mailto:[email protected]",className:eV}),hubLink:(0,g.jsx)("a",{href:"https://spiriohub.com/",className:eV})}})})]})]}),c&&(0,g.jsx)("p",{className:"_1tovtn4c",role:"alert",children:c}),(0,g.jsx)(a.G,{label:n?(0,g.jsx)("span",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center"},children:(0,g.jsx)(d.s,{size:16,color:"#FFFFFF"})}):m(t?`${Y}.sellingPage.paywall.errors.retryPayment`:`${Y}.sellingPage.paywall.errors.tryAgain`),onClick:t?l??s:s,disabled:!!t&&n}),t&&(0,g.jsx)("button",{type:"button",className:"_1tovtn4d",onClick:i||s,disabled:n,children:(0,g.jsx)(p.Trans,{i18nKey:"breathSp.sellingPage.paywall.errors.chooseAnotherPaymentMethod"})})]})}function eH({seconds:e,style:s}){let a=(0,h.useMemo)(()=>Math.floor(e/60),[e]),l=(0,h.useMemo)(()=>e%60,[e]),t=(0,h.useMemo)(()=>a<10?`0${a}`:a,[a]),n=(0,h.useMemo)(()=>l<10?`0${l}`:l,[l]);return(0,g.jsx)("div",{className:"_1vxp8yz0",style:s,children:(0,g.jsxs)("div",{className:"_1vxp8yz4",children:[(0,g.jsx)(i.J,{className:"_1vxp8yz3"}),(0,g.jsx)("p",{className:"_1vxp8yz1",children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.paywall.timer.text`,components:{highlighted:(0,g.jsx)("span",{className:"_1vxp8yz2"})},values:{minutes:t,seconds:n}})})]})})}var eW=["US","GB","CA","AU","DE","FR","ES","IT","BE","CH"],eG={"one-month":100,"three-month":130,"six-month":120},eQ={"one-month":85,"three-month":115,"six-month":105}
15,eY=new Set(["3.02","0.01","3.10","3.08","3.04","4.05"]),eX=new Set(["declined","auth_failed","fail"]);function eJ(e=500){setTimeout(()=>{document.getElementById("select-plan-modal-content")?.scrollIntoView({behavior:"smooth",block:"end"})},e)}async function e1(e,s){let l=s.fallbackErrorCode,i=s.initialDeclineData;for(let t=0;t<6;t+=1){let n=a.E.getCardOrderStatus({orderId:e}),r=setTimeout(()=>{n.cancel()},5e3);try{let e=await n,a=e?.order,t=e?.error?.code;if(t&&(l=t),a?.order_id&&(i={orderId:a.order_id,amount:a.amount||i.amount,currency:a.currency||i.currency,orderDescription:a.order_description||i.orderDescription||s.planSolidgatePlanDescription,ipAddress:a.ip_address||i.ipAddress}),a?.status&&eX.has(a.status))break}catch{}finally{clearTimeout(r)}t<5&&await new Promise(e=>setTimeout(e,500))}return s.isStillMounted()?{errorCode:l,declineData:i}:null}var e0=["MX","GT","BZ","HN","SV","NI","CR","PA","CU","DO","HT","PR","BR","AR","CL","CO","PE","VE","EC","BO","PY","UY","SR","GY"];function e3({funnelName:e,isOpen:s,onClose:t,price:n,originalPrice:r,plan:o,email:m,discountPercentages:u,coupon:j,isDiscount:v,cardPaymentIntent:f,payPalPaymentIntent:y,currency:N,refetchCardPaymentIntent:P,refetchPayPalPaymentIntent:w,onSuccessPayment:S,timerSeconds:$,countryCode:k,analyticsApi:T}){let{variant:M}=(0,c.P)("124_manifestation_retry-payment-logic_27-03"),L=M?.value==="treatment",A=!k||!e0.includes(k),{language:D}=(0,_.useParams)(),{t:F}=(0,x.useTranslation)(),[I,E]=(0,h.useState)(),[U,B]=(0,h.useState)(!1),[Z,R]=(0,h.useState)(!1),[O,z]=(0,h.useState)(!0),[V,K]=(0,h.useState)(!1),[q,H]=(0,h.useState)("fastPayment"),W=(0,h.useRef)(null),G=(0,h.useMemo)(()=>new URLSearchParams(window.location.search),[]),Q=(0,h.useMemo)(()=>G.get("utm_campaign"),[G]),X=(0,h.useCallback)(()=>G.get("utm_source")||"unknown",[G]);function J(){return"u">typeof document&&document.documentElement.clientWidth<528}let ee=s=>{K(!1),T.track(a.P.TRANSACTION,{status:"success",method:"card"}),T.identify({payed:!0});let l=eQ[o.plan];k&&eW.includes(k)&&(l=eG[o.plan]),T.adTrack("Purchase",{value:l,currency:"USD",order_id:s?.order?.order_id},{email:m});let i=(0,a.I)(e);i&&(T.cioTrack(i,"Purchase"),T.cioIdentify({id:i,funnel:e,order_id:s?.order?.order_id,payment_method:"card"}));let t=s?.order?.order_id;S("card","string"==typeof s?.originalDeclinedOrderId?s.originalDeclinedOrderId:t)},es=(0,h.useCallback)(e=>(function(e,s,a,l,i){let t=e?.order?.order_id;if(!t)return null;let n=e.order;return{orderId:t,amount:n.amount??s?.order?.amount??Math.round(100*i),currency:n.currency||s?.order?.currency||l,orderDescription:n.order_description||s?.order?.order_description||a.solidgatePlanDescription,ipAddress:n.ip_address||s?.order?.ip_address}})(e,y,o,N,n),[y,o,N,n]),ea=(0,h.useCallback)(()=>T.track(a.P.TRANSACTION,{status:"failed",method:"card"}),[T]),el=(0,h.useCallback)(e=>{let s=e?.code;K(!1),E(s),R(!0),eJ(),ea()},[ea,E,R,K]),ei=function(e){let{isRetryPaymentLogicTreatment:s,plan:l,price:i,currency:t,payPalPaymentIntent:n,funnelName:r,pstCampaign:c,getTrafficSource:o,getFallbackDeclineData:d,setErrorCode:m,setIsCardFail:g,setIsProcessing:u,onSolidgateCardSuccess:p,onCardTransactionFailed:x,t:j}=e,[v,f]=(0,h.useState)(null),[y,N]=(0,h.useState)(null),_=(0,h.useRef)(!0),P=(0,h.useCallback)(()=>{f(null),N(null)},[]);return{cardDeclineData:v,retryPaymentError:y,isMountedRef:_,handleSolidgateFail:(0,h.useCallback)(e=>{let a=e?.code,r=d(e),c=e?.order?.order_id||e?.detail?.data?.order?.order_id||e?.detail?.order?.order_id;if(!c||!s){u(!1),N(null),m(a),g(!0),f(r),eJ(),x();return}(async()=>{N(null),u(!0);let e=await e1(c,{fallbackErrorCode:a,initialDeclineData:{orderId:c,amount:n?.order?.amount||Math.round(100*i),currency:n?.order?.currency||t,orderDescription:n?.order?.order_description||l.solidgatePlanDescription,ipAddress:n?.order?.ip_address},planSolidgatePlanDescription:l.solidgatePlanDescription,isStillMounted:()=>_.current});null!==e&&(u(!1),m(e.errorCode),g(!0),f(e.declineData),eJ())})(),x()},[d,s,x,n,l,i,t,m,g,u]),resetRetryPaymentState:P,handleRetryOneClickPayment:(0,h.useCallback)(async()=>
15{if(!v?.orderId)return;let e=v.ipAddress||n?.order?.ip_address;if(e){N(null),u(!0);try{let s=function(e){let{cardDeclineData:s,plan:a,funnelName:l,getTrafficSource:i,pstCampaign:t}=e;return{orderId:s.orderId,ipAddress:s.ipAddress,amount:s.amount,orderDescription:s.orderDescription||a.solidgatePlanDescription,metadata:{traffic_source:i(),funnel:l,pst_funnel:l,...t?{pst_campaign:t}:{}},currency:s.currency,retryPaymentDeclineFlow:!0}}({cardDeclineData:{...v,ipAddress:e},plan:l,funnelName:r,getTrafficSource:o,pstCampaign:c});p({order:{order_id:(await a.E.makeOneClickCardPayment(s)).orderId},originalDeclinedOrderId:v.orderId})}catch{_.current&&N(j(`${Y}.sellingPage.paywall.errors.retryPaymentFailed`))}finally{_.current&&u(!1)}}},[v,r,o,p,n,l,c,u,j]),isRecurringRetryEnabled:(0,h.useCallback)(e=>!!(s&&e&&eY.has(e)),[s])}}({isRetryPaymentLogicTreatment:L,plan:o,price:n,currency:N,payPalPaymentIntent:y,funnelName:e,pstCampaign:Q,getTrafficSource:X,getFallbackDeclineData:es,setErrorCode:E,setIsCardFail:R,setIsProcessing:K,onSolidgateCardSuccess:ee,onCardTransactionFailed:ea,t:F}),et=ei.isMountedRef,en=()=>{z(!1),T.track(a.P.SOLIDGATE_CARD_MOUNT)},er=()=>{K(!0),T.track(a.P.TRY_TO_PAY,{method:"card",discount:u,timer_seconds:$}),T.identify({tried_to_pay:!0});let s=(0,a.I)(e);s&&T.cioTrack(s,"TryToPay")};return(0,h.useEffect)(()=>{L&&(et.current=!0);let s=document.getElementById("paypal-button"),l=s=>{console.log("order-started-processing",s),K(!0),T.track(a.P.TRY_TO_PAY,{method:"paypal-vault",discount:u,timer_seconds:$}),T.identify({tried_to_pay:!0});let l=(0,a.I)(e);l&&T.cioTrack(l,"TryToPay")},i=s=>{if(console.log("order-processed",s),K(!1),s?.detail?.data?.transactions?.[0]?.status==="success"){let l,i;K(!1),T.track(a.P.TRANSACTION,{method:"paypal-vault",status:"success"}),T.identify({payed:!0}),l=eQ[o.plan],k&&eW.includes(k)&&(l=eG[o.plan]),T.adTrack("Purchase",{value:l,currency:"USD",order_id:s?.detail?.data?.order?.order_id},{email:m}),(i=(0,a.I)(e))&&(T.cioTrack(i,"Purchase"),T.cioIdentify({id:i,funnel:e,order_id:s?.detail?.data?.order?.order_id,payment_method:"payPal"})),S("payPal",s?.detail?.data?.order?.order_id)}else s?.detail?.data?.error&&(B(!0),E(s.detail.data.error.code)),T.track(a.P.TRANSACTION,{status:"failed",method:"paypal-vault"})},t=e=>{console.log("order-already-processed",e),K(!1)},n=e=>{console.log("button-ready",e),z(!1),T.track(a.P.SOLIDGATE_PAYPAL_MOUNT)},r=e=>{console.error("paypal-button-error",e),a.S.logger.error("Solidgate PayPal Button Error",{customerEmail:m}),K(!1)},c=e=>{console.log("paypal-button-click",e),T.track(a.P.SOLIDGATE_PAYPAL_CLICK)},d=e=>{console.log("paypal-button-cancel",e),T.track(a.P.SOLIDGATE_PAYPAL_CANCEL),K(!1)};return s&&(s.addEventListener("order-started-processing",l),s.addEventListener("order-processed",i),s.addEventListener("order-already-processed",t),s.addEventListener("button-ready",n),s.addEventListener("button-error",r),s.addEventListener("button-click",c),s.addEventListener("button-cancel",d)),()=>{L&&(et.current=!1),s&&(s.removeEventListener("order-started-processing",l),s.removeEventListener("order-processed",i),s.removeEventListener("order-already-processed",t),s.removeEventListener("button-ready",n),s.removeEventListener("button-error",r),s.removeEventListener("button-click",c),s.removeEventListener("button-cancel",d))}},[s,y,U,Z,L,et]),(0,h.useEffect)(()=>{if(!s||!y?.pay_form?.script_url||document.querySelector(`script[src="${y.pay_form.script_url}"]`))return;let e=document.createElement("script");return e.type="text/javascript",e.src=y.pay_form.script_url,e.setAttribute("data-shape","rect"),e.setAttribute("data-label","paypal"),e.setAttribute("data-height",A?"55px":"44px"),e.async=!0,document.head.appendChild(e),()=>{let e=document.querySelector(`script[src="${y.pay_form.script_url}"]`);e&&e.remove()}},[s,y?.pay_form?.script_url,A]),(0,g.jsxs)(l.i,{title:v?(0,g.jsx)(eH,{seconds:$}):F(`${Y}.sellingPage.paywall.modalTitle`),maskClosable:!1,fullScreenMobile:!0,isOpen:s,onClose:()=>{U&&(w(),B(!1)),Z&&(P(),R(!1)),K(!1),t()},width:J()?"100%":"33rem",backgroundColor:"#271F2F",closeButtonStyle:{fill:"#FFF"},titleStyle:{color:"#C3B1C8"}
15,style:{minWidth:"10rem",minHeight:"20rem",height:(J(),"fit-content"),borderRadius:J()?"0":"1rem"},contentStyle:{borderRadius:J()?"0":"1rem"},children:[y?.pay_form?.script_url&&(0,g.jsx)(C.Helmet,{children:(0,g.jsx)("script",{type:"text/javascript",src:y.pay_form.script_url,"data-shape":"rect","data-height":A?"55px":"44px",async:!0})},y.pay_form.script_url),(0,g.jsxs)("div",{className:"_1iambevu",id:"select-plan-modal-content",children:[(0,g.jsx)("h2",{className:"_1iambevw",children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.paywall.title`,components:{highlighted:(0,g.jsx)("span",{className:"_1iambevx"})}})}),U||Z?(0,g.jsx)("div",{className:"t3v7yg2",children:(0,g.jsx)(eq,{plan:o.plan,errorCode:I,retryPaymentError:L?ei.retryPaymentError:null,onRetry:()=>{z(!0),w(),P(),B(!1),R(!1),ei.resetRetryPaymentState()},isRecurringRetryEnabled:ei.isRecurringRetryEnabled(I),isRetryPaymentLoading:V,onRetryPayment:L?ei.handleRetryOneClickPayment:void 0,onChooseAnotherPaymentMethod:L?()=>{z(!0),w(),P(),B(!1),R(!1),ei.resetRetryPaymentState()}:void 0})}):(0,g.jsxs)("div",{style:{position:"relative"},children:[V&&(0,g.jsx)("div",{style:{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",zIndex:9999},children:(0,g.jsx)(d.s,{size:48})}),(0,g.jsxs)("div",{className:"_1iambev15",style:{gap:"0.25rem",filter:V&&"cardPayment"!==q?"blur(5px) opacity(0.9)":"none",pointerEvents:V?"none":"auto"},children:[A&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:"t3v7ygi",children:F("breathSp.sellingPage.paywall.selectPaymentMethod")}),(0,g.jsxs)("div",{className:"t3v7ygh",children:[(0,g.jsxs)("div",{className:"fastPayment"===q?"t3v7ygj":"t3v7ygk",onClick:()=>{H("fastPayment")},children:[(0,g.jsx)("div",{className:"t3v7ygl",style:"it"===D||"pt"===D?{fontSize:"12px"}:{},children:F("breathSp.sellingPage.paywall.fastPaymentMethod")}),(0,g.jsxs)("div",{className:"t3v7ygm",children:[!1,(0,g.jsx)("img",{src:i.G,alt:"Apple Pay",width:36})]})]}),(0,g.jsxs)("div",{className:"cardPayment"===q?"t3v7ygj":"t3v7ygk",onClick:()=>{H("cardPayment")},children:[(0,g.jsx)("div",{className:"t3v7ygl",style:"it"===D||"pt"===D?{fontSize:"12px"}:{},children:F("breathSp.sellingPage.paywall.creditCardPaymentMethod")}),(0,g.jsx)("div",{className:"t3v7ygm",children:(0,g.jsx)("img",{src:i.K,alt:"credit-cards",width:132})})]})]})]}),(0,g.jsxs)("div",{className:eP,children:[(0,g.jsx)("p",{className:"_1iambevz",children:F(`${Y}.sellingPage.paywall.plan`)}),(0,g.jsx)("div",{className:"_1iambev11",children:(0,g.jsxs)("span",{className:"_1iambev13",children:[r," ",N]})})]}),v&&(0,g.jsxs)("div",{className:"_1iambevy",children:[(0,g.jsx)("p",{className:"_1iambevz",children:F("breathSp.sellingPage.paywall.introductoryDiscountWithPercentages",{discount:u})}),(0,g.jsxs)("p",{className:"_1iambev10",style:{whiteSpace:"nowrap"},children:["-",(r-n).toFixed(2)," ",N]})]}),(0,g.jsx)("div",{className:"t3v7yga"}),A&&v&&(0,g.jsx)("div",{className:"_1iambevy",style:{marginTop:"0.25rem"},children:(0,g.jsxs)("div",{className:"t3v7ygb",style:{background:"#DFF0E5"},children:[(0,g.jsx)("span",{className:"t3v7ygd",children:F("breathSp.sellingPage.paywall.appliedPromoCode")}),(0,g.jsxs)("div",{className:"t3v7ygc",children:[(0,g.jsx)(i.Y,{className:"t3v7ygg"}),(0,g.jsx)("span",{className:"t3v7yge",style:{color:"#237F66"},children:j})]})]})}),(0,g.jsxs)("div",{className:eP,children:[(0,g.jsx)("p",{className:eC,children:F(`${Y}.sellingPage.paywall.total`)}),(0,g.jsxs)("p",{className:eC,children:[n," ",N]})]}),v&&(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:"_1iambevy",style:{justifyContent:"flex-end"},children:(0,g.jsx)("p",{className:"_1iambev10",children:F("breathSp.sellingPage.paywall.youJustSavedTipWithPercentages",{value:(r-n).toFixed(2),discount:u,currency:N})})}),!A&&(0,g.jsx)("div",{className:"_1iambevy",style:{marginTop:"0.25rem"},children:(0,g.jsxs)("div",{className:"t3v7ygb",children:[(0,g.jsx)("span",{className:"t3v7ygd",children:F("breathSp.sellingPage.paywall.appliedPromoCode")}),(0,g.jsxs)("div",{className:"t3v7ygc",children:[(0,g.jsx)(i.X,{className:"t3v7ygf"}),(0,g.jsx)("span",{className:"t3v7yge",children:j})]})]})})]}),(0,g.jsx)("div",{className:"_1iambev17",style:{paddingTop:"0.5rem"},children:(0,g.jsx)("div",{className:eR,style:{justifyContent:"center"},children:A?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{style:{display:"fastPayment"===q?"flex":"none",flexDirection:"column",width:"100%"},children:[O&&(0,g.jsx)("div",{className:"t3v7yg9",children:(0,g.jsx)(d.s,{})}),(0,g.jsx)("div",{id:"apple-pay-button",className:"t3v7yg5"}),b.isAndroid&&(0,g.jsx)("div",{ref:W,id:"google-pay-button",className:"t3v7yg7"})]}),(0,g.jsx)("div",{style:{display:"cardPayment"===q?"block":"none",width:"100%"},children:f&&(0,g.jsx)(i.Z,{onSubmit:er,onSuccess:ee,onFail:L?ei.handleSolidgateFail:el,onMounted:en,googlePayContainerRef:W,googlePayButtonParams:{type:"plain",enabled:b.isAndroid,containerId:"google-pay-button"},onError:()=>a.S.logger.error("Solidgate Card Mount Error",{customerEmail:m}),formParams:{googleFontLink:"//fonts.googleapis.com/css2?family=Poppins&display=swap",formTypeClass:i.Q.Flat,submitButtonText:F("breathSp.sellingPage.paywall.proceedToCheckout"),cardNumberLabel:F("breathSp.sellingPage.paywall.credit
15Card.cardNumberLabel")},applePayButtonParams:{type:"plain",containerId:"apple-pay-button"},styles:{width:"100%",form_body:{"font-family":"Poppins"},input_group:{input:{"background-color":"#fff"}},submit_button:{"background-color":"#227E64","margin-top":m?0:"1rem"}},merchantData:f,width:"100%"})})]}):(0,g.jsxs)("div",{className:eR,style:{justifyContent:"center"},children:[O&&(0,g.jsx)("div",{className:"t3v7yg9",children:(0,g.jsx)(d.s,{})}),(0,g.jsx)("div",{id:"apple-pay-button",className:"t3v7yg4"}),b.isAndroid&&(0,g.jsx)("div",{ref:W,id:"google-pay-button",className:"t3v7yg7"}),f&&(0,g.jsx)(i.Z,{onSubmit:er,onSuccess:ee,onFail:L?ei.handleSolidgateFail:el,onMounted:en,googlePayContainerRef:W,googlePayButtonParams:{type:"pay",enabled:b.isAndroid,containerId:"google-pay-button"},onError:()=>{a.S.logger.error("Solidgate Card Mount Error",{customerEmail:m})},formParams:{googleFontLink:"//fonts.googleapis.com/css2?family=Poppins&display=swap",formTypeClass:i.Q.Flat,submitButtonText:F("breathSp.sellingPage.paywall.proceedToCheckout"),cardNumberLabel:F("breathSp.sellingPage.paywall.creditCard.cardNumberLabel")},applePayButtonParams:{containerId:"apple-pay-button"},styles:{width:"100%",form_body:{"font-family":"Poppins","min-width":"5rem"},input_group:{input:{"background-color":"#fff"}},submit_button:{"background-color":"#227E64","margin-top":m?0:"1rem"}},merchantData:f,width:"100%"})]})})}),("cardPayment"===q||!A)&&(0,g.jsxs)("div",{className:"_1iambev1b",children:[(0,g.jsx)("div",{className:"_1iambev1c"}),(0,g.jsx)(eZ,{showBorder:!1,blurIcons:!1})]})]})]})]})]})}var e6="pw9pcs2",e2={background:"#524C59",color:"#ffffff",opacity:1};function e8({isOpen:e,onClose:s,onSubmit:l,analyticsApi:n}){let{t:r}=(0,x.useTranslation)(),[c,o]=(0,h.useState)(),{refetch:m,isLoading:u}=(0,t.r)({email:c||""}),[v,f]=(0,h.useState)(),[y,_]=(0,h.useState)(!1),P=!c||u;(0,h.useEffect)(()=>{v&&f(void 0),y&&_(!1)},[c]);let C=()=>"u">typeof document&&document.documentElement.clientWidth<528,b=e=>{n.track(a.P.SELLING_PAGE_EMAIL_SUBMIT),n.identifyEmail(e),n.adTrack("CompleteRegistration",{},{email:e}),l(e)},w=()=>
15{if(c){if(!N.default.isEmail(c)){f(r(`${Y}.emailStep.validationErrorMessage`)),_(!0);return}m().then(e=>{if(e.data?.exists){f(r(`${Y}.emailStep.existenceErrorMessage`)),_(!0);return}b(c)}).catch(()=>{b(c)})}},S=e=>{"Enter"===e.key&&(e.stopPropagation(),w())};return(0,h.useEffect)(()=>(document.addEventListener("keydown",S),()=>{document.removeEventListener("keydown",S)}),[S]),(0,g.jsxs)(j.Sheet,{isOpen:e,onClose:s,disableScrollLocking:!0,style:{width:C()?"100%":"33rem",left:C()?0:"calc((100% - 33rem) / 2)"},detent:"content",children:[(0,g.jsxs)(j.Sheet.Container,{style:{borderTopLeftRadius:"1rem",borderTopRightRadius:"1rem",boxShadow:"none",background:"#271F2F"},children:[(0,g.jsx)(j.Sheet.Header,{}),(0,g.jsx)(j.Sheet.Content,{style:{padding:"0 1rem 1.5rem 1rem"},children:(0,g.jsxs)("div",{className:"pw9pcs0",children:[(0,g.jsxs)("div",{className:"pw9pcs1",children:[(0,g.jsx)("h3",{className:e6,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.emailModal.title`,components:{highlighted:(0,g.jsx)("span",{className:`${e6} pw9pcs3`})}})}),(0,g.jsxs)("div",{className:"pw9pcs4",children:[(0,g.jsx)("div",{onKeyDown:S,children:(0,g.jsx)(t.a,{icon:"email",value:c,onChange:o,placeholder:r(`${Y}.sellingPage.emailModal.placeholder`)})}),v&&(0,g.jsx)("p",{className:"pw9pcs5",children:v})]}),(0,g.jsxs)("div",{className:"pw9pcs6",children:[(0,g.jsx)("div",{className:"pw9pcs7",children:(0,g.jsx)(i.W,{className:"pw9pcs8"})}),(0,g.jsx)("p",{className:"pw9pcs9",children:r(`${Y}.emailStep.tip`)})]})]}),(0,g.jsx)(i.ut,{fullWidth:!0,title:u?(0,g.jsx)(d.s,{color:"#ded7d4"}):r(`${Y}.sellingPage.emailModal.button`),onClick:w,disabled:P,style:P?e2:void 0})]})})]}),(0,g.jsx)(j.Sheet.Backdrop,{onTap:()=>{}})]})}var e7="_1mv9mk87",e4="_1mv9mk88",e5="_1mv9mk89",e9="_1mv9mk8f",se="_1mv9mk8k",ss="_1mv9mk8l",sa=()=>new URLSearchParams(window.location.search).get("utm_source")||"unknown";function sl({onAccept:e,onDecline:s,orderId:l,isOpen:t,method:n,ipAddress:r,currency:o,analyticsApi:d,funnelName:j}){let{t:v}=(0,x.useTranslation)(),[f,y]=(0,h.useState)(!0),N=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("utm_campaign"),[]);(0,h.useEffect)(()=>{t?(d.track(a.P.PAGE_VIEW,{page_name:"Sound-Playbook-Upsell"}),y(!1)):setTimeout(()=>{y(!0)},350)},[t]);let _=(0,h.useMemo)(()=>({[a.O.USD]:"$",[a.O.EUR]:"€",[a.O.GBP]:"£"})[o],[o]),P=()=>{d.track(a.P.BUTTON_CLICK,{type:"sound_upsell_yes"}),(()=>{if(!l||!n)return s();if("card"===n){if(!r)return s();a.E.makeOneClickCardPayment({orderId:l,orderDescription:"Spirio Sound Vitality Playbook",amount:1999,ipAddress:r,metadata:{funnel:j,traffic_source:sa(),pst_funnel:j,...N?{pst_campaign:N}:{}},currency:o})}else"payPal"===n&&a.E.makeOneClickPayPalPayment({orderId:l,orderDescription:"Spirio Sound Vitality Playbook",amount:1999,metadata:{funnel:j,traffic_source:sa(),pst_funnel:j,...N?{pst_campaign:N}:{}},currency:o});e()})()},C=()=>{d.track(a.P.BUTTON_CLICK,{type:"sound_upsell_no"}),s()};return f?(0,g.jsx)(g.Fragment,{}):(0,g.jsx)(u.Transition,{in:t,timeout:350,children:e=>(0,g.jsxs)("div",{className:"_1mv9mk80",style:{transition:"opacity 350ms ease-in-out",opacity:+("entered"===e)},children:[(0,g.jsxs)("div",{className:"_1mv9mk82",children:[(0,g.jsxs)("div",{className:"_1mv9mk83",children:[(0,g.jsx)("img",{src:c.F,height:"100%",className:"_1mv9mk84"}),(0,g.jsx)(m.i,{className:"_1mv9mk85"}),(0,g.jsxs)("div",{className:"_1mv9mk8a",children:[(0,g.jsxs)("div",{className:e7,children:[(0,g.jsx)("div",{className:e4,children:"🧘‍♀️"}),(0,g.jsx)("div",{className:e5,style:{color:"#9903BF"},children:v(`${Y}.sellingPage.soundVitalityUpsell.advantage1`)})]}),(0,g.jsxs)("div",{className:e7,children:[(0,g.jsx)("div",{className:e4,children:"🙌"}),(0,g.jsx)("div",{className:e5,style:{color:"#C98013"},children:v(`${Y}.sellingPage.soundVitalityUpsell.advantage2`)})]}),(0,g.jsxs)("div",{className:e7,children:[(0,g.jsx)("div",{className:e4,children:"👩‍🔬"}),(0,g.jsx)("div",{className:e5,style:{color:"#227E64"},children:v(`${Y}.sellingPage.soundVitalityUpsell.advantage3`)})]}),(0,g.jsxs)("div",{className:e7,children:[(0,g.jsx)("div",{className:e4,children:"💆‍♂️"}),(0,g.jsx)("div",{className:e5,style:{color:"#3A8BD3"},children:v(`${Y}.sellingPage.soundVitalityUpsell.advantage4`)})]})]}),(0,g.jsxs)("div",{className:"_1mv9mk8b",children:[(0,g.jsxs)("span",{className:"_1mv9mk8c",children:[_,"19"]}),(0,g.jsx)("span",{className:"_1mv9mk8d",children:"99"})]})]}),(0,g.jsxs)("div",{className:"_1mv9mk8m",children:[(0,g.jsxs)("div",{className:"_1mv9mk8e",children:[(0,g.jsx)("h3",{className:e9,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.soundVitalityUpsell.title`,components:{highlighted:(0,g.jsx)("span",{className:`${e9} _1mv9mk8g`})}})}),(0,g.jsx)("div",{className:"_1mv9mk8h",children:(0,g.jsx)("div",{className:"_1mv9mk8i",children:v(`${Y}.sellingPage.soundVitalityUpsell.recommendedTip`)})})]}),(0,g.jsxs)("div",{className:"_1mv9mk8j",children:[(0,g.jsxs)("div",{className:se,children:[(0,g.jsx)("span",{className:ss,children:"🎧"}),(0,g.jsx)("span",{className:ss,children:v(`${Y}.sellingPage.soundVitalityUpsell.description1`)})]}),(0,g.jsxs)("div",{className:se,children:[(0,g.jsx)("span",{className:ss,children:"😍"}),(0,g.jsx)("span",{className:ss,children:v(`${Y}.sellingPage.soundVitalityUpsell.description2`)})]}),(0,g.jsxs)("div",{className:se,children:[(0,g.jsx)("span",{className:ss,children:"💪"}),(0,g.jsx)("span",{className:ss,children:v(`${Y}.sellingPage.soundVitalityUpsell.description3`)})]}),(0,g.jsxs)("div",{className:se,children:[(0,g.jsx)("span",{className:ss,children:"🌳"}),(0,g.jsx)("span",{className:ss,children:v(`${Y}.sellingPage.soundVitalityUpsell.description4`)})]}),(0,g.jsxs)("div",{className:se,children:[(0,g.jsx)("span",{className:ss,children:"⏱️"}),(0,g.jsx)("span",{className:ss,children:v(`${Y}.sellingPage.soundVitalityUpsell.description5`)})]})]})]})]}),(0,g.jsxs)("div",{className:"_1mv9mk81",children:[(0,g.jsx)(i.ut,{onClick:P,title:v(`${Y}.sellingPage.soundVitalityUpsell.yesButton`)}),(0,g.jsx)("span",{className:"_1mv9mk86",onClick:C,children:v(`${Y}.sellingPage.soundVitalityUpsell.noButton`)})]})]})})}var si="apkw2r7",st="apkw2r8",sn="apkw2r9",sr="apkw2rf",sc="apkw2rk",so="apkw2rl",sd=()=>new URLSearchParams(window.location.search).get("utm_source")||"unknown";function sm({onAccept:e,onDecline:s,orderId:l,isOpen:t,method:n,ipAddress:r,currency:c,analyticsApi:o,funnelName:d}){let{t:j}=(0,x.useTranslation)(),[v,f]=(0,h.useState)(!0),[y,N]=(0,h.useState)(!1),_=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("utm_campaign"),[]);(0,h.useEffect)(()=>{t?(o.track(a.P.PAGE_VIEW,{page_name:"Meaningful-Questions-Upsell"}),f(!1),setTimeout(()=>N(!0),50)):(setTimeout(()=>N(!1),50),setTimeout(()=>{f(!0)},350))},[t]);let P=(0,h.useMemo)(()=>({[a.O.USD]:"$",[a.O.EUR]:"€",[a.O.GBP]:"£"})[c],[c]),C=()=>{o.track(a.P.BUTTON_CLICK,{type:"meaningful_questions_upsell_yes"}),(()=>{if(!l||!n)return s();if("card"===n){if(!r)return s();a.E.makeOneClickCardPayment({orderId:l,orderDescription:"Spirio Meaningful Questions",amount:1999,ipAddress:r,metadata:{funnel:d,traffic_source:sd(),pst_funnel:d,..._?{pst_campaign:_}:{}},currency:c})}else"payPal"===n&&a.E.makeOneClickPayPalPayment({orderId:l,orderDescription:"Spirio Meaningful Questions",amount:1999,metadata:{funnel:d,traffic_source:sd(),pst_funnel:d,..._?{pst_campaign:_}:{}},currency:c});e()})()},b=()=>{o.track(a.P.BUTTON_CLICK,{type:"meaningful_questions_upsell_no"}),s()};return v?(0,g.jsx)(g.Fragment,{}):(0,g.jsx)(u.Transition,{in:y,timeout:350,children:e=>(0,g.jsxs)("div",{className:"apkw2r0",style:{transition:"opacity 350ms ease-in-out",opacity:+("entered"===e)},children:[(0,g.jsxs)("div",{className:"apkw2r2",children:[(0,g.jsxs)("div",{className:"apkw2r3",children:[(0,g.jsx)("img",{src:m.r,he
15ight:"100%",className:"apkw2r4"}),(0,g.jsx)(m.i,{className:"apkw2r5"}),(0,g.jsxs)("div",{className:"apkw2ra",children:[(0,g.jsxs)("div",{className:si,children:[(0,g.jsx)("div",{className:st,children:"❤️‍🔥"}),(0,g.jsx)("div",{className:sn,style:{color:"#BF0303"},children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.advantage1`)})]}),(0,g.jsxs)("div",{className:si,children:[(0,g.jsx)("div",{className:st,children:"🥰"}),(0,g.jsx)("div",{className:sn,style:{color:"#BF7403"},children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.advantage2`)})]}),(0,g.jsxs)("div",{className:si,children:[(0,g.jsx)("div",{className:st,children:"💞"}),(0,g.jsx)("div",{className:sn,style:{color:"#9903BF"},children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.advantage3`)})]}),(0,g.jsxs)("div",{className:si,children:[(0,g.jsx)("div",{className:st,children:"🤝"}),(0,g.jsx)("div",{className:sn,style:{color:"#227E64"},children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.advantage4`)})]})]}),(0,g.jsxs)("div",{className:"apkw2rb",children:[(0,g.jsxs)("span",{className:"apkw2rc",children:[P,"19"]}),(0,g.jsx)("span",{className:"apkw2rd",children:"99"})]})]}),(0,g.jsxs)("div",{className:"apkw2rm",children:[(0,g.jsxs)("div",{className:"apkw2re",children:[(0,g.jsx)("h3",{className:sr,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.meaningfulQuestionsUpsell.title`,components:{highlighted:(0,g.jsx)("span",{className:`${sr} apkw2rg`})}})}),(0,g.jsx)("div",{className:"apkw2rh",children:(0,g.jsx)("div",{className:"apkw2ri",children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.recommendedTip`)})})]}),(0,g.jsxs)("div",{className:"apkw2rj",children:[(0,g.jsxs)("div",{className:sc,children:[(0,g.jsx)("span",{className:so,children:"📖"}),(0,g.jsx)("span",{className:so,children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.description1`)})]}),(0,g.jsxs)("div",{className:sc,children:[(0,g.jsx)("span",{className:so,children:"🔐"}),(0,g.jsx)("span",{className:so,children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.description2`)})]}),(0,g.jsxs)("div",{className:sc,children:[(0,g.jsx)("span",{className:so,children:"🌟"}),(0,g.jsx)("span",{className:so,children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.description3`)})]}),(0,g.jsxs)("div",{className:sc,children:[(0,g.jsx)("span",{className:so,children:"🎁"}),(0,g.jsx)("span",{className:so,children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.description4`)})]}),(0,g.jsxs)("div",{className:sc,children:[(0,g.jsx)("span",{className:so,children:"⏱️"}),(0,g.jsx)("span",{className:so,children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.description5`)})]})]})]})]}),(0,g.jsxs)("div",{className:"apkw2r1",children:[(0,g.jsx)(i.ut,{onClick:C,title:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.yesButton`)}),(0,g.jsx)("span",{className:"apkw2r6",onClick:b,children:j(`${Y}.sellingPage.meaningfulQuestionsUpsell.noButton`)})]})]})})}var sh="pi9zx63",sg="pi9zx6e",su="pi9zx6h",sp="pi9zx6k",sx="pi9zx6q",sj="pi9zx6r",sv="pi9zx6s",sf="pi9zx6t",sy=()=>new URLSearchParams(window.location.search).get("utm_source")||"unknown";function sN({onAccept:e,onDecline:s,orderId:l,isOpen:t,method:n,ipAddress:r,currency:c,analyticsApi:o,funnelName:m}){let{t:j}=(0,x.useTranslation)(),[v,f]=(0,h.useState)(!0),[y,N]=(0,h.useState)(!1),_=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("utm_campaign"),[]);(0,h.useEffect)(()=>{t?(o.track(a.P.PAGE_VIEW,{page_name:"Bundle-Upsell"}),f(!1),setTimeout(()=>N(!0),50)):setTimeout(()=>{f(!0)},350)},[t]);let P=(0,h.useMemo)(()=>({[a.O.USD]:"$",[a.O.EUR]:"€",[a.O.GBP]:"£"})[c],[c]),C=()=>{o.track(a.P.BUTTON_CLICK,{type:"bundle_upsell_yes"}),(()=>{if(!l||!n)return s();if("card"===n){if(!r)return s();a.E.makeOneClickCardPayment({orderId:l,orderDescription:"Spirio Playbooks Bundle",amount:1999,ipAddress:r,metadata:{funnel:m,traffic_source:sy(),pst_funnel:m,..._?{pst_campaign:_}:{}},currency:c})}else"payPal"===n&&a.E.makeOneClickPayPalPayment({orderId:l,orderDescription:"Spirio Playbooks Bundle",amount:1999,metadata:{funnel:m,traffic_source:sy(),pst_funnel:m,..._?{pst_campaign:_}:{}},currency:c});e()})()},b=()=>{o.track(a.P.BUTTON_CLICK,{type:"bundle_upsell_no"}),s()};return v?(0,g.jsx)(g.Fragment,{}):(0,g.jsx)(u.Transition,{in:y,timeout:350,children:e=>(0,g.jsxs)("div",{className:"pi9zx60",style:{transition:"opacity 350ms ease-in-out",opacity:+("entered"===e)},children:[(0,g.jsxs)("div",{className:"pi9zx62",children:[(0,g.jsx)("div",{className:sh,style:{background:"linear-gradient(107deg, #1A1321 18.25%, #0B070F 57.16%)"},children:(0,g.jsxs)("div",{className:sh,style:{background:`url(${d.a})`,backgroundRepeat:"repeat-x"},children:[(0,g.jsx)("div",{className:"pi9zx610",children:j(`${Y}.sellingPage.bundleUpsell.limitedOffer`)}),(0,g.jsx)("img",{src:d.o,height:"100%",className:"pi9zx64",alt:"Bundle"}),(0,g.jsxs)("div",{className:"pi9zx66",children:[(0,g.jsx)("div",{className:"pi9zx6b"}),(0,g.jsxs)("span",{className:"pi9zx68",children:[P,"39"]}),(0,g.jsx)("span",{className:"pi9zx6a",children:"99"})]}),(0,g.jsxs)("div",{className:"pi9zx67",children:[(0,g.jsxs)("span",{className:"pi9zx69",children:[P,"19"]}),(0,g.jsx)("span",{className:"pi9zx6c",children:"99"})]})]})}),(0,g.jsxs)("div",{className:"pi9zx6o",children:[(0,g.jsxs)("div",{className:"pi9zx6d",children:[(0,g.jsxs)("h3",{className:`${sg} pi9zx6f`,children:[(0,g.jsx)("span",{className:sg,children:j(`${Y}.sellingPage.bundleUpsell.titleLine1`)}),(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.bundleUpsell.titleLine2`,values:{currencySymbol:P}})]}),(0,g.jsxs)("div",{className:"pi9zx6g",children:[(0,g.jsx)("div",{className:`${su} pi9zx6j`,children:(0,g.jsx)("div",{className:`${sp} pi9zx6m`,children:j(`${Y}.sellingPage.bundleUpsell.badge1`)})}),(0,g.jsx)("div",{className:`${su} pi9zx6i`,children:(0,g.jsx)("div",{className:`${sp} pi9zx6l`,children:j(`${Y}.sellingPage.bundleUpsell.badge2`)})})]})]}),(0,g.jsx)("div",{className:"pi9zx6n",children:j(`${Y}.sellingPage.bundleUpsell.description`)}),(0,g.jsxs)("div",{className:"pi9zx6p",children:[(0,g.jsxs)("div",{className:sx,children:[(0,g.jsx)("span",{className:sj,children:"🎧"}),(0,g.jsx)("span",{className:sv,children:j(`${Y}.sellingPage.bundleUpsell.playbook1`)}),(0,g.jsxs)("span",{className:sf,children:[P,"19.99"]})]}),(0,g.jsxs)("div",{className:sx,children:[(0,g.jsx)("span",{className:sj,children:"📖"}),(0,g.jsx)("span",{className:sv,children:j(`${Y}.sellingPage.bundleUpsell.playbook2`)}),(0,g.jsxs)("span",{className:sf,style:{textDecoration:"line-through"},children:[P,"19.99"]}),(0,g.jsx)("div",{className:"pi9zx6u",children:j(`${Y}.sellingPage.bundleUpsell.free`)})]})]}),(0,g.jsxs)("div",{className:"pi9zx6v",children:[(0,g.jsx)("span",{className:"pi9zx6w",children:"💡"}),(0,g.jsxs)("div",{className:"pi9zx6x",children:[(0,g.jsx)("p",{className:"pi9zx6y",children:j(`${Y}.sellingPage.bundleUpsell.motivationTitle`)}),(0,g.jsx)("p",{className:"pi9zx6z",children:j(`${Y}.sellingPage.bundleUpsell.motivationSubtitle`)})]})]})]})]}),(0,g.jsxs)("div",{className:"pi9zx61",children:[(0,g.jsx)(i.ut,{onClick:C,title:j(`${Y}.sellingPage.bundleUpsell.yesButton`)}),(0,g.jsx)("span",{className:"pi9zx65",onClick:b,children:j(`${Y}.sellingPage.bundleUpsell.noButton`)})]})]})})}var s_="_1ys65e84",sP="_1ys65e87",sC="_1ys65e8e",sb="_1ys65e8i",sw="_1ys65e8j",sS="_1ys65e8k",s$="_1ys65e8l";function sk({isOpen:e,onClose:s,timerSeconds:a,currencySymbol:l}){let{t}=(0,x.useTranslation)(),n=()=>"u">typeof document&&document.documentElement.clientWidth<528,r=(0,h.useMemo)(()=>Math.floor(a/60),[a]),c=(0,h.useMemo)(()=>a%60,[a]),o=(0,h.useMemo)(()=>r<10?`0${r}`:r,[r]),d=(0,h.useMemo)(()=>c<10?`0${c}`:c,[c]);return(0,g.jsxs)(j.Sheet,{isOpen:e,onClose:s,style:{width:n()?"100%":"33rem",left:n()?0:"calc((100% - 33rem) / 2)"},detent:"content",children:[(0,g.jsxs)(j.Sheet.Container,{style:{borderTopLeftRadius:"1rem",borderTopRightRadius:"1rem",boxShadow:"none",background:"#271F2F"},children:[(0,g.jsx)(j.Sheet.Header,{}),(0,g.jsx)(j.Sheet.Content,{style:{padding:"0 1rem 1.5rem 1rem",overflow:"auto"},children:(0,g.jsxs)("div",{className:"_1ys65e80",children:[(0,g.jsx)("h3",{className:"_1ys65e81",children:t(`${Y}.sellingPage.precheckoutModal.title`)}),(0,g.jsxs)("div",{className:"_1ys65e82",children:[(0,g.jsx)("div",{className:"_1ys65e83",children:(0,g.jsx)("p",{className:s_,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.precheckoutModal.timer`,components:{highlighted:(0,g.jsx)("span",{className:`${s_} _1ys65e85`})},values:{minutes:o,seconds:d}})})}),(0,g.jsxs)("div",{className:"_1ys65e86",children:[(0,g.jsxs)("div",{className:sP,children:[(0,g.jsx)("div",{className:"_1ys65e88",children:(0,g.jsx)("span",{className:"_1ys65e89",children:"🌟"})}),(0,g.jsx)("p",{className:"_1ys65e8a",children:t(`${Y}.sellingPage.precheckoutModal.infoTitle`)})]}),(0,g.jsxs)("div",{className:sP,children:[(0,g.jsx)("div",{className:"_1ys65e8b"}),(0,g.jsx)("p",{className:"_1ys65e8c",children:t(`${Y}.sellingPage.precheckoutModal.infoAccess`)})]})]})]}),(0,g.jsx)("div",{className:"_1ys65e8d"}),(0,g.jsx)("h4",{className:sC,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.precheckoutModal.benefitTitle`,components:{highlighted1:(0,g.jsx)("span",{className:`${sC} _1ys65e8f`}),highlighted2:(0,g.jsx)("span",{className:`${sC} _1ys65e8g`})}})}),(0,g.jsxs)("div",{className:"_1ys65e8h",children:[(0,g.jsxs)("div",{className:sb,children:[(0,g.jsx)("p",{className:sw,children:t(`${Y}.sellingPage.precheckoutModal.benefit1`)}),(0,g.jsxs)("p",{className:sS,children:[l,"39"]}),(0,g.jsxs)("p",{className:s$,children:[l,"0"]})]}),(0,g.jsxs)("div",{className:sb,children:[(0,g.jsx)("p",{className:sw,children:t(`${Y}.sellingPage.precheckoutModal.benefit2`)}),(0,g.jsxs)("p",{className:sS,children:[l,"19"]}),(0,g.jsxs)("p",{className:s$,children:[l,"0"]})]}),(0,g.jsxs)("div",{className:sb,children:[(0,g.jsx)("p",{className:sw,children:t(`${Y}.sellingPage.precheckoutModal.benefit3`)}),(0,g.jsxs)("p",{className:sS,children:[l,"19"]}),(0,g.jsxs)("p",{className:s$,children:[l,"0"]})]}),(0,g.jsxs)("div",{className:sb,children:[(0,g.jsx)("p",{className:sw,children:t(`${Y}.sellingPage.precheckoutModal.benefit4`)}),(0,g.jsxs)("p",{className:sS,children:[l,"59"]}),(0,g.jsxs)("p",{className:s$,children:[l,"0"]})]})]}),(0,g.jsx)("div",{style:{marginTop:"0.5rem",width:"100%"},children:(0,g.jsx)(i.ut,{fullWidth:!0,title:t(`${Y}.sellingPage.precheckoutModal.button`),onClick:s})})]})})]}),(0,g.jsx)(j.Sheet.Backdrop,{onTap:()=>{}})]})}var sT=()=>"u">typeof document&&document.documentElement.clientWidth<528;function sM({isOpen:e,onAccept:s,onDecline:l,threeMonthPlan:t,currency:n}){let r=(0,h.useMemo)(()=>({[a.O.USD]:"$",[a.O.EUR]:"€",[a.O.GBP]:"£"})[n],[n]),{t:c}=(0,x.useTranslation)(),o="spHighVibr.sellingPage.threeMonthUpgradeModal",d=t.monthlyDiscount67TrialPrice,m=t.monthlyPrice,[u,p]=(Math.floor(d/(30*t.months)*100)/100).toFixed(2).split(".");return(0,g.jsxs)(j.Sheet,{isOpen:e,onClose:l,style:{width:sT()?"100%":"33rem",left:sT()?0:"calc((100% - 33rem) / 2)"},detent:"content",children:[(0,g.jsxs)(j.Sheet.Container,{style:{borderTopLeftRadius:"1rem",borderTopRightRadius:"1rem",boxShadow:"none",background:"#271F2F"},children:[(0,g.jsx)(j.Sheet.Header,{}),(0,g.jsx)(j.Sheet.Content,{style:{padding:"0 1rem 1.5rem 1rem",overflow:"auto"},children:(0,g.jsxs)("div",{className:"_119ebnk0",children:[(0,g.jsx)("p",{className:"_119ebnk1",children:c(`${o}.specialOffer`)}),(0,g.jsx)("h3",{className:"_119ebnk2",children:c(`${o}.title`)}),(0,g.jsxs)("p",{className:"_119ebnk3",children:[(0,g.jsx)("span",{className:"_119ebnk4",children:c(`${o}.subtitleHighlight`)})," ",c(`${o}.subtitle`)]}),(0,g.jsxs)("div",{className:"_119ebnk6",children:[(0,g.jsx)(i.z,{className:"_119ebnk5"}),(0,g.jsxs)("div",{className:"_119ebnk8",children:[(0,g.jsx)("span",{className:"_119ebnkl",children:"🔥"}),(0,g.jsx)("span",{className:"_119ebnkm",children:c(`${o}.discountPercent`)}),(0,g.jsxs)("span",{className:"_119ebnkn",children:[" ",c(`${o}.discountOff`)]})]}),(0,g.jsx)("div",{className:"_119ebnk7"}),(0,g.jsxs)("div",{className:"_119ebnk9",children:[(0,g.jsxs)("div",{className:"_119ebnkp",children:[(0,g.jsx)("span",{className:"_119ebnkq",children:c(`${o}.planName`)}),(0,g.jsxs)("div",{className:"_119ebnkr",children:[(0,g.jsxs)("span",{className:"_119ebnks",children:[m,r]}),(0,g.jsxs)("span",{className:"_119ebnkt",children:[d,r]})]})]}),(0,g.jsxs)("div",{className:"_119ebnka",children:[(0,g.jsx)("div",{className:"_119ebnkb",children:(0,g.jsx)(i.F,{className:"_119ebnkc"})}),(0,g.jsxs)("div",{className:"_119ebnkd",children:[(0,g.jsx)("span",{className:"_119ebnke",children:r}),(0,g.jsxs)("div",{className:"_119ebnkj",children:[(0,g.jsx)("span",{className:"_119ebnkf",children:u}),(0,g.jsxs)("div",{className:"_119ebnkg",children:[(0,g.jsx)("span",{className:"_119ebnkh",children:p}),(0,g.jsx)("span",{className:"_119ebnki",children:c(`${o}.perDay`)})]})]})]})]})]})]}),(0,g.jsxs)("div",{className:"_119ebnk10",children:[(0,g.jsx)("div",{className:"_119ebnk11",children:(0,g.jsx)(i.B,{width:31,height:32})}),(0,g.jsxs)("div",{className:"_119ebnk12",children:[(0,g.jsxs)("p",{className:"_119ebnk13",children:[c(`${o}
15.calloutText`)," ",(0,g.jsx)("span",{className:"_119ebnk14",children:c(`${o}.calloutHighlight`)})]}),(0,g.jsx)("p",{className:"_119ebnk15",children:c(`${o}.calloutSource`)})]})]}),(0,g.jsx)("p",{className:"_119ebnk16",children:c(`${o}.legalText`,{currencySymbol:r,discountedPrice:d,fullPrice:m})}),(0,g.jsxs)("div",{className:"_119ebnk17",children:[(0,g.jsx)(i.ut,{fullWidth:!0,title:c(`${o}.claimButton`),onClick:s}),(0,g.jsx)("span",{className:"_119ebnk18",onClick:l,children:c(`${o}.declineButton`)})]})]})})]}),(0,g.jsx)(j.Sheet.Backdrop,{onTap:()=>{}})]})}var sL="_1f87mkv2",sA="_1f87mkv4",sD="_1f87mkv7",sF=({style:e})=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:76,height:73,fill:"none",style:e,children:[(0,g.jsx)("path",{fill:"#FFCD4C",d:"M.5 8.49a8 8 0 0 1 8-8h59a8 8 0 0 1 8 8V54.75a8 8 0 0 1-5.44 7.579l-29.033 9.809a8 8 0 0 1-5.06.02L6 62.3a8 8 0 0 1-5.5-7.6V8.49Z"}),(0,g.jsx)("path",{fill:"#000",d:"M21.904 41.17v2.36h-8.48v-2.36h8.48Zm10.38-2.62c-.133-.56-.367-.98-.7-1.26-.32-.28-.787-.42-1.4-.42-.92 0-1.6.374-2.04 1.12-.427.734-.647 1.934-.66 3.6.32-.533.787-.946 1.4-1.24a4.41 4.41 0 0 1 2-.46c.867 0 1.633.187 2.3.56.667.374 1.187.92 1.56 1.64.373.707.56 1.56.56 2.56 0 .947-.193 1.794-.58 2.54a4.048 4.048 0 0 1-1.66 1.72c-.733.414-1.607.62-2.62.62-1.387 0-2.48-.306-3.28-.92-.787-.613-1.34-1.466-1.66-2.56-.307-1.106-.46-2.466-.46-4.08 0-2.44.42-4.28 1.26-5.52.84-1.253 2.167-1.88 3.98-1.88 1.4 0 2.487.38 3.26 1.14.773.76 1.22 1.707 1.34 2.84h-2.6Zm-2.04 3.64c-.707 0-1.3.207-1.78.62-.48.414-.72 1.014-.72 1.8 0 .787.22 1.407.66 1.86.453.454 1.087.68 1.9.68.72 0 1.287-.22 1.7-.66.427-.44.64-1.033.64-1.78 0-.773-.207-1.386-.62-1.84-.4-.453-.993-.68-1.78-.68Zm16.553-5.16-5.32 12.46h-2.84l5.36-12.14h-6.84v-2.4h9.64v2.08Zm1.357 1.46c0-1.013.293-1.806.88-2.38.6-.573 1.367-.86 2.3-.86.933 0 1.693.287 2.28.86.6.574.9 1.367.9 2.38 0 1.027-.3 1.827-.9 2.4-.587.574-1.347.86-2.28.86-.933 0-1.7-.286-2.3-.86-.587-.573-.88-1.373-.88-2.4Zm12.84-3-7.86 14h-2.72l7.84-14h2.74Zm-9.68 1.44c-.733 0-1.1.52-1.1 1.56 0 1.054.367 1.58 1.1 1.58.36 0 .64-.126.84-.38.2-.266.3-.666.3-1.2 0-1.04-.38-1.56-1.14-1.56Zm5.62 9.54c0-1.026.293-1.82.88-2.38.6-.573 1.367-.86 2.3-.86.933 0 1.687.287 2.26.86.587.56.88 1.354.88 2.38 0 1.027-.293 1.827-.88 2.4-.573.574-1.327.86-2.26.86-.947 0-1.713-.286-2.3-.86-.587-.573-.88-1.373-.88-2.4Zm3.16-1.56c-.76 0-1.14.52-1.14 1.56 0 1.054.38 1.58 1.14 1.58.747 0 1.12-.526 1.12-1.58 0-1.04-.373-1.56-1.12-1.56Z"}),(0,g.jsx)("path",{fill:"#A18338",d:"M32.934 18.18h-3.35v1.99c.14-.186.346-.343.62-.47.28-.126.576-.19.89-.19.56 0 1.013.12 1.36.36.353.24.603.544.75.91.153.367.23.754.23 1.16 0 .494-.097.934-.29 1.32-.187.38-.47.68-.85.9-.373.22-.833.33-1.38.33-.727 0-1.31-.18-1.75-.54-.44-.36-.704-.836-.79-1.43h1.11c.073.314.236.564.49.75.253.18.57.27.95.27.473 0 .826-.143 1.06-.43.24-.286.36-.666.36-1.14 0-.48-.12-.846-.36-1.1-.24-.26-.594-.39-1.06-.39-.327 0-.604.084-.83.25-.22.16-.38.38-.48.66h-1.08v-4.21h4.4v1Zm1.687 2.57c0-1.153.193-2.053.58-2.7.393-.653 1.066-.98 2.02-.98.953 0 1.623.327 2.01.98.393.647.59 1.547.59 2.7 0 1.167-.197 2.08-.59 2.74-.387.654-1.057.98-2.01.98-.954 0-1.627-.326-2.02-.98-.387-.66-.58-1.573-.58-2.74Zm4.08 0c0-.54-.037-.996-.11-1.37-.067-.373-.207-.676-.42-.91-.214-.24-.53-.36-.95-.36-.42 0-.737.12-.95.36-.214.234-.357.537-.43.91-.06
157.374-.1.83-.1 1.37 0 .56.033 1.03.1 1.41.066.38.206.687.42.92.22.234.54.35.96.35.42 0 .736-.116.95-.35.22-.233.363-.54.43-.92.066-.38.1-.85.1-1.41Zm2.146-1.79c0-.486.14-.866.42-1.14.286-.28.653-.42 1.1-.42.446 0 .81.14 1.09.42.286.274.43.654.43 1.14 0 .487-.144.87-.43 1.15-.28.28-.644.42-1.09.42-.447 0-.814-.14-1.1-.42-.28-.28-.42-.663-.42-1.15Zm6.1-1.43-3.99 6.96h-1.12l3.99-6.96h1.12Zm-4.58.56c-.42 0-.63.29-.63.87 0 .587.21.88.63.88.2 0 .353-.07.46-.21.113-.146.17-.37.17-.67 0-.58-.21-.87-.63-.87Zm2.55 4.96c0-.486.14-.866.42-1.14.286-.28.653-.42 1.1-.42.44 0 .8.14 1.08.42.286.274.43.654.43 1.14 0 .487-.144.87-.43 1.15-.28.28-.64.42-1.08.42-.447 0-.814-.14-1.1-.42-.28-.28-.42-.663-.42-1.15Zm1.51-.87c-.42 0-.63.29-.63.87 0 .58.21.87.63.87.42 0 .63-.29.63-.87 0-.58-.21-.87-.63-.87Z"}),(0,g.jsx)("path",{fill:"#A18338",d:"M27.634 21.19h20.733v.5H27.634v-.5Z"}),(0,g.jsx)("path",{fill:"#A18338",d:"M25.5 20.49h25v1h-25z"})]}),sI=({style:e})=>(0,g.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:76,height:73,fill:"none",style:e,children:[(0,g.jsx)("path",{fill:"#FFCD4C",d:"M.5 8.51a8 8 0 0 1 8-8h59a8 8 0 0 1 8 8v46.258a8 8 0 0 1-5.44 7.58l-29.033 9.808a8 8 0 0 1-5.06.02L6 62.32a8 8 0 0 1-5.5-7.6V8.51Z"}),(0,g.jsx)("path",{fill:"#000",d:"M21.865 41.19v2.36h-8.48v-2.36h8.48Zm12.1-4.14-5.32 12.46h-2.84l5.36-12.14h-6.84v-2.4h9.64v2.08Zm11.477.3h-6.48v3.42c.28-.347.68-.627 1.2-.84a4.109 4.109 0 0 1 1.66-.34c1.067 0 1.94.233 2.62.7a4.039 4.039 0 0 1 1.48 1.8c.307.72.46 1.493.46 2.32 0 1.533-.44 2.766-1.32 3.7-.867.933-2.107 1.4-3.72 1.4-1.52 0-2.733-.38-3.64-1.14-.907-.76-1.42-1.754-1.54-2.98h2.72c.12.533.387.96.8 1.28.427.32.967.48 1.62.48.787 0 1.38-.247 1.78-.74.4-.494.6-1.147.6-1.96 0-.827-.207-1.454-.62-1.88-.4-.44-.993-.66-1.78-.66-.56 0-1.027.14-1.4.42-.373.28-.64.653-.8 1.12h-2.68v-8.56h9.04v2.46Zm2.751 1.16c0-1.014.294-1.807.88-2.38.6-.574 1.367-.86 2.3-.86.934 0 1.694.286 2.28.86.6.573.9 1.366.9 2.38 0 1.026-.3 1.826-.9 2.4-.587.573-1.346.86-2.28.86-.933 0-1.7-.287-2.3-.86-.587-.574-.88-1.374-.88-2.4Zm12.84-3-7.86 14h-2.72l7.84-14h2.74Zm-9.68 1.44c-.733 0-1.1.52-1.1 1.56 0 1.053.367 1.58 1.1 1.58.36 0 .64-.127.84-.38.2-.267.3-.667.3-1.2 0-1.04-.38-1.56-1.14-1.56Zm5.62 9.54c0-1.027.294-1.82.88-2.38.6-.574 1.367-.86 2.3-.86.934 0 1.687.286 2.26.86.587.56.88 1.353.88 2.38 0 1.026-.293 1.826-.88 2.4-.573.573-1.326.86-2.26.86-.947 0-1.713-.287-2.3-.86-.587-.574-.88-1.374-.88-2.4Zm3.16-1.56c-.76 0-1.14.52-1.14 1.56 0 1.053.38 1.58 1.14 1.58.747 0 1.12-.527 1.12-1.58 0-1.04-.373-1.56-1.12-1.56Z"}),(0,g.jsx)("path",{fill:"#A18338",d:"M32.934 18.2h-3.35v1.99c.14-.187.346-.344.62-.47.28-.127.576-.19.89-.19.56 0 1.013.12 1.36.36.353.24.603.543.75.91.153.366.23.753.23 1.16 0 .493-.097.933-.29 1.32-.187.38-.47.68-.85.9-.373.22-.833.33-1.38.33-.727 0-1.31-.18-1.75-.54-.44-.36-.704-.837-.79-1.43h1.11c.073.313.236.563.49.75.253.18.57.27.95.27.473 0 .826-.144 1.06-.43.24-.287.36-.667.36-1.14 0-.48-.12-.847-.36-1.1-.24-.26-.594-.39-1.06-.39-.327 0-.604.083-.83.25-.22.16-.38.38-.48.66h-1.08V17.2h4.4v1Zm1.687 2.57c0-1.154.193-2.054.58-2.7.393-.654 1.066-.98 2.02-.98.953 0 1.623.326 2.01.98.393.646.59 1.546.59 2.7 0 1.166-.197 2.08-.59 2.74-.387.653-1.057.98-2.01.98-.954 0-1.627-.327-2.02-.98-.387-.66-.58-1.574-.58-2.74Zm4.08 0c0-.54-.037-.997-.11-1.37-.067-.374-.207-.677-.42-.91-.214-.24-.53-.36-.95-.36-.42 0-.737.12-.95.36-.214.233-.357.536-.43.91-.067.373-.1.83-.1 1.37 0 .56.033 1.03.1 1.41.066.38.206.686.42.92.22.233.54.35.96.35.42 0 .736-.117.95-.35.22-.234.363-.54.43-.92.066-.38.1-.85.1-1.41Zm2.146-1.79c0-.487.14-.867.42-1.14.286-.28.653-.42 1.1-.42.446 0 .81.14 1.09.42.286.273.43.653.43 1.14 0 .486-.144.87-.43 1.15-.28.28-.644.42-1.09.42-.447 0-.814-.14-1.1-.42-.28-.28-.42-.664-.42-1.15Zm6.1-1.43-3.99 6.96h-1.12l3.99-6.96h1.12Zm-4.58.56c-.42 0-.63.29-.63.87 0 .586.21.88.63.88.2 0 .353-.07.46-.21.113-.147.17-.37.17-.67 0-.58-.21-.87-.63-.87Zm2.55 4.96c0-.487.14-.867.42-1.14.286-.28.653-.42 1.1-.42.44 0 .8.14 1.08.42.286.273.43.653.43 1.14 0 .486-.144.87-.43 1.15-.28.28-.64.42-1.08.42-.447 0-.814-.14-1.1-.42-.28-.28-.42-.664-.42-1.15Zm1.51-.87c-.42 0-.63.29-.63.87 0 .58.21.87.63.87.42 0 .63-.29.63-.87 0-.58-.21-.87-.63-.87Z"}),(0,g.jsx)("path",{fill:"#A18338",d:"M27.634 21.21h20.733v.5H27.634v-.5Z"}),(0,g.jsx)("path",{fill:"#A18338",d:"M25.5 20.51h25v1h-25z"})]});function sE({discountType:e,timerSeconds:s,coupon:a}){let{t:l}=(0,x.useTranslation)();return(0,g.jsxs)("div",{className:"_1f87mkv0",children:[67===e&&(0,g.jsx)(sF,{style:{position:"absolute",top:"-0.5rem",left:"1.5rem",zIndex:1}}),75===e&&(0,g.jsx)(sI,{style:{position:"absolute",top:"-0.5rem",left:"1.5rem",zIndex:1}}),(0,g.jsxs)("div",{className:"_1f87mkv1",children:[[67,75].includes(e)?(0,g.jsx)("div",{className:sL,children:(0,g.jsx)("p",{className:sD,style:{marginLeft:"6rem"},children:l(`${Y}.sellingPage.selectPlanSection.coupon.discountTitle`)})}):(0,g.jsxs)("div",{className:sL,children:[(0,g.jsx)(i.U,{className:"_1f87mkv6"}),(0,g.jsx)("p",{className:sD,children:l(`${Y}.sellingPage.selectPlanSection.coupon.title`)})]}),(0,g.jsxs)("div",{className:"_1f87mkv3",children:[(0,g.jsx)("div",{className:"_1f87mkv5"}),(0,g.jsx)("div",{className:sA,style:{bottom:"-0.8125rem",left:"-0.88rem"}}),(0,g.jsx)("div",{className:sA,style:{bottom:"-0.8125rem",right:"-0.88rem"}})]}),(0,g.jsxs)("div",{className:sL,children:[(0,g.jsxs)("div",{className:"_1f87mkv8",children:[(0,g.jsx)(i.H,{className:"_1f87mkv9"}),(0,g.jsx)("p",{className:"_1f87mkva",children:a})]}),(0,g.jsx)("div",{className:"_1f87mkvb",children:(0,g.jsx)(em,{seconds:s})})]})]})]})}var sU="y5zjh61",sB="y5zjh62",sZ="y5zjh63";function sR(){let{t:e}=(0,x.useTranslation)();return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)("div",{className:"y5zjh60",children:[(0,g.jsxs)("div",{className:sU,children:[(0,g.jsx)(c.N,{className:sB}),(0,g.jsx)("span",{className:sZ,children:e(`${Y}.sellingPage.selectPlanSection.trustBadges.badge1`)})]}),(0,g.jsxs)("div",{className:sU,children:[(0,g.jsx)(c.j,{className:sB}),(0,g.jsx)("span",{className:sZ,children:e(`${Y}.sellingPage.selectPlanSection.trustBadges.badge2`)})]}),(0,g.jsxs)("div",{className:sU,children:[(0,g.jsx)(c.M,{className:sB}),(0,g.jsx)("span",{className:sZ,children:e(`${Y}.sellingPage.selectPlanSection.trustBadges.badge3`)})]})]}),(0,g.jsxs)("div",{className:`${eU} ${eB}`,children:[!1,(0,g.jsx)(c.k,{}),(0,g.jsx)(c.D,{}),(0,g.jsx)(c.E,{}),(0,g.jsx)(c.T,{}),(0,g.jsx)(c.O,{}),(0,g.jsx)(c.w,{})]})]})}var sO=({style:e})=>(0,g.jsxs)("svg",{style:e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,g.jsx)("g",{transform:"translate(5.62, 2.93)",children:(0,g.jsx)("path",{d:"M14.7519 11.7705C14.6747 11.794 14.594 11.8066 14.5116 11.8066L14.5106 11.8057C14.5932 11.8057 14.6745 11.7941 14.7519 11.7705ZM14.0497 11.66
157C14.1399 11.7272 14.2407 11.7698 14.3476 11.791C14.2407 11.7698 14.1399 11.7273 14.0497 11.667ZM17.0458 9.61426L15.0976 11.5635C15.078 11.583 15.0572 11.6018 15.036 11.6191L14.9706 11.667C15.0155 11.6369 15.0577 11.6023 15.0966 11.5635L17.0458 9.61426ZM6.37978 0.200195C11.2107 0.200195 15.1425 4.12916 15.1425 8.95996V9.45215L15.4843 9.10938L16.0106 8.58008C16.2588 8.33331 16.6585 8.33383 16.9042 8.5791C17.1512 8.82776 17.1501 9.22773 16.9042 9.47363L14.955 11.4219C14.8365 11.5403 14.6775 11.6074 14.5106 11.6074C14.3415 11.6073 14.1823 11.541 14.0644 11.4229V11.4219L12.1151 9.47363C11.8694 9.22772 11.8684 8.82742 12.1151 8.5791C12.3635 8.33298 12.7633 8.33463 13.0087 8.58008L13.538 9.11035L13.8798 9.45117V8.95996C13.8798 4.82437 10.5149 1.46191 6.37978 1.46191C4.50301 1.46203 2.73044 2.14793 1.34853 3.39941L1.07705 3.65723C0.830868 3.90316 0.431534 3.90331 0.185447 3.65723V3.65625L0.104392 3.55762C-0.0579369 3.31321 -0.0309743 2.98092 0.185447 2.76562L0.501853 2.46387C2.11471 0.999671 4.1853 0.200314 6.37978 0.200195ZM11.8954 9.52246C11.9104 9.54254 11.9262 9.5621 11.9433 9.58105C11.9262 9.5621 11.9104 9.54254 11.8954 9.52246ZM15.0595 6.72266C15.2441 7.43803 15.3427 8.1877 15.3427 8.95996V8.9668L15.3417 8.96875V8.95996C15.3417 8.80537 15.3378 8.65172 15.33 8.49902C15.3067 8.0416 15.2488 7.59321 15.1591 7.15625L15.0595 6.72266ZM14.7968 5.88184H14.7978H14.7968ZM9.45791 0.544922C10.8301 1.04807 12.0464 1.87701 13.0116 2.93848H13.0106C12.528 2.40779 11.9828 1.93515 11.3866 1.53223C10.7906 1.12939 10.1438 0.796451 9.45791 0.544922ZM6.38076 0C6.99841 2.68467e-05 7.60164 0.0630588 8.18447 0.182617C7.60141 0.0629877 6.9977 0 6.37978 0H6.38076Z",fill:"currentColor"})}),(0,g.jsx)("g",{transform:"translate(1.20, 9.25)",children:(0,g.jsx)("path",{d:"M9.58398 11.5215C9.71918 11.5399 9.85516 11.556 9.99219 11.5684C9.85516 11.556 9.71918 11.5399 9.58398 11.5215ZM2.67383 0C2.84137 0 3.00221 0.066517 3.12012 0.18457L5.06738 2.13379C5.313 2.37955 5.3137 2.77803 5.06738 3.02637L4.96875 3.10742C4.86414 3.17659 4.74326 3.21088 4.62109 3.21094C4.4602 3.21088 4.29962 3.14943 4.17676 3.02637L3.30469 2.15527V2.64648C3.30469 6.78197 6.66948 10.1444 10.8027 10.1445C12.8068 10.1445 14.6903 9.36431 16.1055 7.94922C16.3516 7.7031 16.7532 7.70329 16.999 7.94922C17.2451 8.1951 17.2451 8.59494 16.999 8.84082C15.3433 10.4967 13.1435 11.4062 10.8027 11.4062C5.97196 11.4061 2.04298 7.47728 2.04297 2.64648V2.15527L1.1709 3.02637C0.955631 3.24147 0.62307 3.26949 0.376953 3.10742L0.277344 3.02637C0.0315019 2.77795 0.0329609 2.37907 0.27832 2.13379L2.22754 0.18457C2.34555 0.0665915 2.5065 6.10824e-05 2.67383 0ZM16.1924 9.80664C16.1078 9.8706 16.0211 9.93146 15.9346 9.99219C16.0211 9.93146 16.1078 9.8706 16.1924 9.80664ZM10.4277 9.93457L10.0693 9.90723L10.0674 9.90625C10.1867 9.91825 10.3068 9.92842 10.4277 9.93457ZM9.34668 9.79785C9.54405 9.83798 9.74452 9.86781 9.94727 9.8916C9.74452 9.86781 9.54405 9.83798 9.34668 9.79785ZM9.23926 9.77344C9.15675 9.75535 9.07461 9.73668 8.99316 9.71582C9.07461 9.73668 9.15675 9.75535 9.23926 9.77344ZM16.4805 9.58105C16.4194 9.63119 16.3561 9.67818 16.2939 9.72656C16.3635 9.67239 16.4338 9.61888 16.502 9.5625L16.4805 9.58105ZM8.89355 9.68848C8.81501 9.66716 8.73665 9.64593 8.65918 9.62207C8.73665 9.64593 8.81502 9.66716 8.89355 9.68848ZM8.5166 9.5752C8.45415 9.55454 8.39178 9.53401 8.33008 9.51172C8.39178 9.53401 8.45415 9.55454 8.5166 9.5752ZM8.11621 9.42969C8.08102 9.4157 8.04567 9.40221 8.01074 9.3877C8.04567 9.40221 8.08102 9.4157 8.11621 9.42969ZM7.83984 9.3125C7.7863 9.28861 7.73255 9.26537 7.67969 9.24023C7.73255 9.26537 7.7863 9.28861 7.83984 9.3125ZM7.55078 9.17676C7.48821 9.14547 7.4258 9.11407 7.36426 9.08105C7.42579 9.11407 7.48821 9.14547 7.55078 9.17676ZM7.22363 9.00195C7.17231 8.97294 7.12086 8.94428 7.07031 8.91406C7.12086 8.94428 7.17231 8.97294 7.22363 9.00195ZM6.93848 8.83301C6.88075 8.79682 6.82324 8.7604 6.7666 8.72266C6.82324 8.7604 6.88075 8.79682 6.93848 8.83301ZM6.625 8.62402C6.5869 8.59731 6.54831 8.57136 6.51074 8.54395C6.54831 8.57136 6.5869 8.59731 6.625 8.62402ZM6.33691 8.41211C6.30063 8.38395 6.26425 8.35598 6.22852 8.32715C6.26425 8.35598 6.30064 8.38395 6.33691 8.41211ZM6.06934 8.19434C6.02599 8.1573 5.98289 8.12005 5.94043 8.08203C5.98289 8.12005 6.02599 8.1573 6.06934 8.19434ZM5.8418 7.99219C5.79168 7.94564 5.74216 7.8985 5.69336 7.85059C5.74216 7.8985 5.79168 7.94564 5.8418 7.99219ZM5.58984 7.74707C5.54216 7.69835 5.49553 7.64866 5.44922 7.59863C5.49553 7.64866 5.54216 7.69835 5.58984 7.74707ZM5.36133 7.50293C5.31289 7.44872 5.26558 7.39354 5.21875 7.33789C5.26558 7.39354 5.31289 7.44872 5.36133 7.50293ZM5.13477 7.23633C5.09431 7.18647 5.05478 7.13589 5.01562 7.08496C5.05478 7.13589 5.09431 7.18647 5.13477 7.23633ZM4.91211 6.94727C4.87903 6.90208 4.84651 6.85651 4.81445 6.81055C4.84651 6.85651 4.87903 6.90208 4.91211 6.94727ZM4.71973 6.67188C4.68248 6.61578 4.64608 6.55912 4.61035 6.50195C4.64607 6.55912 4.68248 6.61578 4.71973 6.67188ZM4.54102 6.38867C4.5024 6.3243 4.46538 6.25899 4.42871 6.19336C4.46538 6.25899 4.5024 6.3243 4.54102 6.38867ZM4.37012 6.08887C4.3319 6.01775 4.29566 5.94555 4.25977 5.87305C4.29566 5.94555 4.33191 6.01775 4.37012 6.08887ZM4.21191 5.77539C4.18147 5.71153 4.15264 5.64689 4.12402 5.58203C4.15264 5.64689 4.18148 5.71153 4.21191 5.77539ZM4.06445 5.44434C4.03391 5.37105 4.00476 5.29713 3.97656 5.22266C4.00476 5.29712 4.03391 5.37105 4.06445 5.44434ZM3.94238 5.13379C3.91586 5.06085 3.89143 4.98708 3.86719 4.91309C3.89143 4.98708 3.91586 5.06085 3.94238 5.13379ZM3.82324 4.77832C3.8077 4.72754 3.79375 4.67624 3.7793 4.625C3.79375 4.67624 3.8077 4.72754 3.82324 4.77832ZM3.58887 3.75488C3.57147 3.64118 3.55796 3.52648 3.5459 3.41113C3.55796 3.52648 3.57147 3.64118 3.58887 3.75488ZM4.70117 3.40723L4.62109 3.41113C4.66592 3.41112 4.7107 3.40657 4.75488 3.39941C4.737 3.4023 4.7192 3.40551 4.70117 3.40723ZM0.566406 3.39648V3.39551V3.39648ZM1.
1511133 3.31641H1.1123H1.11133ZM3.50488 2.64648C3.50488 2.86535 3.5162 3.08189 3.53516 3.2959C3.52675 3.20098 3.5184 3.10568 3.51367 3.00977L3.50488 2.64648ZM0.0800781 2.05469C0.049135 2.09257 0.0232389 2.13325 0 2.1748C0.00984929 2.15719 0.0190406 2.13908 0.0302734 2.12207L0.0800781 2.05469ZM3.72754 4.4375C3.7053 4.34967 3.68601 4.26093 3.66699 4.17188C3.68601 4.26093 3.7053 4.34967 3.72754 4.4375ZM3.65332 4.11328C3.63031 4.00094 3.61054 3.88758 3.59277 3.77344C3.61054 3.88757 3.63031 4.00095 3.65332 4.11328ZM5.14551 3.22461C5.10838 3.25491 5.06899 3.28081 5.02832 3.30371C5.06893 3.28079 5.10839 3.25489 5.14551 3.22461Z",fill:"currentColor"})})]}),sz=({style:e})=>(0,g.jsx)("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 17 17",fill:"none",children:(0,g.jsx)("path",{d:"M15.8133 6.26C15.94 6.82667 16 7.41333 16 8C16 12.4133 12.4133 16 8 16C3.58667 16 0 12.4133 0 8C0 3.58667 3.58667 0 8 0C8.58667 0 9.17333 0.0666667 9.74 0.186667C9.92 0.226667 10.0333 0.406667 9.99333 0.586667C9.95333 0.766667 9.77333 0.88 9.59333 0.84C9.07333 0.726667 8.53333 0.666667 8 0.666667C3.95333 0.666667 0.666667 3.95333 0.666667 8C0.666667 12.0467 3.95333 15.3333 8 15.3333C12.0467 15.3333 15.3333 12.0467 15.3333 8C15.3333 7.46 15.2733 6.92667 15.16 6.40667C15.12 6.22667 15.2333 6.04667 15.4133 6.00667C15.5933 5.96667 15.7733 6.08 15.8133 6.26ZM8.93333 3.42667C9.11333 3.46 9.28667 3.34667 9.32667 3.16667C9.36 2.98667 9.24667 2.81333 9.06667 2.77333C8.72 2.7 8.36 2.66667 8 2.66667C5.06 2.66667 2.66667 5.06 2.66667 8C2.66667 10.94 5.06 13.3333 8 13.3333C10.94 13.3333 13.3333 10.94 13.3333 8C13.3333 7.64 13.3 7.28 13.2267 6.93333C13.1933 6.75333 13.0133 6.64 12.8333 6.67333C12.6533 6.71333 12.5333 6.88667 12.5733 7.06667C12.6333 7.37333 12.6667 7.68667 12.6667 8C12.6667 10.5733 10.5733 12.6667 8 12.6667C5.42667 12.6667 3.33333 10.5
15733 3.33333 8C3.33333 5.42667 5.42667 3.33333 8 3.33333C8.31333 3.33333 8.62667 3.36667 8.93333 3.42667ZM7.71333 6.02C7.89333 5.99333 8.02 5.82667 7.99333 5.64C7.96667 5.45333 7.8 5.32667 7.61333 5.36C6.30667 5.54667 5.32667 6.68 5.32667 8C5.32667 9.47333 6.52 10.6667 7.99333 10.6667C9.31333 10.6667 10.4467 9.68667 10.6333 8.38C10.66 8.2 10.5333 8.02667 10.3533 8C10.1733 7.97333 10 8.1 9.97333 8.28C9.83333 9.26 8.98 9.99333 7.99333 9.99333C6.89333 9.99333 5.99333 9.09333 5.99333 7.99333C5.99333 7.00667 6.72667 6.15333 7.70667 6.01333L7.71333 6.02ZM10.6667 4.86V2.88667C10.6667 2.44 10.84 2.02 11.1533 1.70667L12.7667 0.1C12.86 0.00666668 13.0067 -0.0266667 13.1267 0.0266667C13.2533 0.08 13.3333 0.2 13.3333 0.333333V2.66667H15.6667C15.8 2.66667 15.92 2.74667 15.9733 2.87333C16.0267 3 15.9933 3.14 15.9 3.23333L14.2933 4.84C13.98 5.15333 13.56 5.32667 13.1133 5.32667H11.14L8.24 8.22667C8.17333 8.29333 8.08667 8.32667 8.00667 8.32667C7.92667 8.32667 7.83333 8.29333 7.77333 8.22667C7.64 8.09333 7.64 7.88667 7.77333 7.75333L10.6733 4.85333L10.6667 4.86ZM11.3333 4.66667H13.1133C13.38 4.66667 13.6333 4.56 13.82 4.37333L14.86 3.33333H13C12.8133 3.33333 12.6667 3.18667 12.6667 3V1.14L11.6267 2.18C11.44 2.36667 11.3333 2.62 11.3333 2.88667V4.66667Z",fill:"currentColor"})}),sV={"calming-anxiety":"calmingAnxiety","getting-energy":"gettingEnergy","clearing-brain":"clearingBrain","falling-asleep":"fallingAsleep","switching-off":"switchingOff"};function sK({id:e,sectionPosition:s,funnelName:l,isDiscount67Proposed:t,isDiscount75Proposed:n,isDiscount50Proposed:r,setIsDiscount67Proposed:o,setWasDiscountProposed:m,customerEmail:u,setCustomerEmail:j,wasDiscountProposed:f,selectPlanSectionTitle:y,selectPlanSectionSubtitle:N,cardIntents:P,payPalIntents:C,cardRefetches:b,payPalRefetches:w,countryCode:S,currency:$,ipAddress:k,timerSeconds:T,onNext:M,analyticsApi:L,productPlans:A,allowInlineApplePay:D=!0,onCheckoutModalRenderedChange:F}){let{variant:I}=(0,c.P)("046_attraction_trust-badges_19-11"),{t:E}=(0,x.useTranslation)(),{language:U}=(0,_.useParams)(),B=!!("string"==typeof y&&y.trim().length>0),Z=!!("string"==typeof N&&N.trim().length>0),[R,O]=(0,h.useState)(!1),[z,V]=(0,h.useState)(()=>A?.["one-month"]??eF["one-month"]),[K,q]=(0,h.useState)(!1),[H,W]=(0,h.useState)(!1),[G,Q]=(0,h.useState)(!1),[X,J]=(0,h.useState)(),[ee,es]=(0,h.useState)(),[ea,el]=(0,h.useState)(!1),[ei,et]=(0,h.useState)(!1),[en,er]=(0,h.useState)(!1),[ec,eo]=(0,h.useState)(!1),[ed,em]=(0,h.useState)(!1),[eh,eg]=(0,h.useState)(!1),[ep,eP]=(0,h.useState)(!1);(0,h.useEffect)(()=>(F?.(s,H),()=>F?.(s,!1)),[H,F,s]);let eC=(0,h.useMemo)(()=>({[a.O.USD]:"$",[a.O.EUR]:"€",[a.O.GBP]:"£"})[$],[$]);(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("manifesting_challenge"),[]);let eb=(e,i)=>{let t=i??z,n=(0,a.I)(l);if(n){L.cioTrack(n,"PaywallOpen");let s=eQ[t.plan];S&&eW.includes(S)&&(s=eG[t.plan]),L.adTrack("InitiateCheckout",{value:s,currency:"USD",plan_id:t.plan},{email:e??u})}L.identify({plan:t.plan}),F?.(s,!0),q(!0),W(!0),L.track(a.P.PAYWALL_OPEN)},ew=(e,s)=>Math.floor(e/(30*s)*100)/100,eS=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("name")?.trim()||void 0,[]),e$=(0,h.useMemo)(()=>{if(eS){let e=-1!==eS.indexOf(" ")?eS.split(" ")[0]:eS;return t||n?`${e.toLowerCase()}_${E(`${Y}.sellingPage.selectPlanSection.coupon.final`)}`:`${e.toLowerCase()}_${(0,v.default)().format("MMM").replace(/\./g,"").toLowerCase()+(0,v.default)().format("YY")}`}return(t||n?E(`${Y}.sellingPage.selectPlanSection.coupon.final`):E(`${Y}.sellingPage.selectPlanSection.coupon.special`))+"_"+(0,v.default)().format("MMM").replace(/\./g,"").toLowerCase()+(0,v.default)().format("YY")},[eS,t,n]),ek=(0,h.useMemo)(()=>{let e=new URLSearchParams(window.location.search).get("breathing-assistance");return`${Y}.sellingPage.selectPlanSection.breathingAssistance.${e&&sV[e]||"default"}`},[]);return(0,g.jsxs)("div",{className:"_1iambev0",id:e,children:[(0,g.jsxs)("div",{className:"_1iambev1",children:[(0,g.jsx)("h4",{className:"_1iambev2",children:B?eu(y):eS?(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.selectPlanSection.titleWithNameV2`,values:{name:eS},components:{highlighted:(0,g.jsx)("span",{className:ex})}}):(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.selectPlanSection.titleV2`,components:{highlighted:(0,g.jsx)("span",{className:ex})}})}),Z&&(0,g.jsx)("p",{className:"_1iambev3",children:eu(N)})]}),(0,g.jsxs)("div",{className:"_1iambev5",children:[(0,g.jsxs)("div",{className:ey,children:[(0,g.jsx)("div",{className:ev,children:(0,g.jsx)(sO,{style:{width:"1.5rem",height:"1.5rem",color:"#C3B1C8"}})}),(0,g.jsxs)("div",{className:ef,children:[(0,g.jsx)("span",{className:ej,children:E(`${Y}.summary2Step.firstCategoryTitleTreatment`)}),(0,g.jsx)("span",{className:eN,children:E(`${Y}.summary2Step.blockerValueTreatment`)})]})]}),(0,g.jsx)("div",{className:"_1iambev6"}),(0,g.jsxs)("div",{className:ey,children:[(0,g.jsx)("div",{className:ev,children:(0,g.jsx)(sz,{style:{width:"1rem",he
15ight:"1rem",color:"#C3B1C8"}})}),(0,g.jsxs)("div",{className:ef,children:[(0,g.jsx)("span",{className:ej,children:E(`${Y}.summary2Step.thirdCategoryTitleTreatment`)}),(0,g.jsx)("span",{className:eN,children:E(ek)})]})]})]}),(r||t||n)&&(0,g.jsx)(sE,{coupon:e$,timerSeconds:T,discountType:n?75:t?67:50}),(0,g.jsx)("div",{className:"_1iambevl",children:A?(0,g.jsxs)(g.Fragment,{children:[Object.values(A).map(e=>(0,g.jsx)(eD,{isDiscount75:n,isDiscount67:t,isDiscount50:r,isSelected:z.plan===e.plan,label:E(e.labelKey),onSelect:()=>{V(e)},countryCode:S,priceWithDiscount:ew(n?e.monthlyDiscount75TrialPrice:t?e.monthlyDiscount67TrialPrice:e.monthlyDiscount50TrialPrice,e.months),monthlyPrice:n?e.monthlyDiscount75TrialPrice:t?e.monthlyDiscount67TrialPrice:e.monthlyDiscount50TrialPrice,monthlyPriceWithoutDiscount:e.monthlyPrice,priceWithoutDiscount:ew(e.monthlyPrice,e.months),isMostPopular:e.isMostPopular,currency:$},e.plan)),(0,g.jsxs)("div",{className:"_1iambevn",children:[(0,g.jsxs)("div",{className:"_1iambev1d",children:[(0,g.jsx)(c.r,{className:"_1iambev1e"}),(0,g.jsx)("span",{className:"_1iambev1f",children:E(`${Y}.sellingPage.selectPlanSection.moneyBack`)})]}),(0,g.jsx)("button",{className:"_1iambevo",style:{marginTop:"0.5rem",marginBottom:"0.5rem"},onClick:()=>{L.track(a.P.BUTTON_CLICK,{type:`get_plan_${s}`}),u?(F?.(s,!0),O(!0),W(!0)):Q(!0)},children:E(`${Y}.sellingPage.selectPlanSection.getPlanLabel`)}),I?.value==="treatment"?(0,g.jsx)(sR,{}):(0,g.jsx)(eZ,{showBorder:!0,blurIcons:!0})," ",(0,g.jsx)("p",{className:"_1iambevs",children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.selectPlanSection.tip`,values:{currencySymbol:eC,months:1===z.months?E(`${Y}.sellingPage.selectPlanSection.month`):`${z.months} ${E(`${Y}.sellingPage.selectPlanSection.months`)}`,priceWithoutDiscount:z.monthlyPrice,priceWithDiscount:n?z.monthlyDiscount75TrialPrice:t?z.monthlyDiscount67TrialPrice:r?z.monthlyDiscount50TrialPrice:z.monthlyPrice},components:{email:(0,g.jsx)("a",{href:"mailto:[email protected]",className:e_}),terms:(0,g.jsx)("a",{href:"https://spiriohub.com/terms",className:e_})}})})]})]}):(0,g.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"3rem 0"},children:(0,g.jsx)(d.s,{size:40,color:"#FFCD4C"})})}),H&&(0,g.jsx)(e3,{funnelName:l,coupon:e$,isDiscount:r||t||n,refetchCardPaymentIntent:b[z.plan],refetchPayPalPaymentIntent:w[z.plan],cardPaymentIntent:P[z.plan],payPalPaymentIntent:C[z.plan],email:u||"",isOpen:K,onClose:()=>{L.track(a.P.PAYWALL_CLOSE),F?.(s,!1),q(!1),W(!1),f?en&&((0,i.V)({behavior:"smooth"}),er(!1)):o(!0)},price:n?z.monthlyDiscount75TrialPrice:t?z.monthlyDiscount67TrialPrice:r?z.monthlyDiscount50TrialPrice:z.monthlyPrice,originalPrice:z.monthlyPrice,plan:z,discountPercentages:n?75:t?67:50*!!r,currency:$,onSuccessPayment:(e,s)=>{let i=new URL(window.location.href);i.searchParams.set("purchased_plan",z.plan),window.history.replaceState({},"",i.toString()),s&&(a.M.set(`${l}_order_id`,s),a.M.set(`${l}_payment_method`,e)),M()},timerSeconds:T,countryCode:S,analyticsApi:L}),(0,g.jsx)(sl,{analyticsApi:L,funnelName:l,onAccept:()=>{eP(!0),eo(!1),em(!0)},onDecline:()=>{eo(!1),em(!0)},orderId:X,isOpen:ec,method:ee,ipAddress:k,currency:$}),(0,g.jsx)(sm,{analyticsApi:L,funnelName:l,onAccept:()=>{},onDecline:()=>{ep||(em(!1),eg(!0))},orderId:X,isOpen:ed,method:ee,ipAddress:k,currency:$}),(0,g.jsx)(sN,{analyticsApi:L,funnelName:l,onAccept:()=>{},onDecline:()=>{},orderId:X,isOpen:eh,method:ee,ipAddress:k,currency:$}),ea&&(0,g.jsx)("div",{style:{position:"absolute",top:0,left:0,background:"#141319",width:"100vw",height:"100vh",zIndex:1e3}}),(0,g.jsx)(sk,{currencySymbol:eC,isOpen:R,onClose:()=>{O(!1),eb(u)},timerSeconds:T}),(0,g.jsx)(sM,{isOpen:ei,onAccept:()=>{L.track(a.P.BUTTON_CLICK,{type:"three_month_upgrade_accept"});let e=A?.["three-month"]??eF["three-month"];V(e),et(!1),er(!0),m(!0),o(!0),eb(u,e)},onDecline:()=>{L.track(a.P.BUTTON_CLICK,{type:"three_month_upgrade_decline"}),et(!1),eb(u)},threeMonthPlan:A?.["three-month"]??eF["three-month"],currency:$}),(0,g.jsx)(e8,{isOpen:G,onClose:()=>{Q(!1)},analyticsApi:L,onSubmit:e=>{j(e),Q(!1),F?.(s,!0),O(!0),W(!0)}})]})}var sq="_1ns5k8g1",sH=()=>(0,g.jsx)("div",{className:"_1ns5k8g6",children:(0,g.jsxs)("svg",{width:"8",he
15ight:"8",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg",className:"_1ns5k8g7",children:[(0,g.jsx)("g",{clipPath:"url(#clip0_65_797)",children:(0,g.jsx)("path",{d:"M2.60015 7.14154C2.4887 7.14158 2.37834 7.11964 2.27538 7.07697C2.17242 7.0343 2.07889 6.97174 2.00015 6.89287L0.146484 5.0402L0.853818 4.3332L2.60015 6.07954L7.14648 1.5332L7.85382 2.2402L3.20015 6.89287C3.12141 6.97174 3.02788 7.0343 2.92492 7.07697C2.82196 7.11964 2.7116 7.14158 2.60015 7.14154Z",strokeWidth:"0.666667",fill:"currentColor"})}),(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:"clip0_65_797",children:(0,g.jsx)("rect",{width:"8",height:"8"})})})]})});function sW(){let{t:e}=(0,x.useTranslation)(),s=[e(`${Y}.sellingPage.trySpirioSection3.statement1`),e(`${Y}.sellingPage.trySpirioSection3.statement2`),e(`${Y}.sellingPage.trySpirioSection3.statement3`),e(`${Y}.sellingPage.trySpirioSection3.statement4`),e(`${Y}.sellingPage.trySpirioSection3.statement5`),e(`${Y}.sellingPage.trySpirioSection3.statement6`),e(`${Y}.sellingPage.trySpirioSection3.statement7`)];return(0,g.jsxs)("div",{className:"_1ns5k8g0",children:[(0,g.jsx)("h2",{className:sq,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.trySpirioSection.title`,components:{highlighted:(0,g.jsx)("span",{className:`${sq} _1ns5k8g2`})}})}),(0,g.jsx)("div",{className:"_1ns5k8g3",children:s.map((e,s)=>(0,g.jsxs)("div",{className:"_1ns5k8g4",children:[(0,g.jsx)(sH,{}),(0,g.jsx)("div",{className:"_1ns5k8g5",children:e})]},s))})]})}var sG="a4eqi61",sQ="a4eqi64",sY="a4eqi67",sX="a4eqi68",sJ="a4eqi69",s1="a4eqi6d",s0=({className:e})=>(0,g.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:(0,g.jsx)("path",{d:"M8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8C15.9952 3.58369 12.4163 0.00478125 8 0ZM10.6667 9.72466C10.9376 9.974 10.9551 10.3958 10.7057 10.6667C10.4564 10.9376 10.0346 10.9551 9.76372 10.7057C9.75016 10.6933 9.73716 10.6802 9.72466 10.6667L8 8.94266L6.276 10.6667C6.01116 10.9224 5.58913 10.9151 5.33334 10.6503C5.08384 10.3919 5.08384 9.98234 5.33334 9.724L7.05734 8L5.33334 6.276C5.07756 6.01116 5.08491 5.58913 5.34975 5.33334C5.60809 5.08384 6.01766 5.08384 6.276 5.33334L8 7.05734L9.72466 5.33334C9.974 5.06244 10.3958 5.04494 10.6667 5.29428C10.9376 5.54363 10.9551 5.96538 10.7057 6.23628C10.6933 6.24984 10.6802 6.26284 10.6667 6.27534L8.94266 8L10.6667 9.72466Z"})}),s3=()=>(0,g.jsx)("div",{className:"a4eqi6e",children:(0,g.jsxs)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",xmlns:"http://www.w3.org/2000/svg",className:"a4eqi6f",children:[(0,g.jsx)("g",{clipPath:"url(#clip0_before_after)",children:(0,g.jsx)("path",{d:"M2.60015 7.14154C2.4887 7.14158 2.37834 7.11964 2.27538 7.07697C2.17242 7.0343 2.07889 6.97174 2.00015 6.89287L0.146484 5.0402L0.853818 4.3332L2.60015 6.07954L7.14648 1.5332L7.85382 2.2402L3.20015 6.89287C3.12141 6.97174 3.02788 7.0343 2.92492 7.07697C2.82196 7.11964 2.7116 7.14158 2.60015 7.14154Z",strokeWidth:"0.666667",fill:"currentColor"})}),(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:"clip0_before_after",children:(0,g.jsx)("rect",{width:"8",height:"8"})})})]})});function s6(){let{t:e}=(0,x.useTranslation)(),s=[e(`${Y}.sellingPage.beforeAfterSection3.before.statement1`),e(`${Y}.sellingPage.beforeAfterSection3.before.statement2`),e(`${Y}.sellingPage.beforeAfterSection3.before.statement3`),e(`${Y}.sellingPage.beforeAfterSection3.before.statement4`),e(`${Y}.sellingPage.beforeAfterSection3.before.statement5`),e(`${Y}.sellingPage.beforeAfterSection3.before.statement6`),e(`${Y}.sellingPage.beforeAfterSection3.before.statement7`)],a=[e(`${Y}.sellingPage.beforeAfterSection3.after.statement1`),e(`${Y}.sellingPage.beforeAfterSection3.after.statement2`),e(`${Y}.sellingPage.beforeAfterSection3.after.statement3`),e(`${Y}.sellingPage.beforeAfterSection3.after.statement4`),e(`${Y}.sellingPage.beforeAfterSection3.after.statement5`),e(`${Y}.sellingPage.beforeAfterSection3.after.statement6`),e(`${Y}.sellingPage.beforeAfterSection3.after.statement7`)];return(0,g.jsxs)("div",{className:"a4eqi60",children:[(0,g.jsxs)("div",{className:`${sG} a4eqi62`,children:[(0,g.jsx)("h3",{className:`${sQ} a4eqi65`,children:e(`${Y}.sellingPage.beforeAfterSection.before.title`)}),(0,g.jsx)("div",{className:sY,children:s.map((e,s)=>(0,g.jsxs)("div",{className:sX,children:[(0,g.jsx)("div",{className:s1,children:(0,g.jsx)(s0,{className:"a4eqi6c"})}),(0,g.jsx)("p",{className:`${sJ} a4eqi6a`,children:e})]},s))})]}),(0,g.jsxs)("div",{className:`${sG} a4eqi63`,children:[(0,g.jsx)("h3",{className:`${sQ} a4eqi66`,children:e(`${Y}.sellingPage.beforeAfterSection.after.title`)}),(0,g.jsx)("div",{className:sY,children:a.map((e,s)=>(0,g.jsxs)("div",{className:sX,children:[(0,g.jsx)("div",{className:s1,children:(0,g.jsx)(s3,{})}),(0,g.jsx)("p",{className:`${sJ} a4eqi6b`,children:e})]},s))})]})]})}var s2="_1xd8zae8",s8="_1xd8zae9",s7="_1xd8zaea",s4="_1xd8zaeb",s5="_1xd8zaec",s9="_1xd8zaed";function ae(){let{t:e}=(0,x.useTranslation)(),s=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("gen_type"),[]),a=(0,h.useMemo)(()=>"male"===s?c.b:c.x,[s]);return(0,g.jsxs)("div",{className:"_1xd8zae0",children:[(0,g.jsx)("h2",{className:"_1xd8zae1",children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.resultsSection.title`,components:{highlighted:(0,g.jsx)("span",{className:"_1xd8zae2"})},values:{gender:e("male"===s?`${Y}.sellingPage.resultsSection.men`:`${Y}.sellingPage.resultsSection.women`)}})}),(0,g.jsxs)("div",{className:"_1xd8zae3",children:[(0,g.jsx)("img",{src:c.S,alt:"Sakura Backgroun
15d",className:"_1xd8zae4"}),(0,g.jsx)("div",{className:"_1xd8zae5",children:(0,g.jsx)("img",{src:a,alt:"Meditation Woman",className:"_1xd8zae6"})}),(0,g.jsxs)("div",{className:"_1xd8zae7",children:[(0,g.jsxs)("div",{className:s2,children:[(0,g.jsxs)("span",{className:s8,children:[e(`${Y}.sellingPage.resultsSection.firstResultPercentages`),(0,g.jsx)("span",{className:`${s8} ${s7}`,children:"%"})]}),(0,g.jsx)("span",{className:s4,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.resultsSection.firstResultText`,components:{highlighted:(0,g.jsx)("span",{className:s5})}})})]}),(0,g.jsx)("div",{className:s9}),(0,g.jsxs)("div",{className:s2,children:[(0,g.jsxs)("span",{className:s8,children:[e(`${Y}.sellingPage.resultsSection.secondResultPercentages`),(0,g.jsx)("span",{className:`${s8} ${s7}`,children:"%"})]}),(0,g.jsx)("span",{className:s4,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.resultsSection.secondResultText`,components:{highlighted:(0,g.jsx)("span",{className:s5})}})})]}),(0,g.jsx)("div",{className:s9}),(0,g.jsxs)("div",{className:s2,children:[(0,g.jsxs)("span",{className:s8,children:[e(`${Y}.sellingPage.resultsSection.thirdResultPercentages`),(0,g.jsx)("span",{className:`${s8} ${s7}`,children:"%"})]}),(0,g.jsx)("span",{className:s4,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.resultsSection.thirdResultText`,components:{highlighted:(0,g.jsx)("span",{className:s5})}})})]})]})]})]})}function as(){let e=(0,h.useMemo)(()=>{let e=new URLSearchParams(window.location.search);return(e.get("lang")||e.get("language")||"").toLowerCase()||void 0},[]),{t:s}=(0,x.useTranslation)(),a=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("gen_type"),[]),l=(0,h.useMemo)(()=>{if("male"===a){let s={es:c.p,pt:c.p,fr:c.f,en:c.m,de:c.d,it:c.u};return s[e||"en"]||s.en}let s={es:c.v,pt:c.v,fr:c._,en:c.y,de:c.g,it:c.h};return s[e||"en"]||s.en},[a,e]);return(0,g.jsxs)("div",{className:"ql27220",children:[(0,g.jsxs)("div",{className:"ql27223",children:[(0,g.jsx)("h2",{className:"ql27221",children:s(`${Y}.sellingPage.calendarSection.title`)}),(0,g.jsx)("p",{className:"ql27222",children:s(`${Y}.sellingPage.calendarSection.subtitleV2`)})]}),(0,g.jsx)("img",{src:l,alt:"Spirio Calendar",className:"ql27224",draggable:!1})]})}var aa="_11oga7w5",al="_11oga7wa";function ai({name:e,image:s,content:a,date:l,rating:i,imageText:t}){return(0,g.jsxs)("div",{className:"_11oga7w3",children:[(0,g.jsxs)("div",{className:"_11oga7w4",children:[(0,g.jsx)("div",{className:"_11oga7we",children:s?(0,g.jsx)("img",{src:s,className:"_11oga7wf"}):(0,g.jsx)("div",{className:"_11oga7wg",children:t})}),(0,g.jsxs)("div",{className:"_11oga7w6",children:[(0,g.jsx)("div",{className:aa,children:(0,g.jsx)("div",{className:"_11oga7w7",children:e})}),(0,g.jsxs)("div",{className:aa,children:[(0,g.jsxs)("div",{className:"_11oga7w8",children:[(0,g.jsxs)("div",{className:"_11oga7w9",children:[(0,g.jsx)(c.C,{className:al}),(0,g.jsx)(c.C,{className:al}),(0,g.jsx)(c.C,{className:al}),(0,g.jsx)(c.C,{className:al}),(0,g.jsx)(c.C,{className:al})]}),(0,g.jsx)("span",{className:"_11oga7wb",children:i})]}),(0,g.jsx)("div",{className:"_11oga7wc",children:l})]})]})]}),(0,g.jsx)("div",{className:"_11oga7wd",children:a})]})}function at(e){let{t:s}=(0,x.useTranslation)(),a=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("gen_type"),[]),l=[{name:s(`${Y}.sellingPage.feedbackSection.female.1.personName`),content:s(`${Y}.sellingPage.feedbackSection.female.1.content`),date:s(`${Y}.sellingPage.feedbackSection.firstFeedbackDate`),rating:"5.0",image:c.l},{name:s(`${Y}.sellingPage.feedbackSection.female.2.personName`),content:s(`${Y}.sellingPage.feedbackSection.female.2.content`),date:s(`${Y}.sellingPage.feedbackSection.thirdFeedbackDate`),rating:"5.0",image:c.c},{name:s(`${Y}.sellingPage.feedbackSection.female.3.personName`),content:s(`${Y}.sellingPage.feedbackSection.female.3.content`),date:s(`${Y}.sellingPage.feedbackSection.secondFeedbackDate`),rating:"4.8",imageText:s(`${Y}.sellingPage.feedbackSection.female.3.imageText`)}],i=[{name:s(`${Y}.sellingPage.feedbackSection.male.1.personName`),content:s(`${Y}.sellingPage.feedbackSection.male.1.content`),date:s(`${Y}.sellingPage.feedbackSection.firstFeedbackDate`),rating:"5.0",image:c.s},{name:s(`${Y}.sellingPage.feedbackSection.male.2.personName`),content:s(`${Y}.sellingPage.feedbackSection.male.2.content`),date:s(`${Y}.sellingPage.feedbackSection.thirdFeedbackDate`),rating:"5.0",image:c.o},{name:s(`${Y}.sellingPage.feedbackSection.male.3.personName`),content:s(`${Y}.sellingPage.feedbackSection.male.3.content`),date:s(`${Y}.sellingPage.feedbackSection.secondFeedbackDate`),rating:"4.8",imageText:s(`${Y}.sellingPage.feedbackSection.male.3.imageText`)}];return(0,g.jsxs)("div",{className:"_11oga7w0",children:[(0,g.jsx)("h2",{className:"_11oga7w1",children:s(`${Y}.sellingPage.feedbackSection.title`)}),(0,g.jsx)("div",{className:"_11oga7w2",children:("male"===a?i:l).map(e=>(0,g.jsx)(ai,{...e},e.name))})]})}var an=({className:e})=>(0,g.jsxs)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:[(0,g.jsx)("g",{clipPath:"url(#clip0_1086_17767)",children:(0,g.jsx)("path",{d:"M12 0C5.3748 0 0 5.36802 0 11.9937C0 18.6257 5.3748 24 12 24C18.6288 24 23.9991 18.6256 23.9991 11.9937C23.9991 5.36802 18.6288 0 12 0ZM12.8551 18.6708C12.5764 18.9188 12.2534 19.0435 11.8875 19.0435C11.509 19.0435 11.1788 18.9211 10.8969 18.6758C10.6146 18.4309 10.4731 18.0881 10.4731 17.6476C10.4731 17.2568 10.61 16.928 10.8829 16.6614C11.1557 16.3949 11.4905 16.2616 11.8875 16.2616C12.2783 16.2616 12.6072 16.3949 12.8742 16.6614C13.1407 16.928 13.2744 17.2568 13.2744 17.6476C13.2739 18.0817 13.1343 18.4228 12.8551 18.6708ZM16.3304 10.0553C16.1162 10.4523 15.8619 10.7947 15.5669 11.0834C15.2728 11.3721 14.7439 11.8573 13.9804 12.5394C13.7699 12.7318 13.6005 12.9008 13.4736 13.0462C13.3466 13.1922 13.2518 13.3254 13.1899 13.4465C13.1275 13.5675 13.0797 13.6886 13.0458 13.8096C13.0119 13.9302 12.9609 14.143 12.8917 14.447C12.7743 15.0921 12.4052 15.4146 11.785 15.4146C11.4624 15.4146 11.1914 15.3094 10.9705 15.0984C10.7504 14.8874 10.6407 14.5744 10.6407 14.1588C10.6407 13.638 10.7215 13.1866 10.8828 12.805C11.0432 12.4232 11.2578 12.0885 11.5243 11.7998C11.7913 11.5112 12.1509 
1511.1687 12.604 10.7717C13.001 10.4243 13.2879 10.1623 13.4645 9.98563C13.6416 9.80857 13.7902 9.61162 13.9108 9.39476C14.0324 9.17747 14.092 8.94211 14.092 8.68781C14.092 8.19136 13.9082 7.77305 13.5387 7.43199C13.1696 7.09094 12.6934 6.92016 12.1102 6.92016C11.4277 6.92016 10.9253 7.09227 10.6028 7.4365C10.2802 7.78072 10.0079 8.28756 9.78423 8.95751C9.57282 9.65863 9.17258 10.0091 8.58394 10.0091C8.23654 10.0091 7.94339 9.88671 7.70442 9.64185C7.4659 9.39699 7.34663 9.13184 7.34663 8.84636C7.34663 8.25727 7.53592 7.66007 7.91404 7.0552C8.29262 6.45033 8.84464 5.94933 9.57055 5.5527C10.296 5.15562 11.1431 4.95683 12.1102 4.95683C13.0096 4.95683 13.8034 5.12305 14.4918 5.45511C15.1803 5.78666 15.7124 6.23798 16.0878 6.80895C16.4627 7.37948 16.6506 7.99974 16.6506 8.66969C16.6515 9.19603 16.5445 9.65819 16.3304 10.0553Z"})}),(0,g.jsx)("defs",{children:(0,g.jsx)("clipPath",{id:"clip0_1086_17767",children:(0,g.jsx)("rect",{width:"24",height:"24",fill:"white"})})})]}),ar=({className:e})=>(0,g.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 12 12",fill:"currentColor",children:(0,g.jsx)("path",{d:"M6 9L1 4L2.41 2.59L6 6.17L9.59 2.59L11 4L6 9Z"})});function ac({analyticsApi:e}){let{t:s}=(0,x.useTranslation)(),[l,i]=(0,h.useState)(null),t=[{key:"1",title:s(`${Y}.sellingPage.faqSection.firstCollapseTitle`),content:s(`${Y}.sellingPage.faqSection.firstCollapseContent`)},{key:"2",title:s(`${Y}.sellingPage.faqSection.secondCollapseTitle`),content:s(`${Y}.sellingPage.faqSection.secondCollapseContent`)},{key:"3",title:s(`${Y}.sellingPage.faqSection.thirdCollapseTitle`),content:s(`${Y}.sellingPage.faqSection.thirdCollapseContent`)}];return(0,g.jsxs)("div",{className:"_127ukgr0",children:[(0,g.jsx)("h3",{className:"_127ukgr1",children:s(`${Y}.sellingPage.faqSection.title`)}),(0,g.jsx)("div",{className:"_127ukgr2",children:t.map(s=>{let t=l===s.key;return(0,g.jsxs)("div",{className:"_127ukgr3",children:[(0,g.jsxs)("div",{className:"_127ukgr4",onClick:()=>{var t;i(l===(t=s.key)?null:t),e.track(a.P.BUTTON_CLICK,{type:`faq_section_${t}`})},children:[(0,g.jsxs)("div",{className:"_127ukgr5",children:[(0,g.jsx)("div",{className:"_127ukgr6",children:(0,g.jsx)(an,{className:"_127ukgr7"})}),(0,g.jsx)("h6",{className:"_127ukgr8",children:s.title})]}),(0,g.jsx)("div",{className:`_127ukgr9 ${t?"_127ukgra":"_127ukgrb"}`,children:(0,g.jsx)(ar,{className:"_127ukgrc"})})]}),(0,g.jsx)("div",{className:`_127ukgrd ${t?"_127ukgre":""}`,children:(0,g.jsx)("p",{className:"_127ukgrf",children:s.content})})]},s.key)})})]})}var ao="yocnjt2";function ad(){let{t:e}=(0,x.useTranslation)();return(0,g.jsxs)("div",{className:"yocnjt0",children:[(0,g.jsx)("img",{className:"yocnjt3",draggable:!1,src:c.a,alt:"Shield icon"}),(0,g.jsx)("h4",{className:"yocnjt1",children:e(`${Y}.sellingPage.guaranteeSection.title`)}),(0,g.jsx)("p",{className:ao,children:e(`${Y}.sellingPage.guaranteeSection.guaranteeText`)}),(0,g.jsx)("p",{className:ao,children:(0,g.jsx)(p.Trans,{i18nKey:`${Y}.sellingPage.guaranteeSection.findMoreTip`,components:{policyLink:(0,g.jsx)("span",{className:ao,onClick:()=>{window.open("https://spiriohub.com/money-back","_self")},style:{textDecorationLine:"underline",cursor:"pointer"}})}})})]})}var am="g1rfgq1",ah="g1rfgq2",ag="g1rfgq3",au="g1rfgq4",ap="g1rfgq5",ax=({className:e})=>(0,g.jsx)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:(0,g.jsx)("path",{d:"M12.6668 5.616V4.66666C12.6668 2.08934 10.5775 0 8.00015 0C5.42281 0 3.3335 2.08934 3.3335 4.66666V5.616C2.12018 6.14553 1.33525 7.34284 1.3335 8.66666V12.6667C1.33568 14.5067 2.82678 15.9978 4.66681 16H11.3335C13.1735 15.9978 14.6646 14.5067 14.6668 12.6667V8.66666C14.6651 7.34284 13.8801 6.14553 12.6668 5.616ZM8.66681 11.3333C8.66681 11.7015 8.36834 12 8.00015 12C7.63197 12 7.3335 11.7015 7.3335 11.3333V10C7.3335 9.63181 7.63197 9.33334 8.00015 9.33334C8.36834 9.33334 8.66681 9.63181 8.66681 10V11.3333ZM11.3335 5.33334H4.66681V4.66669C4.66681 2.82575 6.15918 1.33334 8.00015 1.33334C9.84112 1.33334 11.3335 2.82572 11.3335 4.66669V5.33334Z"})}),aj=({className:e})=>(0,g.jsx)("svg",{className:e,width:"16",height:"17",viewBox:"0 0 16 17",xmlns:"http://www.w3.org/2000/svg",fill:"
15currentColor",children:(0,g.jsxs)("g",{children:[(0,g.jsx)("path",{d:"M12.6667 2.50977H3.33333C2.4496 2.51082 1.60237 2.86235 0.97748 3.48725C0.352588 4.11214 0.00105857 4.95937 0 5.8431H16C15.9989 4.95937 15.6474 4.11214 15.0225 3.48725C14.3976 2.86235 13.5504 2.51082 12.6667 2.50977Z"}),(0,g.jsx)("path",{d:"M0 11.1768C0.00105857 12.0605 0.352588 12.9077 0.97748 13.5326C1.60237 14.1575 2.4496 14.509 3.33333 14.5101H12.6667C13.5504 14.509 14.3976 14.1575 15.0225 13.5326C15.6474 12.9077 15.9989 12.0605 16 11.1768V7.17676H0V11.1768ZM4.66667 10.8434C4.66667 11.0412 4.60802 11.2345 4.49814 11.399C4.38826 11.5634 4.23208 11.6916 4.04935 11.7673C3.86662 11.843 3.66556 11.8628 3.47158 11.8242C3.2776 11.7856 3.09941 11.6904 2.95956 11.5505C2.81971 11.4107 2.72447 11.2325 2.68588 11.0385C2.6473 10.8445 2.6671 10.6435 2.74279 10.4607C2.81847 10.278 2.94665 10.1218 3.1111 10.012C3.27555 9.90207 3.46889 9.84342 3.66667 9.84342C3.93188 9.84342 4.18624 9.94878 4.37377 10.1363C4.56131 10.3238 4.66667 10.5782 4.66667 10.8434Z"})]})});function av(){let{t:e}=(0,x.useTranslation)();return(0,g.jsxs)("div",{className:"g1rfgq0",children:[(0,g.jsxs)("div",{className:am,children:[(0,g.jsxs)("div",{className:ah,children:[(0,g.jsx)(ax,{className:ap}),(0,g.jsx)("h5",{className:ag,children:e(`${Y}.sellingPage.secureSection.firstTitle`)})]}),(0,g.jsx)("p",{className:au,children:e(`${Y}.sellingPage.secureSection.firstSubtitle`)})]}),(0,g.jsxs)("div",{className:am,children:[(0,g.jsxs)("div",{className:ah,children:[(0,g.jsx)(aj,{className:ap}),(0,g.jsx)("h5",{className:ag,children:e(`${Y}.sellingPage.secureSection.secondTitle`)})]}),(0,g.jsx)("p",{className:au,children:e(`${Y}.sellingPage.secureSection.secondSubtitle`)})]})]})}function af(){let{t:e}=(0,x.useTranslation)();return(0,g.jsx)("div",{className:"_1qewfwq0",children:(0,g.jsx)("p",{className:"_1qewfwq1",children:e(`${Y}.sellingPage.ebanxSection.disclaimer`)})})}var ay=({id:e,sectionPosition:s,productPlans:a,analyticsApi:l,...i})=>(0,g.jsx)(sK,{id:e,sectionPosition:s,productPlans:a,analyticsApi:l,...i});function aN({funnelName:e,activeProductPlans:s,analyticsApi:a,isDiscount75Proposed:l,isDiscount67Proposed:i,setIsDiscount67Proposed:t,setWasDiscountProposed:n,isDiscount50Proposed:r,wasDiscountProposed:c,customerEmail:o,setCustomerEmail:d,cardIntents:m,payPalIntents:h,cardRefetches:u,payPalRefetches:p,countryCode:j,currency:v,ipAddress:f,timerSeconds:y,onNext:N,allowInlineApplePay:_,onCheckoutModalRenderedChange:P,reviews:C,selectPlanSectionTitle:b,selectPlanSectionSubtitle:w}){let{t:S}=(0,x.useTranslation)(),$=S(`${Y}.sellingPage.feedbackSection.title`),k={funnelName:e,productPlans:s,isDiscount75Proposed:l,isDiscount67Proposed:i,setIsDiscount67Proposed:t,setWasDiscountProposed:n,isDiscount50Proposed:r,wasDiscountProposed:c,customerEmail:o,setCustomerEmail:d,cardIntents:m,payPalIntents:h,cardRefetches:u,payPalRefetches:p,countryCode:j,currency:v,ipAddress:f,timerSeconds:y,onNext:N,allowInlineApplePay:_,onCheckoutModalRenderedChange:P,selectPlanSectionTitle:b,selectPlanSectionSubtitle:w};return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(sW,{}),(0,g.jsx)(s6,{}),(0,g.jsx)(ay,{analyticsApi:a,...k,id:"select-plan-section",sectionPosition:"top"}),(0,g.jsx)(ae,{}),(0,g.jsx)(as,{}),(0,g.jsx)(at,{sectionTitle:$,reviews:C}),(0,g.jsx)(ac,{analyticsApi:a}),(0,g.jsx)(ay,{analyticsApi:a,...k,id:"select-plan-section-bottom",sectionPosition:"bottom"}),(0,g.jsx)(ad,{}),(0,g.jsx)(av,{}),"BR"===j&&(0,g.jsx)(af,{})]})}var a_=`${Y}.sellingPage`,aP=`${a_}.titleWithGoal`,aC=`${a_}.titleWithNameAndGoal`,ab=`${a_}.titleKeys`,aw=e=>e.replace(/<[^>]+>/g,"").replace(/\{\{[^}]+\}\}/g,"").trim(),aS={1:"love",2:"abundance",3:"success",4:"joy",5:"confidence",6:"dream_life",love:"love",abundance:"abundance",success:"success",joy:"joy",confidence:"confidence","dream-life":"dream_life",dream_life:"dream_life"},a$=new f.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}}),ak=({showHeader:e,showFooter:s,bodyBackground:l,contentBackground:t,quizData:n,answersByName:r={},onNext:c,analyticsApi:d,experimentsByName:m,funnelName:u=Q,country:p,title:j,subtitle:v,selectPlanSectionTitle:f,selectPlanSectionSubtitle:y,feedbackSectionTitle:N,reviews:C,...b})=>{let{t:w}=(0,x.useTranslation)(),S=(m??{})["046_attraction_trust-badges_19-11"],[$,k]=(0,h.useState)({top:!1,bottom:!1}),T=(0,h.useCallback)((e,s)=>{k(a=>({...a,[e]:s}))},[]),M=!$.top&&!$.bottom,{language:L}=function(){let e,s,{i18n:a}=(0,x.useTranslation)(),l=(s=((e=new URLSearchParams(window.location.search)).get("lang")||e.get("language")||"").toLowerCase())&&o.t.includes(s)?s:(navigator.languages||[navigator.language]).map(e=>e.slice(0,2).toLowerCase()).find(e=>o.t.includes(e))||"en";return(0,h.useEffect)(()=>{a.changeLanguage(l)},[l,a]),{language:l}}(),{customerEmail:A,setCustomerEmail:D,name:F}=function(e,s){let{language:l}=(0,_.useParams)(),i=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("email")?.replace(/ /g,"+"),[]),t=(0,h.useMemo)(()=>a.M.get(`${e}_email`),[]),[n,r]=(0,h.useState)(i||t),c=(0,h.useMemo)(()=>{let s=a.M.get(`${e}_name`);
15return s||(new URLSearchParams(window.location.search).get("name")?.trim()??void 0)},[]),o=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("goal")||a.M.get(`${e}_goal`),[]),d=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("utm_source")?.includes("email")||!1,[]);return(0,h.useEffect)(()=>{if(i&&d){let t=(0,a.L)(),n=new URLSearchParams(window.location.search),r=n.get("user_id")||n.get(`${e}_user_id`),c=a.M.get(`${e}_user_id`),o=n.get("utm_source")||"unknown",d=t||r||c;d&&s?.cioIdentify({id:d,email:i,funnel:e,language:l,utm_source:o})}},[i,d,l]),(0,h.useEffect)(()=>{i&&!t&&a.M.set(`${e}_email`,i)},[t,i]),(0,h.useEffect)(()=>{if(n){let e=new URLSearchParams(window.location.search);if(e.get("email")!==n){e.set("email",n);let s=e.toString(),a=`${window.location.pathname}${s?`?${s}`:""}`;window.history.replaceState(null,"",a)}}},[n]),{customerEmail:n,setCustomerEmail:r,name:c,goal:o}}(u,d),{ip:I,countryCode:E,currency:U}=function(e,s){let l=function(e){if(!e)return null;let s=e.trim().toUpperCase();return 2!==s.length||ed.has(s)?null:s}(s),[t,n]=(0,h.useState)(null),[r,c]=(0,h.useState)(l??void 0),[o,d]=(0,h.useState)(()=>l?(0,a.D)(l):a.O.USD);return(0,h.useEffect)(()=>{if(l){a.M.set(`${e}_country_code`,l),(0,a.j)().then(s=>{n(s),s&&a.M.set(`${e}_ip_address`,s),(0,i.L)((0,a.I)(e)||(0,P.v4)(),l,s)});return}(0,a.j)().then(s=>{n(s),s&&(a.M.set(`${e}_ip_address`,s),(0,a.k)((0,a.I)(e)||(0,P.v4)(),s).then(s=>{a.M.set(`${e}_country_code`,s.countryCode),c(s.countryCode),d((0,a.D)(s.countryCode))}))})},[]),{ip:t,countryCode:r,currency:o}}(u,p),{isDiscount50Proposed:B,isDiscount67Proposed:Z,isDiscount75Proposed:R,wasDiscountProposed:O,isDiscountModalOpen:z,setIsDiscount67Proposed:V,setWasDiscountProposed:K,setIsDiscountModalOpen:q,timerSeconds:H}=function(e){let s=(0,h.useMemo)(()=>"true"===a.M.get(`${e}_is_discount_proposed`),[]),l=(0,h.useMemo)(()=>"true"===new URLSearchParams(window.location.search).get("discount"),[]),i=(0,h.useMemo)(()=>"true"===new URLSearchParams(window.location.search).get("discount75"),[]),t=(0,h.useMemo)(()=>"true"===a.M.get(`${e}_was_discount_proposed`),[]),[n,r]=(0,h.useState)(t),[c,o]=(0,h.useState)(!1),[d,m]=(0,h.useState)(l||s||!1),[g,u]=(0,h.useState)(!d&&!i),p=eo({initialSeconds:600,isActive:g&&!d&&!i,storageKey:`${e}_selling_page_timer`,onExpire:()=>{u(!1)}}),x=eo({initialSeconds:300,isActive:d&&!i,storageKey:`${e}_selling_page_discount_timer`,onExpire:()=>{l||m(!1)}}),j=eo({initialSeconds:300,isActive:i,storageKey:`${e}_selling_page_discount_75_timer`});return(0,h.useEffect)(()=>{d||i?u(!1):u(!0)},[d,i]),(0,h.useEffect)(()=>{d?(n||t||l||setTimeout(()=>{o(!0)},100),a.M.set(`${e}_was_discount_proposed`,"true"),a.M.set(`${e}_is_discount_proposed`,"true"),r(!0)):a.M.set(`${e}_is_discount_proposed`,"false")},[d,n,t,l]),{isDiscount50Proposed:g,isDiscount67Proposed:d,isDiscount75Proposed:i,wasDiscountProposed:n,isDiscountModalOpen:c,setIsDiscount67Proposed:m,setWasDiscountProposed:r,setIsDiscountModalOpen:o,timerSeconds:i?j:d?x:p}}(u),W="AU"===E||"CA"===E,G=(0,h.useMemo)(()=>{if(E)return W?eI:eF},[E,W]),{cardIntents:Y,payPalIntents:X,cardRefetches:J,payPalRefetches:ee}=function({customerEmail:e,ip:s,countryCode:l,currency:t,language:n,isDiscount50Proposed:r,isDiscount67Proposed:c,isDiscount75Proposed:o,activeProductPlans:d,funnelName:m}){let{mutate:g}=(0,i.lt)(),{mutate:u}=(0,i.lt)(),{mutate:p}=(0,i.lt)(),{mutate:x}=(0,i.ct)(),{mutate:j}=(0,i.ct)(),{mutate:v}=(0,i.ct)(),[f,y]=(0,h.useState)(),[N,_]=(0,h.useState)(),[C,b]=(0,h.useState)(),[w,S]=(0,h.useState)(),[$,k]=(0,h.useState)(),[T,M]=(0,h.useState)(),L=(0,h.useMemo)(()=>new URLSearchParams(window.location.search).get("utm_campaign"),[]),A=i=>{let d=(0,a.I)(m)||(0,P.v4)();return{productId:o?i.solidgateDiscount75TrialProductId:c?i.solidgateDiscount67TrialProductId:r?i.solidgateDiscount50TrialProductId:i.solidgateFullProductId,orderDescription:i.solidgatePlanDescription,customerAccountId:d,...e?{customerEmail:e}:{},...s?{ipAddress:s}:{},metadata:{analytics_user_id:d,traffic_source:new URLSearchParams(window.location.search).get("utm_source")||"unknown",funnel:m,plan:i.plan,language:n||"en",pst_funnel:m,...L?{pst_campaign:L}:{}},currency:t,geoCountry:l,language:n||"en"}},D=(e,s,a)=>{a(A(e),{onSuccess:e=>{s(e)}})},F=(e,s,a)=>{a(A(e),{onSuccess:e=>{s(e)}})},I=()=>{d&&(_(void 0),F(d["one-month"],_,x))},E=()=>
15{d&&(S(void 0),F(d["three-month"],S,j))},U=()=>{d&&(M(void 0),F(d["six-month"],M,v))},B=()=>{d&&(y(void 0),D(d["one-month"],y,g))},Z=()=>{d&&(b(void 0),D(d["three-month"],b,u))},R=()=>{d&&(k(void 0),D(d["six-month"],k,p))};return(0,h.useEffect)(()=>{d&&s&&(e&&s&&(I(),E(),U()),B(),Z(),R())},[o,c,r,e,s,l,t,n,d]),{cardIntents:(0,h.useMemo)(()=>({"one-month":f,"three-month":C,"six-month":$}),[f,C,$]),payPalIntents:(0,h.useMemo)(()=>({"one-month":N,"three-month":w,"six-month":T}),[N,w,T]),cardRefetches:{"one-month":B,"three-month":Z,"six-month":R},payPalRefetches:{"one-month":I,"three-month":E,"six-month":U}}}({customerEmail:A,ip:I,countryCode:E,currency:U,language:L,isDiscount50Proposed:B,isDiscount67Proposed:Z,isDiscount75Proposed:R,activeProductPlans:G,funnelName:u});(0,h.useEffect)(()=>{d.track(a.P.QUIZ_FINISH),d.adTrack("ViewContent",{content_name:"Selling-Page"},{email:A})},[A,d]);let es=(0,h.useMemo)(()=>{let e=new URLSearchParams(window.location.search).get("attract"),s=e?e.split(",").map(e=>e.trim()).filter(Boolean):[],a=0===s.length||s.length>=2?"dream_life":s[0]||"dream_life",l=aS[String(a).toLowerCase()]||aS[String(a).replace(/\s+/g," ").trim().toLowerCase()]||"dream_life",i=w(`${ab}.${l}`)===`${ab}.${l}`?"dream_life":l,t=F?aC:aP,n=F?w(t,{name:F}):w(t),r=aw(w(`${ab}.${i}`)),c=function(e){let s,a=[],l=/<highlighted>([^<]*)<\/highlighted>/g,i=0;for(l.lastIndex=0;null!==(s=l.exec(e));)s.index>i&&a.push({text:e.slice(i,s.index),highlight:!1}),a.push({text:s[1],highlight:!0}),i=l.lastIndex;return i<e.length&&a.push({text:e.slice(i),highlight:!1}),a.length>0?a:[{text:e,highlight:!1}]}(n);if(!c.some(e=>e.text.length>0)&&!r){let e=F?`${a_}.titleWithName`:`${a_}.title`;return[{text:aw(F?w(e,{name:F}):w(e)),highlight:!1}]}return[...c,...r?[{text:r,highlight:!1}]:[]]},[r,F,w]);return(0,g.jsxs)(a.U,{showHeader:e,showFooter:s,bodyBackground:l,contentBackground:t,onNext:c,className:"_1l6h7e00",...b,children:[(0,g.jsx)(eh,{timerSeconds:H,hasGiftIcon:R||Z,onScrollToPlans:()=>{let e=document.getElementById("select-plan-section");e&&e.scrollIntoView({behavior:"smooth",block:"center"})}}),(0,g.jsxs)("div",{className:"_1l6h7e01",id:"selling-page-content",children:[(0,g.jsx)(ep,{isDiscount75Proposed:R,isDiscount67Proposed:Z,isDiscount50Proposed:B,titleParts:es,builderTitle:j,subtitle:v}),(0,g.jsx)(ei,{funnelName:u}),(0,g.jsx)(aN,{variant:S,funnelName:u,activeProductPlans:G,isDiscount75Proposed:R,isDiscount67Proposed:Z,setIsDiscount67Proposed:V,setWasDiscountProposed:K,isDiscount50Proposed:B,wasDiscountProposed:O,customerEmail:A,setCustomerEmail:D,cardIntents:Y,payPalIntents:X,cardRefetches:J,payPalRefetches:ee,countryCode:E,currency:U,ipAddress:I,timerSeconds:H,analyticsApi:d,onNext:c,allowInlineApplePay:M,onCheckoutModalRenderedChange:T,feedbackSectionTitle:N,reviews:C,selectPlanSectionTitle:f,selectPlanSectionSubtitle:y})]}),(0,g.jsx)(ec,{isOpen:z,onClose:()=>{q(!1),(0,i.V)({behavior:"smooth"})}})]})},aT=e=>(0,g.jsx)(y.QueryClientProvider,{client:a$,children:(0,g.jsx)(ak,{...e})}),aM=(0,s.n)({SellingPageBreathworkV2:()=>aT});e.s(["n",0,aT,"t",0,aM])}]);

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.