Sid Gifari File Manager
🏠 Root
/
home2
/
meumer25
/
minhafarmacia.app
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
dist
/
Lite
/
assets
/
js
/
Editing: RequiredPlans.3bd01b59.js
import{i as l}from"./index.317ad629.js";import{a as n}from"./addons.a280be1f.js";import{l as c}from"./license.414793bf.js";import{C as d}from"./Index.2a391835.js";import"./translations.e71e2202.js";import{_ as p}from"./_plugin-vue_export-helper.eefbdd86.js";import{_ as s}from"./default-i18n.65d58dd6.js";import{a6 as f,o as h,a1 as _,a2 as m,a7 as g,$ as a,_ as q,a4 as F}from"./runtime-core.esm-bundler.ce5add0b.js";const o="all-in-one-seo-pack",y={setup(){return{licenseStore:l()}},components:{CoreAlert:d},props:{addon:String,coreFeature:{type:Array,default(){return[]}},addonFeature:{type:Array,default(){return[]}}},data(){return{strings:{thisFeatureRequires:s("This feature requires one of the following plans:",o),thisFeatureRequiresSingular:s("This feature requires the following plan:",o)}}},computed:{requiredPlansString(){return 1<this.requiredPlans.length?this.strings.thisFeatureRequires:this.strings.thisFeatureRequiresSingular},getRequiredPlans(){return this.requiredPlans.join(", ")},showAlert(){return n.requiresUpgrade(this.addon)&&this.requiredPlans.length},requiredPlans(){if(this.coreFeature.length||this.addonFeature.length){const r=this.coreFeature[0]||this.addonFeature[0],t=this.coreFeature.length?typeof this.coreFeature[1]<"u"?this.coreFeature[1]:"":typeof this.addonFeature[1]<"u"?this.addonFeature[1]:"";return c.getPlansForFeature(r,t)}return n.currentPlans(this.addon)||[]}}};function P(r,t,S,i,R,e){const u=f("core-alert");return i.licenseStore.isUnlicensed||e.showAlert?(h(),_(u,{key:0,class:"aioseo-required-plans",type:"blue"},{default:m(()=>[g(a(e.requiredPlansString)+" ",1),q("strong",null,a(e.getRequiredPlans),1)]),_:1})):F("",!0)}const T=p(y,[["render",P]]);export{T as R};
Save
Cancel