/*!
 * KoliBri - The accessible HTML-Standard
 */
import{h,F as Fragment}from"./index-2ae1c631.js";var freeGlobal="object"==typeof global&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol=root$1.Symbol;const Symbol$1=Symbol;var objectProto$1=Object.prototype,hasOwnProperty=objectProto$1.hasOwnProperty,nativeObjectToString$1=objectProto$1.toString,symToStringTag$1=Symbol$1?Symbol$1.toStringTag:void 0;function getRawTag(t){var e=hasOwnProperty.call(t,symToStringTag$1),o=t[symToStringTag$1];try{t[symToStringTag$1]=void 0;var r=!0}catch(t){}var n=nativeObjectToString$1.call(t);return r&&(e?t[symToStringTag$1]=o:delete t[symToStringTag$1]),n}var objectProto=Object.prototype,nativeObjectToString=objectProto.toString;function objectToString(t){return nativeObjectToString.call(t)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$1?Symbol$1.toStringTag:void 0;function baseGetTag(t){return null==t?void 0===t?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(t)?getRawTag(t):objectToString(t)}function isObjectLike(t){return null!=t&&"object"==typeof t}var isArray=Array.isArray;const isArray$1=isArray;var stringTag="[object String]";function isString(t){return"string"==typeof t||!isArray$1(t)&&isObjectLike(t)&&baseGetTag(t)==stringTag}const KolInternalUnderlinedBadgeTextFc=({badgeText:t,label:e})=>{const o=t;let[r,...n]=e.split(o);return 0===n.length&&(t=o.toUpperCase(),[r,...n]=e.split(o)),0===n.length&&(t=o.toLowerCase(),[r,...n]=e.split(o)),h(Fragment,null,r,n.length?h(Fragment,null,h("u",null,t),n.join(o)):null)},InternalUnderlinedBadgeText=KolInternalUnderlinedBadgeTextFc;export{InternalUnderlinedBadgeText as I,isString as i};