/*!
 * Custom elements for Nanopore-Digital Web applications
 */
import{h as n}from"./index-BM3Om9WE.js";const o=["nano-avatar","nano-badge","nano-card","nano-content-links","nano-cta","nano-feature-box","nano-icon-item","nano-option-box","nano-progress-bar","nano-search-result","nano-skeleton","nano-spinner","nano-tag"];function t(n){return r&&n.startsWith("nano-")&&!o.includes(n)?`${r}-${n}`:n}function a(...o){const a=o[0];if(!a||"string"!=typeof a||!r)return n(...o);let e=a;"string"==typeof a&&(e=t(a));const s=o.slice(2);return n(e,o[1],s)}let r="";function e(n){return r=n,t}function s(){return r}a||(a={});export{s as g,a as h,e as s,t}