revotech-ui-kit 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/dist/revotech-ui-kit.js +3313 -1122
  2. package/dist/revotech-ui-kit.umd.cjs +1031 -144
  3. package/dist/src/assets/icons/arrow-up-circle.icon.d.ts +1 -0
  4. package/dist/src/assets/icons/chorven-down.icon.d.ts +1 -0
  5. package/dist/src/assets/icons/circle-check.icon.d.ts +1 -0
  6. package/dist/src/assets/icons/circle-x.icon.d.ts +1 -0
  7. package/dist/src/assets/icons/circle.icon.d.ts +1 -0
  8. package/dist/src/assets/icons/close.icon.d.ts +1 -0
  9. package/dist/src/assets/icons/dot.icon.d.ts +1 -0
  10. package/dist/src/assets/icons/help-circle.icon.d.ts +1 -0
  11. package/dist/src/assets/icons/index.d.ts +10 -0
  12. package/dist/src/assets/icons/radio-group.icon.d.ts +1 -0
  13. package/dist/src/assets/icons/radio.icon.d.ts +1 -0
  14. package/dist/src/components/atoms/accordion/accordion-content.d.ts +12 -0
  15. package/dist/src/components/atoms/accordion/accordion-item.d.ts +22 -0
  16. package/dist/src/components/atoms/accordion/accordion-trigger.d.ts +17 -0
  17. package/dist/src/components/atoms/accordion/accordion.atoms.d.ts +23 -0
  18. package/dist/src/components/atoms/accordion/accordion.defs.d.ts +10 -0
  19. package/dist/{components/atoms/button/button.stories.d.ts → src/components/atoms/accordion/accordion.stories.d.ts} +1 -1
  20. package/dist/{components/atoms/card/card-content.d.ts → src/components/atoms/avatar/avatar-fallback.d.ts} +1 -1
  21. package/dist/src/components/atoms/avatar/avatar-image.d.ts +8 -0
  22. package/dist/{components/atoms/card/card-title.d.ts → src/components/atoms/avatar/avatar.atom.d.ts} +1 -1
  23. package/dist/src/components/atoms/avatar/avatar.stories.d.ts +5 -0
  24. package/dist/src/components/atoms/avatar/avatar.style.d.ts +3 -0
  25. package/dist/src/components/atoms/button/button.atom.d.ts +2 -0
  26. package/dist/src/components/atoms/checkbox/checkbox.stories.d.ts +1 -1
  27. package/dist/src/components/atoms/collapsible/collapsible-content.d.ts +12 -0
  28. package/dist/src/components/atoms/collapsible/collapsible-trigger.d.ts +15 -0
  29. package/dist/src/components/atoms/collapsible/collapsible.atom.d.ts +17 -0
  30. package/dist/{components/atoms/badge/badge.stories.d.ts → src/components/atoms/collapsible/collapsible.stories.d.ts} +1 -1
  31. package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-input.d.ts +5 -0
  32. package/dist/src/components/atoms/{combo-box → combobox}/combo-box-item.d.ts +5 -0
  33. package/dist/{components/atoms/combo-box → src/components/atoms/combobox}/combo-box-list.d.ts +5 -0
  34. package/dist/src/components/atoms/{combo-box → combobox}/combo-box.atom.d.ts +3 -0
  35. package/dist/src/components/atoms/command/command-item.atom.d.ts +4 -3
  36. package/dist/src/components/atoms/command/command.stories.d.ts +3 -2
  37. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-checkbox-Item.d.ts → context-menu/context-menu-checkbox-Item.d.ts} +1 -1
  38. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-content.d.ts → context-menu/context-menu-content.d.ts} +3 -3
  39. package/dist/{components/atoms/command/command-group.atom.d.ts → src/components/atoms/context-menu/context-menu-group.d.ts} +1 -1
  40. package/dist/{components/atoms/command/command-item.atom.d.ts → src/components/atoms/context-menu/context-menu-item.d.ts} +1 -1
  41. package/dist/src/components/atoms/{dropdownMenu/dropdown-menu-radio-item.d.ts → context-menu/context-menu-radio-item.d.ts} +1 -1
  42. package/dist/{components/atoms/command/command-separator.atom.d.ts → src/components/atoms/context-menu/context-menu-seperator.d.ts} +1 -1
  43. package/dist/src/components/atoms/context-menu/context-menu-shortcut.d.ts +6 -0
  44. package/dist/src/components/atoms/context-menu/context-menu.atom.d.ts +34 -0
  45. package/dist/src/components/atoms/context-menu/contextMenu.stories.d.ts +5 -0
  46. package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu.atom.d.ts +1 -0
  47. package/dist/src/components/atoms/dropdown-menu/dropdownMenu.style.d.ts +2 -0
  48. package/dist/src/components/atoms/hoverCard/hover-card-content.d.ts +12 -0
  49. package/dist/src/components/atoms/hoverCard/hover-card.atom.d.ts +13 -0
  50. package/dist/src/components/atoms/hoverCard/hover-card.stories.d.ts +5 -0
  51. package/dist/src/components/atoms/index.d.ts +10 -2
  52. package/dist/src/components/atoms/input/input.styles.d.ts +1 -1
  53. package/dist/src/components/atoms/popover/popover-content.d.ts +2 -1
  54. package/dist/src/components/atoms/popover/popover-trigger.d.ts +2 -2
  55. package/dist/src/components/atoms/popover/popover.style.d.ts +4 -0
  56. package/dist/{components/atoms/checkbox/checkbox.atom.d.ts → src/components/atoms/radio-group/radio-group-item.d.ts} +5 -7
  57. package/dist/src/components/atoms/radio-group/radio-group.atom.d.ts +16 -0
  58. package/dist/src/components/atoms/radio-group/radio-group.stories.d.ts +5 -0
  59. package/dist/src/components/atoms/radio-group/radio-group.types.d.ts +2 -0
  60. package/dist/src/components/atoms/sample-demo/sample-demo.d.ts +21 -0
  61. package/dist/src/components/atoms/sample-demo/sample.style.d.ts +4 -0
  62. package/dist/src/components/atoms/sample-demo/sample.type.d.ts +3 -0
  63. package/dist/{components/atoms/combo-box/combo-box-item.d.ts → src/components/atoms/select/select-item.d.ts} +1 -1
  64. package/dist/{components/atoms/card/card-header.d.ts → src/components/atoms/select/select-label.d.ts} +1 -1
  65. package/dist/src/components/atoms/select/select-list.d.ts +8 -0
  66. package/dist/{components/atoms/command/command-empty.atom.d.ts → src/components/atoms/select/select-seperator.d.ts} +1 -1
  67. package/dist/{components/atoms/combo-box/combo-box.atom.d.ts → src/components/atoms/select/select.atom.d.ts} +12 -6
  68. package/dist/src/components/atoms/select/select.stories.d.ts +6 -0
  69. package/dist/src/components/atoms/seperator/separator.atom.d.ts +14 -0
  70. package/dist/src/components/atoms/seperator/separator.defs.d.ts +10 -0
  71. package/dist/{components/atoms/dialog/dialog.stories.d.ts → src/components/atoms/seperator/separator.stories.d.ts} +3 -2
  72. package/dist/src/components/atoms/switch/switch.atom.d.ts +14 -0
  73. package/dist/src/components/atoms/switch/switch.stories.d.ts +5 -0
  74. package/dist/src/components/atoms/switch/switch.type.d.ts +4 -0
  75. package/dist/src/components/atoms/toast/toast-action.d.ts +15 -0
  76. package/dist/{components/atoms/card/card-description.d.ts → src/components/atoms/toast/toast-description.d.ts} +1 -1
  77. package/dist/{components/atoms/card/card-footer.d.ts → src/components/atoms/toast/toast-title.d.ts} +1 -1
  78. package/dist/src/components/atoms/toast/toast-view-port.d.ts +13 -0
  79. package/dist/src/components/atoms/toast/toast.atom.d.ts +11 -0
  80. package/dist/src/components/atoms/toast/toast.stories.d.ts +6 -0
  81. package/dist/src/components/atoms/toast/toast.style.d.ts +9 -0
  82. package/dist/src/components/atoms/toast/toast.type.d.ts +1 -0
  83. package/dist/src/components/atoms/toggle/toggle.atom.d.ts +1 -1
  84. package/dist/{components/atoms/toggle/defs.d.ts → src/components/atoms/toggle/toggle.defs.d.ts} +5 -5
  85. package/dist/src/components/molecules/breadcrumb/breadcrumb.stories.d.ts +6 -0
  86. package/dist/src/components/molecules/index.d.ts +11 -7
  87. package/dist/src/components/molecules/input-otp/input-otp-group.d.ts +13 -0
  88. package/dist/src/components/molecules/input-otp/input-otp-separator.d.ts +13 -0
  89. package/dist/src/components/molecules/input-otp/input-otp-slot.d.ts +13 -0
  90. package/dist/src/components/molecules/input-otp/input-otp.molecule.d.ts +33 -0
  91. package/dist/src/components/molecules/tabs/tab-contents.d.ts +13 -0
  92. package/dist/src/components/molecules/tabs/tab-list.d.ts +15 -0
  93. package/dist/src/components/molecules/tabs/tab-trigger.d.ts +18 -0
  94. package/dist/src/components/molecules/tabs/tab.molecules.d.ts +15 -0
  95. package/dist/src/components/molecules/tabs/tab.stories.d.ts +15 -0
  96. package/dist/src/components/molecules/toggle-group/toggle-group-item.d.ts +1 -1
  97. package/dist/src/components/molecules/toggle-group/{defs.d.ts → toggle-group.defs.d.ts} +7 -7
  98. package/dist/src/components/molecules/toggle-group/toggle-group.molecules.d.ts +1 -1
  99. package/dist/src/index.d.ts +2 -2
  100. package/package.json +7 -11
  101. package/dist/assets/icons/arrows.icon.d.ts +0 -1
  102. package/dist/assets/icons/index.d.ts +0 -3
  103. package/dist/assets/icons/search.icon.d.ts +0 -1
  104. package/dist/assets/icons/tick.icon.d.ts +0 -1
  105. package/dist/components/atoms/alert/alert-description.d.ts +0 -6
  106. package/dist/components/atoms/alert/alert-title.d.ts +0 -6
  107. package/dist/components/atoms/alert/alert.atom.d.ts +0 -23
  108. package/dist/components/atoms/alert/alert.stories.d.ts +0 -6
  109. package/dist/components/atoms/alert/alert.styles.d.ts +0 -4
  110. package/dist/components/atoms/alert/alert.types.d.ts +0 -1
  111. package/dist/components/atoms/badge/badge.atom.d.ts +0 -17
  112. package/dist/components/atoms/badge/badge.style.d.ts +0 -3
  113. package/dist/components/atoms/badge/badge.type.d.ts +0 -1
  114. package/dist/components/atoms/button/button.atom.d.ts +0 -23
  115. package/dist/components/atoms/button/button.style.d.ts +0 -4
  116. package/dist/components/atoms/button/button.type.d.ts +0 -3
  117. package/dist/components/atoms/card/card.atom.d.ts +0 -22
  118. package/dist/components/atoms/card/card.stories.d.ts +0 -6
  119. package/dist/components/atoms/checkbox/checkbox.stories.d.ts +0 -7
  120. package/dist/components/atoms/checkbox/checkbox.style.d.ts +0 -2
  121. package/dist/components/atoms/checkbox/checkbox.type.d.ts +0 -21
  122. package/dist/components/atoms/combo-box/combo-box.stories.d.ts +0 -6
  123. package/dist/components/atoms/command/command-input.atom.d.ts +0 -11
  124. package/dist/components/atoms/command/command-list.atom.d.ts +0 -7
  125. package/dist/components/atoms/command/command.atom.d.ts +0 -7
  126. package/dist/components/atoms/command/command.stories.d.ts +0 -5
  127. package/dist/components/atoms/dialog/dialog-close.d.ts +0 -13
  128. package/dist/components/atoms/dialog/dialog-content.d.ts +0 -9
  129. package/dist/components/atoms/dialog/dialog-footer.d.ts +0 -6
  130. package/dist/components/atoms/dialog/dialog-header.d.ts +0 -8
  131. package/dist/components/atoms/dialog/dialog-overly.d.ts +0 -6
  132. package/dist/components/atoms/dialog/dialog-trigger.d.ts +0 -9
  133. package/dist/components/atoms/dialog/dialog.atom.d.ts +0 -25
  134. package/dist/components/atoms/dropdownMenu/dropdownMenu.stories.d.ts +0 -7
  135. package/dist/components/atoms/dropdownMenu/dropdownMenu.style.d.ts +0 -2
  136. package/dist/components/atoms/index.d.ts +0 -19
  137. package/dist/components/atoms/input/input.atom.d.ts +0 -22
  138. package/dist/components/atoms/input/input.stories.d.ts +0 -6
  139. package/dist/components/atoms/input/input.styles.d.ts +0 -1
  140. package/dist/components/atoms/input/input.type.d.ts +0 -21
  141. package/dist/components/atoms/label/label.atom.d.ts +0 -17
  142. package/dist/components/atoms/label/label.stories.d.ts +0 -6
  143. package/dist/components/atoms/label/label.style.d.ts +0 -1
  144. package/dist/components/atoms/popover/popover-content.d.ts +0 -12
  145. package/dist/components/atoms/popover/popover-trigger.d.ts +0 -10
  146. package/dist/components/atoms/popover/popover.atom.d.ts +0 -19
  147. package/dist/components/atoms/popover/popover.stories.d.ts +0 -5
  148. package/dist/components/atoms/popover/popover.style.d.ts +0 -5
  149. package/dist/components/atoms/popover/popover.types.d.ts +0 -2
  150. package/dist/components/atoms/textarea/textarea.atom.d.ts +0 -17
  151. package/dist/components/atoms/textarea/textarea.stories.d.ts +0 -5
  152. package/dist/components/atoms/textarea/textarea.styles.d.ts +0 -1
  153. package/dist/components/atoms/textarea/textarea.type.d.ts +0 -11
  154. package/dist/components/atoms/toggle/toggle.atom.d.ts +0 -20
  155. package/dist/components/atoms/toggle/toggle.stories.d.ts +0 -6
  156. package/dist/components/atoms/toggle/toggle.style.d.ts +0 -4
  157. package/dist/components/index.d.ts +0 -2
  158. package/dist/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
  159. package/dist/components/molecules/index.d.ts +0 -7
  160. package/dist/components/molecules/toggle-group/defs.d.ts +0 -37
  161. package/dist/components/molecules/toggle-group/toggle-group-item.d.ts +0 -18
  162. package/dist/components/molecules/toggle-group/toggle-group.molecules.d.ts +0 -19
  163. package/dist/components/molecules/toggle-group/toggle-group.stories.d.ts +0 -5
  164. package/dist/components/molecules/toggle-group/toggle-group.style.d.ts +0 -4
  165. package/dist/helpers/base-element.d.ts +0 -11
  166. package/dist/helpers/index.d.ts +0 -3
  167. package/dist/helpers/mouse-conroller.helper.d.ts +0 -15
  168. package/dist/helpers/style.helpers.d.ts +0 -3
  169. package/dist/index.d.ts +0 -3
  170. package/dist/interfaces/actionable.interface.d.ts +0 -6
  171. package/dist/interfaces/atomic.interface.d.ts +0 -6
  172. package/dist/interfaces/changeable.interface.d.ts +0 -8
  173. package/dist/interfaces/child-support-atomic.interface.d.ts +0 -5
  174. package/dist/interfaces/index.d.ts +0 -6
  175. package/dist/interfaces/intractable.interface.d.ts +0 -6
  176. package/dist/interfaces/variant.interface.d.ts +0 -3
  177. package/dist/lib/index.d.ts +0 -0
  178. package/dist/lib/next/next.lib.d.ts +0 -0
  179. package/dist/lib/react/react.lib.d.ts +0 -3
  180. package/dist/lib/tw-styles.d.ts +0 -1
  181. package/dist/src/components/atoms/combo-box/combo-box-input.d.ts +0 -9
  182. package/dist/src/components/atoms/combo-box/combo-box-list.d.ts +0 -10
  183. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-group.d.ts +0 -11
  184. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-item.d.ts +0 -13
  185. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-seperator.d.ts +0 -10
  186. package/dist/src/components/atoms/dropdownMenu/dropdown-menu-shortcut.d.ts +0 -6
  187. package/dist/src/components/atoms/dropdownMenu/dropdown-menu.atom.d.ts +0 -31
  188. package/dist/src/components/atoms/toggle/defs.d.ts +0 -27
  189. package/dist/src/components/molecules/breadCrumb/Breadcrumb-link.d.ts +0 -8
  190. package/dist/src/components/molecules/breadCrumb/breadCrumb.stories.d.ts +0 -5
  191. package/dist/src/components/molecules/breadCrumb/breadcrumb-ellipsis.d.ts +0 -7
  192. package/dist/src/components/molecules/breadCrumb/breadcrumb-item.d.ts +0 -7
  193. package/dist/src/components/molecules/breadCrumb/breadcrumb-list.d.ts +0 -7
  194. package/dist/src/components/molecules/breadCrumb/breadcrumb-separator.d.ts +0 -7
  195. package/dist/src/components/molecules/breadCrumb/breadcrumb-text.d.ts +0 -7
  196. package/dist/src/components/molecules/breadCrumb/breadcrumb.molecules.d.ts +0 -7
  197. package/dist/src/components/molecules/breadCrumb/breadcrumb.styles.d.ts +0 -6
  198. package/dist/src/components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts +0 -0
  199. package/dist/styles/index.d.ts +0 -1
  200. package/dist/styles/tw.styles.d.ts +0 -1
  201. package/dist/wc-ui-app.d.ts +0 -7
  202. /package/dist/{components/molecules/dropdownMenu/dropdownMenu.molecules.d.ts → src/components/atoms/accordion/accordion.styles.d.ts} +0 -0
  203. /package/dist/src/components/atoms/{combo-box → combobox}/combo-box.stories.d.ts +0 -0
  204. /package/dist/src/components/atoms/{dropdownMenu/dropdownMenu.style.d.ts → context-menu/contextMenu.style.d.ts} +0 -0
  205. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-checkbox-Item.d.ts +0 -0
  206. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-content.d.ts +0 -0
  207. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-group.d.ts +0 -0
  208. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-item.d.ts +0 -0
  209. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-radio-item.d.ts +0 -0
  210. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-seperator.d.ts +0 -0
  211. /package/dist/{components/atoms/dropdownMenu → src/components/atoms/dropdown-menu}/dropdown-menu-shortcut.d.ts +0 -0
  212. /package/dist/src/components/atoms/{dropdownMenu → dropdown-menu}/dropdownMenu.stories.d.ts +0 -0
  213. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-ellipsis.d.ts +0 -0
  214. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-item.d.ts +0 -0
  215. /package/dist/{components/molecules/breadCrumb/Breadcrumb-link.d.ts → src/components/molecules/breadcrumb/breadcrumb-link.d.ts} +0 -0
  216. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-list.d.ts +0 -0
  217. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-separator.d.ts +0 -0
  218. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb-text.d.ts +0 -0
  219. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.molecules.d.ts +0 -0
  220. /package/dist/{components/molecules/breadCrumb → src/components/molecules/breadcrumb}/breadcrumb.styles.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- (function(a,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("lit"),require("lit/decorators.js"),require("lit/html.js"),require("lit/directive.js"),require("lit/async-directive.js"),require("lit-element")):typeof define=="function"&&define.amd?define(["exports","lit","lit/decorators.js","lit/html.js","lit/directive.js","lit/async-directive.js","lit-element"],l):(a=typeof globalThis<"u"?globalThis:a||self,l(a["revotech-ui-kit"]={},a.lit,a.decorators_js,a.html_js,a.directive_js,a.asyncDirective_js,a.litElement))})(this,function(a,l,d,gt,he,mt,ft){"use strict";function Le(n){var e,r,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var t=n.length;for(e=0;e<t;e++)n[e]&&(r=Le(n[e]))&&(o&&(o+=" "),o+=r)}else for(r in n)n[r]&&(o&&(o+=" "),o+=r);return o}function bt(){for(var n,e,r=0,o="",t=arguments.length;r<t;r++)(n=arguments[r])&&(e=Le(n))&&(o&&(o+=" "),o+=e);return o}const ge="-",vt=n=>{const e=yt(n),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:s=>{const c=s.split(ge);return c[0]===""&&c.length!==1&&c.shift(),Te(c,e)||wt(s)},getConflictingClassGroupIds:(s,c)=>{const b=r[s]||[];return c&&o[s]?[...b,...o[s]]:b}}},Te=(n,e)=>{var s;if(n.length===0)return e.classGroupId;const r=n[0],o=e.nextPart.get(r),t=o?Te(n.slice(1),o):void 0;if(t)return t;if(e.validators.length===0)return;const i=n.join(ge);return(s=e.validators.find(({validator:c})=>c(i)))==null?void 0:s.classGroupId},Be=/^\[(.+)\]$/,wt=n=>{if(Be.test(n)){const e=Be.exec(n)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},yt=n=>{const{theme:e,prefix:r}=n,o={nextPart:new Map,validators:[]};return $t(Object.entries(n.classGroups),r).forEach(([i,s])=>{me(s,o,i,e)}),o},me=(n,e,r,o)=>{n.forEach(t=>{if(typeof t=="string"){const i=t===""?e:Re(e,t);i.classGroupId=r;return}if(typeof t=="function"){if(xt(t)){me(t(o),e,r,o);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([i,s])=>{me(s,Re(e,i),r,o)})})},Re=(n,e)=>{let r=n;return e.split(ge).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},xt=n=>n.isThemeGetter,$t=(n,e)=>e?n.map(([r,o])=>{const t=o.map(i=>typeof i=="string"?e+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,c])=>[e+s,c])):i);return[r,t]}):n,_t=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,o=new Map;const t=(i,s)=>{r.set(i,s),e++,e>n&&(e=0,o=r,r=new Map)};return{get(i){let s=r.get(i);if(s!==void 0)return s;if((s=o.get(i))!==void 0)return t(i,s),s},set(i,s){r.has(i)?r.set(i,s):t(i,s)}}},Ne="!",Ct=n=>{const{separator:e,experimentalParseClassName:r}=n,o=e.length===1,t=e[0],i=e.length,s=c=>{const b=[];let g=0,m=0,x;for(let v=0;v<c.length;v++){let _=c[v];if(g===0){if(_===t&&(o||c.slice(v,v+i)===e)){b.push(c.slice(m,v)),m=v+i;continue}if(_==="/"){x=v;continue}}_==="["?g++:_==="]"&&g--}const $=b.length===0?c:c.substring(m),P=$.startsWith(Ne),k=P?$.substring(1):$,y=x&&x>m?x-m:void 0;return{modifiers:b,hasImportantModifier:P,baseClassName:k,maybePostfixModifierPosition:y}};return r?c=>r({className:c,parseClassName:s}):s},Ot=n=>{if(n.length<=1)return n;const e=[];let r=[];return n.forEach(o=>{o[0]==="["?(e.push(...r.sort(),o),r=[]):r.push(o)}),e.push(...r.sort()),e},kt=n=>({cache:_t(n.cacheSize),parseClassName:Ct(n),...vt(n)}),Dt=/\s+/,Pt=(n,e)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:t}=e,i=[],s=n.trim().split(Dt);let c="";for(let b=s.length-1;b>=0;b-=1){const g=s[b],{modifiers:m,hasImportantModifier:x,baseClassName:$,maybePostfixModifierPosition:P}=r(g);let k=!!P,y=o(k?$.substring(0,P):$);if(!y){if(!k){c=g+(c.length>0?" "+c:c);continue}if(y=o($),!y){c=g+(c.length>0?" "+c:c);continue}k=!1}const v=Ot(m).join(":"),_=x?v+Ne:v,D=_+y;if(i.includes(D))continue;i.push(D);const oe=t(y,k);for(let j=0;j<oe.length;++j){const ce=oe[j];i.push(_+ce)}c=g+(c.length>0?" "+c:c)}return c};function Et(){let n=0,e,r,o="";for(;n<arguments.length;)(e=arguments[n++])&&(r=qe(e))&&(o&&(o+=" "),o+=r);return o}const qe=n=>{if(typeof n=="string")return n;let e,r="";for(let o=0;o<n.length;o++)n[o]&&(e=qe(n[o]))&&(r&&(r+=" "),r+=e);return r};function St(n,...e){let r,o,t,i=s;function s(b){const g=e.reduce((m,x)=>x(m),n());return r=kt(g),o=r.cache.get,t=r.cache.set,i=c,c(b)}function c(b){const g=o(b);if(g)return g;const m=Pt(b,r);return t(b,m),m}return function(){return i(Et.apply(null,arguments))}}const f=n=>{const e=r=>r[n]||[];return e.isThemeGetter=!0,e},Fe=/^\[(?:([a-z-]+):)?(.+)\]$/i,Mt=/^\d+\/\d+$/,zt=new Set(["px","full","screen"]),At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,It=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Tt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,M=n=>G(n)||zt.has(n)||Mt.test(n),I=n=>V(n,"length",Ut),G=n=>!!n&&!Number.isNaN(Number(n)),fe=n=>V(n,"number",G),Z=n=>!!n&&Number.isInteger(Number(n)),Rt=n=>n.endsWith("%")&&G(n.slice(0,-1)),u=n=>Fe.test(n),L=n=>At.test(n),Nt=new Set(["length","size","percentage"]),qt=n=>V(n,Nt,je),Ft=n=>V(n,"position",je),jt=new Set(["image","url"]),Gt=n=>V(n,jt,Xt),Vt=n=>V(n,"",Ht),Q=()=>!0,V=(n,e,r)=>{const o=Fe.exec(n);return o?o[1]?typeof e=="string"?o[1]===e:e.has(o[1]):r(o[2]):!1},Ut=n=>It.test(n)&&!Lt.test(n),je=()=>!1,Ht=n=>Tt.test(n),Xt=n=>Bt.test(n),Yt=St(()=>{const n=f("colors"),e=f("spacing"),r=f("blur"),o=f("brightness"),t=f("borderColor"),i=f("borderRadius"),s=f("borderSpacing"),c=f("borderWidth"),b=f("contrast"),g=f("grayscale"),m=f("hueRotate"),x=f("invert"),$=f("gap"),P=f("gradientColorStops"),k=f("gradientColorStopPositions"),y=f("inset"),v=f("margin"),_=f("opacity"),D=f("padding"),oe=f("saturate"),j=f("scale"),ce=f("sepia"),at=f("skew"),lt=f("space"),dt=f("translate"),Me=()=>["auto","contain","none"],ze=()=>["auto","hidden","clip","visible","scroll"],Ae=()=>["auto",u,e],w=()=>[u,e],ct=()=>["",M,I],pe=()=>["auto",G,u],pt=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],ue=()=>["solid","dashed","dotted","double","none"],ut=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Ie=()=>["start","end","center","between","around","evenly","stretch"],ne=()=>["","0",u],ht=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>[G,u];return{cacheSize:500,separator:":",theme:{colors:[Q],spacing:[M,I],blur:["none","",L,u],brightness:A(),borderColor:[n],borderRadius:["none","","full",L,u],borderSpacing:w(),borderWidth:ct(),contrast:A(),grayscale:ne(),hueRotate:A(),invert:ne(),gap:w(),gradientColorStops:[n],gradientColorStopPositions:[Rt,I],inset:Ae(),margin:Ae(),opacity:A(),padding:w(),saturate:A(),scale:A(),sepia:ne(),skew:A(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",u]}],container:["container"],columns:[{columns:[L]}],"break-after":[{"break-after":ht()}],"break-before":[{"break-before":ht()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...pt(),u]}],overflow:[{overflow:ze()}],"overflow-x":[{"overflow-x":ze()}],"overflow-y":[{"overflow-y":ze()}],overscroll:[{overscroll:Me()}],"overscroll-x":[{"overscroll-x":Me()}],"overscroll-y":[{"overscroll-y":Me()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Z,u]}],basis:[{basis:Ae()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",u]}],grow:[{grow:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",Z,u]}],"grid-cols":[{"grid-cols":[Q]}],"col-start-end":[{col:["auto",{span:["full",Z,u]},u]}],"col-start":[{"col-start":pe()}],"col-end":[{"col-end":pe()}],"grid-rows":[{"grid-rows":[Q]}],"row-start-end":[{row:["auto",{span:[Z,u]},u]}],"row-start":[{"row-start":pe()}],"row-end":[{"row-end":pe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",u]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",u]}],gap:[{gap:[$]}],"gap-x":[{"gap-x":[$]}],"gap-y":[{"gap-y":[$]}],"justify-content":[{justify:["normal",...Ie()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Ie(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Ie(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[D]}],px:[{px:[D]}],py:[{py:[D]}],ps:[{ps:[D]}],pe:[{pe:[D]}],pt:[{pt:[D]}],pr:[{pr:[D]}],pb:[{pb:[D]}],pl:[{pl:[D]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[lt]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[lt]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",u,e]}],"min-w":[{"min-w":[u,e,"min","max","fit"]}],"max-w":[{"max-w":[u,e,"none","full","min","max","fit","prose",{screen:[L]},L]}],h:[{h:[u,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[u,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[u,e,"auto","min","max","fit"]}],"font-size":[{text:["base",L,I]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",fe]}],"font-family":[{font:[Q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",u]}],"line-clamp":[{"line-clamp":["none",G,fe]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",M,u]}],"list-image":[{"list-image":["none",u]}],"list-style-type":[{list:["none","disc","decimal",u]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[_]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[_]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",M,I]}],"underline-offset":[{"underline-offset":["auto",M,u]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",u]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",u]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[_]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pt(),Ft]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",qt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Gt]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[k]}],"gradient-via-pos":[{via:[k]}],"gradient-to-pos":[{to:[k]}],"gradient-from":[{from:[P]}],"gradient-via":[{via:[P]}],"gradient-to":[{to:[P]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[_]}],"border-style":[{border:[...ue(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[_]}],"divide-style":[{divide:ue()}],"border-color":[{border:[t]}],"border-color-x":[{"border-x":[t]}],"border-color-y":[{"border-y":[t]}],"border-color-t":[{"border-t":[t]}],"border-color-r":[{"border-r":[t]}],"border-color-b":[{"border-b":[t]}],"border-color-l":[{"border-l":[t]}],"divide-color":[{divide:[t]}],"outline-style":[{outline:["",...ue()]}],"outline-offset":[{"outline-offset":[M,u]}],"outline-w":[{outline:[M,I]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:ct()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[_]}],"ring-offset-w":[{"ring-offset":[M,I]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",L,Vt]}],"shadow-color":[{shadow:[Q]}],opacity:[{opacity:[_]}],"mix-blend":[{"mix-blend":[...ut(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ut()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",L,u]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[x]}],saturate:[{saturate:[oe]}],sepia:[{sepia:[ce]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[x]}],"backdrop-opacity":[{"backdrop-opacity":[_]}],"backdrop-saturate":[{"backdrop-saturate":[oe]}],"backdrop-sepia":[{"backdrop-sepia":[ce]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",u]}],duration:[{duration:A()}],ease:[{ease:["linear","in","out","in-out",u]}],delay:[{delay:A()}],animate:[{animate:["none","spin","ping","pulse","bounce",u]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[j]}],"scale-x":[{"scale-x":[j]}],"scale-y":[{"scale-y":[j]}],rotate:[{rotate:[Z,u]}],"translate-x":[{"translate-x":[dt]}],"translate-y":[{"translate-y":[dt]}],"skew-x":[{"skew-x":[at]}],"skew-y":[{"skew-y":[at]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",u]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",u]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",u]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[M,I,fe]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function h(...n){return Yt(bt(n))}class C extends l.LitElement{constructor(){super()}getFilteredAttributes(){const e={};return Array.from(this.attributes).forEach(r=>{this.getAttributesToExclude().includes(r.name)||(e[r.name]=r.value??"")}),e}isCustomPropertySet(e){const r=getComputedStyle(this).getPropertyValue(e).trim();return r!=="inherit"&&r.length>0}applyCustomClass(e,r,o=""){var i,s;let t="";e.some(c=>this.isCustomPropertySet(c))&&(t=o),t&&((s=(i=this.shadowRoot)==null?void 0:i.querySelector(r))==null||s.classList.add(t))}}function Ge(n){var e,r,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(r=Ge(n[e]))&&(o&&(o+=" "),o+=r);else for(e in n)n[e]&&(o&&(o+=" "),o+=e);return o}function Wt(){for(var n,e,r=0,o="";r<arguments.length;)(n=arguments[r++])&&(e=Ge(n))&&(o&&(o+=" "),o+=e);return o}const Ve=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,Ue=Wt,U=(n,e)=>r=>{var o;if((e==null?void 0:e.variants)==null)return Ue(n,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:t,defaultVariants:i}=e,s=Object.keys(t).map(g=>{const m=r==null?void 0:r[g],x=i==null?void 0:i[g];if(m===null)return null;const $=Ve(m)||Ve(x);return t[g][$]}),c=r&&Object.entries(r).reduce((g,m)=>{let[x,$]=m;return $===void 0||(g[x]=$),g},{}),b=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((g,m)=>{let{class:x,className:$,...P}=m;return Object.entries(P).every(k=>{let[y,v]=k;return Array.isArray(v)?v.includes({...i,...c}[y]):{...i,...c}[y]===v})?[...g,x,$]:g},[]);return Ue(n,s,b,r==null?void 0:r.class,r==null?void 0:r.className)},Kt=U("inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-7 rounded-sm px-3 text-xs",lg:"h-9 rounded-sm px-8",icon:"h-8 w-8"}},defaultVariants:{variant:"default",size:"default"}}),p=l.css` @font-face {
1
+ (function(a,l){typeof exports=="object"&&typeof module<"u"?l(exports,require("lit"),require("lit/decorators.js"),require("lit/html.js"),require("lit/directive.js"),require("lit/async-directive.js"),require("lit-element"),require("lit/directives/ref.js")):typeof define=="function"&&define.amd?define(["exports","lit","lit/decorators.js","lit/html.js","lit/directive.js","lit/async-directive.js","lit-element","lit/directives/ref.js"],l):(a=typeof globalThis<"u"?globalThis:a||self,l(a["revotech-ui-kit"]={},a.lit,a.decorators_js,a.html_js,a.directive_js,a.asyncDirective_js,a.litElement,a.ref_js))})(this,function(a,l,d,ar,Be,lr,D,Q){"use strict";function wt(n){var e,r,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n)){var t=n.length;for(e=0;e<t;e++)n[e]&&(r=wt(n[e]))&&(o&&(o+=" "),o+=r)}else for(r in n)n[r]&&(o&&(o+=" "),o+=r);return o}function dr(){for(var n,e,r=0,o="",t=arguments.length;r<t;r++)(n=arguments[r])&&(e=wt(n))&&(o&&(o+=" "),o+=e);return o}const Ne="-",cr=n=>{const e=pr(n),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=n;return{getClassGroupId:i=>{const u=i.split(Ne);return u[0]===""&&u.length!==1&&u.shift(),yt(u,e)||ur(i)},getConflictingClassGroupIds:(i,u)=>{const b=r[i]||[];return u&&o[i]?[...b,...o[i]]:b}}},yt=(n,e)=>{var i;if(n.length===0)return e.classGroupId;const r=n[0],o=e.nextPart.get(r),t=o?yt(n.slice(1),o):void 0;if(t)return t;if(e.validators.length===0)return;const s=n.join(Ne);return(i=e.validators.find(({validator:u})=>u(s)))==null?void 0:i.classGroupId},xt=/^\[(.+)\]$/,ur=n=>{if(xt.test(n)){const e=xt.exec(n)[1],r=e==null?void 0:e.substring(0,e.indexOf(":"));if(r)return"arbitrary.."+r}},pr=n=>{const{theme:e,prefix:r}=n,o={nextPart:new Map,validators:[]};return gr(Object.entries(n.classGroups),r).forEach(([s,i])=>{Fe(i,o,s,e)}),o},Fe=(n,e,r,o)=>{n.forEach(t=>{if(typeof t=="string"){const s=t===""?e:$t(e,t);s.classGroupId=r;return}if(typeof t=="function"){if(hr(t)){Fe(t(o),e,r,o);return}e.validators.push({validator:t,classGroupId:r});return}Object.entries(t).forEach(([s,i])=>{Fe(i,$t(e,s),r,o)})})},$t=(n,e)=>{let r=n;return e.split(Ne).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r},hr=n=>n.isThemeGetter,gr=(n,e)=>e?n.map(([r,o])=>{const t=o.map(s=>typeof s=="string"?e+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([i,u])=>[e+i,u])):s);return[r,t]}):n,mr=n=>{if(n<1)return{get:()=>{},set:()=>{}};let e=0,r=new Map,o=new Map;const t=(s,i)=>{r.set(s,i),e++,e>n&&(e=0,o=r,r=new Map)};return{get(s){let i=r.get(s);if(i!==void 0)return i;if((i=o.get(s))!==void 0)return t(s,i),i},set(s,i){r.has(s)?r.set(s,i):t(s,i)}}},Ct="!",fr=n=>{const{separator:e,experimentalParseClassName:r}=n,o=e.length===1,t=e[0],s=e.length,i=u=>{const b=[];let g=0,m=0,C;for(let v=0;v<u.length;v++){let P=u[v];if(g===0){if(P===t&&(o||u.slice(v,v+s)===e)){b.push(u.slice(m,v)),m=v+s;continue}if(P==="/"){C=v;continue}}P==="["?g++:P==="]"&&g--}const _=b.length===0?u:u.substring(m),k=_.startsWith(Ct),S=k?_.substring(1):_,$=C&&C>m?C-m:void 0;return{modifiers:b,hasImportantModifier:k,baseClassName:S,maybePostfixModifierPosition:$}};return r?u=>r({className:u,parseClassName:i}):i},br=n=>{if(n.length<=1)return n;const e=[];let r=[];return n.forEach(o=>{o[0]==="["?(e.push(...r.sort(),o),r=[]):r.push(o)}),e.push(...r.sort()),e},vr=n=>({cache:mr(n.cacheSize),parseClassName:fr(n),...cr(n)}),wr=/\s+/,yr=(n,e)=>{const{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:t}=e,s=[],i=n.trim().split(wr);let u="";for(let b=i.length-1;b>=0;b-=1){const g=i[b],{modifiers:m,hasImportantModifier:C,baseClassName:_,maybePostfixModifierPosition:k}=r(g);let S=!!k,$=o(S?_.substring(0,k):_);if(!$){if(!S){u=g+(u.length>0?" "+u:u);continue}if($=o(_),!$){u=g+(u.length>0?" "+u:u);continue}S=!1}const v=br(m).join(":"),P=C?v+Ct:v,E=P+$;if(s.includes(E))continue;s.push(E);const $e=t($,S);for(let J=0;J<$e.length;++J){const ze=$e[J];s.push(P+ze)}u=g+(u.length>0?" "+u:u)}return u};function xr(){let n=0,e,r,o="";for(;n<arguments.length;)(e=arguments[n++])&&(r=_t(e))&&(o&&(o+=" "),o+=r);return o}const _t=n=>{if(typeof n=="string")return n;let e,r="";for(let o=0;o<n.length;o++)n[o]&&(e=_t(n[o]))&&(r&&(r+=" "),r+=e);return r};function $r(n,...e){let r,o,t,s=i;function i(b){const g=e.reduce((m,C)=>C(m),n());return r=vr(g),o=r.cache.get,t=r.cache.set,s=u,u(b)}function u(b){const g=o(b);if(g)return g;const m=yr(b,r);return t(b,m),m}return function(){return s(xr.apply(null,arguments))}}const f=n=>{const e=r=>r[n]||[];return e.isThemeGetter=!0,e},Ot=/^\[(?:([a-z-]+):)?(.+)\]$/i,Cr=/^\d+\/\d+$/,_r=new Set(["px","full","screen"]),Or=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Pr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Sr=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Er=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kr=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=n=>ee(n)||_r.has(n)||Cr.test(n),T=n=>te(n,"length",Tr),ee=n=>!!n&&!Number.isNaN(Number(n)),Ge=n=>te(n,"number",ee),he=n=>!!n&&Number.isInteger(Number(n)),Dr=n=>n.endsWith("%")&&ee(n.slice(0,-1)),h=n=>Ot.test(n),B=n=>Or.test(n),Mr=new Set(["length","size","percentage"]),Ir=n=>te(n,Mr,Pt),Ar=n=>te(n,"position",Pt),Lr=new Set(["image","url"]),zr=n=>te(n,Lr,Nr),Rr=n=>te(n,"",Br),ge=()=>!0,te=(n,e,r)=>{const o=Ot.exec(n);return o?o[1]?typeof e=="string"?o[1]===e:e.has(o[1]):r(o[2]):!1},Tr=n=>Pr.test(n)&&!Sr.test(n),Pt=()=>!1,Br=n=>Er.test(n),Nr=n=>kr.test(n),Fr=$r(()=>{const n=f("colors"),e=f("spacing"),r=f("blur"),o=f("brightness"),t=f("borderColor"),s=f("borderRadius"),i=f("borderSpacing"),u=f("borderWidth"),b=f("contrast"),g=f("grayscale"),m=f("hueRotate"),C=f("invert"),_=f("gap"),k=f("gradientColorStops"),S=f("gradientColorStopPositions"),$=f("inset"),v=f("margin"),P=f("opacity"),E=f("padding"),$e=f("saturate"),J=f("scale"),ze=f("sepia"),er=f("skew"),tr=f("space"),rr=f("translate"),mt=()=>["auto","contain","none"],ft=()=>["auto","hidden","clip","visible","scroll"],bt=()=>["auto",h,e],w=()=>[h,e],or=()=>["",L,T],Re=()=>["auto",ee,h],nr=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Te=()=>["solid","dashed","dotted","double","none"],sr=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],vt=()=>["start","end","center","between","around","evenly","stretch"],Ce=()=>["","0",h],ir=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[ee,h];return{cacheSize:500,separator:":",theme:{colors:[ge],spacing:[L,T],blur:["none","",B,h],brightness:R(),borderColor:[n],borderRadius:["none","","full",B,h],borderSpacing:w(),borderWidth:or(),contrast:R(),grayscale:Ce(),hueRotate:R(),invert:Ce(),gap:w(),gradientColorStops:[n],gradientColorStopPositions:[Dr,T],inset:bt(),margin:bt(),opacity:R(),padding:w(),saturate:R(),scale:R(),sepia:Ce(),skew:R(),space:w(),translate:w()},classGroups:{aspect:[{aspect:["auto","square","video",h]}],container:["container"],columns:[{columns:[B]}],"break-after":[{"break-after":ir()}],"break-before":[{"break-before":ir()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...nr(),h]}],overflow:[{overflow:ft()}],"overflow-x":[{"overflow-x":ft()}],"overflow-y":[{"overflow-y":ft()}],overscroll:[{overscroll:mt()}],"overscroll-x":[{"overscroll-x":mt()}],"overscroll-y":[{"overscroll-y":mt()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[$]}],"inset-x":[{"inset-x":[$]}],"inset-y":[{"inset-y":[$]}],start:[{start:[$]}],end:[{end:[$]}],top:[{top:[$]}],right:[{right:[$]}],bottom:[{bottom:[$]}],left:[{left:[$]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",he,h]}],basis:[{basis:bt()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",h]}],grow:[{grow:Ce()}],shrink:[{shrink:Ce()}],order:[{order:["first","last","none",he,h]}],"grid-cols":[{"grid-cols":[ge]}],"col-start-end":[{col:["auto",{span:["full",he,h]},h]}],"col-start":[{"col-start":Re()}],"col-end":[{"col-end":Re()}],"grid-rows":[{"grid-rows":[ge]}],"row-start-end":[{row:["auto",{span:[he,h]},h]}],"row-start":[{"row-start":Re()}],"row-end":[{"row-end":Re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",h]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",h]}],gap:[{gap:[_]}],"gap-x":[{"gap-x":[_]}],"gap-y":[{"gap-y":[_]}],"justify-content":[{justify:["normal",...vt()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...vt(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...vt(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[E]}],px:[{px:[E]}],py:[{py:[E]}],ps:[{ps:[E]}],pe:[{pe:[E]}],pt:[{pt:[E]}],pr:[{pr:[E]}],pb:[{pb:[E]}],pl:[{pl:[E]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[tr]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[tr]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",h,e]}],"min-w":[{"min-w":[h,e,"min","max","fit"]}],"max-w":[{"max-w":[h,e,"none","full","min","max","fit","prose",{screen:[B]},B]}],h:[{h:[h,e,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[h,e,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[h,e,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[h,e,"auto","min","max","fit"]}],"font-size":[{text:["base",B,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ge]}],"font-family":[{font:[ge]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",h]}],"line-clamp":[{"line-clamp":["none",ee,Ge]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",L,h]}],"list-image":[{"list-image":["none",h]}],"list-style-type":[{list:["none","disc","decimal",h]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[n]}],"placeholder-opacity":[{"placeholder-opacity":[P]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[n]}],"text-opacity":[{"text-opacity":[P]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Te(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",L,T]}],"underline-offset":[{"underline-offset":["auto",L,h]}],"text-decoration-color":[{decoration:[n]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[P]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...nr(),Ar]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ir]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},zr]}],"bg-color":[{bg:[n]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[k]}],"gradient-via":[{via:[k]}],"gradient-to":[{to:[k]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[P]}],"border-style":[{border:[...Te(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[P]}],"divide-style":[{divide:Te()}],"border-color":[{border:[t]}],"border-color-x":[{"border-x":[t]}],"border-color-y":[{"border-y":[t]}],"border-color-t":[{"border-t":[t]}],"border-color-r":[{"border-r":[t]}],"border-color-b":[{"border-b":[t]}],"border-color-l":[{"border-l":[t]}],"divide-color":[{divide:[t]}],"outline-style":[{outline:["",...Te()]}],"outline-offset":[{"outline-offset":[L,h]}],"outline-w":[{outline:[L,T]}],"outline-color":[{outline:[n]}],"ring-w":[{ring:or()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[n]}],"ring-opacity":[{"ring-opacity":[P]}],"ring-offset-w":[{"ring-offset":[L,T]}],"ring-offset-color":[{"ring-offset":[n]}],shadow:[{shadow:["","inner","none",B,Rr]}],"shadow-color":[{shadow:[ge]}],opacity:[{opacity:[P]}],"mix-blend":[{"mix-blend":[...sr(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":sr()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[b]}],"drop-shadow":[{"drop-shadow":["","none",B,h]}],grayscale:[{grayscale:[g]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[C]}],saturate:[{saturate:[$e]}],sepia:[{sepia:[ze]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[b]}],"backdrop-grayscale":[{"backdrop-grayscale":[g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[C]}],"backdrop-opacity":[{"backdrop-opacity":[P]}],"backdrop-saturate":[{"backdrop-saturate":[$e]}],"backdrop-sepia":[{"backdrop-sepia":[ze]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",h]}],duration:[{duration:R()}],ease:[{ease:["linear","in","out","in-out",h]}],delay:[{delay:R()}],animate:[{animate:["none","spin","ping","pulse","bounce",h]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[J]}],"scale-x":[{"scale-x":[J]}],"scale-y":[{"scale-y":[J]}],rotate:[{rotate:[he,h]}],"translate-x":[{"translate-x":[rr]}],"translate-y":[{"translate-y":[rr]}],"skew-x":[{"skew-x":[er]}],"skew-y":[{"skew-y":[er]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",h]}],accent:[{accent:["auto",n]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",h]}],"caret-color":[{caret:[n]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",h]}],fill:[{fill:[n,"none"]}],"stroke-w":[{stroke:[L,T,Ge]}],stroke:[{stroke:[n,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function p(...n){return Fr(dr(n))}class y extends l.LitElement{constructor(){super()}getFilteredAttributes(){const e={};return Array.from(this.attributes).forEach(r=>{this.getAttributesToExclude().includes(r.name)||(e[r.name]=r.value??"")}),e}isCustomPropertySet(e){const r=getComputedStyle(this).getPropertyValue(e).trim();return r!=="inherit"&&r.length>0}applyCustomClass(e,r,o=""){var s,i;let t="";e.some(u=>this.isCustomPropertySet(u))&&(t=o),t&&((i=(s=this.shadowRoot)==null?void 0:s.querySelector(r))==null||i.classList.add(t))}}function St(n){var e,r,o="";if(typeof n=="string"||typeof n=="number")o+=n;else if(typeof n=="object")if(Array.isArray(n))for(e=0;e<n.length;e++)n[e]&&(r=St(n[e]))&&(o&&(o+=" "),o+=r);else for(e in n)n[e]&&(o&&(o+=" "),o+=e);return o}function Gr(){for(var n,e,r=0,o="";r<arguments.length;)(n=arguments[r++])&&(e=St(n))&&(o&&(o+=" "),o+=e);return o}const Et=n=>typeof n=="boolean"?"".concat(n):n===0?"0":n,kt=Gr,N=(n,e)=>r=>{var o;if((e==null?void 0:e.variants)==null)return kt(n,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:t,defaultVariants:s}=e,i=Object.keys(t).map(g=>{const m=r==null?void 0:r[g],C=s==null?void 0:s[g];if(m===null)return null;const _=Et(m)||Et(C);return t[g][_]}),u=r&&Object.entries(r).reduce((g,m)=>{let[C,_]=m;return _===void 0||(g[C]=_),g},{}),b=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((g,m)=>{let{class:C,className:_,...k}=m;return Object.entries(k).every(S=>{let[$,v]=S;return Array.isArray(v)?v.includes({...s,...u}[$]):{...s,...u}[$]===v})?[...g,C,_]:g},[]);return kt(n,i,b,r==null?void 0:r.class,r==null?void 0:r.className)},qr=N("inline-flex items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-7 rounded-sm px-3 text-xs",lg:"h-9 rounded-sm px-8",icon:"h-8 w-8"}},defaultVariants:{variant:"default",size:"default"}}),c=l.css` @font-face {
2
2
  font-family: 'GeistSans';
3
3
 
4
4
  src: url('assets/fonts/Geist/Geist-Regular.woff2') format('woff2');
@@ -676,6 +676,10 @@ body {
676
676
  pointer-events: none;
677
677
  }
678
678
 
679
+ .pointer-events-auto {
680
+ pointer-events: auto;
681
+ }
682
+
679
683
  .visible {
680
684
  visibility: visible;
681
685
  }
@@ -708,6 +712,10 @@ body {
708
712
  inset: 0px;
709
713
  }
710
714
 
715
+ .bottom-0 {
716
+ bottom: 0px;
717
+ }
718
+
711
719
  .end-3 {
712
720
  inset-inline-end: 0.75rem;
713
721
  }
@@ -720,10 +728,22 @@ body {
720
728
  left: 50%;
721
729
  }
722
730
 
731
+ .right-0 {
732
+ right: 0px;
733
+ }
734
+
735
+ .right-1 {
736
+ right: 0.25rem;
737
+ }
738
+
723
739
  .right-4 {
724
740
  right: 1rem;
725
741
  }
726
742
 
743
+ .top-0 {
744
+ top: 0px;
745
+ }
746
+
727
747
  .top-1 {
728
748
  top: 0.25rem;
729
749
  }
@@ -740,10 +760,18 @@ body {
740
760
  top: 50%;
741
761
  }
742
762
 
763
+ .top-auto {
764
+ top: auto;
765
+ }
766
+
743
767
  .z-50 {
744
768
  z-index: 50;
745
769
  }
746
770
 
771
+ .z-\\[100\\] {
772
+ z-index: 100;
773
+ }
774
+
747
775
  .col-span-2 {
748
776
  grid-column: span 2 / span 2;
749
777
  }
@@ -781,6 +809,11 @@ body {
781
809
  margin-bottom: 2.5rem;
782
810
  }
783
811
 
812
+ .my-2 {
813
+ margin-top: 0.5rem;
814
+ margin-bottom: 0.5rem;
815
+ }
816
+
784
817
  .my-4 {
785
818
  margin-top: 1rem;
786
819
  margin-bottom: 1rem;
@@ -819,6 +852,10 @@ body {
819
852
  display: block;
820
853
  }
821
854
 
855
+ .inline {
856
+ display: inline;
857
+ }
858
+
822
859
  .flex {
823
860
  display: flex;
824
861
  }
@@ -843,6 +880,10 @@ body {
843
880
  display: none;
844
881
  }
845
882
 
883
+ .aspect-square {
884
+ aspect-ratio: 1 / 1;
885
+ }
886
+
846
887
  .size-24 {
847
888
  width: 6rem;
848
889
  height: 6rem;
@@ -865,6 +906,11 @@ body {
865
906
  height: max-content;
866
907
  }
867
908
 
909
+ .size-4 {
910
+ width: 1rem;
911
+ height: 1rem;
912
+ }
913
+
868
914
  .h-1 {
869
915
  height: 0.25rem;
870
916
  }
@@ -885,6 +931,10 @@ body {
885
931
  height: 0.75rem;
886
932
  }
887
933
 
934
+ .h-3\\.5 {
935
+ height: 0.875rem;
936
+ }
937
+
888
938
  .h-4 {
889
939
  height: 1rem;
890
940
  }
@@ -905,6 +955,10 @@ body {
905
955
  height: 2.25rem;
906
956
  }
907
957
 
958
+ .h-\\[1px\\] {
959
+ height: 1px;
960
+ }
961
+
908
962
  .h-\\[400px\\] {
909
963
  height: 400px;
910
964
  }
@@ -925,6 +979,14 @@ body {
925
979
  max-height: 300px;
926
980
  }
927
981
 
982
+ .max-h-screen {
983
+ max-height: 100vh;
984
+ }
985
+
986
+ .min-h-\\[80px\\] {
987
+ min-height: 80px;
988
+ }
989
+
928
990
  .w-1 {
929
991
  width: 0.25rem;
930
992
  }
@@ -941,6 +1003,10 @@ body {
941
1003
  width: 0.75rem;
942
1004
  }
943
1005
 
1006
+ .w-3\\.5 {
1007
+ width: 0.875rem;
1008
+ }
1009
+
944
1010
  .w-32 {
945
1011
  width: 8rem;
946
1012
  }
@@ -953,6 +1019,10 @@ body {
953
1019
  width: 1.25rem;
954
1020
  }
955
1021
 
1022
+ .w-64 {
1023
+ width: 16rem;
1024
+ }
1025
+
956
1026
  .w-72 {
957
1027
  width: 18rem;
958
1028
  }
@@ -969,6 +1039,18 @@ body {
969
1039
  width: 2.25rem;
970
1040
  }
971
1041
 
1042
+ .w-\\[1px\\] {
1043
+ width: 1px;
1044
+ }
1045
+
1046
+ .w-\\[350px\\] {
1047
+ width: 350px;
1048
+ }
1049
+
1050
+ .w-\\[400px\\] {
1051
+ width: 400px;
1052
+ }
1053
+
972
1054
  .w-auto {
973
1055
  width: auto;
974
1056
  }
@@ -995,6 +1077,10 @@ body {
995
1077
  min-width: 20rem;
996
1078
  }
997
1079
 
1080
+ .min-w-\\[8rem\\] {
1081
+ min-width: 8rem;
1082
+ }
1083
+
998
1084
  .max-w-lg {
999
1085
  max-width: 32rem;
1000
1086
  }
@@ -1007,6 +1093,10 @@ body {
1007
1093
  max-width: 24rem;
1008
1094
  }
1009
1095
 
1096
+ .flex-1 {
1097
+ flex: 1 1 0%;
1098
+ }
1099
+
1010
1100
  .flex-auto {
1011
1101
  flex: 1 1 auto;
1012
1102
  }
@@ -1117,6 +1207,10 @@ body {
1117
1207
  resize: both;
1118
1208
  }
1119
1209
 
1210
+ .grid-cols-2 {
1211
+ grid-template-columns: repeat(2, minmax(0, 1fr));
1212
+ }
1213
+
1120
1214
  .grid-cols-3 {
1121
1215
  grid-template-columns: repeat(3, minmax(0, 1fr));
1122
1216
  }
@@ -1145,6 +1239,10 @@ body {
1145
1239
  flex-wrap: nowrap;
1146
1240
  }
1147
1241
 
1242
+ .items-start {
1243
+ align-items: flex-start;
1244
+ }
1245
+
1148
1246
  .items-center {
1149
1247
  align-items: center;
1150
1248
  }
@@ -1153,6 +1251,10 @@ body {
1153
1251
  align-items: stretch;
1154
1252
  }
1155
1253
 
1254
+ .justify-start {
1255
+ justify-content: flex-start;
1256
+ }
1257
+
1156
1258
  .justify-end {
1157
1259
  justify-content: flex-end;
1158
1260
  }
@@ -1307,14 +1409,27 @@ body {
1307
1409
  border-width: 4px;
1308
1410
  }
1309
1411
 
1412
+ .border-y {
1413
+ border-top-width: 1px;
1414
+ border-bottom-width: 1px;
1415
+ }
1416
+
1310
1417
  .border-b {
1311
1418
  border-bottom-width: 1px;
1312
1419
  }
1313
1420
 
1421
+ .border-r {
1422
+ border-right-width: 1px;
1423
+ }
1424
+
1314
1425
  .border-blue-200 {
1315
1426
  border-color: var(--blue-200);
1316
1427
  }
1317
1428
 
1429
+ .border-destructive {
1430
+ border-color: hsl(var(--destructive));
1431
+ }
1432
+
1318
1433
  .border-gray-200 {
1319
1434
  --tw-border-opacity: 1;
1320
1435
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
@@ -1333,6 +1448,10 @@ body {
1333
1448
  border-color: hsl(var(--input));
1334
1449
  }
1335
1450
 
1451
+ .border-muted {
1452
+ border-color: hsl(var(--muted));
1453
+ }
1454
+
1336
1455
  .border-primary {
1337
1456
  border-color: hsl(var(--primary));
1338
1457
  }
@@ -1406,6 +1525,10 @@ body {
1406
1525
  background-color: var(--green-100);
1407
1526
  }
1408
1527
 
1528
+ .bg-muted {
1529
+ background-color: hsl(var(--muted));
1530
+ }
1531
+
1409
1532
  .bg-popover {
1410
1533
  background-color: hsl(var(--popover));
1411
1534
  }
@@ -1450,14 +1573,34 @@ body {
1450
1573
  background-color: var(--yellow-100);
1451
1574
  }
1452
1575
 
1576
+ .fill-current {
1577
+ fill: currentColor;
1578
+ }
1579
+
1580
+ .fill-primary {
1581
+ fill: hsl(var(--primary));
1582
+ }
1583
+
1584
+ .p-0 {
1585
+ padding: 0;
1586
+ }
1587
+
1453
1588
  .p-1 {
1454
1589
  padding: 0.25rem;
1455
1590
  }
1456
1591
 
1592
+ .p-3 {
1593
+ padding: 0.75rem;
1594
+ }
1595
+
1457
1596
  .p-4 {
1458
1597
  padding: 1rem;
1459
1598
  }
1460
1599
 
1600
+ .p-5 {
1601
+ padding: 1.25rem;
1602
+ }
1603
+
1461
1604
  .p-6 {
1462
1605
  padding: 1.5rem;
1463
1606
  }
@@ -1487,6 +1630,11 @@ body {
1487
1630
  padding-right: 1.25rem;
1488
1631
  }
1489
1632
 
1633
+ .px-6 {
1634
+ padding-left: 1.5rem;
1635
+ padding-right: 1.5rem;
1636
+ }
1637
+
1490
1638
  .px-8 {
1491
1639
  padding-left: 2rem;
1492
1640
  padding-right: 2rem;
@@ -1532,10 +1680,18 @@ body {
1532
1680
  padding-bottom: 1.5rem;
1533
1681
  }
1534
1682
 
1683
+ .pb-4 {
1684
+ padding-bottom: 1rem;
1685
+ }
1686
+
1535
1687
  .pe-9 {
1536
1688
  padding-inline-end: 2.25rem;
1537
1689
  }
1538
1690
 
1691
+ .pr-6 {
1692
+ padding-right: 1.5rem;
1693
+ }
1694
+
1539
1695
  .ps-4 {
1540
1696
  padding-inline-start: 1rem;
1541
1697
  }
@@ -1596,6 +1752,10 @@ body {
1596
1752
  font-family: GeistSans, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1597
1753
  }
1598
1754
 
1755
+ .font-mono {
1756
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
1757
+ }
1758
+
1599
1759
  .text-2xl {
1600
1760
  font-size: 1.5rem;
1601
1761
  line-height: 2rem;
@@ -1698,6 +1858,15 @@ body {
1698
1858
  color: hsl(var(--foreground));
1699
1859
  }
1700
1860
 
1861
+ .text-foreground\\/50 {
1862
+ color: hsl(var(--foreground) / 0.5);
1863
+ }
1864
+
1865
+ .text-gray-400 {
1866
+ --tw-text-opacity: 1;
1867
+ color: rgb(156 163 175 / var(--tw-text-opacity));
1868
+ }
1869
+
1701
1870
  .text-gray-500 {
1702
1871
  --tw-text-opacity: 1;
1703
1872
  color: rgb(107 114 128 / var(--tw-text-opacity));
@@ -1732,6 +1901,11 @@ body {
1732
1901
  color: hsl(var(--primary-foreground));
1733
1902
  }
1734
1903
 
1904
+ .text-red-300 {
1905
+ --tw-text-opacity: 1;
1906
+ color: rgb(252 165 165 / var(--tw-text-opacity));
1907
+ }
1908
+
1735
1909
  .text-red-800 {
1736
1910
  color: var(--red-800);
1737
1911
  }
@@ -1760,6 +1934,10 @@ body {
1760
1934
  opacity: 1;
1761
1935
  }
1762
1936
 
1937
+ .opacity-40 {
1938
+ opacity: 0.4;
1939
+ }
1940
+
1763
1941
  .opacity-50 {
1764
1942
  opacity: 0.5;
1765
1943
  }
@@ -1768,6 +1946,10 @@ body {
1768
1946
  opacity: 0.7;
1769
1947
  }
1770
1948
 
1949
+ .opacity-90 {
1950
+ opacity: 0.9;
1951
+ }
1952
+
1771
1953
  .shadow {
1772
1954
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
1773
1955
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
@@ -1801,10 +1983,21 @@ body {
1801
1983
  outline-style: solid;
1802
1984
  }
1803
1985
 
1986
+ .ring-0 {
1987
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1988
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
1989
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
1990
+ }
1991
+
1804
1992
  .ring-offset-background {
1805
1993
  --tw-ring-offset-color: hsl(var(--background));
1806
1994
  }
1807
1995
 
1996
+ .blur {
1997
+ --tw-blur: blur(8px);
1998
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1999
+ }
2000
+
1808
2001
  .filter {
1809
2002
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
1810
2003
  }
@@ -1817,6 +2010,12 @@ body {
1817
2010
  transition-duration: 150ms;
1818
2011
  }
1819
2012
 
2013
+ .transition-all {
2014
+ transition-property: all;
2015
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
2016
+ transition-duration: 150ms;
2017
+ }
2018
+
1820
2019
  .transition-colors {
1821
2020
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1822
2021
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -1909,6 +2108,20 @@ body {
1909
2108
  color: hsl(var(--muted-foreground));
1910
2109
  }
1911
2110
 
2111
+ .first\\:rounded-l-md:first-child {
2112
+ border-top-left-radius: calc(var(--radius) - 2px);
2113
+ border-bottom-left-radius: calc(var(--radius) - 2px);
2114
+ }
2115
+
2116
+ .first\\:border-l:first-child {
2117
+ border-left-width: 1px;
2118
+ }
2119
+
2120
+ .last\\:rounded-r-md:last-child {
2121
+ border-top-right-radius: calc(var(--radius) - 2px);
2122
+ border-bottom-right-radius: calc(var(--radius) - 2px);
2123
+ }
2124
+
1912
2125
  .hover\\:bg-accent:hover {
1913
2126
  background-color: hsl(var(--accent));
1914
2127
  }
@@ -1930,6 +2143,10 @@ body {
1930
2143
  background-color: hsl(var(--primary) / 0.9);
1931
2144
  }
1932
2145
 
2146
+ .hover\\:bg-secondary:hover {
2147
+ background-color: hsl(var(--secondary));
2148
+ }
2149
+
1933
2150
  .hover\\:bg-secondary\\/80:hover {
1934
2151
  background-color: hsl(var(--secondary) / 0.8);
1935
2152
  }
@@ -1954,16 +2171,34 @@ body {
1954
2171
  opacity: 1;
1955
2172
  }
1956
2173
 
2174
+ .focus\\:bg-accent:focus {
2175
+ background-color: hsl(var(--accent));
2176
+ }
2177
+
1957
2178
  .focus\\:bg-gray-100:focus {
1958
2179
  --tw-bg-opacity: 1;
1959
2180
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
1960
2181
  }
1961
2182
 
2183
+ .focus\\:text-accent-foreground:focus {
2184
+ color: hsl(var(--accent-foreground));
2185
+ }
2186
+
2187
+ .focus\\:opacity-100:focus {
2188
+ opacity: 1;
2189
+ }
2190
+
1962
2191
  .focus\\:outline-none:focus {
1963
2192
  outline: 2px solid transparent;
1964
2193
  outline-offset: 2px;
1965
2194
  }
1966
2195
 
2196
+ .focus\\:ring-1:focus {
2197
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
2198
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
2199
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
2200
+ }
2201
+
1967
2202
  .focus\\:ring-2:focus {
1968
2203
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
1969
2204
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
@@ -2003,6 +2238,10 @@ body {
2003
2238
  --tw-ring-offset-width: 2px;
2004
2239
  }
2005
2240
 
2241
+ .focus-visible\\:ring-offset-background:focus-visible {
2242
+ --tw-ring-offset-color: hsl(var(--background));
2243
+ }
2244
+
2006
2245
  .disabled\\:pointer-events-none:disabled {
2007
2246
  pointer-events: none;
2008
2247
  }
@@ -2015,6 +2254,49 @@ body {
2015
2254
  opacity: 0.5;
2016
2255
  }
2017
2256
 
2257
+ .group:hover .group-hover\\:opacity-100 {
2258
+ opacity: 1;
2259
+ }
2260
+
2261
+ .group.destructive .group-\\[\\.destructive\\]\\:border-muted\\/40 {
2262
+ border-color: hsl(var(--muted) / 0.4);
2263
+ }
2264
+
2265
+ .group.destructive .group-\\[\\.destructive\\]\\:text-red-300 {
2266
+ --tw-text-opacity: 1;
2267
+ color: rgb(252 165 165 / var(--tw-text-opacity));
2268
+ }
2269
+
2270
+ .group.destructive .group-\\[\\.destructive\\]\\:hover\\:border-destructive\\/30:hover {
2271
+ border-color: hsl(var(--destructive) / 0.3);
2272
+ }
2273
+
2274
+ .group.destructive .group-\\[\\.destructive\\]\\:hover\\:bg-destructive:hover {
2275
+ background-color: hsl(var(--destructive));
2276
+ }
2277
+
2278
+ .group.destructive .group-\\[\\.destructive\\]\\:hover\\:text-destructive-foreground:hover {
2279
+ color: hsl(var(--destructive-foreground));
2280
+ }
2281
+
2282
+ .group.destructive .group-\\[\\.destructive\\]\\:hover\\:text-red-50:hover {
2283
+ --tw-text-opacity: 1;
2284
+ color: rgb(254 242 242 / var(--tw-text-opacity));
2285
+ }
2286
+
2287
+ .group.destructive .group-\\[\\.destructive\\]\\:focus\\:ring-destructive:focus {
2288
+ --tw-ring-color: hsl(var(--destructive));
2289
+ }
2290
+
2291
+ .group.destructive .group-\\[\\.destructive\\]\\:focus\\:ring-red-400:focus {
2292
+ --tw-ring-opacity: 1;
2293
+ --tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity));
2294
+ }
2295
+
2296
+ .group.destructive .group-\\[\\.destructive\\]\\:focus\\:ring-offset-red-600:focus {
2297
+ --tw-ring-offset-color: #dc2626;
2298
+ }
2299
+
2018
2300
  .peer:disabled ~ .peer-disabled\\:cursor-not-allowed {
2019
2301
  cursor: not-allowed;
2020
2302
  }
@@ -2023,6 +2305,10 @@ body {
2023
2305
  opacity: 0.7;
2024
2306
  }
2025
2307
 
2308
+ .has-\\[\\:disabled\\]\\:opacity-50:has(:disabled) {
2309
+ opacity: 0.5;
2310
+ }
2311
+
2026
2312
  .aria-selected\\:bg-accent[aria-selected="true"] {
2027
2313
  background-color: hsl(var(--accent));
2028
2314
  }
@@ -2035,6 +2321,53 @@ body {
2035
2321
  pointer-events: none;
2036
2322
  }
2037
2323
 
2324
+ .data-\\[swipe\\=cancel\\]\\:translate-x-0[data-swipe="cancel"] {
2325
+ --tw-translate-x: 0px;
2326
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2327
+ }
2328
+
2329
+ .data-\\[swipe\\=end\\]\\:translate-x-\\[var\\(--radix-toast-swipe-end-x\\)\\][data-swipe="end"] {
2330
+ --tw-translate-x: var(--radix-toast-swipe-end-x);
2331
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2332
+ }
2333
+
2334
+ .data-\\[swipe\\=move\\]\\:translate-x-\\[var\\(--radix-toast-swipe-move-x\\)\\][data-swipe="move"] {
2335
+ --tw-translate-x: var(--radix-toast-swipe-move-x);
2336
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2337
+ }
2338
+
2339
+ @keyframes accordion-up {
2340
+ from {
2341
+ height: var(--radix-accordion-content-height);
2342
+ }
2343
+
2344
+ to {
2345
+ height: 0;
2346
+ }
2347
+ }
2348
+
2349
+ .data-\\[state\\=closed\\]\\:animate-accordion-up[data-state="closed"] {
2350
+ animation: accordion-up 0.2s ease-out;
2351
+ }
2352
+
2353
+ @keyframes accordion-down {
2354
+ from {
2355
+ height: 0;
2356
+ }
2357
+
2358
+ to {
2359
+ height: var(--radix-accordion-content-height);
2360
+ }
2361
+ }
2362
+
2363
+ .data-\\[state\\=open\\]\\:animate-accordion-down[data-state="open"] {
2364
+ animation: accordion-down 0.2s ease-out;
2365
+ }
2366
+
2367
+ .data-\\[state\\=active\\]\\:bg-background[data-state="active"] {
2368
+ background-color: hsl(var(--background));
2369
+ }
2370
+
2038
2371
  .data-\\[state\\=checked\\]\\:bg-primary[data-state="checked"] {
2039
2372
  background-color: hsl(var(--primary));
2040
2373
  }
@@ -2047,6 +2380,10 @@ body {
2047
2380
  background-color: hsl(var(--accent));
2048
2381
  }
2049
2382
 
2383
+ .data-\\[state\\=active\\]\\:text-foreground[data-state="active"] {
2384
+ color: hsl(var(--foreground));
2385
+ }
2386
+
2050
2387
  .data-\\[state\\=checked\\]\\:text-primary-foreground[data-state="checked"] {
2051
2388
  color: hsl(var(--primary-foreground));
2052
2389
  }
@@ -2063,6 +2400,16 @@ body {
2063
2400
  opacity: 0.5;
2064
2401
  }
2065
2402
 
2403
+ .data-\\[state\\=active\\]\\:shadow-sm[data-state="active"] {
2404
+ --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
2405
+ --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
2406
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2407
+ }
2408
+
2409
+ .data-\\[swipe\\=move\\]\\:transition-none[data-swipe="move"] {
2410
+ transition-property: none;
2411
+ }
2412
+
2066
2413
  .data-\\[state\\=open\\]\\:animate-in[data-state="open"] {
2067
2414
  animation-name: enter;
2068
2415
  animation-duration: 150ms;
@@ -2083,10 +2430,24 @@ body {
2083
2430
  --tw-exit-translate-y: initial;
2084
2431
  }
2085
2432
 
2433
+ .data-\\[swipe\\=end\\]\\:animate-out[data-swipe="end"] {
2434
+ animation-name: exit;
2435
+ animation-duration: 150ms;
2436
+ --tw-exit-opacity: initial;
2437
+ --tw-exit-scale: initial;
2438
+ --tw-exit-rotate: initial;
2439
+ --tw-exit-translate-x: initial;
2440
+ --tw-exit-translate-y: initial;
2441
+ }
2442
+
2086
2443
  .data-\\[state\\=closed\\]\\:fade-out-0[data-state="closed"] {
2087
2444
  --tw-exit-opacity: 0;
2088
2445
  }
2089
2446
 
2447
+ .data-\\[state\\=closed\\]\\:fade-out-80[data-state="closed"] {
2448
+ --tw-exit-opacity: 0.8;
2449
+ }
2450
+
2090
2451
  .data-\\[state\\=open\\]\\:fade-in-0[data-state="open"] {
2091
2452
  --tw-enter-opacity: 0;
2092
2453
  }
@@ -2099,10 +2460,30 @@ body {
2099
2460
  --tw-enter-scale: .95;
2100
2461
  }
2101
2462
 
2463
+ .data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side="bottom"] {
2464
+ --tw-enter-translate-y: -0.5rem;
2465
+ }
2466
+
2467
+ .data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side="left"] {
2468
+ --tw-enter-translate-x: 0.5rem;
2469
+ }
2470
+
2471
+ .data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side="right"] {
2472
+ --tw-enter-translate-x: -0.5rem;
2473
+ }
2474
+
2475
+ .data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side="top"] {
2476
+ --tw-enter-translate-y: 0.5rem;
2477
+ }
2478
+
2102
2479
  .data-\\[state\\=closed\\]\\:slide-out-to-left-1\\/2[data-state="closed"] {
2103
2480
  --tw-exit-translate-x: -50%;
2104
2481
  }
2105
2482
 
2483
+ .data-\\[state\\=closed\\]\\:slide-out-to-right-full[data-state="closed"] {
2484
+ --tw-exit-translate-x: 100%;
2485
+ }
2486
+
2106
2487
  .data-\\[state\\=closed\\]\\:slide-out-to-top-\\[48\\%\\][data-state="closed"] {
2107
2488
  --tw-exit-translate-y: -48%;
2108
2489
  }
@@ -2115,6 +2496,10 @@ body {
2115
2496
  --tw-enter-translate-y: -48%;
2116
2497
  }
2117
2498
 
2499
+ .data-\\[state\\=open\\]\\:slide-in-from-top-full[data-state="open"] {
2500
+ --tw-enter-translate-y: -100%;
2501
+ }
2502
+
2118
2503
  .dark\\:border-neutral-700:is(.dark *) {
2119
2504
  --tw-border-opacity: 1;
2120
2505
  border-color: rgb(64 64 64 / var(--tw-border-opacity));
@@ -2151,9 +2536,16 @@ body {
2151
2536
  }
2152
2537
 
2153
2538
  @media (min-width: 640px) {
2154
- .sm\\:w-min {
2155
- width: -moz-min-content;
2156
- width: min-content;
2539
+ .sm\\:bottom-0 {
2540
+ bottom: 0px;
2541
+ }
2542
+
2543
+ .sm\\:right-0 {
2544
+ right: 0px;
2545
+ }
2546
+
2547
+ .sm\\:top-auto {
2548
+ top: auto;
2157
2549
  }
2158
2550
 
2159
2551
  .sm\\:max-w-\\[425px\\] {
@@ -2164,6 +2556,10 @@ body {
2164
2556
  flex-direction: row;
2165
2557
  }
2166
2558
 
2559
+ .sm\\:flex-col {
2560
+ flex-direction: column;
2561
+ }
2562
+
2167
2563
  .sm\\:justify-end {
2168
2564
  justify-content: flex-end;
2169
2565
  }
@@ -2185,6 +2581,21 @@ body {
2185
2581
  .sm\\:text-left {
2186
2582
  text-align: left;
2187
2583
  }
2584
+
2585
+ .data-\\[state\\=open\\]\\:sm\\:slide-in-from-bottom-full[data-state="open"] {
2586
+ --tw-enter-translate-y: 100%;
2587
+ }
2588
+ }
2589
+
2590
+ @media (min-width: 768px) {
2591
+ .md\\:max-w-\\[420px\\] {
2592
+ max-width: 420px;
2593
+ }
2594
+ }
2595
+
2596
+ .\\[\\&\\+div\\]\\:text-xs+div {
2597
+ font-size: 0.75rem;
2598
+ line-height: 1rem;
2188
2599
  }
2189
2600
 
2190
2601
  .\\[\\&\\:\\:-webkit-scrollbar-thumb\\]\\:rounded-full::-webkit-scrollbar-thumb {
@@ -2220,6 +2631,11 @@ body {
2220
2631
  height: 0.875rem;
2221
2632
  }
2222
2633
 
2634
+ .\\[\\&\\[data-state\\=open\\]\\>svg\\]\\:rotate-180[data-state=open]>svg {
2635
+ --tw-rotate: 180deg;
2636
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
2637
+ }
2638
+
2223
2639
  .\\[\\&_\\[rtgcmd-group-heading\\]\\]\\:px-2 [rtgcmd-group-heading] {
2224
2640
  padding-left: 0.5rem;
2225
2641
  padding-right: 0.5rem;
@@ -2242,17 +2658,44 @@ body {
2242
2658
  .\\[\\&_\\[rtgcmd-group-heading\\]\\]\\:text-muted-foreground [rtgcmd-group-heading] {
2243
2659
  color: hsl(var(--muted-foreground));
2244
2660
  }
2245
- `;class He extends mt.AsyncDirective{constructor(){super(...arguments),this.prevData={}}render(e){return gt.nothing}update(e,[r]){var o;this.element!==e.element&&(this.element=e.element),this.host=((o=e.options)===null||o===void 0?void 0:o.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(e){if(!e)return;const{prevData:r,element:o}=this;for(const t in e){const i=e[t];i!==r[t]&&(o[t]=i)}}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r)(!e||!(t in e)&&o[t]===r[t])&&(o[t]=void 0)}}he.directive(He);class Xe extends He{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const r in e){const o=e[r];o!==this.eventData[r]&&this.applyEvent(r,o)}}applyEvent(e,r){const{prevData:o,element:t}=this;this.eventData[e]=r,o[e]&&t.removeEventListener(e,this,r),t.addEventListener(e,this,r)}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r)(!e||!(t in e)&&o[t]===r[t])&&this.groomEvent(t,r[t])}groomEvent(e,r){const{element:o}=this;delete this.eventData[e],o.removeEventListener(e,this,r)}handleEvent(e){const r=this.eventData[e.type];typeof r=="function"?r.call(this.host,e):r.handleEvent(e)}disconnected(){const{eventData:e,element:r}=this;for(const o in e){const t=o.slice(1),i=e[o];r.removeEventListener(t,this,i)}}reconnected(){const{eventData:e,element:r}=this;for(const o in e){const t=o.slice(1),i=e[o];r.addEventListener(t,this,i)}}}he.directive(Xe);class Jt extends Xe{apply(e){if(!e)return;const{prevData:r,element:o}=this;for(const t in e){const i=e[t];if(i===r[t])continue;const s=t.slice(1);switch(t[0]){case"@":this.eventData[s]=i,this.applyEvent(s,i);break;case".":o[s]=i;break;case"?":i?o.setAttribute(s,""):o.removeAttribute(s);break;default:i!=null?o.setAttribute(t,String(i)):o.removeAttribute(t);break}}}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r){const i=t.slice(1);if(!e||!(t in e)&&o[i]===r[t])switch(t[0]){case"@":this.groomEvent(i,r[t]);break;case".":o[i]=void 0;break;case"?":o.removeAttribute(i);break;default:o.removeAttribute(t);break}}}}const O=he.directive(Jt);var Zt=Object.defineProperty,Qt=Object.getOwnPropertyDescriptor,H=(n,e,r,o)=>{for(var t=o>1?void 0:o?Qt(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Zt(e,r,t),t};a.Button=class extends C{constructor(){super(...arguments),this.click=()=>{},this.disabled=!1,this.type="button",this.variant="default",this.size="default"}handleClick(e){this.disabled||this.click()}getAttributesToExclude(){return["click","disabled","type","variant","size","data-testid"]}render(){const e=this.getFilteredAttributes();return l.html`
2246
- <button
2247
- type="${this.type}"
2248
- ?disabled="${this.disabled}"
2249
- class="${h(a.Button.buttonVariants({variant:this.variant,size:this.size,className:this.className}))}"
2250
- @click="${this.handleClick}"
2251
- ${O(e)}
2252
- >
2661
+
2662
+ .\\[\\&_svg\\]\\:pointer-events-none svg {
2663
+ pointer-events: none;
2664
+ }
2665
+
2666
+ .\\[\\&_svg\\]\\:size-4 svg {
2667
+ width: 1rem;
2668
+ height: 1rem;
2669
+ }
2670
+
2671
+ .\\[\\&_svg\\]\\:shrink-0 svg {
2672
+ flex-shrink: 0;
2673
+ }
2674
+ `;class Dt extends lr.AsyncDirective{constructor(){super(...arguments),this.prevData={}}render(e){return ar.nothing}update(e,[r]){var o;this.element!==e.element&&(this.element=e.element),this.host=((o=e.options)===null||o===void 0?void 0:o.host)||this.element,this.apply(r),this.groom(r),this.prevData={...r}}apply(e){if(!e)return;const{prevData:r,element:o}=this;for(const t in e){const s=e[t];s!==r[t]&&(o[t]=s)}}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r)(!e||!(t in e)&&o[t]===r[t])&&(o[t]=void 0)}}Be.directive(Dt);class Mt extends Dt{constructor(){super(...arguments),this.eventData={}}apply(e){if(e)for(const r in e){const o=e[r];o!==this.eventData[r]&&this.applyEvent(r,o)}}applyEvent(e,r){const{prevData:o,element:t}=this;this.eventData[e]=r,o[e]&&t.removeEventListener(e,this,r),t.addEventListener(e,this,r)}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r)(!e||!(t in e)&&o[t]===r[t])&&this.groomEvent(t,r[t])}groomEvent(e,r){const{element:o}=this;delete this.eventData[e],o.removeEventListener(e,this,r)}handleEvent(e){const r=this.eventData[e.type];typeof r=="function"?r.call(this.host,e):r.handleEvent(e)}disconnected(){const{eventData:e,element:r}=this;for(const o in e){const t=o.slice(1),s=e[o];r.removeEventListener(t,this,s)}}reconnected(){const{eventData:e,element:r}=this;for(const o in e){const t=o.slice(1),s=e[o];r.addEventListener(t,this,s)}}}Be.directive(Mt);class Vr extends Mt{apply(e){if(!e)return;const{prevData:r,element:o}=this;for(const t in e){const s=e[t];if(s===r[t])continue;const i=t.slice(1);switch(t[0]){case"@":this.eventData[i]=s,this.applyEvent(i,s);break;case".":o[i]=s;break;case"?":s?o.setAttribute(i,""):o.removeAttribute(i);break;default:s!=null?o.setAttribute(t,String(s)):o.removeAttribute(t);break}}}groom(e){const{prevData:r,element:o}=this;if(r)for(const t in r){const s=t.slice(1);if(!e||!(t in e)&&o[s]===r[t])switch(t[0]){case"@":this.groomEvent(s,r[t]);break;case".":o[s]=void 0;break;case"?":o.removeAttribute(s);break;default:o.removeAttribute(t);break}}}}const x=Be.directive(Vr);var Ur=Object.defineProperty,Xr=Object.getOwnPropertyDescriptor,F=(n,e,r,o)=>{for(var t=o>1?void 0:o?Xr(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ur(e,r,t),t};a.Button=class extends y{constructor(){super(...arguments),this.click=()=>{},this.disabled=!1,this.type="button",this.variant="default",this.size="default",this.externalClass="",this.isCustomClass=!1}handleClick(){this.disabled||this.click()}getAttributesToExclude(){return["click","disabled","type","variant","size","data-testid"]}render(){const e=this.getFilteredAttributes();return l.html`
2675
+ <button
2676
+ part="button"
2677
+ type="${this.type}"
2678
+ ?disabled="${this.disabled}"
2679
+ class="${p(a.Button.buttonVariants({variant:this.variant,size:this.size,className:this.className}))} ${this.externalClass} ${this.isCustomClass?"rtg-button-custom-class":""}"
2680
+ @click="${this.handleClick}"
2681
+ ${x(e)}
2682
+ >
2253
2683
  <slot></slot>
2254
2684
  </button>
2255
- `}},a.Button.buttonVariants=Kt,a.Button.styles=[l.css``,p],H([d.property({type:Function})],a.Button.prototype,"click",2),H([d.property({type:Boolean})],a.Button.prototype,"disabled",2),H([d.property({type:String})],a.Button.prototype,"type",2),H([d.property({type:String})],a.Button.prototype,"variant",2),H([d.property({type:String})],a.Button.prototype,"size",2),a.Button=H([d.customElement("rtg-button")],a.Button);const er="peer h-4 w-4 align-middle shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",tr="flex items-center justify-center text-current pointer-events-none";var rr=Object.defineProperty,or=Object.getOwnPropertyDescriptor,X=(n,e,r,o)=>{for(var t=o>1?void 0:o?or(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&rr(e,r,t),t};a.Checkbox=class extends l.LitElement{constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.type="text",this.value="",this.required=!1}_onClick(e){e.defaultPrevented||(this.checked=!this.checked,this.required=!this.required,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}click(){this.checked=!this.checked,this.required=!this.required}render(){const e={...this.dataset};return l.html`
2685
+ `}},a.Button.buttonVariants=qr,a.Button.styles=[l.css`
2686
+ :host {
2687
+ --rtg-button-bg: unset;
2688
+ --rtg-button-color: unset;
2689
+ --rtg-button-radius: unset;
2690
+ --rtg-button-height: unset;
2691
+ }
2692
+ .rtg-button-custom-class {
2693
+ background-color: var(--rtg-button-bg, unset) !important;
2694
+ color: var(--rtg-button-color, unset) !important;
2695
+ border-radius: var(--rtg-button-radius, unset) !important;
2696
+ height: var(--rtg-button-height, unset) !important;
2697
+ }
2698
+ `,c],F([d.property({type:Function})],a.Button.prototype,"click",2),F([d.property({type:Boolean})],a.Button.prototype,"disabled",2),F([d.property({type:String})],a.Button.prototype,"type",2),F([d.property({type:String})],a.Button.prototype,"variant",2),F([d.property({type:String})],a.Button.prototype,"size",2),F([d.property({type:String})],a.Button.prototype,"externalClass",2),F([d.property({type:String})],a.Button.prototype,"isCustomClass",2),a.Button=F([d.customElement("rtg-button")],a.Button);const Yr="peer h-4 w-4 align-middle shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",Hr="flex items-center justify-center text-current pointer-events-none";var Kr=Object.defineProperty,Wr=Object.getOwnPropertyDescriptor,re=(n,e,r,o)=>{for(var t=o>1?void 0:o?Wr(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Kr(e,r,t),t};a.Checkbox=class extends l.LitElement{constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.type="text",this.value="",this.required=!1}_onClick(e){e.defaultPrevented||(this.checked=!this.checked,this.required=!this.required,this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0})))}click(){this.checked=!this.checked,this.required=!this.required}render(){const e={...this.dataset};return l.html`
2256
2699
  <button
2257
2700
  data-testid="checkbox-atom"
2258
2701
  type="button"
@@ -2263,10 +2706,10 @@ body {
2263
2706
  ?required=${this.required}
2264
2707
  ?disabled=${this.disabled}
2265
2708
  @click="${this._onClick}"
2266
- class="${h(er,this.className)}"
2709
+ class="${p(Yr,this.className)}"
2267
2710
  ${Object.entries(e).map(([r,o])=>l.html` ${r}="${o}" `)}
2268
2711
  >
2269
- ${this.checked||this.value==="on"?l.html`<span data-state="checked" class="${tr}"
2712
+ ${this.checked||this.value==="on"?l.html`<span data-state="checked" class="${Hr}"
2270
2713
  ><svg
2271
2714
  xmlns="http://www.w3.org/2000/svg"
2272
2715
  width="24"
@@ -2282,9 +2725,9 @@ body {
2282
2725
  <polyline points="20 6 9 17 4 12"></polyline></svg
2283
2726
  ></span>`:l.nothing}
2284
2727
  </button>
2285
- `}},a.Checkbox.styles=[l.css``,p],X([d.property({type:Boolean})],a.Checkbox.prototype,"disabled",2),X([d.property({type:Boolean})],a.Checkbox.prototype,"checked",2),X([d.property({type:String})],a.Checkbox.prototype,"type",2),X([d.property({type:String})],a.Checkbox.prototype,"value",2),X([d.property({type:Boolean})],a.Checkbox.prototype,"required",2),a.Checkbox=X([d.customElement("rtg-checkbox")],a.Checkbox);var nr=Object.defineProperty,ir=Object.getOwnPropertyDescriptor,Ye=(n,e,r,o)=>{for(var t=o>1?void 0:o?ir(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&nr(e,r,t),t};const sr="open",We="closed";a.DialogContent=class extends l.LitElement{constructor(){super(...arguments),this.state=We,this.handleCloseButtonClick=()=>{const e=this._dialog;e&&(e.dataset.state=We)}}get _dialog(){let e=this.parentElement;for(;e;){if(e instanceof a.Dialog)return e;e=e.parentElement}return e}render(){return l.html`${this.state===sr?l.html`
2728
+ `}},a.Checkbox.styles=[l.css``,c],re([d.property({type:Boolean})],a.Checkbox.prototype,"disabled",2),re([d.property({type:Boolean})],a.Checkbox.prototype,"checked",2),re([d.property({type:String})],a.Checkbox.prototype,"type",2),re([d.property({type:String})],a.Checkbox.prototype,"value",2),re([d.property({type:Boolean})],a.Checkbox.prototype,"required",2),a.Checkbox=re([d.customElement("rtg-checkbox")],a.Checkbox);var Zr=Object.defineProperty,jr=Object.getOwnPropertyDescriptor,It=(n,e,r,o)=>{for(var t=o>1?void 0:o?jr(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Zr(e,r,t),t};const Jr="open",At="closed";a.DialogContent=class extends l.LitElement{constructor(){super(...arguments),this.state=At,this.handleCloseButtonClick=()=>{const e=this._dialog;e&&(e.dataset.state=At)}}get _dialog(){let e=this.parentElement;for(;e;){if(e instanceof a.Dialog)return e;e=e.parentElement}return e}render(){return l.html`${this.state===Jr?l.html`
2286
2729
  <div
2287
- class="${h("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",this.className)}"
2730
+ class="${p("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",this.className)}"
2288
2731
  rtgdlg-content
2289
2732
  >
2290
2733
  <slot></slot>
@@ -2310,69 +2753,60 @@ body {
2310
2753
  ><span class="sr-only">Close</span>
2311
2754
  </button>
2312
2755
  </div>
2313
- `:l.nothing}`}},a.DialogContent.styles=[l.css``,p],Ye([d.property({attribute:"data-state",type:String})],a.DialogContent.prototype,"state",2),a.DialogContent=Ye([d.customElement("rtg-dialog-content")],a.DialogContent);var ar=Object.defineProperty,lr=Object.getOwnPropertyDescriptor,dr=(n,e,r,o)=>{for(var t=o>1?void 0:o?lr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ar(e,r,t),t};const cr="closed";a.DialogClose=class extends l.LitElement{get _dialog(){let e=this.parentElement;for(;e;){if(e instanceof a.Dialog)return e;e=e.parentElement}return e}firstUpdated(e){var t;super.firstUpdated(e);const r=(t=this.shadowRoot)==null?void 0:t.querySelector("slot"),o=r==null?void 0:r.assignedElements();o&&o.length>0&&o[0].addEventListener("click",()=>{const s=this._dialog;s&&(s.dataset.state=cr)})}render(){return l.html`
2756
+ `:l.nothing}`}},a.DialogContent.styles=[l.css``,c],It([d.property({attribute:"data-state",type:String})],a.DialogContent.prototype,"state",2),a.DialogContent=It([d.customElement("rtg-dialog-content")],a.DialogContent);var Qr=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,to=(n,e,r,o)=>{for(var t=o>1?void 0:o?eo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Qr(e,r,t),t};const ro="closed";a.DialogClose=class extends l.LitElement{get _dialog(){let e=this.parentElement;for(;e;){if(e instanceof a.Dialog)return e;e=e.parentElement}return e}firstUpdated(e){var t;super.firstUpdated(e);const r=(t=this.shadowRoot)==null?void 0:t.querySelector("slot"),o=r==null?void 0:r.assignedElements();o&&o.length>0&&o[0].addEventListener("click",()=>{const i=this._dialog;i&&(i.dataset.state=ro)})}render(){return l.html`
2314
2757
  <div>
2315
2758
  <slot></slot>
2316
2759
  </div>
2317
- `}},a.DialogClose.styles=[l.css``,p],a.DialogClose=dr([d.customElement("rtg-dialog-close")],a.DialogClose);var pr=Object.defineProperty,ur=Object.getOwnPropertyDescriptor,hr=(n,e,r,o)=>{for(var t=o>1?void 0:o?ur(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&pr(e,r,t),t};a.DialogFooter=class extends l.LitElement{render(){return l.html`
2760
+ `}},a.DialogClose.styles=[l.css``,c],a.DialogClose=to([d.customElement("rtg-dialog-close")],a.DialogClose);var oo=Object.defineProperty,no=Object.getOwnPropertyDescriptor,so=(n,e,r,o)=>{for(var t=o>1?void 0:o?no(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&oo(e,r,t),t};a.DialogFooter=class extends l.LitElement{render(){return l.html`
2318
2761
  <div
2319
- class="${h("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",this.className)}"
2762
+ class="${p("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",this.className)}"
2320
2763
  >
2321
2764
  <slot></slot>
2322
2765
  </div>
2323
- `}},a.DialogFooter.styles=[l.css``,p],a.DialogFooter=hr([d.customElement("rtg-dialog-footer")],a.DialogFooter);var gr=Object.defineProperty,mr=Object.getOwnPropertyDescriptor,be=(n,e,r,o)=>{for(var t=o>1?void 0:o?mr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&gr(e,r,t),t};a.DialogHeader=class extends l.LitElement{constructor(){super(...arguments),this._title="",this.description=""}render(){return l.html`
2766
+ `}},a.DialogFooter.styles=[l.css``,c],a.DialogFooter=so([d.customElement("rtg-dialog-footer")],a.DialogFooter);var io=Object.defineProperty,ao=Object.getOwnPropertyDescriptor,qe=(n,e,r,o)=>{for(var t=o>1?void 0:o?ao(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&io(e,r,t),t};a.DialogHeader=class extends l.LitElement{constructor(){super(...arguments),this._title="",this.description=""}render(){return l.html`
2324
2767
  <div
2325
- class="${h("flex flex-col space-y-1.5 text-center sm:text-left",this.className)}"
2768
+ class="${p("flex flex-col space-y-1.5 text-center sm:text-left",this.className)}"
2326
2769
  >
2327
2770
  <h2
2328
- class="${h("text-lg font-semibold leading-none tracking-tight",this.className)}"
2771
+ class="${p("text-lg font-semibold leading-none tracking-tight",this.className)}"
2329
2772
  >
2330
2773
  ${this._title}
2331
2774
  </h2>
2332
- <p class="${h("text-sm text-muted-foreground",this.className)}">
2775
+ <p class="${p("text-sm text-muted-foreground",this.className)}">
2333
2776
  ${this.description}
2334
2777
  </p>
2335
2778
  </div>
2336
- `}},a.DialogHeader.styles=[l.css``,p],be([d.property({attribute:"title",type:String})],a.DialogHeader.prototype,"_title",2),be([d.property({type:String})],a.DialogHeader.prototype,"description",2),a.DialogHeader=be([d.customElement("rtg-dialog-header")],a.DialogHeader);var fr=Object.defineProperty,br=Object.getOwnPropertyDescriptor,vr=(n,e,r,o)=>{for(var t=o>1?void 0:o?br(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&fr(e,r,t),t};a.DialogOverlay=class extends l.LitElement{render(){return l.html`
2779
+ `}},a.DialogHeader.styles=[l.css``,c],qe([d.property({attribute:"title",type:String})],a.DialogHeader.prototype,"_title",2),qe([d.property({type:String})],a.DialogHeader.prototype,"description",2),a.DialogHeader=qe([d.customElement("rtg-dialog-header")],a.DialogHeader);var lo=Object.defineProperty,co=Object.getOwnPropertyDescriptor,uo=(n,e,r,o)=>{for(var t=o>1?void 0:o?co(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&lo(e,r,t),t};a.DialogOverlay=class extends l.LitElement{render(){return l.html`
2337
2780
  <div
2338
- class="${h("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",this.className)}"
2781
+ class="${p("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",this.className)}"
2339
2782
  ></div>
2340
- `}},a.DialogOverlay.styles=[l.css``,p],a.DialogOverlay=vr([d.customElement("rtg-dialog-overlay")],a.DialogOverlay);var wr=Object.defineProperty,yr=Object.getOwnPropertyDescriptor,Ke=(n,e,r,o)=>{for(var t=o>1?void 0:o?yr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&wr(e,r,t),t};const xr="open",$r="closed";a.Dialog=class extends l.LitElement{constructor(){super(...arguments),this.state=$r}get _content(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof a.DialogContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.state)}render(){return l.html`
2783
+ `}},a.DialogOverlay.styles=[l.css``,c],a.DialogOverlay=uo([d.customElement("rtg-dialog-overlay")],a.DialogOverlay);var po=Object.defineProperty,ho=Object.getOwnPropertyDescriptor,Lt=(n,e,r,o)=>{for(var t=o>1?void 0:o?ho(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&po(e,r,t),t};const go="open",mo="closed";a.Dialog=class extends l.LitElement{constructor(){super(...arguments),this.state=mo}get _content(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof a.DialogContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.state)}render(){return l.html`
2341
2784
  <div rtgdlg-root>
2342
- ${this.state===xr?l.html` <rtg-dialog-overlay></rtg-dialog-overlay>`:l.nothing}
2785
+ ${this.state===go?l.html` <rtg-dialog-overlay></rtg-dialog-overlay>`:l.nothing}
2343
2786
  <slot></slot>
2344
2787
  </div>
2345
- `}},a.Dialog.styles=[l.css``,p],Ke([d.property({attribute:"data-state",type:String})],a.Dialog.prototype,"state",2),a.Dialog=Ke([d.customElement("rtg-dialog")],a.Dialog);const _r="flex h-8 w-full rounded-sm border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";var Cr=Object.defineProperty,Or=Object.getOwnPropertyDescriptor,Y=(n,e,r,o)=>{for(var t=o>1?void 0:o?Or(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Cr(e,r,t),t};a.Input=class extends C{constructor(){super(),this.disabled=!1,this.type="text",this.placeholder="",this.defaultValue="",this.value="",this.attachShadow({mode:"open"}),this.value=this.value||this.defaultValue}firstUpdated(e){const r=["--input-border-radius","--input-padding"];this.applyCustomClass(r,"input","input-base"),this.type!=="file"&&this.defaultValue&&(this.value=this.defaultValue)}handleInputChange(e){const r=e.target;r.type==="file"?this.value=r.files?r.files[0].name:"":this.value=r.value}getAttributesToExclude(){return["disabled","type","placeholder","value","data-testid"]}render(){const e=this.getFilteredAttributes();return l.html`
2788
+ `}},a.Dialog.styles=[l.css``,c],Lt([d.property({attribute:"data-state",type:String})],a.Dialog.prototype,"state",2),a.Dialog=Lt([d.customElement("rtg-dialog")],a.Dialog);const fo="flex h-8 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:opacity-50 input-base";var bo=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,oe=(n,e,r,o)=>{for(var t=o>1?void 0:o?vo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&bo(e,r,t),t};a.Input=class extends y{constructor(){super(),this.disabled=!1,this.type="text",this.placeholder="",this.defaultValue="",this.value="",this.attachShadow({mode:"open"}),this.value=this.value||this.defaultValue}firstUpdated(e){const r=["--input-border-radius","--input-padding"];this.applyCustomClass(r,"input","input-base"),this.type!=="file"&&this.defaultValue&&(this.value=this.defaultValue)}handleInputChange(e){const r=e.target;r.type==="file"?this.value=r.files?r.files[0].name:"":this.value=r.value}getAttributesToExclude(){return["disabled","type","placeholder","value","data-testid"]}render(){const e=this.getFilteredAttributes();return l.html`
2346
2789
  <input
2790
+ part="input"
2347
2791
  type="${this.type}"
2348
2792
  placeholder="${this.placeholder}"
2349
2793
  ?disabled=${this.disabled}
2350
- class="${h(_r,this.className)}"
2794
+ class="${p(fo,this.className)}"
2351
2795
  .value=${this.type!=="file"?this.value:""}
2352
2796
  @change="${this.handleInputChange}"
2353
- ${O(e)}
2797
+ ${x(e)}
2354
2798
  />
2355
- `}},a.Input.styles=[l.css`
2356
- :root {
2357
- --input-border-radius: inherit;
2358
- --input-padding: inherit;
2359
- }
2360
- .input-base {
2361
- border-radius: var(--input-border-radius) !important;
2362
- padding-top: var(--input-padding) !important;
2363
- padding-bottom: var(--input-padding) !important;
2364
- }
2365
- `,p],Y([d.property({type:Boolean})],a.Input.prototype,"disabled",2),Y([d.property({type:String})],a.Input.prototype,"type",2),Y([d.property({type:String})],a.Input.prototype,"placeholder",2),Y([d.property({type:String})],a.Input.prototype,"defaultValue",2),Y([d.property({type:String})],a.Input.prototype,"value",2),a.Input=Y([d.customElement("rtg-input")],a.Input);const kr=U("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");var Dr=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor,Je=(n,e,r,o)=>{for(var t=o>1?void 0:o?Pr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Dr(e,r,t),t};let W=class extends C{constructor(){super(...arguments),this.for=""}firstUpdated(n){const e=["--label-text-color,--label-padding"];this.applyCustomClass(e,"label","label-base")}_onClick(n){var r;if(n.defaultPrevented)return;const e=(r=this.shadowRoot)==null?void 0:r.getElementById(this.for);e&&e.click()}getAttributesToExclude(){return["for","data-testid"]}render(){const n=this.getFilteredAttributes();return l.html`
2799
+ `}},a.Input.styles=[l.css``,c],oe([d.property({type:Boolean})],a.Input.prototype,"disabled",2),oe([d.property({type:String})],a.Input.prototype,"type",2),oe([d.property({type:String})],a.Input.prototype,"placeholder",2),oe([d.property({type:String})],a.Input.prototype,"defaultValue",2),oe([d.property({type:String})],a.Input.prototype,"value",2),a.Input=oe([d.customElement("rtg-input")],a.Input);const wo=N("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70");var yo=Object.defineProperty,xo=Object.getOwnPropertyDescriptor,zt=(n,e,r,o)=>{for(var t=o>1?void 0:o?xo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&yo(e,r,t),t};let ne=class extends y{constructor(){super(...arguments),this.for=""}firstUpdated(n){const e=["--label-text-color,--label-padding"];this.applyCustomClass(e,"label","label-base")}_onClick(n){var r;if(n.defaultPrevented)return;const e=(r=this.shadowRoot)==null?void 0:r.getElementById(this.for);e&&e.click()}getAttributesToExclude(){return["for","data-testid"]}render(){const n=this.getFilteredAttributes();return l.html`
2366
2800
  <label
2367
2801
  for="${this.for}"
2368
2802
  @click="${this._onClick}"
2369
2803
  @keydown="${this._onClick}"
2370
- class="${h(W.labelVariants({className:this.className}))}"
2371
- ${O(n)}
2804
+ class="${p(ne.labelVariants({className:this.className}))}"
2805
+ ${x(n)}
2372
2806
  >
2373
2807
  <slot></slot>
2374
2808
  </label>
2375
- `}};W.labelVariants=kr,W.styles=[l.css`
2809
+ `}};ne.labelVariants=wo,ne.styles=[l.css`
2376
2810
  :root {
2377
2811
  --label-text-color: inherit;
2378
2812
  --label-padding: inherit;
@@ -2381,24 +2815,24 @@ body {
2381
2815
  color: var(--label-text-color) !important;
2382
2816
  padding: var(--label-padding) !important;
2383
2817
  }
2384
- `,p],Je([d.property({type:String})],W.prototype,"for",2),W=Je([d.customElement("rtg-label")],W);var Er=Object.defineProperty,Sr=Object.getOwnPropertyDescriptor,Ze=(n,e,r,o)=>{for(var t=o>1?void 0:o?Sr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Er(e,r,t),t};let ie=class extends l.LitElement{render(){return l.html`
2818
+ `,c],zt([d.property({type:String})],ne.prototype,"for",2),ne=zt([d.customElement("rtg-label")],ne);var $o=Object.defineProperty,Co=Object.getOwnPropertyDescriptor,Rt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Co(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&$o(e,r,t),t};let _e=class extends l.LitElement{render(){return l.html`
2385
2819
  <div
2386
- class="${h("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground border shadow-md",this.className)}"
2820
+ class="${p("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground border shadow-md",this.className)}"
2387
2821
  id="rtgcmdr1"
2388
2822
  rtgcmd-root
2389
2823
  >
2390
2824
  <slot></slot>
2391
2825
  </div>
2392
- `}};ie.styles=[l.css``,p],Ze([d.queryAssignedElements({selector:"input[rtgcmd-input]"})],ie.prototype,"_input",2),ie=Ze([d.customElement("rtg-command")],ie);var Mr=Object.defineProperty,zr=Object.getOwnPropertyDescriptor,ve=(n,e,r,o)=>{for(var t=o>1?void 0:o?zr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Mr(e,r,t),t};let T=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="true"}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}e${T._counter++}`:this._id=`rtgcmdrxlxe${T._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
2826
+ `}};_e.styles=[l.css``,c],Rt([d.queryAssignedElements({selector:"input[rtgcmd-input]"})],_e.prototype,"_input",2),_e=Rt([d.customElement("rtg-command")],_e);var _o=Object.defineProperty,Oo=Object.getOwnPropertyDescriptor,Ve=(n,e,r,o)=>{for(var t=o>1?void 0:o?Oo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&_o(e,r,t),t};let G=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="true"}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}e${G._counter++}`:this._id=`rtgcmdrxlxe${G._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
2393
2827
  <div
2394
- class="${h("py-6 text-center text-sm",this.className)}"
2828
+ class="${p("py-6 text-center text-sm",this.className)}"
2395
2829
  rtgcmd-empty
2396
2830
  role="presentation"
2397
2831
  id="${this.identifier}"
2398
2832
  >
2399
2833
  <slot></slot>
2400
2834
  </div>
2401
- `}`}};T._counter=0,T.styles=[l.css``,p],ve([d.property({type:String})],T.prototype,"_id",2),ve([d.property({attribute:"aria-hidden",type:String})],T.prototype,"_hidden",2),T=ve([d.customElement("rtg-command-empty")],T);var Ar=Object.defineProperty,Ir=Object.getOwnPropertyDescriptor,se=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ir(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ar(e,r,t),t};let z=class extends l.LitElement{constructor(){super(...arguments),this.heading="",this._id="",this._hidden=""}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}g${z._counter++}`:this._id=`rtgcmdrxlxg${z._counter++}`,this._id}render(){const n="overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";return l.html`${this._hidden==="true"?l.nothing:l.html`
2835
+ `}`}};G._counter=0,G.styles=[l.css``,c],Ve([d.property({type:String})],G.prototype,"_id",2),Ve([d.property({attribute:"aria-hidden",type:String})],G.prototype,"_hidden",2),G=Ve([d.customElement("rtg-command-empty")],G);var Po=Object.defineProperty,So=Object.getOwnPropertyDescriptor,Oe=(n,e,r,o)=>{for(var t=o>1?void 0:o?So(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Po(e,r,t),t};let z=class extends l.LitElement{constructor(){super(...arguments),this.heading="",this._id="",this._hidden=""}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}g${z._counter++}`:this._id=`rtgcmdrxlxg${z._counter++}`,this._id}render(){const n="overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";return l.html`${this._hidden==="true"?l.nothing:l.html`
2402
2836
  <div
2403
2837
  class="${n}"
2404
2838
  rtgcmd-group
@@ -2420,9 +2854,9 @@ body {
2420
2854
  <slot></slot>
2421
2855
  </div>
2422
2856
  </div>
2423
- `}`}};z._counter=0,z.styles=[l.css``,p],se([d.property({type:String})],z.prototype,"heading",2),se([d.property({attribute:"id",type:String})],z.prototype,"_id",2),se([d.property({attribute:"aria-hidden",type:String})],z.prototype,"_hidden",2),z=se([d.customElement("rtg-command-group")],z);var Lr=Object.defineProperty,Tr=Object.getOwnPropertyDescriptor,we=(n,e,r,o)=>{for(var t=o>1?void 0:o?Tr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Lr(e,r,t),t};let ee=class extends l.LitElement{constructor(){super(...arguments),this.placeholder="Type a command or search...",this._value=""}get identifier(){var e,r;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-root]");return n?`${n.getAttribute("id")}i`:"rtgcmdrxi"}filterItems(){const n=this.parentElement;if(n){let e=!0;const r=n.querySelectorAll("rtg-command-list > rtg-command-group");r&&r.forEach(t=>{var b,g;let i=!0;const s=t.querySelectorAll("rtg-command-item");s&&s.forEach(m=>{((m==null?void 0:m.value)||"").toLowerCase().includes(this._value.toLowerCase())?(i=!1,e=!1,m.setAttribute("aria-hidden","false")):m.setAttribute("aria-hidden","true")}),t.setAttribute("aria-hidden",i?"true":"false");let c=t.previousElementSibling;c&&c.setAttribute("aria-hidden",i||((b=c.previousElementSibling)==null?void 0:b.getAttribute("aria-hidden"))==="true"?"true":"false"),c=t.nextElementSibling,c&&c.setAttribute("aria-hidden",i||((g=c.nextElementSibling)==null?void 0:g.getAttribute("aria-hidden"))==="true"?"true":"false")});const o=n.querySelector("rtg-command-empty");o&&o.setAttribute("aria-hidden",e?"false":"true")}}handleChange(n){const e=n.target;e&&(this._value=e.value,this.filterItems())}render(){return l.html`
2857
+ `}`}};z._counter=0,z.styles=[l.css``,c],Oe([d.property({type:String})],z.prototype,"heading",2),Oe([d.property({attribute:"id",type:String})],z.prototype,"_id",2),Oe([d.property({attribute:"aria-hidden",type:String})],z.prototype,"_hidden",2),z=Oe([d.customElement("rtg-command-group")],z);var Eo=Object.defineProperty,ko=Object.getOwnPropertyDescriptor,Ue=(n,e,r,o)=>{for(var t=o>1?void 0:o?ko(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Eo(e,r,t),t};let me=class extends l.LitElement{constructor(){super(...arguments),this.placeholder="Type a command or search...",this._value=""}get identifier(){var e,r;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-root]");return n?`${n.getAttribute("id")}i`:"rtgcmdrxi"}filterItems(){const n=this.parentElement;if(n){let e=!0;const r=n.querySelectorAll("rtg-command-list > rtg-command-group");r&&r.forEach(t=>{var b,g;let s=!0;const i=t.querySelectorAll("rtg-command-item");i&&i.forEach(m=>{((m==null?void 0:m.value)||"").toLowerCase().includes(this._value.toLowerCase())?(s=!1,e=!1,m.setAttribute("aria-hidden","false")):m.setAttribute("aria-hidden","true")}),t.setAttribute("aria-hidden",s?"true":"false");let u=t.previousElementSibling;u&&u.setAttribute("aria-hidden",s||((b=u.previousElementSibling)==null?void 0:b.getAttribute("aria-hidden"))==="true"?"true":"false"),u=t.nextElementSibling,u&&u.setAttribute("aria-hidden",s||((g=u.nextElementSibling)==null?void 0:g.getAttribute("aria-hidden"))==="true"?"true":"false")});const o=n.querySelector("rtg-command-empty");o&&o.setAttribute("aria-hidden",e?"false":"true")}}handleChange(n){const e=n.target;e&&(this._value=e.value,this.filterItems())}render(){return l.html`
2424
2858
  <div
2425
- class="${h("flex items-center border-b px-3",this.className)}"
2859
+ class="${p("flex items-center border-b px-3",this.className)}"
2426
2860
  name="rtgcmd-input-container"
2427
2861
  >
2428
2862
  <svg
@@ -2458,12 +2892,13 @@ body {
2458
2892
  data-value="${this._value}"
2459
2893
  />
2460
2894
  </div>
2461
- `}};ee.styles=[l.css``,p],we([d.property({type:String})],ee.prototype,"placeholder",2),we([d.property({attribute:"value",type:String})],ee.prototype,"_value",2),ee=we([d.customElement("rtg-command-input")],ee);var Br=Object.defineProperty,Rr=Object.getOwnPropertyDescriptor,te=(n,e,r,o)=>{for(var t=o>1?void 0:o?Rr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Br(e,r,t),t};let E=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-group]");return n?this._id=`${n.getAttribute("id")}li${E._counter++}`:this._id=`rtgcmdrxgxli${E._counter++}`,this._id}get value(){var n;return((n=this.textContent)==null?void 0:n.trim())||""}handleMouseEvent(n){(n.type==="mouseover"||n.type==="focus")&&(this.selected=!0),n.type==="mouseleave"&&(this.selected=!1)}render(){return l.html` ${this._hidden==="true"?l.nothing:l.html`
2895
+ `}};me.styles=[l.css``,c],Ue([d.property({type:String})],me.prototype,"placeholder",2),Ue([d.property({attribute:"value",type:String})],me.prototype,"_value",2),me=Ue([d.customElement("rtg-command-input")],me);var Do=Object.defineProperty,Mo=Object.getOwnPropertyDescriptor,fe=(n,e,r,o)=>{for(var t=o>1?void 0:o?Mo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Do(e,r,t),t};let M=class extends l.LitElement{constructor(){super(...arguments),this.selected=!1,this._id="",this._hidden="",this.onSelect=()=>{}}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-group]");return n?this._id=`${n.getAttribute("id")}li${M._counter++}`:this._id=`rtgcmdrxgxli${M._counter++}`,this._id}get value(){var n;return((n=this.textContent)==null?void 0:n.trim())||""}handleMouseEvent(n){(n.type==="mouseover"||n.type==="focus")&&(this.selected=!0),n.type==="mouseleave"&&(this.selected=!1)}render(){return l.html` ${this._hidden==="true"?l.nothing:l.html`
2462
2896
  <div
2463
- class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",this.className)}"
2897
+ class="${p("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",this.className)}"
2464
2898
  @mouseover="${this.handleMouseEvent}"
2465
2899
  @mouseleave="${this.handleMouseEvent}"
2466
2900
  @focus="${this.handleMouseEvent}"
2901
+ @click="${this.onSelect}"
2467
2902
  rtgcmd-item
2468
2903
  role="option"
2469
2904
  aria-selected="${this.selected}"
@@ -2474,9 +2909,9 @@ body {
2474
2909
  >
2475
2910
  <slot></slot>
2476
2911
  </div>
2477
- `}`}};E._counter=0,E.styles=[l.css``,p],te([d.property({type:String})],E.prototype,"_id",2),te([d.property({attribute:"aria-hidden",type:String})],E.prototype,"_hidden",2),te([d.property({attribute:"data-value",type:String})],E.prototype,"value",1),te([d.property({type:Boolean})],E.prototype,"selected",2),E=te([d.customElement("rtg-command-item")],E);var Nr=Object.defineProperty,qr=Object.getOwnPropertyDescriptor,Fr=(n,e,r,o)=>{for(var t=o>1?void 0:o?qr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Nr(e,r,t),t};let ye=class extends l.LitElement{get identifier(){var e,r;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-root]");return n?`${n.getAttribute("id")}l`:"rtgcmdrxl"}render(){return l.html`
2912
+ `}`}};M._counter=0,M.styles=[l.css``,c],fe([d.property({type:String})],M.prototype,"_id",2),fe([d.property({attribute:"aria-hidden",type:String})],M.prototype,"_hidden",2),fe([d.property({type:Function})],M.prototype,"onSelect",2),fe([d.property({attribute:"data-value",type:String}),d.property({type:Boolean})],M.prototype,"identifier",1),M=fe([d.customElement("rtg-command-item")],M);var Io=Object.defineProperty,Ao=Object.getOwnPropertyDescriptor,Lo=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ao(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Io(e,r,t),t};let Xe=class extends l.LitElement{get identifier(){var e,r;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-root]");return n?`${n.getAttribute("id")}l`:"rtgcmdrxl"}render(){return l.html`
2478
2913
  <div
2479
- class="${h("max-h-[300px] overflow-y-auto overflow-x-hidden",this.className)}"
2914
+ class="${p("max-h-[300px] overflow-y-auto overflow-x-hidden",this.className)}"
2480
2915
  role="listbox"
2481
2916
  id="${this.identifier}"
2482
2917
  style="--rtgcmd-list-height: 265.0px;"
@@ -2486,37 +2921,28 @@ body {
2486
2921
  <slot></slot>
2487
2922
  </div>
2488
2923
  </div>
2489
- `}};ye.styles=[l.css``,p],ye=Fr([d.customElement("rtg-command-list")],ye);var jr=Object.defineProperty,Gr=Object.getOwnPropertyDescriptor,xe=(n,e,r,o)=>{for(var t=o>1?void 0:o?Gr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&jr(e,r,t),t};let B=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}s${B._counter++}`:this._id=`rtgcmdrxlxs${B._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
2924
+ `}};Xe.styles=[l.css``,c],Xe=Lo([d.customElement("rtg-command-list")],Xe);var zo=Object.defineProperty,Ro=Object.getOwnPropertyDescriptor,Ye=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ro(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&zo(e,r,t),t};let q=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var e,r;if(this._id!=="")return this._id;const n=(r=(e=this.parentElement)==null?void 0:e.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-list]");return n?this._id=`${n.getAttribute("id")}s${q._counter++}`:this._id=`rtgcmdrxlxs${q._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
2490
2925
  <div
2491
- class="${h("-mx-1 h-px bg-border",this.className)}"
2926
+ class="${p("-mx-1 h-px bg-border",this.className)}"
2492
2927
  rtgcmd-separator
2493
2928
  role="separator"
2494
2929
  id="${this.identifier}"
2495
2930
  ></div>
2496
- `}`}};B._counter=0,B.styles=[l.css``,p],xe([d.property({type:String})],B.prototype,"_id",2),xe([d.property({attribute:"aria-hidden",type:String})],B.prototype,"_hidden",2),B=xe([d.customElement("rtg-command-separator")],B);var Vr=Object.defineProperty,Ur=Object.getOwnPropertyDescriptor,Hr=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ur(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Vr(e,r,t),t};a.CardTitle=class extends l.LitElement{render(){return l.html`
2497
- <slot></slot>
2498
- `}},a.CardTitle.styles=[l.css``,p],a.CardTitle=Hr([d.customElement("rtg-card-title")],a.CardTitle);var Xr=Object.defineProperty,Yr=Object.getOwnPropertyDescriptor,Wr=(n,e,r,o)=>{for(var t=o>1?void 0:o?Yr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Xr(e,r,t),t};a.CardHeader=class extends l.LitElement{render(){return l.html`
2499
- <slot></slot>
2500
- `}},a.CardHeader.styles=[l.css``,p],a.CardHeader=Wr([d.customElement("rtg-card-header")],a.CardHeader);var Kr=Object.defineProperty,Jr=Object.getOwnPropertyDescriptor,Zr=(n,e,r,o)=>{for(var t=o>1?void 0:o?Jr(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Kr(e,r,t),t};a.CardFooter=class extends l.LitElement{render(){return l.html`
2501
- <slot></slot>
2502
- `}},a.CardFooter.styles=[l.css``,p],a.CardFooter=Zr([d.customElement("rtg-card-footer")],a.CardFooter);var Qr=Object.defineProperty,eo=Object.getOwnPropertyDescriptor,to=(n,e,r,o)=>{for(var t=o>1?void 0:o?eo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Qr(e,r,t),t};a.CardDescription=class extends l.LitElement{render(){return l.html`
2503
- <slot></slot>
2504
- `}},a.CardDescription.styles=[l.css``,p],a.CardDescription=to([d.customElement("rtg-card-description")],a.CardDescription);var ro=Object.defineProperty,oo=Object.getOwnPropertyDescriptor,no=(n,e,r,o)=>{for(var t=o>1?void 0:o?oo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ro(e,r,t),t};a.CardContent=class extends l.LitElement{render(){return l.html`
2505
- <slot></slot>
2506
- `}},a.CardContent.styles=[l.css``,p],a.CardContent=no([d.customElement("rtg-card-content")],a.CardContent);var io=Object.defineProperty,so=Object.getOwnPropertyDescriptor,ao=(n,e,r,o)=>{for(var t=o>1?void 0:o?so(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&io(e,r,t),t};a.Card=class extends l.LitElement{render(){return l.html`<div
2931
+ `}`}};q._counter=0,q.styles=[l.css``,c],Ye([d.property({type:String})],q.prototype,"_id",2),Ye([d.property({attribute:"aria-hidden",type:String})],q.prototype,"_hidden",2),q=Ye([d.customElement("rtg-command-separator")],q);var To=Object.defineProperty,Bo=Object.getOwnPropertyDescriptor,No=(n,e,r,o)=>{for(var t=o>1?void 0:o?Bo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&To(e,r,t),t};a.CardTitle=class extends l.LitElement{render(){return l.html` <slot part="card-title"></slot> `}},a.CardTitle.styles=[l.css``,c],a.CardTitle=No([d.customElement("rtg-card-title")],a.CardTitle);var Fo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,qo=(n,e,r,o)=>{for(var t=o>1?void 0:o?Go(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Fo(e,r,t),t};a.CardHeader=class extends l.LitElement{render(){return l.html` <slot part="card-header"></slot> `}},a.CardHeader.styles=[l.css``,c],a.CardHeader=qo([d.customElement("rtg-card-header")],a.CardHeader);var Vo=Object.defineProperty,Uo=Object.getOwnPropertyDescriptor,Xo=(n,e,r,o)=>{for(var t=o>1?void 0:o?Uo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Vo(e,r,t),t};a.CardFooter=class extends l.LitElement{render(){return l.html` <slot part="card-footer"></slot> `}},a.CardFooter.styles=[l.css``,c],a.CardFooter=Xo([d.customElement("rtg-card-footer")],a.CardFooter);var Yo=Object.defineProperty,Ho=Object.getOwnPropertyDescriptor,Ko=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ho(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Yo(e,r,t),t};a.CardDescription=class extends l.LitElement{render(){return l.html` <slot part="card-description"></slot> `}},a.CardDescription.styles=[l.css``,c],a.CardDescription=Ko([d.customElement("rtg-card-description")],a.CardDescription);var Wo=Object.defineProperty,Zo=Object.getOwnPropertyDescriptor,jo=(n,e,r,o)=>{for(var t=o>1?void 0:o?Zo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Wo(e,r,t),t};a.CardContent=class extends l.LitElement{render(){return l.html` <slot part="card-content"></slot> `}},a.CardContent.styles=[l.css``,c],a.CardContent=jo([d.customElement("rtg-card-content")],a.CardContent);var Jo=Object.defineProperty,Qo=Object.getOwnPropertyDescriptor,en=(n,e,r,o)=>{for(var t=o>1?void 0:o?Qo(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Jo(e,r,t),t};a.Card=class extends l.LitElement{render(){return l.html`<div
2932
+ part="card"
2507
2933
  class="rounded-lg border bg-card text-card-foreground shadow-sm p-6"
2508
2934
  id="rtg-card-id"
2509
2935
  >
2510
2936
  <slot></slot>
2511
- </div>`}},a.Card.styles=[l.css``,p],a.Card=ao([d.customElement("rtg-card")],a.Card);const lo=U("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none transition-transform transition-opacity",{variants:{state:{open:"opacity-100 scale-100 duration-500",closed:"opacity-0 scale-95 duration-500"},side:{bottom:"translate-y-0",left:"translate-x-0",right:"translate-x-0",top:"translate-y-0"}},defaultVariants:{state:"closed",side:"bottom"}});var co=Object.defineProperty,po=Object.getOwnPropertyDescriptor,Qe=(n,e,r,o)=>{for(var t=o>1?void 0:o?po(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&co(e,r,t),t};a.PopoverContent=class extends l.LitElement{constructor(){super(...arguments),this.side="bottom"}get _popover(){let e=this.parentElement;for(;e&&!(e instanceof a.Popover);)e=e.parentElement;return e}handleClickOutside(e){var o,t;const r=(o=this.shadowRoot)==null?void 0:o.querySelector("slot");if(r){const i=r.assignedElements({flatten:!0});if(console.log(i[0]),!((t=i[0])!=null&&t.contains(e.target))){const s=this._popover;s.isOpen=!1}}}firstUpdated(e){window.addEventListener("click",this.handleClickOutside.bind(this))}updated(e){var r;(r=this._popover)!=null&&r.isOpen||window.removeEventListener("click",this.handleClickOutside.bind(this))}render(){const e=lo({state:"open",side:this.side});return l.html`
2512
- <div class="${h(e)}">
2937
+ </div>`}},a.Card.styles=[l.css``,c],a.Card=en([d.customElement("rtg-card")],a.Card);const tn=N("fixed z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none transition-transform transition-opacity",{variants:{state:{open:"opacity-100 scale-100 duration-500",closed:"opacity-0 scale-95 duration-500"},side:{bottom:"translate-y-0",left:"translate-x-0",right:"translate-x-0",top:"translate-y-0"}},defaultVariants:{state:"closed",side:"bottom"}}),rn=N("fixed",{variants:{state:{open:"opacity-100 scale-100 duration-500",closed:"opacity-0 scale-95 duration-500"},side:{bottom:"translate-y-0",left:"translate-x-0",right:"translate-x-0",top:"translate-y-0"}},defaultVariants:{state:"closed",side:"bottom"}});var on=Object.defineProperty,nn=Object.getOwnPropertyDescriptor,He=(n,e,r,o)=>{for(var t=o>1?void 0:o?nn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&on(e,r,t),t};a.PopoverContent=class extends l.LitElement{constructor(){super(...arguments),this.enableDefaultStyle=!0,this.side="bottom"}get _popover(){let e=this.parentElement;for(;e&&!(e instanceof a.Popover);)e=e.parentElement;return e}handleClickOutside(e){var o,t;const r=(o=this.shadowRoot)==null?void 0:o.querySelector("slot");if(r&&!((t=r.assignedElements({flatten:!0})[0])!=null&&t.contains(e.target))){const i=this._popover;i.isOpen=!1}}firstUpdated(e){window.addEventListener("click",this.handleClickOutside.bind(this))}updated(e){var r;(r=this._popover)!=null&&r.isOpen||window.removeEventListener("click",this.handleClickOutside.bind(this))}render(){const e=this.enableDefaultStyle?tn({state:"open",side:this.side}):rn({state:"open",side:this.side});return l.html`
2938
+ <div class="${p(e)}">
2513
2939
  <slot></slot>
2514
2940
  </div>
2515
- `}},a.PopoverContent.styles=[l.css``,p],Qe([d.property({type:String})],a.PopoverContent.prototype,"side",2),a.PopoverContent=Qe([d.customElement("rtg-popover-content")],a.PopoverContent);var uo=Object.defineProperty,ho=Object.getOwnPropertyDescriptor,go=(n,e,r,o)=>{for(var t=o>1?void 0:o?ho(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&uo(e,r,t),t};a.PopoverTrigger=class extends l.LitElement{constructor(){super(...arguments),this.handleClick=()=>{const e=this._popover;e&&(e.isOpen=!e.isOpen)}}firstUpdated(e){var t,i;super.firstUpdated(e);const r=(t=this.shadowRoot)==null?void 0:t.querySelector('slot[name="trigger-button"]'),o=r==null?void 0:r.assignedElements({flatten:!0});o&&o.length>0&&(o[0].click=this.handleClick),(i=this.shadowRoot)==null||i.addEventListener("click",s=>{s.stopPropagation()})}get _popover(){let e=this.parentElement;for(;e&&!(e instanceof a.Popover);)e=e.parentElement;return e}render(){return l.html`
2941
+ `}},a.PopoverContent.styles=[l.css``,c],He([d.property({type:Boolean})],a.PopoverContent.prototype,"enableDefaultStyle",2),He([d.property({type:String})],a.PopoverContent.prototype,"side",2),a.PopoverContent=He([d.customElement("rtg-popover-content")],a.PopoverContent);var sn=Object.defineProperty,an=Object.getOwnPropertyDescriptor,ln=(n,e,r,o)=>{for(var t=o>1?void 0:o?an(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&sn(e,r,t),t};a.PopoverTrigger=class extends l.LitElement{constructor(){super(...arguments),this.handleClick=()=>{const e=this._popover;e&&(e.isOpen=!e.isOpen)}}get _popover(){let e=this.parentElement;for(;e&&!(e instanceof a.Popover);)e=e.parentElement;return e}firstUpdated(e){var t,s;super.firstUpdated(e);const r=(t=this.shadowRoot)==null?void 0:t.querySelector('slot[name="trigger-button"]'),o=r==null?void 0:r.assignedElements({flatten:!0});o&&o.length>0&&(o[0].click=this.handleClick),(s=this.shadowRoot)==null||s.addEventListener("click",i=>{i.stopPropagation()})}render(){return l.html`
2516
2942
  <div style="width: fit-content;">
2517
2943
  <slot name="trigger-button"></slot>
2518
2944
  </div>
2519
- `}},a.PopoverTrigger.styles=[l.css``,p],a.PopoverTrigger=go([d.customElement("rtg-popover-trigger")],a.PopoverTrigger);var mo=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,et=(n,e,r,o)=>{for(var t=o>1?void 0:o?fo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&mo(e,r,t),t};a.Popover=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1}firstUpdated(e){super.firstUpdated(e)}updated(e){super.updated(e)}render(){return l.html`
2945
+ `}},a.PopoverTrigger.styles=[l.css``,c],a.PopoverTrigger=ln([d.customElement("rtg-popover-trigger")],a.PopoverTrigger);var dn=Object.defineProperty,cn=Object.getOwnPropertyDescriptor,Tt=(n,e,r,o)=>{for(var t=o>1?void 0:o?cn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&dn(e,r,t),t};a.Popover=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1}firstUpdated(e){super.firstUpdated(e)}updated(e){super.updated(e)}render(){return l.html`
2520
2946
  <div>
2521
2947
  <slot
2522
2948
  name="trigger"
@@ -2526,17 +2952,17 @@ body {
2526
2952
  <slot name="content"></slot>
2527
2953
  </div>
2528
2954
  </div>
2529
- `}},a.Popover.styles=[l.css``,p],et([d.state()],a.Popover.prototype,"isOpen",2),a.Popover=et([d.customElement("rtg-popover")],a.Popover);const tt=U("p-4 rounded-sm text-sm font-medium",{variants:{variant:{success:"bg-green-100 text-green-800 border-green-200",error:"bg-red-100 text-red-800 border-red-200",warning:"bg-yellow-100 text-yellow-800 border-yellow-200",info:"bg-blue-100 text-blue-800 border-blue-200"},size:{small:"text-sm",default:"text-base",large:"text-xl"}},defaultVariants:{variant:"info",size:"default"}});var bo=Object.defineProperty,vo=Object.getOwnPropertyDescriptor,wo=(n,e,r,o)=>{for(var t=o>1?void 0:o?vo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&bo(e,r,t),t};a.AlertTitle=class extends l.LitElement{render(){return l.html`<slot></slot>`}},a.AlertTitle.styles=l.css`
2955
+ `}},a.Popover.styles=[l.css``,c],Tt([d.state()],a.Popover.prototype,"isOpen",2),a.Popover=Tt([d.customElement("rtg-popover")],a.Popover);const Bt=N("p-4 rounded-sm text-sm font-medium",{variants:{variant:{success:"bg-green-100 text-green-800 border-green-200",error:"bg-red-100 text-red-800 border-red-200",warning:"bg-yellow-100 text-yellow-800 border-yellow-200",info:"bg-blue-100 text-blue-800 border-blue-200"},size:{small:"text-sm",default:"text-base",large:"text-xl"}},defaultVariants:{variant:"info",size:"default"}});var un=Object.defineProperty,pn=Object.getOwnPropertyDescriptor,hn=(n,e,r,o)=>{for(var t=o>1?void 0:o?pn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&un(e,r,t),t};a.AlertTitle=class extends l.LitElement{render(){return l.html`<slot></slot>`}},a.AlertTitle.styles=l.css`
2530
2956
  :host {
2531
2957
  display: block;
2532
2958
  font-weight: bold;
2533
2959
  margin-bottom: 0.5rem;
2534
2960
  }
2535
- `,a.AlertTitle=wo([d.customElement("rtg-alert-title")],a.AlertTitle);var yo=Object.defineProperty,xo=Object.getOwnPropertyDescriptor,$o=(n,e,r,o)=>{for(var t=o>1?void 0:o?xo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&yo(e,r,t),t};a.AlertDescription=class extends l.LitElement{render(){return l.html`<slot></slot>`}},a.AlertDescription.styles=l.css`
2961
+ `,a.AlertTitle=hn([d.customElement("rtg-alert-title")],a.AlertTitle);var gn=Object.defineProperty,mn=Object.getOwnPropertyDescriptor,fn=(n,e,r,o)=>{for(var t=o>1?void 0:o?mn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&gn(e,r,t),t};a.AlertDescription=class extends l.LitElement{render(){return l.html`<slot></slot>`}},a.AlertDescription.styles=l.css`
2536
2962
  :host {
2537
2963
  display: block;
2538
2964
  }
2539
- `,a.AlertDescription=$o([d.customElement("rtg-alert-description")],a.AlertDescription);var _o=Object.defineProperty,Co=Object.getOwnPropertyDescriptor,$e=(n,e,r,o)=>{for(var t=o>1?void 0:o?Co(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&_o(e,r,t),t};a.Alert=class extends l.LitElement{constructor(){super(...arguments),this.variant="info",this.size="default"}get alertClasses(){return tt({variant:this.variant,size:this.size})}render(){return l.html`
2965
+ `,a.AlertDescription=fn([d.customElement("rtg-alert-description")],a.AlertDescription);var bn=Object.defineProperty,vn=Object.getOwnPropertyDescriptor,Ke=(n,e,r,o)=>{for(var t=o>1?void 0:o?vn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&bn(e,r,t),t};a.Alert=class extends l.LitElement{constructor(){super(...arguments),this.variant="info",this.size="default"}get alertClasses(){return Bt({variant:this.variant,size:this.size})}render(){return l.html`
2540
2966
  <div class="alert ${this.alertClasses}">
2541
2967
  <slot name="title"></slot>
2542
2968
  <slot name="description"></slot>
@@ -2554,16 +2980,16 @@ body {
2554
2980
  font-weight: bold;
2555
2981
  margin-bottom: 0.5rem;
2556
2982
  }
2557
- `,p],a.Alert.alertVairants=tt,$e([d.property({type:String})],a.Alert.prototype,"variant",2),$e([d.property({type:String})],a.Alert.prototype,"size",2),a.Alert=$e([d.customElement("rtg-alert")],a.Alert);const Oo=U("inline-flex items-center border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent rounded-full",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});var ko=Object.defineProperty,Do=Object.getOwnPropertyDescriptor,rt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Do(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ko(e,r,t),t};a.Badge=class extends C{constructor(){super(...arguments),this.variant="default"}getAttributesToExclude(){return["variant"]}render(){const e=this.getFilteredAttributes();return l.html`
2983
+ `,c],a.Alert.alertVairants=Bt,Ke([d.property({type:String})],a.Alert.prototype,"variant",2),Ke([d.property({type:String})],a.Alert.prototype,"size",2),a.Alert=Ke([d.customElement("rtg-alert")],a.Alert);const wn=N("inline-flex items-center border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 border-transparent rounded-full",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});var yn=Object.defineProperty,xn=Object.getOwnPropertyDescriptor,Nt=(n,e,r,o)=>{for(var t=o>1?void 0:o?xn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&yn(e,r,t),t};a.Badge=class extends y{constructor(){super(...arguments),this.variant="default"}getAttributesToExclude(){return["variant"]}render(){const e=this.getFilteredAttributes();return l.html`
2558
2984
  <div
2559
2985
  id="rtg-badge-id"
2560
2986
  class="
2561
- ${h(a.Badge.badgeVariants({variant:this.variant,className:this.className}))}"
2562
- ${O(e)}
2987
+ ${p(a.Badge.badgeVariants({variant:this.variant,className:this.className}))}"
2988
+ ${x(e)}
2563
2989
  >
2564
2990
  <slot></slot>
2565
2991
  </div>
2566
- `}},a.Badge.badgeVariants=Oo,a.Badge.styles=[l.css``,p],rt([d.property({type:String})],a.Badge.prototype,"variant",2),a.Badge=rt([d.customElement("rtg-badge")],a.Badge);function Po(){return l.svg` <svg
2992
+ `}},a.Badge.badgeVariants=wn,a.Badge.styles=[l.css``,c],Nt([d.property({type:String})],a.Badge.prototype,"variant",2),a.Badge=Nt([d.customElement("rtg-badge")],a.Badge);function Ft(){return l.svg` <svg
2567
2993
  class="shrink-0 size-3.5 text-gray-500 dark:text-neutral-500"
2568
2994
  xmlns="http://www.w3.org/2000/svg"
2569
2995
  width="24"
@@ -2578,7 +3004,7 @@ body {
2578
3004
  <path d="m7 15 5 5 5-5"></path>
2579
3005
  <path d="m7 9 5-5 5 5"></path>
2580
3006
  </svg>
2581
- `}function Eo(){return l.svg`
3007
+ `}function Gt(){return l.svg`
2582
3008
  <svg
2583
3009
  class="shrink-0 size-3.5 text-blue-600 dark:text-blue-500"
2584
3010
  xmlns="http://www.w3.org/2000/svg"
@@ -2593,7 +3019,7 @@ body {
2593
3019
  >
2594
3020
  <path d="M20 6 9 17l-5-5"></path>
2595
3021
  </svg>
2596
- `}function So(){return l.svg` <svg
3022
+ `}function qt(){return l.svg` <svg
2597
3023
  xmlns="http://www.w3.org/2000/svg"
2598
3024
  width = "24"
2599
3025
  height = "24"
@@ -2607,7 +3033,36 @@ body {
2607
3033
  <circle cx="11" cy = "11" r = "8" > </circle>
2608
3034
  <path d="m21 21-4.3-4.3"></path >
2609
3035
  </svg>
2610
- `}var Mo=Object.defineProperty,zo=Object.getOwnPropertyDescriptor,ae=(n,e,r,o)=>{for(var t=o>1?void 0:o?zo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Mo(e,r,t),t};let K=class extends l.LitElement{constructor(){super(...arguments),this.value="",this.handleClick=()=>{},this.handleKeyDown=()=>{}}render(){return l.html`
3036
+ `}function Vt(){return l.svg` <svg
3037
+ xmlns="http://www.w3.org/2000/svg"
3038
+ width="24"
3039
+ height="24"
3040
+ viewBox="0 0 24 24"
3041
+ fill="#000000"
3042
+ stroke="currentColor"
3043
+ stroke-width="2"
3044
+ stroke-linecap="round"
3045
+ stroke-linejoin="round"
3046
+ class="lucide lucide-circle h-2 w-2 fill-current"
3047
+ >
3048
+ <circle cx="12" cy="12" r="10"></circle>
3049
+ </svg>
3050
+ `}function $n(){return l.svg` <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down h-4 w-4 shrink-0 transition-transform duration-200"><path d="m6 9 6 6 6-6"></path></svg>
3051
+ `}function Cn(){return l.svg` <svg
3052
+ xmlns="http://www.w3.org/2000/svg"
3053
+ width="24"
3054
+ height="24"
3055
+ viewBox="0 0 24 24"
3056
+ fill="#000000"
3057
+ stroke="currentColor"
3058
+ stroke-width="2"
3059
+ stroke-linecap="round"
3060
+ stroke-linejoin="round"
3061
+ class="lucide lucide-circle h-3.5 w-3.5 fill-primary"
3062
+ >
3063
+ <circle cx="12" cy="12" r="10"></circle></svg
3064
+ >
3065
+ `}function _n(){return l.svg`<svg xmlns="http://www.w3.org/2000/svg" width = "24" height = "24" viewBox = "0 0 24 24" fill = "none" stroke = "currentColor" stroke - width="2" stroke - linecap="round" stroke - linejoin="round" class="lucide lucide-dot " > <circle cx="12.1" cy = "12.1" r = "1" > </circle></svg >`}var On=Object.defineProperty,Pn=Object.getOwnPropertyDescriptor,Pe=(n,e,r,o)=>{for(var t=o>1?void 0:o?Pn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&On(e,r,t),t};let se=class extends l.LitElement{constructor(){super(...arguments),this.value="",this.handleClick=()=>{},this.handleKeyDown=()=>{}}render(){return l.html`
2611
3066
  <input
2612
3067
  class="inline-flex justify-between items-center w-full h-10 px-4 py-2 whitespace-nowrap rounded-md
2613
3068
  text-sm font-medium border border-input cursor-pointer
@@ -2624,7 +3079,7 @@ body {
2624
3079
  @click=${this.handleClick}
2625
3080
  @keydown=${this.handleKeyDown}
2626
3081
  />
2627
- `}};K.styles=[l.css``,p],ae([d.property({type:String})],K.prototype,"value",2),ae([d.property({type:Function})],K.prototype,"handleClick",2),ae([d.property({type:Function})],K.prototype,"handleKeyDown",2),K=ae([d.customElement("combo-box-input")],K);var Ao=Object.defineProperty,Io=Object.getOwnPropertyDescriptor,R=(n,e,r,o)=>{for(var t=o>1?void 0:o?Io(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ao(e,r,t),t};let S=class extends l.LitElement{constructor(){super(...arguments),this.key="",this.searchText="",this.value="",this.tabindex=0,this.isSelected=!1,this.class="",this.onSelect=()=>{}}render(){return console.log("this",this.class),l.html`
3082
+ `}};se.styles=[l.css``,c],Pe([d.property({type:String})],se.prototype,"value",2),Pe([d.property({type:Function})],se.prototype,"handleClick",2),Pe([d.property({type:Function})],se.prototype,"handleKeyDown",2),se=Pe([d.customElement("rtg-combo-box-input")],se);var Sn=Object.defineProperty,En=Object.getOwnPropertyDescriptor,V=(n,e,r,o)=>{for(var t=o>1?void 0:o?En(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Sn(e,r,t),t};let I=class extends l.LitElement{constructor(){super(...arguments),this.key="",this.searchText="",this.value="",this.tabindex=0,this.isSelected=!1,this.class="",this.onSelect=()=>{}}render(){return l.html`
2628
3083
  <div
2629
3084
  key="${this.key}"
2630
3085
  class="flex items-center cursor-pointer py-2 px-4 w-full text-sm text-gray-800
@@ -2648,7 +3103,7 @@ body {
2648
3103
  <span
2649
3104
  class="${this.isSelected?"visible":"invisible"} hs-combo-box-selected:block mr-2"
2650
3105
  >
2651
- ${Eo()}
3106
+ ${Gt()}
2652
3107
  </span>
2653
3108
  <div class="flex justify-between items-center w-full">
2654
3109
  <span
@@ -2659,10 +3114,36 @@ body {
2659
3114
  </span>
2660
3115
  </div>
2661
3116
  </div>
2662
- `}};S.styles=[l.css``,p],R([d.property({type:String})],S.prototype,"key",2),R([d.property({type:String})],S.prototype,"searchText",2),R([d.property({type:String})],S.prototype,"value",2),R([d.property({type:Number})],S.prototype,"tabindex",2),R([d.property({type:Boolean})],S.prototype,"isSelected",2),R([d.property({type:String})],S.prototype,"class",2),R([d.property({type:Function})],S.prototype,"onSelect",2),S=R([d.customElement("combo-box-item")],S);var Lo=Object.defineProperty,To=Object.getOwnPropertyDescriptor,N=(n,e,r,o)=>{for(var t=o>1?void 0:o?To(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Lo(e,r,t),t};a.ComboBox=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.selectedValue="",this.searchTerm="",this.focusedIndex=-1,this.filteredItems=[],this.label="Select an item",this.items=[]}firstUpdated(e){this.items&&this.items.length>0&&(this.filteredItems=this.items.filter(r=>r.toLowerCase().includes(this.searchTerm)))}toggleDropdown(){this.isOpen=!this.isOpen,this.focusedIndex=-1}selectItem(e){const r=e.target;if(r instanceof HTMLElement){const o=r.closest("combo-box-item");o?(this.selectedValue=o.getAttribute("data-hs-combo-box-value")||"",this.isOpen=!1):console.log("No valid combo-box-item found")}else console.log("Event target is not an HTMLElement")}handleInputClick(){this.toggleDropdown()}handleSearch(e){const r=e.target;this.searchTerm=r.value,this.filteredItems=this.items.filter(o=>(console.log("item",o.toLowerCase()),o.toLowerCase().includes(this.searchTerm.toLowerCase())))}handleKeyDown(e){const r=this.filteredItems.length;switch(e.key){case"ArrowDown":e.preventDefault(),this.focusedIndex=(this.focusedIndex+1)%r;break;case"ArrowUp":e.preventDefault(),this.focusedIndex=(this.focusedIndex-1+r)%r;break;case"Enter":this.focusedIndex>=0&&this.focusedIndex<r&&(this.selectedValue=this.filteredItems[this.focusedIndex],this.isOpen=!1);break}}handleMouseOver(e,r){e.preventDefault(),this.focusedIndex=r}updateFocus(){if(!this.shadowRoot)return;this.shadowRoot.querySelectorAll("combo-box-item").forEach((r,o)=>{o===this.focusedIndex?r.classList.add("bg-gray-100"):r.classList.remove("bg-gray-100")})}render(){return l.html`
3117
+ `}};I.styles=[l.css``,c],V([d.property({type:String})],I.prototype,"key",2),V([d.property({type:String})],I.prototype,"searchText",2),V([d.property({type:String})],I.prototype,"value",2),V([d.property({type:Number})],I.prototype,"tabindex",2),V([d.property({type:Boolean})],I.prototype,"isSelected",2),V([d.property({type:String})],I.prototype,"class",2),V([d.property({type:Function})],I.prototype,"onSelect",2),I=V([d.customElement("rtg-combo-box-item")],I);const kn="open",Se="closed";var Dn=Object.defineProperty,Mn=Object.getOwnPropertyDescriptor,We=(n,e,r,o)=>{for(var t=o>1?void 0:o?Mn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Dn(e,r,t),t};let be=class extends l.LitElement{constructor(){super(...arguments),this.state=Se,this.isOpen=!1}get _popover(){let n=this.parentElement;for(;n&&!(n instanceof a.ComboBox);)n=n.parentElement;return n}render(){return l.html`
3118
+ <div
3119
+ class="absolute z-50 w-full max-h-72 p-1 bg-white border border-gray-200 rounded-lg overflow-hidden overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 dark:bg-neutral-900 dark:border-neutral-700"
3120
+ data-hs-combo-box-output=""
3121
+ style="display: ${this.state===kn?"block":"none"}; top:115%"
3122
+ >
3123
+ <div
3124
+ class="flex items-center justify-center px-3 border-b border-gray-300 mb-1"
3125
+ >
3126
+ ${qt()}
3127
+ <input
3128
+ type="text"
3129
+ class="w-full px-2 py-2 rounded focus:outline-none"
3130
+ placeholder="Search..."
3131
+ autocomplete="off"
3132
+ autocorrect="off"
3133
+ spellcheck="false"
3134
+ aria-autocomplete="list"
3135
+ aria-expanded="true"
3136
+ role="combobox"
3137
+ />
3138
+ </div>
3139
+ <slot></slot>
3140
+ </div>
3141
+ `}};be.styles=[l.css``,c],We([d.property({attribute:"data-state",type:String})],be.prototype,"state",2),We([d.state()],be.prototype,"isOpen",2),be=We([d.customElement("rtg-combo-box-list")],be);var In=Object.defineProperty,An=Object.getOwnPropertyDescriptor,U=(n,e,r,o)=>{for(var t=o>1?void 0:o?An(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&In(e,r,t),t};a.ComboBox=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.selectedValue="",this.searchTerm="",this.focusedIndex=-1,this.filteredItems=[],this.label="Select an item",this.items=[]}firstUpdated(e){console.log("this. items",this.items),this.items&&this.items.length>0&&(this.filteredItems=this.items.filter(r=>r.toLowerCase().includes(this.searchTerm)))}toggleDropdown(){this.isOpen=!this.isOpen,this.focusedIndex=-1,console.log("toggleDropdown",this.isOpen)}selectItem(e){const r=e.target;if(r instanceof HTMLElement){const o=r.closest("rtg-combo-box-item");o?(this.selectedValue=o.getAttribute("data-hs-combo-box-value")||"",this.isOpen=!1):console.log("No valid rtg-combo-box-item found")}else console.log("Event target is not an HTMLElement")}handleInputClick(){console.log("-----handleInputClick------"),this.toggleDropdown()}handleSearch(e){const r=e.target;this.searchTerm=r.value,this.filteredItems=this.items.filter(o=>o.toLowerCase().includes(this.searchTerm.toLowerCase()))}handleKeyDown(e){const r=this.filteredItems.length;switch(e.key){case"ArrowDown":e.preventDefault(),this.focusedIndex=(this.focusedIndex+1)%r;break;case"ArrowUp":e.preventDefault(),this.focusedIndex=(this.focusedIndex-1+r)%r;break;case"Enter":this.focusedIndex>=0&&this.focusedIndex<r&&(this.selectedValue=this.filteredItems[this.focusedIndex],this.isOpen=!1);break}}handleMouseOver(e,r){e.preventDefault(),this.focusedIndex=r}connectedCallback(){var e,r,o,t;super.connectedCallback(),document.addEventListener("click",this.handleClickOutside.bind(this)),(r=(e=this.shadowRoot)==null?void 0:e.querySelector("input"))==null||r.addEventListener("focus",()=>{this.isOpen=!0}),(t=(o=this.shadowRoot)==null?void 0:o.querySelector("input"))==null||t.addEventListener("blur",()=>{this.isOpen&&(this.isOpen=!1)})}disconnectedCallback(){var e,r,o,t;super.disconnectedCallback(),document.removeEventListener("click",this.handleClickOutside),(r=(e=this.shadowRoot)==null?void 0:e.querySelector("input"))==null||r.removeEventListener("focus",()=>{}),(t=(o=this.shadowRoot)==null?void 0:o.querySelector("input"))==null||t.removeEventListener("blur",()=>{})}handleClickOutside(e){var s,i;const r=e.target,o=(s=this.shadowRoot)==null?void 0:s.querySelector("[data-hs-combo-box]");if(!this.shadowRoot||!(r instanceof HTMLElement)){console.log("Invalid target or shadow root");return}const t=(i=r.shadowRoot)==null?void 0:i.firstElementChild;if(!t){this.isOpen=!1;return}(!o||!o.contains(t))&&(this.isOpen=!1)}updateFocus(){if(!this.shadowRoot)return;this.shadowRoot.querySelectorAll("rtg-combo-box-item").forEach((r,o)=>{o===this.focusedIndex?r.classList.add("bg-gray-100"):r.classList.remove("bg-gray-100")})}render(){return l.html`
2663
3142
  <div class="relative" data-hs-combo-box="">
2664
- <div class="relative">
3143
+ isopen:${this.isOpen}
3144
+ <div>
2665
3145
  <input
3146
+ part="combobox"
2666
3147
  class="inline-flex justify-between items-center w-full h-10 px-4 py-2 whitespace-nowrap rounded-md
2667
3148
  text-sm font-medium border border-input cursor-pointer
2668
3149
  ring-offset-background
@@ -2684,7 +3165,7 @@ body {
2684
3165
  data-hs-combo-box-toggle=""
2685
3166
  @click="${this.toggleDropdown}"
2686
3167
  >
2687
- ${Po()}
3168
+ ${Ft()}
2688
3169
  </div>
2689
3170
  </div>
2690
3171
  <div
@@ -2696,7 +3177,7 @@ body {
2696
3177
  <div
2697
3178
  class="flex items-center justify-center px-3 border-b border-gray-300 mb-1"
2698
3179
  >
2699
- ${So()}
3180
+ ${qt()}
2700
3181
  <input
2701
3182
  type="text"
2702
3183
  class="w-full px-2 py-2 rounded focus:outline-none"
@@ -2720,7 +3201,7 @@ body {
2720
3201
  </div>
2721
3202
  `:l.html`
2722
3203
  ${this.filteredItems.map((e,r)=>l.html`
2723
- <combo-box-item
3204
+ <rtg-combo-box-item
2724
3205
  .searchText=${e}
2725
3206
  .value=${e}
2726
3207
  data-hs-combo-box-value=${e}
@@ -2728,21 +3209,21 @@ body {
2728
3209
  @click="${o=>this.selectItem(o)}"
2729
3210
  @mouseover="${o=>this.handleMouseOver(o,r)}"
2730
3211
  ?isSelected=${e===this.selectedValue}
2731
- ></combo-box-item>
3212
+ ></rtg-combo-box-item>
2732
3213
  `)}
2733
3214
  `}
2734
3215
  </div>
2735
3216
  </div>
2736
- `}},a.ComboBox.styles=[l.css``,p],N([d.state()],a.ComboBox.prototype,"isOpen",2),N([d.state()],a.ComboBox.prototype,"selectedValue",2),N([d.state()],a.ComboBox.prototype,"searchTerm",2),N([d.state()],a.ComboBox.prototype,"focusedIndex",2),N([d.state()],a.ComboBox.prototype,"filteredItems",2),N([d.property({type:String})],a.ComboBox.prototype,"label",2),N([d.property({type:Array})],a.ComboBox.prototype,"items",2),a.ComboBox=N([d.customElement("rtg-combo-box")],a.ComboBox);const Bo="closed";var Ro=Object.defineProperty,No=Object.getOwnPropertyDescriptor,_e=(n,e,r,o)=>{for(var t=o>1?void 0:o?No(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ro(e,r,t),t};a.DropdownMenuContent=class extends l.LitElement{constructor(){super(...arguments),this.state=Bo,this.isOpen=!1}get _dropdownMenu(){let e=this.parentElement;for(;e&&!(e instanceof a.DropdownMenu);)e=e.parentElement;return e}connectedCallback(){super.connectedCallback(),this.isOpen&&document.addEventListener("mousedown",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),super.disconnectedCallback()}updated(e){super.updated(e),this.state==="open"?this.isOpen=!0:this.isOpen=!1,e.has("isOpen")&&(this.isOpen?document.addEventListener("mousedown",this.handleClickOutside):document.removeEventListener("mousedown",this.handleClickOutside))}handleClickOutside(e){var t,i;const r=(t=this.shadowRoot)==null?void 0:t.querySelector("rtg-dropdown-menu-content"),o=(i=this.shadowRoot)==null?void 0:i.querySelector("button");r&&!r.contains(e.target)&&!(o!=null&&o.contains(e.target))&&(this.isOpen=!1)}render(){return l.html`
3217
+ `}},a.ComboBox.styles=[l.css``,c],U([d.state()],a.ComboBox.prototype,"isOpen",2),U([d.state()],a.ComboBox.prototype,"selectedValue",2),U([d.state()],a.ComboBox.prototype,"searchTerm",2),U([d.state()],a.ComboBox.prototype,"focusedIndex",2),U([d.state()],a.ComboBox.prototype,"filteredItems",2),U([d.property({type:String})],a.ComboBox.prototype,"label",2),U([d.property({type:Array})],a.ComboBox.prototype,"items",2),a.ComboBox=U([d.customElement("rtg-combo-box")],a.ComboBox);var Ln=Object.defineProperty,zn=Object.getOwnPropertyDescriptor,Ze=(n,e,r,o)=>{for(var t=o>1?void 0:o?zn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ln(e,r,t),t};a.DropdownMenuContent=class extends l.LitElement{constructor(){super(...arguments),this.state=Se,this.isOpen=!1}get _dropdownMenu(){let e=this.parentElement;for(;e&&!(e instanceof a.DropdownMenu);)e=e.parentElement;return e}connectedCallback(){super.connectedCallback(),this.isOpen&&document.addEventListener("mousedown",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),super.disconnectedCallback()}updated(e){super.updated(e),this.state==="open"?this.isOpen=!0:this.isOpen=!1,e.has("isOpen")&&(this.isOpen?document.addEventListener("mousedown",this.handleClickOutside):document.removeEventListener("mousedown",this.handleClickOutside))}handleClickOutside(e){var t,s;const r=(t=this.shadowRoot)==null?void 0:t.querySelector("rtg-dropdown-menu-content"),o=(s=this.shadowRoot)==null?void 0:s.querySelector("button");r&&!r.contains(e.target)&&!(o!=null&&o.contains(e.target))&&(this.isOpen=!1)}render(){return l.html`
2737
3218
  <div
2738
3219
  class="flex h-full flex-col max-h-[300px] overflow-y-auto overflow-x-hidden rounded-md bg-popover text-popover-foreground border shadow-md"
2739
3220
  style="display: ${this.isOpen?"block":"none"};width:260px"
2740
3221
  >
2741
3222
  <slot></slot>
2742
3223
  </div>
2743
- `}},a.DropdownMenuContent.styles=[l.css``,p],_e([d.property({attribute:"data-state",type:String})],a.DropdownMenuContent.prototype,"state",2),_e([d.state()],a.DropdownMenuContent.prototype,"isOpen",2),a.DropdownMenuContent=_e([d.customElement("rtg-dropdown-menu-content")],a.DropdownMenuContent);var qo=Object.defineProperty,Fo=Object.getOwnPropertyDescriptor,re=(n,e,r,o)=>{for(var t=o>1?void 0:o?Fo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&qo(e,r,t),t};a.DropdownMenuItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}render(){return l.html` ${this._hidden==="true"?l.nothing:l.html`
3224
+ `}},a.DropdownMenuContent.styles=[l.css``,c],Ze([d.property({attribute:"data-state",type:String})],a.DropdownMenuContent.prototype,"state",2),Ze([d.state()],a.DropdownMenuContent.prototype,"isOpen",2),a.DropdownMenuContent=Ze([d.customElement("rtg-dropdown-menu-content")],a.DropdownMenuContent);var Rn=Object.defineProperty,Tn=Object.getOwnPropertyDescriptor,ve=(n,e,r,o)=>{for(var t=o>1?void 0:o?Tn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Rn(e,r,t),t};a.DropdownMenuItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}render(){return l.html` ${this._hidden==="true"?l.nothing:l.html`
2744
3225
  <div
2745
- class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",this.className)}"
3226
+ class="${p("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",this.className)}"
2746
3227
  @mouseover="${this.handleMouseEvent}"
2747
3228
  @mouseleave="${this.handleMouseEvent}"
2748
3229
  @focus="${this.handleMouseEvent}"
@@ -2756,9 +3237,9 @@ body {
2756
3237
  >
2757
3238
  <slot></slot>
2758
3239
  </div>
2759
- `}`}},a.DropdownMenuItem._counter=0,a.DropdownMenuItem.styles=[l.css``,p],re([d.property({type:String})],a.DropdownMenuItem.prototype,"_id",2),re([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuItem.prototype,"_hidden",2),re([d.property({attribute:"data-value",type:String})],a.DropdownMenuItem.prototype,"value",1),re([d.property({type:Boolean})],a.DropdownMenuItem.prototype,"selected",2),a.DropdownMenuItem=re([d.customElement("rtg-dropdown-menu-item")],a.DropdownMenuItem);var jo=Object.defineProperty,Go=Object.getOwnPropertyDescriptor,q=(n,e,r,o)=>{for(var t=o>1?void 0:o?Go(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&jo(e,r,t),t};a.DropdownMenuRadioItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuRadioItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuRadioItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l.html`
3240
+ `}`}},a.DropdownMenuItem._counter=0,a.DropdownMenuItem.styles=[l.css``,c],ve([d.property({type:String})],a.DropdownMenuItem.prototype,"_id",2),ve([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuItem.prototype,"_hidden",2),ve([d.property({attribute:"data-value",type:String})],a.DropdownMenuItem.prototype,"value",1),ve([d.property({type:Boolean})],a.DropdownMenuItem.prototype,"selected",2),a.DropdownMenuItem=ve([d.customElement("rtg-dropdown-menu-item")],a.DropdownMenuItem);var Bn=Object.defineProperty,Nn=Object.getOwnPropertyDescriptor,K=(n,e,r,o)=>{for(var t=o>1?void 0:o?Nn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Bn(e,r,t),t};a.DropdownMenuRadioItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuRadioItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuRadioItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked||(this.checked=!0,this.dispatchEvent(new CustomEvent("radio-selected",{bubbles:!0,composed:!0})))}render(){return l.html`
2760
3241
  <div
2761
- class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
3242
+ class="${p("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
2762
3243
  @click=${this.toggleChecked}
2763
3244
  @mouseover="${this.handleMouseEvent}"
2764
3245
  @mouseleave="${this.handleMouseEvent}"
@@ -2774,19 +3255,7 @@ body {
2774
3255
  <span
2775
3256
  class="icon-space absolute left-2 flex items-center justify-center"
2776
3257
  >
2777
- ${this.checked?l.html`
2778
- <svg
2779
- xmlns="http://www.w3.org/2000/svg"
2780
- width="24"
2781
- height="24"
2782
- viewBox="0 0 15 15"
2783
- >
2784
- <path
2785
- fill="currentColor"
2786
- d="M9.875 7.5a2.375 2.375 0 1 1-4.75 0a2.375 2.375 0 0 1 4.75 0"
2787
- />
2788
- </svg>
2789
- `:l.nothing}
3258
+ ${this.checked?l.html` ${Vt()} `:l.nothing}
2790
3259
  </span>
2791
3260
  <slot></slot>
2792
3261
  </div>
@@ -2796,16 +3265,16 @@ body {
2796
3265
  height: 16px;
2797
3266
  display: inline-block;
2798
3267
  }
2799
- `,p],q([d.property({type:String})],a.DropdownMenuRadioItem.prototype,"_id",2),q([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuRadioItem.prototype,"_hidden",2),q([d.property({attribute:"data-value",type:String})],a.DropdownMenuRadioItem.prototype,"value",1),q([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"selected",2),q([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"checked",2),q([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"disabled",2),a.DropdownMenuRadioItem=q([d.customElement("rtg-dropdown-menu-radio-item")],a.DropdownMenuRadioItem);var Vo=Object.defineProperty,Uo=Object.getOwnPropertyDescriptor,Ce=(n,e,r,o)=>{for(var t=o>1?void 0:o?Uo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Vo(e,r,t),t};a.DropdownMenuSeparator=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}s${a.DropdownMenuSeparator._counter++}`:this._id=`rtgcmdrxlxs${a.DropdownMenuSeparator._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
3268
+ `,c],K([d.property({type:String})],a.DropdownMenuRadioItem.prototype,"_id",2),K([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuRadioItem.prototype,"_hidden",2),K([d.property({attribute:"data-value",type:String})],a.DropdownMenuRadioItem.prototype,"value",1),K([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"selected",2),K([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"checked",2),K([d.property({type:Boolean})],a.DropdownMenuRadioItem.prototype,"disabled",2),a.DropdownMenuRadioItem=K([d.customElement("rtg-dropdown-menu-radio-item")],a.DropdownMenuRadioItem);var Fn=Object.defineProperty,Gn=Object.getOwnPropertyDescriptor,je=(n,e,r,o)=>{for(var t=o>1?void 0:o?Gn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Fn(e,r,t),t};a.DropdownMenuSeparator=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}s${a.DropdownMenuSeparator._counter++}`:this._id=`rtgcmdrxlxs${a.DropdownMenuSeparator._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
2800
3269
  <div
2801
- class="${h("-mx-1 h-px bg-border",this.className)}"
3270
+ class="${p("-mx-1 h-px bg-border",this.className)}"
2802
3271
  rtgcmd-separator
2803
3272
  role="separator"
2804
3273
  id="${this.identifier}"
2805
3274
  ></div>
2806
- `}`}},a.DropdownMenuSeparator._counter=0,a.DropdownMenuSeparator.styles=[l.css``,p],Ce([d.property({type:String})],a.DropdownMenuSeparator.prototype,"_id",2),Ce([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuSeparator.prototype,"_hidden",2),a.DropdownMenuSeparator=Ce([d.customElement("rtg-dropdown-menu-separator")],a.DropdownMenuSeparator);var Ho=Object.defineProperty,Xo=Object.getOwnPropertyDescriptor,F=(n,e,r,o)=>{for(var t=o>1?void 0:o?Xo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ho(e,r,t),t};a.DropdownMenuCheckboxItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuCheckboxItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuCheckboxItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l.html`
3275
+ `}`}},a.DropdownMenuSeparator._counter=0,a.DropdownMenuSeparator.styles=[l.css``,c],je([d.property({type:String})],a.DropdownMenuSeparator.prototype,"_id",2),je([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuSeparator.prototype,"_hidden",2),a.DropdownMenuSeparator=je([d.customElement("rtg-dropdown-menu-separator")],a.DropdownMenuSeparator);var qn=Object.defineProperty,Vn=Object.getOwnPropertyDescriptor,W=(n,e,r,o)=>{for(var t=o>1?void 0:o?Vn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&qn(e,r,t),t};a.DropdownMenuCheckboxItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.DropdownMenuCheckboxItem._counter++}`:this._id=`rtgcmdrxgxli${a.DropdownMenuCheckboxItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l.html`
2807
3276
  <div
2808
- class="${h("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
3277
+ class="${p("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
2809
3278
  @click=${this.toggleChecked}
2810
3279
  @mouseover="${this.handleMouseEvent}"
2811
3280
  @mouseleave="${this.handleMouseEvent}"
@@ -2842,7 +3311,7 @@ body {
2842
3311
  height: 16px;
2843
3312
  display: inline-block;
2844
3313
  }
2845
- `,p],F([d.property({type:String})],a.DropdownMenuCheckboxItem.prototype,"_id",2),F([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuCheckboxItem.prototype,"_hidden",2),F([d.property({attribute:"data-value",type:String})],a.DropdownMenuCheckboxItem.prototype,"value",1),F([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"selected",2),F([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"checked",2),F([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"disabled",2),a.DropdownMenuCheckboxItem=F([d.customElement("rtg-dropdown-menu-checkbox-item")],a.DropdownMenuCheckboxItem);var Yo=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,le=(n,e,r,o)=>{for(var t=o>1?void 0:o?Wo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Yo(e,r,t),t};a.DropdownMenuGroup=class extends l.LitElement{constructor(){super(...arguments),this.heading="",this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}g${a.DropdownMenuGroup._counter++}`:this._id=`rtgcmdrxlxg${a.DropdownMenuGroup._counter++}`,this._id}render(){const e="overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";return l.html`${this._hidden==="true"?l.nothing:l.html`
3314
+ `,c],W([d.property({type:String})],a.DropdownMenuCheckboxItem.prototype,"_id",2),W([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuCheckboxItem.prototype,"_hidden",2),W([d.property({attribute:"data-value",type:String})],a.DropdownMenuCheckboxItem.prototype,"value",1),W([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"selected",2),W([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"checked",2),W([d.property({type:Boolean})],a.DropdownMenuCheckboxItem.prototype,"disabled",2),a.DropdownMenuCheckboxItem=W([d.customElement("rtg-dropdown-menu-checkbox-item")],a.DropdownMenuCheckboxItem);var Un=Object.defineProperty,Xn=Object.getOwnPropertyDescriptor,Ee=(n,e,r,o)=>{for(var t=o>1?void 0:o?Xn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Un(e,r,t),t};a.DropdownMenuGroup=class extends l.LitElement{constructor(){super(...arguments),this.heading="",this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}g${a.DropdownMenuGroup._counter++}`:this._id=`rtgcmdrxlxg${a.DropdownMenuGroup._counter++}`,this._id}render(){const e="overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";return l.html`${this._hidden==="true"?l.nothing:l.html`
2846
3315
  <div
2847
3316
  class="${e}"
2848
3317
  rtgcmd-group
@@ -2864,7 +3333,7 @@ body {
2864
3333
  <slot></slot>
2865
3334
  </div>
2866
3335
  </div>
2867
- `}`}},a.DropdownMenuGroup._counter=0,a.DropdownMenuGroup.styles=[l.css``,p],le([d.property({type:String})],a.DropdownMenuGroup.prototype,"heading",2),le([d.property({attribute:"id",type:String})],a.DropdownMenuGroup.prototype,"_id",2),le([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuGroup.prototype,"_hidden",2),a.DropdownMenuGroup=le([d.customElement("rtg-dropdown-menu-group")],a.DropdownMenuGroup);var Ko=Object.defineProperty,Jo=Object.getOwnPropertyDescriptor,ot=(n,e,r,o)=>{for(var t=o>1?void 0:o?Jo(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Ko(e,r,t),t};a.DropdownMenu=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.handleClickOutside=e=>{var o;const r=e.target;(o=this.shadowRoot)!=null&&o.contains(r)||(this.isOpen=!1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside),super.disconnectedCallback()}toggleDropdown(e){e.stopPropagation(),this.isOpen=!this.isOpen}get _content(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof a.DropdownMenuContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.isOpen?"open":"close")}render(){return l.html`
3336
+ `}`}},a.DropdownMenuGroup._counter=0,a.DropdownMenuGroup.styles=[l.css``,c],Ee([d.property({type:String})],a.DropdownMenuGroup.prototype,"heading",2),Ee([d.property({attribute:"id",type:String})],a.DropdownMenuGroup.prototype,"_id",2),Ee([d.property({attribute:"aria-hidden",type:String})],a.DropdownMenuGroup.prototype,"_hidden",2),a.DropdownMenuGroup=Ee([d.customElement("rtg-dropdown-menu-group")],a.DropdownMenuGroup);var Yn=Object.defineProperty,Hn=Object.getOwnPropertyDescriptor,Ut=(n,e,r,o)=>{for(var t=o>1?void 0:o?Hn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Yn(e,r,t),t};a.DropdownMenu=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.handleClickOutside=e=>{var o;const r=e.target;(o=this.shadowRoot)!=null&&o.contains(r)||(this.isOpen=!1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.handleClickOutside),this.addEventListener("radio-selected",this._handleRadioSelected)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside),super.disconnectedCallback()}toggleDropdown(e){e.stopPropagation(),this.isOpen=!this.isOpen}get _content(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof a.DropdownMenuContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.isOpen?"open":"close")}_handleRadioSelected(e){this.querySelectorAll("rtg-dropdown-menu-radio-item").forEach(r=>{r!==e.target&&(r.checked=!1)})}render(){return l.html`
2868
3337
  <div>
2869
3338
  <div>
2870
3339
  <slot @click="${this.toggleDropdown}"></slot>
@@ -2873,36 +3342,433 @@ body {
2873
3342
  <slot></slot>
2874
3343
  </div>
2875
3344
  </div>
2876
- `}},a.DropdownMenu.styles=[l.css``,p],ot([d.state()],a.DropdownMenu.prototype,"isOpen",2),a.DropdownMenu=ot([d.customElement("rtg-dropdown-menu")],a.DropdownMenu);var nt=(n=>(n.SMALL="sm",n.MEDIUM="md",n.LARGE="lg",n))(nt||{}),it=(n=>(n.DEFAULT="default",n.OUTLINE="outline",n))(it||{});const Zo=U("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground bg-transparent h-10 px-3",{variants:{variant:{default:" hover:bg-muted hover:text-muted-foreground",outline:" border border-input hover:bg-accent hover:text-accent-foreground"},size:{sm:"h-9 px-2.5",md:"h-10 px-3",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"sm"}});var Qo=Object.defineProperty,en=Object.getOwnPropertyDescriptor,J=(n,e,r,o)=>{for(var t=o>1?void 0:o?en(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&Qo(e,r,t),t};a.Toggle=class extends C{constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.required=!1,this.variant=it.DEFAULT,this.size=nt.SMALL}getAttributesToExclude(){return["disabled","checked","variant","size","required"]}toggle(){this.disabled||(this.checked=!this.checked)}render(){const e=this.getFilteredAttributes();return ft.html`
3345
+ `}},a.DropdownMenu.styles=[l.css``,c],Ut([d.state()],a.DropdownMenu.prototype,"isOpen",2),a.DropdownMenu=Ut([d.customElement("rtg-dropdown-menu")],a.DropdownMenu);var Xt=(n=>(n.SMALL="sm",n.MEDIUM="md",n.LARGE="lg",n))(Xt||{}),Yt=(n=>(n.DEFAULT="default",n.OUTLINE="outline",n))(Yt||{});const Kn=N("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground bg-transparent h-10 px-3",{variants:{variant:{default:" hover:bg-muted hover:text-muted-foreground",outline:" border border-input hover:bg-accent hover:text-accent-foreground"},size:{sm:"h-9 px-2.5",md:"h-10 px-3",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"sm"}});var Wn=Object.defineProperty,Zn=Object.getOwnPropertyDescriptor,ie=(n,e,r,o)=>{for(var t=o>1?void 0:o?Zn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Wn(e,r,t),t};a.Toggle=class extends y{constructor(){super(...arguments),this.disabled=!1,this.checked=!1,this.required=!1,this.variant=Yt.DEFAULT,this.size=Xt.SMALL}getAttributesToExclude(){return["disabled","checked","variant","size","required"]}toggle(){this.disabled||(this.checked=!this.checked)}render(){const e=this.getFilteredAttributes();return D.html`
2877
3346
  <button
2878
3347
  type="button"
2879
- class="${h(a.Toggle.toggleVariants({variant:this.variant,size:this.size,className:this.className}))}"
3348
+ class="${p(a.Toggle.toggleVariants({variant:this.variant,size:this.size,className:this.className}))}"
2880
3349
  aria-pressed=${this.checked}
2881
3350
  data-state="${this.checked?"on":"off"}"
2882
3351
  aria-label="Toggle bold"
2883
3352
  @click=${this.toggle}
2884
3353
  ?required=${this.required}
2885
3354
  ?disabled=${this.disabled}
2886
- ${O(e)}
3355
+ ${x(e)}
2887
3356
  >
2888
3357
  <slot></slot>
2889
3358
  </button>
2890
- `}},a.Toggle.styles=[p],a.Toggle.toggleVariants=Zo,J([d.property({type:Boolean})],a.Toggle.prototype,"disabled",2),J([d.property({attribute:!0,type:Boolean,reflect:!0})],a.Toggle.prototype,"checked",2),J([d.property({attribute:!0,type:Boolean,reflect:!0})],a.Toggle.prototype,"required",2),J([d.property({attribute:!0,type:String})],a.Toggle.prototype,"variant",2),J([d.property({attribute:!0,type:String})],a.Toggle.prototype,"size",2),a.Toggle=J([d.customElement("rtg-toggle")],a.Toggle);const tn="inline-flex items-center gap-1.5",rn="transition-colors hover:text-foreground",on="font-normal text-foreground",nn="[&>svg]:size-3.5",sn="flex h-9 w-9 items-center justify-center",an="flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";var ln=Object.defineProperty,dn=Object.getOwnPropertyDescriptor,st=(n,e,r,o)=>{for(var t=o>1?void 0:o?dn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&ln(e,r,t),t};let de=class extends C{constructor(){super(...arguments),this.href="/"}getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
2891
- <a
2892
- id="rtg-bread-crumb-link"
2893
- class="${h(rn,this.className)}"
2894
- ${O(n)}
2895
- href="${this.href}"
3359
+ `}},a.Toggle.styles=[c],a.Toggle.toggleVariants=Kn,ie([d.property({type:Boolean})],a.Toggle.prototype,"disabled",2),ie([d.property({attribute:!0,type:Boolean,reflect:!0})],a.Toggle.prototype,"checked",2),ie([d.property({attribute:!0,type:Boolean,reflect:!0})],a.Toggle.prototype,"required",2),ie([d.property({attribute:!0,type:String})],a.Toggle.prototype,"variant",2),ie([d.property({attribute:!0,type:String})],a.Toggle.prototype,"size",2),a.Toggle=ie([d.customElement("rtg-toggle")],a.Toggle);var jn=Object.defineProperty,Jn=Object.getOwnPropertyDescriptor,Je=(n,e,r,o)=>{for(var t=o>1?void 0:o?Jn(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&jn(e,r,t),t};a.ContextMenuContent=class extends l.LitElement{constructor(){super(...arguments),this.state=Se,this.isOpen=!1}get _contextMenu(){let e=this.parentElement;for(;e&&!(e instanceof a.ContextMenu);)e=e.parentElement;return e}connectedCallback(){super.connectedCallback(),this.isOpen&&document.addEventListener("mousedown",this.handleClickOutside)}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),super.disconnectedCallback()}updated(e){super.updated(e),this.state==="open"?this.isOpen=!0:this.isOpen=!1,e.has("isOpen")&&(this.isOpen?document.addEventListener("mousedown",this.handleClickOutside):document.removeEventListener("mousedown",this.handleClickOutside))}handleClickOutside(e){var t,s;const r=(t=this.shadowRoot)==null?void 0:t.querySelector("rtg-context-menu-content"),o=(s=this.shadowRoot)==null?void 0:s.querySelector("button");r&&!r.contains(e.target)&&!(o!=null&&o.contains(e.target))&&(this.isOpen=!1)}render(){return l.html`
3360
+ <div
3361
+ class="z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
3362
+ data-state="${this.state}"
3363
+ style="display: ${this.isOpen?"block":"none"}; width: 260px"
2896
3364
  >
2897
3365
  <slot></slot>
2898
- </a>
2899
- `}};de.styles=[l.css``,p],st([d.property({type:String})],de.prototype,"href",2),de=st([d.customElement("rtg-bread-crumb-link")],de);var cn=Object.defineProperty,pn=Object.getOwnPropertyDescriptor,un=(n,e,r,o)=>{for(var t=o>1?void 0:o?pn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&cn(e,r,t),t};let Oe=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
3366
+ </div>
3367
+ `}},a.ContextMenuContent.styles=[l.css``,c],Je([d.property({attribute:"data-state",type:String})],a.ContextMenuContent.prototype,"state",2),Je([d.state()],a.ContextMenuContent.prototype,"isOpen",2),a.ContextMenuContent=Je([d.customElement("rtg-context-menu-content")],a.ContextMenuContent);var Qn=Object.defineProperty,es=Object.getOwnPropertyDescriptor,Z=(n,e,r,o)=>{for(var t=o>1?void 0:o?es(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Qn(e,r,t),t};a.ContextMenuCheckboxItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.ContextMenuCheckboxItem._counter++}`:this._id=`rtgcmdrxgxli${a.ContextMenuCheckboxItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l.html`
3368
+ <div
3369
+ class="${p("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
3370
+ @click=${this.toggleChecked}
3371
+ @mouseover="${this.handleMouseEvent}"
3372
+ @mouseleave="${this.handleMouseEvent}"
3373
+ @focus="${this.handleMouseEvent}"
3374
+ rtgcmd-item
3375
+ role="option"
3376
+ aria-selected="${this.selected}"
3377
+ data-selected="${this.selected}"
3378
+ data-value="${this.value}"
3379
+ id="${this.identifier}"
3380
+ aria-hidden="${this.hidden}"
3381
+ >
3382
+ <span
3383
+ class="icon-space absolute left-2 flex items-center justify-center"
3384
+ >
3385
+ ${this.checked?l.html`
3386
+ <svg
3387
+ xmlns="http://www.w3.org/2000/svg"
3388
+ viewBox="0 0 24 24"
3389
+ width="16px"
3390
+ height="16px"
3391
+ >
3392
+ <path
3393
+ d="M 19.28125 5.28125 L 9 15.5625 L 4.71875 11.28125 L 3.28125 12.71875 L 8.28125 17.71875 L 9 18.40625 L 9.71875 17.71875 L 20.71875 6.71875 Z"
3394
+ />
3395
+ </svg>
3396
+ `:l.nothing}
3397
+ </span>
3398
+ <slot></slot>
3399
+ </div>
3400
+ `}},a.ContextMenuCheckboxItem._counter=0,a.ContextMenuCheckboxItem.styles=[l.css`
3401
+ .icon-space {
3402
+ width: 16px; /* Fixed width to reserve space for the check icon */
3403
+ height: 16px;
3404
+ display: inline-block;
3405
+ }
3406
+ `,c],Z([d.property({type:String})],a.ContextMenuCheckboxItem.prototype,"_id",2),Z([d.property({attribute:"aria-hidden",type:String})],a.ContextMenuCheckboxItem.prototype,"_hidden",2),Z([d.property({attribute:"data-value",type:String})],a.ContextMenuCheckboxItem.prototype,"value",1),Z([d.property({type:Boolean})],a.ContextMenuCheckboxItem.prototype,"selected",2),Z([d.property({type:Boolean})],a.ContextMenuCheckboxItem.prototype,"checked",2),Z([d.property({type:Boolean})],a.ContextMenuCheckboxItem.prototype,"disabled",2),a.ContextMenuCheckboxItem=Z([d.customElement("rtg-context-menu-checkbox-item")],a.ContextMenuCheckboxItem);var ts=Object.defineProperty,rs=Object.getOwnPropertyDescriptor,ke=(n,e,r,o)=>{for(var t=o>1?void 0:o?rs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&ts(e,r,t),t};a.ContextMenuGroup=class extends l.LitElement{constructor(){super(...arguments),this.heading="",this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}g${a.ContextMenuGroup._counter++}`:this._id=`rtgcmdrxlxg${a.ContextMenuGroup._counter++}`,this._id}render(){const e="overflow-hidden p-1 text-foreground [&_[rtgcmd-group-heading]]:px-2 [&_[rtgcmd-group-heading]]:py-1.5 [&_[rtgcmd-group-heading]]:text-xs [&_[rtgcmd-group-heading]]:font-medium [&_[rtgcmd-group-heading]]:text-muted-foreground";return l.html`${this._hidden==="true"?l.nothing:l.html`
3407
+ <div
3408
+ class="${e}"
3409
+ rtgcmd-group
3410
+ role="presentation"
3411
+ id="${this.identifier}"
3412
+ >
3413
+ <div
3414
+ rtgcmd-group-heading
3415
+ aria-hidden="true"
3416
+ id="${this.identifier}h"
3417
+ >
3418
+ ${this.heading}
3419
+ </div>
3420
+ <div
3421
+ rtgcmd-group-items
3422
+ role="group"
3423
+ aria-labelledby="${this.identifier}h"
3424
+ >
3425
+ <slot></slot>
3426
+ </div>
3427
+ </div>
3428
+ `}`}},a.ContextMenuGroup._counter=0,a.ContextMenuGroup.styles=[l.css``,c],ke([d.property({type:String})],a.ContextMenuGroup.prototype,"heading",2),ke([d.property({attribute:"id",type:String})],a.ContextMenuGroup.prototype,"_id",2),ke([d.property({attribute:"aria-hidden",type:String})],a.ContextMenuGroup.prototype,"_hidden",2),a.ContextMenuGroup=ke([d.customElement("rtg-context-menu-group")],a.ContextMenuGroup);var os=Object.defineProperty,ns=Object.getOwnPropertyDescriptor,we=(n,e,r,o)=>{for(var t=o>1?void 0:o?ns(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&os(e,r,t),t};a.ContextMenuItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.ContextMenuItem._counter++}`:this._id=`rtgcmdrxgxli${a.ContextMenuItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}render(){return l.html` ${this._hidden==="true"?l.nothing:l.html`
3429
+ <div
3430
+ class="${p("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 aria-selected:bg-accent aria-selected:text-accent-foreground",this.className)}"
3431
+ @mouseover="${this.handleMouseEvent}"
3432
+ @mouseleave="${this.handleMouseEvent}"
3433
+ @focus="${this.handleMouseEvent}"
3434
+ rtgcmd-item
3435
+ role="option"
3436
+ aria-selected="${this.selected}"
3437
+ data-selected="${this.selected}"
3438
+ data-value="${this.value}"
3439
+ id="${this.identifier}"
3440
+ aria-hidden="${this.hidden}"
3441
+ >
3442
+ <slot></slot>
3443
+ </div>
3444
+ `}`}},a.ContextMenuItem._counter=0,a.ContextMenuItem.styles=[l.css``,c],we([d.property({type:String})],a.ContextMenuItem.prototype,"_id",2),we([d.property({attribute:"aria-hidden",type:String})],a.ContextMenuItem.prototype,"_hidden",2),we([d.property({attribute:"data-value",type:String})],a.ContextMenuItem.prototype,"value",1),we([d.property({type:Boolean})],a.ContextMenuItem.prototype,"selected",2),a.ContextMenuItem=we([d.customElement("rtg-context-menu-item")],a.ContextMenuItem);var ss=Object.defineProperty,is=Object.getOwnPropertyDescriptor,j=(n,e,r,o)=>{for(var t=o>1?void 0:o?is(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&ss(e,r,t),t};a.ContextMenuRadioItem=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${a.ContextMenuRadioItem._counter++}`:this._id=`rtgcmdrxgxli${a.ContextMenuRadioItem._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked||(this.checked=!0,this.dispatchEvent(new CustomEvent("radio-selected",{bubbles:!0,composed:!0})))}render(){return l.html`
3445
+ <div
3446
+ class="${p("relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none aria-selected:bg-accent aria-selected:text-accent-foreground",this.disabled?"pointer-events-none opacity-50":"",this.className)}"
3447
+ @click=${this.toggleChecked}
3448
+ @mouseover="${this.handleMouseEvent}"
3449
+ @mouseleave="${this.handleMouseEvent}"
3450
+ @focus="${this.handleMouseEvent}"
3451
+ rtgcmd-item
3452
+ role="option"
3453
+ aria-selected="${this.selected}"
3454
+ data-selected="${this.selected}"
3455
+ data-value="${this.value}"
3456
+ id="${this.identifier}"
3457
+ aria-hidden="${this.hidden}"
3458
+ >
3459
+ <span
3460
+ class="icon-space absolute left-2 flex items-center justify-center"
3461
+ >
3462
+ ${this.checked?l.html` ${Vt()} `:l.nothing}
3463
+ </span>
3464
+ <slot></slot>
3465
+ </div>
3466
+ `}},a.ContextMenuRadioItem._counter=0,a.ContextMenuRadioItem.styles=[l.css`
3467
+ .icon-space {
3468
+ width: 16px; /* Fixed width to reserve space for the check icon */
3469
+ height: 16px;
3470
+ display: inline-block;
3471
+ }
3472
+ `,c],j([d.property({type:String})],a.ContextMenuRadioItem.prototype,"_id",2),j([d.property({attribute:"aria-hidden",type:String})],a.ContextMenuRadioItem.prototype,"_hidden",2),j([d.property({attribute:"data-value",type:String})],a.ContextMenuRadioItem.prototype,"value",1),j([d.property({type:Boolean})],a.ContextMenuRadioItem.prototype,"selected",2),j([d.property({type:Boolean})],a.ContextMenuRadioItem.prototype,"checked",2),j([d.property({type:Boolean})],a.ContextMenuRadioItem.prototype,"disabled",2),a.ContextMenuRadioItem=j([d.customElement("rtg-context-menu-radio-item")],a.ContextMenuRadioItem);var as=Object.defineProperty,ls=Object.getOwnPropertyDescriptor,Qe=(n,e,r,o)=>{for(var t=o>1?void 0:o?ls(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&as(e,r,t),t};a.ContextMenuSeparator=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}s${a.ContextMenuSeparator._counter++}`:this._id=`rtgcmdrxlxs${a.ContextMenuSeparator._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
3473
+ <div
3474
+ class="${p("-mx-1 h-px bg-border",this.className)}"
3475
+ rtgcmd-separator
3476
+ role="separator"
3477
+ id="${this.identifier}"
3478
+ ></div>
3479
+ `}`}},a.ContextMenuSeparator._counter=0,a.ContextMenuSeparator.styles=[l.css``,c],Qe([d.property({type:String})],a.ContextMenuSeparator.prototype,"_id",2),Qe([d.property({attribute:"aria-hidden",type:String})],a.ContextMenuSeparator.prototype,"_hidden",2),a.ContextMenuSeparator=Qe([d.customElement("rtg-context-menu-separator")],a.ContextMenuSeparator);var ds=Object.defineProperty,cs=Object.getOwnPropertyDescriptor,us=(n,e,r,o)=>{for(var t=o>1?void 0:o?cs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&ds(e,r,t),t};a.ContextMenuShortcut=class extends l.LitElement{render(){return l.html`
3480
+ <span class="${p("ml-auto text-xs font-semibold",this.className)}">
3481
+ <slot></slot>
3482
+ </span>
3483
+ `}},a.ContextMenuShortcut.styles=[l.css``,c],a.ContextMenuShortcut=us([d.customElement("rtg-context-menu-shortcut")],a.ContextMenuShortcut);var ps=Object.defineProperty,hs=Object.getOwnPropertyDescriptor,Ht=(n,e,r,o)=>{for(var t=o>1?void 0:o?hs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&ps(e,r,t),t};a.ContextMenu=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.handleClickOutside=e=>{var o;const r=e.target;(o=this.shadowRoot)!=null&&o.contains(r)||(this.isOpen=!1)}}connectedCallback(){super.connectedCallback(),document.addEventListener("click",this.handleClickOutside),this.addEventListener("radio-selected",this._handleRadioSelected)}disconnectedCallback(){document.removeEventListener("click",this.handleClickOutside),super.disconnectedCallback()}toggleDropdown(e){e.preventDefault(),e.stopPropagation();const{clientX:r,clientY:o}=e,t=e.target.getBoundingClientRect();requestAnimationFrame(()=>{const s=this._content;s&&(s.style.position="absolute",s.style.left=`${r-t.left}px`,s.style.top=`${o-t.top}px`,s.dataset.state="open",this.isOpen=!0)})}get _content(){var o;const e=(o=this.shadowRoot)==null?void 0:o.querySelector("slot"),r=e==null?void 0:e.assignedElements();if(r){for(let t=0;t<r.length;t++)if(r[t]instanceof a.ContextMenuContent)return r[t]}return null}updated(e){super.updated(e);const r=this._content;r&&(r.dataset.state=this.isOpen?"open":"close")}_handleRadioSelected(e){this.querySelectorAll("rtg-context-menu-radio-item").forEach(r=>{r!==e.target&&(r.checked=!1)})}render(){return l.html`
3484
+ <div style="display:flex">
3485
+ <div>
3486
+ <slot @contextmenu="${this.toggleDropdown}"></slot>
3487
+ </div>
3488
+ <div>
3489
+ <slot></slot>
3490
+ </div>
3491
+ </div>
3492
+ `}},a.ContextMenu.styles=[l.css``,c],Ht([d.state()],a.ContextMenu.prototype,"isOpen",2),a.ContextMenu=Ht([d.customElement("rtg-context-menu")],a.ContextMenu);var gs=Object.defineProperty,ms=Object.getOwnPropertyDescriptor,X=(n,e,r,o)=>{for(var t=o>1?void 0:o?ms(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&gs(e,r,t),t};a.SelectItem=class extends l.LitElement{constructor(){super(...arguments),this.key="",this.searchText="",this.value="",this.tabindex=0,this.isSelected=!1,this.class="",this.onSelect=()=>{}}render(){return l.html`
3493
+ <div
3494
+ key="${this.key}"
3495
+ class="flex items-center cursor-pointer py-2 px-4 w-full
3496
+ rounded-lg
3497
+ hover:bg-gray-100
3498
+ focus:outline-none
3499
+ focus:bg-gray-100
3500
+ dark:bg-neutral-900
3501
+ dark:hover:bg-neutral-800
3502
+ dark:text-neutral-200
3503
+ dark:focus:bg-neutral-800
3504
+ ${this.class}
3505
+ "
3506
+ tabindex="${this.tabindex}"
3507
+ aria-selected="${this.isSelected}"
3508
+ data-selected="${this.isSelected}"
3509
+ data-hs-combo-box-output-item=""
3510
+ role="option"
3511
+ @click="${this.onSelect}"
3512
+ >
3513
+ <span
3514
+ class="${this.isSelected?"visible":"invisible"} hs-combo-box-selected:block mr-2"
3515
+ >
3516
+ ${Gt()}
3517
+ </span>
3518
+ <div
3519
+ class="flex justify-between items-center w-full text-sm text-gray-500"
3520
+ >
3521
+ <span
3522
+ data-hs-combo-box-search-text="${this.searchText}"
3523
+ data-hs-combo-box-value="${this.value}"
3524
+ >
3525
+ ${this.searchText}
3526
+ </span>
3527
+ </div>
3528
+ </div>
3529
+ `}},a.SelectItem.styles=[l.css``,c],X([d.property({type:String})],a.SelectItem.prototype,"key",2),X([d.property({type:String})],a.SelectItem.prototype,"searchText",2),X([d.property({type:String})],a.SelectItem.prototype,"value",2),X([d.property({type:Number})],a.SelectItem.prototype,"tabindex",2),X([d.property({type:Boolean})],a.SelectItem.prototype,"isSelected",2),X([d.property({type:String})],a.SelectItem.prototype,"class",2),X([d.property({type:Function})],a.SelectItem.prototype,"onSelect",2),a.SelectItem=X([d.customElement("rtg-select-item")],a.SelectItem);var fs=Object.defineProperty,bs=Object.getOwnPropertyDescriptor,et=(n,e,r,o)=>{for(var t=o>1?void 0:o?bs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&fs(e,r,t),t};a.SelectList=class extends l.LitElement{constructor(){super(...arguments),this.state=Se,this.isOpen=!1}render(){return l.html`
3530
+ <div
3531
+ class="absolute z-50 w-full max-h-72 p-1 bg-white border border-gray-200 rounded-lg overflow-hidden overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 dark:bg-neutral-900 dark:border-neutral-700"
3532
+ data-hs-combo-box-output=""
3533
+ data-state="${this.state}"
3534
+ style="display: ${this.isOpen?"block":"none"}; top:115%"
3535
+ >
3536
+ <slot></slot>
3537
+ </div>
3538
+ `}},a.SelectList.styles=[l.css``,c],et([d.property({attribute:"data-state",type:String})],a.SelectList.prototype,"state",2),et([d.state()],a.SelectList.prototype,"isOpen",2),a.SelectList=et([d.customElement("rtg-select-list")],a.SelectList);var vs=Object.defineProperty,ws=Object.getOwnPropertyDescriptor,ys=(n,e,r,o)=>{for(var t=o>1?void 0:o?ws(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&vs(e,r,t),t};a.SelectLabel=class extends l.LitElement{render(){return l.html`
3539
+ <span class="${p("px-2 py-1.5 text-sm font-semibold",this.className)}">
3540
+ <slot></slot>
3541
+ </span>
3542
+ `}},a.SelectLabel.styles=[l.css``,c],a.SelectLabel=ys([d.customElement("rtg-select-label")],a.SelectLabel);var xs=Object.defineProperty,$s=Object.getOwnPropertyDescriptor,tt=(n,e,r,o)=>{for(var t=o>1?void 0:o?$s(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&xs(e,r,t),t};a.SelectSeperator=class extends l.LitElement{constructor(){super(...arguments),this._id="",this._hidden=""}get identifier(){var r,o;if(this._id!=="")return this._id;const e=(o=(r=this.parentElement)==null?void 0:r.shadowRoot)==null?void 0:o.querySelector("div[rtgcmd-list]");return e?this._id=`${e.getAttribute("id")}s${a.SelectSeperator._counter++}`:this._id=`rtgcmdrxlxs${a.SelectSeperator._counter++}`,this._id}render(){return l.html`${this._hidden==="true"?l.nothing:l.html`
3543
+ <div
3544
+ class="${p("-mx-1 h-px bg-border",this.className)}"
3545
+ rtgcmd-separator
3546
+ role="separator"
3547
+ id="${this.identifier}"
3548
+ ></div>
3549
+ `}`}},a.SelectSeperator._counter=0,a.SelectSeperator.styles=[l.css``,c],tt([d.property({type:String})],a.SelectSeperator.prototype,"_id",2),tt([d.property({attribute:"aria-hidden",type:String})],a.SelectSeperator.prototype,"_hidden",2),a.SelectSeperator=tt([d.customElement("rtg-select-separator")],a.SelectSeperator);var Cs=Object.defineProperty,_s=Object.getOwnPropertyDescriptor,Y=(n,e,r,o)=>{for(var t=o>1?void 0:o?_s(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Cs(e,r,t),t};a.Select=class extends l.LitElement{constructor(){super(...arguments),this.isOpen=!1,this.selectedValue="",this.searchTerm="",this.focusedIndex=-1,this.filteredItems=[],this.label="Select an item",this.items=[]}firstUpdated(e){this.items&&this.items.length>0&&(this.filteredItems=this.items.filter(r=>r.toLowerCase().includes(this.searchTerm)))}toggleDropdown(){this.isOpen=!this.isOpen}selectItem(e){const r=e.target;if(r instanceof HTMLElement){const o=r.closest("rtg-select-item");o?(this.selectedValue=o.getAttribute("data-hs-combo-box-value")||"",this.isOpen=!1):console.log("No valid rtg-select-item found")}else console.log("Event target is not an HTMLElement")}handleInputClick(){this.toggleDropdown()}handleKeyDown(e){const r=this.filteredItems.length;switch(e.key){case"ArrowDown":e.preventDefault(),this.focusedIndex=(this.focusedIndex+1)%r;break;case"ArrowUp":e.preventDefault(),this.focusedIndex=(this.focusedIndex-1+r)%r;break;case"Enter":this.focusedIndex>=0&&this.focusedIndex<r&&(this.selectedValue=this.filteredItems[this.focusedIndex],this.isOpen=!1);break}}handleMouseOver(e,r){e.preventDefault(),this.focusedIndex=r}render(){return l.html`
3550
+ <div class="relative" data-hs-combo-box="">
3551
+ <div class="relative">
3552
+ <input
3553
+ class="inline-flex justify-between items-center w-full h-10 px-4 py-2 whitespace-nowrap rounded-md
3554
+ text-sm font-medium border border-input cursor-pointer
3555
+ ring-offset-background
3556
+ transition-colors disabled:pointer-events-none
3557
+ disabled:opacity-50
3558
+ bg-background hover:bg-accent
3559
+ hover:text-accent-foreground
3560
+ outline-none"
3561
+ role="combobox"
3562
+ aria-expanded=${this.isOpen}
3563
+ readonly
3564
+ .value=${this.selectedValue||this.label}
3565
+ @click="${this.handleInputClick}"
3566
+ @keydown="${this.handleKeyDown}"
3567
+ />
3568
+ <div
3569
+ class="absolute top-1/2 end-3 -translate-y-1/2 cursor-pointer"
3570
+ aria-expanded=${this.isOpen}
3571
+ data-hs-combo-box-toggle=""
3572
+ @click="${this.toggleDropdown}"
3573
+ >
3574
+ ${Ft()}
3575
+ </div>
3576
+ </div>
3577
+ <div
3578
+ class="absolute z-50 w-full max-h-72 p-1 bg-white border border-gray-200 rounded-lg overflow-hidden overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-gray-100 [&::-webkit-scrollbar-thumb]:bg-gray-300 dark:[&::-webkit-scrollbar-track]:bg-neutral-700 dark:[&::-webkit-scrollbar-thumb]:bg-neutral-500 dark:bg-neutral-900 dark:border-neutral-700"
3579
+ style="display: ${this.isOpen?"block":"none"}; top:115%"
3580
+ data-hs-combo-box-output=""
3581
+ @keydown="${this.handleKeyDown}"
3582
+ >
3583
+ ${this.filteredItems.length===0?l.html`
3584
+ <div
3585
+ class="py-6 text-center text-sm"
3586
+ cmdk-empty=""
3587
+ role="presentation"
3588
+ >
3589
+ No item found.
3590
+ </div>
3591
+ `:l.html`
3592
+ <rtg-select-label style="margin-left:30px"
3593
+ >Countries</rtg-select-label
3594
+ >
3595
+ <rtg-select-separator></rtg-select-separator>
3596
+ ${this.filteredItems.map((e,r)=>l.html`
3597
+ <rtg-select-item
3598
+ .searchText=${e}
3599
+ .value=${e}
3600
+ data-hs-combo-box-value=${e}
3601
+ tabIndex=${r}
3602
+ @click="${o=>this.selectItem(o)}"
3603
+ @mouseover="${o=>this.handleMouseOver(o,r)}"
3604
+ ?isSelected=${e===this.selectedValue}
3605
+ ></rtg-select-item>
3606
+ `)}
3607
+ `}
3608
+ </div>
3609
+ </div>
3610
+ `}},a.Select.styles=[l.css``,c],Y([d.state()],a.Select.prototype,"isOpen",2),Y([d.state()],a.Select.prototype,"selectedValue",2),Y([d.state()],a.Select.prototype,"searchTerm",2),Y([d.state()],a.Select.prototype,"focusedIndex",2),Y([d.state()],a.Select.prototype,"filteredItems",2),Y([d.property({type:String})],a.Select.prototype,"label",2),Y([d.property({type:Array})],a.Select.prototype,"items",2),a.Select=Y([d.customElement("rtg-select")],a.Select);var Os=Object.defineProperty,Ps=Object.getOwnPropertyDescriptor,rt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ps(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Os(e,r,t),t};a.Switch=class extends l.LitElement{constructor(){super(...arguments),this.checked=!1,this.disabled=!1}_toggleChecked(){this.disabled||(this.checked=!this.checked,this.dispatchEvent(new CustomEvent("change",{detail:this.checked})))}render(){return l.html`
3611
+ <div class="${p("flex items-center space-x-2",this.className)}">
3612
+ <div
3613
+ @click="${this._toggleChecked}"
3614
+ data-testid="switch-atom"
3615
+ role="switch"
3616
+ aria-checked="${this.checked}"
3617
+ aria-disabled="${this.disabled}"
3618
+ class="${p("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background")}"
3619
+ style="background-color:${this.checked?"#000000":"#e0e0e0"};cursor:${this.disabled?"default":""}"
3620
+ >
3621
+ <div
3622
+ class="pointer-events-none block h-4 w-4 rounded-full bg-background
3623
+ shadow-lg ring-0 transition-transform"
3624
+ style="transform: translateX(${this.checked?"16px":"0px"})"
3625
+ ></div>
3626
+ </div>
3627
+ <slot></slot>
3628
+ </div>
3629
+ `}},a.Switch.styles=[l.css``,c],rt([d.property({type:Boolean,reflect:!0})],a.Switch.prototype,"checked",2),rt([d.property({type:Boolean})],a.Switch.prototype,"disabled",2),a.Switch=rt([d.customElement("rtg-switch")],a.Switch);const Ss="unChecked";var Es=Object.defineProperty,ks=Object.getOwnPropertyDescriptor,ae=(n,e,r,o)=>{for(var t=o>1?void 0:o?ks(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Es(e,r,t),t};a.RadioGroupItem=class extends l.LitElement{constructor(){super(...arguments),this.checked=!1,this.tabindex=0,this.value="",this.id="",this.state=Ss}_onClick(e){e.defaultPrevented||this.checked||(this.checked=!0,this.dispatchEvent(new CustomEvent("radio-selected",{bubbles:!0,composed:!0})))}render(){return l.html`
3630
+ <div class="${p("flex items-center space-x-2")}">
3631
+ <button
3632
+ type="button"
3633
+ role="radio"
3634
+ aria-checked="${this.checked}"
3635
+ data-state="${this.state}"
3636
+ value="${this.value}"
3637
+ @click="${this._onClick}"
3638
+ class="aspect-square h-4 w-4 rounded-full border border-primary text-primary shadow focus:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50"
3639
+ id="${this.id}"
3640
+ tabindex="${this.tabindex}"
3641
+ data-radix-collection-item=""
3642
+ >
3643
+ ${this.checked?l.html`<span
3644
+ data-state="checked"
3645
+ class="flex items-center justify-center"
3646
+ >
3647
+ ${Cn()}
3648
+ </span>`:l.nothing}
3649
+ </button>
3650
+ <label
3651
+ class="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
3652
+ for="${this.id}"
3653
+ >${this.value}</label
3654
+ >
3655
+ </div>
3656
+ `}},a.RadioGroupItem.styles=[l.css``,c],ae([d.property({type:Boolean,reflect:!0})],a.RadioGroupItem.prototype,"checked",2),ae([d.property({type:Number})],a.RadioGroupItem.prototype,"tabindex",2),ae([d.property({type:String})],a.RadioGroupItem.prototype,"value",2),ae([d.property({type:String})],a.RadioGroupItem.prototype,"id",2),ae([d.property({attribute:"data-state",type:String})],a.RadioGroupItem.prototype,"state",2),a.RadioGroupItem=ae([d.customElement("rtg-radio-group-item")],a.RadioGroupItem);var Ds=Object.defineProperty,Ms=Object.getOwnPropertyDescriptor,Is=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ms(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ds(e,r,t),t};a.RadioGroup=class extends l.LitElement{connectedCallback(){super.connectedCallback(),this.addEventListener("radio-selected",this._handleRadioSelected)}_handleRadioSelected(e){this.querySelectorAll("rtg-radio-group-item").forEach(r=>{r!==e.target&&(r.checked=!1)})}render(){return l.html`
3657
+ <div class="${p("grid gap-2",this.className)}" style="outline: none;">
3658
+ <slot></slot>
3659
+ </div>
3660
+ `}},a.RadioGroup.styles=[l.css``,c],a.RadioGroup=Is([d.customElement("rtg-radio-group")],a.RadioGroup);var As=Object.defineProperty,Ls=Object.getOwnPropertyDescriptor,ot=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ls(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&As(e,r,t),t};let ye=class extends y{constructor(){super(...arguments),this.value="",this.tabindex=0,this.handleClick=n=>{n.preventDefault(),n.stopPropagation();const e=n.currentTarget;if(e instanceof HTMLDivElement){const r=e.getAttribute("value")??"";this._accordion&&this._accordion.raiseEvent(r)}}}getAttributesToExclude(){return["aria-orientation","role","data-orientation","data-testid"]}connectedCallback(){super.connectedCallback()}firstUpdated(n){var e;this._accordion&&((e=this._accordion)==null||e.addEventListener("clicked-accordion",()=>{this.requestUpdate()}))}disconnectedCallback(){super.disconnectedCallback(),this._accordion&&this._accordion.removeEventListener("clicked-accordion",()=>{})}get _accordion(){let n=this.parentElement;for(;n&&!(n instanceof ce);)n=n.parentElement;return n}render(){const n=this.getFilteredAttributes();return D.html`
3661
+ <div
3662
+ data-state="closed"
3663
+ role="tablist"
3664
+ data-orientation="vertical"
3665
+ data-state="active"
3666
+ class="w-full border-b"
3667
+ value="$${this.value}"
3668
+ @click=${this.handleClick}
3669
+ ${x(n)}
3670
+ >
3671
+ <h3>
3672
+ <slot name="accordion-trigger"></slot>
3673
+ </h3>
3674
+ <div>
3675
+ ${this._accordion&&this._accordion.selectedItems.includes(this.value)?D.html` <slot name="accordion-content"></slot> `:D.nothing}
3676
+ </div>
3677
+ </div>
3678
+ `}};ye.styles=[D.css``,c],ot([d.property({type:String})],ye.prototype,"value",2),ot([d.property({type:Number})],ye.prototype,"tabindex",2),ye=ot([d.customElement("rtg-accordion-item")],ye);var zs=Object.defineProperty,Rs=Object.getOwnPropertyDescriptor,De=(n,e,r,o)=>{for(var t=o>1?void 0:o?Rs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&zs(e,r,t),t};let le=class extends y{constructor(){super(...arguments),this.defaultValue="",this.value=""}connectedCallback(){super.connectedCallback()}getAttributesToExclude(){return["value","defaultValue"]}render(){const n=this.getFilteredAttributes();return D.html`
3679
+ <button
3680
+ type="button"
3681
+ role="tab"
3682
+ value=${this.value}
3683
+ aria-selected=${this.defaultValue===this.value?"true":"false"}
3684
+ aria-controls=${this.value}
3685
+ aria-expanded=${this.defaultValue===this.value?"true":"false"}
3686
+ data-state=${this.defaultValue===this.value?"active":"inactive"}
3687
+ class="w-full flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180"
3688
+ tabindex="-1"
3689
+ data-orientation="horizontal"
3690
+ data-radix-collection-item=""
3691
+ ${x(n)}
3692
+ >
3693
+ <slot></slot>
3694
+ ${$n()}
3695
+ </button>
3696
+ `}};le.styles=[D.css``,c],De([d.property({type:String})],le.prototype,"defaultValue",2),De([d.property({type:String})],le.prototype,"value",2),De([d.property({type:Function})],le.prototype,"onClickCallback",2),le=De([d.customElement("rtg-accordion-trigger")],le);var Ts=Object.defineProperty,Bs=Object.getOwnPropertyDescriptor,nt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Bs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ts(e,r,t),t};let xe=class extends D.LitElement{constructor(){super(...arguments),this.value="",this.selectedValue=""}get _accordion(){let n=this.parentElement;for(;n&&!(n instanceof ce);)n=n.parentElement;return n}updated(n){super.updated(n)}render(){return D.html`
3697
+ <div
3698
+ data-state="open"
3699
+ role="region"
3700
+ data-orientation="vertical"
3701
+ class="overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down"
3702
+ style="
3703
+ --radix-accordion-content-height: var(--radix-collapsible-content-height);
3704
+ --radix-accordion-content-width: var(--radix-collapsible-content-width);
3705
+ --radix-collapsible-content-height: 0px;
3706
+ --radix-collapsible-content-width: 385px;"
3707
+ >
3708
+ <div class="pb-4 pt-0">
3709
+ <slot></slot>
3710
+ </div>
3711
+ </div>
3712
+ `}};xe.styles=[D.css``,c],nt([d.property({type:String})],xe.prototype,"value",2),nt([d.state()],xe.prototype,"selectedValue",2),xe=nt([d.customElement("rtg-accordion-content")],xe);var de=(n=>(n.MULTIPLE="multiple",n.SINGLE="single",n))(de||{}),Ns=Object.defineProperty,Fs=Object.getOwnPropertyDescriptor,Kt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Fs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ns(e,r,t),t};let ce=class extends y{constructor(){super(...arguments),this.type=de.MULTIPLE,this.selectedItems=[]}getAttributesToExclude(){return["variant"]}connectedCallback(){var n;super.connectedCallback(),(n=this.shadowRoot)==null||n.addEventListener("clicked-accordion",()=>{})}disconnectedCallback(){super.disconnectedCallback()}setSelectedItems(n){const e=this.selectedItems.indexOf(n);if(e>-1)if(this.type===de.SINGLE)this.selectedItems=[];else if(this.type===de.MULTIPLE)this.selectedItems.splice(e,1);else throw new Error("Type does not correct");else if(this.type===de.SINGLE)this.selectedItems[0]=n;else if(this.type===de.MULTIPLE)this.selectedItems.push(n);else throw new Error("Type does not correct")}raiseEvent(n){this.setSelectedItems(n);const e=new CustomEvent("clicked-accordion",{bubbles:!0,composed:!0,detail:{selectedItems:this.selectedItems}});this.dispatchEvent(e)}render(){const n=this.getFilteredAttributes();return l.html`
3713
+ <div data-orientation="vertical" ${x(n)}>
3714
+ <slot name="accordion-item"></slot>
3715
+ </div>
3716
+ `}};ce.styles=[l.css``,c],Kt([d.property({type:String})],ce.prototype,"type",2),ce=Kt([d.customElement("rtg-accordion")],ce);var st=(n=>(n.VERTICAL="vertical",n.HORIZONTAL="horizontal",n))(st||{}),Gs=Object.defineProperty,qs=Object.getOwnPropertyDescriptor,Wt=(n,e,r,o)=>{for(var t=o>1?void 0:o?qs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Gs(e,r,t),t};a.Separator=class extends y{constructor(){super(...arguments),this.orientation=st.HORIZONTAL}getAttributesToExclude(){return["variant"]}render(){const e=this.getFilteredAttributes();return this.orientation===st.HORIZONTAL?l.html` <div
3717
+ class="${p("shrink-0 bg-border w-full h-[1px] my-4",this.className)}"
3718
+ ${x(e)}
3719
+ role="none"
3720
+ ></div>`:(console.log("elseee "),l.html` <div
3721
+ class="${p("shrink-0 bg-border h-full w-[1px]",this.className)}"
3722
+ style=""
3723
+ role="none"
3724
+ ${x(e)}
3725
+ >
3726
+ &nbsp
3727
+ </div>`)}},a.Separator.styles=[l.css``,c],Wt([d.property({type:String})],a.Separator.prototype,"orientation",2),a.Separator=Wt([d.customElement("rtg-separator")],a.Separator);const Vs=N("inline-flex items-center justify-center rounded-sm text-sm font-medium ",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 px-4 py-2",sm:"h-7 rounded-sm px-3 text-xs",lg:"h-9 rounded-sm px-8",icon:"h-8 w-8"}},defaultVariants:{variant:"default",size:"default"}});var Us=Object.defineProperty,Xs=Object.getOwnPropertyDescriptor,ue=(n,e,r,o)=>{for(var t=o>1?void 0:o?Xs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Us(e,r,t),t};let A=class extends l.LitElement{constructor(){super(...arguments),this.click=()=>{},this.disabled=!1,this.isCustomClass=!1,this.variant="default",this.size="default"}render(){return l.html`
3728
+ <div
3729
+ class="${p(A.buttonVariants({variant:this.variant,size:this.size,className:this.className}))} ${this.isCustomClass?"rtg-sample-demo-custom-class":""}"
3730
+ >
3731
+ <div part="tab active">Tab A</div>
3732
+ <div class="px-4" part="tab">Tab B</div>
3733
+ <div part="tab">Tab C</div>
3734
+ </div>
3735
+ `}};A.buttonVariants=Vs,A.styles=[c,l.css`
3736
+ :host {
3737
+ --rtg-sample-demo-bg: unset;
3738
+ --rtg-sample-demo-color: unset;
3739
+ --rtg-sample-demo-radius: unset;
3740
+ --rtg-sample-demo-height: unset;
3741
+ }
3742
+ .rtg-sample-demo-custom-class {
3743
+ background-color: var(--rtg-sample-demo-bg);
3744
+ color: var(--rtg-sample-demo-color);
3745
+ border-radius: var(--rtg-sample-demo-radius);
3746
+ height: var(--rtg-sample-demo-height);
3747
+ }
3748
+ `],ue([d.property({type:Function})],A.prototype,"click",2),ue([d.property({type:Boolean})],A.prototype,"disabled",2),ue([d.property({type:String})],A.prototype,"isCustomClass",2),ue([d.property({type:String})],A.prototype,"variant",2),ue([d.property({type:String})],A.prototype,"size",2),A=ue([d.customElement("rtg-sample-demo")],A);var Ys=Object.defineProperty,Hs=Object.getOwnPropertyDescriptor,Ks=(n,e,r,o)=>{for(var t=o>1?void 0:o?Hs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ys(e,r,t),t};let it=class extends y{getAttributesToExclude(){return[""]}get _collapsible(){let n=this.parentElement;for(;n&&!(n instanceof pe);)n=n.parentElement;return n}onTrigger(){const n=this._collapsible;n&&(n.open=!n.open,n.onOpenChange())}render(){const n=this.getFilteredAttributes();return l.html`
3749
+ <div @click=${this.onTrigger} ${x(n)}>
3750
+ <slot></slot>
3751
+ </div>
3752
+ `}};it.styles=[l.css``,c],it=Ks([d.customElement("rtg-collapsible-trigger")],it);var Ws=Object.defineProperty,Zs=Object.getOwnPropertyDescriptor,js=(n,e,r,o)=>{for(var t=o>1?void 0:o?Zs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ws(e,r,t),t};let at=class extends y{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
3753
+ <div
3754
+ class="${this.className}"
3755
+ style="--radix-collapsible-content-height: 100px; --radix-collapsible-content-width: 350px;"
3756
+ ${x(n)}
3757
+ >
3758
+ <slot></slot>
3759
+ </div>
3760
+ `}};at.styles=[l.css``,c],at=js([d.customElement("rtg-collapsible-content")],at);var Js=Object.defineProperty,Qs=Object.getOwnPropertyDescriptor,lt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Qs(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Js(e,r,t),t};let pe=class extends y{constructor(){super(...arguments),this.open=!1,this.onOpenChange=()=>{}}getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
3761
+ <div data-state="${this.open?"open":"closed"}" ${x(n)}>
3762
+ <slot></slot>
3763
+ ${this.open?l.html`<slot name="collapsible-content"></slot>`:l.nothing}
3764
+ </div>
3765
+ `}};pe.styles=[l.css``,c],lt([d.property({type:Boolean})],pe.prototype,"open",2),lt([d.property({type:Function})],pe.prototype,"onOpenChange",2),pe=lt([d.customElement("rtg-collapsible")],pe);const ei="inline-flex items-center gap-1.5",ti="transition-colors hover:text-foreground",ri="font-normal text-foreground",oi="[&>svg]:size-3.5",ni="flex h-9 w-9 items-center justify-center",si="flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5";var ii=Object.defineProperty,ai=Object.getOwnPropertyDescriptor,li=(n,e,r,o)=>{for(var t=o>1?void 0:o?ai(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&ii(e,r,t),t};let dt=class extends y{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
2900
3766
  <span
2901
3767
  id="rtg-bread-crumb-ellipsis"
2902
3768
  role="presentation"
2903
3769
  aria-hidden="true"
2904
- class="${h(sn,this.className)}"
2905
- ${O(n)}
3770
+ class="${p(ni,this.className)}"
3771
+ ${x(n)}
2906
3772
  >
2907
3773
  <svg
2908
3774
  fill="#000000"
@@ -2917,29 +3783,29 @@ body {
2917
3783
  />
2918
3784
  </svg>
2919
3785
  </span>
2920
- `}};Oe.styles=[l.css``,p],Oe=un([d.customElement("rtg-bread-crumb-ellipsis")],Oe);var hn=Object.defineProperty,gn=Object.getOwnPropertyDescriptor,mn=(n,e,r,o)=>{for(var t=o>1?void 0:o?gn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&hn(e,r,t),t};let ke=class extends C{getAttributesToExclude(){return["variant"]}render(){const n=this.getFilteredAttributes();return l.html`
3786
+ `}};dt.styles=[l.css``,c],dt=li([d.customElement("rtg-bread-crumb-ellipsis")],dt);var di=Object.defineProperty,ci=Object.getOwnPropertyDescriptor,ui=(n,e,r,o)=>{for(var t=o>1?void 0:o?ci(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&di(e,r,t),t};let ct=class extends y{getAttributesToExclude(){return["variant"]}render(){const n=this.getFilteredAttributes();return l.html`
2921
3787
  <li
2922
3788
  id="rtg-bread-crumb-item"
2923
- class="${h(tn,this.className)}"
2924
- ${O(n)}
3789
+ class="${p(ei,this.className)}"
3790
+ ${x(n)}
2925
3791
  >
2926
3792
  <slot></slot>
2927
3793
  </li>
2928
- `}};ke.styles=[l.css``,p],ke=mn([d.customElement("rtg-bread-crumb-item")],ke);var fn=Object.defineProperty,bn=Object.getOwnPropertyDescriptor,vn=(n,e,r,o)=>{for(var t=o>1?void 0:o?bn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&fn(e,r,t),t};let De=class extends C{getAttributesToExclude(){return["variant"]}render(){const n=this.getFilteredAttributes();return l.html`
3794
+ `}};ct.styles=[l.css``,c],ct=ui([d.customElement("rtg-bread-crumb-item")],ct);var pi=Object.defineProperty,hi=Object.getOwnPropertyDescriptor,gi=(n,e,r,o)=>{for(var t=o>1?void 0:o?hi(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&pi(e,r,t),t};let ut=class extends y{getAttributesToExclude(){return["variant"]}render(){const n=this.getFilteredAttributes();return l.html`
2929
3795
  <ol
2930
3796
  id="rtg-bread-crumb-list"
2931
- class="${h(an,this.className)}"
2932
- ${O(n)}
3797
+ class="${p(si,this.className)}"
3798
+ ${x(n)}
2933
3799
  >
2934
3800
  <slot></slot>
2935
3801
  </ol>
2936
- `}};De.styles=[l.css``,p],De=vn([d.customElement("rtg-bread-crumb-list")],De);var wn=Object.defineProperty,yn=Object.getOwnPropertyDescriptor,xn=(n,e,r,o)=>{for(var t=o>1?void 0:o?yn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&wn(e,r,t),t};let Pe=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
3802
+ `}};ut.styles=[l.css``,c],ut=gi([d.customElement("rtg-bread-crumb-list")],ut);var mi=Object.defineProperty,fi=Object.getOwnPropertyDescriptor,bi=(n,e,r,o)=>{for(var t=o>1?void 0:o?fi(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&mi(e,r,t),t};let pt=class extends y{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
2937
3803
  <li
2938
3804
  id="rtg-bread-crumb-separator"
2939
3805
  role="presentation"
2940
3806
  aria-hidden="true"
2941
- class="${h(nn,this.className)}"
2942
- ${O(n)}
3807
+ class="${p(oi,this.className)}"
3808
+ ${x(n)}
2943
3809
  >
2944
3810
  <svg
2945
3811
  xmlns="http://www.w3.org/2000/svg"
@@ -2956,22 +3822,43 @@ body {
2956
3822
  <path d="M22 2 2 22"></path>
2957
3823
  </svg>
2958
3824
  </div>
2959
- `}};Pe.styles=[l.css``,p],Pe=xn([d.customElement("rtg-bread-crumb-separator")],Pe);var $n=Object.defineProperty,_n=Object.getOwnPropertyDescriptor,Cn=(n,e,r,o)=>{for(var t=o>1?void 0:o?_n(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&$n(e,r,t),t};let Ee=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
3825
+ `}};pt.styles=[l.css``,c],pt=bi([d.customElement("rtg-bread-crumb-separator")],pt);var vi=Object.defineProperty,wi=Object.getOwnPropertyDescriptor,yi=(n,e,r,o)=>{for(var t=o>1?void 0:o?wi(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&vi(e,r,t),t};let ht=class extends y{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
2960
3826
  <nav
2961
- class="${h(this.className)}"
3827
+ class="${p(this.className)}"
2962
3828
  aria-label="breadcrumb"
2963
- ${O(n)}
3829
+ ${x(n)}
2964
3830
  >
2965
3831
  <slot></slot>
2966
3832
  </nav>
2967
- `}};Ee.styles=[l.css``,p],Ee=Cn([d.customElement("rtg-bread-crumb")],Ee);var On=Object.defineProperty,kn=Object.getOwnPropertyDescriptor,Dn=(n,e,r,o)=>{for(var t=o>1?void 0:o?kn(e,r):e,i=n.length-1,s;i>=0;i--)(s=n[i])&&(t=(o?s(e,r,t):s(t))||t);return o&&t&&On(e,r,t),t};let Se=class extends C{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
3833
+ `}};ht.styles=[l.css``,c],ht=yi([d.customElement("rtg-bread-crumb")],ht);var xi=Object.defineProperty,$i=Object.getOwnPropertyDescriptor,Ci=(n,e,r,o)=>{for(var t=o>1?void 0:o?$i(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&xi(e,r,t),t};let gt=class extends y{getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
2968
3834
  <span
2969
3835
  id="rtg-bread-crumb-text"
2970
3836
  aria-disabled="true"
2971
3837
  aria-current="page"
2972
- class="${h(on,this.className)}"
2973
- ${O(n)}
3838
+ class="${p(ri,this.className)}"
3839
+ ${x(n)}
2974
3840
  >
2975
3841
  <slot></slot>
2976
3842
  </span>
2977
- `}};Se.styles=[l.css``,p],Se=Dn([d.customElement("rtg-bread-crumb-text")],Se),Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
3843
+ `}};gt.styles=[l.css``,c],gt=Ci([d.customElement("rtg-bread-crumb-text")],gt);var _i=Object.defineProperty,Oi=Object.getOwnPropertyDescriptor,Zt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Oi(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&_i(e,r,t),t};let Me=class extends y{constructor(){super(...arguments),this.href="/"}getAttributesToExclude(){return[""]}render(){const n=this.getFilteredAttributes();return l.html`
3844
+ <a
3845
+ id="rtg-bread-crumb-link"
3846
+ class="${p(ti,this.className)}"
3847
+ ${x(n)}
3848
+ href="${this.href}"
3849
+ >
3850
+ <slot></slot>
3851
+ </a>
3852
+ `}};Me.styles=[l.css``,c],Zt([d.property({type:String})],Me.prototype,"href",2),Me=Zt([d.customElement("rtg-bread-crumb-link")],Me);var Pi=Object.defineProperty,Si=Object.getOwnPropertyDescriptor,H=(n,e,r,o)=>{for(var t=o>1?void 0:o?Si(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Pi(e,r,t),t};let O=class extends y{constructor(){super(...arguments),this.click=()=>{},this.clientName="",this.username="",this.pinLength=6,this.onChange=(n,e)=>{},this.pin=new Array(this.pinLength),this.inputElement=[Q.createRef(),Q.createRef(),Q.createRef(),Q.createRef(),Q.createRef(),Q.createRef()]}getAttributesToExclude(){return[]}firstUpdated(){var n;(n=this.inputElement[0].value)==null||n.focus()}updated(n){n.has("pin")&&this.pin.join("").length===this.pinLength&&this.onChange(this.pin.join(""),this.username)}connectedCallback(){super.connectedCallback()}handleChangePinFocus(n){const e=this.inputElement[n].value;e&&e.focus()}setNewPin(n,e){let r=[...this.pin];r[e]!==n&&(r[e]=n),this.pin=r,this.handleChangePinFocus(e+1)}findDifferentChars(n,e){let r=n.split(""),o=e.split(""),t=r.filter(i=>!o.includes(i)),s=o.filter(i=>!r.includes(i));return t.concat(s).join("")??e}handleInputChange(n,e){const r=new RegExp(/^\d+$/);let{value:o,key:t}=n.target;if(o.length>1&&(o=this.findDifferentChars(o,this.pin[e])),t!==O.BACKSPACE_KEY)if(r.test(o)){if(o===O.BACKSPACE_KEY||o===""){this.handleChangePinFocus(e-1);return}if(o<O.PIN_MIN_VALUE||o>O.PIN_MAX_VALUE||this.pin.join("").length===this.pinLength)return;this.setNewPin(o.slice(-1),e)}else this.pin[e]&&o!==""&&this.handleChangePinFocus(e+1)}handleKeyDown(n,e){const r=n.which?n.which:n.keyCode;if(r>31&&(r<48||r>57)&&(r<96||r>105)&&n.preventDefault(),n.key==this.pin[e]&&(n.preventDefault(),this.handleChangePinFocus(e+1)),n.key==="Backspace"){let o=[...this.pin];o[e]="",this.pin=o,this.handleChangePinFocus(e-1),n.preventDefault();return}}handleShowValue(n){const e=this.pin[n];return e===0?"0":e?e.toString().charAt(e.toString().length-1):""}render(){return l.html`
3853
+ <div class="flex">
3854
+ <slot></slot>
3855
+ </div>
3856
+ `}};O.styles=[l.css``,c],O.PIN_MIN_VALUE="0",O.PIN_MAX_VALUE="9",O.BACKSPACE_KEY="Backspace",H([d.property({type:Function})],O.prototype,"click",2),H([d.property()],O.prototype,"clientName",2),H([d.property()],O.prototype,"username",2),H([d.property()],O.prototype,"pinLength",2),H([d.property()],O.prototype,"onChange",2),H([d.property()],O.prototype,"pin",2),H([d.property({type:Array})],O.prototype,"inputElement",2),O=H([d.customElement("rtg-input-otp")],O);var Ei=Object.defineProperty,ki=Object.getOwnPropertyDescriptor,jt=(n,e,r,o)=>{for(var t=o>1?void 0:o?ki(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ei(e,r,t),t};let Ie=class extends y{constructor(){super(...arguments),this.click=()=>{}}getAttributesToExclude(){return[]}render(){return this.getFilteredAttributes(),l.html`
3857
+ <div class="flex">
3858
+ <slot></slot>
3859
+ </div>
3860
+ `}};Ie.styles=[l.css``,c],jt([d.property({type:Function})],Ie.prototype,"click",2),Ie=jt([d.customElement("input-otp-group")],Ie);var Di=Object.defineProperty,Mi=Object.getOwnPropertyDescriptor,Jt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Mi(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Di(e,r,t),t};let Ae=class extends y{constructor(){super(...arguments),this.index=0}getAttributesToExclude(){return[]}render(){return this.getFilteredAttributes(),l.html` <div role="separator">${_n()}</div> `}};Ae.styles=[l.css``,c],Jt([d.property({type:Number})],Ae.prototype,"index",2),Ae=Jt([d.customElement("input-otp-separator")],Ae);var Ii=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,Qt=(n,e,r,o)=>{for(var t=o>1?void 0:o?Ai(e,r):e,s=n.length-1,i;s>=0;s--)(i=n[s])&&(t=(o?i(e,r,t):i(t))||t);return o&&t&&Ii(e,r,t),t};let Le=class extends y{constructor(){super(...arguments),this.click=()=>{}}getAttributesToExclude(){return[]}render(){return this.getFilteredAttributes(),l.html`
3861
+ <div>
3862
+ <input class="border mx-2 rounded-md" style="width:40px" />
3863
+ </div>
3864
+ `}};Le.styles=[l.css``,c],Qt([d.property({type:Function})],Le.prototype,"click",2),Le=Qt([d.customElement("input-otp-slot")],Le),Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});