import{c}from"./vuex.esm.19624049.js";import{A as a}from"./WebmasterTools.4c9e77ca.js";import{C as u}from"./Blur.920c6287.js";import{C as _}from"./Card.efd2e18e.js";import{C as p}from"./ProBadge.3e5c17e9.js";import{C as m}from"./SettingsRow.d7400549.js";import{C as d}from"./Index.92416e95.js";import{n as l}from"./vueComponentNormalizer.67c9b86e.js";import"./WpTable.36ecda37.js";import"./helpers.a2b0759e.js";import"./index.7b63dad7.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./attachments.e5102eba.js";import"./cleanForSlug.7a45fb51.js";import"./constants.8bff9f56.js";import"./Caret.eeb84d06.js";import"./_commonjsHelpers.10c44588.js";import"./html.bcbe747e.js";import"./Index.cb09fd7a.js";import"./MetaTag.ceacc375.js";import"./SaveChanges.68e73792.js";import"./Tooltip.d723c3c3.js";import"./index.81e35b24.js";import"./client.90beecd8.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.18ed59c3.js";import"./Slide.9538a421.js";import"./Row.2d17f2cd.js";var f=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"aioseo-access-control-lite"},[e("core-card",{attrs:{slug:"accessControl"},scopedSlots:t._u([{key:"header",fn:function(){return[e("span",[t._v(t._s(t.strings.accessControl))]),e("core-pro-badge")]},proxy:!0},{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.tooltip)+" ")]},proxy:!0}])},[e("core-blur",[t._l(t.getLiteRoles,function(r){return[e("core-settings-row",{key:r.name,attrs:{name:r.label},scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"toggle"},[e("base-toggle",{attrs:{disabled:!0,value:!0}},[t._v(" "+t._s(t.strings.useDefaultSettings)+" ")])],1)]},proxy:!0}],null,!0)})]})],2),e("cta",{attrs:{"feature-list":[t.strings.granularControl,t.strings.wpRoles,t.strings.seoManagerRole,t.strings.seoEditorRole],"cta-link":t.$links.getPricingUrl("access-control","access-control-upsell"),"button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getUpsellUrl("access-control",null,"home"),"align-top":""},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t._v(" "+t._s(t.strings.tooltip)+" ")]},proxy:!0}])})],1)],1)},g=[];const h={components:{CoreBlur:u,CoreCard:_,CoreProBadge:p,CoreSettingsRow:m,Cta:d},mixins:[a],data(){return{strings:{wpRoles:this.$t.__("WP Roles (Editor, Author)",this.$td),seoManagerRole:this.$t.__("SEO Manager Role",this.$td),seoEditorRole:this.$t.__("SEO Editor Role",this.$td),defaultSettings:this.$t.__("Default settings that just work",this.$td),granularControl:this.$t.__("Granular controls per role",this.$td),ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Access Control",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Access Control is only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro")}}},computed:{getLiteRoles(){const t=this.getRoles;let o=1;for(;8>t.length;)t.push({label:this.$t.__("Custom Role",this.$td)+" "+o,name:"customRole"+o}),o++;return t}}},s={};var v=l(h,f,g,!1,$,null,null,null);function $(t){for(let o in s)this[o]=s[o]}const n=function(){return v.exports}();var C=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"aioseo-access-control"},[t.isUnlicensed?t._e():e("access-control"),t.isUnlicensed?e("access-control-lite"):t._e()],1)},y=[];const x={components:{AccessControl:n,AccessControlLite:n},computed:{...c(["isUnlicensed"])}},i={};var R=l(x,C,y,!1,A,null,null,null);function A(t){for(let o in i)this[o]=i[o]}const tt=function(){return R.exports}();export{tt as default};
