import{c as p,a as c,m as l}from"./vuex.esm.19624049.js";import{A as u,T as m}from"./TitleDescription.c7f893d3.js";import{C as _}from"./Card.efd2e18e.js";import{C as d}from"./Tabs.2c3e6ab7.js";import{C as h}from"./Tooltip.d723c3c3.js";import{S as f}from"./index.81e35b24.js";import{n as g}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"./JsonValues.08065e69.js";import"./MaxCounts.5a7ca2fd.js";import"./SaveChanges.68e73792.js";import"./RadioToggle.2a5182bd.js";import"./RobotsMeta.540fd061.js";import"./Checkbox.1903802a.js";import"./Checkmark.cdcd77fe.js";import"./Row.2d17f2cd.js";import"./SettingsRow.d7400549.js";import"./GoogleSearchPreview.357b0813.js";import"./HtmlTagsEditor.b55c95d9.js";import"./Editor.10476612.js";import"./UnfilteredHtml.02869869.js";import"./Slide.9538a421.js";import"./TruSeoScore.98a47fd6.js";import"./Information.be119534.js";import"./client.90beecd8.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.18ed59c3.js";var b=function(){var t=this,o=t.$createElement,s=t._self._c||o;return s("div",{staticClass:"aioseo-search-appearance-taxonomies"},t._l(t.taxonomies,function(e,i){return s("core-card",{key:i,attrs:{slug:`${e.name}SA`},scopedSlots:t._u([{key:"header",fn:function(){return[s("div",{staticClass:"icon dashicons",class:`${e.icon||"dashicons-admin-post"}`}),t._v(" "+t._s(e.label)+" "),s("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[s("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.label)+" "),s("strong",[t._v(t._s(e.label))]),s("br"),t._v(" "+t._s(t.strings.name)+" "),s("strong",[t._v(t._s(e.name))]),s("br"),t._v(" "+t._s(t.strings.postTypes)),s("br"),s("ul",[t._l(e.postTypes,function(n,a){return[s("li",{key:a},[s("strong",[t._v(t._s(n))])])]})],2)])]},proxy:!0}],null,!0)},[s("svg-circle-question-mark")],1)]},proxy:!0},{key:"tabs",fn:function(){return[s("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.settings.internalTabs[`${e.name}SA`],internal:""},on:{changed:function(n){return t.processChangeTab(e.name,n)}}})]},proxy:!0}],null,!0)},[s("transition",{attrs:{name:"route-fade",mode:"out-in"}},[s(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)},v=[];const $={components:{Advanced:u,CoreCard:_,CoreMainTabs:d,CoreTooltip:h,SvgCircleQuestionMark:f,TitleDescription:m},data(){return{internalDebounce:null,strings:{label:this.$t.__("Label:",this.$td),name:this.$t.__("Slug:",this.$td),postTypes:this.$t.__("Post Types:",this.$td),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:{...p(["isUnlicensed"]),...c(["options","dynamicOptions","settings"]),taxonomies(){return this.$aioseo.postData.taxonomies}},methods:{...l(["changeTab"]),processChangeTab(t,o){this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:`${t}SA`,value:o}),setTimeout(()=>{this.internalDebounce=!1},50))}}},r={};var T=g($,b,v,!1,y,null,null,null);function y(t){for(let o in r)this[o]=r[o]}const at=function(){return T.exports}();export{at as default};
