"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const d=require("./breadcrumbs-constants.cjs"),a=require("../../common/utils/index.cjs"),e=require("vue"),i=require("../../_plugin-vue_export-helper-BRilXfQE.cjs"),u=require("../link/link.cjs"),o=require("../link/link-constants.cjs"),c={name:"DtBreadcrumbItem",components:{DtLink:u.default},inheritAttrs:!1,props:{inverted:{type:Boolean,default:!1},selected:{type:Boolean,default:!1},label:{type:String,default:""}},data(){return{BREADCRUMB_ITEM_SELECTED_MODIFIER:d.BREADCRUMB_ITEM_SELECTED_MODIFIER}},computed:{linkKind(){return this.inverted?"":o.MUTED},linkInverted(){return!!this.inverted},ariaCurrent(){return this.selected?"location":void 0}},methods:{removeClassStyleAttrs:a.removeClassStyleAttrs,addClassStyleAttrs:a.addClassStyleAttrs}};function _(r,E,n,b,l,t){const s=e.resolveComponent("dt-link");return e.openBlock(),e.createElementBlock("li",e.mergeProps({"data-qa":"dt-breadcrumb-item",class:["d-breadcrumbs__item",{[l.BREADCRUMB_ITEM_SELECTED_MODIFIER]:n.selected}]},t.addClassStyleAttrs(r.$attrs)),[e.createVNode(s,e.mergeProps({kind:t.linkKind,inverted:t.linkInverted,"aria-current":t.ariaCurrent,"data-qa":"breadcrumb-item"},t.removeClassStyleAttrs(r.$attrs)),{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(n.label),1)])]),_:3},16,["kind","inverted","aria-current"])],16)}const m=i._(c,[["render",_]]);exports.default=m;
//# sourceMappingURL=breadcrumb-item.cjs.map
