"use strict";globalThis.mercury??={globalBundleMappings:void 0};const{mercury:s}=globalThis,l=(o,n)=>{const{attachStyleSheet:c,bundleName:t,bundleNamePrefix:p,bundleMappings:m}=n,e=p?p+t:t,u=m??s.globalBundleMappings,g=u?u[t]:t,d=`${o}${g}.css`;return c===void 0?{name:e,url:d}:{name:e,url:d,attachStyleSheet:c}};export const getThemeBundles=(o,n)=>[l(o,{bundleName:"components/accordion",bundleNamePrefix:n}),l(o,{bundleName:"components/button",bundleNamePrefix:n}),l(o,{bundleName:"components/chat",bundleNamePrefix:n}),l(o,{bundleName:"components/checkbox",bundleNamePrefix:n}),l(o,{bundleName:"components/code",bundleNamePrefix:n}),l(o,{bundleName:"components/combo-box",bundleNamePrefix:n}),l(o,{bundleName:"components/flexible-layout",bundleNamePrefix:n}),l(o,{bundleName:"components/dialog",bundleNamePrefix:n}),l(o,{bundleName:"components/dropdown",bundleNamePrefix:n}),l(o,{bundleName:"components/icon",bundleNamePrefix:n}),l(o,{bundleName:"components/edit",bundleNamePrefix:n}),l(o,{bundleName:"components/layout-splitter",bundleNamePrefix:n}),l(o,{bundleName:"components/list-box",bundleNamePrefix:n}),l(o,{bundleName:"components/markdown-viewer",bundleNamePrefix:n,attachStyleSheet:!1}),l(o,{bundleName:"components/navigation-list",bundleNamePrefix:n}),l(o,{bundleName:"components/paginator",bundleNamePrefix:n}),l(o,{bundleName:"components/pills",bundleNamePrefix:n}),l(o,{bundleName:"components/radio-group",bundleNamePrefix:n}),l(o,{bundleName:"components/segmented-control",bundleNamePrefix:n}),l(o,{bundleName:"components/sidebar",bundleNamePrefix:n}),l(o,{bundleName:"components/slider",bundleNamePrefix:n}),l(o,{bundleName:"components/switch",bundleNamePrefix:n}),l(o,{bundleName:"components/tab",bundleNamePrefix:n}),l(o,{bundleName:"components/tabular-grid",bundleNamePrefix:n}),l(o,{bundleName:"components/ticket-list",bundleNamePrefix:n}),l(o,{bundleName:"components/tooltip",bundleNamePrefix:n}),l(o,{bundleName:"components/tree-view",bundleNamePrefix:n}),l(o,{bundleName:"components/widget",bundleNamePrefix:n}),l(o,{bundleName:"resets/box-sizing",bundleNamePrefix:n}),l(o,{bundleName:"utils/form",bundleNamePrefix:n}),l(o,{bundleName:"utils/elevation",bundleNamePrefix:n}),l(o,{bundleName:"utils/form--full",bundleNamePrefix:n}),l(o,{bundleName:"utils/layout",bundleNamePrefix:n}),l(o,{bundleName:"utils/link",bundleNamePrefix:n}),l(o,{bundleName:"utils/spacing",bundleNamePrefix:n}),l(o,{bundleName:"utils/typography",bundleNamePrefix:n}),l(o,{bundleName:"chameleon/scrollbar",bundleNamePrefix:n})];const i=(o,n)=>n?o.map(c=>n+c):o;export const getBundles=(o,n)=>{let c,t,p;return typeof n=="object"?(c=n.basePath,t=n.bundleNamePrefix,p=n.bundleMappings):c=n,c?o.map(m=>l(c,{bundleName:m,bundleNamePrefix:t,bundleMappings:p})):i(o,t)},setBundleMapping=o=>{s.globalBundleMappings=o};
