OCDevManageWorldsInventoryItemDetailsDialogEntryPoint.react",["JSResourceForInteraction","OCDevManageWorldsInventoryItemDetailsDialogQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){return{queries:{worldlistQueryRef:{options:{fetchPolicy:"network-only"},parameters:c("OCDevManageWorldsInventoryItemDetailsDialogQuery$Parameters"),variables:{}}}}},root:c("JSResourceForInteraction")("OCDevManageWorldsInventoryItemDetailsDialog.react").__setRef("OCDevManageWorldsInventoryItemDetailsDialogEntryPoint.react")};g["default"]=a}),98);
-----
OCDevManageWorldsInventoryItemDetailsDialogQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"30544795498441135",metadata:{},name:"OCDevManageWorldsInventoryItemDetailsDialogQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----
OCDevManageWorldsInventoryItemDetailsDialog.react",["fbt","AvatarCreatorsLogging","CometLink.react","EconomyDigiGoodsLogger","GeoBaseText.react","OCDevManageWorldsInventoryItemDetailsDialogQuery.graphql","OCDevManageWorldsInventoryItemDetailsTypes.react","OCDevManageWorldsInventoryItemDetailsView.react","OCDevManageWorldsInventoryItemEditView.react","RelayHooks","react","useBoolean"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useEffect,m=e.useRef,n="/images/horizon/no_photo_available.png",o=i!==void 0?i:i=b("OCDevManageWorldsInventoryItemDetailsDialogQuery.graphql");function a(a){var b,e,f=a.props,g=f.isEditMode,i=f.itemKey,j=f.onHide,p=f.onItemDelete,q=f.onReadyToList;f=f.rowInfo;a=a.queries;if(i==null)throw d("AvatarCreatorsLogging").logger.mustfixThrow("creatableId cannot be null");var r=m(!0);l(function(){if(r.current){r.current=!1;d("EconomyDigiGoodsLogger").logInventoryItemDialogImpression(i);return}},[i]);b=String((b=f==null?void 0:f.thumbnail)!=null?b:"/images/crm/organization/default_normal.png");e={acquisition_type:{value:(e=f==null?void 0:f.acquisitionType)!=null?e:"",value_type:"text"},age_rating:{description:h._(/*BTDS*/"Items that you create must be appropriate for all ages and follow the {Meta Quest Code of Conduct for Virtual Experiences}.",[h._param("Meta Quest Code of Conduct for Virtual Experiences",k.jsx(c("CometLink.react"),{href:"https://www.meta.com/legal/quest/code-of-conduct-for-virtual-experiences",target:"_blank",children:k.jsx(c("GeoBaseText.react"),{color:"link",size:"value",children:"Meta Quest Code of Conduct for Virtual Experiences"})}))]),value:(e=f==null?void 0:f.ageRating)!=null?e:"",value_type:"text"},category:{value:(e=f==null?void 0:f.type)!=null?e:"Unknown",value_type:"text"},description:{value:(e=f==null?void 0:f.description)!=null?e:"",value_type:"text"},game_stats:{value:(e=f==null?void 0:f.game_stats)!=null?e:"",value_type:"text"},game_stats_description:{value:(e=f==null?void 0:f.game_stats_description)!=null?e:"",value_type:"text"},game_stats_worlds:{value:(e=f==null?void 0:f.game_stats_worlds)!=null?e:[],value_type:"list"},hasMatureIntegrityFlag:(e=f==null?void 0:f.hasMatureIntegrityFlag)!=null?e:!1,inventory_type:{value:(e=f==null?void 0:f.productType)!=null?e:"",value_type:"text"},item_id:{value:i,value_type:"text"},item_type:{value:String((e=f==null?void 0:(e=f.localizationInfo)==null?void 0:e.itemType)!=null?e:""),value_type:"text"},last_updated:{value:f==null?void 0:f.lastUpdate,value_type:"date"},name:{value:(f==null?void 0:f.status)===d("OCDevManageWorldsInventoryItemDetailsTypes.react").AvatarCreatorAssetStatus.DRAFT||f==null?"":f.title,value_type:"text"},price:{value:f==null?void 0:f.price,value_type:"price"},published_in_worlds:{value:String(f==null?void 0:(e=f.localizationInfo)==null?void 0:e.publishedWorlds),value_type:"text"},sku_id:{value:(e=f==null?void 0:f.skuID)!=null?e:"",value_type:"text"},status:{value:{status:(e=f==null?void 0:f.status)!=null?e:d("OCDevManageWorldsInventoryItemDetailsTypes.react").AvatarCreatorAssetStatus.UNKNOWN,status_localization:(e=f==null?void 0:(e=f.localizationInfo)==null?void 0:e.status)!=null?e:""},value_type:"status"},usage_type:{description:String(h._(/*BTDS*/"This item can be used outside of your worlds and anywhere people use their avatars.")),value:"Anywhere",value_type:"text"}};a=a.worldlistQueryRef;a=d("RelayHooks").usePreloadedQuery(o,a);a=((a=a==null?void 0:(a=a.xfb_together_wb_owned_and_collaborator_worlds)==null?void 0:a.edges)!=null?a:[]).reduce(function(a,b){var c;b=b.node;if((b==null?void 0:b.is_viewer_owner)!==!0||(b==null?void 0:b.is_members_only)===!0)return a;a.push({id:(c=b==null?void 0:b.id)!=null?c:"",name:(c=b==null?void 0:b.name)!=null?c:"",thumbnailUrl:(b=b==null?void 0:(c=b.primary_screenshot)==null?void 0:c.image_uri)!=null?b:n});return a},[]);g=c("useBoolean")(g);var s=g.set;g=g.value;var t=(f==null?void 0:f.status)!==d("OCDevManageWorldsInventoryItemDetailsTypes.react").AvatarCreatorAssetStatus.PUBLISHED||!(f==null?void 0:f.hasPlayerEntitlements);return k.jsx(k.Fragment,{children:g?k.jsx(c("OCDevManageWorldsInventoryItemEditView.react"),{allWorldsOwned:a,itemKey:i,itemListingInfo:e,setEdit:s,thumbnail:b,worldLists:(g=f==null?void 0:f.publishableWorlds)!=null?g:[],onHide:j,onReadyToList:q}):k.jsx(c("OCDevManageWorldsInventoryItemDetailsView.react"),{canDelete:t,itemKey:i,itemListingInfo:e,originalTextureUri:String((a=f==null?void 0:f.originalRetextureTextureUri)!=null?a:""),setEdit:s,thumbnail:b,onHide:j,onItemDelete:p})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageWorldsInventoryItemDetailsDialogQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"access_types"},b={defaultValue:null,kind:"LocalArgument",name:"privacy"},c=[{kind:"Variable",name:"access_types",variableName:"access_types"},{kind:"Variable",name:"world_privacy",variableName:"privacy"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"is_viewer_owner",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"is_members_only",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},h={alias:null,args:[{kind:"Literal",name:"height",value:40},{kind:"Literal",name:"width",value:40}],kind:"ScalarField",name:"image_uri",storageKey:"image_uri(height:40,width:40)"};return{fragment:{argumentDefinitions:[a,b],kind:"Fragment",metadata:null,name:"OCDevManageWorldsInventoryItemDetailsDialogQuery",selections:[{alias:null,args:c,concreteType:"XFBTogetherWbOwnedAndCollaboratorWorldsConnection",kind:"LinkedField",name:"xfb_together_wb_owned_and_collaborator_worlds",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBTogetherWbOwnedAndCollaboratorWorldsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"node",plural:!1,selections:[d,e,f,g,{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldScreenshot",kind:"LinkedField",name:"primary_screenshot",plural:!1,selections:[h],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[b,a],kind:"Operation",name:"OCDevManageWorldsInventoryItemDetailsDialogQuery",selections:[{alias:null,args:c,concreteType:"XFBTogetherWbOwnedAndCollaboratorWorldsConnection",kind:"LinkedField",name:"xfb_together_wb_owned_and_collaborator_worlds",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBTogetherWbOwnedAndCollaboratorWorldsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"node",plural:!1,selections:[d,e,f,g,{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldScreenshot",kind:"LinkedField",name:"primary_screenshot",plural:!1,selections:[h,d],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"30544795498441135",metadata:{},name:"OCDevManageWorldsInventoryItemDetailsDialogQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----