OCDevManageWorldsInventoryCreationFlowQueries.entrypointutils",["OCDevManageWorldsInventoryCreationFlowDesign3DContentQuery$Parameters","OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery$Parameters","OCDevManageWorldsInventoryCreationFlowFantaUploadPanelQuery$Parameters","OCDevManageWorldsInventoryCreationFlowTemplateSelectionQuery$Parameters","XFBAvatarAssetTemplateCategory.oculus"],(function(a,b,c,d,e,f,g){"use strict";function a(a){a=a.routeParams;var b=a.item_type,d=a.step,e=a.template_category;a=a.template_id;var f={};d=d;if(d==null)switch(b){case"clothing":case null:d="template";break;case"fanta":d="fanta_template";break;default:d=""}if(d==="template"){f.templates={parameters:c("OCDevManageWorldsInventoryCreationFlowTemplateSelectionQuery$Parameters"),variables:{category:[(b=c("XFBAvatarAssetTemplateCategory.oculus").cast(e))!=null?b:"TOP"],useCase:"CREATOR_3P"}}}else d==="fanta_template"?f.fanta_template_list={parameters:c("OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery$Parameters"),variables:{category:["FANTA_BODY"],useCase:"CREATOR_3P"}}:d==="fanta_design"&&(f.fanta_template={parameters:c("OCDevManageWorldsInventoryCreationFlowFantaUploadPanelQuery$Parameters"),variables:{category:["FANTA_BODY"],useCase:"CREATOR_3P"}});a!=null&&(f.renderer={parameters:c("OCDevManageWorldsInventoryCreationFlowDesign3DContentQuery$Parameters"),variables:{templateID:a}});return f}g.getQueryParams=a}),98);
-----
OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"9952666034788690",metadata:{},name:"OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----
OCDevManageWorldsInventoryCreationFlowFantaStyleSelection.react",["fbt","ix","CometImage.react","EconomyDigiGoodsLogger","EconomyDigiGoodsSessionStorageUtil","GeoBasePressable.react","GeoBaseText.react","GeoCard.react","GeoFlexbox.react","GeoGrid.react","GeoGridTypes","GeoPill.react","GeoScrollableArea.react","GeoVStack.react","OCDevManageOrganizationWorldsInventoryCreateRoute","OCDevManagePlaceholder.react","OCDevManageWorldsInventoryCreationFlowActions","OCDevManageWorldsInventoryCreationFlowContext","OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery.graphql","OCDevManageWorldsInventoryCreationFlowUtils","OCNavigatorHooks","RelayHooks","geoMargin","react","useOCDevManageWorldsOrgID"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react")),m=k.useEffect,n=180,o={containerScrollable:{width:"xh8yej3",$$css:!0},fantaContainer:{background:"x1md70p1",marginTop:"xw7yly9",width:"xeq5yr9",$$css:!0},thumbnail:{height:"x1b51vyi",paddingTop:"xqy66fx",paddingInlineEnd:"x1q3ajuy",paddingBottom:"xr1496l",paddingInlineStart:"x1gx403c",width:"xzjbwwf",$$css:!0},tileFlexbox:{height:"x5yr21d",width:"xzjbwwf",$$css:!0}};function a(a){a=a.queryRef;var b=d("OCDevManageWorldsInventoryCreationFlowContext").useAvatarCreatorsCreationFlowDispatch();m(function(){b(d("OCDevManageWorldsInventoryCreationFlowActions").setFantaIngestionResults(null))},[b]);return l.jsx(c("GeoFlexbox.react"),{grow:2,xstyle:[o.fantaContainer,c("geoMargin").all12],children:l.jsx(c("GeoScrollableArea.react"),{direction:"vertical",xstyle:o.containerScrollable,children:l.jsx(c("OCDevManagePlaceholder.react"),{fallback:l.jsx(d("OCDevManageWorldsInventoryCreationFlowUtils").AvatarCreatorsCreationFlowLoadingImageGroupFallback,{height:n,width:n}),children:l.jsx(c("GeoFlexbox.react"),{grow:0,justifyContent:"center",children:l.jsx(c("GeoFlexbox.react"),{alignContent:"center",alignItems:"center",direction:"column",grow:0,justifyContent:"center",children:l.jsx(p,{queryRef:a})})})})})})}a.displayName=a.name+" [from "+f.id+"]";function p(a){a=a.queryRef;var e=c("useOCDevManageWorldsOrgID")(),f=d("OCNavigatorHooks").useNavigate();a=d("RelayHooks").usePreloadedQuery(j!==void 0?j:j=b("OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery.graphql"),a);a=a.avatar_asset_template_config_list;a=a==null?void 0:a.nodes;return l.jsx(c("GeoGrid.react"),{autoRows:d("GeoGridTypes").GridSize.flex(1),gap:16,templateColumns:d("GeoGridTypes").GridRepeat.track(3,d("GeoGridTypes").GridSize.flex(1)),xstyle:o.fantaContainer,children:a==null?void 0:a.map(function(a,b){var g=a.id,h=a.isolated_2d_render_uri,j=a.versionable_name;a=a.visibility_flag;return g!=null?l.jsx(c("GeoCard.react"),{children:l.jsx(c("GeoBasePressable.react"),{accessibilityRole:"button",grow:"fill",variant:"flat",onPress:function(){d("EconomyDigiGoodsSessionStorageUtil").economyDigiGoodsSetTemplateId(g),d("EconomyDigiGoodsLogger").logTemplateSelectItemClick(b),f(c("OCDevManageOrganizationWorldsInventoryCreateRoute").getURI({organizationID:e}).addQueryData({item_type:"fanta",step:"fanta_design",template_category:"FANTA_BODY",template_id:g}),{})},children:l.jsxs(c("GeoVStack.react"),{alignItems:"center",xstyle:o.tileFlexbox,children:[l.jsx(c("GeoFlexbox.react"),{xstyle:o.tileFlexbox,children:q(a)}),l.jsx(c("CometImage.react"),{src:h!=null?h:i("426651"),xstyle:o.thumbnail}),l.jsxs(c("GeoVStack.react"),{children:[l.jsx(c("GeoBaseText.react"),{color:"value",size:"header3",xstyle:c("geoMargin").horiz8,children:j}),l.jsx(c("GeoBaseText.react"),{color:"value",size:"valueDescription",xstyle:c("geoMargin").horiz8,children:j})]})]})})},g):null})})}p.displayName=p.name+" [from "+f.id+"]";function q(a){if(a==="INTERNAL_FBONLY")return l.jsx("div",{style:{position:"absolute"},children:l.jsx(c("GeoPill.react"),{hasIcon:!0,label:"FB-only",status:"warning",value:h._(/*BTDS*/"FB-only")})});return a==="BETA"?l.jsx("div",{style:{position:"absolute"},children:l.jsx(c("GeoPill.react"),{hasIcon:!0,label:"Beta",status:"progress",value:h._(/*BTDS*/"Beta")})}):null}g["default"]=a}),226);
-----
OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"category"},{defaultValue:null,kind:"LocalArgument",name:"useCase"}],b=[{alias:null,args:[{kind:"Variable",name:"category",variableName:"category"},{kind:"Variable",name:"use_case",variableName:"useCase"}],concreteType:"AvatarAssetTemplateConfigListConnection",kind:"LinkedField",name:"avatar_asset_template_config_list",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBAVAAvatarAssetTemplateConfig",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"isolated_2d_render_uri",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"visibility_flag",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"versionable_name",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery",selections:b,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery",selections:b},params:{id:"9952666034788690",metadata:{},name:"OCDevManageWorldsInventoryCreationFlowFantaStyleSelectionQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----