Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`../../chunk-Bmb41Sf3.cjs`);const e=require(`../../_plugin-vue_export-helper-D8jCH6HB.cjs`),t=require(`./presence-constants.cjs`);let n=require(`vue`);var r={compatConfig:{MODE:3},name:`DtPresence`,props:{presence:{type:String,default:t.PRESENCE_STATES.ACTIVE,validator:e=>t.PRESENCE_STATES_LIST.includes(e)},srText:{type:String,default:null}}},i=[`aria-live`],a={key:0,"data-qa":`dt-presence-sr-text`,class:`sr-only`};function o(e,t,r,o,s,c){return(0,n.openBlock)(),(0,n.createElementBlock)(`div`,{class:`d-presence`,"data-qa":`dt-presence`,role:`status`,"aria-live":e.$attrs.ariaLive||`off`},[r.srText?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,a,(0,n.toDisplayString)(r.srText),1)):(0,n.createCommentVNode)(``,!0),(0,n.createElementVNode)(`div`,{class:(0,n.normalizeClass)([`d-presence__inner`,{"d-presence__inner--active":r.presence===`active`,"d-presence__inner--away":r.presence===`away`,"d-presence__inner--busy":r.presence===`busy`,"d-presence__inner--offline":r.presence===`offline`}])},null,2)],8,i)}var s=e.t(r,[[`render`,o]]);exports.default=s;
//# sourceMappingURL=presence.cjs.map