var _=Object.defineProperty;var s=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var n=(t,e,o)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,i=(t,e)=>{for(var o in e||(e={}))p.call(e,o)&&n(t,o,e[o]);if(s)for(var o of s(e))m.call(e,o)&&n(t,o,e[o]);return t};import{b as d}from"./index.24bc83f1.js";import{A as f}from"./WebmasterTools.999bcfc5.js";import{C as g}from"./Blur.8490ecd2.js";import{C as v}from"./Card.af43a02b.js";import{C as h}from"./ProBadge.7c0de2f7.js";import{C as $}from"./SettingsRow.eb71f07b.js";import{C}from"./Index.a47fbf4a.js";import{n as u}from"./vueComponentNormalizer.87056a83.js";import"./default-i18n.abde8d59.js";import"./isArrayLikeObject.26ec157b.js";import"./ToolsSettings.c7becacb.js";import"./helpers.55800a79.js";import"./index.6be33911.js";import"./client.94d919c5.js";import"./_commonjsHelpers.f40d732e.js";import"./constants.50303a5f.js";import"./cleanForSlug.d874125b.js";import"./Modal.f47c8aa2.js";import"./MetaTag.ceacc375.js";import"./Tooltip.3ec20ff5.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./Row.13b6f3f1.js";import"./Index.6b49ef32.js";var y=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aioseo-access-control-lite"},[o("core-card",{attrs:{slug:"accessControl"},scopedSlots:t._u([{key:"header",fn:function(){return[o("span",[t._v(t._s(t.strings.accessControl))]),o("core-pro-badge")]},proxy:!0},{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.tooltip)+" ")]},proxy:!0}])},[o("core-blur",[t._l(t.getLiteRoles,function(r){return[o("core-settings-row",{key:r.name,attrs:{name:r.label},scopedSlots:t._u([{key:"content",fn:function(){return[o("div",{staticClass:"toggle"},[o("base-toggle",{attrs:{disabled:!0,value:!0}},[t._v(" "+t._s(t.strings.useDefaultSettings)+" ")])],1)]},proxy:!0}],null,!0)})]})],2),o("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")},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)},x=[];const R={components:{CoreBlur:g,CoreCard:v,CoreProBadge:h,CoreSettingsRow:$,Cta:C},mixins:[f],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 e=1;for(;8>t.length;)t.push({label:this.$t.__("Custom Role",this.$td)+" "+e,name:"customRole"+e}),e++;return t}}},l={};var A=u(R,y,x,!1,k,null,null,null);function k(t){for(let e in l)this[e]=l[e]}var c=function(){return A.exports}(),S=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aioseo-access-control"},[t.isUnlicensed?t._e():o("access-control"),t.isUnlicensed?o("access-control-lite"):t._e()],1)},b=[];const E={components:{AccessControl:c,AccessControlLite:c},computed:i({},d(["isUnlicensed"]))},a={};var U=u(E,S,b,!1,w,null,null,null);function w(t){for(let e in a)this[e]=a[e]}var ot=function(){return U.exports}();export{ot as default};
