1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="707be4f3-498d-48c0-b67a-b352ab12d8a4",e._sentryDebugIdIdentifier="sentry-dbid-707be4f3-498d-48c0-b67a-b352ab12d8a4")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4322,1261,4807],{96385:function(e,t,n){n.d(t,{Z:function(){return l}});var r,o=n(68458),i=n(67294);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var l=(0,o.default)(e=>i.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none"},e),r||(r=i.createElement("path",{d:"M17.1864 4.25392C17.4835 3.96534 17.9584 3.97254 18.247 4.26954C18.5353 4.56662 18.5292 5.04154 18.2323 5.33009L7.50675 15.749C7.21588 16.0312 6.75278 16.0311 6.46182 15.749L1.76944 11.1904C1.4724 10.9019 1.46538 10.427 1.75382 10.1299C2.04237 9.83285 2.51724 9.82585 2.81436 10.1143L6.98331 14.1651L17.1864 4.25392Z",fill:"currentColor"})))).withConfig({displayName:"IconCheck",componentId:"sc-4f3cc3c2-0"})(["width:","px;height:","px;"],e=>{let{size:t}=e;return t??20},e=>{let{size:t}=e;return t??20})},88760:function(e,t,n){n.d(t,{B:function(){return C},Z:function(){return S}});var r,o,i,a=n(85893),l=n(67294),s=n(68458),c=n(25384),u=n(72931);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let h=(0,s.default)(e=>l.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none"},e),r||(r=l.createElement("path",{d:"M9.99986 7.79199C12.2549 7.79199 14.0837 9.61999 14.0838 11.875C14.0837 14.13 12.2549 15.959 9.99986 15.959C7.74503 15.9587 5.91703 14.1298 5.91685 11.875C5.91703 9.62015 7.74503 7.79226 9.99986 7.79199ZM9.99986 9.29199C8.57346 9.29226 7.41703 10.4486 7.41685 11.875C7.41703 13.3014 8.57346 14.4587 9.99986 14.459C11.4265 14.459 12.5837 13.3016 12.5838 11.875C12.5837 10.4484 11.4265 9.29199 9.99986 9.29199ZM9.99888 4.04199C14.6108 4.04199 17.5449 6.5794 19.118 8.47852C19.3821 8.79743 19.3381 9.26995 19.0194 9.53418C18.7005 9.7979 18.2269 9.75424 17.9628 9.43555C16.5446 7.72347 13.994 5.54199 9.99888 5.54199C6.0042 5.54232 3.45309 7.72358 2.03502 9.43555C1.77066 9.75369 1.29804 9.79809 0.979353 9.53418C0.660783 9.27005 0.617037 8.79741 0.88072 8.47852C2.45375 6.57952 5.38744 4.04232 9.99888 4.04199Z",fill:"currentColor"})))).withConfig({displayName:"text__IconEyeOn",componentId:"sc-b2263ece-0"})(["width:","px;height:","px;"],e=>{let{size:t}=e;return t??22},e=>{let{size:t}=e;return t??22}),g=(0,s.default)(e=>l.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none"},e),o||(o=l.createElement("path",{d:"M17.1221 7.65428C17.382 7.33195 17.8543 7.28115 18.1768 7.541C18.4991 7.80091 18.5498 8.27324 18.29 8.59569C17.891 9.09075 17.3918 9.63119 16.791 10.1562L18.3574 12.9023C18.5625 13.262 18.4367 13.7205 18.0771 13.9258C17.7174 14.1306 17.2598 14.0052 17.0547 13.6455L15.5889 11.0742C14.8042 11.5905 13.8953 12.0409 12.8525 12.3418L13.3076 15.083C13.3753 15.4913 13.0996 15.8771 12.6914 15.9453C12.283 16.0132 11.8963 15.7374 11.8281 15.3291L11.3818 12.6465C10.9406 12.7043 10.48 12.7373 9.99902 12.7373C9.51745 12.7373 9.05596 12.7044 8.61426 12.6465L8.16992 15.3291C8.1018 15.7375 7.71511 16.0132 7.30664 15.9453C6.89825 15.8773 6.62
118 15.4914 6.68945 15.083L7.14453 12.3418C6.10197 12.0409 5.1927 11.5913 4.4082 11.0752L2.94336 13.6455C2.73826 14.0052 2.28066 14.1306 1.9209 13.9258C1.56107 13.7206 1.43544 13.2622 1.64062 12.9023L3.20605 10.1562C2.6054 9.63129 2.10695 9.09066 1.70801 8.59569C1.44808 8.27319 1.4988 7.80094 1.82129 7.541C2.14378 7.28126 2.6161 7.33186 2.87598 7.65428C4.15151 9.23683 6.43297 11.2373 9.99902 11.2373C13.565 11.2372 15.8466 9.23681 17.1221 7.65428Z",fill:"currentColor"})))).withConfig({displayName:"text__IconEyeOff",componentId:"sc-b2263ece-1"})(["width:","px;height:","px;"],e=>{let{size:t}=e;return t??22},e=>{let{size:t}=e;return t??22}),m=(0,s.default)(e=>l.createElement("svg",f({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),i||(i=l.createElement("path",{d:"M10.002 0.708008C15.1332 0.708155 19.2928 4.86781 19.293 9.99902C19.2929 15.1303 15.1332 19.2899 10.002 19.29C4.87067 19.2899 0.710969 15.1303 0.710938 9.99902C0.711058 4.86779 4.87072 0.708128 10.002 0.708008ZM10.002 2.20801C5.69915 2.20813 2.21106 5.69622 2.21094 9.99902C2.21097 14.3019 5.69909 17.7899 10.002 17.79C14.3048 17.7899 17.7929 14.3019 17.793 9.99902C17.7928 5.69623 14.3047 2.20815 10.002 2.20801ZM10.002 10.75C10.4162 10.75 10.752 10.41421 10.752 10V5.833C10.7518 5.4189 10.4161 5.083 10.002 5.083C9.58785 5.083 9.25214 5.4189 9.25195 5.833V10C9.25195 10.41421 9.58774 10.75 10.002 10.75ZM10.002 14.66699C10.738 14.66682 11.3356 14.06996 11.3359 13.33398C11.3359 12.59771 10.7382 12.00018 10.002 12C9.26572 12.00018 8.66895 12.59771 8.66895 13.33398C8.66929 14.06996 9.26594 14.66682 10.002 14.66699Z",fill:"currentColor"})))).withConfig({displayName:"text__IconCaution",componentId:"sc-b2263ece-2"})(["width:","px;height:","px;"],e=>{let{size:t}=e;return t??20},e=>{let{size:t}=e;return t??20}),x=s.default.span.withConfig({displayName:"text__Label",componentId:"sc-b2263ece-3"})(["font-size:14px;font-weight:600;line-height:1.4;letter-spacing:-0.3px;color:",";"],e=>{let{theme:t}=e;return t.colors.text_primary}),b=s.default.span.withConfig({displayName:"text__HelperText",componentId:"sc-b2263ece-4"})(["font-size:14px;font-weight:490;line-height:1.4;letter-spacing:-0.4px;color:",";"],e=>{let{theme:t,$error:n}=e;return n?t.colors.text_negative_default:t.colors.text_tertiary}),v=s.default.div.withConfig({displayName:"text__InputWrapper",componentId:"sc-b2263ece-5"})(["display:flex;flex-direction:column;gap:8px;flex:1;position:relative;input{height:48px;width:100%;border-radius:",";background-color:",";padding:13px 12px;padding-right:",";font-size:16px;font-weight:460;line-height:1.4;letter-spacing:-0.5px;color:",";caret-color:",";border:1px solid ",";outline:none;transition:border-color 0.15s ease;&::placeholder{color:",";}&:hover:not(:disabled):not(:focus){border-color:",";}&:focus{border-color:",";}body.tabbing &:focus{border-color:var(--focus-ring-color,",");}&:disabled{background:",";border-color:",";color:",";cursor:default;}}",""],e=>{let{rounded:t}=e;return t?"40px":"4px"},e=>{let{theme:t}=e;return t.colors.white},e=>{let{$hasTrailingIcon:t}=e;return t?"40px":"12px"},e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.colors.border_tertiary_default},e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.colors.border_tertiary_hover},e=>{let{theme:t}=e;return t.colors.border_primary_default},e=>{let{theme:t}=e;return t.colors.focus_blue},e=>{let{theme:t}=e;return t.colors.background_disabled},e=>{let{theme:t}=e;return t.colors.border_tertiary_default},e=>{let{theme:t}=e;return t.colors.text_secondary},e=>{let{hasError:t,caution:n,theme:r}=e;return t&&!n&&` 2 input { 3 border-color: ${r.colors.text_negative_default}; 4 color: ${r.colors.text_negative_default}; 5 6 &:hover:not(:disabled):not(:focus), 7 &:focus { 8 border-color: ${r.colors.text_negative_default}; 9 } 10 } 11 `}),y=s.default.span.withConfig({displayName:"text__HiddenLabel",componentId:"sc-b2263ece-6"})(["clip:rect(1px,1px,1px,1px);clip-path:inset(50%);
11height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;background-color:transparent;"]),C=(0,s.default)(u.DZ).withConfig({displayName:"text__ErrorMessage",componentId:"sc-b2263ece-7"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_negative_default}),w=s.default.span.withConfig({displayName:"text__CounterMessage",componentId:"sc-b2263ece-8"})(["font-size:10px;font-weight:490;color:",";position:absolute;top:3px;right:4px;"],e=>{let{theme:t}=e;return t.colors.text_tertiary}),_=s.default.div.withConfig({displayName:"text__TrailingIconWrapper",componentId:"sc-b2263ece-9"})(["display:flex;align-items:center;justify-content:center;position:absolute;right:12px;bottom:0;height:48px;cursor:pointer;"]),j=e=>{let{required:t,disabled:n,placeholder:r,min:o,max:i,maxLength:s,rounded:u,label:d,name:p,value:f,error:j="",type:S="text",onChange:I,onBlur:E,onFocus:k,hiddenLabel:A,inputRef:N,inputStyle:P,className:T,hint:M,passwordPeek:F=!1,caution:L=!1,autoFocus:D=!1,autoComplete:$,trailingIcon:R,hideCounter:W=!1,showErrorTrailingIcon:z=!0}=e,[O,Z]=(0,l.useState)(!1),B=""!==j,H=F&&"password"===S&&((null==f?void 0:f.length)??0)>0,U=B&&!H&&z,q=H||U||!!R;return(0,a.jsxs)(v,{className:T,rounded:u,hasError:B,caution:L,$hasTrailingIcon:q,children:[d&&(0,a.jsx)(x,{children:d}),A&&(0,a.jsx)(y,{children:A}),(0,a.jsxs)("div",{style:{position:"relative"},onTouchStartCapture:e=>e.stopPropagation(),onTouchMoveCapture:e=>e.stopPropagation(),onTouchEndCapture:e=>e.stopPropagation(),children:[(0,a.jsx)("input",{type:O?"text":S,value:f,disabled:n,placeholder:r,name:p,min:o,max:i,maxLength:s,style:P,onChange:I,onBlur:E,onFocus:k,required:t,autoFocus:D,autoComplete:$,ref:N}),s&&!W&&(0,a.jsxs)(w,{children:[(null==f?void 0:f.length)??0,"/",s]}),H&&(0,a.jsx)(_,{onClick:()=>{let e="function"==typeof N?document.activeElement:(null==N?void 0:N.current)??document.activeElement,t=!!e&&document.activeElement===e,n=(null==e?void 0:e.selectionStart)??null,r=(null==e?void 0:e.selectionEnd)??null,o=(null==e?void 0:e.selectionDirection)??"none";if(Z(e=>!e),!e||!t||null===n||null===r)return;let i=()=>{try{e.focus({preventScroll:!0}),e.setSelectionRange(n,r,o)}catch{}};requestAnimationFrame(()=>{i(),setTimeout(i,0),setTimeout(i,50)})},onMouseDown:e=>e.preventDefault(),onTouchStart:e=>e.preventDefault(),children:O?(0,a.jsx)(h,{}):(0,a.jsx)(g,{})}),U&&(0,a.jsx)(_,{children:(0,a.jsx)(m,{color:c.theme.colors.text_negative_default})}),!H&&!U&&R&&(0,a.jsx)(_,{style:{cursor:"default"},children:R})]}),B&&(0,a.jsx)(C,{children:j}),!B&&M&&(0,a.jsx)(b,{children:M})]})};j.displayName="Text";var S=j},10682:function(e,t,n){n.d(t,{L:function(){return c}});var r=n(85893),o=n(67294),i=n(4960),a=n(96730),l=n(96186),s=n(79138);let c=e=>{let{animKey:t,children:n,onAnimationComplete:c}=e,u=(0,o.useRef)(null),d=(0,o.useRef)(0),p=(0,o.useRef)(c);(0,o.useEffect)(()=>{p.current=c},[c]);let f=(0,i.c)("auto");return(0,o.useLayoutEffect)(()=>{let e=u.current;if(!e)return;let n=e.scrollHeight,r=d.current;if(d.current=n,!r||r===n){var o;f.set("auto"),null===(o=p.current)||void 0===o||o.call(p,t);return}f.set(r),e.style.overflow="hidden";let i=(0,a.j)(f,n,{duration:s.x9.normal,ease:s.Ui.easeInOut,onComplete:()=>{var n;f.set("auto"),e.style.overflow="",null===(n=p.current)||void 0===n||n.call(p,t)}});return()=>i.stop()},[t,f]),(0,r.jsx)(l.m.div,{ref:u,style:{height:f},children:n})}},34322:function(e,t,n){n.r(t),n.d(t,{MobileOnboardingFlow:function(){return eD}});var r=n(85893),o=n(67294),i=n(28157),a=n(50805),l=n(28543),s=n(80972),c=n(70073),u=n(18406),d=n(10682),p=n(68458),f=n(45745),h=n(43439),g=n(80565),m=n(43664),x=n(57153),b=n(84754),v=n(1261),y=n(14807),C=n(78464),w=n(96385),_=n(85673);let j=(0,p.default)(w.Z).withConfig({displayName:"mobile-email-step__ValidCheckmark",componentId:"sc-6b8fff07-0"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_primary}),S=f.Do({error:c.e.errors.enterValidEmail}),I=e=>{var t;let{value:n}=e,r=S.safeParse(n);return r.success?void 0:(null===(t=r.error.issues[0])||void 0===t?void 0:t.message)??"Validation error"},E=p.default.form.withConfig({displayName:"mobile-email-step__FormSection",componentId:"sc-6b8fff07-1"})(["display:flex;flex-direction:column;gap:24px;"]),k=(0,p.default)(_.W2).withConfig({displayName:"mobile-email-step__StepContainer",componentId:"sc-6b8fff07-2"})(["position:relative;"]),A=p.default.div.withConfig({displayName:"mobile-email-step__InputsGroup",componentId:"sc-6b8fff07-3"})(["display:flex;flex-direction:column;gap:","px;"],e=>{let{$gap:t}=e;return t??32}),N=p.default.div.withConfig({displayName:"mobile-email-step__FieldWrapper",componentId:"sc-6b8fff07-4"})([""]),P=p.default.div.withConfig({displayName:"mobile-email-step__ActionsSection",componentId:"sc-6b8fff07-5"})(["display:flex;flex-direction:column;gap:","px;"],e=>{let{$gap:t}=e;return t??32}),T=e=>{let{title:t,heading:n,onSubmit:i,backButton:a,submitLabel:l=c.e.onboarding.continue,extraValid:u=!0,requestError:d,progressBar:p,showDivider:f,children:h,checkEmailAvailability:w=!1,initialEmail:T="",hideFieldErrors:M=!1,shouldHaveStaticHeight:F=!0,footer:L,containerGap:D,actionsGap:$,hideSubmitButton:R=!1,disabled:W=!1}=e,[z,O]=(0,o.useState)(!1),Z=(0,o.useRef)(null),B=(0,s.Zz)();(0,o.useEffect)(()=>{var e;B&&(null===(e=Z.current)||void 0===e||e.focus())},[B]);let H=async e=>{let{value:t}=e,n=S.safeParse(t);if(!n.success){var r;return(null===(r=n.error.issues[0])||void 0===r?void 0:r.message)??"Validation error"}if(w&&(await (0,v.fetchSignInMethodsForEmail)((0,v.getAuth)(y.default),t)).length>0)return c.e.errors.cannotCreateAccount},U=(0,g.c)({defaultValues:{email:T},onSubmit:async e=>{let{value:t}=e;await i(t.email)}}),q=(0,m.o)(U.store,e=>e.values.email),V=(0,m.o)(U.store,e=>{var t;return(null===(t=e.fieldMeta.email)||void 0===t?void 0:t.isValidating)??!1}),G=(0,m.o)(U.store,e=>{var t,n;return((null===(n=e.fieldMeta.email)||void 0===n?void 0:null===(t=n.errors)||void 0===t?void 0:t.length)??0)>0}
11),Y=(0,m.o)(U.store,e=>e.isSubmitting),K=q.length>0&&(!V||Y)&&!G,X=!K||!u||Y;return(0,r.jsxs)(o.Fragment,{children:[(0,r.jsxs)(_.jy,{$showDivider:f,children:[a&&(0,r.jsx)(_.xE,{onClick:a,children:(0,r.jsx)(C.Z,{width:22,height:22})}),(0,r.jsx)(_.bC,{children:t})]}),p,(0,r.jsxs)(k,{$gap:D,children:[(0,r.jsx)(_.X6,{children:n}),(0,r.jsxs)(A,{$gap:$??D,children:[(0,r.jsxs)(E,{onSubmit:e=>{e.preventDefault(),X||U.handleSubmit()},children:[(0,r.jsx)(U.Field,{name:"email",validators:w?{onChangeAsyncDebounceMs:700,onChangeAsync:H,onSubmit:I}:{onChange:I,onSubmit:I},children:e=>{var t;return(0,r.jsx)(N,{$staticHeight:F,onFocusCapture:()=>O(!0),onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||O(!1)},children:(0,r.jsx)(_.Fy,{inputRef:Z,onChange:t=>e.handleChange(t.target.value),onBlur:e.handleBlur,name:e.name,type:"email",caution:!0,placeholder:c.e.onboarding.enterYourEmail,error:!M&&(0,x.IC)("string"==typeof(null===(t=e.state.meta.errors)||void 0===t?void 0:t[0])?e.state.meta.errors[0]:"",e.state.meta.isTouched&&!z)||d,value:e.state.value,disabled:W,trailingIcon:K&&w?(0,r.jsx)(j,{}):void 0})})}}),h]}),(!R||!!L)&&(0,r.jsxs)(P,{$gap:$??D,children:[!R&&(0,r.jsx)(b.z,{variant:"cta",size:"large",fullWidth:!0,disabled:X,onClick:U.handleSubmit,children:l}),L]})]})]})]})};var M=n(46296),F=n(41664),L=n.n(F),D=n(72931);let $=p.default.div.withConfig({displayName:"mobile-create-account.styled__Container",componentId:"sc-525d749f-0"})(["display:flex;flex-direction:column;padding:32px 20px;gap:32px;min-height:85svh;"]),R=p.default.div.withConfig({displayName:"mobile-create-account.styled__FormSection",componentId:"sc-525d749f-1"})(["display:flex;flex-direction:column;gap:24px;"]),W=p.default.div.withConfig({displayName:"mobile-create-account.styled__CheckboxesWrapper",componentId:"sc-525d749f-2"})(["display:flex;flex-direction:column;"]),z=(0,p.default)(L()).withConfig({displayName:"mobile-create-account.styled__CheckboxLink",componentId:"sc-525d749f-3"})(["text-decoration:underline;text-underline-offset:2px;white-space:nowrap;"]),O=(0,p.default)(D.DZ).withConfig({displayName:"mobile-create-account.styled__FooterLink",componentId:"sc-525d749f-4"})(["text-align:center;padding:6px 12px;"]),Z=p.default.span.withConfig({displayName:"mobile-create-account.styled__LinkSpan",componentId:"sc-525d749f-5"})(["cursor:pointer;margin-left:4px;color:",";transition:color 0.2s ease;&:active{color:",";}",""],e=>{let{$isTapped:t,theme:n}=e;return t?n.colors.quinn_default_pressed:n.colors.text_quinn_default},e=>{let{theme:t}=e;return t.colors.quinn_default_pressed},e=>{let{$isTapped:t}=e;return t&&"text-decoration: underline;"}),B=p.default.div.withConfig({displayName:"mobile-create-account.styled__LogoHeader",componentId:"sc-525d749f-6"})(["display:flex;justify-content:center;align-items:center;margin-bottom:24px;"]);(0,p.default)(D.DZ).withConfig({displayName:"mobile-create-account.styled__DividerRow",componentId:"sc-525d749f-7"})(["display:flex;align-items:center;gap:12px;color:",";&::before,&::after{content:'';flex:1;height:1px;background:",";}"],e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.colors.border_tertiary_default});let H=p.default.div.withConfig({displayName:"mobile-create-account-email-step__CheckboxPressGuard",componentId:"sc-300c0342-0"})(["padding:5px 0;"]),U=f.Do({error:c.e.errors.enterValidEmail}),q=e=>{let{onContinue:t,onBack:n,initialEmail:i,provider:a,initialIsOver18:l=!1,initialAgreeTerms:s=!1,onIsOver18Change:u,onAgreeTermsChange:d}=e,[p,f]=(0,o.useState)(l),[g,m]=(0,o.useState)(s),[x,v]=(0,o.useState)(i??""),y=x.trim(),C=!(i??"").trim(),w=U.safeParse((i??"").trim()).success,j=U.safeParse(y).success,S=e=>{e.target.closest("a, button, select, input, textarea")||e.preventDefault()},I=(0,r.jsxs)(W,{children:[(0,r.jsx)(H,{onMouseDown:S,onTouchStart:S,children:(0,r.jsx)(h.ZP,{name:"isOver18",onChange:e=>{f(e.target.checked),null==u||u(e.target.checked)},checked:p,children:c.e.onboarding.createAccount.isOver18})}),(0,r.jsx)(H,{onMouseDown:S,onTouchStart:S,children:(0,r.jsxs)(h.ZP,{name:"agreeTerms",onChange:e=>{m(e.target.checked),null==d||d(e.target.checked)},checked:g,children:[`${c.e.onboarding.createAccount.iAgree} `,(0,r.jsx)(z,{href:"/terms",target:"_blank",children:c.e.onboarding.createAccount.termsOfService}),` ${c.e.onboarding.createAccount.and} `,(0,r.jsx)(z,{href:"/privacy",target:"_blank",children:c.e.onboarding.createAccount.privacyPolicy})]})})]});return a?(0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)(_.jy,{children:(0,r.jsx)(_.bC,{children:c.e.onboarding.createAccount.signUp})}),(0,r.jsx)(M.H,{progress:67}),(0,r.jsxs)($,{children:[(0,r.jsx)(_.X6,{children:c.e.onboarding.createAccount.welcomeToQuinn}),(0,r.jsxs)(R,{children:[!C&&(0,r.jsx)(_.Fy,{type:"email",value:x,onChange:e=>v(e.target.value),disabled:w,hint:c.e.onboarding.createAccount.socialAccountInfo.replace("{provider}",a??"Social")}),I]}),(0,r.jsx)(b.z,{variant:"cta",size:"large",fullWidth:!0,disabled:!C&&!j||!p||!g,onClick:()=>t(y),children:c.e.onboarding.createAccount.continue})]})]}):(0,r.jsx)(T,{title:"Sign Up",heading:c.e.onboarding.createAccount.welcomeToQuinn,onSubmit:t,backButton:n,extraValid:p&&g,progressBar:(0,r.jsx)(M.H,{progress:33}),checkEmailAvailability:!0,initialEmail:i,children:I})};var V=n(88760);let G=f.Ry({password:f.Z_().min(6,{error:c.e.errors.passwordTooShort})});var Y=n(74856);let K=p.default.form.withConfig({displayName:"mobile-create-account-password-step__FormSection",componentId:"sc-1d55089a-0"})(["display:flex;flex-direction:column;gap:24px;"]),X=(0,p.default)($).withConfig({displayName:"mobile-create-account-password-step__StepContainer",componentId:"sc-1d55089a-1"})(["position:relative;"]),Q=p.default.div.withConfig({displayName:"mobile-create-account-password-step__ActionsSection",componentId:"sc-1d55089a-2"})(["display:flex;flex-direction:column;gap:16px;transform:translateY(","px);transition:transform 240ms ease;will-change:transform;"],e=>{let{$bottomOffset:t,$isFocused:n}=e;return n?0:t}),J=e=>{let{onSubmit:t,requestError:n,onBack:i}=e,a=(0,o.useRef)(null),l=(0,o.useRef)(null),s=(0,o.useRef)(null),[u,d]=(0,o.useState)(!1),[p,f]=(0,o.useState)(0),h=(0,g.c)({defaultValues:{password:""},onSubmit:async e=>{let{value:n}=e;await t(n.password)}}),x=(0,m.o)(h.store,e=>e.values.password.length),v=(0,m.o)(h.store,e=>e.isSubmitting),y=x<6||v;return(0,o.useLayoutEffect)(()=>{let e=l.current,t=s.current;if(!e||!t){f(0);return}let n=null,r=()=>{let n=t.offsetTop+t.offsetHeight,r=Math.max(e.clientHeight-n-20,0);f(e=>1>Math.abs(e-r)?e:r)},o=()=>{null!==n&&cancelAnimationFrame(n),n=requestAnimationFrame(r)};o();let i="undefined"!=typeof ResizeObserver?new ResizeObserver(()=>{o()}):null;return null==i||i.observe(e),null==i||i.observe(t),window.addEventListener("resize",o),()=>{null!==n&&cancelAnimationFrame(n),null==i||i.disconnect(),window.removeEventListener("resize",o)}},[n]),(0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)(_.jy,{children:(0,r.jsx)(_.xE,{onClick:i,children:(0,r.jsx)(C.Z,{width:22,height:22})})}),(0,r.jsx)(M.H,{progress:67}),(0,r.jsxs)(X,{ref:l,children:[(0,r.jsx)(_.X6,{children:"Create your password"}),(0,r.jsx)(K,{onSubmit:e=>{e.preventDefault(),y||h.handleSubmit()},children:(0,r.jsx)(h.Field,{name:"password",validators:{onChange:(0,Y.E)(G.shape.password),onSubmit:(0,Y.E)(G.shape.password)},children:e=>(0,r.jsx)("div",{onFocusCapture:()=>d(!0),onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||d(!1)},children:(0,r.jsx)(_.Fy,{onChange:t=>e.handleChange(t.target.value),name:e.name,type:"password",placeholder:c.e.onboarding.keepItASecret,hint:c.e.onboarding.passwordHint,passwordPeek:!0,inputRef:a,value:e.state.value,error:""})})})}),(0,r.jsxs)(Q,{ref:s,$bottomOffset:p,$isFocused:u,children:[""!==n&&(0,r.jsx)(V.B,{children:n}),(0,r.jsx)(b.z,{variant:"cta",size:"large",fullWidth:!0,disabled:y,onClick:h.handleSubmit,children:c.e.onboarding.createAccount.continue})]})]})]})};var ee=n(75845),et=n(10139),en=n(78224),er=n(69546),eo=n(68269);let ei=p.default.div.withConfig({displayName:"mobile-login.styled__ErrorBanner",componentId:"sc-ff65b610-0"})(["display:flex;align-items:center;gap:6px;padding:8px 12px;background:",";border:1px solid ",";border-radius:4px;"],e=>{let{theme:t}=e;return t.colors.background_negative},e=>{let{theme:t}=e;return t.colors.negative_secondary_hover}),ea=(0,p.default)(eo.Z).withConfig({displayName:"mobile-login.styled__ErrorBannerIcon",componentId:"sc-ff65b610-1"})(["flex-shrink:0;width:16px;height:16px;"]),el=(0,p.default)(D.DZ).withConfig({displayName:"mobile-login.styled__ErrorBannerText",componentId:"sc-ff65b610-2"})(["color:",";"],e=>{let{theme:t}=e;return t.colors.text_negative_default}),es=p.default.form.withConfig({displayName:"mobile-login.styled__FormSection",componentId:"sc-ff65b610-3"})(["display:flex;flex-direction:column;gap:10px;"]),ec=(0,p.default)(D.DZ).withConfig({displayName:"mobile-login.styled__ForgotPasswordRow",componentId:"sc-ff65b610-4"})(["display:flex;justify-content:center;padding:6px 12px;"]),eu=(0,p.default)(D.DZ).attrs({as:"span"}).withConfig({displayName:"mobile-login.styled__ForgotPasswordLink",componentId:"sc-ff65b610-5"})(["cursor:pointer;color:",";margin-left:4px;transition:color 0.2s ease;&:active{color:",";}",""],e=>{let{$isTapped:t,theme:n}=e;return t?n.colors.quinn_default_pressed:n.colors.text_quinn_default},e=>{let{theme:t}=e;return t.colors.quinn_default_pressed},e=>{let{$isTapped:t}=e;return t&&"text-decoration: underline;"});(0,p.default)(D.DZ).withConfig({displayName:"mobile-login.styled__FooterLink",componentId:"sc-ff65b610-6"})(["display:flex;flex-wrap:wrap;justify-content:center;align-items:center;text-align:center;padding:6px 12px;"]),(0,p.default)(D.DZ).attrs({as:"span"}).withConfig({displayName:"mobile-login.styled__LinkSpan",componentId:"sc-ff65b610-7"})(["cursor:pointer;text-decoration:underline;text-underline-offset:2px;margin-left:4px;color:",";"],e=>{let{theme:t}=e;return t.colors.text_primary}),(0,p.default)(D.DZ).withConfig({displayName:"mobile-login.styled__DividerRow",componentId:"sc-ff65b610-8"})(["display:flex;align-items:center;gap:12px;color:",";&::before,&::after{content:'';flex:1;height:1px;background:",";}"],e=>{let{theme:t}=e;return t.colors.text_tertiary},e=>{let{theme:t}=e;return t.colors.border_tertiary_default});var ed=n(53e3);let ep=p.default.div.withConfig({displayName:"mobile-create-account-options-step__OptionsContainer",componentId:"sc-7fb40d78-0"})(["display:flex;flex-direction:column;padding:32px 20px;"]),ef=e=>{let{onSignUpWithEmail:t,onNewSocialAccount:n,onExistingSocialAccount:o,onSwitchToSignIn:i,error:a}=e,l=(0,ed.C)({resetOnRouteChange:!1});return(0,r.jsxs)(ep,{children:[(0,r.jsx)(B,{children:(0,r.jsx)(er.Z,{width:143,height:32})}),(0,r.jsxs)(_.KE,{children:[a&&(0,r.jsxs)(ei,{children:[(0,r.jsx)(ea,{}),(0,r.jsx)(el,{children:a})]}),(0,r.jsx)(b.z,{variant:"cta",size:"large",fullWidth:!0,onClick:t,children:c.e.onboarding.createAccount.signUpWithEmail}),(0,r.jsx)(ee.i,{buttonText:c.e.onboarding.login.continueWithApple,size:"large",onNewAccount:e=>
11n(e,"apple"),onExistingAccount:o}),(0,r.jsx)(et.u,{buttonText:c.e.onboarding.login.continueWithFacebook,size:"large",onNewAccount:e=>n(e,"facebook"),onExistingAccount:o}),(0,r.jsx)(en.N,{buttonText:c.e.onboarding.login.continueWithGoogle,size:"large",onNewAccount:e=>n(e,"google"),onExistingAccount:o})]}),(0,r.jsxs)(O,{children:[c.e.onboarding.createAccount.alreadyHaveAnAccount,(0,r.jsx)(Z,{onClick:()=>{l.startTap(),i()},$isTapped:l.isTapped,children:c.e.onboarding.signIn})]})]})},eh=e=>{let{isSocialConfirmFlow:t,onComplete:n,onSwitchToSignIn:a,onClose:p,onProceedToSubscription:f,onNewSocialAccount:h,collectedEmail:g,onCollectedEmailChange:m,collectedSocialProvider:x,onCollectedSocialProviderChange:b}=e,v=(0,i.I0)(),y=(0,i.v9)(e=>e.modals),[C,w]=(0,o.useState)(t?"social-confirm":"options"),{setBottomSheetDismissable:_}=(0,s.$0)("password"!==C&&"social-confirm"!==C),[j,S]=(0,o.useState)(""),[I,E]=(0,o.useState)(!1),[k,A]=(0,o.useState)(!1);(0,o.useEffect)(()=>{y.hasSocialError&&S(y.hasSocialError)},[y.hasSocialError]);let N=async e=>{S("");let t=await v((0,l.r4)({email:g,password:e}));if(!t||"Failed to fetch"===t.message){S(c.e.errors.noInternet);return}if(t.token)return null==_||_(!0),n();if("auth/invalid-email"===t.code||"auth/email-already-in-use"===t.code)return S(c.e.errors.cannotCreateAccount);if("auth/weak-password"===t.code){S(t.message||c.e.errors.passwordTooShort);return}return S(c.e.errors.cannotCreateAccount)};return(0,r.jsxs)(d.L,{animKey:C,children:["social-confirm"===C&&(0,r.jsx)(q,{initialEmail:g,provider:x?u.T[x]??x:"",onContinue:()=>{null==f||f()}}),"options"===C&&(0,r.jsx)(ef,{onSignUpWithEmail:()=>{S(""),w("email")},onNewSocialAccount:(e,t)=>{if(h)return h(e,t);"options"===C&&(null==_||_(!0),m(e),null==b||b(t),w("social-confirm"))},onExistingSocialAccount:p,onSwitchToSignIn:()=>{S(""),a()},error:j}),"email"===C&&(0,r.jsx)(q,{initialEmail:g,onContinue:e=>{m(e),w("password")},onBack:()=>w("options"),initialIsOver18:I,initialAgreeTerms:k,onIsOver18Change:E,onAgreeTermsChange:A}),"password"===C&&(0,r.jsx)(J,{onSubmit:N,requestError:j,onBack:()=>w("email")})]})};var eg=n(30183);let em=f.Ry({email:f.Do({error:c.e.errors.enterValidEmail}),password:f.Z_()}),ex=e=>{let{onLogin:t,onSwitchToSignUp:n,onForgotPassword:s,onLoginWithSocial:u,onLoginExistingSocial:d}=e,p=(0,ed.C)({resetOnRouteChange:!1}),f=(0,i.I0)(),h=(0,i.v9)(e=>e.modals),x=(0,i.v9)(e=>e.user),[v,y]=(0,o.useState)(null),w=(0,g.c)({defaultValues:{email:"",password:""},onSubmit:async e=>{let{value:n}=e,r=await f((0,l.pH)(n));if(null==r?void 0:r.user)return!r.user.isSubscribed&&h.isSubscriptionPeriodSelected&&f((0,a.L_)(!0,h.subscriptionPeriod)),t();r&&y((0,eg.P)(r.code,c.e.errors.login.invalidEmailOrPassword))}}),j=(0,m.o)(w.store,e=>e.values.email),S=(0,m.o)(w.store,e=>e.values.password.length),I=(0,m.o)(w.store,e=>{var t,n;return((null===(n=e.fieldMeta.email)||void 0===n?void 0:null===(t=n.errors)||void 0===t?void 0:t.length)??0)>0}),E=(0,m.o)(w.store,e=>e.isSubmitting),k=!(j.length>0&&!I)||S<6||E;return(0,o.useEffect)(()=>{h.hasSocialError&&y(h.hasSocialError)},[h.hasSocialError]),(0,o.useEffect)(()=>{x.isAuthed&&h.isTroughPaidlink&&setTimeout(()=>t(),500)},[x.isAuthed,h]),(0,r.jsxs)(o.Fragment,{children:[(0,r.jsxs)(_.jy,{$showDivider:!0,children:[(0,r.jsx)(_.xE,{onClick:n,children:(0,r.jsx)(C.Z,{width:22,height:22})}),(0,r.jsx)(_.bC,{children:"Log In"})]}),(0,r.jsxs)(_.W2,{children:[(0,r.jsx)(_.X6,{children:"Welcome Back"}),(0,r.jsxs)(es,{onSubmit:e=>{e.preventDefault(),k||w.handleSubmit()},children:[v&&(0,r.jsxs)(ei,{children:[(0,r.jsx)(ea,{}),(0,r.jsx)(el,{children:v})]}),(0,r.jsx)(w.Field,{name:"email",validators:{onChange:(0,Y.E)(em.shape.email)},children:e=>(0,r.jsx)(_.Fy,{onChange:t=>{y(null),e.handleChange(t.target.value)},onBlur:e.handleBlur,name:e.name,type:"email",placeholder:c.e.onboarding.enterYourEmail,caution:!0,value:e.state.value})}),(0,r.jsx)(w.Field,{name:"password",children:e=>(0,r.jsx)(_.Fy,{onChange:t=>{y(null),e.handleChange(t.target.value)},name:e.name,type:"password",placeholder:c.e.onboarding.enterPassword,passwordPeek:!0,value:e.state.value,error:""})}),(0,r.jsx)(b.z,{type:"submit",variant:"cta",size:"large",fullWidth:!0,disabled:k,children:"Log in"}),(0,r.jsxs)(ec,{children:[c.e.onboarding.login.forgotYourPassword,(0,r.jsx)(eu,{onClick:()=>{p.startTap(),s()},$isTapped:p.isTapped,children:c.e.onboarding.login.resetPassword})]})]}),(0,r.jsxs)(_.KE,{$withPadding:!0,children:[(0,r.jsx)(ee.i,{onNewAccount:e=>{null==u||u("apple",e)},onExistingAccount:()=>{null==d||d("apple")},buttonText:c.e.onboarding.login.continueWithApple,size:"large"}),(0,r.jsx)(et.u,{onNewAccount:e=>{null==u||u("facebook",e)},onExistingAccount:()=>{null==d||d("facebook")}
11,buttonText:c.e.onboarding.login.continueWithFacebook,size:"large"}),(0,r.jsx)(en.N,{onNewAccount:e=>{null==u||u("google",e)},onExistingAccount:()=>{null==d||d("google")},buttonText:c.e.onboarding.login.continueWithGoogle,size:"large"})]})]})]})},eb=(0,p.default)(D.DZ).withConfig({displayName:"mobile-reset-password__SuccessMessage",componentId:"sc-33cddb79-0"})(["color:",";text-align:center;padding:6px 0;"],e=>{let{theme:t}=e;return t.colors.text_secondary}),ev=(0,p.default)(D.DZ).withConfig({displayName:"mobile-reset-password__FooterText",componentId:"sc-33cddb79-1"})(["text-align:center;padding:6px 12px;"]),ey=p.default.span.withConfig({displayName:"mobile-reset-password__SignInLink",componentId:"sc-33cddb79-2"})(["cursor:pointer;margin-left:4px;color:",";transition:color 0.2s ease;&:active{color:",";}"],e=>{let{theme:t}=e;return t.colors.text_quinn_default},e=>{let{theme:t}=e;return t.colors.text_secondary}),eC=(0,p.default)(D.DZ).withConfig({displayName:"mobile-reset-password__BackToLoginLink",componentId:"sc-33cddb79-3"})(["cursor:pointer;text-align:center;color:",";padding:0 12px;transition:color 0.2s ease;&:active{color:",";}"],e=>{let{theme:t}=e;return t.colors.text_quinn_default},e=>{let{theme:t}=e;return t.colors.text_secondary}),ew=p.default.div.withConfig({displayName:"mobile-reset-password__SuccessContent",componentId:"sc-33cddb79-4"})(["display:flex;flex-direction:column;gap:16px;width:100%;margin-top:-4px;"]),e_=e=>{let{onBack:t}=e,[n,i]=(0,o.useState)(""),[a,l]=(0,o.useState)(!1),s=async e=>{i("");try{await (0,v.sendPasswordResetEmail)((0,v.getAuth)(y.default),e),l(!0)}catch(e){"auth/user-not-found"===e.code||"auth/invalid-email"===e.code?l(!0):i(c.e.errors.noInternet)}};return(0,r.jsx)(T,{title:"Log In",heading:"Reset Password",backButton:t,onSubmit:s,requestError:n,disabled:a,hideFieldErrors:!0,shouldHaveStaticHeight:!1,showDivider:!0,extraValid:!a,hideSubmitButton:a,containerGap:32,actionsGap:16,footer:a?void 0:(0,r.jsxs)(ev,{children:[c.e.onboarding.createAccount.alreadyHaveAnAccount,(0,r.jsx)(ey,{onClick:t,children:c.e.onboarding.login.signIn})]}),children:a&&(0,r.jsxs)(ew,{children:[(0,r.jsx)(eb,{children:c.e.onboarding.resetPassword.sent}),(0,r.jsx)(eC,{onClick:t,children:c.e.onboarding.resetPassword.backToLogin})]})})};var ej=n(11463);let eS=p.default.button.withConfig({displayName:"mobile-subscribe.styled__SkipButton",componentId:"sc-35b3058b-0"})(["",";grid-column:3;justify-self:end;font-size:",";font-weight:",";letter-spacing:",";line-height:",";color:",";cursor:pointer;transition:color 0.2s ease;&:active{color:",";}"],e=>{let{theme:t}=e;return t.resets.button},e=>{let{theme:t}=e;return`${t.typography.semantic.standard.regular.fontSize}px`},e=>{let{theme:t}=e;return t.typography.semantic.standard.regular.fontWeight},e=>{let{theme:t}=e;return`${t.typography.semantic.standard.regular.letterSpacing}px`},e=>{let{theme:t}=e;return`${t.typography.semantic.standard.regular.lineHeight}em`},e=>{let{theme:t}=e;return t.colors.text_primary},e=>{let{theme:t}=e;return t.colors.text_secondary}),eI=p.default.div.withConfig({displayName:"mobile-subscribe.styled__Container",componentId:"sc-35b3058b-1"})(["display:flex;flex-direction:column;padding:32px 20px;gap:32px;min-height:85dvh;justify-content:center;padding-bottom:42%;"]),eE=p.default.div.withConfig({displayName:"mobile-subscribe.styled__Header",componentId:"sc-35b3058b-2"})(["display:flex;flex-direction:column;gap:8px;align-items:center;text-align:center;width:100%;"]),ek=(0,p.default)(D.y$).withConfig({displayName:"mobile-subscribe.styled__GradientTitle",componentId:"sc-35b3058b-3"})(["text-align:center;background:",";-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;"],e=>{let{theme:t}=e;return t.gradients.primary_indigo_red_yellow_orange}),eA=(0,p.default)(D.qI).withConfig({displayName:"mobile-subscribe.styled__Subtitle",componentId:"sc-35b3058b-4"})(["text-align:center;"]),eN=p.default.div.withConfig({displayName:"mobile-subscribe.styled__Subscriptions",componentId:"sc-35b3058b-5"})(["display:flex;flex-direction:column;gap:8px;width:100%;& > button{width:100%;}"]),eP=e=>{let{onSubscribe:t,onSkip:n,initialPeriod:i}=e;(0,s.$0)(!0);let[a,l]=(0,o.useState)(i??u.z.YEAR);return(0,r.jsxs)(o.Fragment,{children:[(0,r.jsx)(_.jy,{children:(0,r.jsx)(eS,{onClick:n,children:c.e.onboarding.subscribe.skip})}),(0,r.jsx)(M.H,{progress:87}),(0,r.jsxs)(eI,{children:[(0,r.jsxs)(eE,{children:[(0,r.jsx)(ek,{children:c.e.onboarding.subscribe.chooseSubscription}),(0,r.jsx)(eA,{children:c.e.onboarding.subscribe.getUnlimitedAccess})]}),(0,r.jsxs)(eN,{children:[(0,r.jsx)(ej.EU,{variant:"card",className:a===u.z.YEAR?"active":"",onClick:()=>l(u.z.YEAR),children:c.e.onboarding.prices.priceAnnualLabel}),(0,r.jsx)(ej.EU,{variant:"card",className:a===u.z.MONTH?"active":"",onClick:()=>l(u.z.MONTH),children:c.e.onboarding.prices.priceMonthlyLabel})]}),(0,r.jsx)(b.z,{variant:"cta",size:"large",fullWidth:!0,onClick:()=>t(a),children:c.e.onboarding.subscribe.subscribe})]})]})};var eT=n(79209),eM=n(99721),eF=n(31596),eL=n(8649);let eD=e=>{let{initialView:t="sign-up",initialCollectedEmail:n,initialCollectedSocialProvider:s,onClose:c}=e,u=(0,i.I0)(),p=(0,i.v9)(e=>e.user.id),f=(0,i.v9)(e=>e.modals.subscriptionPeriod),[h,g]=(0,o.useState)(t),[m,x]=(0,o.useState)(n??""),[b,v]=(0,o.useState)(s),y=()=>{g("subscribe")},C=()=>{c()},w=e=>{u((0,a.S4)(!0,e)),g("payment")},_=()=>{c()},j=(0,o.useMemo)(()=>{switch(h){case"sign-in":return(0,r.jsx)(ex,{onLogin:C,onSwitchToSignUp:"sign-in"===t?c:()=>g("sign-up"),onForgotPassword:()=>g("reset-password"),onLoginWithSocial:(e,t)=>{v(e),g("sign-up-social-confirm"),t&&x(t)},onLoginExistingSocial:()=>{c()}});case"reset-password":return(0,r.jsx)(e_,{onBack:()=>g("sign-in")});case"subscribe":return(0,r.jsx)(eP,{onSubscribe:w,onSkip:_,initialPeriod:f??void 0});case"payment":return(0,r.jsx)(eF.Elements,{stripe:(0,eL.d)(),children:(0,r.jsx)(eT.l,{onBack:()=>g("subscribe"),onComplete:()=>g("welcome")})});case"welcome":return(0,r.jsx)(eM.E,{onClose:c});case"sign-up-social-confirm":return(0,r.jsx)(eh,{isSocialConfirmFlow:!0,onComplete:y,onSwitchToSignIn:()=>g("sign-in"),onClose:c,onProceedToSubscription:()=>{u((0,l.Nq)({id:p,over18:!0,agreeTerms:!0})),g("subscribe")},collectedEmail:m,onCollectedEmailChange:x,collectedSocialProvider:b,onCollectedSocialProviderChange:v},"social-confirm");default:return(0,r.jsx)(eh,{onComplete:y,onSwitchToSignIn:()=>g("sign-in"),onClose:c,onNewSocialAccount:(e,t)=>
11{x(e),v(t),g("sign-up-social-confirm")},collectedEmail:m,onCollectedEmailChange:x},"sign-up")}},[h,m,b]);return(0,r.jsx)(d.L,{animKey:h,children:j})}},57153:function(e,t,n){n.d(t,{IC:function(){return a},pb:function(){return o}});var r=n(81481);let o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e||isNaN(e))return"";1!==e&&(t+="s");let o=n?(0,r.D)(e):(0,r.Gd)(e);return`${o} ${t}`},i=e=>e?Array.isArray(e)?0===e.length?"":e[0]:e:"",a=(e,t)=>void 0===t||t?i(e):""},14807:function(e,t,n){n.r(t),n.d(t,{default:function(){return l}});var r=n(11752),o=n.n(r),i=n(47456);(0,i.KN)("firebase","9.23.0","app");let{publicRuntimeConfig:{firebaseConfig:a}}=o()();var l=function(e){try{return(0,i.Mq)()}catch{return(0,i.ZF)(e)}}(a)},81481:function(e,t,n){n.d(t,{D:function(){return s},Fo:function(){return d},Gd:function(){return l},LU:function(){return p},Pw:function(){return o},TJ:function(){return i},TV:function(){return a},XA:function(){return f},cm:function(){return g},l2:function(){return r},pi:function(){return h},rd:function(){return u},wQ:function(){return m},yu:function(){return c}});let r=e=>e?o(e,"audio"):"",o=(e,t)=>{let n=1===e?t:`${t}s`;return`${l(e)} ${n}`},i=e=>p(3600*e.hours+60*e.minutes+e.seconds),a=e=>{let t=e.reduce((e,t)=>e+(t.numberDuration??0),0);return{hours:Math.floor(t/3600),minutes:Math.floor(t%3600/60),seconds:Math.floor(t%60)}},l=e=>("string"!=typeof e&&(e=e.toString()),e)?e.replace(/\B(?=(\d{3})+(?!\d))/g,","):"",s=e=>!e||e<0?"0":e<1e4?l(e):e<1e5?`${Math.round(e/100)/10}K`:e<1e6?`${Math.round(e/1e3)}K`:e<1e7?`${Math.round(e/1e4)/100}M`:e<1e8?`${Math.round(e/1e5)/10}M`:`${Math.round(e/1e6)}M`,c=e=>e?e.replace("Non-binary","Nonbinary"):"",u=e=>(null==e?void 0:e.trim())??"",d=(e,t)=>e.length<=t?e:e.substring(0,t+1)+"...",p=e=>{if(!e||e<=0)return"0s";if(e<60)return`${Math.floor(e)}s`;let t=Math.floor(e/3600),n=Math.floor(e%3600/60)+(e%60>=30?1:0);return(60===n&&(t+=1,n=0),0===t)?`${n}m`:0===n?`${t}h`:`${t}h ${n}m`},f=e=>{if(!e||e<=0)return"0s";let t=Math.floor(e/3600),n=Math.floor(e%3600/60),r=Math.floor(e%60),o=[];return t>0&&o.push(`${t}h`),n>0&&o.push(`${n}m`),(r>0||0===o.length)&&o.push(`${r}s`),o.join(" ")},h=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;let n=new Date(e);if(Number.isNaN(n.getTime()))return null;let r=new Date;if(n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()&&n.getDate()===r.getDate())return"Today";let o=8===n.getMonth()?"Sept":n.toLocaleDateString("en-US",{month:"short"}),i=n.getDate();return t||n.getFullYear()!==r.getFullYear()?`${o} ${i}, ${n.getFullYear()}`:`${o} ${i}`},g=new Set(["BDSM","DDLG","F4A","F4F","F4M","FDom","M4A","M4F","M4M","MDom","MSub","NB4A","NB4F"]),m=e=>g.has(e)?e:e.toLowerCase()},1261:function(e,t,n){n.r(t),n.d(t,{ActionCodeOperation:function(){return r.A},ActionCodeURL:function(){return r.ag},AuthCredential:function(){return r.J},AuthErrorCodes:function(){return r.G},EmailAuthCredential:function(){return r.K},EmailAuthProvider:function(){return r.Q},FacebookAuthProvider:function(){return r.U},FactorId:function(){return r.F},GithubAuthProvider:function(){return r.W},GoogleAuthProvider:function(){return r.V},OAuthCredential:function(){return r.L},OAuthProvider:function(){return r.X},OperationType:function(){return r.O},PhoneAuthCredential:function(){return r.M},PhoneAuthProvider:function(){return r.P},PhoneMultiFactorGenerator:function(){return r.m},ProviderId:function(){return r.p},RecaptchaVerifier:function(){return r.R},SAMLAuthProvider:function(){return r.Y},SignInMethod:function(){return r.S},TotpMultiFactorGenerator:function(){return r.T},TotpSecret:function(){return r.n},TwitterAuthProvider:function(){return r.Z},applyActionCode:function(){return r.a5},beforeAuthStateChanged:function(){return r.w},browserLocalPersistence:function(){return r.b},browserPopupRedirectResolver:function(){return r.k},browserSessionPersistence:function(){return r.a},checkActionCode:function(){return r.a6},confirmPasswordReset:function(){return r.a4},connectAuthEmulator:function(){return r.I},createUserWithEmailAndPassword:function(){return r.a8},debugErrorMap:function(){return r.D},deleteUser:function(){return r.C},fetchSignInMethodsForEmail:function(){return r.ad},getAdditionalUserInfo:function(){return r.ao},getAuth:function(){return r.o},getIdToken:function(){return r.al},getIdTokenResult:function(){return r.am},getMultiFactorResolver:function(){return r.aq},getRedirectResult:function(){return r.j}
11,inMemoryPersistence:function(){return r.N},indexedDBLocalPersistence:function(){return r.i},initializeAuth:function(){return r.H},initializeRecaptchaConfig:function(){return r.t},isSignInWithEmailLink:function(){return r.ab},linkWithCredential:function(){return r.a0},linkWithPhoneNumber:function(){return r.l},linkWithPopup:function(){return r.d},linkWithRedirect:function(){return r.g},multiFactor:function(){return r.ar},onAuthStateChanged:function(){return r.x},onIdTokenChanged:function(){return r.v},parseActionCodeURL:function(){return r.ah},prodErrorMap:function(){return r.E},reauthenticateWithCredential:function(){return r.a1},reauthenticateWithPhoneNumber:function(){return r.r},reauthenticateWithPopup:function(){return r.e},reauthenticateWithRedirect:function(){return r.h},reload:function(){return r.ap},sendEmailVerification:function(){return r.ae},sendPasswordResetEmail:function(){return r.a3},sendSignInLinkToEmail:function(){return r.aa},setPersistence:function(){return r.q},signInAnonymously:function(){return r._},signInWithCredential:function(){return r.$},signInWithCustomToken:function(){return r.a2},signInWithEmailAndPassword:function(){return r.a9},signInWithEmailLink:function(){return r.ac},signInWithPhoneNumber:function(){return r.s},signInWithPopup:function(){return r.c},signInWithRedirect:function(){return r.f},signOut:function(){return r.B},unlink:function(){return r.an},updateCurrentUser:function(){return r.z},updateEmail:function(){return r.aj},updatePassword:function(){return r.ak},updatePhoneNumber:function(){return r.u},updateProfile:function(){return r.ai},useDeviceLanguage:function(){return r.y},verifyBeforeUpdateEmail:function(){return r.af},verifyPasswordResetCode:function(){return r.a7}});var r=n(81435);n(74444),n(47456),n(53333),n(8463)}}]);
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.