(window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["settings-partials-Breadcrumbs-Taxonomies-vue","settings-partials-Breadcrumbs-Preview-vue"],{c468:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"preview-box"},[e.label?a("span",{staticClass:"label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._l(this.getPreviewData(),(function(t,n){return[10&&n'+e.options.breadcrumbs.separator+"").replace(/#breadcrumb_link/g,"Permalink")}));return this.useDefaultTemplate&&!this.options.breadcrumbs.showCurrentItem&&(t=t.slice(0,t.length-1)),t}}},m=i,c=a("2877"),l=Object(c["a"])(m,n,s,!1,null,null,null);t["default"]=l.exports},e081:function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"content"},e._l(e.taxonomies,(function(t){return a("core-settings-row",{key:t.name,attrs:{name:t.label},scopedSlots:e._u([{key:"content",fn:function(){return[a("div",[a("preview",{attrs:{"preview-data":e.getPreview(t),useDefaultTemplate:e.dynamicOptions.breadcrumbs.taxonomies[t.name].useDefaultTemplate}}),a("grid-row",[a("grid-column",[a("base-toggle",{staticClass:"current-item",model:{value:e.dynamicOptions.breadcrumbs.taxonomies[t.name].useDefaultTemplate,callback:function(a){e.$set(e.dynamicOptions.breadcrumbs.taxonomies[t.name],"useDefaultTemplate",a)},expression:"dynamicOptions.breadcrumbs.taxonomies[taxonomy.name].useDefaultTemplate"}}),e._v(" "+e._s(e.strings.useDefaultTemplate)+" ")],1)],1),e.dynamicOptions.breadcrumbs.taxonomies[t.name].useDefaultTemplate?e._e():a("grid-row",[e.options.breadcrumbs.breadcrumbPrefix&&e.options.breadcrumbs.breadcrumbPrefix.length?a("grid-column",[a("base-toggle",{staticClass:"current-item",model:{value:e.dynamicOptions.breadcrumbs.taxonomies[t.name].showPrefixCrumb,callback:function(a){e.$set(e.dynamicOptions.breadcrumbs.taxonomies[t.name],"showPrefixCrumb",a)},expression:"dynamicOptions.breadcrumbs.taxonomies[taxonomy.name].showPrefixCrumb"}}),e._v(" "+e._s(e.strings.showPrefixLabel)+" ")],1):e._e(),a("grid-column",[a("base-toggle",{staticClass:"current-item",model:{value:e.dynamicOptions.breadcrumbs.taxonomies[t.name].showHomeCrumb,callback:function(a){e.$set(e.dynamicOptions.breadcrumbs.taxonomies[t.name],"showHomeCrumb",a)},expression:"dynamicOptions.breadcrumbs.taxonomies[taxonomy.name].showHomeCrumb"}}),e._v(" "+e._s(e.strings.showHomeLabel)+" ")],1),t.hierarchical?a("grid-column",[a("base-toggle",{staticClass:"current-item",model:{value:e.dynamicOptions.breadcrumbs.taxonomies[t.name].showParentCrumbs,callback:function(a){e.$set(e.dynamicOptions.breadcrumbs.taxonomies[t.name],"showParentCrumbs",a)},expression:"dynamicOptions.breadcrumbs.taxonomies[taxonomy.name].showParentCrumbs"}}),e._v(" "+e._s(e.strings.showParentLabel)+" ")],1):e._e(),a("grid-column",[a("core-settings-row",{attrs:{name:t.hierarchical&&e.dynamicOptions.breadcrumbs.taxonomies[t.name].showParentCrumbs?e.strings.singleTemplateLabel:"",leftSize:"12",rightSize:"12"},scopedSlots:e._u([{key:"content",fn:function(){return[a("core-html-tags-editor",{attrs:{"line-numbers":!0,checkUnfilteredHtml:"","tags-context":"breadcrumbs-taxonomy-"+t.name,"minimum-line-numbers":3,"default-tags":["breadcrumb_taxonomy_title","breadcrumb_link"]},model:{value:e.dynamicOptions.breadcrumbs.taxonomies[t.name].template,callback:function(a){e.$set(e.dynamicOptions.breadcrumbs.taxonomies[t.name],"template",a)},expression:"dynamicOptions.breadcrumbs.taxonomies[taxonomy.name].template"}})]},proxy:!0}],null,!0)})],1),t.hierarchical&&e.dynamicOptions.breadcrumbs.taxonomies[t.name].showParentCrumbs?a("grid-column",[a("core-settings-row",{attrs:{name:e.strings.parentTemplateLabel,leftSize:"12",rightSize:"12"},scopedSlots:e._u([{key:"content",fn:function(){return[a("core-html-tags-editor",{attrs:{"line-numbers":!0,checkUnfilteredHtml:"","tags-context":"breadcrumbs-taxonomy-"+t.name,"minimum-line-numbers":3,"default-tags":["breadcrumb_taxonomy_title","breadcrumb_link"]},model:{value:e.dynamicOptions.breadcrumbs.taxonomies[t.name].parentTemplate,callback:function(a){e.$set(e.dynamicOptions.breadcrumbs.taxonomies[t.name],"parentTemplate",a)},expression:"dynamicOptions.breadcrumbs.taxonomies[taxonomy.name].parentTemplate"}})]},proxy:!0}],null,!0)})],1):e._e()],1)],1)]},proxy:!0}],null,!0)})})),1)},s=[],r=a("5530"),o=(a("b0c0"),a("caad"),a("4de4"),a("ac1f"),a("5319"),a("4d63"),a("25f0"),a("2f62")),i=a("c468"),m={components:{preview:i["default"]},data:function(){return{strings:{useDefaultTemplate:this.$t.__("Use a default template",this.$td),showHomeLabel:this.$t.__("Show homepage link",this.$td),showPrefixLabel:this.$t.__("Show prefix link",this.$td),showParentLabel:this.$t.__("Show parent item link",this.$td),singleTemplateLabel:this.$t.__("Single item template",this.$td),parentTemplateLabel:this.$t.__("Parent item template",this.$td)}}},methods:{getPreview:function(e){var t=this.options.breadcrumbs,a=this.dynamicOptions.breadcrumbs.taxonomies[e.name],n=a.useDefaultTemplate;return[n&&t.breadcrumbPrefix||!n&&a.showPrefixCrumb?t.breadcrumbPrefix:"",n&&t.homepageLink||!n&&a.showHomeCrumb?t.homepageLabel?t.homepageLabel:"Home":"",["category","post_tag"].includes(e.name)&&t.showBlogHome&&this.$aioseo.data.staticBlogPage?"Blog Home":"",this.taxonomyHasArchive(e)?e.label:"",e.hierarchical&&(n||!n&&a.showParentCrumbs)?this.getTaxonomyParentTemplate(e):"",this.getTaxonomyTemplate(e)]},taxonomyHasArchive:function(e){return 0