OCDevManageWorldsInventoryCreationFlowCreateArea.react",["fbt","AvatarCreatorsCreationFlowGenAIArea.react","CometImage.react","EconomyDigiGoodsLogger","GeoBaseText.react","GeoButton.react","GeoCard.react","GeoFlexbox.react","GeoGrid.react","GeoGridTypes","GeoHeading.react","GeoIllustrationModal.react","GeoLink.react","GeoModalFooter.react","GeoSection.react","OCDevManageWorldsInventoryCreationFlowCreateAreaQuery.graphql","OCDevManageWorldsInventoryCreationFlowCreateCustomPanel.react","WebStorage","bx","gkx","react","useOCDevManageWorldsQueryParams","useOCDevUIQuery"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react")),m=k.useState,n={buttons:{borderTopColor:"x1wj0aee",borderInlineEndColor:"x1ylz8xz",borderBottomColor:"x172ru0f",borderInlineStartColor:"x1y6slga",borderStartStartRadius:"x13t61ll",borderStartEndRadius:"x1kchd1x",borderEndEndRadius:"x1u0fnx4",borderEndStartRadius:"xbxn0j6",borderTopStyle:"x13fuv20",borderInlineEndStyle:"x18b5jzi",borderBottomStyle:"x1q0q8m5",borderInlineStartStyle:"x1t7ytsu",borderTopWidth:"x178xt8z",borderInlineEndWidth:"x1lun4ml",borderBottomWidth:"xso031l",borderInlineStartWidth:"xpilrb4",flexGrow:"x1iyjqo2",$$css:!0},grid:{paddingTop:"xyamay9",paddingInlineEnd:"xv54qhq",paddingBottom:"x1l90r2v",paddingInlineStart:"xf7dkkf",$$css:!0},image:{alignSelf:"xamitd3",marginBottom:"x1yztbdb",paddingTop:"x1p5oq8j",paddingInlineEnd:"x64bnmy",paddingBottom:"xwxc41k",paddingInlineStart:"x13jy36j",width:"x1exxlbk",$$css:!0},modalDialog:{paddingTop:"x1y1aw1k",paddingInlineEnd:"xf159sx",paddingBottom:"x18d9i69",paddingInlineStart:"xmzvs34",width:"xvue9z",$$css:!0}},o="avatar_creators_genai_create_area_selected_tab",p="avatar_creators_genai_legal_ai_consent_disclaimer",q=c("gkx")("10468"),r=i!==void 0?i:i=b("OCDevManageWorldsInventoryCreationFlowCreateAreaQuery.graphql");function s(a){if(!q)return 1;if(a)return 1;a=(j||(j=c("WebStorage"))).getLocalStorage();if(a){a=a.getItem(o);if(a!=="")return parseInt(a,10)||0}return 0}function t(a){if(!a)return!1;a=(j||(j=c("WebStorage"))).getLocalStorage();if(a){a=a.getItem(p);return a==null||a===""}return!0}function u(){var a=(j||(j=c("WebStorage"))).getLocalStorage();a&&a.setItem(p,"true")}function a(a){var b,e=a.generate,f=a.isSceneLoading;a=a.templateID;var g=c("useOCDevManageWorldsQueryParams")(),i=c("useOCDevUIQuery")(r,{});b=(b=i==null?void 0:(b=i.xfb_viewer)==null?void 0:(b=b.together_app_user)==null?void 0:b.digigoods_creator_should_see_legal_ai_consent)!=null?b:!1;var k=(g==null?void 0:g.bypass_legal_notice)!=="1"&&t(b);g=i==null?void 0:(g=i.xfb_viewer)==null?void 0:(b=g.together_app_user)==null?void 0:b.digigoods_creator_legal_ai_terms_link;b=(b=i==null?void 0:(b=i.xfb_viewer)==null?void 0:(b=b.together_app_user)==null?void 0:b.digigoods_creator_legal_ai_objection_supported)!=null?b:!1;var p=(i=i==null?void 0:(i=i.xfb_viewer)==null?void 0:(i=i.together_app_user)==null?void 0:i.digigoods_creator_legal_ai_notice_is_blocking)!=null?i:!1;i=m(s(k));var v=i[0],w=i[1];function x(a){w(a);var b=(j||(j=c("WebStorage"))).getLocalStorage();b&&b.setItem(o,String(a))}i=m(!1);var y=i[0],z=i[1];i=c("bx").getURL(c("bx")("30216"));return l.jsxs(l.Fragment,{children:[y&&l.jsx(c("GeoIllustrationModal.react"),{footer:l.jsx(c("GeoModalFooter.react"),{primaryButton:l.jsx(c("GeoButton.react"),{"data-testid":void 0,grow:"fill",label:h._(/*BTDS*/"Continue"),variant:"primary",onClick:function(){x(0),z(!1),d("EconomyDigiGoodsLogger").logMetaAILegalDisclaimerAccept(),u()}})}),heading:"Heading",image:l.jsx(c("CometImage.react"),{alt:"Meta AI icon",src:i,xstyle:n.image}),isShown:y,width:"auto",xstyle:n.modalDialog,onHide:function(){p||(x(0),u()),z(!1)},children:l.jsxs(c("GeoSection.react"),{children:[l.jsx(c("GeoHeading.react"),{level:2,textAlign:"center",children:h._(/*BTDS*/"Introducing Meta AI")}),l.jsx(c("GeoBaseText.react"),{color:"heading",size:"value",weight:"normal",children:b?h._(/*BTDS*/"By using Meta AI, you agree to the {=m2}. Your interactions with AIs will be used to improve {=m5}. Learn about your {=m8} to object.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:g!=null?g:"#",target:"_blank",children:h._(/*BTDS*/"AI terms")})),h._implicitParam("=m5",l.jsx(c("GeoLink.react"),{href:"https://www.facebook.com/privacy/genai/",target:"_blank",children:h._(/*BTDS*/"AI at Meta")})),h._implicitParam("=m8",l.jsx(c("GeoLink.react"),{href:"https://auth.meta.com/form/?form_id=1195697011444585",target:"_blank",children:h._(/*BTDS*/"right")}))]):h._(/*BTDS*/"By using Meta AI, you agree to the {=m2}. Your interactions with AIs will be used to improve {=m5}.",[h._implicitParam("=m2",l.jsx(c("GeoLink.react"),{href:g!=null?g:"#",target:"_blank",children:h._(/*BTDS*/"AI terms")})),h._implicitParam("=m5",l.jsx(c("GeoLink.react"),{href:"https://www.facebook.com/privacy/genai/",target:"_blank",children:h._(/*BTDS*/"AI at Meta")}))])})]})}),l.jsx(c("GeoCard.react"),{children:l.jsxs(c("GeoGrid.react"),{gap:0,templateColumns:d("GeoGridTypes").GridSize.len(100,"%"),templateRows:d("GeoGridTypes").GridList.trackSizeOrRepeat([d("GeoGridTypes").GridSize.minContent]),xstyle:n.grid,children:[l.jsx(c("GeoFlexbox.react"),{alignItems:"center",children:q&&l.jsxs(c("GeoFlexbox.react"),{alignItems:"center","data-testid":void 0,xstyle:n.buttons,children:[l.jsx(c("GeoButton.react"),{"data-testid":void 0,grow:"fill",isDepressed:v===0,label:h._(/*BTDS*/"Design with Meta AI"),variant:"flat",onClick:function(){k?(z(!0),d("EconomyDigiGoodsLogger").logMetaAILegalDisclaimerImpression()):x(0)}}),l.jsx(c("GeoButton.react"),{"data-testid":void 0,grow:"fill",isDepressed:v===1,label:h._(/*BTDS*/"Upload texture"),variant:"flat",onClick:function(){return x(1)}})]})}),l.jsx("div",{style:{display:v===0?"block":"none"},children:l.jsx(c("AvatarCreatorsCreationFlowGenAIArea.react"),{generate:e,isSceneLoading:f,templateID:a})}),l.jsx("div",{style:{display:v===1?"block":"none"},children:l.jsx(c("OCDevManageWorldsInventoryCreationFlowCreateCustomPanel.react"),{})})]})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageWorldsInventoryCreationFlowCreateAreaQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_should_see_legal_ai_consent",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_legal_ai_notice_is_blocking",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_legal_ai_terms_link",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_legal_ai_objection_supported",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageWorldsInventoryCreationFlowCreateAreaQuery",selections:[{alias:null,args:null,concreteType:"XFBViewer",kind:"LinkedField",name:"xfb_viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBTogetherAppUser",kind:"LinkedField",name:"together_app_user",plural:!1,selections:[a,b,c,d],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"OCDevManageWorldsInventoryCreationFlowCreateAreaQuery",selections:[{alias:null,args:null,concreteType:"XFBViewer",kind:"LinkedField",name:"xfb_viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBTogetherAppUser",kind:"LinkedField",name:"together_app_user",plural:!1,selections:[a,b,c,d,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"24054064740898459",metadata:{},name:"OCDevManageWorldsInventoryCreationFlowCreateAreaQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
-----
OCDevManageWorldsInventoryCreationFlowCreateAreaQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_should_see_legal_ai_consent",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_legal_ai_notice_is_blocking",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_legal_ai_terms_link",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"digigoods_creator_legal_ai_objection_supported",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageWorldsInventoryCreationFlowCreateAreaQuery",selections:[{alias:null,args:null,concreteType:"XFBViewer",kind:"LinkedField",name:"xfb_viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBTogetherAppUser",kind:"LinkedField",name:"together_app_user",plural:!1,selections:[a,b,c,d],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"OCDevManageWorldsInventoryCreationFlowCreateAreaQuery",selections:[{alias:null,args:null,concreteType:"XFBViewer",kind:"LinkedField",name:"xfb_viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBTogetherAppUser",kind:"LinkedField",name:"together_app_user",plural:!1,selections:[a,b,c,d,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"24054064740898459",metadata:{},name:"OCDevManageWorldsInventoryCreationFlowCreateAreaQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----