PageSourceSearch

https://www.vrcarena.com/chunk-ZD64RRP7.js

js vrcarena.com collected 2026-09-25 18:46:56 UTC 3,393 bytes, 2 lines download raw bytes

1import{b as s,ba as u,d as a,e as n,f as i,h as c,j as d}from"/chunk-3YWFZMXZ.js";import{wg as o}from"/chunk-4G6JPET5.js";var m=e=>{if(n(e))return"gumroad";if(a(e))return"booth";if(s(e))return"itch";if(i(e))return"jinxxy";if(c(e))return"kofi";if(d(e))return"payhip"},_=e=>{switch(m(e)){case"gumroad":return"Gumroad";case"booth":return"Booth";case"itch":return"Itch";case"jinxxy":return"Jinxxy";case"kofi":return"Kofi";case"payhip":return"PayHip";default:return}},D=e=>m(e)!==void 0;var g=e=>{try{let t=new URL(e);return`${t.origin}${t.pathname!=="/"?t.pathname:""}`}catch{return""}};var oe=(e,t)=>e===t.createdby,se=async(e,t,r)=>{switch(t){case"author":return r?["authorname",(await o(e,"authors",r)).name]:["authorname",null];case"species":if(!r)return["speciesnames",[]];let l=[];for(let p of r){let{singularname:f}=await o(e,"species",p);l.push(f)}return["speciesnames",l];case"discordserver":return r?["discordserverdata",await o(e,"discordservers",r)]:["discordserverdata",null];default:return[t,r]}};var ae=e=>e.accessstatus==="public"&&e.publishstatus==="draft",ne=e=>e.accessstatus==="public"&&e.approvalstatus!=="approved"&&e.approvalstatus!=="autoapproved"&&e.publishstatus==="published",b=[{reason:"author_request",label:"Requested by author"},{reason:"dmca_claim",label:"DMCA claim"},{reason:"inferior",label:"Duplicate or inferior version exists"},{reason:"violates_tos",label:"Breaches our guidelines: https://www.vrcarena.com/guidelines"}],ie=e=>{let t=b.find(r=>r.reason===e);if(!t)throw new Error(`Could not get deleted reason label for "${e}"`);return t.label},h=[{reason:"product_missing",label:"Original product store page is missing"},{reason:"product_discontinued",label:"Original product store page is not for sale (eg. discontinued)"}],le=e=>{let t=h.find(r=>r.reason===e);if(!t)throw new Error(`Could not get archived reason label for "${e}"`);return t.label},x=[{reason:"violates_tos",label:"Breaches our guidelines: https://www.vrcarena.com/guidelines"},{reason:"inferior",label:"Inferior version of another asset"},{reason:"missing_source",label:"Missing source URL"},{reason:"invalid_source",label:"Invalid source URL"},{reason:"missing_thumbnail",label:"Missing thumbnail"},{reason:"invalid_thumbnail",label:"Invalid thumbnail"},{reason:"missing_title",label:"Missing title"},{reason:"invalid_title",label:"Invalid title"},{reason:"missing_author",label:"Missing author"},{reason:"incorrect_author",label:"Incorrect author"},{reason:"missing_category",label:"Missing category"},{reason:"incorrect_category",label:"Incorrect category"},{reason:"missing_description",label:"Missing description"},{reason:"too_short_description",label:"Too short description"},{reason:"missing_tags",label:"Missing tags"},{reason:"not_many_tags",label:"Too few tags"},{reason:"missing_species",label:"Missing species"},{reason:"incorrect_species",label:"Incorrect species"},{reason:"missing_nsfw_flag",label:"Should be flagged NSFW"},{reason:"no_suitable_category",label:"No suitable category (the asset does not fit into any category)"}],ce=e=>{let t=x.find(r=>r.reason===e);if(!t)throw new Error(`Could not get declined reason label for "${e}"`);return t.label};var de=e=>{let t=u.find(r=>r.name===e);return t?t.label:e};export{_ as a,D as b,g as c,oe as d,se as e,ae as f,ne as g,b as h,ie as i,h as j,le as k,x as l,ce as m,de as n};
2//# sourceMappingURL=/chunk-ZD64RRP7.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.