(window["aioseopjsonp"]=window["aioseopjsonp"]||[]).push([["settings-lite-Breadcrumbs-vue","settings-partials-Breadcrumbs-ContentTypesLite-vue","settings-partials-Breadcrumbs-Preview-vue"],{"1df9":function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"content"},e._l(e.postTypes,(function(t){return s("core-settings-row",{key:t.name,staticClass:"aioseo-breadcrumbs-post-type",attrs:{name:t.label},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",[s("preview",{attrs:{"preview-data":e.getPreview(t)}}),s("grid-row",[s("grid-column",[s("base-toggle",{staticClass:"current-item"}),e._v(" "+e._s(e.strings.useDefaultTemplate)+" ")],1)],1)],1)]},proxy:!0}],null,!0)})})),1)},r=[],n=s("5530"),o=(s("b0c0"),s("caad"),s("4de4"),s("ac1f"),s("5319"),s("4d63"),s("25f0"),s("d81d"),s("2532"),s("2f62")),i=s("c468"),u={components:{preview:i["default"]},data:function(){return{strings:{useDefaultTemplate:this.$t.__("Use a default template",this.$td)}}},methods:{getPreview:function(e){var t=this.options.breadcrumbs;return[t.breadcrumbPrefix?t.breadcrumbPrefix:"",t.homepageLink?t.homepageLabel?t.homepageLabel:"Home":"",t.showBlogHome&&"post"===e.name?"Blog Home":"",["post","page","attachment"].includes(e.name)?"":e.label,this.getPostTypeTaxonomy(e).singular,this.postTypeIsHierarchical(e)?"Post Parent":"",this.getPostTypeTemplate(e)]},postTypeIsHierarchical:function(e){return 01&&void 0!==arguments[1])||arguments[1],s=this.$aioseo.breadcrumbs.defaultTemplate;return s=t?s.replace(new RegExp("#breadcrumb_label","g"),e.singular):s.replace(new RegExp("#breadcrumb_label","g"),"#breadcrumb_post_title_"+e.name),s},getPostTaxonomyOptions:function(e){return this.$aioseo.postData.taxonomies.filter((function(t){return e.taxonomies.includes(t.name)})).map((function(e){return{value:e.name,label:e.label}}))},getPostTypeTaxonomy:function(e){var t=this.$aioseo.postData.taxonomies.filter((function(t){return e.taxonomies.includes(t.name)}));return 00&&a'+e.options.breadcrumbs.separator+"").replace(/#breadcrumb_link/g,"Permalink")}));return this.useDefaultTemplate&&!this.options.breadcrumbs.showCurrentItem&&(t=t.slice(0,t.length-1)),t}}},u=i,c=s("2877"),l=Object(c["a"])(u,a,r,!1,null,null,null);t["default"]=l.exports}}]);