1import{L as o,a as r,b as s}from"./CfeydvS9.js";import{a3 as u,aI as k,bS as l,bP as p,bO as f}from"#entry";const a=e=>e.access===r.ppv&&!e.unlocked?o.ppvLocked:e.access===r.ppv&&e.unlocked?o.unlocked:e.access===r.premium&&!e.unlocked?o.premiumLocked:e.access===r.premium&&e.unlocked?o.unlocked:e.visibility===s.NSFW?p()===f.nsfwFree?o.unlocked:o.premiumLocked:o.unlocked,d=(e,t)=>{const c={isLocked:!1,lockType:o.unlocked,freeByDefault:!1};if(!e)return c;const n=t||u();return c.lockType=a(e),c.freeByDefault=e.access===r.free,c.isLocked=c.lockType!==o.unlocked,c.lockType===o.premiumLocked&&n&&(c.isLocked=!1),c.lockType===o.ppvLocked&&!n&&k(l)!=="1"&&(c.lockType=o.premiumLocked),c};export{d as g};
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.