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