FRLSalsaRootQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"salsaFrlAccountId"}],b={alias:null,args:null,kind:"ScalarField",name:"account_eligibility_for_guardian",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"profile_picture_uri",storageKey:null},e=[{kind:"Variable",name:"id",variableName:"salsaFrlAccountId"}],f={alias:null,args:null,kind:"ScalarField",name:"first_name",storageKey:null},g={alias:null,args:null,concreteType:"AccountEmail",kind:"LinkedField",name:"account_email",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"email_address",storageKey:null}],storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},j={alias:null,args:null,concreteType:"XFRLMFRLMAccountHorizonProfile",kind:"LinkedField",name:"horizon_profiles",plural:!0,selections:[h,i,d],storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"FRLSalsaRootQuery",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"consumer_account",plural:!1,selections:[{kind:"RequiredField",field:b,action:"THROW",path:"viewer.consumer_account.account_eligibility_for_guardian"},{kind:"RequiredField",field:c,action:"THROW",path:"viewer.consumer_account.id"},d,{args:null,kind:"FragmentSpread",name:"FRLSalsaIntroQuery"},{args:null,kind:"FragmentSpread",name:"FRLSalsaNowCreateSalsaAccountQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYOutroQuery_viewer"}],storageKey:null},action:"THROW",path:"viewer.consumer_account"}],storageKey:null},action:"THROW",path:"viewer"},{alias:"salsa_account",args:e,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"xfrlm_frl_consumer_account",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"FRLRAFYOutroQuery_child"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"FRLRAFYConfirmAccountInfoQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYConfirmProfileInfoQuery"},{args:null,kind:"FragmentSpread",name:"FRLSalsaRootParentPrivacyConsentStatusQuery"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"FRLSalsaRootQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"consumer_account",plural:!1,selections:[b,c,d,{alias:null,args:null,kind:"ScalarField",name:"is_passing_vpc",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_rafy_checkpointed",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_rafy_v2_eligible",storageKey:null},f,{alias:null,args:null,kind:"ScalarField",name:"salsa_guardian_email_address",storageKey:null},g,j,{kind:"TypeDiscriminator",abstractKey:"__isXFRLMFRLMAccount"}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},f,{alias:null,args:null,kind:"ScalarField",name:"last_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"full_name",storageKey:null},g,{alias:null,args:null,kind:"ScalarField",name:"date_of_birth",storageKey:null},d,c,{alias:null,args:null,concreteType:"XFRLMFRLMAccountHorizonProfile",kind:"LinkedField",name:"horizon_profiles",plural:!0,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"profile_id",storageKey:null},i,d],storageKey:null}],storageKey:null}],storageKey:null},{alias:"salsa_account",args:e,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"xfrlm_frl_consumer_account",plural:!1,selections:[c,f,j],storageKey:null},{alias:null,args:null,concreteType:"RLConsentWrapper",kind:"LinkedField",name:"rl_consent_wrapper",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"type",value:"SALSA_PARENT_PRIVACY_DISCLOSURE"}],concreteType:"RLConsentDecision",kind:"LinkedField",name:"stored_rl_xdevice_consent",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"decision_time",storageKey:null}],storageKey:"stored_rl_xdevice_consent(type:"SALSA_PARENT_PRIVACY_DISCLOSURE")"}],storageKey:null}]},params:{id:"7634717176619547",metadata:{},name:"FRLSalsaRootQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
FRLSalsaIntro.react",["fbt","CDSDialogFooter.react","CDSIconTextList.react","CDSInlinePressableText.react","CDSText.react","CDSTextPairing.react","CometColumn.react","CometColumnItem.react","CometRelay","FRLAccountRouteUtils","FRLAuthContext","FRLAuthDialog.react","FRLAuthLinks","FRLEventLoggerContext","FRLRegisterFBTs.react","FRLSalsaIntroQuery.graphql","FRLSalsaRedirectionUtils","FRLSalsaSessionStorageUtils","FRLXAuthHomeControllerRouteBuilder","FRLXAuthRightAccountForYouControllerRouteBuilder","FRLXAuthSalsaControllerRouteBuilder","MetaBrandClockOutline24.svg.react","MetaBrandGearOutline24.svg.react","MetaBrandNineSquaresGridOutline24.svg.react","goForceFullPageRedirectTo","nullthrows","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useContext,m=e.useState,n=i!==void 0?i:i=b("FRLSalsaIntroQuery.graphql");function a(a){var b=a.accountInfo,e=a.deviceCodes,f=a.inviterId,g=a.salsaFlowId;a=m(!1);var i=a[0],j=a[1],o=l(d("FRLEventLoggerContext").FRLEventLoggerContext),p=l(d("FRLAuthContext").FRLAuthContext),q=d("CometRelay").useFragment(n,b);a=c("FRLAuthLinks").salsaManageChildAccountLearnMoreLink;var r=(b=q==null?void 0:q.is_rafy_v2_eligible)!=null?b:!1;function s(){var a,b=o.redirectionData.clientSessionId!=null?{csi:o.redirectionData.clientSessionId}:void 0;a=(a=c("FRLXAuthSalsaControllerRouteBuilder").buildUri(babelHelpers["extends"]({device_codes:e,inviter_id:f,sfi:5},b)).getQualifiedUri())==null?void 0:a.toString();a=c("nullthrows")((a=c("FRLXAuthHomeControllerRouteBuilder").buildUri(babelHelpers["extends"]({redirect_uri:a},b)).getQualifiedUri())==null?void 0:(b=a.setPath("/register/salsa/"))==null?void 0:b.toString());return c("goForceFullPageRedirectTo")(a)}b=function(){var a;j(!0);o.logClick("click_salsa_intro");if(e!=null&&f!=null)return s();if(q==null)return p.setStep("salsa_login");a=(a=q.is_passing_vpc)!=null?a:!1;if(!a){j(!0);a=e!=null&&f!=null;a=a||g===2&&r?5:4;!d("FRLSalsaSessionStorageUtils").hasSalsaDataInSessionStorage()&&p.birthday!=null&&d("FRLSalsaSessionStorageUtils").setSalsaDataToSessionStorage(p.birthday);return d("FRLSalsaRedirectionUtils").redirectToVpcFlow(p.redirectionData,o.flow,a,f,e)}return q.is_rafy_checkpointed===!0&&!r?p.setStep("rafy_confirm_account_info"):p.setStep("salsa_parent_privacy_disclosure")};var t=function(){o.logClick("click_back_button");var a=c("FRLXAuthRightAccountForYouControllerRouteBuilder").buildUri({origin:"new_salsa",sfi:2}).toString();return d("FRLAccountRouteUtils").redirectToPath(a,p.redirectionData)},u=[{content:h._("Manage your child"s account and privacy settings, including their password."),icon:c("MetaBrandGearOutline24.svg.react")},{content:h._("See how much time your child spends in VR and set time limits."),icon:c("MetaBrandClockOutline24.svg.react")},{content:h._("Allow or block your child"s access to apps."),icon:c("MetaBrandNineSquaresGridOutline24.svg.react")}];a=q==null?h._("A parent or guardian must create and manage a Meta account for a child between the ages of 10 and 12 (ages may differ by region). You"ll need to log in to or create your own Meta account and Meta Horizon profile before setting up your childu2019s account. {=m2}",[h._implicitParam("=m2",k.jsx(c("CDSInlinePressableText.react"),{linkProps:{target:"_blank",url:a},children:h._("Learn more")}))]):h._("A parent or guardian must create and manage a Meta account for a child between the ages of 10 and 12 (ages may differ by region). {=m2}",[h._implicitParam("=m2",k.jsx(c("CDSInlinePressableText.react"),{linkProps:{target:"_blank",url:a},children:h._("Learn more")}))]);a=k.jsxs(c("CometColumn.react"),{children:[k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("CDSTextPairing.react"),{contentText:a,headlineText:h._("Manage a Meta account for your child"),textAlign:"start",textPairingStyle:"headline2Body",topText:d("FRLRegisterFBTs.react").FOR_PARENTS_AND_GUARDIANS_TOP_TEXT})}),k.jsx(c("CometColumnItem.react"),{paddingTop:40,children:k.jsx(c("CDSText.react"),{textStyle:"headline3",children:h._("What you can do as a parent:")})}),k.jsx(c("CometColumnItem.react"),{paddingTop:16,children:k.jsx(c("CDSIconTextList.react"),{items:u.map(function(a){return{contentText:a.content,icon:a.icon}})})}),k.jsx(c("CometColumnItem.react"),{paddingTop:16,children:k.jsx(c("CDSText.react"),{textStyle:"body",children:h._("When your child turns 13 (or the applicable age in your region), they"ll need to start managing their own account. You can choose together whether or not to continue parental supervision, which will stay on by default.")})})]});u=k.jsx(c("CDSDialogFooter.react"),{primary:{label:h._("Get started"),loading:i,onPress:b,testid:"salsa-intro-get-started"}});return k.jsx(c("FRLAuthDialog.react"),{backTestID:"salsa-intro-back",content:a,footer:u,onBack:t,pageLoadEventName:"page_load_salsa_intro",withBackButton:g===2,withCompanyLogo:g!==2})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
FRLSalsaIntroQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLSalsaIntroQuery",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_passing_vpc",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_rafy_checkpointed",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_rafy_v2_eligible",storageKey:null}],type:"XFRLMFRLMConsumerAccount",abstractKey:null};e.exports=a}),null);
-----
FRLSalsaRootQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"salsaFrlAccountId"}],b={alias:null,args:null,kind:"ScalarField",name:"account_eligibility_for_guardian",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"profile_picture_uri",storageKey:null},e=[{kind:"Variable",name:"id",variableName:"salsaFrlAccountId"}],f={alias:null,args:null,kind:"ScalarField",name:"first_name",storageKey:null},g={alias:null,args:null,concreteType:"AccountEmail",kind:"LinkedField",name:"account_email",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"email_address",storageKey:null}],storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"username",storageKey:null},j={alias:null,args:null,concreteType:"XFRLMFRLMAccountHorizonProfile",kind:"LinkedField",name:"horizon_profiles",plural:!0,selections:[h,i,d],storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"FRLSalsaRootQuery",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"consumer_account",plural:!1,selections:[{kind:"RequiredField",field:b,action:"THROW",path:"viewer.consumer_account.account_eligibility_for_guardian"},{kind:"RequiredField",field:c,action:"THROW",path:"viewer.consumer_account.id"},d,{args:null,kind:"FragmentSpread",name:"FRLSalsaIntroQuery"},{args:null,kind:"FragmentSpread",name:"FRLSalsaNowCreateSalsaAccountQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYOutroQuery_viewer"}],storageKey:null},action:"THROW",path:"viewer.consumer_account"}],storageKey:null},action:"THROW",path:"viewer"},{alias:"salsa_account",args:e,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"xfrlm_frl_consumer_account",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"FRLRAFYOutroQuery_child"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"FRLRAFYConfirmAccountInfoQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYConfirmProfileInfoQuery"},{args:null,kind:"FragmentSpread",name:"FRLSalsaRootParentPrivacyConsentStatusQuery"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"FRLSalsaRootQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"consumer_account",plural:!1,selections:[b,c,d,{alias:null,args:null,kind:"ScalarField",name:"is_passing_vpc",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_rafy_checkpointed",storageKey:null},f,{alias:null,args:null,kind:"ScalarField",name:"salsa_guardian_email_address",storageKey:null},g,j,{kind:"TypeDiscriminator",abstractKey:"__isXFRLMFRLMAccount"}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},f,{alias:null,args:null,kind:"ScalarField",name:"last_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"full_name",storageKey:null},g,{alias:null,args:null,kind:"ScalarField",name:"date_of_birth",storageKey:null},d,c,{alias:null,args:null,concreteType:"XFRLMFRLMAccountHorizonProfile",kind:"LinkedField",name:"horizon_profiles",plural:!0,selections:[h,{alias:null,args:null,kind:"ScalarField",name:"profile_id",storageKey:null},i,d],storageKey:null}],storageKey:null}],storageKey:null},{alias:"salsa_account",args:e,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"xfrlm_frl_consumer_account",plural:!1,selections:[c,f,j],storageKey:null},{alias:null,args:null,concreteType:"RLConsentWrapper",kind:"LinkedField",name:"rl_consent_wrapper",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"type",value:"SALSA_PARENT_PRIVACY_DISCLOSURE"}],concreteType:"RLConsentDecision",kind:"LinkedField",name:"stored_rl_xdevice_consent",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"state",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"decision_time",storageKey:null}],storageKey:"stored_rl_xdevice_consent(type:"SALSA_PARENT_PRIVACY_DISCLOSURE")"}],storageKey:null}]},params:{id:"7512367868779815",metadata:{},name:"FRLSalsaRootQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
FRLSalsaIntroQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLSalsaIntroQuery",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_passing_vpc",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_rafy_checkpointed",storageKey:null}],type:"XFRLMFRLMConsumerAccount",abstractKey:null};e.exports=a}),null);
-----