MDCAppStoreV2SendGiftFormRecipient_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2SendGiftFormRecipient_viewer",selections:[{kind:"InlineDataFragmentSpread",name:"MDCAppStoreGiftingUtils_viewer",selections:[{alias:null,args:null,concreteType:"XOCViewerFamilyInfo",kind:"LinkedField",name:"family_info",plural:!1,selections:[{alias:null,args:null,concreteType:"FamilyMemberConnection",kind:"LinkedField",name:"members",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCFamilyMember",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"relationship_type",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"account",plural:!1,selections:[{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},{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],args:null,argumentDefinitions:[]}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
MDCAppStoreV2SendGiftFormRecipient.react",["CometRelay","MCDSFlexbox.react","MCDSText.react","MDCAppStoreV2ProfilePhoto.react","MDCAppStoreV2SendGiftFormRecipient_recipient.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f;a=a.recipientRef;a=d("CometRelay").useFragment(h!==void 0?h:h=b("MDCAppStoreV2SendGiftFormRecipient_recipient.graphql"),a);e=(e=a==null?void 0:a.display_name)!=null?e:a==null?void 0:a.alias;f=(f=a==null?void 0:a.alias)!=null?f:"";return j.jsxs(c("MCDSFlexbox.react"),{alignItems:"center",gap:12,grow:1,children:[j.jsx(c("MDCAppStoreV2ProfilePhoto.react"),{userRef:a,useSmallIcon:!0}),j.jsxs(c("MCDSFlexbox.react"),{direction:"column",grow:1,children:[j.jsx(c("MCDSText.react"),{type:"mcds-small-body",children:e}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:f})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2SendGiftFormRecipientInput.react",["fbt","CometRelay","MCDSStatusLabel.react","MCDSTextInput.react","MCDSVerticalStack.react","MDCAppStoreGiftingUtils","MDCAppStoreV2SendGiftFormRecipientInput_viewer.graphql","MDCAppStoreV2SendGiftRecipientTypeahead.react","gkx","isEmail","isTruthy","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState;function a(a){var e=a.initEmail,f=a.onRecipientSelect,g=a.onValueChange;a=a.viewerRef;a=d("CometRelay").useFragment(i!==void 0?i:i=b("MDCAppStoreV2SendGiftFormRecipientInput_viewer.graphql"),a);var j=l(e),m=j[0],n=j[1];j=d("MDCAppStoreGiftingUtils").isGiftingToChild(a,m);return k.jsx(c("MCDSVerticalStack.react"),{children:c("gkx")("3791")?k.jsx(c("MDCAppStoreV2SendGiftRecipientTypeahead.react"),{initSearchQuery:e,onChange:function(a){g(a),n(a)},onSelect:f}):k.jsxs(k.Fragment,{children:[k.jsx(c("MCDSTextInput.react"),{"data-testid":void 0,errorMessage:c("isTruthy")(m)&&!c("isEmail")(m)?h._(/*BTDS*/"Please enter a valid email address"):null,hideErrorMessageOnFocus:!0,label:h._(/*BTDS*/"To:"),labelPosition:"outside",placeholder:h._(/*BTDS*/"Enter an email for recipient"),type:"email",value:m,onValueChange:function(a){g(a),n(a)}}),j&&k.jsx(c("MCDSStatusLabel.react"),{isIconHidden:!0,type:"success",children:h._(/*BTDS*/"Gifting to your child")})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MDCAppStoreV2SendGiftRecipientTypeaheadResult.react",["CometRelay","MCDSBaseTypeaheadItem.react","MDCAppStoreImpressionLoggingConstants","MDCAppStoreOculusImpressionsEventsLogging","MDCAppStoreV2SendGiftForm.react","MDCAppStoreV2SendGiftFormRecipient.react","react","useMCDSVisibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.entry,e=a.query;a=b.getAuxiliaryData();var f=d("MDCAppStoreOculusImpressionsEventsLogging").useMDCAppStoreOculusImpressionsLogging(),g=c("useMCDSVisibility")({onVisible:function(){f({content_id:b.getUniqueID(),component:"SendGiftRecipientTypeaheadResult",duration:0,surface:"STORE",subsurface:"PDP",search_query:e},"oculus_impressions_tile_vpved")},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});g=g[0];a=d("CometRelay").useFragment(d("MDCAppStoreV2SendGiftForm.react").RECIPIENT_FRAGMENT,a.userRef);return i.jsx(c("MCDSBaseTypeaheadItem.react"),{"data-testid":void 0,ref:g,children:i.jsx(c("MDCAppStoreV2SendGiftFormRecipient.react"),{recipientRef:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2SendGiftFormRecipient_recipient.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2SendGiftFormRecipient_recipient",selections:[{alias:null,args:null,kind:"ScalarField",name:"alias",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null},{args:null,kind:"FragmentSpread",name:"MDCAppStoreV2ProfilePhoto_user"}],type:"User",abstractKey:null};e.exports=a}),null);
-----
MDCAppStoreV2SendGiftFormRecipientInput_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2SendGiftFormRecipientInput_viewer",selections:[{kind:"InlineDataFragmentSpread",name:"MDCAppStoreGiftingUtils_viewer",selections:[{alias:null,args:null,concreteType:"XOCViewerFamilyInfo",kind:"LinkedField",name:"family_info",plural:!1,selections:[{alias:null,args:null,concreteType:"FamilyMemberConnection",kind:"LinkedField",name:"members",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCFamilyMember",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"relationship_type",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"account",plural:!1,selections:[{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},{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],args:null,argumentDefinitions:[]}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
-----
MDCAppStoreV2SendGiftFormRecipient.react",["CometRelay","MCDSFlexbox.react","MCDSText.react","MDCAppStoreV2ProfilePhoto.react","MDCAppStoreV2SendGiftFormRecipient_recipient.graphql","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f;a=a.recipientRef;a=d("CometRelay").useFragment(h!==void 0?h:h=b("MDCAppStoreV2SendGiftFormRecipient_recipient.graphql"),a);e=(e=a==null?void 0:a.display_name)!=null?e:a==null?void 0:a.alias;f=(f=a==null?void 0:a.alias)!=null?f:"";return j.jsxs(c("MCDSFlexbox.react"),{alignItems:"center",gap:12,grow:1,children:[j.jsx(c("MDCAppStoreV2ProfilePhoto.react"),{userRef:a,useSmallIcon:!0}),j.jsxs(c("MCDSFlexbox.react"),{direction:"column",grow:1,children:[j.jsx(c("MCDSText.react"),{type:"mcds-small-body",children:e}),j.jsx(c("MCDSText.react"),{color:"secondary",type:"mcds-micro-text",children:f})]})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2SendGiftFormRecipientInput.react",["fbt","CometRelay","MCDSStatusLabel.react","MCDSTextInput.react","MCDSVerticalStack.react","MDCAppStoreGiftingUtils","MDCAppStoreV2SendGiftFormRecipientInput_viewer.graphql","MDCAppStoreV2SendGiftRecipientTypeahead.react","gkx","isEmail","isTruthy","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState;function a(a){var e=a.initEmail,f=a.onRecipientSelect,g=a.onValueChange;a=a.viewerRef;a=d("CometRelay").useFragment(i!==void 0?i:i=b("MDCAppStoreV2SendGiftFormRecipientInput_viewer.graphql"),a);var j=l(e),m=j[0],n=j[1];j=d("MDCAppStoreGiftingUtils").isGiftingToChild(a,m);return k.jsx(c("MCDSVerticalStack.react"),{children:c("gkx")("3791")?k.jsx(c("MDCAppStoreV2SendGiftRecipientTypeahead.react"),{initSearchQuery:e,onChange:function(a){g(a),n(a)},onSelect:f}):k.jsxs(k.Fragment,{children:[k.jsx(c("MCDSTextInput.react"),{"data-testid":void 0,errorMessage:c("isTruthy")(m)&&!c("isEmail")(m)?h._(/*BTDS*/"Please enter a valid email address"):null,hideErrorMessageOnFocus:!0,label:h._(/*BTDS*/"To:"),labelPosition:"outside",placeholder:h._(/*BTDS*/"Enter an email for recipient"),type:"email",value:m,onValueChange:function(a){g(a),n(a)}}),j&&k.jsx(c("MCDSStatusLabel.react"),{isIconHidden:!0,type:"success",children:h._(/*BTDS*/"Gifting to your child")})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
MDCAppStoreV2SendGiftRecipientTypeaheadResult.react",["CometRelay","MCDSBaseTypeaheadItem.react","MDCAppStoreImpressionLoggingConstants","MDCAppStoreOculusImpressionsEventsLogging","MDCAppStoreV2SendGiftForm.react","MDCAppStoreV2SendGiftFormRecipient.react","react","useMCDSVisibility"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react");function a(a){var b=a.entry,e=a.query;a=b.getAuxiliaryData();var f=d("MDCAppStoreOculusImpressionsEventsLogging").useMDCAppStoreOculusImpressionsLogging(),g=c("useMCDSVisibility")({onVisible:function(){f({content_id:b.getUniqueID(),component:"SendGiftRecipientTypeaheadResult",duration:0,surface:"STORE",subsurface:"PDP",search_query:e},"oculus_impressions_tile_vpved")},threshold:d("MDCAppStoreImpressionLoggingConstants").VISIBILITY_THRESHOLD});g=g[0];a=d("CometRelay").useFragment(d("MDCAppStoreV2SendGiftForm.react").RECIPIENT_FRAGMENT,a.userRef);return i.jsx(c("MCDSBaseTypeaheadItem.react"),{"data-testid":void 0,ref:g,children:i.jsx(c("MDCAppStoreV2SendGiftFormRecipient.react"),{recipientRef:a})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2SendGiftFormRecipient_recipient.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2SendGiftFormRecipient_recipient",selections:[{alias:null,args:null,kind:"ScalarField",name:"alias",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null},{args:null,kind:"FragmentSpread",name:"MDCAppStoreV2ProfilePhoto_user"}],type:"User",abstractKey:null};e.exports=a}),null);
-----
MDCAppStoreV2SendGiftFormRecipientInput_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2SendGiftFormRecipientInput_viewer",selections:[{kind:"InlineDataFragmentSpread",name:"MDCAppStoreGiftingUtils_viewer",selections:[{alias:null,args:null,concreteType:"XOCViewerFamilyInfo",kind:"LinkedField",name:"family_info",plural:!1,selections:[{alias:null,args:null,concreteType:"FamilyMemberConnection",kind:"LinkedField",name:"members",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCFamilyMember",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"relationship_type",storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"account",plural:!1,selections:[{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},{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],args:null,argumentDefinitions:[]}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----