1import{f as N}from"/chunk-X6WGGQ2F.js";import"/chunk-FXS4MUAB.js";import{a as P}from"/chunk-XCUD6N2M.js";import"/chunk-XQ76VHWZ.js";import"/chunk-5E576642.js";import{a as h}from"/chunk-O7BMOWFK.js";import"/chunk-XPTQTQ2F.js";import"/chunk-VVA3CKV3.js";import"/chunk-UQGTEN5E.js";import"/chunk-7AFUT636.js";import"/chunk-4W2IOIUG.js";import"/chunk-GXMM2LA5.js";import{a as v}from"/chunk-3IDYHAGI.js";import"/chunk-BPXF7353.js";import"/chunk-F6VMAPMH.js";import"/chunk-QTEQ3FHQ.js";import"/chunk-XVQ3NSRE.js";import{a as p}from"/chunk-5AGQLMAL.js";import"/chunk-XARR23MI.js";import"/chunk-ZOSIGJV3.js";import"/chunk-7KU44OLK.js";import"/chunk-BBVFD5SS.js";import"/chunk-PNBV22OJ.js";import"/chunk-KVLLKEYT.js";import"/chunk-XNWT5BRG.js";import"/chunk-LUDSDHAJ.js";import"/chunk-L7SHSVHB.js";import"/chunk-LLC7L3L7.js";import"/chunk-5YYMDD4V.js";import"/chunk-KMIEEE5A.js";import"/chunk-WO32VYV2.js";import"/chunk-EVSD7WOY.js";import"/chunk-3LLBLOCC.js";import"/chunk-SYG5O24C.js";import{a as n}from"/chunk-TFEB5E6W.js";import"/chunk-6JKPCHAO.js";import{e as g}from"/chunk-S6RGRN3Z.js";import"/chunk-BSZCSHZH.js";import"/chunk-H23NAM2G.js";import{e as A}from"/chunk-Y3NWU4AF.js";import{a as y}from"/chunk-I5ZZMLX4.js";import{v as b}from"/chunk-564LLHND.js";import{Ca as l,Je as d,Yf as f,tb as u,ub as c}from"/chunk-4G6JPET5.js";import"/chunk-ICHQMCKF.js";import{a as V}from"/chunk-6PEW2LAQ.js";import"/chunk-HGNHJIRX.js";import"/chunk-4BU5B7HZ.js";import"/chunk-XV4HHT5U.js";import"/chunk-UQNBUJCO.js";import"/chunk-HNZGHCFX.js";import"/chunk-HSM4CFG5.js";import"/chunk-VZ4RAZID.js";import"/chunk-3NY6DK5T.js";import"/chunk-NUU7UG47.js";import"/chunk-EPF66V7Q.js";import"/chunk-EGANER2X.js";import"/chunk-RGYMHTZY.js";import{a as m}from"/chunk-PSDBGZLN.js";import"/chunk-ASNF2FAL.js";import{a as w}from"/chunk-P4BZ4TJK.js";import{f as i}from"/chunk-EMJN6GDS.js";var s=i(w());var C=i(V());var e=i(m()),H=({items:o})=>{let a=o?o.reduce((t,r)=>(r.category in t?t[r.category]=t[r.category].concat([r]):t[r.category]=[r],t),{}):[];return(0,e.jsx)(e.Fragment,{children:Object.entries(a).map(([t,r])=>(0,e.jsxs)(s.Fragment,{children:[(0,e.jsx)(n,{variant:"h2",children:p(t).name}),(0,e.jsx)(P,{assets:r})]},t))})},W=()=>{let o=(0,s.useCallback)(a=>a.is("isadult",!0),[]);return(0,e.jsx)(N,{viewName:"getpublicassets",getQuery:o,name:"view-adult-assets",sortOptions:[{label:"Submitted at",fieldName:"createdat"},{label:"Title",fieldName:"title"}],defaultFieldName:"title",urlWithSubViewNameAndPageNumberVar:c,children:(0,e.jsx)(H,{})})},I=l({over18message:{padding:"5rem 0",textAlign:"center"}}),B=()=>{let[,,o]=v(),[a,t]=(0,s.useState)(!1),r=I(),[k,S]=A(d);(0,s.useEffect)(()=>{o&&o.enabledadultcontent&&t(o.enabledadultcontent)},[o!==null]);let F=()=>{t(!0),S(!0),y("Nsfw","Click I am over 18 button")};return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)(g,{children:[(0,e.jsx)("title",{children:"NSFW Content"}),(0,e.jsx)("meta",{name:"description",content:"We permit some NSFW content on the site but you must be logged in and indicate you are over the age of 18 to be able to see it."})]}),(0,e.jsx)(n,{variant:"h1",children:(0,e.jsx)(f,{to:u,children:"NSFW Content"})}),a||k?(0,e.jsx)(W,{}):(0,e.jsxs)(h,{className:r.over18message,children:[(0,e.jsx)(n,{variant:"h2",noTopMargin:!0,children:"Over 18 Check"}),(0,e.jsx)("p",{children:"This area requires that you are over the age of 18."}),(0,e.jsx)(b,{onClick:F,icon:(0,e.jsx)(C.default,{}),children:"I am over 18 please show me this content"})]})]})},j=B;export{j as default}; 2//# sourceMappingURL=/adult-assets-UYENFNIG.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.