FRLRAFYConfirmAccountOwnership.react",["fbt","CDSDialogFooter.react","CDSRadioList.react","CDSRadioListCell.react","CDSTextPairing.react","CometColumn.react","CometColumnItem.react","CometRelay","FRLAccountRouteUtils","FRLDialog.react","FRLEventLoggerContext","FRLRAFYConfirmAccountOwnershipQuery.graphql","FRLRAFYContext","FRLRegisterFBTs.react","FRLXAuthRAFYSalsaAgeDownControllerRouteBuilder","FRLXAuthSalsaControllerRouteBuilder","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("FRLRAFYConfirmAccountOwnershipQuery.graphql");function a(a){a=a.accountKey;var b=l(d("FRLEventLoggerContext").FRLEventLoggerContext),e=l(d("FRLRAFYContext").FRLRAFYContext);a=d("CometRelay").useFragment(n,a);var f=m(null),g=f[0],i=f[1];f=m(!1);var j=f[0],o=f[1];f=a.account_email.user_input_email_address;var p=(a=c("FRLXAuthRAFYSalsaAgeDownControllerRouteBuilder").buildUri({}).getQualifiedUri())==null?void 0:a.toString(),q=function(){if(j)return;b.logClick("click_rafy_confirm_account_ownership_as_adult");var a=c("FRLXAuthSalsaControllerRouteBuilder").buildUri({sfi:2}).toString();return d("FRLAccountRouteUtils").redirectToPath(a,e.redirectionData)},r=function(){if(j)return;b.logClick("click_rafy_confirm_account_ownership_as_salsa");o(!0);d("FRLAccountRouteUtils").redirectToPath(c("nullthrows")(p),b.redirectionData)};a=function(){g!=null&&g?r():q()};f=k.jsxs(c("CometColumn.react"),{children:[k.jsx(c("CometColumnItem.react"),{align:"start",children:k.jsx(c("CDSTextPairing.react"),{contentText:h._("Weu2019ll help you get your child into an account meant for someone 10-{Age before the upper salsa age}. Youu2019ll manage their account from a separate account that belongs to you. This process should take around 10 minutes.",[h._param("Age before the upper salsa age",e.upperSalsaAge-1)]),headlineText:h._("Letu2019s get your child an account for their age"),testid:void 0,textAlign:"start",textPairingStyle:"headline1Body",topText:d("FRLRegisterFBTs.react").FOR_PARENTS_AND_GUARDIANS_TOP_TEXT})}),k.jsx(c("CometColumnItem.react"),{align:"start",paddingTop:40,children:k.jsx(c("CDSTextPairing.react"),{headlineText:h._("Who should the existing account ({Email of this account}) belong to?",[h._param("Email of this account",f)]),textAlign:"start",textPairingStyle:"headline3Body"})}),k.jsx(c("CometColumnItem.react"),{align:"stretch",paddingTop:20,children:k.jsxs(c("CDSRadioList.react"),{"aria-label":h._("Options for account ownership"),children:[k.jsx(c("CDSRadioListCell.react"),{checked:(f=g)!=null?f:!1,name:"salsaAccount",onValueChange:function(){return i(!0)},subtitle:h._("Youu2019ll give this account to your child."),testid:void 0,title:h._("Your child (ages 10-{Age before the upper salsa age})",[h._param("Age before the upper salsa age",e.upperSalsaAge-1)]),value:"salsa-option"}),k.jsx(c("CDSRadioListCell.react"),{checked:g!=null&&!g,name:"O18Account",onValueChange:function(){return i(!1)},subtitle:h._("Youu2019ll create a new account for your child and keep this account for yourself."),testid:void 0,title:h._("You (an adult 18 or older)"),value:"o18-option"})]})})]});a=k.jsx(c("CDSDialogFooter.react"),{primary:{disabled:g==null,label:h._("Continue"),loading:j,onPress:a,testid:"rafy-confirm-account-continue-button"}});var s=function(){b.logClick("click_back_button"),e.goBack()},t=function(){return b.logPageLoad("page_load_rafy_confirm_account_ownership")};return k.jsx(c("FRLDialog.react"),{backTestID:"rafy-confirm-account-close-button",content:f,footer:a,onBack:s,onPageLoad:t,testid:void 0,withBackButton:!0,withCloseButton:!1})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
FRLRightAccountForYouRootQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"date_of_birth",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"profile_picture_uri",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLRightAccountForYouRootQuery",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:a,action:"THROW",path:"viewer.consumer_account.id"},{alias:null,args:null,concreteType:"XFRRightAccountForYouCheckpointRecord",kind:"LinkedField",name:"rafy_record",plural:!1,selections:[b],storageKey:null},{args:null,kind:"FragmentSpread",name:"FRLRAFYConfirmInviteQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYUploadYourIDPageQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYInviteAcceptedQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYJoinHeadsetInviteQuery"},{args:null,kind:"FragmentSpread",name:"FRLRAFYConfirmAccountOwnershipQuery"}],storageKey:null},action:"THROW",path:"viewer.consumer_account"},{args:null,kind:"FragmentSpread",name:"FRLRAFYIDVIntro_viewer"}],storageKey:null},action:"THROW",path:"viewer"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"FRLRightAccountForYouRootQuery",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:[a,{alias:null,args:null,concreteType:"XFRRightAccountForYouCheckpointRecord",kind:"LinkedField",name:"rafy_record",plural:!1,selections:[b,a],storageKey:null},{alias:null,args:null,concreteType:"AccountEmail",kind:"LinkedField",name:"account_email",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"user_input_email_address",storageKey:null}],storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"oculus_alias",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"full_name",storageKey:null},{alias:null,args:null,concreteType:"XFRLMFRLMAccountHorizonProfile",kind:"LinkedField",name:"horizon_profiles",plural:!0,selections:[c],storageKey:null},c,{alias:null,args:null,kind:"ScalarField",name:"first_name",storageKey:null}],type:"XFRLMFRLMAccount",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},{alias:null,args:null,kind:"ScalarField",name:"rafy_idv_status",storageKey:null},{alias:null,args:null,concreteType:"XFRLMFRLMConsumerAccount",kind:"LinkedField",name:"consumer_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"rafy_checkpoint_type",storageKey:null},a],storageKey:null},a],storageKey:null}],storageKey:null}]},params:{id:"8927543897272514",metadata:{},name:"FRLRightAccountForYouRootQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
FRLRAFYConfirmAccountOwnershipQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLRAFYConfirmAccountOwnershipQuery",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"AccountEmail",kind:"LinkedField",name:"account_email",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"user_input_email_address",storageKey:null},action:"THROW",path:"account_email.user_input_email_address"}],storageKey:null},action:"THROW",path:"account_email"}],type:"XFRLMFRLMConsumerAccount",abstractKey:null};e.exports=a}),null);
-----
FRLRAFYConfirmAccountOwnership.react",["fbt","CDSDialogFooter.react","CDSRadioList.react","CDSRadioListCell.react","CDSTextPairing.react","CometColumn.react","CometColumnItem.react","CometRelay","FRLAccountRouteUtils","FRLDialog.react","FRLEventLoggerContext","FRLRAFYConfirmAccountOwnershipQuery.graphql","FRLRAFYContext","FRLRegisterFBTs.react","FRLXAuthSalsaControllerRouteBuilder","FRLXWwwRAFYSalsaAgeDownControllerRouteBuilder","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("FRLRAFYConfirmAccountOwnershipQuery.graphql");function a(a){a=a.accountKey;var b=l(d("FRLEventLoggerContext").FRLEventLoggerContext),e=l(d("FRLRAFYContext").FRLRAFYContext);a=d("CometRelay").useFragment(n,a);var f=m(null),g=f[0],i=f[1];f=m(!1);var j=f[0],o=f[1];f=a.account_email.user_input_email_address;var p=(a=c("FRLXWwwRAFYSalsaAgeDownControllerRouteBuilder").buildUri({}).getQualifiedUri())==null?void 0:a.toString(),q=function(){if(j)return;b.logClick("click_rafy_confirm_account_ownership_as_adult");var a=c("FRLXAuthSalsaControllerRouteBuilder").buildUri({sfi:2}).toString();return d("FRLAccountRouteUtils").redirectToPath(a,e.redirectionData)},r=function(){if(j)return;b.logClick("click_rafy_confirm_account_ownership_as_salsa");o(!0);c("goForceFullPageRedirectTo")(c("nullthrows")(p))};a=function(){g!=null&&g?r():q()};f=k.jsxs(c("CometColumn.react"),{children:[k.jsx(c("CometColumnItem.react"),{align:"start",children:k.jsx(c("CDSTextPairing.react"),{contentText:h._("Weu2019ll help you get your child into an account meant for someone 10-{Age before the upper salsa age}. Youu2019ll manage their account from a separate account that belongs to you. This process should take around 10 minutes.",[h._param("Age before the upper salsa age",e.upperSalsaAge-1)]),headlineText:h._("Letu2019s get your child an account for their age"),testid:void 0,textAlign:"start",textPairingStyle:"headline1Body",topText:d("FRLRegisterFBTs.react").FOR_PARENTS_AND_GUARDIANS_TOP_TEXT})}),k.jsx(c("CometColumnItem.react"),{align:"start",paddingTop:40,children:k.jsx(c("CDSTextPairing.react"),{headlineText:h._("Who should the existing account ({Email of this account}) belong to?",[h._param("Email of this account",f)]),textAlign:"start",textPairingStyle:"headline3Body"})}),k.jsx(c("CometColumnItem.react"),{align:"stretch",paddingTop:20,children:k.jsxs(c("CDSRadioList.react"),{"aria-label":h._("Options for account ownership"),children:[k.jsx(c("CDSRadioListCell.react"),{checked:(f=g)!=null?f:!1,name:"salsaAccount",onValueChange:function(){return i(!0)},subtitle:h._("Youu2019ll give this account to your child."),testid:void 0,title:h._("Your child (ages 10-{Age before the upper salsa age})",[h._param("Age before the upper salsa age",e.upperSalsaAge-1)]),value:"salsa-option"}),k.jsx(c("CDSRadioListCell.react"),{checked:g!=null&&!g,name:"O18Account",onValueChange:function(){return i(!1)},subtitle:h._("Youu2019ll create a new account for your child and keep this account for yourself."),testid:void 0,title:h._("You (an adult 18 or older)"),value:"o18-option"})]})})]});a=k.jsx(c("CDSDialogFooter.react"),{primary:{disabled:g==null,label:h._("Continue"),loading:j,onPress:a,testid:"rafy-confirm-account-continue-button"}});var s=function(){b.logClick("click_back_button"),e.goBack()},t=function(){return b.logPageLoad("page_load_rafy_confirm_account_ownership")};return k.jsx(c("FRLDialog.react"),{backTestID:"rafy-confirm-account-close-button",content:f,footer:a,onBack:s,onPageLoad:t,testid:void 0,withBackButton:!0,withCloseButton:!1})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
FRLRAFYConfirmAccountOwnershipQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLRAFYConfirmAccountOwnershipQuery",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"AccountEmail",kind:"LinkedField",name:"account_email",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,kind:"ScalarField",name:"user_input_email_address",storageKey:null},action:"THROW",path:"account_email.user_input_email_address"}],storageKey:null},action:"THROW",path:"account_email"}],type:"XFRLMFRLMConsumerAccount",abstractKey:null};e.exports=a}),null);
-----