https://chefito.de/app/_expo/static/js/web/signup-daec2f577eefb340…?chefito-release=4acfbdc30b7897e4
1__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return W}});var t=r(d[0]),o=e(r(d[1])),l=e(r(d[2])),n=e(r(d[3])),s=e(r(d[4])),u=e(r(d[5])),c=e(r(d[6]));r(d[7]);var f=e(r(d[8])),h=e(r(d[9])),y=e(r(d[10])),p=e(r(d[11])),x=r(d[12]),b=e(x),j=r(d[13]),_=r(d[14]),C=r(d[15]),w=r(d[16]),B=r(d[17]),k=r(d[18]),S=r(d[19]),v=r(d[20]),T=r(d[21]),z=r(d[22]),F=r(d[23]),I=r(d[24]),P=r(d[25]),R=r(d[26]),E=r(d[27]),A=e(E),L=r(d[28]),N=r(d[29]);function W(){const{theme:e}=(0,w.useTheme)(),{t:n,language:W}=(0,B.useTranslation)(),{signUp:M,signInWithGoogle:H,signInWithApple:G}=(0,k.useAuth)(),V=(0,_.useRouter)(),{colors:K,borderRadius:O,typography:$}=e,[U,q]=(0,t.useState)(''),[J,Q]=(0,t.useState)(''),[X,Y]=(0,t.useState)(''),[Z,ee]=(0,t.useState)(!1),[te,oe]=(0,t.useState)(!1),[re,le]=(0,t.useState)(null),ie=(0,t.useRef)(null),ne=(0,t.useRef)(null),ae=(0,t.useRef)(null),se=(0,t.useCallback)(()=>{c.default.dismiss()},[]),de=(0,t.useCallback)(()=>{V.replace('/(auth)/login')},[V]),ue=(0,t.useCallback)(async()=>{if(c.default.dismiss(),!U.trim()||!J.trim()||!X.trim())return void le(n('auth_error_desc'));const e=(0,P.validatePassword)(X);if(e.isValid){oe(!0),le(null),(0,R.logProductEvent)('signup_started',{method:'email'});try{await M(J.trim(),X,U.trim(),W),(0,R.logProductEvent)('signup_succeeded',{method:'email'}),V.replace('/')}catch(e){switch(console.error('Signup error:',e),e.code){case'auth/email-already-in-use':le(n('auth_email_in_use'));break;case'auth/not-authorized':le(n('auth_not_authorized'));break;case'auth/network-request-failed':le(n('auth_config_error_desc'));break;default:le(n('auth_error_desc'))}}finally{oe(!1)}}else le(n(e.feedback[0])||n('password_min_length'))},[U,J,X,M,V,n,W]),ce=(0,t.useCallback)(async()=>{le(null),oe(!0),(0,R.logProductEvent)('signup_started',{method:'google'});try{await H(),(0,R.logProductEvent)('signup_succeeded',{method:'google'}),V.replace('/')}catch(e){const t=(0,L.getSocialAuthErrorTranslationKey)(e);if(!t)return;console.error('Google Signup Error:',{code:e?.code||'unknown'}),le(n(t))}finally{oe(!1)}},[H,V,n]),fe=(0,t.useCallback)(async()=>{le(null),oe(!0),(0,R.logProductEvent)('signup_started',{method:'apple'});try{await G(),(0,R.logProductEvent)('signup_succeeded',{method:'apple'}),V.replace('/')}catch(e){const t=(0,L.getSocialAuthErrorTranslationKey)(e);if(!t)return;console.error('Apple Sign-Up Error:',e?.code||'unknown','string'==typeof e?.message?e.message:''),le(n(t))}finally{oe(!1)}},[G,V,n]);return(0,N.jsxs)(j.SafeAreaView,{style:[D.container,{backgroundColor:K.background}],children:[(0,N.jsx)(v.AuthSceneBackground,{variant:"form"}),(0,N.jsx)(f.default,{style:D.keyboardAvoid,behavior:I.keyboardAvoidingViewBehavior,children:(0,N.jsx)(y.default,{onPress:se,accessible:!1,children:(0,N.jsx)(h.default,{contentContainerStyle:D.scrollContent,keyboardShouldPersistTaps:"handled",keyboardDismissMode:I.keyboardDismissMode,automaticallyAdjustKeyboardInsets:I.automaticallyAdjustKeyboardInsets,showsVerticalScrollIndicator:!1,children:(0,N.jsxs)(o.default,{style:D.content,children:[(0,N.jsxs)(o.default,{style:D.topRow,children:[(0,N.jsx)(T.BackButton,{onPress:de,style:D.backButtonInline}),(0,N.jsx)(S.AuthLanguagePicker,{})]}),(0,N.jsxs)(A.default.View,{entering:E.FadeInDown.duration(260).delay(60),style:D.hero,children:[(0,N.jsxs)(o.default,{style:D.logoWrapper,children:[(0,N.jsx)(o.default,{style:[D.logoGlow,{backgroundColor:e.isDark?`${K.primary}15`:`${K.primary}10`}]}),(0,N.jsx)(p.default,{source:r(d[30]),style:D.logoLarge})]}),(0,N.jsx)(l.default,{style:[D.heroTitle,{color:K.foreground,fontFamily:'Nunito_800ExtraBold'}],children:n('sign_up')}),(0,N.jsx)(l.default,{style:[D.heroSubtitle,{color:K.mutedForeground,fontFamily:'Nunito_600SemiBold'}],children:n('auth_welcome_new_user_subtitle')}),(0,N.jsx)(z.PromotedPurchaseNotice,{style:D.promotedPurchaseNotice})]}),(0,N.jsx)(A.default.View,{entering:E.FadeInUp.duration(280).delay(120),children:(0,N.jsxs)(T.ClayCard,{color:K.card,children:[re&&(0,N.jsx)(o.default,{accessibilityLiveRegion:"assertive",children:(0,N.jsx)(T.Alert,{variant:"destructive",style:D.alert,children:re})}),(0,N.jsxs)(o.default,{style:D.socialButtons,children:[(0,N.jsxs)(T.ScalePressable,{style:[D.socialButton,D.appleButtonCustom,{backgroundColor:(e.isDark,'#000000'),borderColor:e.isDark?'#ffffff':'#000000',borderWidth:e.isDark?1:0}],onPress:fe,accessibilityRole:"button",accessibilityLabel:n('sign_in_with_apple'),children:[(0,N.jsx)(b.default,{width:20,height:20,viewBox:"0 0 384 512",style:{marginRight:12},fill:"#ffffff",children:(0,N.jsx)(x.Path,{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5c0 66.2 23.9 122.2 52.4 167.7 20.3 32.3 43.6 66.8 76.7 66.8 30.7 0 42.5-19.8 77.4-19.8 35.8 0 46.9 19.8 79.1 19.8 33.5 0 54.4-32.5 74.4-64.2 26.2-41.6 36.6-83 37.1-84.2-79-43.6-88.9-122.9-82.4-171.1zM245.5 113.8c18-20.7 30.6-50.6 27.2-79.6-26.7 3.2-58.8 17.5-76.3 37.5-16.7 19-32.2 52.4-28.7 82.2 29.5 2.1 53.7-18.3 77.8-40.1z"})}),(0,N.jsx)(l.default,{style:[D.socialButtonText,{color:'#ffffff',fontWeight:'500'}],children:n('sign_in_with_apple')})]}),(0,N.jsxs)(T.ScalePressable,{style:[D.socialButton,D.googleButton,{backgroundColor:'#ffffff',borderColor:'#E0E0E0',borderBottomWidth:4,borderRightWidth:1,borderLeftWidth:1,borderTopWidth:1}],onPress:ce,accessibilityRole:"button",accessibilityLabel:n('sign_in_with_google'),children:[(0,N.jsxs)(b.default,{width:20,height:20,viewBox:"0 0 24 24",style:{marginRight:12},children:[(0,N.jsx)(x.Path,{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z",fill:"#4285F4"}),(0,N.jsx)(x.Path,{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z",fill:"#34A853"}),(0,N.jsx)(x.Path,{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z",fill:"#FBBC05"}),(0,N.jsx)(x.Path,{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z",fill:"#EA4335"})]}),(0,N.jsx)(l.default,{style:[D.socialButtonText,{color:'#1f1f1f',fontWeight:'500'}],children:n('sign_in_with_google')}
1)]})]}),(0,N.jsxs)(o.default,{style:D.dividerContainer,children:[(0,N.jsx)(o.default,{style:[D.dividerLine,{backgroundColor:K.border}]}),(0,N.jsx)(l.default,{style:[D.dividerText,{color:K.mutedForeground,fontFamily:'Nunito_600SemiBold'}],children:n('or_continue_with')}),(0,N.jsx)(o.default,{style:[D.dividerLine,{backgroundColor:K.border}]})]}),(0,N.jsxs)(o.default,{style:D.inputGroup,children:[(0,N.jsx)(l.default,{style:[D.label,{color:K.foreground,fontFamily:'Nunito_700Bold'}],children:n('username')}),(0,N.jsx)(s.default,{ref:ie,style:[D.textInput,{backgroundColor:K.background,borderColor:K.border,borderRadius:O.md,color:K.foreground,fontFamily:'Nunito_600SemiBold'}],placeholder:n('username_placeholder'),placeholderTextColor:K.mutedForeground,value:U,onChangeText:q,accessibilityLabel:n('username'),autoCapitalize:"none",autoCorrect:!1,returnKeyType:"next",onSubmitEditing:()=>ne.current?.focus(),blurOnSubmit:!1})]}),(0,N.jsxs)(o.default,{style:D.inputGroup,children:[(0,N.jsx)(l.default,{style:[D.label,{color:K.foreground,fontFamily:'Nunito_700Bold'}],children:n('email')}),(0,N.jsx)(s.default,{ref:ne,style:[D.textInput,{backgroundColor:K.background,borderColor:K.border,borderRadius:O.md,color:K.foreground,fontFamily:'Nunito_600SemiBold'}],placeholder:"[email protected]",placeholderTextColor:K.mutedForeground,value:J,onChangeText:Q,accessibilityLabel:n('email'),keyboardType:"email-address",autoCapitalize:"none",autoComplete:"email",autoCorrect:!1,returnKeyType:"next",onSubmitEditing:()=>ae.current?.focus(),blurOnSubmit:!1})]}),(0,N.jsxs)(o.default,{style:D.inputGroup,children:[(0,N.jsx)(l.default,{style:[D.label,{color:K.foreground,fontFamily:'Nunito_700Bold'}],children:n('password')}),(0,N.jsxs)(o.default,{style:D.passwordContainer,children:[(0,N.jsx)(s.default,{ref:ae,style:[D.textInput,{backgroundColor:K.background,borderColor:K.border,borderRadius:O.md,color:K.foreground,paddingRight:48,fontFamily:'Nunito_600SemiBold'}],placeholder:"\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022",placeholderTextColor:K.mutedForeground,value:X,onChangeText:Y,accessibilityLabel:n('password'),secureTextEntry:!Z,autoCapitalize:"none",autoCorrect:!1,returnKeyType:"done",onSubmitEditing:ue}),(0,N.jsx)(u.default,{onPress:()=>ee(!Z),style:D.eyeIcon,hitSlop:8,accessibilityRole:"button",accessibilityLabel:n(Z?'hide_password':'show_password'),children:Z?(0,N.jsx)(C.EyeOff,{size:20,color:K.mutedForeground}):(0,N.jsx)(C.Eye,{size:20,color:K.mutedForeground})})]}),(0,N.jsx)(F.PasswordStrengthMeter,{password:X})]}),(0,N.jsx)(T.ClayButton,{onPress:ue,disabled:te,text:n(te?'loading':'sign_up'),style:D.signupButton}),(0,N.jsx)(l.default,{style:[D.legalText,{color:K.mutedForeground,fontFamily:'Nunito_400Regular'}],children:n('auth_legal_agreement')}),(0,N.jsxs)(o.default,{style:D.featuresList,children:[(0,N.jsxs)(o.default,{style:D.featureItem,children:[(0,N.jsx)(o.default,{style:[D.checkIcon,{backgroundColor:`${K.success}20`}],children:(0,N.jsx)(C.Check,{size:16,color:K.success})}),(0,N.jsx)(l.default,{style:[D.featureText,{color:K.mutedForeground,fontFamily:'Nunito_600SemiBold'}],children:n('feature_ai_scanning')})]}),(0,N.jsxs)(o.default,{style:D.featureItem,children:[(0,N.jsx)(o.default,{style:[D.checkIcon,{backgroundColor:`${K.success}20`}],children:(0,N.jsx)(C.Check,{size:16,color:K.success})}),(0,N.jsx)(l.default,{style:[D.featureText,{color:K.mutedForeground,fontFamily:'Nunito_600SemiBold'}],children:n('feature_smart_recipes')})]}),(0,N.jsxs)(o.default,{style:D.featureItem,children:[(0,N.jsx)(o.default,{style:[D.checkIcon,{backgroundColor:`${K.success}20`}],children:(0,N.jsx)(C.Check,{size:16,color:K.success})}),(0,N.jsx)(l.default,{style:[D.featureText,{color:K.mutedForeground,fontFamily:'Nunito_600SemiBold'}],children:n('feature_reduce_waste')})]})]})]})}),(0,N.jsxs)(o.default,{style:D.footer,children:[(0,N.jsx)(l.default,{style:[D.footerText,{color:K.mutedForeground,fontFamily:'Nunito_600SemiBold'}],children:n('already_have_account')}),(0,N.jsx)(u.default,{accessibilityRole:"button",accessibilityLabel:n('sign_in'),onPress:de,children:(0,N.jsx)(l.default,{style:[D.footerLink,{color:K.primary,fontFamily:'Nunito_800ExtraBold'}],children:n('sign_in')})})]})]})})})})]})}const D=n.default.create({container:{flex:1},keyboardAvoid:{flex:1},scrollContent:{flexGrow:1},content:{flex:1,padding:20,paddingTop:20,width:'100%',maxWidth:560,alignSelf:'center'},topRow:{flexDirection:'row',alignItems:'center',justifyContent:'space-between',marginBottom:8},backButton:{marginBottom:24},backButtonInline:{marginBottom:0},hero:{alignItems:'center',marginBottom:32},logoWrapper:{position:'relative',marginBottom:20,alignItems:'center',justifyContent:'center'},logoGlow:{position:'absolute',width:120,height:120,borderRadius:60}
1,logoLarge:{width:100,height:100,resizeMode:'contain'},heroTitle:{fontSize:28,fontWeight:'800',marginBottom:10,textAlign:'center'},heroSubtitle:{fontSize:15,textAlign:'center',lineHeight:22,paddingHorizontal:20},promotedPurchaseNotice:{marginTop:18,width:'100%',alignSelf:'stretch'},alert:{marginBottom:16},inputGroup:{marginBottom:20},label:{fontSize:14,fontWeight:'600',marginBottom:8},textInput:{borderWidth:2,borderBottomWidth:3,paddingHorizontal:16,paddingVertical:14,fontSize:16,minHeight:52},hint:{fontSize:12,marginTop:6},signupButton:{marginTop:8,minHeight:52},featuresList:{marginTop:24,gap:12},featureItem:{flexDirection:'row',alignItems:'center',gap:12},checkIcon:{width:28,height:28,borderRadius:14,alignItems:'center',justifyContent:'center'},featureText:{fontSize:14,flex:1},footer:{flexDirection:'row',justifyContent:'center',alignItems:'center',gap:8,marginTop:8},footerText:{fontSize:15},footerLink:{fontSize:15,fontWeight:'700'},passwordContainer:{position:'relative'},eyeIcon:{position:'absolute',right:16,top:16,zIndex:1},socialButtons:{gap:12,marginBottom:24},appleButton:{width:'100%',height:50},appleButtonCustom:{},socialButton:{flexDirection:'row',alignItems:'center',justifyContent:'center',height:52,borderRadius:24,paddingHorizontal:16},googleButton:{elevation:0,shadowOffset:{width:0,height:1},shadowOpacity:.1,shadowRadius:2},socialButtonText:{fontSize:16,fontWeight:'500',fontFamily:'Nunito_700Bold'},dividerContainer:{flexDirection:'row',alignItems:'center',marginBottom:24},dividerLine:{flex:1,height:1},dividerText:{marginHorizontal:12,fontSize:14},legalText:{fontSize:12,textAlign:'center',marginTop:16,lineHeight:18}})},4494,[39,174,246,101,309,299,275,29,291,197,317,238,5700,5663,82,5701,781,2481,2645,2998,4478,3000,4489,4487,3630,4488,2891,3003,4492,2,4493]);
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.