import{e as i,a as c,m as p}from"./index.f16c040b.js";import{A as l,T as u}from"./TitleDescription.2098c094.js";import{C as m}from"./Card.1a6f5bab.js";import{C as _}from"./Tabs.6838349b.js";import{n as d}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./WpTable.078239fd.js";import"./constants.71b051da.js";import"./attachments.0f69322e.js";import"./cleanForSlug.41bbbaec.js";import"./index.c9bc1c73.js";import"./client.b661b356.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./JsonValues.08065e69.js";import"./MaxCounts.5a7ca2fd.js";import"./RadioToggle.d0794ab7.js";import"./RobotsMeta.e1358fdf.js";import"./Checkbox.732cf0d4.js";import"./Checkmark.c0183939.js";import"./Row.89c6bb85.js";import"./SettingsRow.0d51ff21.js";import"./GoogleSearchPreview.3cec5179.js";import"./HtmlTagsEditor.b55f3dc8.js";import"./Editor.f11f5d3a.js";import"./UnfilteredHtml.155f6b63.js";import"./Tooltip.a36a3967.js";import"./Slide.01023b2f.js";import"./TruSeoScore.98a47fd6.js";import"./Information.6f7632ab.js";var h=function(){var t=this,o=t.$createElement,n=t._self._c||o;return n("div",{staticClass:"aioseo-search-appearance-taxonomies"},t._l(t.taxonomies,function(e,a){return n("core-card",{key:a,attrs:{slug:`${e.name}SA`},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"icon dashicons",class:`${e.icon||"dashicons-admin-post"}`}),n("div",[t._v(" "+t._s(e.label)+" ")])]},proxy:!0},{key:"tabs",fn:function(){return[n("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.settings.internalTabs[`${e.name}SA`],internal:""},on:{changed:function(r){return t.processChangeTab(e.name,r)}}})]},proxy:!0}],null,!0)},[n("transition",{attrs:{name:"route-fade",mode:"out-in"}},[n(t.settings.internalTabs[`${e.name}SA`],{tag:"component",attrs:{object:e,separator:t.options.searchAppearance.global.separator,options:t.dynamicOptions.searchAppearance.taxonomies[e.name],type:"taxonomies","show-bulk":!1}})],1)],1)}),1)},f=[];const g={components:{Advanced:l,CoreCard:m,CoreMainTabs:_,TitleDescription:u},data(){return{internalDebounce:null,strings:{ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Custom Taxonomies",this.$td),ctaDescription:this.$t.sprintf(this.$t.__("%1$s %2$s lets you set the SEO title and description for custom taxonomies. You can also control all of the robots meta and other options just like the default category and tags taxonomies.",this.$td),"AIOSEO","Pro"),ctaHeader:this.$t.sprintf(this.$t.__("Custom Taxonomy Support is only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro")},tabs:[{slug:"title-description",name:this.$t.__("Title & Description",this.$td),access:"aioseo_search_appearance_settings",pro:!1},{slug:"advanced",name:this.$t.__("Advanced",this.$tdPro),access:"aioseo_search_appearance_settings",pro:!1}]}},computed:{...i(["isUnlicensed"]),...c(["options","dynamicOptions","settings"]),taxonomies(){return this.$aioseo.postData.taxonomies}},methods:{...p(["changeTab"]),processChangeTab(t,o){this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:`${t}SA`,value:o}),setTimeout(()=>{this.internalDebounce=!1},50))}}},s={};var $=d(g,h,f,!1,b,null,null,null);function b(t){for(let o in s)this[o]=s[o]}const X=function(){return $.exports}();export{X as default};
