Sid Gifari File Manager
🏠 Root
/
home
/
caldereriajp
/
public_html
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
dist
/
Lite
/
assets
/
js
/
Editing: license.2537a586.js
import{c as l,u as i}from"./links.96235554.js";import{u as p}from"./upperFirst.0bd33a97.js";const f=(n,t=null)=>{try{n=JSON.parse(n)}catch{n=t}return n},c={individual:0,business:1,agency:2,basic:3,plus:4,pro:5,elite:6},a=(n="")=>{var s,u;const t=l(),e=i().aioseo.data.isNetworkAdmin?((s=t.internalNetworkOptions.internal.license)==null?void 0:s.features)||[]:((u=t.internalOptions.internal.license)==null?void 0:u.features)||[];let r=f(e,[]);return n&&(r=r[n]||[]),r},d=(n,t)=>{const o=a("core");for(const e in o)if(n===e&&!t||n===e&&o[e].includes(t))return!0;return!1},m=(n,t)=>{const o=a("addons");for(const e in o)if(n===e&&o[e].includes(t))return!0;return!1},_=n=>{var r,s;const t=l(),e=i().aioseo.data.isNetworkAdmin?(r=t.internalNetworkOptions.internal.license)==null?void 0:r.level:(s=t.internalOptions.internal.license)==null?void 0:s.level;return e?c[e]>=c[n]:!1},S=(n,t="")=>{const o=[];return i().aioseo.features.forEach(r=>{r.section===n&&(t&&r.feature!==t||o.push(p(r.license_level)))}),[...new Set(o)]},h={getFeatures:a,getPlansForFeature:S,hasAddonFeature:m,hasCoreFeature:d,hasMinimumLevel:_};export{h as l};
Save
Cancel