godown 3.10.1 → 3.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/README.md +2 -63
  2. package/alert.d.ts.map +1 -1
  3. package/avatar.d.ts.map +1 -1
  4. package/badge.d.ts.map +1 -1
  5. package/breath.d.ts.map +1 -1
  6. package/build/godown+lit.iife.js +14 -14
  7. package/build/godown+lit.iife.js.map +1 -1
  8. package/build/godown+lit.js +14 -14
  9. package/build/godown+lit.js.map +1 -1
  10. package/build/godown+lit.umd.js +14 -14
  11. package/build/godown+lit.umd.js.map +1 -1
  12. package/build/godown.iife.js +9 -9
  13. package/build/godown.js +7 -7
  14. package/build/godown.js.map +1 -1
  15. package/build/godown.umd.js +10 -10
  16. package/build/godown.umd.js.map +1 -1
  17. package/button.d.ts.map +1 -1
  18. package/card.d.ts.map +1 -1
  19. package/carousel.d.ts.map +1 -1
  20. package/chip.d.ts +2 -0
  21. package/chip.d.ts.map +1 -0
  22. package/chip.js +2 -0
  23. package/chip.js.map +1 -0
  24. package/custom-elements.json +1 -1
  25. package/details.d.ts.map +1 -1
  26. package/dialog.d.ts.map +1 -1
  27. package/divider.d.ts.map +1 -1
  28. package/dragbox.d.ts.map +1 -1
  29. package/flex.d.ts.map +1 -1
  30. package/form.d.ts.map +1 -1
  31. package/grid.d.ts.map +1 -1
  32. package/heading.d.ts.map +1 -1
  33. package/index.d.ts +1 -0
  34. package/index.d.ts.map +1 -1
  35. package/index.js +1 -1
  36. package/input.d.ts.map +1 -1
  37. package/internal/direction.d.ts.map +1 -1
  38. package/internal/direction.js.map +1 -1
  39. package/internal/global-style.d.ts +8 -9
  40. package/internal/global-style.d.ts.map +1 -1
  41. package/internal/global-style.js +1 -1
  42. package/internal/global-style.js.map +1 -1
  43. package/internal/icons/caret-down.d.ts +4 -0
  44. package/internal/icons/caret-down.d.ts.map +1 -0
  45. package/internal/icons/caret-down.js +2 -0
  46. package/internal/icons/caret-down.js.map +1 -0
  47. package/internal/icons/caret-left.d.ts +4 -0
  48. package/internal/icons/caret-left.d.ts.map +1 -0
  49. package/internal/icons/caret-left.js +2 -0
  50. package/internal/icons/caret-left.js.map +1 -0
  51. package/internal/icons/caret-right.d.ts +4 -0
  52. package/internal/icons/caret-right.d.ts.map +1 -0
  53. package/internal/icons/caret-right.js +2 -0
  54. package/internal/icons/caret-right.js.map +1 -0
  55. package/internal/icons/eye-slash.d.ts +4 -0
  56. package/internal/icons/eye-slash.d.ts.map +1 -0
  57. package/internal/icons/eye-slash.js +2 -0
  58. package/internal/icons/eye-slash.js.map +1 -0
  59. package/internal/ring.d.ts +19 -0
  60. package/internal/ring.d.ts.map +1 -0
  61. package/internal/ring.js +2 -0
  62. package/internal/ring.js.map +1 -0
  63. package/internal/super-input.d.ts +2 -2
  64. package/internal/super-input.d.ts.map +1 -1
  65. package/internal/super-input.js +1 -1
  66. package/internal/super-input.js.map +1 -1
  67. package/internal/super-openable.d.ts.map +1 -1
  68. package/internal/super-openable.js.map +1 -1
  69. package/layout.d.ts.map +1 -1
  70. package/link.d.ts.map +1 -1
  71. package/package.json +3 -5
  72. package/progress.d.ts.map +1 -1
  73. package/range.d.ts.map +1 -1
  74. package/rotate.d.ts.map +1 -1
  75. package/router.d.ts.map +1 -1
  76. package/select.d.ts.map +1 -1
  77. package/skeleton.d.ts.map +1 -1
  78. package/split.d.ts.map +1 -1
  79. package/src/chip.ts +1 -0
  80. package/src/index.ts +1 -0
  81. package/src/internal/global-style.ts +40 -37
  82. package/src/internal/icons/caret-down.ts +7 -0
  83. package/src/internal/icons/caret-left.ts +7 -0
  84. package/src/internal/icons/caret-right.ts +7 -0
  85. package/src/internal/icons/eye-slash.ts +7 -0
  86. package/src/internal/ring.ts +57 -0
  87. package/src/internal/super-input.ts +9 -70
  88. package/src/web-components/alert/component.ts +16 -195
  89. package/src/web-components/badge/component.ts +7 -96
  90. package/src/web-components/breath/component.ts +8 -8
  91. package/src/web-components/button/component.ts +9 -139
  92. package/src/web-components/card/component.ts +11 -6
  93. package/src/web-components/carousel/component.ts +6 -6
  94. package/src/web-components/chip/component.ts +115 -0
  95. package/src/web-components/chip/definition.ts +11 -0
  96. package/src/web-components/details/component.ts +1 -1
  97. package/src/web-components/divider/component.ts +2 -17
  98. package/src/web-components/heading/component.ts +12 -16
  99. package/src/web-components/input/component.ts +87 -39
  100. package/src/web-components/link/component.ts +53 -3
  101. package/src/web-components/progress/component.ts +2 -1
  102. package/src/web-components/range/component.ts +19 -25
  103. package/src/web-components/rotate/component.ts +2 -2
  104. package/src/web-components/select/component.ts +14 -18
  105. package/src/web-components/select/definition.ts +1 -1
  106. package/src/web-components/skeleton/component.ts +13 -57
  107. package/src/web-components/split/component.ts +16 -14
  108. package/src/web-components/switch/component.ts +4 -7
  109. package/src/web-components/tabs/component.ts +11 -8
  110. package/src/web-components/text/component.ts +2 -2
  111. package/switch.d.ts.map +1 -1
  112. package/tabs.d.ts.map +1 -1
  113. package/text.d.ts.map +1 -1
  114. package/time.d.ts.map +1 -1
  115. package/tooltip.d.ts.map +1 -1
  116. package/typewriter.d.ts.map +1 -1
  117. package/vscode.html-custom-data.json +1 -1
  118. package/web-components/alert/component.d.ts +5 -32
  119. package/web-components/alert/component.d.ts.map +1 -1
  120. package/web-components/alert/component.js +1 -1
  121. package/web-components/alert/component.js.map +1 -1
  122. package/web-components/alert/definition.d.ts.map +1 -1
  123. package/web-components/alert/definition.js.map +1 -1
  124. package/web-components/avatar/component.d.ts.map +1 -1
  125. package/web-components/avatar/component.js.map +1 -1
  126. package/web-components/avatar/definition.d.ts.map +1 -1
  127. package/web-components/avatar/definition.js.map +1 -1
  128. package/web-components/badge/component.d.ts +4 -21
  129. package/web-components/badge/component.d.ts.map +1 -1
  130. package/web-components/badge/component.js +1 -1
  131. package/web-components/badge/component.js.map +1 -1
  132. package/web-components/badge/definition.d.ts.map +1 -1
  133. package/web-components/badge/definition.js.map +1 -1
  134. package/web-components/breath/component.d.ts.map +1 -1
  135. package/web-components/breath/component.js +1 -1
  136. package/web-components/breath/component.js.map +1 -1
  137. package/web-components/breath/definition.d.ts.map +1 -1
  138. package/web-components/breath/definition.js.map +1 -1
  139. package/web-components/button/component.d.ts +0 -18
  140. package/web-components/button/component.d.ts.map +1 -1
  141. package/web-components/button/component.js +1 -1
  142. package/web-components/button/component.js.map +1 -1
  143. package/web-components/button/definition.d.ts.map +1 -1
  144. package/web-components/button/definition.js.map +1 -1
  145. package/web-components/card/component.d.ts +3 -0
  146. package/web-components/card/component.d.ts.map +1 -1
  147. package/web-components/card/component.js +1 -1
  148. package/web-components/card/component.js.map +1 -1
  149. package/web-components/card/definition.d.ts.map +1 -1
  150. package/web-components/card/definition.js.map +1 -1
  151. package/web-components/carousel/component.d.ts.map +1 -1
  152. package/web-components/carousel/component.js +1 -1
  153. package/web-components/carousel/component.js.map +1 -1
  154. package/web-components/carousel/definition.d.ts.map +1 -1
  155. package/web-components/carousel/definition.js.map +1 -1
  156. package/web-components/chip/component.d.ts +31 -0
  157. package/web-components/chip/component.d.ts.map +1 -0
  158. package/web-components/chip/component.js +2 -0
  159. package/web-components/chip/component.js.map +1 -0
  160. package/web-components/chip/definition.d.ts +8 -0
  161. package/web-components/chip/definition.d.ts.map +1 -0
  162. package/web-components/chip/definition.js +2 -0
  163. package/web-components/chip/definition.js.map +1 -0
  164. package/web-components/details/component.d.ts.map +1 -1
  165. package/web-components/details/component.js +1 -1
  166. package/web-components/details/component.js.map +1 -1
  167. package/web-components/details/definition.d.ts.map +1 -1
  168. package/web-components/details/definition.js.map +1 -1
  169. package/web-components/dialog/component.d.ts.map +1 -1
  170. package/web-components/dialog/component.js.map +1 -1
  171. package/web-components/dialog/definition.d.ts.map +1 -1
  172. package/web-components/dialog/definition.js.map +1 -1
  173. package/web-components/divider/component.d.ts.map +1 -1
  174. package/web-components/divider/component.js +1 -1
  175. package/web-components/divider/component.js.map +1 -1
  176. package/web-components/divider/definition.d.ts.map +1 -1
  177. package/web-components/divider/definition.js.map +1 -1
  178. package/web-components/dragbox/component.d.ts.map +1 -1
  179. package/web-components/dragbox/component.js.map +1 -1
  180. package/web-components/dragbox/definition.d.ts.map +1 -1
  181. package/web-components/dragbox/definition.js.map +1 -1
  182. package/web-components/flex/component.d.ts.map +1 -1
  183. package/web-components/flex/component.js.map +1 -1
  184. package/web-components/flex/definition.d.ts.map +1 -1
  185. package/web-components/flex/definition.js.map +1 -1
  186. package/web-components/form/component.d.ts.map +1 -1
  187. package/web-components/form/component.js.map +1 -1
  188. package/web-components/form/definition.d.ts.map +1 -1
  189. package/web-components/form/definition.js.map +1 -1
  190. package/web-components/grid/component.d.ts.map +1 -1
  191. package/web-components/grid/component.js.map +1 -1
  192. package/web-components/grid/definition.d.ts.map +1 -1
  193. package/web-components/grid/definition.js.map +1 -1
  194. package/web-components/heading/component.d.ts +2 -2
  195. package/web-components/heading/component.d.ts.map +1 -1
  196. package/web-components/heading/component.js +1 -1
  197. package/web-components/heading/component.js.map +1 -1
  198. package/web-components/heading/definition.d.ts.map +1 -1
  199. package/web-components/heading/definition.js.map +1 -1
  200. package/web-components/input/component.d.ts +3 -3
  201. package/web-components/input/component.d.ts.map +1 -1
  202. package/web-components/input/component.js +1 -1
  203. package/web-components/input/component.js.map +1 -1
  204. package/web-components/input/definition.d.ts.map +1 -1
  205. package/web-components/input/definition.js.map +1 -1
  206. package/web-components/layout/component.d.ts.map +1 -1
  207. package/web-components/layout/component.js.map +1 -1
  208. package/web-components/layout/definition.d.ts.map +1 -1
  209. package/web-components/layout/definition.js.map +1 -1
  210. package/web-components/link/component.d.ts +13 -2
  211. package/web-components/link/component.d.ts.map +1 -1
  212. package/web-components/link/component.js +1 -1
  213. package/web-components/link/component.js.map +1 -1
  214. package/web-components/link/definition.d.ts.map +1 -1
  215. package/web-components/link/definition.js.map +1 -1
  216. package/web-components/progress/component.d.ts.map +1 -1
  217. package/web-components/progress/component.js +1 -1
  218. package/web-components/progress/component.js.map +1 -1
  219. package/web-components/progress/definition.d.ts.map +1 -1
  220. package/web-components/progress/definition.js.map +1 -1
  221. package/web-components/range/component.d.ts.map +1 -1
  222. package/web-components/range/component.js +1 -1
  223. package/web-components/range/component.js.map +1 -1
  224. package/web-components/range/definition.d.ts.map +1 -1
  225. package/web-components/range/definition.js.map +1 -1
  226. package/web-components/rotate/component.d.ts.map +1 -1
  227. package/web-components/rotate/component.js +1 -1
  228. package/web-components/rotate/component.js.map +1 -1
  229. package/web-components/rotate/definition.d.ts.map +1 -1
  230. package/web-components/rotate/definition.js.map +1 -1
  231. package/web-components/router/component.d.ts.map +1 -1
  232. package/web-components/router/component.js.map +1 -1
  233. package/web-components/router/definition.d.ts.map +1 -1
  234. package/web-components/router/definition.js.map +1 -1
  235. package/web-components/select/component.d.ts +2 -1
  236. package/web-components/select/component.d.ts.map +1 -1
  237. package/web-components/select/component.js +1 -1
  238. package/web-components/select/component.js.map +1 -1
  239. package/web-components/select/definition.d.ts +1 -1
  240. package/web-components/select/definition.d.ts.map +1 -1
  241. package/web-components/select/definition.js.map +1 -1
  242. package/web-components/skeleton/component.d.ts +0 -9
  243. package/web-components/skeleton/component.d.ts.map +1 -1
  244. package/web-components/skeleton/component.js +1 -1
  245. package/web-components/skeleton/component.js.map +1 -1
  246. package/web-components/skeleton/definition.d.ts.map +1 -1
  247. package/web-components/skeleton/definition.js.map +1 -1
  248. package/web-components/split/component.d.ts +1 -1
  249. package/web-components/split/component.d.ts.map +1 -1
  250. package/web-components/split/component.js +1 -1
  251. package/web-components/split/component.js.map +1 -1
  252. package/web-components/split/definition.d.ts.map +1 -1
  253. package/web-components/split/definition.js.map +1 -1
  254. package/web-components/switch/component.d.ts.map +1 -1
  255. package/web-components/switch/component.js +1 -1
  256. package/web-components/switch/component.js.map +1 -1
  257. package/web-components/switch/definition.d.ts.map +1 -1
  258. package/web-components/switch/definition.js.map +1 -1
  259. package/web-components/tabs/component.d.ts +3 -3
  260. package/web-components/tabs/component.d.ts.map +1 -1
  261. package/web-components/tabs/component.js +1 -1
  262. package/web-components/tabs/component.js.map +1 -1
  263. package/web-components/tabs/definition.d.ts.map +1 -1
  264. package/web-components/tabs/definition.js.map +1 -1
  265. package/web-components/text/component.d.ts +1 -1
  266. package/web-components/text/component.d.ts.map +1 -1
  267. package/web-components/text/component.js +1 -1
  268. package/web-components/text/component.js.map +1 -1
  269. package/web-components/text/definition.d.ts.map +1 -1
  270. package/web-components/text/definition.js.map +1 -1
  271. package/web-components/time/component.d.ts.map +1 -1
  272. package/web-components/time/component.js.map +1 -1
  273. package/web-components/time/definition.d.ts.map +1 -1
  274. package/web-components/time/definition.js.map +1 -1
  275. package/web-components/tooltip/component.d.ts.map +1 -1
  276. package/web-components/tooltip/component.js.map +1 -1
  277. package/web-components/tooltip/definition.d.ts.map +1 -1
  278. package/web-components/tooltip/definition.js.map +1 -1
  279. package/web-components/typewriter/component.d.ts.map +1 -1
  280. package/web-components/typewriter/component.js.map +1 -1
  281. package/web-components/typewriter/definition.d.ts.map +1 -1
  282. package/web-components/typewriter/definition.js.map +1 -1
  283. package/web-types.json +1 -1
  284. package/internal/outline.d.ts +0 -19
  285. package/internal/outline.d.ts.map +0 -1
  286. package/internal/outline.js +0 -2
  287. package/internal/outline.js.map +0 -1
  288. package/internal/super-anchor.d.ts +0 -18
  289. package/internal/super-anchor.d.ts.map +0 -1
  290. package/internal/super-anchor.js +0 -2
  291. package/internal/super-anchor.js.map +0 -1
  292. package/src/internal/outline.ts +0 -58
  293. package/src/internal/super-anchor.ts +0 -60
@@ -1 +1 @@
1
- {"version":3,"file":"godown.umd.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../sharekit/is.js","../../sharekit/helper.js","../../sharekit/string.js","../../element/tools/lib.js","../../element/tools/css.js","../../element/controllers/style.js","../../element/decorators/styles.js","../../element/decorators/godown.js","../../element/decorators/component.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-all.js","../../element/decorators/part.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directive.js","../../element/directives/attr.js","../../element/directives/html-slot.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/directives/token-list.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../element/config.js","../../f7-icon/icons/checkmark-alt-circle.js","../../f7-icon/icons/exclamationmark-circle.js","../../f7-icon/icons/info-circle.js","../../f7-icon/icons/lightbulb.js","../../f7-icon/icons/question-circle.js","../../f7-icon/icons/slash-circle.js","../../f7-icon/icons/xmark-circle.js","../../f7-icon/icons/xmark.js","../../colors/presets-rgb.js","../internal/global-style.js","../../colors/travel.js","../web-components/alert/component.js","../web-components/alert/definition.js","../web-components/avatar/component.js","../web-components/avatar/definition.js","../web-components/badge/component.js","../web-components/badge/definition.js","../web-components/breath/component.js","../web-components/breath/definition.js","../web-components/button/component.js","../web-components/button/definition.js","../web-components/card/component.js","../web-components/card/definition.js","../../f7-icon/icons/chevron-left.js","../../f7-icon/icons/chevron-right.js","../web-components/carousel/component.js","../web-components/carousel/definition.js","../../f7-icon/icons/chevron-down.js","../internal/super-openable.js","../web-components/details/component.js","../web-components/details/definition.js","../web-components/dialog/component.js","../web-components/dialog/definition.js","../web-components/divider/component.js","../web-components/divider/definition.js","../web-components/dragbox/component.js","../web-components/dragbox/definition.js","../web-components/flex/component.js","../web-components/form/component.js","../web-components/flex/definition.js","../web-components/form/definition.js","../web-components/grid/component.js","../web-components/grid/definition.js","../web-components/heading/component.js","../web-components/heading/definition.js","../../f7-icon/icons/eye-slash-fill.js","../internal/super-input.js","../internal/outline.js","../web-components/input/component.js","../web-components/input/definition.js","../web-components/layout/component.js","../web-components/layout/definition.js","../internal/super-anchor.js","../web-components/router/component.js","../web-components/link/component.js","../web-components/link/definition.js","../web-components/progress/component.js","../web-components/progress/definition.js","../web-components/range/component.js","../web-components/range/definition.js","../web-components/rotate/component.js","../web-components/rotate/definition.js","../web-components/router/definition.js","../internal/direction.js","../web-components/select/component.js","../web-components/select/definition.js","../../f7-icon/icons/photo.js","../web-components/skeleton/component.js","../web-components/skeleton/definition.js","../web-components/split/component.js","../web-components/split/definition.js","../web-components/switch/component.js","../web-components/switch/definition.js","../web-components/text/component.js","../web-components/text/definition.js","../web-components/tabs/component.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../web-components/tabs/definition.js","../web-components/time/component.js","../web-components/tooltip/component.js","../web-components/time/definition.js","../web-components/tooltip/definition.js","../web-components/typewriter/component.js","../web-components/typewriter/definition.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","export const isNullable = (value) => value === null || value === undefined;\nexport const isNumerical = (value) => !Number.isNaN(+value);\nexport const isBoolean = (value) => typeof value === \"boolean\";\nexport const isString = (value) => typeof value === \"string\";\nexport const isSymbol = (value) => typeof value === \"symbol\";\nexport const isNumber = (value) => typeof value === \"number\";\nexport const isBigInt = (value) => typeof value === \"bigint\";\nexport const isFunction = (value) => typeof value === \"function\";\nexport const isObject = (value) => value !== null && typeof value === \"object\";\nexport const isPlainObject = (value) => isObject(value) && Object.getPrototypeOf(value) === Object.prototype;\nexport const isPropertyKey = (value) => isString(value) || isSymbol(value) || isNumber(value);\nexport const isPrimitive = (value) => !isObject(value) && !isFunction(value);\nexport const { isArray } = Array;\nexport const isArrayLike = (value) => isArray(value) || (isObject(value) && isNumber(value.length));\nexport const isTemplateStringArray = (value) => isArray(value) && isArray(value.raw);\nexport const isConstructor = (value) => { var _a; return typeof value === \"function\" && ((_a = value.prototype) === null || _a === void 0 ? void 0 : _a.constructor) === value; };\n//# sourceMappingURL=is.js.map","export const omit = (obj, ...keys) => {\n const result = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n result[key] = obj[key];\n }\n }\n return result;\n};\nexport const pick = (obj, ...keys) => {\n const result = {};\n for (const key of keys) {\n result[key] = obj[key];\n }\n return result;\n};\n//# sourceMappingURL=helper.js.map","export const join = (a, b, sep) => (a ? a + (b ? sep + b : \"\") : b) || \"\";\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport const trimStartFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let start = 0;\n while (start < s.length && func(s.slice(start, start + 1))) {\n start += 1;\n }\n return s.slice(start);\n};\nexport const trimEndFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let end = s.length;\n while (end > 0 && func(s.slice(end - 1, end))) {\n end -= 1;\n }\n return s.slice(0, end);\n};\nexport const trimFunc = (s, func) => trimStartFunc(trimEndFunc(s, func), func);\nexport const trimStart = (s, spec) => trimStartFunc(s, (str) => str === spec);\nexport const trimEnd = (s, spec) => trimEndFunc(s, (str) => str === spec);\nexport const trim = (s, spec) => trimFunc(s, (str) => str === spec);\nconst splitWords = (s) => { var _a; return ((_a = s.match(/[A-Z][^A-Z_-\\s]*|[^A-Z_-\\s]+/g)) === null || _a === void 0 ? void 0 : _a.map((s) => s.toLowerCase())) || []; };\nexport const capitalize = (s) => (s.slice(0, 1).toUpperCase() + s.slice(1));\nexport const uncapitalize = (s) => (s.slice(0, 1).toLowerCase() + s.slice(1));\nexport const toCamel = (s, u) => {\n const tokens = splitWords(s);\n if (!tokens.length) {\n return \"\";\n }\n const first = tokens.shift();\n const rest = tokens.map(capitalize);\n return (u ? capitalize(first) : first) + rest.join(\"\");\n};\nexport const toDash = (s) => splitWords(s).join(\"-\");\nexport const toSnake = (s) => splitWords(s).join(\"_\");\n//# sourceMappingURL=string.js.map","import { isArray } from \"sharekit\";\nexport * from \"sharekit\";\nexport function* toEntries(o) {\n for (const [k, v] of isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { isNullable, isObject, isString, toEntries } from \"./lib.js\";\nconst isCSSResult = (value) => {\n return isObject(value) && \"_$cssResult$\" in value;\n};\nexport const joinRules = (rules) => {\n let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = isObject(value) && !isCSSResult(value) ? joinDeclarations(value) : value;\n if (properties) {\n result += key ? `${key}{${properties}}` : properties;\n }\n }\n }\n return result;\n};\nexport const joinDeclarations = (props) => {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && !isNullable(value)) {\n result += `${key}:${value};`;\n }\n }\n return result;\n};\nexport const toVar = (a, b) => (a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\");\nexport const toStyleSheet = (style) => {\n if (isString(style)) {\n const sheet = new CSSStyleSheet();\n sheet.replaceSync(style);\n return sheet;\n }\n if (isCSSResult(style)) {\n return style.styleSheet;\n }\n return style;\n};\n//# sourceMappingURL=css.js.map","import { toStyleSheet } from \"../tools/css.js\";\n/**\n * StyleController computes and applies styles when host updated.\n */\nexport class StyleController {\n constructor(host, computeStyle) {\n (this.host = host).addController(this);\n this.computeStyle = computeStyle;\n }\n hostUpdated() {\n const sheets = this.host.shadowRoot?.adoptedStyleSheets;\n if (!sheets) {\n return;\n }\n if (this.styleID !== undefined) {\n sheets.splice(this.styleID, 1);\n }\n const styleResult = this.computeStyle();\n if (!styleResult) {\n this.styleID = undefined;\n return;\n }\n this.styleID = sheets.push(toStyleSheet(styleResult)) - 1;\n }\n}\nexport default StyleController;\n//# sourceMappingURL=style.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { toDash } from \"sharekit\";\nimport { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= toDash(constructor.name);\n constructor.protoName = name;\n const tagName = constructor.godownConfig.tag(name);\n component({\n tagName,\n ...option,\n })(constructor);\n};\nexport default godown;\n//# sourceMappingURL=godown.js.map","import { styles } from \"./styles.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `styles` will call {@link styles}.\n * @param param0.tagName tagName of the custom element.\n * @param param0.styles styles of the custom element.\n * @param param0.superStyles if true, extend the styles from the super class.\n * @param param0.autoDefine if true, define the element.\n * @param param0.registry custom element registry.\n * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const part = (partName, cache = true) => query(`[part~=\"${partName}\"]`, cache);\nexport default part;\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { isNullable, isNumber, isString, join } from \"../tools/lib.js\";\nconst noAttribute = (value) => isNullable(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true) {\n this.setAttribute(name, \"\");\n }\n else if (isString(value) || (isNumber(value) && !Number.isNaN(value))) {\n this.setAttribute(name, String(value));\n }\n else {\n this[name] = value;\n }\n}\nclass AttrDirective extends Directive {\n render(value, caller) { }\n update(part, [value, fn = updateAttribute]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n fn.call(part.element, name, value[name]);\n }\n }\n return noChange;\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with names and values.\n * @param caller A function to call for each attribute, {@link updateAttribute} by default.\n * @returns Directive to set attributes.\n */\nexport const attr = directive(AttrDirective);\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (noAttribute(value)) {\n return acc;\n }\n return join(acc, key + (value === true ? \"\" : `=\"${value}\"`), \" \");\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if zero value, no name attribute will be added.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name) => html `<slot name=\"${name || nothing}\"></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\nimport { isString } from \"sharekit\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = isString(style) ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { isString } from \"../tools/lib.js\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => (strings, ...values) => {\n const body = svg(strings, values);\n const s = isString(viewBox) ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n};\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","import { isArray, isObject, join } from \"../tools/lib.js\";\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (isArray(cur)) {\n return join(acc, tokenList(...cur), \" \");\n }\n if (isObject(cur)) {\n for (const key in cur) {\n if (cur[key]) {\n acc = join(acc, key, \" \");\n }\n }\n return acc;\n }\n return join(acc, cur, \" \");\n}, \"\");\nexport default tokenList;\nconst splitTokenRegexp = /\\s+/;\nexport const clean = (str) => {\n return [...new Set(str.split(splitTokenRegexp))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","export function deepQuerySelectorAll(selectors, root = this) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = this) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n random() {\n return this.normalize(Math.random() * this.diff + this.min);\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { infixed, isString } from \"sharekit\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.MatchTypes}.\n */\n this.matchType = RouteTree.MatchTypes.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (isString(parts)) {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.MatchTypes.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.MatchTypes.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.MatchTypes.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.MatchTypes.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.MatchTypes.strict,\n };\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.MatchTypes = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, isSymbol, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === true || attribute === undefined) {\n return String(property).toLowerCase();\n }\n if (attribute === false || isSymbol(property)) {\n return;\n }\n return attribute;\n};\nconst withSelectorRegex = /^[\\s\\S]*{[\\s\\S]*}$/;\nexport class GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n static finalize() {\n super.finalize();\n this.elementAttributes = new Map();\n for (const [property, option] of this.elementProperties.entries()) {\n const attribute = attributeName(property, option);\n if (attribute) {\n this.elementAttributes.set(attribute, property);\n }\n }\n }\n /**\n * Returns an object containing the current values of the observed attributes.\n * @returns An object where the keys are the observed attribute names and the values are the current values of those attributes.\n */\n get observedRecord() {\n const record = {};\n for (const [attribute, property] of this.constructor.elementAttributes.entries()) {\n record[attribute] = this[property];\n }\n return record;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!withSelectorRegex.test(sx)) {\n sx = `:host{${sx}}`;\n }\n if (!this.shadowRoot) {\n this.__stylex.lazy = sx;\n return;\n }\n if (this.__stylex.index) {\n this.shadowRoot.adoptedStyleSheets.splice(this.__stylex.index, 1);\n }\n this.__stylex.css = sx;\n this.__stylex.index = this.adoptStyles(sx);\n }\n constructor(init) {\n super();\n this.events = new Events();\n this.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector.call(this, selectors);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll.call(this, selectors);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot || !styles.length) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport default GodownElement;\n//# sourceMappingURL=element.js.map","import { toDash } from \"sharekit\";\nconst separator = \"-\";\nexport class GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return toDash(this.prefix + separator + origin + separator + this.suffix);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport default GodownConfig;\n//# sourceMappingURL=config.js.map","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 4c13.255 0 24 10.745 24 24S41.255 52 28 52S4 41.255 4 28S14.745 4 28 4m0 4C16.954 8 8 16.954 8 28s8.954 20 20 20s20-8.954 20-20S39.046 8 28 8m10.788 11.93c.67.67.67 1.756 0 2.425l-13.36 13.36a1.715 1.715 0 0 1-2.424 0l-5.645-5.646a1.714 1.714 0 0 1 2.425-2.424l3.22 3.22c.67.67 1.755.67 2.425 0l10.934-10.934c.67-.67 1.755-.67 2.425 0\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.023-15.68c1.124 0 1.757-.633 1.78-1.851l.352-12.375c.024-1.196-.914-2.086-2.156-2.086c-1.266 0-2.156.867-2.133 2.062l.305 12.399c.023 1.195.68 1.851 1.852 1.851m0 7.617c1.335 0 2.53-1.078 2.53-2.437c0-1.383-1.171-2.438-2.53-2.438c-1.383 0-2.532 1.078-2.532 2.438c0 1.336 1.172 2.437 2.532 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.211-28.266c1.71 0 3.047-1.36 3.047-3.047c0-1.71-1.336-3.07-3.047-3.07s-3.047 1.36-3.047 3.07a3.026 3.026 0 0 0 3.047 3.047m-3.914 21.235h9.562c.961 0 1.711-.68 1.711-1.641c0-.914-.75-1.64-1.71-1.64H30.53V25.68c0-1.266-.656-2.11-1.828-2.11h-4.43c-.937 0-1.687.727-1.687 1.64c0 .962.75 1.642 1.687 1.642h2.532v10.757h-2.93c-.938 0-1.688.727-1.688 1.641c0 .96.75 1.64 1.688 1.64\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M19.504 43.152h16.969c.797 0 1.289-.492 1.289-1.289v-3.75c0-5.672 8.25-9.328 8.25-19.453C46.012 7.996 38.793.871 27.988.871s-18 7.125-18 17.79c0 10.124 8.227 13.78 8.227 19.452v3.75c0 .797.515 1.29 1.289 1.29m2.203-4.992c0-6.89-8.18-10.57-8.18-19.476c0-8.579 5.79-14.274 14.461-14.274c8.672 0 14.485 5.695 14.485 14.274c0 8.906-8.203 12.586-8.203 19.476v1.453H21.707Zm-1.336 11.32h15.235c1.195 0 2.156-.984 2.156-2.203s-.961-2.203-2.157-2.203H20.371c-1.195 0-2.156.985-2.156 2.203c0 1.22.96 2.203 2.156 2.203m7.617 5.649c3.235 0 5.508-1.477 5.742-3.75H22.246c.211 2.273 2.484 3.75 5.742 3.75\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.492-15.07c1.172 0 1.898-.727 1.898-1.664v-.282c0-1.312.75-2.133 2.39-3.21c2.274-1.5 3.891-2.884 3.891-5.673c0-3.914-3.468-6-7.453-6c-4.031 0-6.68 1.899-7.312 4.055c-.117.399-.211.774-.211 1.172c0 1.031.844 1.617 1.617 1.617c1.336 0 1.547-.726 2.297-1.594c.773-1.289 1.898-2.062 3.469-2.062c2.133 0 3.515 1.195 3.515 3c0 1.594-.984 2.367-3.023 3.773c-1.688 1.172-2.953 2.414-2.953 4.711V31c0 1.242.68 1.852 1.875 1.852m-.047 7.007c1.36 0 2.531-1.078 2.531-2.437c0-1.383-1.148-2.438-2.531-2.438s-2.531 1.078-2.531 2.438c0 1.336 1.171 2.437 2.53 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.156-9.727c.656 0 1.148-.28 1.664-.797l15.75-15.984c.492-.492.797-1.078.797-1.617c0-1.078-.891-1.945-1.97-1.945c-.562 0-1.1.28-1.616.796L18.742 34.61c-.539.516-.797 1.102-.797 1.641c0 1.055.774 1.945 1.899 1.945\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.016-9.984c.516 0 .985-.211 1.336-.586l6.657-6.68l6.656 6.68c.351.351.82.586 1.36.586c1.03 0 1.874-.868 1.874-1.899c0-.539-.21-.984-.562-1.336l-6.657-6.656l6.68-6.703c.375-.399.563-.797.563-1.313a1.865 1.865 0 0 0-1.875-1.875c-.493 0-.915.164-1.313.563l-6.727 6.703l-6.703-6.68c-.351-.375-.773-.539-1.289-.539c-1.054 0-1.875.797-1.875 1.852c0 .515.188.96.563 1.312l6.656 6.68l-6.656 6.68c-.375.328-.563.796-.563 1.312c0 1.031.82 1.898 1.875 1.898\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z\"/>`;\n","const rgb = (r, g, b) => ({\n r,\n g,\n b,\n toString() {\n return `${this.r} ${this.g} ${this.b}`;\n },\n});\nconst darkgray = [\n rgb(121, 121, 121),\n rgb(109, 109, 109),\n rgb(97, 97, 97),\n rgb(85, 85, 85),\n rgb(73, 73, 73),\n rgb(61, 61, 61),\n rgb(48, 48, 48),\n rgb(36, 36, 36),\n rgb(24, 24, 24),\n rgb(12, 12, 12),\n];\nconst lightgray = [\n rgb(243, 243, 243),\n rgb(231, 231, 231),\n rgb(219, 219, 219),\n rgb(206, 206, 206),\n rgb(194, 194, 194),\n rgb(182, 182, 182),\n rgb(170, 170, 170),\n rgb(158, 158, 158),\n rgb(146, 146, 146),\n rgb(133, 133, 133),\n];\nconst teal = [\n rgb(213, 249, 248),\n rgb(170, 243, 241),\n rgb(128, 237, 234),\n rgb(85, 231, 226),\n rgb(43, 225, 219),\n rgb(0, 219, 212),\n rgb(0, 175, 170),\n rgb(0, 131, 127),\n rgb(0, 88, 85),\n rgb(0, 44, 42),\n];\nconst blue = [\n rgb(213, 240, 255),\n rgb(170, 224, 255),\n rgb(128, 209, 255),\n rgb(85, 193, 255),\n rgb(43, 178, 255),\n rgb(0, 162, 255),\n rgb(0, 130, 204),\n rgb(0, 97, 153),\n rgb(0, 65, 102),\n rgb(0, 32, 51),\n];\nconst green = [\n rgb(221, 243, 221),\n rgb(186, 231, 186),\n rgb(152, 219, 152),\n rgb(117, 206, 117),\n rgb(82, 194, 82),\n rgb(48, 182, 48),\n rgb(38, 146, 38),\n rgb(29, 109, 29),\n rgb(19, 73, 19),\n rgb(10, 36, 10),\n];\nconst red = [\n rgb(251, 221, 221),\n rgb(247, 186, 187),\n rgb(243, 152, 154),\n rgb(239, 118, 120),\n rgb(235, 83, 86),\n rgb(231, 49, 52),\n rgb(185, 39, 42),\n rgb(139, 29, 31),\n rgb(92, 20, 21),\n rgb(46, 10, 10),\n];\nconst purple = [\n rgb(242, 228, 253),\n rgb(229, 201, 250),\n rgb(217, 174, 248),\n rgb(204, 146, 245),\n rgb(191, 119, 243),\n rgb(178, 92, 240),\n rgb(142, 74, 192),\n rgb(107, 55, 144),\n rgb(71, 37, 96),\n rgb(36, 18, 48),\n];\nconst orange = [\n rgb(255, 235, 213),\n rgb(255, 216, 170),\n rgb(255, 196, 128),\n rgb(255, 176, 85),\n rgb(255, 157, 43),\n rgb(255, 137, 0),\n rgb(204, 110, 0),\n rgb(153, 82, 0),\n rgb(102, 55, 0),\n rgb(51, 27, 0),\n];\nconst yellow = [\n rgb(251, 252, 216),\n rgb(247, 248, 177),\n rgb(243, 245, 138),\n rgb(239, 242, 98),\n rgb(235, 238, 59),\n rgb(231, 235, 20),\n rgb(185, 188, 16),\n rgb(139, 141, 12),\n rgb(92, 94, 8),\n rgb(46, 47, 4),\n];\nconst pink = [\n rgb(254, 222, 233),\n rgb(253, 189, 211),\n rgb(252, 156, 190),\n rgb(251, 123, 168),\n rgb(250, 90, 146),\n rgb(249, 57, 124),\n rgb(199, 46, 99),\n rgb(149, 34, 74),\n rgb(100, 23, 50),\n rgb(50, 11, 25),\n];\nexport const presetsRGB = {\n darkgray,\n lightgray,\n teal,\n blue,\n green,\n red,\n purple,\n orange,\n yellow,\n pink,\n};\nexport { blue, darkgray, green, lightgray, orange, pink, purple, red, rgb, teal, yellow };\n","import{presetsRGB as o}from\"@godown/colors/presets-rgb.js\";import{travel as r}from\"@godown/colors/travel.js\";import{trim as t,joinDeclarations as e,GodownElement as l}from\"@godown/element\";import{unsafeCSS as i,css as n}from\"lit\";class GlobalStyle extends l{}const s=t(GlobalStyle.godownConfig.prefix,\"-\");function a(o,r=1){return c(s+\"-\".repeat(r)+o)}function c(o){return i(`--${o}`)}const d={clipBackground:a(\"clip-background\",2),active:a(\"active\",2),passive:a(\"passive\",2),_colors:{},input:a(\"input\",2),white:a(\"color-white\",2),black:a(\"color-black\",2),color:a(\"color\",2),radius:a(\"radius\",2),outlineWidth:a(\"outline-width\",2),outlineColor:a(\"outline-color\",2)};GlobalStyle.styles=[i(`:host{${d.black}:rgb(0 0 0);${d.white}:rgb(255 255 255);`+r(((o,r,t)=>{d._colors[o]||=[],d._colors[o].push(i(d.color+\"-\"+o+\"-\"+r));const e=`-${o}-${r}`;return`${d.color+e}:rgb(${t});`}),o).join(\"\")+e([[d.active,`var(${d._colors.blue[5]})`],[d.passive,`var(${d._colors.darkgray[5]})`],[d.clipBackground,`linear-gradient(to bottom, var(${d._colors.lightgray[0]}), var(${d._colors.darkgray[0]}))`],[d.outlineColor,`var(${d._colors.darkgray[4]})`],[d.outlineWidth,\".075em\"]])+\"}\"),n`button,dialog,input{border:0;outline:0}*{box-sizing:border-box;font-size:100%;font-style:normal;margin:0;padding:0}:host{border-style:none;box-sizing:border-box;outline-style:none}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}[part=root]{height:100%;width:100%}:host([contents]) [part=root]{height:inherit;width:inherit}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,n`:host{${d.radius}:0.2em;border-radius:var(${d.radius})}`];export{GlobalStyle,d as cssGlobalVars,GlobalStyle as default,a as scopePrefix,c as variablePrefix};\n//# sourceMappingURL=global-style.js.map\n","export const travel = (fn, src) => Object.entries(src).flatMap(([k, v]) => v.map((rgb, index) => fn(k, index, rgb)));\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as t,StyleController as e,joinRules as i,htmlSlot as c,attr as l}from\"@godown/element\";import s from\"@godown/f7-icon/icons/checkmark-alt-circle.js\";import n from\"@godown/f7-icon/icons/exclamationmark-circle.js\";import a from\"@godown/f7-icon/icons/info-circle.js\";import d from\"@godown/f7-icon/icons/lightbulb.js\";import p from\"@godown/f7-icon/icons/question-circle.js\";import g from\"@godown/f7-icon/icons/slash-circle.js\";import h from\"@godown/f7-icon/icons/xmark-circle.js\";import m from\"@godown/f7-icon/icons/xmark.js\";import{css as u,html as b}from\"lit\";import{property as v}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as k,GlobalStyle as w}from\"../../internal/global-style.js\";const y=\"alert\",$=f(y),j=o=>[k._colors[o][5],k._colors[o][9]],_={green:j(\"green\"),blue:j(\"blue\"),orange:j(\"orange\"),red:j(\"red\"),yellow:j(\"yellow\"),purple:j(\"purple\"),teal:j(\"teal\"),pink:j(\"pink\"),gray:[k._colors.lightgray[5],k._colors.darkgray[5]],white:[k._colors.lightgray[2],k._colors.darkgray[7]],black:[k._colors.darkgray[8],k._colors.lightgray[5]]},C={tip:{color:\"teal\",icon:d},success:{color:\"green\",icon:s},info:{color:\"blue\",icon:a},warning:{color:\"orange\",icon:n},danger:{color:\"red\",icon:h},error:{color:\"red\",icon:h},help:{color:\"purple\",icon:p},deprecated:{color:\"gray\",icon:g}};let q=class Alert extends w{constructor(){super(...arguments),this.__colorSC=new e(this,(()=>{const o=C[this.call]?.color||this.color;if(o in _){const[r,t]=_[o];return i({\":host\":[[`${$}--color`,`var(${r})`],[`${$}--background`,`var(${t})`]]})}return null})),this.color=\"blue\",this.autoclose=0,this.hideClose=!1,this.variant=\"dark\"}render(){const o=this.call?C[this.call].icon():c(\"icon\");return b`<div part=\"root\" ${l(this.observedRecord)}> <div part=\"icon\" class=\"start\"> ${o} </div> <div part=\"content\"> <strong part=\"title\">${this.title||c(\"title\")}</strong> ${this.content||c()} </div> ${this.hideClose||\"blockquote\"===this.variant?\"\":b`<div part=\"icon close\" class=\"end\" tabindex=\"0\" @click=\"${this.close}\"> ${m()} </div>`} </div>`}close(){this.remove(),this.dispatchCustomEvent(\"close\",void 0,{bubbles:!0})}firstUpdated(){this.autoclose&&this.timeouts.add(setTimeout((()=>this.close()),this.autoclose))}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([v()],q.prototype,\"call\",void 0),o([v()],q.prototype,\"color\",void 0),o([v({type:Number})],q.prototype,\"autoclose\",void 0),o([v()],q.prototype,\"title\",void 0),o([v()],q.prototype,\"content\",void 0),o([v({type:Boolean})],q.prototype,\"hideClose\",void 0),o([v()],q.prototype,\"variant\",void 0),q=o([r(y),t(u`:host{${$}--border-width:.075em;${$}--blockquote-width:.2em;${$}--blockquote-background:transparent;${$}--gap:.5em}:host,:where(:host([contents]) [part=root]){display:block}[part=root]{align-items:center;background:var(${$}--background);border-color:currentColor;border-radius:inherit;border-style:solid;border-width:var(${$}--border-width);color:var(${$}--color,currentColor);display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;padding:var(${$}--gap)}[variant=blockquote]{background:var(${$}--blockquote-background);border-radius:0;border-width:0;border-left-width:var(${$}--blockquote-width)}[part~=icon]{align-items:center;display:grid;height:2em}.start svg{margin-inline-end:var(${$}--gap)}.end svg{margin-inline-start:var(${$}--gap)}svg{height:1.25em;width:1.25em}[part=content]{grid-row:span 2/span 2}`)],q);var x=q;export{q as Alert,x as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as r}from\"tslib\";import{godown as t,styles as e,attr as o,omit as i,htmlSlot as a}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{property as d}from\"lit/decorators.js\";import{cssGlobalVars as h,GlobalStyle as m}from\"../../internal/global-style.js\";let p=class Avatar extends m{constructor(){super(...arguments),this.name=\"\",this.round=!1}render(){return n`<div part=\"root\" ${o(i(this.observedRecord,\"src\"))}> ${this._renderAvatar()} </div>`}_renderAvatar(){return this.src?n`<img part=\"image\" src=\"${this.src}\" alt=\"${this.name}\" @error=${this._handleError}/>`:this.name?n`<span part=\"name\">${this.formatName()}</span>`:a()}formatName(){return this.name}_handleError(){this.src=void 0}};r([d()],p.prototype,\"src\",void 0),r([d()],p.prototype,\"name\",void 0),r([d({type:Boolean})],p.prototype,\"round\",void 0),p=r([t(\"avatar\"),e(s`:host{background:var(${h.passive});height:2em;overflow:hidden;vertical-align:bottom;width:2em}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;justify-content:center;position:relative}`)],p);var l=p;export{p as Avatar,l as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as a}from\"@godown/element\";import{css as i,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as n,GlobalStyle as l}from\"../../internal/global-style.js\";const f=\"badge\",m=d(f);let c=class Badge extends l{constructor(){super(...arguments),this.position=\"top-right\",this.value=0,this.dot=!1,this.max=99}formatValue(t){return t>this.max?this.max+\"+\":t+\"\"}render(){return s`<div part=\"root\" ${r(this.observedRecord)}> ${a()} ${this.value||this.dot?s`<div part=\"badge\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"} </div>`}};t([p()],c.prototype,\"position\",void 0),t([p({type:Number})],c.prototype,\"value\",void 0),t([p({type:Boolean})],c.prototype,\"dot\",void 0),t([p({type:Number})],c.prototype,\"max\",void 0),c=t([o(f),e(i`:host{${m}--background:var(${n.active});${m}--offset:0%;${m}--offset-x:var(${m}--offset);${m}--offset-y:var(${m}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${m}--background);border-radius:calc(infinity*1px);font-size:75%;padding:0 .5em;position:absolute;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}[part=badge]:empty{border-radius:50%;font-size:100%;height:.5em;padding:0;width:.5em}[position^=top] [part=badge]{top:calc(var(${m}--offset-y))}[position$=right] [part=badge]{left:calc(100% - var(${m}--offset-x))}[position^=bottom] [part=badge]{top:calc(100% - var(${m}--offset-y))}[position$=left] [part=badge]{left:calc(var(${m}--offset-x))}`)],c);var v=c;export{c as Badge,v as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlStyle as n}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as c,GlobalStyle as p}from\"../../internal/global-style.js\";const d=\"breath\",$=s(d),m=/[\\s,]+/;let u=class Breath extends p{render(){const t=this.getTexts();return a`<div part=\"root\" ${e(this.observedRecord)}> ${[t.map(this._renderText),n(this._computeStyle(t.length))]} </div>`}_renderText(t){return a`<span class=\"rel\"> <span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span> </span>`}getTexts(){return Array.isArray(this.content)?this.content:(this.content||this.textContent).split(m).filter((t=>t))}_computeStyle(t){const o=50/t,r=this.duration||1e3*(2*t+2);let e=\"\";for(let o=1;o<=t;o++){e+=`.rel:nth-child(${o}) .colorful{animation-delay:${-r/t*(t-o+1)}ms;background:var(${$}--${o},var(${$}--${(o-1)%3+1}));}`}return`.colorful{animation-duration:${r}ms;}@keyframes colorfulN{0%,${3*o}%{opacity:0;}${o}%,${2*o}%{opacity:1;}}${e}`}};t([l()],u.prototype,\"content\",void 0),t([l({type:Number})],u.prototype,\"duration\",void 0),u=t([o(d),r(i`:host{${$}--deg:60deg;${$}--1-1:var(${c._colors.red[5]});${$}--1-2:var(${c._colors.yellow[5]});${$}--2-1:var(${c._colors.green[5]});${$}--2-2:var(${c._colors.purple[5]});${$}--3-1:var(${c._colors.blue[5]});${$}--3-2:var(${c._colors.pink[5]});${$}--1:linear-gradient(var(${$}--deg),var(${$}--1-1),var(${$}--1-2));${$}--2:linear-gradient(var(${$}--deg),var(${$}--2-1),var(${$}--2-2));${$}--3:linear-gradient(var(${$}--deg),var(${$}--3-1),var(${$}--3-2))}`,i`:host{align-items:center;direction:ltr;font-size:2em;margin:auto;width:-moz-fit-content;width:fit-content}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}::selection{background:none}.rel{font-size:inherit;font-weight:800;letter-spacing:-.05em;position:relative}`,i`.colorful,.nocolor{animation-iteration-count:infinite;-webkit-background-clip:text!important;background-clip:text!important;box-sizing:border-box;color:transparent;display:inline-block;padding:0 .05em}.colorful{animation-name:colorfulN;opacity:0}.nocolor{background:var(${c.clipBackground});position:absolute;top:0}`)],u);var g=u;export{u as Breath,g as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as o}from\"tslib\";import{part as t,godown as r,styles as e,StyleController as a,joinRules as i,attr as n,htmlSlot as l}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as h,GlobalStyle as g}from\"../../internal/global-style.js\";const u=\"button\",v=p(u),y=h.white,b=h.black,m={black:[y,h._colors.darkgray[7],h._colors.darkgray[5]],gray:[y,h._colors.darkgray[1],h._colors.lightgray[8]],white:[b,h._colors.lightgray[3],h._colors.lightgray[0]],blue:[y,h._colors.blue[6],h._colors.blue[4]],green:[y,h._colors.green[6],h._colors.green[4]],red:[y,h._colors.red[6],h._colors.red[4]],orange:[y,h._colors.orange[6],h._colors.orange[4]],pink:[y,h._colors.pink[6],h._colors.pink[4]],purple:[y,h._colors.purple[6],h._colors.purple[4]],yellow:[b,h._colors.yellow[6],h._colors.yellow[4]],teal:[y,h._colors.teal[6],h._colors.teal[4]]};let $=class Button extends g{constructor(){super(...arguments),this.__colorSC=new a(this,(()=>{const o=this.nextColor();if(o in m){const[t,r,e]=m[o];return i({\":host\":[[`${v}--color`,`var(${t})`],[`${v}--background`,`var(${r})`],[`${v}--gradients`,`var(${e})`]]})}return null})),this.plain=!1,this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){return d`<div part=\"root\" ${n(this.observedRecord)}> ${this.content||l()} <span part=\"modal-root\"></span> </div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}connectedCallback(){super.connectedCallback(),this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this.plain||this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),{width:r,height:e}=this.getBoundingClientRect(),{x:a,y:i}=this._root.getBoundingClientRect(),n=2*Math.sqrt(e**2+r**2)+\"px\";t.style.height=n,t.style.width=n,t.style.left=o.x-a+\"px\",t.style.top=o.y-i+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([c({type:Boolean,reflect:!0})],$.prototype,\"plain\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([c({reflect:!0})],$.prototype,\"color\",void 0),o([c()],$.prototype,\"content\",void 0),o([t(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([t(\"root\")],$.prototype,\"_root\",void 0),$=o([r(u),e(s`:host(:not([disabled]):active){transform:scale(var(${v}--focus-scale))}:host([round]){border-radius:calc(infinity*1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${v}--modal-background:var(${v}--ghost-color);background:transparent;box-shadow:inset 0 0 0 var(${v}--ghost-width) var(${v}--ghost-color);color:var(${v}--ghost-color)}:host([plain]){${v}--gradients:unset;${v}--focus-scale:unset}`,s`:host{${v}--padding-x:.8em;${v}--padding-y:calc(var(${v}--padding-x)/4);${v}--padding:var(${v}--padding-y) var(${v}--padding-x);${v}--modal-animation-duration:1s;${v}--ghost-width:.08em;${v}--focus-scale:.97;${v}--deg:45deg;${v}--ghost-color:var(${v}--background);background:linear-gradient(var(${v}--deg),var(${v}--background),var(${v}--gradients,var(${v}--background)));color:var(${v}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:var(${v}--padding);text-align:center;width:-moz-fit-content;width:fit-content}[part=root]:not([contents]){height:100%;width:100%}[part=root]{border-radius:inherit;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}i{animation-duration:var(${v}--modal-animation-duration);background:var(${v}--modal-background,currentColor);border-radius:50%;height:100%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible;width:100%}@keyframes kf{0%{opacity:var(${v}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var f=$;export{$ as Button,f as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as e,attr as t,htmlSlot as d}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as p,GlobalStyle as n}from\"../../internal/global-style.js\";const h=\"card\",m=l(h);let b=class Card extends n{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return a`<div part=\"root\" ${t(this.observedRecord)}> ${[this.header?d(\"header\"):\"\",d(),this.footer?d(\"footer\"):\"\"]} </div>`}};r([s({type:Boolean})],b.prototype,\"footer\",void 0),r([s({type:Boolean})],b.prototype,\"header\",void 0),b=r([o(h),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${p.passive});${m}--padding:.75em;display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}[part=root]{border-color:var(${m}--border-color);border-radius:inherit;border-style:solid;border-width:var(${m}--border-width)}[name=footer]{padding-top:0}[name=header]{padding-bottom:0}`)],b);var c=b;export{b as Card,c as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M35.805 47.723c.398.398.914.633 1.523.633c1.219 0 2.133-.915 2.133-2.133c0-.586-.234-1.125-.61-1.524L21.79 28.012l17.063-16.688c.375-.398.609-.96.609-1.523c0-1.219-.914-2.157-2.133-2.157c-.61 0-1.125.235-1.523.633L17.242 26.441c-.445.375-.703.961-.703 1.57c0 .587.258 1.126.703 1.571Z\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M18.695 48.367c.586 0 1.102-.234 1.524-.633L38.78 29.57c.446-.445.68-.984.68-1.57c0-.61-.234-1.172-.68-1.57L20.22 8.289a2.07 2.07 0 0 0-1.524-.656a2.12 2.12 0 0 0-2.156 2.156c0 .563.258 1.125.633 1.524L34.21 28L17.17 44.688c-.374.398-.632.937-.632 1.523c0 1.219.938 2.156 2.156 2.156\"/>`;\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as s,attr as o,htmlSlot as n}from\"@godown/element\";import r from\"@godown/f7-icon/icons/chevron-left.js\";import h from\"@godown/f7-icon/icons/chevron-right.js\";import{css as l,html as a}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as c}from\"../../internal/global-style.js\";function p(t){return t.getBoundingClientRect().width}let m=class Carousel extends c{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return a`<div part=\"root\" ${o(this.observedRecord)}> <i part=\"prev\" @click=\"${this.prev}\"> ${r()} </i> <div part=\"move-root\">${n()}</div> <i part=\"next\" @click=\"${this.next}\"> ${h()} </i> </div>`}connectedCallback(){super.connectedCallback(),this.children.length&&(this.__cloneFirst?.remove(),this.__cloneLast?.remove(),this.__cloneLast=this.firstElementChild.cloneNode(!0),this.__cloneFirst=this.lastElementChild.cloneNode(!0),this.appendChild(this.__cloneLast),this.insertBefore(this.__cloneFirst,this.firstElementChild)),this.observers.add(this,ResizeObserver,(()=>{this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,!0)}))}async firstUpdated(){await this.updateComplete,this.show(this.index,!0)}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),\"index\"===t&&this.isConnected&&this.show(this.index)}show(t,e){t=this.normalizeIndex(t),this.index=t,this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,e),this.dispatchCustomEvent(\"change\",t),this.timeouts.remove(this.intervalID),this.autoChange>0&&(this.intervalID=this.timeouts.add(setInterval((()=>{this.next()}),this.autoChange)))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1)}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1)}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,this._moveRoot.style.transition=e?\"none\":\"\"}_computeOffset(){let t=0;for(let e=0;e<=this.index;e++)t-=p(this.children[e]);return t+=(p(this)-p(this.children[this.index+1]))/2,t}normalizeIndex(t){return t<0?0:t>this.children.length-3?this.children.length-3:t}};t([d({type:Number})],m.prototype,\"index\",void 0),t([d({type:Number})],m.prototype,\"autoChange\",void 0),t([e(\"move-root\")],m.prototype,\"_moveRoot\",void 0),m=t([i(\"carousel\"),s(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 39.46a2.1 2.1 0 0 0 1.57-.679l18.164-18.586a2.1 2.1 0 0 0 .633-1.5a2.12 2.12 0 0 0-2.156-2.156a2.27 2.27 0 0 0-1.523.61L28 34.21L11.313 17.148a2.23 2.23 0 0 0-1.524-.609a2.12 2.12 0 0 0-2.156 2.156c0 .586.234 1.102.633 1.524L26.43 38.78c.445.446.96.68 1.57.68\"/>`;\n","import{__decorate as e}from\"tslib\";import{property as o}from\"lit/decorators.js\";import{GlobalStyle as t}from\"./global-style.js\";class SuperOpenable extends t{constructor(){super(...arguments),this.open=!1}toggle(e=!this.open){this.open=e}close(){this.open=!1}show(){this.open=!0}updated(e){void 0!==e.get(\"open\")&&this.dispatchCustomEvent(\"change\",this.open)}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{SuperOpenable,SuperOpenable as default};\n//# sourceMappingURL=super-openable.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as i,attr as e,htmlSlot as r}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as p}from\"../../internal/global-style.js\";import d from\"../../internal/super-openable.js\";const m=\"details\",c=p(m);let f=class Details extends d{constructor(){super(...arguments),this.float=!1,this.fill=!1,this.summary=\"\"}render(){return l`<dl part=\"root\" ${e(this.observedRecord)}> <dt part=\"title\" @click=\"${()=>this.toggle()}\"> <span part=\"summary\">${this.summary||r(\"summary\")}</span> <span part=\"icon\">${a()}</span> </dt> <dd part=\"details\" @click=${this.fill?()=>this.toggle():null}> <div style=\"min-height: 0;\">${r()}</div> </dd> </dl>`}};t([n({type:Boolean})],f.prototype,\"float\",void 0),t([n({type:Boolean})],f.prototype,\"fill\",void 0),t([n()],f.prototype,\"summary\",void 0),f=t([o(m),i(s`:host{${c}--icon-deg-open:0deg;${c}--icon-deg-close:90deg;display:block;padding:.2em;transition:.3s}[part=root]{position:relative}[part=title]{align-items:center;direction:ltr;grid-template-columns:auto auto;height:100%;justify-content:space-between}[part=details],[part=title]{display:grid;overflow:hidden;transition:inherit}[part=details]{grid-template-rows:0fr}:host([open]) [part=details]{grid-template-rows:1fr}[float] [part=details]{position:absolute;top:100%;width:100%}[part]{transition:inherit;transition-property:transform,grid-template-rows}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;transform:rotate(var(${c}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${c}--icon-deg-open))}`)],f);var g=f;export{f as Details,g as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as i,htmlSlot as s}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as d,query as l}from\"lit/decorators.js\";import{scopePrefix as r}from\"../../internal/global-style.js\";import h from\"../../internal/super-openable.js\";const m=\"dialog\",p=r(m),c=/[\\s,]+/;let u=class Dialog extends h{constructor(){super(...arguments),this.key=\"Escape\",this.__modalInvoke=!1}set modal(t){this.contents=t}get modal(){return this.contents}render(){return a`<dialog part=\"root\" ${i(this.observedRecord)}> ${s()} </dialog>`}showModal(){this.modal=!0,this.__modalInvoke=!0,this.show()}attributeChangedCallback(t,o,e){super.attributeChangedCallback(t,o,e),\"open\"===t&&(this.open?this.modal?this._dialog.showModal():this._dialog.show():this._dialog.close())}updated(t){t.has(\"open\")&&(this.open?(this.__submitEvent=this.events.add(this,\"submit\",this._handelSubmit),this.key&&(this.__keydownEvent=this.events.add(document,\"keydown\",this._handleKeydown.bind(this)))):(this.events.remove(this,\"submit\",this.__submitEvent),this.events.remove(document,\"keydown\",this.__keydownEvent)))}_handleKeydown(t){const o=this.key.split(c);(o.includes(t.key)||o.includes(t.code))&&(t.preventDefault(),this.close())}_handelSubmit(t){\"dialog\"===t.target.method&&(t.preventDefault(),this.close())}close(){this.__modalInvoke&&(this.modal=!1,this.__modalInvoke=!1),this.open=!1}};t([d({type:Boolean,reflect:!0})],u.prototype,\"modal\",null),t([d()],u.prototype,\"key\",void 0),t([l(\"dialog\")],u.prototype,\"_dialog\",void 0),u=t([o(m),e(n`:host{${p}--background-modal:#000;${p}--opacity-modal:0.2;background:none;display:block;left:50%;margin:auto;position:fixed;top:50%;transform:translate(-50%,-50%);width:-moz-fit-content;width:fit-content}:host(:not([open])){visibility:hidden}:host([contents]) dialog{position:fixed}dialog{background:inherit;position:relative}::backdrop{background:var(${p}--background-modal);opacity:var(${p}--opacity-modal)}`)],u);var g=u;export{u as Dialog,g as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as o,attr as e}from\"@godown/element\";import{css as i,html as l}from\"lit\";import{property as s}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as d}from\"../../internal/global-style.js\";let c=class Divider extends d{constructor(){super(...arguments),this.vertical=!1}render(){return l`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([s({type:Boolean,reflect:!0})],c.prototype,\"vertical\",void 0),c=t([r(\"divider\"),o(i`:host{background:currentColor;color:var(${a.passive});display:block;height:.05em;width:100%}:host([vertical]){height:100%;width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],c);var n=c;export{c as Divider,n as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,attr as o,htmlSlot as i}from\"@godown/element\";import{css as n,html as h}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as r}from\"../../internal/global-style.js\";let a=class Dragbox extends r{constructor(){super(...arguments),this.__drag=!1}get _offsetParent(){return this.offsetParent??document.body}render(){return h`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\"> ${i()} </div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__x=t.x,this.__y=t.y;const e=this._offsetParent.getBoundingClientRect(),s=this.getBoundingClientRect();this.__t=s.top-e.top,this.__l=s.left-e.left,this.__drag=!0,this.__handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this.__handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this)),this.__handleMouseUp=this.events.add(document,\"mouseup\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this.__handleMouseMove),this.events.remove(document,\"mouseleave\",this.__handleMouseLeave),this.events.remove(document,\"mouseup\",this.__handleMouseUp)}_handleDrag(t){if(!this.__drag)return;const{__x:e,__y:s,__l:o,__t:i,style:n}=this,{height:h,width:d}=this._offsetParent.getBoundingClientRect(),{width:r,height:a}=this.getBoundingClientRect(),_=t.x-(e-o),l=t.y-(s-i);n.left=_<0?\"0\":_<d-r?`${_}px`:d-r+\"px\",n.top=l<0?\"0\":l<h-a?`${l}px`:h-a+\"px\"}reset(){const{x:t,y:e,style:s,offsetWidth:o,offsetHeight:i,offsetLeft:n,offsetTop:h}=this,{height:d,width:r}=this._offsetParent.getBoundingClientRect();s.left=t||\"0\",s.top=e||\"0\",n>r-o&&(s.left=r-o+\"px\"),h>d-i&&(s.top=d-i+\"px\")}};t([d()],a.prototype,\"x\",void 0),t([d()],a.prototype,\"y\",void 0),a=t([e(\"dragbox\"),s(n`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],a);var _=a;export{a as Dragbox,_ as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i,htmlStyle as l,joinRules as s}from\"@godown/element\";import{css as p,html as n}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../../internal/global-style.js\";let f=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return n`<div part=\"root\" ${r(this.observedRecord)}> ${[i(),l(s({\":host\":{gap:this.gap,\"flex-flow\":this.flexFlow,\"flex-direction\":this.vertical&&\"column\",\"align-items\":this.items,\"justify-content\":this.content}}))]} </div>`}};t([a({attribute:\"flex-flow\"})],f.prototype,\"flexFlow\",void 0),t([a()],f.prototype,\"gap\",void 0),t([a()],f.prototype,\"content\",void 0),t([a()],f.prototype,\"items\",void 0),t([a({type:Boolean})],f.prototype,\"vertical\",void 0),f=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],f);var c=f;export{f as Flex,c as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as a}from\"@godown/element\";import{css as o}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../../internal/global-style.js\";var i;let n=i=class Form extends l{constructor(){super(...arguments),this.name=\"\",this.nameValue=this.namevalue}get value(){return i.buildValue(this._slot.assignedElements())}render(){return a()}reset(){this.deepQuerySelectorAll(\"*\").forEach((e=>{e.tagName!==this.tagName&&e.reset&&e.reset()}))}namevalue(){return[this.name,this.value]}static buildValue(e){const t={};for(const s of e)if(\"FORM\"===s.tagName)Object.assign(t,Object.fromEntries(new FormData(s).entries()));else if(s.namevalue){const[e,a]=s.namevalue();e&&(t[e]=a)}else if(s.name&&void 0!==s.value)t[s.name]=s.value;else if(s.shadowRoot)for(const e of s.shadowRoot.querySelectorAll(\"slot\"))Object.assign(t,this.buildValue(e.assignedElements()));return t}};e([r()],n.prototype,\"name\",void 0),n=i=e([t(\"form\"),s(o`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as s,htmlStyle as i,joinRules as p,isNumerical as d}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{GlobalStyle as m}from\"../../internal/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends m{render(){return a`<div part=\"root\" ${e(this.observedRecord)}> ${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]} </div>`}};t([l()],g.prototype,\"gap\",void 0),t([l()],g.prototype,\"columns\",void 0),t([l()],g.prototype,\"rows\",void 0),t([l()],g.prototype,\"content\",void 0),t([l()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(n`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g as Grid,h as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as i,htmlSlot as h}from\"@godown/element\";import{css as o,nothing as a,html as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../../internal/global-style.js\";let c=class Heading extends d{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){return s`<a part=\"root\" href=\"${this.id?\"#\"+this.id:a}\" ${i(this.observedRecord)}> ${this.wrapHeading(h(),this.id?s`<i part=\"anchor\">${this.anchor}</i>`:\"\")} </a>`}wrapHeading(...t){switch(this.as){case\"h2\":return s`<h2>${t}</h2>`;case\"h3\":return s`<h3>${t}</h3>`;case\"h4\":return s`<h4>${t}</h4>`;case\"h5\":return s`<h5>${t}</h5>`;case\"h6\":return s`<h6>${t}</h6>`;default:return s`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(o`:host{display:block;text-align:start}[part=anchor]{min-width:1.25em;position:absolute;right:100%;text-align:center}[side=left] [part=anchor]{right:100%}[side=right] [part=anchor]{left:100%}a{color:inherit}h1,h2,h3,h4,h5,h6{direction:ltr;font-size:revert;position:relative;width:-moz-fit-content;width:fit-content}`)],c);var l=c;export{c as Heading,l as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M43.95 47.323c.304.305.732.468 1.119.468c.814 0 1.567-.733 1.567-1.568c0-.407-.163-.814-.468-1.12L12.112 11.069a1.57 1.57 0 0 0-1.12-.448c-.814 0-1.567.733-1.567 1.547c0 .428.143.835.448 1.12Zm1.913-5.761C52.255 37.43 56 32.056 56 29.674c0-4.132-11.297-17.303-27.99-17.303c-3.46 0-6.697.59-9.669 1.567l5.313 5.293a11 11 0 0 1 4.356-.896c6.31 0 11.38 4.988 11.38 11.339c0 1.547-.326 3.033-.958 4.336ZM28.01 46.977c3.766 0 7.267-.672 10.402-1.771l-5.394-5.395a10.8 10.8 0 0 1-5.008 1.201c-6.35 0-11.379-5.15-11.4-11.338c0-1.832.428-3.562 1.202-5.09l-7.084-7.124C4.01 21.592 0 27.231 0 29.674c0 4.112 11.501 17.303 28.01 17.303m6.473-17.73a6.446 6.446 0 0 0-6.473-6.454c-.264 0-.53.02-.773.041l7.206 7.206c.02-.244.04-.529.04-.794m-12.966-.041c0 3.582 2.951 6.473 6.514 6.473c.285 0 .55-.02.834-.04l-7.308-7.309c-.02.285-.04.59-.04.876\"/>`;\n","import{__decorate as t}from\"tslib\";import{part as e,styles as i,omit as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as a}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as l}from\"./global-style.js\";const u=r`.input-field{align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:none;color:inherit;height:100%;padding:var(${p.input}-space);width:100%}.input-field [part=icon]{align-items:center;color:var(${p.input}-icon-color);display:flex;justify-content:center}.input-field [part=prefix],.input-field [part=suffix]{display:flex;height:100%}.input-field [part=suffix] [part=icon]{padding-inline-end:var(${p.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${p.input}-space)}`,d=r`:host{${p.input}-width:10em;${p.input}-height:1.6em;${p.input}-space:0.2em;${p.input}-control:currentColor;${p.input}-icon-color:var(${p._colors.darkgray[4]})}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host(:focus-within){${p.input}-icon-color:currentColor}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let h=class SuperInput extends l{constructor(){super(...arguments),this.autofocus=!1,this.outlineType=\"border\",this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return o(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}_handleChange(t){this.dispatchCustomEvent(\"change\",this.value)}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return s`<label for=${this.makeId} part=\"prefix\"> ${n(\"prefix\")} </label>`}_renderSuffix(){return s`<label for=${this.makeId} part=\"suffix\"> ${n(\"suffix\")} </label>`}};t([a()],h.prototype,\"autocomplete\",void 0),t([a({attribute:\"outline-type\"})],h.prototype,\"outlineType\",void 0),t([a({type:Boolean,reflect:!0})],h.prototype,\"disabled\",void 0),t([a({reflect:!0})],h.prototype,\"type\",void 0),t([a({reflect:!0})],h.prototype,\"placeholder\",void 0),t([a({reflect:!0})],h.prototype,\"name\",void 0),t([a()],h.prototype,\"value\",void 0),t([a()],h.prototype,\"default\",void 0),t([e(\"input\")],h.prototype,\"_input\",void 0),h=t([i(u,d)],h);var c=h;export{h as SuperInput,c as default};\n//# sourceMappingURL=super-input.js.map\n","import{cssGlobalVars as o}from\"./global-style.js\";import{unsafeCSS as t}from\"lit\";class OutlineBuilder{constructor({selector:t=\":host\",width:e=o.outlineWidth,color:r=o.outlineColor,outlineType:s}={}){const l=((o,t)=>{const e=`outline-color:var(${t});border-color:var(${t});`,r=`${e}outline-width:var(${o});outline-style:solid;`;return{outline:r,\"outline-inset\":`${r}outline-offset:calc(-1 * var(${o}));`,\"box-shadow\":`box-shadow:0 0 0 var(${o}) var(${t});`,\"box-shadow-inset\":`box-shadow:inset 0 0 0 var(${o}) var(${t});`,border:`${e}border-width:var(${o});border-style:solid;`}})(e,r);if(s&&s in l){const o=l[s];this.css=`${t}{${o}}`}else this.css=\"\"}get styleSheet(){return t(this.css).styleSheet}}const e=o=>!o||\"none\"===o;export{OutlineBuilder,e as isNone};\n//# sourceMappingURL=outline.js.map\n","import{__decorate as t}from\"tslib\";import{part as i,godown as e,styles as o,StyleController as s,attr as r,htmlSlot as a}from\"@godown/element\";import n from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as p,nothing as l,html as u}from\"lit\";import{property as h}from\"lit/decorators.js\";import{cssGlobalVars as d}from\"../../internal/global-style.js\";import{SuperInput as c}from\"../../internal/super-input.js\";import{OutlineBuilder as f}from\"../../internal/outline.js\";let m=class Input extends c{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\",this.__outlineSC=new s(this,(()=>new f({outlineType:this.outlineType}).css+(\"outline\"===this.variant?`:host{${d.outlineColor}: var(${d.active})}`:\"\")))}render(){return u`<div part=\"root\" ${r(this.observedRecord)} class=\"input-field\"> ${[this._renderPrefix(),u`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||l}\" autocomplete=\"${this.autocomplete||l}\" placeholder=\"${this.placeholder||l}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\"/>`,this._renderSuffix()]} </div>`}_renderSuffix(){const t=\"password\";return u`<label for=${this.makeId} part=\"suffix\"> ${this.type===t?u`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\"> ${n()} </i>`:a(\"suffix\")} </label>`}};t([h()],m.prototype,\"variant\",void 0),t([i(\"input\")],m.prototype,\"_input\",void 0),m=t([e(\"input\"),o(p`:host{display:block;height:var(${d.input}-height);width:var(${d.input}-width)}:host(:focus-within){${d.outlineColor}:var(${d.active})}`)],m);var $=m;export{m as Input,$ as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../../internal/global-style.js\";let n=class Layout extends d{constructor(){super(...arguments),this.sticky=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}> <header part=\"header\">${i(\"header\")}</header> <main part=\"main\">${i()}</main> <footer part=\"footer\">${i(\"footer\")}</footer> </div>`}};t([p({type:Boolean})],n.prototype,\"sticky\",void 0),n=t([o(\"layout\"),r(a`:host{flex-direction:column;grid-template-rows:auto 1fr auto;min-height:100%;width:100%}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}[part=main]{flex:1;width:100%}[part=footer],[part=header]{flex-shrink:0;width:100%}[sticky] header{position:sticky;top:0}`)],n);var l=n;export{n as Layout,l as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{styles as r,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,nothing as a,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as s}from\"./global-style.js\";let h=class SuperAnchor extends s{constructor(){super(...arguments),this.target=\"_self\"}get pathname(){return new URL(this.href,location.href).pathname}render(){return l`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||a}\" target=\"${this.target}\" @click=${this._handleClick}> ${e()} </a>`}};t([n()],h.prototype,\"href\",void 0),t([n()],h.prototype,\"target\",void 0),h=t([r(i`:host{color:currentColor;cursor:default;display:inline-block;text-decoration:none}:host([href]){cursor:pointer}[part=root]{color:inherit;display:inline-block;text-decoration:inherit}`)],h);var c=h;export{h as SuperAnchor,c as default};\n//# sourceMappingURL=super-anchor.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../../internal/global-style.js\";var l;const c=\"field\",d=\"slotted\",u=\"united\";let m=l=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case c:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),l.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],subtree:!0}),this.collectSlottedRoutes())}disconnectedCallback(){super.disconnectedCallback(),l.routerInstances.delete(this)}useRouter(){return{pathname:this.pathname,params:this.params,path:this.path,component:this.component}}updated(t){if(t.has(\"pathname\")||t.has(\"path\")){const t=this.useRouter();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchCustomEvent(\"change\",t)}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=l=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as s}from\"lit/decorators.js\";import{SuperAnchor as r}from\"../../internal/super-anchor.js\";import o from\"../router/component.js\";const a=\"push\",p=\"replace\",i=\"normal\",h=\"auto\";let n=class Link extends r{constructor(){super(...arguments),this.type=h,this.suppress=!1,this.replace=!1,this.state={},this.handleState=()=>{switch(this.type){case h:case a:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case p:history.replaceState(this.state,\"\",this.href)}}}_handleClick(t){const{state:e,type:s,href:r,pathname:a,suppress:p}=this;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:a,state:e}),r.startsWith(\"#\")||s===i)return;this.handleState();const n=[...o.routerInstances];p||s===h&&!n.some((t=>t.search(location.pathname)))||(t.preventDefault(),o.routerInstances.forEach((t=>{t.handlePopstate()})))}};t([s()],n.prototype,\"type\",void 0),t([s({type:Boolean})],n.prototype,\"suppress\",void 0),t([s({type:Boolean})],n.prototype,\"replace\",void 0),n=t([e(\"link\")],n);var c=n;export{n as Link,c as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNullable as o,Ranger as i,attr as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as d}from\"../../internal/global-style.js\";let m=class Progress extends d{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;if(!o(this.value)){const e=new i(this.min,this.max);r=100*e.restrict(this.value/e.diff),t=\"static\"}return n`<div part=\"root\" ${s(this.observedRecord)} class=\"${t}\"> <i part=\"value\" style=\"width:${r}%;\"></i> </div>`}};t([l({type:Number})],m.prototype,\"max\",void 0),t([l({type:Number})],m.prototype,\"min\",void 0),t([l({type:Number})],m.prototype,\"value\",void 0),m=t([r(\"progress\"),e(a`:host{background:var(${p.passive});border-radius:.25em;color:var(${p.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;overflow:hidden;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],m);var u=m;export{m as Progress,u as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as r,styles as a,Ranger as s,omit as o,attr as i,joinDeclarations as n,loop as h,tokenList as l,isNullable as d}from\"@godown/element\";import{css as u,html as c}from\"lit\";import{property as v,queryAll as p,state as m}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as g}from\"../../internal/global-style.js\";import{SuperInput as w}from\"../../internal/super-input.js\";const y=\"range\",_=f(y);let b=class Range extends w{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this.__focusStack=[]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,a=t-r.length;return a>0?new Array(a).fill(e).concat(r):r}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),\"max\"!==t&&\"min\"!==t&&\"step\"!==t||(this._ranger=new s(this.min,this.max,this.step))}get observedRecord(){return o(super.observedRecord,\"outline-type\")}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return c`<div part=\"root\" ${i(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${n([[\"--from\",(e-this.min)/a*100+\"%\"],[\"--to\",(r-this.min)/a*100+\"%\"],...t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))])}\"> <div part=\"track\"></div> ${h(this.rangeValue.length,(t=>this._renderHandle(t)))} </div>`}_renderHandle(t){const{disabled:e,range:r,rangeValue:a}=this,s=!r||r&&t===a.length-1&&1===a.length;return c`<i tabindex=\"0\" part=\"handle\" class=\"${l({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${e?null:this.createMouseDown(t)}\" @focus=\"${e?null:()=>this.focusHandle(t)}\" @blur=\"${e?null:this.blurHandle}\" style=\"${n({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${s?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t)))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent)}createKeydownEvent(t){return e=>{const{rangeValue:r,step:a}=this;r.length<2&&(t=0);const s=r[t];\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)(s-a)):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)(s+a))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchCustomEvent(\"change\",this.value)}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:s,width:o}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/s:(t-a)/o)}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,a)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?a:t),0):0,a=this.createSetValue(r);a(e),this.createMousedownListener(a)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const a=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",a)};this.events.add(document,\"mouseup\",a)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r===this._ranger.restrict(r)&&t?.call(this,r)}}_connectedInit(){this._ranger=new s(this.min,this.max,this.step);const t=this._ranger.diff;this.step||=t/100,d(this.value)&&(d(this.default)?this.value=Math.round(t/2/this.step)*this.step:this.value=this.default),this.default??=this.value}reset(){this.value=this.default}sort(){return this.value=this.toSorted()}toSorted(){return this.range?[...this.value].sort(((t,e)=>t-e)):this.value}};t([v({type:Number})],b.prototype,\"min\",void 0),t([v({type:Number})],b.prototype,\"max\",void 0),t([v({type:Number})],b.prototype,\"step\",void 0),t([v({type:Boolean,reflect:!0})],b.prototype,\"vertical\",void 0),t([v({type:Array})],b.prototype,\"value\",void 0),t([v({type:Array})],b.prototype,\"default\",void 0),t([e(\"root\")],b.prototype,\"_root\",void 0),t([p(\"[part=handle]\")],b.prototype,\"_handles\",void 0),t([m()],b.prototype,\"lastFocus\",void 0),b=t([r(y),a(u`:host{${_}--handle-active:var(${g.active});${_}--track-width:.5em;${_}--length:var(${g.input}-width);background:var(${g.passive});display:block;width:var(${_}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${_}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${_}--handle-scale:1.05;background:var(${_}--handle-active)}[part=root]{position:relative;--from:0%;--to:50%;height:var(${_}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${g.active});height:100%;justify-content:space-between;left:min(var(--from),var(--to));pointer-events:none;width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=handle],[part=track]{display:flex;position:absolute}[part=handle]{align-items:center;background:var(${g.active});border:.1em solid;border-color:var(${g.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${_}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,u`[vertical]{height:inherit;width:var(${_}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,u`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],b);var k=b;export{b as Range,k as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{part as o,godown as e,styles as r,htmlSlot as i}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{scopePrefix as a,GlobalStyle as l}from\"../../internal/global-style.js\";const d=\"rotate\",p=a(d);let m=class Rotate extends l{render(){return n`<div part=\"root\"> <div part=\"slot\" @mousemove=\"${this._handleRotate}\"> ${i()} </div> <i @mouseleave=\"${this.reset}\"></i> </div>`}reset(){this._root.style.removeProperty(\"transform\"),this._root.style.removeProperty(\"transition\")}_handleRotate(t){const{rotateX:o,rotateY:e}=this._computeOffset(t);this._root.style.setProperty(\"transform\",`rotateX(${o}rad) rotateY(${e}rad)`),this._root.style.setProperty(\"transition\",\"0s\")}_computeOffset(t){const{left:o,top:e,width:r,height:i}=this._root.getBoundingClientRect(),{clientX:s,clientY:n}=t;return{rotateX:-(n-e-i/2)/i/2,rotateY:(s-o-r/2)/r/2}}};t([o(\"root\")],m.prototype,\"_root\",void 0),m=t([e(d),r(s`:host{display:block;transition:all .5s ease-in-out;width:-moz-fit-content;width:fit-content;${p}--padding:.75em;${p}--offset:.5em}div{position:relative;transition:inherit;transition-property:transform}i{box-sizing:content-box;height:100%;margin:calc(var(${p}--offset)*-1);padding:var(${p}--offset);position:absolute;top:0;width:100%}[part=slot]{z-index:2}`)],m);var f=m;export{m as Rotate,f as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{unsafeCSS as t,css as i}from\"lit\";const o=t(\"[direction-inset-align]\"),e=i`[direction^=top] ${o}{top:0}[direction^=bottom] ${o}{bottom:0}[direction$=right] ${o}{right:0}[direction$=left] ${o}{left:0}`,r=t(\"[direction-outset-place]\"),n=i`[direction^=top] ${r}{bottom:100%}[direction^=bottom] ${r}{top:100%}[direction$=right] ${r}{left:100%}[direction$=left] ${r}{right:100%}`;export{e as directionInsetAlign,n as directionOutsetPlace};\n//# sourceMappingURL=direction.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as l}from\"@godown/element\";import n from\"@godown/f7-icon/icons/chevron-down.js\";import{css as r,nothing as h,html as a}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"../input/component.js\";import{cssGlobalVars as d}from\"../../internal/global-style.js\";import{directionOutsetPlace as f}from\"../../internal/direction.js\";function v(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function m(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let b=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}get observedRecord(){return{...super.observedRecord,direction:this.direction||this.autoDirection}}render(){return a`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\"> ${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\"/>`,a`<label for=\"${this.makeId}\" part=\"suffix\"> <i part=\"icon\">${n()}</i> </label>`,a`<label for=\"${this.makeId}\" part=\"content\" direction-outset-place> ${l()} </label>`]} </div>`}_handleFocus(){if(!this.direction){const{top:t,bottom:e}=this.getBoundingClientRect();window.innerHeight-e<this._content.clientHeight&&t>this._content.clientHeight?this.autoDirection=\"top\":this.autoDirection=\"bottom\"}this.visible=!0}firstUpdated(){this.events.add(this._content,\"click\",(t=>{t.preventDefault(),t.stopPropagation();const{target:e}=t,i=this.optionValue(e);if(i){const t=this.select(i,e.textContent);this.multiple||m(this.lastChecked,0),m(e,t),this.lastChecked=e}this._input.focus()})),this.events.add(document,\"click\",(t=>{t.stopPropagation();const e=t.composedPath()[0];e&&!this.shadowRoot.contains(e)&&this.blur()}))}_connectedInit(){if(!this.value){const t=[...this.querySelectorAll(\"[checked]\")];(this.multiple?t:t.length?[this.lastChecked=t[0]]:[]).forEach((t=>{m(t,this.select(this.optionValue(t),t.textContent))})),this.default=this.value,this.defaultText=this.text,this.defaultChecked=t}this.text||(this.text=\"\")}reset(){this.value=this.default,this.text=this.defaultText,this.querySelectorAll(\"[checked]\").forEach((t=>m(t,0))),this.defaultChecked.forEach((t=>m(t,1)))}select(t,e){e||=t,e=e.trim();let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchCustomEvent(\"select\",this.value),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||v(this.optionValue(e),t)||v(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0})}focus(t){this._input.focus(t),this.visible=!0}blur(){this._input.blur(),this.visible=!1,super.blur()}optionValue(t){return t.value||t.getAttribute(\"value\")||\"\"}};t([c()],b.prototype,\"text\",void 0),t([e(\"content\")],b.prototype,\"_content\",void 0),t([c()],b.prototype,\"direction\",void 0),t([c({type:Boolean})],b.prototype,\"multiple\",void 0),t([c({type:Boolean})],b.prototype,\"visible\",void 0),t([u()],b.prototype,\"autoDirection\",void 0),b=t([i(\"select\"),o(f,r`.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[visible] [part=content]{visibility:visible}`)],b);var _=b;export{b as Select,_ as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M7.715 49.574h40.57c4.899 0 7.36-2.437 7.36-7.265V13.69c0-4.828-2.461-7.265-7.36-7.265H7.715C2.84 6.426.355 8.84.355 13.69v28.62c0 4.851 2.485 7.265 7.36 7.265m31.57-21.633c-1.055-.937-2.25-1.43-3.515-1.43c-1.313 0-2.462.446-3.54 1.407l-10.593 9.469l-4.336-3.938c-.985-.867-2.04-1.336-3.164-1.336c-1.032 0-2.04.446-3 1.313L4.129 39.73V13.88c0-2.438 1.312-3.68 3.656-3.68h40.43c2.32 0 3.656 1.242 3.656 3.68v25.875Zm-21.469.258c3.024 0 5.508-2.484 5.508-5.531c0-3.023-2.484-5.531-5.508-5.531c-3.046 0-5.53 2.508-5.53 5.531a5.54 5.54 0 0 0 5.53 5.531\"/>`;\n","import{__decorate as o}from\"tslib\";import{godown as i,styles as r,htmlSlot as t,attr as a}from\"@godown/element\";import n from\"@godown/f7-icon/icons/photo.js\";import{css as e,html as s}from\"lit\";import{property as m,state as d}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as c,GlobalStyle as l}from\"../../internal/global-style.js\";const g=\"skeleton\",v=p(g);let $=class Skeleton extends l{constructor(){super(...arguments),this.animation=\"position\",this.loading=!0}render(){return this.loading?s`<div part=\"root\" ${a(this.observedRecord)}> ${\"image\"===this.type?n():\"\"} ${t(\"loading\")} </div>`:t()}};o([m()],$.prototype,\"type\",void 0),o([m()],$.prototype,\"animation\",void 0),o([d()],$.prototype,\"loading\",void 0),$=o([i(g),r(e`:host{${v}--from:var(${c._colors.darkgray[9]});${v}--to:var(${c._colors.darkgray[7]});${v}--deg:95deg;${v}--duration:1.5s;${v}--icon-size:5em;${v}--icon-margin:.25em;background:var(${v}--from);color:var(${c._colors.darkgray[5]});display:block;flex-shrink:0;min-height:1.5em;overflow:hidden;width:100%}[part=root]{animation:var(${v}--duration) ease-in-out 0s infinite none running;min-height:inherit;text-align:center}svg{--size:var(${v}--icon-size);font-size:var(--size);margin:calc(var(--size)*.05)}[animation=position]{animation-name:po;background-color:transparent;background-image:linear-gradient(var(${v}--deg),var(${v}--from) 36%,var(${v}--to) 50%,var(${v}--from) 64%);background-size:200% 100%}@keyframes po{0%{background-position:150%}to{background-position:-50%}}[animation=opacity]{animation-direction:alternate;animation-name:op}@keyframes op{50%{opacity:.25}to{opacity:1}}`)],$);var f=$;export{$ as Skeleton,f as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,StyleController as r,omit as n,attr as s,loop as u,tokenList as l}from\"@godown/element\";import{css as o,html as a}from\"lit\";import{property as h,state as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as d}from\"../../internal/global-style.js\";import{SuperInput as f}from\"../../internal/super-input.js\";import{OutlineBuilder as b}from\"../../internal/outline.js\";const v=\"split\",m=p(v);let y=class Split extends f{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[],this.__outlineSC=new r(this,(()=>new b({selector:\"[part=input-box]\",outlineType:this.outlineType}).css))}get observedRecord(){return n(super.observedRecord,\"outline-type\")}render(){return a`<div part=\"root\" ${s(this.observedRecord)}> ${u(this.len,(t=>a`<span part=\"input-box\" outline-type=\"${this.outlineType}\" class=\"${l({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\"> ${this.currentValue[t]} </span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=${this.blur} @input=\"${this._handleInput}\" @change=\"${this._handleChange}\" .value=\"${this.value.padStart(this.len,\" \")}\"/> </div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus()}blur(){this._input.blur(),this.current=-1,super.blur()}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([h({type:Number})],y.prototype,\"len\",void 0),t([h({type:Number})],y.prototype,\"index\",void 0),t([c()],y.prototype,\"current\",void 0),t([c()],y.prototype,\"currentValue\",void 0),y=t([e(v),i(o`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${m}--size:1.45em;${m}--gap:.25em}[part=root]{display:flex;gap:var(${m}--gap);justify-content:space-between;position:relative}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${m}--size);justify-content:center;width:var(${m}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus,[part=input-box]:active{${d.outlineColor}:var(${d.active})}`)],y);var $=y;export{y as Split,$ as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as a,omit as i,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as l}from\"../../internal/global-style.js\";import{SuperInput as d}from\"../../internal/super-input.js\";const c=\"switch\",p=h(c);let u=class Switch extends d{constructor(){super(...arguments),this.default=!1,this.value=!1}set checked(t){this.value=t}get checked(){return this.value}get observedRecord(){return i(super.observedRecord,\"outline-type\")}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"round\"> <input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.value}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"/> <span part=\"handle\"></span> </div>`}reset(){this.value=this.default,this._input.checked=this.value}_connectedInit(){this.default?this.value=!0:this.value&&(this.value=!0,this.default=!0)}_handleChange(){const{checked:t}=this._input;this.value=t,this.dispatchCustomEvent(\"change\",this.value)}};t([n({type:Boolean})],u.prototype,\"default\",void 0),t([n({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),a(s`:host,:host([contents]) [part=root]{display:inline-block}:host{${p}-width:3em;${p}-height:calc(var(${p}-width)/2);${p}-handle-size:1.25em;${p}-handle-space:calc(var(${p}-width)/4 - var(${p}-handle-size)/2);${p}-transition:.2s ease-in-out;background:var(${l.passive});border-radius:calc(var(${p}-height)/2);height:var(${p}-height);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom;width:var(${p}-width)}:host([checked]){background:var(${l.active})}[part=root]{position:relative}[part=handle],[part=root]{align-items:center;display:flex;transition:inherit}[part=handle]{background:currentColor;border-radius:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:50%;--size:var(${p}-handle-size);height:var(--size);transform:translateY(-50%) translateX(var(${p}-handle-space));width:var(--size)}:host([checked]) [part=handle]{left:50%}[part=input]{height:100%;opacity:0;width:100%}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as v}from\"../../internal/global-style.js\";const d=\"text\",u=p(d);let h=class Text extends v{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\"> ${i()} </span>`}};o([c()],h.prototype,\"underline\",void 0),o([c({type:Boolean})],h.prototype,\"clip\",void 0),h=o([r(d),e(n`:host{${u}--color:currentColor;${u}--color-hover:currentColor;${u}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${u}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap}[part=root]:hover{color:var(${u}--color-hover,var(${u}--color))}[part=root]:active{color:var(${u}--color-active,var(${u}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],h);var w=h;export{h as Text,w as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,StyleController as r,attr as o,tokenList as n,htmlSlot as s}from\"@godown/element\";import{scopePrefix as a,cssGlobalVars as d,GlobalStyle as p}from\"../../internal/global-style.js\";import{css as l,html as c}from\"lit\";import{property as h,queryAll as u}from\"lit/decorators.js\";import{OutlineBuilder as m}from\"../../internal/outline.js\";const v=\"tabs\",y=a(v),x=\"hover\";let b=class Tabs extends p{constructor(){super(...arguments),this.outlineType=\"border\",this.useSlot=!1,this.index=0,this.__outlineSC=new r(this,(()=>new m({outlineType:this.outlineType}).css))}render(){return c`<ul part=\"root\" ${o(this.observedRecord)} @mouseleave=\"${this._handleMouseLeave}\"> ${this.tabs?.map(((t,i)=>t||this.useSlot?c`<li part=\"${n(\"item\",{selected:this.index===i})}\" @mouseenter=${()=>{this.move(this._lastIndex,i),this._lastIndex=i}} @click=${()=>this.select(i)}> ${this.useSlot?s(t):t} <div part=\"indicator\"></div> </li>`:\"\"))} </ul>`}connectedCallback(){super.connectedCallback(),this._lastIndex=this.index}_handleMouseLeave(){const t=this._items[this._lastIndex];t&&t.part.remove(x),this._lastIndex=this.index}move(t,i){if(t===i)return;const{_items:e,_indicators:r}=this,o=e[i];if(!o)return;o.part.add(x);const n=e[t];if(!n)return;n.part.remove(x);const s=r[i],a=r[t];if(!s||!a)return;const d=a.getBoundingClientRect(),p=o.getBoundingClientRect(),l=d.x-p.x,c=d.y-p.y,h=d.width,{style:u}=s;u.transform=`translate3d(${l}px,${c}px,0)`,u.width=h+\"px\",u.transition=a.style.transition=\"none\",s.getBoundingClientRect(),u.width=u.transform=u.transition=a.style.transition=\"\"}select(t){const{index:i,tabs:e,_lastIndex:r,useSlot:o}=this;e&&i!==t&&t in e&&(this.dispatchCustomEvent(\"select\",t),this.move(r,t),this._lastIndex=t,i in e&&(e[i]||o)&&(this.index=t))}};t([h({attribute:\"outline-type\"})],b.prototype,\"outlineType\",void 0),t([h({type:Boolean})],b.prototype,\"useSlot\",void 0),t([h({type:Array})],b.prototype,\"tabs\",void 0),t([h({type:Number})],b.prototype,\"index\",void 0),t([u(\"[part~=item]\")],b.prototype,\"_items\",void 0),t([u(\"[part=indicator]\")],b.prototype,\"_indicators\",void 0),b=t([i(v),e(l`:host{${y}--indicator-background:var(${d._colors.darkgray[7]});${y}--space:0.25em;border-radius:var(${d.radius});cursor:default;display:flex;transition:.2s ease-in-out;width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;display:flex;flex-direction:inherit;gap:var(${y}--space);overflow-x:clip;padding:var(${y}--space);position:relative;transition:inherit;transition-property:width,transform,opacity;z-index:1}[useslot] [part~=item]{padding:0}[part~=item]{display:block;padding:0 .4em;position:relative;white-space:nowrap}[part=indicator],[part~=item]{border-radius:inherit;transition:inherit;transition-property:inherit;width:100%}[part=indicator]{background:var(${y}--indicator-background);height:100%;inset:0;opacity:0;position:absolute;z-index:-1}[part~=selected]{background:var(${y}--indicator-background)}[part~=hover] [part=indicator],[part~=selected] [part=indicator]{opacity:1}`)],b);var f=b;export{b as Tabs,f as default};\n//# sourceMappingURL=component.js.map\n","function formatNumber(n, max = 2) {\n return n.toString().padStart(max, \"0\").split(\"\");\n}\nexport function format(fmt, time = new Date(), escape = \"%\") {\n var _a;\n if (!fmt) {\n return fmt;\n }\n if (isNaN(time.getTime())) {\n return undefined;\n }\n const replaced = `${escape}${escape}`;\n const rest = [];\n fmt = fmt.replace(new RegExp(`${escape}([ZYMDhmsS${escape}])`, \"g\"), (_, p1) => {\n rest.push(p1);\n return replaced;\n });\n const z = time.getTimezoneOffset() / -60;\n const switcher = {\n Z: [z >= 0 ? \"+\" + z.toString() : z.toString()],\n Y: time.getFullYear().toString().split(\"\"),\n M: formatNumber(time.getMonth() + 1),\n D: formatNumber(time.getDate()),\n h: formatNumber(time.getHours()),\n m: formatNumber(time.getMinutes()),\n s: formatNumber(time.getSeconds()),\n S: formatNumber(time.getMilliseconds(), 3),\n };\n const result = [];\n for (const f of fmt.split(\"\").reverse()) {\n const s = (_a = switcher[f]) === null || _a === void 0 ? void 0 : _a.pop();\n if (s) {\n result.push(s);\n }\n else {\n result.push(f);\n }\n }\n return result\n .reverse()\n .join(\"\")\n .replace(new RegExp(replaced, \"g\"), () => rest.shift());\n}\nexport default format;\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../../internal/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${o(this.observedRecord)}> ${s(this.format,this.time,this.escape)} </span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchCustomEvent(\"time\",this.time),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),i(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as a}from\"../../internal/global-style.js\";import l from\"../../internal/super-openable.js\";import{directionOutsetPlace as d}from\"../../internal/direction.js\";var h;const c=\"tooltip\",f=a(c);let u=h=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=h.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return s`<div part=\"root\" ${o(this.observedRecord)} tabindex=\"${i?0:-1}\" @focus=\"${i?()=>this.open=!0:null}\" @blur=\"${i?()=>this.open=!1:null}\" @mouseenter=\"${i?null:()=>this.open=!0}\" @mouseleave=\"${i?null:()=>this.open=!1}\" style=\"justify-content:${t};align-items:${t}\"> ${n()} <div part=\"tip\" direction-outset-place> ${this.tip?s`<span class=\"passive\">${this.tip}</span>`:n(\"tip\")} </div> </div>`}};u.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([p()],u.prototype,\"tip\",void 0),t([p()],u.prototype,\"direction\",void 0),t([p()],u.prototype,\"align\",void 0),t([p({type:Boolean})],u.prototype,\"propagation\",void 0),t([p()],u.prototype,\"type\",void 0),u=h=t([i(c),e(d,r`:host{${f}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{border-radius:inherit;position:relative;transition:inherit}[part=tip]{height:-moz-fit-content;height:fit-content;position:absolute;transition:inherit;-webkit-user-select:none;user-select:none;visibility:hidden;width:-moz-fit-content;width:fit-content}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${f}--tip-background)}[propagation] [part=tip]{pointer-events:none}`)],u);var v=u;export{u as Tooltip,v as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,Ranger as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as a,state as h,query as l}from\"lit/decorators.js\";import{scopePrefix as p,GlobalStyle as c}from\"../../internal/global-style.js\";const m=\"typewriter\",y=p(m);let u=class Typewriter extends c{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${o(this.observedRecord)}> ${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i> </div>`}connectedCallback(){super.connectedCallback(),this._ranger=new r(this.min,this.max)}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchCustomEvent(this.index===this.len?\"done\":\"write\",this.contentInternal)}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||this._ranger.random();this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([a()],u.prototype,\"content\",void 0),t([a({type:Boolean})],u.prototype,\"ended\",void 0),t([a({type:Number})],u.prototype,\"max\",void 0),t([a({type:Number})],u.prototype,\"min\",void 0),t([a({type:Number})],u.prototype,\"delay\",void 0),t([a({type:Number})],u.prototype,\"index\",void 0),t([h()],u.prototype,\"contentInternal\",void 0),t([l(\"i\")],u.prototype,\"_i\",void 0),u=t([e(m),i(s`:host{${y}--cursor-width:.05em}:host,:host([contents]) [part=root]{display:inline-block}i{animation:s 1.5s steps(1) infinite;border-right:var(${y}--cursor-width) solid;margin-left:.02em}@keyframes s{0%{border-color:currentColor}50%{border-color:transparent}}slot{display:none}`)],u);var v=u;export{u as Typewriter,v as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNullable","value","isString","isObject","isArray","Array","omit","obj","keys","result","includes","join","a","b","sep","infixed","startsWith","endsWith","toDash","s","_a","match","map","toLowerCase","splitWords","toEntries","o","k","v","entries","isCSSResult","joinRules","rules","properties","joinDeclarations","props","StyleController","constructor","host","computeStyle","this","addController","hostUpdated","sheets","shadowRoot","adoptedStyleSheets","undefined","styleID","splice","styleResult","push","style","sheet","CSSStyleSheet","replaceSync","styleSheet","toStyleSheet","styles","protoStyles","superClass","getPrototypeOf","godown","name","option","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","Symbol","WeakMap","n$b","n","_$cssResult$","Error","cssText","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$5","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","_$Eu","elementStyles","finalizeStyles","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","attachShadow","shadowRootOptions","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","createDocumentFragment","querySelectorAll","part","partName","cache","query","i$2","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","updateAttribute","noAttribute","isNumber","isNaN","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","fn","PartType","element","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","html","nothing","htmlStyle","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","loop","len","index","tokenList","args","reduce","acc","cur","deepQuerySelectorAll","selectors","root","Element","el","child","children","from","deepQuerySelector","Events","inner","src","listener","options","typeMap","elementSet","addEventListener","remove","removeEventListener","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","_","Ranger","endpoint1","endpoint2","step","max","Math","min","diff","random","normalize","present","decimal","restrict","round","RouteTree","matchType","MatchTypes","strict","insert","pattern","parts","split","spec","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","slice","Timeouts","clearTimeout","attributeName","property","withSelectorRegex","GodownElement","LitElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","trim","test","adoptStyles","lazy","events","observers","timeouts","assign","mount","arg","unmount","remount","stack","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","getName","whenDefined","upgrade","s$1","n$8","a$3","d$7","p$6","g$5","h$9","m$f","rgb","g","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","func","start","trimStartFunc","end","trimEndFunc","trimFunc","str","repeat","clipBackground","active","passive","_colors","input","white","black","color","radius","outlineWidth","outlineColor","unsafeCSS","flatMap","$","j","gray","C","tip","success","info","warning","danger","error","help","deprecated","q","Alert","w","__colorSC","autoclose","hideClose","variant","title","content","close","m","bubbles","setTimeout","alert","x","Avatar","_renderAvatar","_handleError","formatName","Badge","position","dot","formatValue","Breath","getTexts","_renderText","_computeStyle","duration","Button","nextColor","plain","disabled","ghost","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","sqrt","left","top","animationName","_modalRoot","once","Card","footer","header","r$1","h$7","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","insertBefore","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$7","SuperOpenable","open","toggle","Details","float","fill","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","_offsetParent","offsetParent","_handleDragStart","reset","__x","__y","__t","__l","__handleMouseMove","_handleDrag","__handleMouseLeave","_handleDragEnd","__handleMouseUp","offsetWidth","offsetHeight","offsetLeft","offsetTop","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","fromEntries","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","n$4","SuperInput","autofocus","outlineType","compositing","makeId","defaultValue","default","_input","_handleInput","_handleChange","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","OutlineBuilder","selector","outline","border","Input","__outlineSC","autocapitalize","autocomplete","placeholder","Layout","sticky","SuperAnchor","pathname","URL","href","location","_handleClick","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","handlePopstate","window","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","collectSlottedRoutes","attributeFilter","subtree","useRouter","updateAll","Link","suppress","replace","handleState","history","pushState","replaceState","some","Progress","Range","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","indexOf","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","clientX","clientY","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","clientHeight","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","_handleMouseLeave","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop"],"mappings":";;;;;GAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAClD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,CAC9D,CA4QkD,mBAApBO,iBAAiCA,gBCvUxD,MAAMC,EAAcC,GAAUA,QAGxBC,EAAYD,GAA2B,iBAAVA,EAK7BE,EAAYF,GAAoB,OAAVA,GAAmC,iBAAVA,GAI/CG,QAAEA,GAAYC,MCZdC,EAAO,CAACC,KAAQC,KACzB,MAAMC,EAAS,CAAE,EACjB,IAAK,MAAMvB,KAAOqB,EACTC,EAAKE,SAASxB,KACfuB,EAAOvB,GAAOqB,EAAIrB,IAG1B,OAAOuB,CAAM,ECPJE,EAAO,CAACC,EAAGC,EAAGC,KAASF,EAAIA,GAAKC,EAAIC,EAAMD,EAAI,IAAMA,IAAM,GAC1DE,EAAU,CAACH,EAAGC,EAAGxB,IAAMuB,EAAEI,WAAWH,IAAMD,EAAEK,SAAS5B,GAqCrD6B,EAAUC,GAZJ,CAACA,IAAQ,IAAIC,EAAI,OAA4D,QAAnDA,EAAKD,EAAEE,MAAM,wCAAqD,IAAPD,OAAgB,EAASA,EAAGE,KAAKH,GAAMA,EAAEI,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AAK,GAAQoB,GAAE3B,EAAE,CAACE,EAAE2X,IAAG3c,EAAEsB,EAACuV,GAAA,SAAS3P,yIAAwIA,yIAAwIT,IAAM,IAAC1E,GAAE0E,GCA53DzB,GAAEN","x_google_ignoreList":[0,10,11,12,13,14,15,16,18,109]}
1
+ {"version":3,"file":"godown.umd.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../sharekit/is.js","../../sharekit/helper.js","../../sharekit/string.js","../../element/tools/lib.js","../../element/tools/css.js","../../element/controllers/style.js","../../element/decorators/styles.js","../../element/decorators/godown.js","../../element/decorators/component.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-all.js","../../element/decorators/part.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directive.js","../../element/directives/token-list.js","../../element/directives/attr.js","../../element/directives/html-slot.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../element/config.js","../internal/global-style.js","../internal/ring.js","../web-components/alert/component.js","../web-components/alert/definition.js","../web-components/avatar/component.js","../web-components/avatar/definition.js","../web-components/button/component.js","../web-components/badge/component.js","../web-components/badge/definition.js","../web-components/breath/component.js","../web-components/breath/definition.js","../web-components/button/definition.js","../web-components/card/component.js","../web-components/card/definition.js","../internal/icons/caret-left.js","../internal/icons/caret-right.js","../web-components/carousel/component.js","../web-components/carousel/definition.js","../web-components/chip/component.js","../web-components/chip/definition.js","../internal/icons/caret-down.js","../internal/super-openable.js","../web-components/details/component.js","../web-components/details/definition.js","../web-components/dialog/component.js","../web-components/dialog/definition.js","../web-components/divider/component.js","../web-components/divider/definition.js","../web-components/dragbox/component.js","../web-components/dragbox/definition.js","../web-components/flex/component.js","../web-components/form/component.js","../web-components/flex/definition.js","../web-components/form/definition.js","../web-components/grid/component.js","../web-components/router/component.js","../web-components/grid/definition.js","../web-components/link/component.js","../web-components/heading/component.js","../web-components/heading/definition.js","../internal/icons/eye-slash.js","../internal/super-input.js","../web-components/input/component.js","../web-components/input/definition.js","../web-components/layout/component.js","../web-components/layout/definition.js","../web-components/link/definition.js","../web-components/progress/component.js","../web-components/progress/definition.js","../web-components/range/component.js","../web-components/range/definition.js","../web-components/rotate/component.js","../web-components/rotate/definition.js","../web-components/router/definition.js","../internal/direction.js","../web-components/select/component.js","../web-components/select/definition.js","../web-components/skeleton/component.js","../web-components/skeleton/definition.js","../web-components/split/component.js","../web-components/split/definition.js","../web-components/switch/component.js","../web-components/switch/definition.js","../web-components/text/component.js","../web-components/text/definition.js","../web-components/tabs/component.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../web-components/tabs/definition.js","../web-components/time/component.js","../web-components/tooltip/component.js","../web-components/time/definition.js","../web-components/tooltip/definition.js","../web-components/typewriter/component.js","../web-components/typewriter/definition.js"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n","export const isNullable = (value) => value === null || value === undefined;\nexport const isNumerical = (value) => !Number.isNaN(+value);\nexport const isBoolean = (value) => typeof value === \"boolean\";\nexport const isString = (value) => typeof value === \"string\";\nexport const isSymbol = (value) => typeof value === \"symbol\";\nexport const isNumber = (value) => typeof value === \"number\";\nexport const isBigInt = (value) => typeof value === \"bigint\";\nexport const isFunction = (value) => typeof value === \"function\";\nexport const isObject = (value) => value !== null && typeof value === \"object\";\nexport const isPlainObject = (value) => isObject(value) && Object.getPrototypeOf(value) === Object.prototype;\nexport const isPropertyKey = (value) => isString(value) || isSymbol(value) || isNumber(value);\nexport const isPrimitive = (value) => !isObject(value) && !isFunction(value);\nexport const { isArray } = Array;\nexport const isArrayLike = (value) => isArray(value) || (isObject(value) && isNumber(value.length));\nexport const isTemplateStringArray = (value) => isArray(value) && isArray(value.raw);\nexport const isConstructor = (value) => isFunction(value) && value.prototype.constructor === value;\nconst asyncFnCons = (async () => { }).constructor;\nexport const isAsyncFunction = (value) => isFunction(value) && value.constructor === asyncFnCons;\nconst generatorFnCons = function* () { }.constructor;\nexport const isGeneratorFunction = (value) => isFunction(value) && value.constructor === generatorFnCons;\nconst asyncGeneratorFnCons = (async function* () { }).constructor;\nexport const isAsyncGeneratorFunction = (value) => isFunction(value) && value.constructor === asyncGeneratorFnCons;\nexport const isIterable = (value) => isObject(value) && isFunction(value[Symbol.iterator]);\nexport const isAsyncIterable = (value) => isObject(value) && isFunction(value[Symbol.asyncIterator]);\nexport const isAwaitable = (value) => !isFunction(value === null || value === void 0 ? void 0 : value.then);\nexport const isThenable = (value) => (isObject(value) || isFunction(value)) && !isAwaitable(value);\n//# sourceMappingURL=is.js.map","export const omit = (obj, ...keys) => {\n const result = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n result[key] = obj[key];\n }\n }\n return result;\n};\nexport const pick = (obj, ...keys) => {\n const result = {};\n for (const key of keys) {\n result[key] = obj[key];\n }\n return result;\n};\n//# sourceMappingURL=helper.js.map","export const trimStartFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let start = 0;\n while (start < s.length && func(s.slice(start, start + 1))) {\n start += 1;\n }\n return s.slice(start);\n};\nexport const trimEndFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let end = s.length;\n while (end > 0 && func(s.slice(end - 1, end))) {\n end -= 1;\n }\n return s.slice(0, end);\n};\nexport const trimFunc = (s, func) => trimStartFunc(trimEndFunc(s, func), func);\nexport const trimStart = (s, spec) => trimStartFunc(s, (str) => str === spec);\nexport const trimEnd = (s, spec) => trimEndFunc(s, (str) => str === spec);\nexport const trim = (s, spec) => trimFunc(s, (str) => str === spec);\nconst splitWords = (s) => { var _a; return ((_a = s.match(/[A-Z][^A-Z_-\\s]*|[^A-Z_-\\s]+/g)) === null || _a === void 0 ? void 0 : _a.map((s) => s.toLowerCase())) || []; };\nexport const capitalize = (s) => (s.slice(0, 1).toUpperCase() + s.slice(1));\nexport const uncapitalize = (s) => (s.slice(0, 1).toLowerCase() + s.slice(1));\nexport const toCamel = (s, u) => {\n const tokens = splitWords(s);\n if (!tokens.length) {\n return \"\";\n }\n const first = tokens.shift();\n const rest = tokens.map(capitalize);\n return (u ? capitalize(first) : first) + rest.join(\"\");\n};\nexport const toDash = (s) => splitWords(s).join(\"-\");\nexport const toSnake = (s) => splitWords(s).join(\"_\");\nexport const toKebab = toDash;\nexport const toPascal = (s) => toCamel(s, true);\nexport const toMacro = (s) => toSnake(s).toUpperCase();\n//# sourceMappingURL=string.js.map","import { isArray } from \"sharekit\";\nexport * from \"sharekit\";\nexport function* toEntries(o) {\n for (const e of isArray(o) ? o : Object.entries(o)) {\n if (e) {\n yield e;\n }\n }\n}\n//# sourceMappingURL=lib.js.map","import { unsafeCSS } from \"lit\";\nimport { isNullable, isObject, isString, toEntries } from \"./lib.js\";\nconst isCSSResult = (value) => {\n return isObject(value) && \"_$cssResult$\" in value;\n};\nconst isAcceptValue = (value) => !isNullable(value) && value !== false;\nexport const toStyleSheet = (style) => {\n if (isString(style)) {\n const sheet = new CSSStyleSheet();\n sheet.replaceSync(style);\n return sheet;\n }\n if (isCSSResult(style)) {\n return style.styleSheet;\n }\n return style;\n};\nexport const selectContain = (name, value) => value ? `[${name}~=\"${value}\"]` : `[${name}]`;\nexport const selectHost = (value) => `:host${value ? `(${value})` : \"\"}`;\nexport const selectPart = (value, pseudo) => pseudo ? `::part(${value})` : selectContain(\"part\", value);\nexport const joinRules = (rules) => {\n let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = isObject(value) && !isCSSResult(value) ? joinDeclarations(value) : value;\n if (isAcceptValue(properties)) {\n result += key ? `${key}{${properties}}` : properties;\n }\n }\n }\n return result;\n};\nexport const joinDeclarations = (props) => {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && isAcceptValue(value)) {\n result += `${key}:${value};`;\n }\n }\n return result;\n};\nexport const ifSupports = (condition, { truecase, falsecase }) => {\n const supportsAtRule = \"@supports\";\n let result = \"\";\n if (truecase) {\n result += `${supportsAtRule}(${condition}){${truecase}}`;\n }\n if (falsecase) {\n result += `${supportsAtRule} not(${condition}){${falsecase}}`;\n }\n return result;\n};\nexport const declareLightDarkColors = (selector, props, prefer) => {\n const arr = [...toEntries(props)];\n const lightDarkFunc = ([key, [light, dark]]) => [key, `light-dark(${light},${dark})`];\n const preferFunc = ([key, value]) => [key, value[prefer]];\n return ifSupports(\"color:light-dark(#fff,#000)\", {\n truecase: joinRules([[selector, joinDeclarations(arr.map(lightDarkFunc))]]),\n falsecase: joinRules([[selector, joinDeclarations(arr.map(preferFunc))]]),\n });\n};\nexport const toVar = (a, b) => (a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\");\nexport const wrapCSSResult = (fn) => (...args) => unsafeCSS(fn(...args));\n//# sourceMappingURL=css.js.map","import { toStyleSheet } from \"../tools/css.js\";\n/**\n * StyleController computes and applies styles when host updated.\n */\nexport class StyleController {\n constructor(host, computeStyle) {\n (this.host = host).addController(this);\n this.computeStyle = computeStyle;\n }\n hostUpdated() {\n const sheets = this.host.shadowRoot?.adoptedStyleSheets;\n if (!sheets) {\n return;\n }\n if (this.styleID !== undefined) {\n sheets.splice(this.styleID, 1);\n }\n const styleResult = this.computeStyle();\n if (!styleResult) {\n this.styleID = undefined;\n return;\n }\n this.styleID = sheets.push(toStyleSheet(styleResult)) - 1;\n }\n}\nexport default StyleController;\n//# sourceMappingURL=style.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { toDash } from \"sharekit\";\nimport { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= toDash(constructor.name);\n constructor.protoName = name;\n const tagName = constructor.godownConfig.tag(name);\n component({\n tagName,\n ...option,\n })(constructor);\n};\nexport default godown;\n//# sourceMappingURL=godown.js.map","import { styles } from \"./styles.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `styles` will call {@link styles}.\n * @param param0.tagName tagName of the custom element.\n * @param param0.styles styles of the custom element.\n * @param param0.superStyles if true, extend the styles from the super class.\n * @param param0.autoDefine if true, define the element.\n * @param param0.registry custom element registry.\n * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\nimport { selectPart } from \"../tools/css.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const queryPart = (partName, cache = true) => query(selectPart(partName), cache);\nexport default queryPart;\nexport { queryPart as part };\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import { isArray, isObject } from \"../tools/lib.js\";\nexport const combineToken = (a, b) => (a ? a + (b ? \" \" + b : \"\") : b) || \"\";\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (isArray(cur)) {\n return combineToken(acc, tokenList(...cur));\n }\n if (isObject(cur)) {\n for (const key in cur) {\n if (cur[key]) {\n acc = combineToken(acc, key);\n }\n }\n return acc;\n }\n return combineToken(acc, cur);\n}, \"\");\nexport default tokenList;\nconst splitTokenRegexp = /\\s+/;\nexport const clean = (str) => {\n return [...new Set(str.split(splitTokenRegexp))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { isNullable, isNumber, isString } from \"../tools/lib.js\";\nimport { combineToken } from \"./token-list.js\";\nconst noAttribute = (value) => isNullable(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true) {\n this.setAttribute(name, \"\");\n }\n else if (isString(value) || (isNumber(value) && !Number.isNaN(value))) {\n this.setAttribute(name, String(value));\n }\n else {\n this[name] = value;\n }\n}\nclass AttrDirective extends Directive {\n render(value, caller) { }\n update(part, [value, fn = updateAttribute]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n fn.call(part.element, name, value[name]);\n }\n }\n return noChange;\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with names and values.\n * @param caller A function to call for each attribute, {@link updateAttribute} by default.\n * @returns Directive to set attributes.\n */\nexport const attr = directive(AttrDirective);\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (noAttribute(value)) {\n return acc;\n }\n return combineToken(acc, key + (value === true ? \"\" : `=\"${value}\"`));\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if zero value, no name attribute will be added.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name) => html `<slot name=\"${name || nothing}\"></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\nimport { isString } from \"sharekit\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = isString(style) ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { isString } from \"../tools/lib.js\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => (strings, ...values) => {\n const body = svg(strings, values);\n const s = isString(viewBox) ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n};\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","export function deepQuerySelectorAll(selectors, root = this) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = this) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n random() {\n return this.normalize(Math.random() * this.diff + this.min);\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { isString } from \"sharekit\";\nconst infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.MatchTypes}.\n */\n this.matchType = RouteTree.MatchTypes.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (isString(parts)) {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.MatchTypes.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.MatchTypes.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.MatchTypes.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.MatchTypes.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.MatchTypes.strict,\n };\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.MatchTypes = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, isSymbol, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === true || attribute === undefined) {\n return String(property).toLowerCase();\n }\n if (attribute === false || isSymbol(property)) {\n return;\n }\n return attribute;\n};\nconst withSelectorRegex = /^[\\s\\S]*{[\\s\\S]*}$/;\nexport class GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n static finalize() {\n super.finalize();\n this.elementAttributes = new Map();\n for (const [property, option] of this.elementProperties.entries()) {\n const attribute = attributeName(property, option);\n if (attribute) {\n this.elementAttributes.set(attribute, property);\n }\n }\n }\n /**\n * Returns an object containing the current values of the observed attributes.\n * @returns An object where the keys are the observed attribute names and the values are the current values of those attributes.\n */\n get observedRecord() {\n const record = {};\n for (const [attribute, property] of this.constructor.elementAttributes.entries()) {\n record[attribute] = this[property];\n }\n return record;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!withSelectorRegex.test(sx)) {\n sx = `:host{${sx}}`;\n }\n if (!this.shadowRoot) {\n this.__stylex.lazy = sx;\n return;\n }\n if (this.__stylex.index) {\n this.shadowRoot.adoptedStyleSheets.splice(this.__stylex.index, 1);\n }\n this.__stylex.css = sx;\n this.__stylex.index = this.adoptStyles(sx);\n }\n constructor(init) {\n super();\n this.events = new Events();\n this.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector.call(this, selectors);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll.call(this, selectors);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot || !styles.length) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport default GodownElement;\n//# sourceMappingURL=element.js.map","import { toDash } from \"sharekit\";\nconst separator = \"-\";\nexport class GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return toDash(this.prefix + separator + origin + separator + this.suffix);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport default GodownConfig;\n//# sourceMappingURL=config.js.map","import{trim as r,declareLightDarkColors as o,joinRules as t,joinDeclarations as e,toVar as n,GodownElement as i}from\"@godown/element\";import{unsafeCSS as a,css as s}from\"lit\";class GlobalStyle extends i{}const d=r(GlobalStyle.godownConfig.prefix,\"-\");function l(r,o=1){return u(d+\"-\".repeat(o)+r)}function u(r){return a(`--${r}`)}const g={background:l(\"background\",2),foreground:l(\"foreground\",2),backgroundClip:l(\"background-clip\",2),primaryBackground:l(\"primary\",2),primaryForeground:l(\"primary-foreground\",2),muted:l(\"muted\",2),active:l(\"active\",2),passive:l(\"passive\",2),input:l(\"input\",2),radius:l(\"radius\",2),ringWidth:l(\"ring-width\",2),ringColor:l(\"ring-color\",2)};GlobalStyle.styles=[a(o(\":host\",[[g.background,[\"hsl(0 0% 96%)\",\"hsl(0 0% 4%)\"]],[g.foreground,[\"hsl(0 0% 4%)\",\"hsl(0 0% 96%)\"]],[g.muted,[\"hsl(0 0% 90%)\",\"hsl(0 0% 18%)\"]]],1)),a(t({\":host\":e([[g.primaryBackground,n(g.foreground)],[g.primaryForeground,n(g.background)],[g.active,n(g.primaryBackground)],[g.passive,n(g.muted)],[g.backgroundClip,`linear-gradient(to bottom, ${n(g.foreground)}, ${n(g.muted)})`],[g.ringColor,n(g.passive)],[g.ringWidth,\".075em\"]])})),s`button,dialog,input{border:0;outline:0}*{box-sizing:border-box;font-size:100%;font-style:normal;margin:0;padding:0}:host{border-style:none;box-sizing:border-box;outline-style:none}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}[part=root]{height:100%;width:100%}:host([contents]) [part=root]{height:inherit;width:inherit}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,s`:host{${g.radius}:0.2em;border-radius:var(${g.radius})}`];export{GlobalStyle,g as cssGlobalVars,GlobalStyle as default,l as scopePrefix,u as variablePrefix};\n//# sourceMappingURL=global-style.js.map\n","import{toVar as o}from\"@godown/element\";import{cssGlobalVars as t}from\"./global-style.js\";import{unsafeCSS as i}from\"lit\";const e=({width:o,color:t,inset:i})=>`outline-style:solid;outline-color:${t};outline-width:${o};${i?`outline-offset:calc(-1 * ${o});`:\"\"}`,s=({width:o,color:t,inset:i})=>`box-shadow:${i?\"inset\":\"\"} 0 0 0 ${o} ${t};`,r={outline:(o,t)=>e({width:o,color:t,inset:!1}),\"outline-inset\":(o,t)=>e({width:o,color:t,inset:!0}),\"box-shadow\":(o,t)=>s({width:o,color:t,inset:!1}),shadow:(o,t)=>s({width:o,color:t,inset:!1}),\"box-shadow-inset\":(o,t)=>s({width:o,color:t,inset:!0}),\"shadow-inset\":(o,t)=>s({width:o,color:t,inset:!0}),border:(o,t)=>(({width:o,color:t})=>`border-style:solid;border-color:${t};border-width:${o};border-style:solid;`)({width:o,color:t})};class RingBuilder{constructor({selector:i=\":host\",width:e=o(t.ringWidth),color:s=o(t.ringColor),type:l}={}){if(l&&l in r){const o=r[l](e,s);this.css=`${i}{${o}}`}else this.css=\"\"}get styleSheet(){return i(this.css).styleSheet}}const l=o=>!o||\"none\"===o;export{RingBuilder,l as isNone};\n//# sourceMappingURL=ring.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as o,StyleController as e,attr as i,htmlSlot as n}from\"@godown/element\";import{css as s,html as p}from\"lit\";import{property as a}from\"lit/decorators.js\";import{cssGlobalVars as d,GlobalStyle as l}from\"../../internal/global-style.js\";import{RingBuilder as c}from\"../../internal/ring.js\";let m=class Alert extends l{constructor(){super(),this.ringType=\"border\",new e(this,(()=>new c({type:this.ringType}).css))}render(){return p`<div part=\"root\" ${i(this.observedRecord)}> <div>${n(\"prefix\")}</div> <div part=\"content\"> <strong part=\"title\">${this.title||n(\"title\")}</strong> ${this.content||n()} </div> <div>${n(\"suffix\")}</div> </div>`}static alert(t,r){const o=new this;return Object.assign(o,r),t.appendChild(o),o}};t([a({attribute:\"ring-type\"})],m.prototype,\"ringType\",void 0),t([a()],m.prototype,\"title\",void 0),t([a()],m.prototype,\"content\",void 0),m=t([r(\"alert\"),o(s`:host{background:var(${d.background});padding:.75em}:host,:where(:host([contents]) [part=root]){display:block}[part=root]{align-items:center;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}[part=content],[part=root]{display:grid}`)],m);var g=m;export{m as Alert,g as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as r}from\"tslib\";import{godown as t,styles as e,attr as o,omit as i,htmlSlot as a}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{property as d}from\"lit/decorators.js\";import{cssGlobalVars as h,GlobalStyle as m}from\"../../internal/global-style.js\";let p=class Avatar extends m{constructor(){super(...arguments),this.name=\"\",this.round=!1}render(){return n`<div part=\"root\" ${o(i(this.observedRecord,\"src\"))}> ${this._renderAvatar()} </div>`}_renderAvatar(){return this.src?n`<img part=\"image\" src=\"${this.src}\" alt=\"${this.name}\" @error=${this._handleError}/>`:this.name?n`<span part=\"name\">${this.formatName()}</span>`:a()}formatName(){return this.name}_handleError(){this.src=void 0}};r([d()],p.prototype,\"src\",void 0),r([d()],p.prototype,\"name\",void 0),r([d({type:Boolean})],p.prototype,\"round\",void 0),p=r([t(\"avatar\"),e(s`:host{background:var(${h.passive});height:2em;overflow:hidden;vertical-align:bottom;width:2em}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;justify-content:center;position:relative}`)],p);var l=p;export{p as Avatar,l as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{queryPart as o,godown as e,styles as i,attr as r,htmlSlot as a}from\"@godown/element\";import{css as n,html as s}from\"lit\";import{property as d}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as c,GlobalStyle as p}from\"../../internal/global-style.js\";const h=\"button\",u=l(h);let m=class Button extends p{constructor(){super(...arguments),this.plain=!1,this.disabled=!1,this.active=!1,this.round=!1}render(){return s`<div part=\"root\" ${r(this.observedRecord)}> ${this.content||a()} <span part=\"modal-root\"></span> </div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}connectedCallback(){super.connectedCallback(),this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(t){if(this.disabled)return t.stopPropagation(),void t.preventDefault();this.plain||this._handleModal(t)}_handleModal(t){const o=document.createElement(\"i\"),{width:e,height:i}=this.getBoundingClientRect(),{x:r,y:a}=this._root.getBoundingClientRect(),n=2*Math.sqrt(i**2+e**2)+\"px\";o.style.height=n,o.style.width=n,o.style.left=t.x-r+\"px\",o.style.top=t.y-a+\"px\",o.style.animationName=\"kf\",this._modalRoot.appendChild(o),o.addEventListener(\"animationend\",(()=>o.remove()),{once:!0})}};t([d({type:Boolean,reflect:!0})],m.prototype,\"plain\",void 0),t([d({type:Boolean,reflect:!0})],m.prototype,\"disabled\",void 0),t([d({type:Boolean,reflect:!0})],m.prototype,\"active\",void 0),t([d({type:Boolean,reflect:!0})],m.prototype,\"round\",void 0),t([d()],m.prototype,\"content\",void 0),t([o(\"modal-root\")],m.prototype,\"_modalRoot\",void 0),t([o(\"root\")],m.prototype,\"_root\",void 0),m=t([e(h),i(n`:host(:not([disabled]):active){transform:scale(var(${u}--focus-scale))}:host([round]){border-radius:calc(infinity*1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([plain]){${u}--gradients:unset;${u}--focus-scale:unset}`,n`:host{${u}--modal-animation-duration:1.5s;${u}--focus-scale:.97;${u}--deg:45deg;background:var(${c.primaryBackground});border-style:none;border-width:var(${c.ringWidth});color:var(${c.primaryForeground});cursor:pointer;display:block;overflow:hidden;padding:.25em .75em;text-align:center;width:-moz-fit-content;width:fit-content}[part=root]:not([contents]){height:100%;width:100%}[part=root]{position:relative;-webkit-user-select:none;user-select:none}i{animation-duration:var(${u}--modal-animation-duration);background:var(${u}--modal-background,currentColor);border-radius:50%;height:100%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible;width:100%}@keyframes kf{0%{opacity:var(${u}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],m);var v=m;export{m as Button,v as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e}from\"@godown/element\";import r from\"../button/component.js\";import{css as s}from\"lit\";let m=class Badge extends r{constructor(){super(...arguments),this.plain=!0,this.round=!0}};m=t([o(\"badge\"),e(s`:host{font-size:.75em}`)],m);var i=m;export{m as Badge,i as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlStyle as n}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as c,GlobalStyle as d}from\"../../internal/global-style.js\";const p=\"breath\",$=s(p),m=/[\\s,]+/;let u=class Breath extends d{render(){const t=this.getTexts();return a`<div part=\"root\" ${e(this.observedRecord)}> ${[t.map(this._renderText),n(this._computeStyle(t.length))]} </div>`}_renderText(t){return a`<span class=\"rel\"> <span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span> </span>`}getTexts(){return Array.isArray(this.content)?this.content:(this.content||this.textContent).split(m).filter((t=>t))}_computeStyle(t){const o=50/t,r=this.duration||1e3*(2*t+2);let e=\"\";for(let o=1;o<=t;o++){e+=`.rel:nth-child(${o}) .colorful{animation-delay:${-r/t*(t-o+1)}ms;background:var(${$}--${o},var(${$}--${(o-1)%3+1}));}`}return`.colorful{animation-duration:${r}ms;}@keyframes colorfulN{0%,${3*o}%{opacity:0;}${o}%,${2*o}%{opacity:1;}}${e}`}};t([l()],u.prototype,\"content\",void 0),t([l({type:Number})],u.prototype,\"duration\",void 0),u=t([o(p),r(i`:host{${$}--deg:60deg;${$}--1-1:#dd3c3c;${$}--1-2:#f5993d;${$}--2-1:#26d944;${$}--2-2:#29a3a3;${$}--3-1:#8c30e8;${$}--3-2:#0d80f2;${$}--1:linear-gradient(var(${$}--deg),var(${$}--1-1),var(${$}--1-2));${$}--2:linear-gradient(var(${$}--deg),var(${$}--2-1),var(${$}--2-2));${$}--3:linear-gradient(var(${$}--deg),var(${$}--3-1),var(${$}--3-2))}`,i`:host{align-items:center;direction:ltr;font-size:2em;margin:auto;width:-moz-fit-content;width:fit-content}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}::selection{background:none}.rel{font-size:inherit;font-weight:800;letter-spacing:-.05em;position:relative}`,i`.colorful,.nocolor{animation-iteration-count:infinite;-webkit-background-clip:text!important;background-clip:text!important;box-sizing:border-box;color:transparent;display:inline-block;padding:0 .05em}.colorful{animation-name:colorfulN;opacity:0}.nocolor{background:var(${c.backgroundClip});position:absolute;top:0}`)],u);var f=u;export{u as Breath,f as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as t,StyleController as e,attr as i,htmlSlot as d}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as l,GlobalStyle as m}from\"../../internal/global-style.js\";import{RingBuilder as h}from\"../../internal/ring.js\";const g=\"card\",f=s(g);let y=class Card extends m{constructor(){super(),this.ringType=\"border\",this.footer=!1,this.header=!1,new e(this,(()=>new h({type:this.ringType}).css))}render(){return n`<div part=\"root\" ${i(this.observedRecord)}> ${[this.header?d(\"header\"):\"\",d(),this.footer?d(\"footer\"):\"\"]} </div>`}};r([p({attribute:\"ring-type\"})],y.prototype,\"ringType\",void 0),r([p({type:Boolean})],y.prototype,\"footer\",void 0),r([p({type:Boolean})],y.prototype,\"header\",void 0),y=r([o(g),t(a`:host{${f}--padding:.75em;background:var(${l.background});display:block;flex-shrink:0}slot{display:block;padding:var(${f}--padding)}[part=root]{border-radius:inherit}[name=footer]{padding-top:0}[name=header]{padding-bottom:0}`)],y);var c=y;export{y as Card,c as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{icon as o}from\"@godown/element\";const l=o(\"0 0 256 256\")`<path fill=\"currentColor\" d=\"M165.66 202.34a8 8 0 0 1-11.32 11.32l-80-80a8 8 0 0 1 0-11.32l80-80a8 8 0 0 1 11.32 11.32L91.31 128Z\">`;export{l as default};\n//# sourceMappingURL=caret-left.js.map\n","import{icon as o}from\"@godown/element\";const l=o(\"0 0 256 256\")`<path fill=\"currentColor\" d=\"m181.66 133.66l-80 80a8 8 0 0 1-11.32-11.32L164.69 128L90.34 53.66a8 8 0 0 1 11.32-11.32l80 80a8 8 0 0 1 0 11.32\">`;export{l as default};\n//# sourceMappingURL=caret-right.js.map\n","import{__decorate as t}from\"tslib\";import{queryPart as e,godown as i,styles as s,attr as o,htmlSlot as r}from\"@godown/element\";import n from\"../../internal/icons/caret-left.js\";import h from\"../../internal/icons/caret-right.js\";import{css as l,html as a}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as c}from\"../../internal/global-style.js\";function p(t){return t.getBoundingClientRect().width}let m=class Carousel extends c{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return a`<div part=\"root\" ${o(this.observedRecord)}> <i part=\"prev\" @click=\"${this.prev}\"> ${n()} </i> <div part=\"move-root\">${r()}</div> <i part=\"next\" @click=\"${this.next}\"> ${h()} </i> </div>`}connectedCallback(){super.connectedCallback(),this.children.length&&(this.__cloneFirst?.remove(),this.__cloneLast?.remove(),this.__cloneLast=this.firstElementChild.cloneNode(!0),this.__cloneFirst=this.lastElementChild.cloneNode(!0),this.appendChild(this.__cloneLast),this.insertBefore(this.__cloneFirst,this.firstElementChild)),this.observers.add(this,ResizeObserver,(()=>{this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,!0)}))}async firstUpdated(){await this.updateComplete,this.show(this.index,!0)}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),\"index\"===t&&this.isConnected&&this.show(this.index)}show(t,e){t=this.normalizeIndex(t),this.index=t,this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,e),this.dispatchCustomEvent(\"change\",t),this.timeouts.remove(this.intervalID),this.autoChange>0&&(this.intervalID=this.timeouts.add(setInterval((()=>{this.next()}),this.autoChange)))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1)}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1)}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,this._moveRoot.style.transition=e?\"none\":\"\"}_computeOffset(){let t=0;for(let e=0;e<=this.index;e++)t-=p(this.children[e]);return t+=(p(this)-p(this.children[this.index+1]))/2,t}normalizeIndex(t){return t<0?0:t>this.children.length-3?this.children.length-3:t}};t([d({type:Number})],m.prototype,\"index\",void 0),t([d({type:Number})],m.prototype,\"autoChange\",void 0),t([e(\"move-root\")],m.prototype,\"_moveRoot\",void 0),m=t([i(\"carousel\"),s(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as i,htmlSlot as e}from\"@godown/element\";import{css as s,html as a}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as n,cssGlobalVars as l,GlobalStyle as f}from\"../../internal/global-style.js\";const d=\"chip\",c=n(d);let h=class Chip extends f{constructor(){super(...arguments),this.position=\"top-right\",this.value=0,this.dot=!1,this.max=99}formatValue(t){return t>this.max?this.max+\"+\":t+\"\"}render(){return a`<div part=\"root\" ${i(this.observedRecord)}> ${e()} ${this.value||this.dot?a`<div part=\"chip\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"} </div>`}};t([p()],h.prototype,\"position\",void 0),t([p({type:Number})],h.prototype,\"value\",void 0),t([p({type:Boolean})],h.prototype,\"dot\",void 0),t([p({type:Number})],h.prototype,\"max\",void 0),h=t([o(d),r(s`:host{${c}--offset:0%;${c}--offset-x:var(${c}--offset);${c}--offset-y:var(${c}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=chip]{background:var(${l.primaryBackground});border-radius:calc(infinity*1px);color:var(${l.primaryForeground});font-size:75%;padding:0 .5em;position:absolute;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}[part=chip]:empty{border-radius:50%;font-size:100%;height:.5em;padding:0;width:.5em}[position^=top] [part=chip]{top:calc(var(${c}--offset-y))}[position$=right] [part=chip]{left:calc(100% - var(${c}--offset-x))}[position^=bottom] [part=chip]{top:calc(100% - var(${c}--offset-y))}[position$=left] [part=chip]{left:calc(var(${c}--offset-x))}`)],h);var m=h;export{h as Chip,m as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{icon as l}from\"@godown/element\";const o=l(\"0 0 256 256\")`<path fill=\"currentColor\" d=\"m213.66 101.66l-80 80a8 8 0 0 1-11.32 0l-80-80a8 8 0 0 1 11.32-11.32L128 164.69l74.34-74.35a8 8 0 0 1 11.32 11.32\">`;export{o as default};\n//# sourceMappingURL=caret-down.js.map\n","import{__decorate as e}from\"tslib\";import{property as o}from\"lit/decorators.js\";import{GlobalStyle as t}from\"./global-style.js\";class SuperOpenable extends t{constructor(){super(...arguments),this.open=!1}toggle(e=!this.open){this.open=e}close(){this.open=!1}show(){this.open=!0}updated(e){void 0!==e.get(\"open\")&&this.dispatchCustomEvent(\"change\",this.open)}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{SuperOpenable,SuperOpenable as default};\n//# sourceMappingURL=super-openable.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as o,attr as e,htmlSlot as r}from\"@godown/element\";import a from\"../../internal/icons/caret-down.js\";import{css as s,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as p}from\"../../internal/global-style.js\";import d from\"../../internal/super-openable.js\";const m=\"details\",c=p(m);let f=class Details extends d{constructor(){super(...arguments),this.float=!1,this.fill=!1,this.summary=\"\"}render(){return l`<dl part=\"root\" ${e(this.observedRecord)}> <dt part=\"title\" @click=\"${()=>this.toggle()}\"> <span part=\"summary\">${this.summary||r(\"summary\")}</span> <span part=\"icon\">${a()}</span> </dt> <dd part=\"details\" @click=${this.fill?()=>this.toggle():null}> <div style=\"min-height: 0;\">${r()}</div> </dd> </dl>`}};t([n({type:Boolean})],f.prototype,\"float\",void 0),t([n({type:Boolean})],f.prototype,\"fill\",void 0),t([n()],f.prototype,\"summary\",void 0),f=t([i(m),o(s`:host{${c}--icon-deg-open:0deg;${c}--icon-deg-close:90deg;display:block;padding:.2em;transition:.3s}[part=root]{position:relative}[part=title]{align-items:center;direction:ltr;grid-template-columns:auto auto;height:100%;justify-content:space-between}[part=details],[part=title]{display:grid;overflow:hidden;transition:inherit}[part=details]{grid-template-rows:0fr}:host([open]) [part=details]{grid-template-rows:1fr}[float] [part=details]{position:absolute;top:100%;width:100%}[part]{transition:inherit;transition-property:transform,grid-template-rows}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;transform:rotate(var(${c}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${c}--icon-deg-open))}`)],f);var g=f;export{f as Details,g as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as i,htmlSlot as s}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as d,query as l}from\"lit/decorators.js\";import{scopePrefix as r}from\"../../internal/global-style.js\";import h from\"../../internal/super-openable.js\";const m=\"dialog\",p=r(m),c=/[\\s,]+/;let u=class Dialog extends h{constructor(){super(...arguments),this.key=\"Escape\",this.__modalInvoke=!1}set modal(t){this.contents=t}get modal(){return this.contents}render(){return a`<dialog part=\"root\" ${i(this.observedRecord)}> ${s()} </dialog>`}showModal(){this.modal=!0,this.__modalInvoke=!0,this.show()}attributeChangedCallback(t,o,e){super.attributeChangedCallback(t,o,e),\"open\"===t&&(this.open?this.modal?this._dialog.showModal():this._dialog.show():this._dialog.close())}updated(t){t.has(\"open\")&&(this.open?(this.__submitEvent=this.events.add(this,\"submit\",this._handelSubmit),this.key&&(this.__keydownEvent=this.events.add(document,\"keydown\",this._handleKeydown.bind(this)))):(this.events.remove(this,\"submit\",this.__submitEvent),this.events.remove(document,\"keydown\",this.__keydownEvent)))}_handleKeydown(t){const o=this.key.split(c);(o.includes(t.key)||o.includes(t.code))&&(t.preventDefault(),this.close())}_handelSubmit(t){\"dialog\"===t.target.method&&(t.preventDefault(),this.close())}close(){this.__modalInvoke&&(this.modal=!1,this.__modalInvoke=!1),this.open=!1}};t([d({type:Boolean,reflect:!0})],u.prototype,\"modal\",null),t([d()],u.prototype,\"key\",void 0),t([l(\"dialog\")],u.prototype,\"_dialog\",void 0),u=t([o(m),e(n`:host{${p}--background-modal:#000;${p}--opacity-modal:0.2;background:none;display:block;left:50%;margin:auto;position:fixed;top:50%;transform:translate(-50%,-50%);width:-moz-fit-content;width:fit-content}:host(:not([open])){visibility:hidden}:host([contents]) dialog{position:fixed}dialog{background:inherit;position:relative}::backdrop{background:var(${p}--background-modal);opacity:var(${p}--opacity-modal)}`)],u);var g=u;export{u as Dialog,g as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as r}from\"tslib\";import{godown as t,styles as o}from\"@godown/element\";import{css as e,html as i}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as s,GlobalStyle as a}from\"../../internal/global-style.js\";let d=class Divider extends a{constructor(){super(...arguments),this.vertical=!1}render(){return i`<div part=\"root\"></div>`}};r([l({type:Boolean,reflect:!0})],d.prototype,\"vertical\",void 0),d=r([t(\"divider\"),o(e`:host{background:currentColor;color:var(${s.passive});display:block;height:.05em;width:100%}:host([vertical]){height:100%;width:.05em}`)],d);var m=d;export{d as Divider,m as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,attr as o,htmlSlot as i}from\"@godown/element\";import{css as n,html as h}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as r}from\"../../internal/global-style.js\";let a=class Dragbox extends r{constructor(){super(...arguments),this.__drag=!1}get _offsetParent(){return this.offsetParent??document.body}render(){return h`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\"> ${i()} </div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__x=t.x,this.__y=t.y;const e=this._offsetParent.getBoundingClientRect(),s=this.getBoundingClientRect();this.__t=s.top-e.top,this.__l=s.left-e.left,this.__drag=!0,this.__handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this.__handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this)),this.__handleMouseUp=this.events.add(document,\"mouseup\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this.__handleMouseMove),this.events.remove(document,\"mouseleave\",this.__handleMouseLeave),this.events.remove(document,\"mouseup\",this.__handleMouseUp)}_handleDrag(t){if(!this.__drag)return;const{__x:e,__y:s,__l:o,__t:i,style:n}=this,{height:h,width:d}=this._offsetParent.getBoundingClientRect(),{width:r,height:a}=this.getBoundingClientRect(),_=t.x-(e-o),l=t.y-(s-i);n.left=_<0?\"0\":_<d-r?`${_}px`:d-r+\"px\",n.top=l<0?\"0\":l<h-a?`${l}px`:h-a+\"px\"}reset(){const{x:t,y:e,style:s,offsetWidth:o,offsetHeight:i,offsetLeft:n,offsetTop:h}=this,{height:d,width:r}=this._offsetParent.getBoundingClientRect();s.left=t||\"0\",s.top=e||\"0\",n>r-o&&(s.left=r-o+\"px\"),h>d-i&&(s.top=d-i+\"px\")}};t([d()],a.prototype,\"x\",void 0),t([d()],a.prototype,\"y\",void 0),a=t([e(\"dragbox\"),s(n`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],a);var _=a;export{a as Dragbox,_ as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i,htmlStyle as l,joinRules as s}from\"@godown/element\";import{css as p,html as n}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../../internal/global-style.js\";let f=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return n`<div part=\"root\" ${r(this.observedRecord)}> ${[i(),l(s({\":host\":{gap:this.gap,\"flex-flow\":this.flexFlow,\"flex-direction\":this.vertical&&\"column\",\"align-items\":this.items,\"justify-content\":this.content}}))]} </div>`}};t([a({attribute:\"flex-flow\"})],f.prototype,\"flexFlow\",void 0),t([a()],f.prototype,\"gap\",void 0),t([a()],f.prototype,\"content\",void 0),t([a()],f.prototype,\"items\",void 0),t([a({type:Boolean})],f.prototype,\"vertical\",void 0),f=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],f);var c=f;export{f as Flex,c as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as a}from\"@godown/element\";import{css as o}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../../internal/global-style.js\";var i;let n=i=class Form extends l{constructor(){super(...arguments),this.name=\"\",this.nameValue=this.namevalue}get value(){return i.buildValue(this._slot.assignedElements())}render(){return a()}reset(){this.deepQuerySelectorAll(\"*\").forEach((e=>{e.tagName!==this.tagName&&e.reset&&e.reset()}))}namevalue(){return[this.name,this.value]}static buildValue(e){const t={};for(const s of e)if(\"FORM\"===s.tagName)Object.assign(t,Object.fromEntries(new FormData(s).entries()));else if(s.namevalue){const[e,a]=s.namevalue();e&&(t[e]=a)}else if(s.name&&void 0!==s.value)t[s.name]=s.value;else if(s.shadowRoot)for(const e of s.shadowRoot.querySelectorAll(\"slot\"))Object.assign(t,this.buildValue(e.assignedElements()));return t}};e([r()],n.prototype,\"name\",void 0),n=i=e([t(\"form\"),s(o`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as s,htmlStyle as i,joinRules as p,isNumerical as d}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{GlobalStyle as m}from\"../../internal/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends m{render(){return a`<div part=\"root\" ${e(this.observedRecord)}> ${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]} </div>`}};t([l()],g.prototype,\"gap\",void 0),t([l()],g.prototype,\"columns\",void 0),t([l()],g.prototype,\"rows\",void 0),t([l()],g.prototype,\"content\",void 0),t([l()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(n`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g as Grid,h as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../../internal/global-style.js\";var l;const c=\"field\",d=\"slotted\",u=\"united\";let m=l=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case c:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),l.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],subtree:!0}),this.collectSlottedRoutes())}disconnectedCallback(){super.disconnectedCallback(),l.routerInstances.delete(this)}useRouter(){return{pathname:this.pathname,params:this.params,path:this.path,component:this.component}}updated(t){if(t.has(\"pathname\")||t.has(\"path\")){const t=this.useRouter();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchCustomEvent(\"change\",t)}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=l=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as r,attr as o,htmlSlot as s}from\"@godown/element\";import{property as a}from\"lit/decorators.js\";import i from\"../router/component.js\";import{css as h,nothing as p,html as n}from\"lit\";import{GlobalStyle as l}from\"../../internal/global-style.js\";const c=\"push\",d=\"replace\",f=\"normal\",u=\"auto\";let m=class Link extends l{constructor(){super(...arguments),this.type=u,this.suppress=!1,this.replace=!1,this.target=\"_self\",this.state={},this.handleState=()=>{switch(this.type){case u:case c:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case d:history.replaceState(this.state,\"\",this.href)}}}get pathname(){return new URL(this.href,location.href).pathname}_handleClick(t){const{state:e,type:r,href:o,pathname:s,suppress:a}=this;if(!o)return;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:s,state:e}),o.startsWith(\"#\")||r===f)return;this.handleState();const h=[...i.routerInstances];a||r===u&&!h.some((t=>t.search(location.pathname)))||(t.preventDefault(),i.routerInstances.forEach((t=>{t.handlePopstate()})))}render(){return n`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||p}\" target=\"${this.target}\" @click=${this._handleClick}> ${s()} </a>`}};t([a()],m.prototype,\"type\",void 0),t([a({type:Boolean})],m.prototype,\"suppress\",void 0),t([a({type:Boolean})],m.prototype,\"replace\",void 0),t([a()],m.prototype,\"href\",void 0),t([a()],m.prototype,\"target\",void 0),m=t([e(\"link\"),r(h`:host{color:currentColor;cursor:default;display:inline-block}:host([href]){cursor:pointer}a{color:currentColor;display:contents}`)],m);var y=m;export{m as Link,y as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,htmlSlot as i,tokenList as h}from\"@godown/element\";import{css as o,nothing as a,html as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import p from\"../link/component.js\";let c=class Heading extends p{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){const t=this.href||(this.id?\"#\"+this.id:void 0);return s`<a part=\"root\" href=\"${t||a}\"> ${this.wrapHeading(i(),t?s`<i part=\"${h(\"anchor\",this.side)}\">${this.anchor}</i>`:\"\")} </a>`}wrapHeading(...t){switch(this.as){case\"h2\":return s`<h2>${t}</h2>`;case\"h3\":return s`<h3>${t}</h3>`;case\"h4\":return s`<h4>${t}</h4>`;case\"h5\":return s`<h5>${t}</h5>`;case\"h6\":return s`<h6>${t}</h6>`;default:return s`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(o`:host{display:block;text-align:start}[part~=anchor]{min-width:1.25em;position:absolute;right:100%;text-align:center}[part~=left][part~=anchor]{right:100%}[part~=right][part~=anchor]{left:100%}h1,h2,h3,h4,h5,h6{font-size:revert;position:relative;width:-moz-fit-content;width:fit-content}`)],c);var d=c;export{c as Heading,d as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{icon as a}from\"@godown/element\";const l=a(\"0 0 256 256\")`<path fill=\"currentColor\" d=\"M53.92 34.62a8 8 0 1 0-11.84 10.76l19.24 21.17C25 88.84 9.38 123.2 8.69 124.76a8 8 0 0 0 0 6.5c.35.79 8.82 19.57 27.65 38.4C61.43 194.74 93.12 208 128 208a127.1 127.1 0 0 0 52.07-10.83l22 24.21a8 8 0 1 0 11.84-10.76Zm47.33 75.84l41.67 45.85a32 32 0 0 1-41.67-45.85M128 192c-30.78 0-57.67-11.19-79.93-33.25A133.2 133.2 0 0 1 25 128c4.69-8.79 19.66-33.39 47.35-49.38l18 19.75a48 48 0 0 0 63.66 70l14.73 16.2A112 112 0 0 1 128 192m6-95.43a8 8 0 0 1 3-15.72a48.16 48.16 0 0 1 38.77 42.64a8 8 0 0 1-7.22 8.71a6 6 0 0 1-.75 0a8 8 0 0 1-8-7.26A32.09 32.09 0 0 0 134 96.57m113.28 34.69c-.42.94-10.55 23.37-33.36 43.8a8 8 0 1 1-10.67-11.92a132.8 132.8 0 0 0 27.8-35.14a133.2 133.2 0 0 0-23.12-30.77C185.67 75.19 158.78 64 128 64a118.4 118.4 0 0 0-19.36 1.57A8 8 0 1 1 106 49.79A134 134 0 0 1 128 48c34.88 0 66.57 13.26 91.66 38.35c18.83 18.83 27.3 37.62 27.65 38.41a8 8 0 0 1 0 6.5Z\">`;export{l as default};\n//# sourceMappingURL=eye-slash.js.map\n","import{__decorate as t}from\"tslib\";import{queryPart as e,styles as i,omit as o,htmlSlot as s}from\"@godown/element\";import{css as r,html as n}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as p}from\"./global-style.js\";const u=r`:host([disabled]){cursor:not-allowed;filter:brightness(.85)}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let l=class SuperInput extends p{constructor(){super(...arguments),this.autofocus=!1,this.ringType=\"border\",this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return o(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}_handleChange(t){this.dispatchCustomEvent(\"change\",this.value)}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return n`<i part=\"prefix\">${s(\"prefix\")}</i>`}_renderSuffix(){return n`<i part=\"suffix\">${s(\"suffix\")}</i>`}};t([a()],l.prototype,\"autocomplete\",void 0),t([a({attribute:\"ring-type\"})],l.prototype,\"ringType\",void 0),t([a({type:Boolean,reflect:!0})],l.prototype,\"disabled\",void 0),t([a({reflect:!0})],l.prototype,\"type\",void 0),t([a({reflect:!0})],l.prototype,\"placeholder\",void 0),t([a({reflect:!0})],l.prototype,\"name\",void 0),t([a()],l.prototype,\"value\",void 0),t([a()],l.prototype,\"default\",void 0),t([e(\"input\")],l.prototype,\"_input\",void 0),l=t([i(u)],l);var d=l;export{l as SuperInput,d as default};\n//# sourceMappingURL=super-input.js.map\n","import{__decorate as t}from\"tslib\";import{queryPart as e,godown as i,styles as r,StyleController as o,attr as n}from\"@godown/element\";import a from\"../../internal/icons/eye-slash.js\";import{css as p,nothing as s,html as l}from\"lit\";import{property as u}from\"lit/decorators.js\";import{cssGlobalVars as c}from\"../../internal/global-style.js\";import{SuperInput as h}from\"../../internal/super-input.js\";import{RingBuilder as d}from\"../../internal/ring.js\";let f=class Input extends h{constructor(){super(),this.type=\"text\",this.variant=\"default\",new o(this,(()=>new d({type:this.ringType}).css+(\"outline\"===this.variant?`:host{${c.ringColor}:currentColor}`:\"\")))}render(){return l`<label part=\"root\" ${n(this.observedRecord)}> ${[this._renderPrefix(),l`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||s}\" autocomplete=\"${this.autocomplete||s}\" placeholder=\"${this.placeholder||s}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\"/>`,this._renderSuffix()]} </label>`}_renderSuffix(){const t=\"password\";return this.type===t?l`<i part=\"suffix icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\"> ${a()} </i>`:super._renderSuffix()}};t([u()],f.prototype,\"variant\",void 0),t([e(\"input\")],f.prototype,\"_input\",void 0),f=t([i(\"input\"),r(p`:host{display:block;${c.input}-space:0.2em;${c.input}-control:currentColor;${c.input}-icon-color:grey}:host(:active),:host(:focus-within){${c.ringColor}:var(${c.active});${c.input}-icon-color:currentColor}[part~=root]{align-items:center;border-radius:inherit;display:flex;height:inherit;padding:.4em .5em;position:relative}[part=input]{background:none;color:currentColor;flex-grow:1;height:100%;min-height:1.5em}[part~=icon]{align-items:center;color:var(${c.input}-icon-color);display:flex;justify-content:center}[part~=prefix],[part~=suffix]{display:flex;height:100%}[part~=suffix][part~=icon]{padding-inline-start:var(${c.input}-space)}[part~=prefix][part~=icon]{padding-inline-end:var(${c.input}-space)}`)],f);var m=f;export{f as Input,m as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../../internal/global-style.js\";let n=class Layout extends d{constructor(){super(...arguments),this.sticky=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}> <header part=\"header\">${i(\"header\")}</header> <main part=\"main\">${i()}</main> <footer part=\"footer\">${i(\"footer\")}</footer> </div>`}};t([p({type:Boolean})],n.prototype,\"sticky\",void 0),n=t([o(\"layout\"),r(a`:host{flex-direction:column;grid-template-rows:auto 1fr auto;min-height:100%;width:100%}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}[part=main]{flex:1;width:100%}[part=footer],[part=header]{flex-shrink:0;width:100%}[sticky] header{position:sticky;top:0}`)],n);var l=n;export{n as Layout,l as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNullable as o,Ranger as i,attr as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as d}from\"../../internal/global-style.js\";let m=class Progress extends d{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;if(!o(this.value)){const e=new i(this.min,this.max);r=(+this.value-this.min)/e.diff*100,t=\"static\"}return n`<div part=\"root\" ${s(this.observedRecord)} class=\"${t}\"> <i part=\"value\" style=\"width:${r}%;\"></i> </div>`}};t([l({type:Number})],m.prototype,\"max\",void 0),t([l({type:Number})],m.prototype,\"min\",void 0),t([l({type:Number})],m.prototype,\"value\",void 0),m=t([r(\"progress\"),e(a`:host{background:var(${p.passive});border-radius:.25em;color:var(${p.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;overflow:hidden;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],m);var u=m;export{m as Progress,u as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{queryPart as e,godown as r,styles as a,Ranger as o,omit as s,attr as i,joinDeclarations as n,loop as h,tokenList as l,isNullable as d}from\"@godown/element\";import{css as u,html as c}from\"lit\";import{property as v,queryAll as p,state as m}from\"lit/decorators.js\";import{scopePrefix as g,cssGlobalVars as f}from\"../../internal/global-style.js\";import{SuperInput as w}from\"../../internal/super-input.js\";const y=\"range\",_=g(y);let k=class Range extends w{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this.__focusStack=[]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,a=t-r.length;return a>0?new Array(a).fill(e).concat(r):r}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),\"max\"!==t&&\"min\"!==t&&\"step\"!==t||(this._ranger=new o(this.min,this.max,this.step))}get observedRecord(){return s(super.observedRecord,\"ring-type\")}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return c`<div part=\"root\" ${i(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${n([[\"--from\",(e-this.min)/a*100+\"%\"],[\"--to\",(r-this.min)/a*100+\"%\"],...t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))])}\"> <div part=\"track\"></div> ${h(this.rangeValue.length,(t=>this._renderHandle(t)))} </div>`}_renderHandle(t){const{disabled:e,range:r,rangeValue:a}=this,o=!r||r&&t===a.length-1&&1===a.length;return c`<i tabindex=\"0\" part=\"${l(\"handle\",`handle-${t}`)}\" @mousedown=\"${e?null:this.createMouseDown(t)}\" style=\"${n({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${o?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t)))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent)}createKeydownEvent(t){return e=>{const{rangeValue:r,step:a}=this;r.length<2&&(t=0);const o=r[t];\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)(o-a)):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)(o+a))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchCustomEvent(\"change\",this.value)}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:o,width:s}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/o:(t-a)/s)}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,a)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?a:t),0):0,a=this.createSetValue(r);a(e),this.createMousedownListener(a)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const a=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",a)};this.events.add(document,\"mouseup\",a)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r===this._ranger.restrict(r)&&t?.call(this,r)}}_connectedInit(){this._ranger=new o(this.min,this.max,this.step);const t=this._ranger.diff;this.step||=t/100,d(this.value)&&(d(this.default)?this.value=Math.round(t/2/this.step)*this.step:this.value=this.default),this.default??=this.value}reset(){this.value=this.default}sort(){return this.value=this.toSorted()}toSorted(){return this.range?[...this.value].sort(((t,e)=>t-e)):this.value}};t([v({type:Number})],k.prototype,\"min\",void 0),t([v({type:Number})],k.prototype,\"max\",void 0),t([v({type:Number})],k.prototype,\"step\",void 0),t([v({type:Boolean,reflect:!0})],k.prototype,\"vertical\",void 0),t([v({type:Array})],k.prototype,\"value\",void 0),t([v({type:Array})],k.prototype,\"default\",void 0),t([e(\"root\")],k.prototype,\"_root\",void 0),t([p(\"[part=handle]\")],k.prototype,\"_handles\",void 0),t([m()],k.prototype,\"lastFocus\",void 0),k=t([r(y),a(u`:host{${_}--track-width:.5em;${_}--handle-scale:1;${_}--track-background:var(${f.active});background:var(${f.passive});display:block;height:var(${_}--track-width);width:100%}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:100%;width:-moz-fit-content;width:fit-content}[part=root]{position:relative;--from:0%;--to:50%}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${_}--track-background);height:100%;justify-content:space-between;left:min(var(--from),var(--to));pointer-events:none;width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=track],[part~=handle]{display:flex;position:absolute}[part~=handle]{align-items:center;background:var(${f.background});border:.1em solid;border-radius:50%;height:1em;justify-content:center;outline:0;transform:scale(var(${_}--handle-scale)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,u`[vertical]{height:inherit;width:var(${_}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,u`[part~=handle]{left:var(--handle);top:0}[vertical] [part~=handle]{left:0;top:var(--handle)}`)],k);var b=k;export{k as Range,b as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{queryPart as o,godown as e,styles as r,htmlSlot as i}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{scopePrefix as a,GlobalStyle as l}from\"../../internal/global-style.js\";const d=\"rotate\",p=a(d);let m=class Rotate extends l{render(){return n`<div part=\"root\"> <div part=\"slot\" @mousemove=\"${this._handleRotate}\"> ${i()} </div> <i @mouseleave=\"${this.reset}\"></i> </div>`}reset(){this._root.style.removeProperty(\"transform\"),this._root.style.removeProperty(\"transition\")}_handleRotate(t){const{rotateX:o,rotateY:e}=this._computeOffset(t);this._root.style.setProperty(\"transform\",`rotateX(${o}rad) rotateY(${e}rad)`),this._root.style.setProperty(\"transition\",\"0s\")}_computeOffset(t){const{left:o,top:e,width:r,height:i}=this._root.getBoundingClientRect(),{clientX:s,clientY:n}=t;return{rotateX:-(n-e-i/2)/i/2,rotateY:(s-o-r/2)/r/2}}};t([o(\"root\")],m.prototype,\"_root\",void 0),m=t([e(d),r(s`:host{display:block;transition:all .5s ease-in-out;width:-moz-fit-content;width:fit-content;${p}--padding:.75em;${p}--offset:.5em}div{position:relative;transition:inherit;transition-property:transform}i{box-sizing:content-box;height:100%;margin:calc(var(${p}--offset)*-1);padding:var(${p}--offset);position:absolute;top:0;width:100%}[part=slot]{z-index:2}`)],m);var f=m;export{m as Rotate,f as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{unsafeCSS as t,css as i}from\"lit\";const o=t(\"[direction-inset-align]\"),e=i`[direction^=top] ${o}{top:0}[direction^=bottom] ${o}{bottom:0}[direction$=right] ${o}{right:0}[direction$=left] ${o}{left:0}`,r=t(\"[direction-outset-place]\"),n=i`[direction^=top] ${r}{bottom:100%}[direction^=bottom] ${r}{top:100%}[direction$=right] ${r}{left:100%}[direction$=left] ${r}{right:100%}`;export{e as directionInsetAlign,n as directionOutsetPlace};\n//# sourceMappingURL=direction.js.map\n","import{__decorate as t}from\"tslib\";import{queryPart as e,godown as i,styles as o,attr as s,htmlSlot as n}from\"@godown/element\";import l from\"../../internal/icons/caret-down.js\";import{css as r,nothing as h,html as a}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"../input/component.js\";import{cssGlobalVars as d}from\"../../internal/global-style.js\";import{directionOutsetPlace as f}from\"../../internal/direction.js\";function v(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function m(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let b=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}get observedRecord(){return{...super.observedRecord,direction:this.direction||this.autoDirection}}render(){return a`<label part=\"root\" ${s(this.observedRecord)}> ${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\"/>`,this._renderSuffix(),a`<label part=\"content\" direction-outset-place> ${n()} </label>`]} </label>`}_renderSuffix(){return a`<i part=\"suffix icon\">${l()}</i>`}_handleFocus(){if(!this.direction){const{top:t,bottom:e}=this.getBoundingClientRect();window.innerHeight-e<this._content.clientHeight&&t>this._content.clientHeight?this.autoDirection=\"top\":this.autoDirection=\"bottom\"}this.visible=!0}firstUpdated(){this.events.add(this._content,\"click\",(t=>{t.preventDefault(),t.stopPropagation();const{target:e}=t,i=this.optionValue(e);if(i){const t=this.select(i,e.textContent);this.multiple||m(this.lastChecked,0),m(e,t),this.lastChecked=e}this._input.focus()})),this.events.add(document,\"click\",(t=>{t.stopPropagation();const e=t.composedPath()[0];e&&!this.shadowRoot.contains(e)&&this.blur()}))}_connectedInit(){if(!this.value){const t=[...this.querySelectorAll(\"[checked]\")];(this.multiple?t:t.length?[this.lastChecked=t[0]]:[]).forEach((t=>{m(t,this.select(this.optionValue(t),t.textContent))})),this.default=this.value,this.defaultText=this.text,this.defaultChecked=t}this.text||(this.text=\"\")}reset(){this.value=this.default,this.text=this.defaultText,this.querySelectorAll(\"[checked]\").forEach((t=>m(t,0))),this.defaultChecked.forEach((t=>m(t,1)))}select(t,e){e||=t,e=e.trim();let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchCustomEvent(\"select\",this.value),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||v(this.optionValue(e),t)||v(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0})}focus(t){this._input.focus(t),this.visible=!0}blur(){this._input.blur(),this.visible=!1,super.blur()}optionValue(t){return t.value||t.getAttribute(\"value\")||\"\"}};t([c()],b.prototype,\"text\",void 0),t([e(\"content\")],b.prototype,\"_content\",void 0),t([c()],b.prototype,\"direction\",void 0),t([c({type:Boolean})],b.prototype,\"multiple\",void 0),t([c({type:Boolean})],b.prototype,\"visible\",void 0),t([u()],b.prototype,\"autoDirection\",void 0),b=t([i(\"select\"),o(f,r`.outline,:host(:focus-within){${d.input}-outline-color:currentColor}[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[visible] [part=content]{visibility:visible}`)],b);var _=b;export{b as Select,_ as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as t,htmlSlot as n}from\"@godown/element\";import{css as i,html as e}from\"lit\";import{state as a}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as d,GlobalStyle as l}from\"../../internal/global-style.js\";const g=\"skeleton\",m=s(g);let p=class Skeleton extends l{constructor(){super(...arguments),this.loading=!0}render(){return this.loading?e`<div part=\"root\">${n(\"loading\")}</div>`:n()}};o([a()],p.prototype,\"loading\",void 0),p=o([r(g),t(i`:host{${m}--from:var(${d.background});${m}--to:var(${d.passive});${m}--deg:95deg;${m}--duration:2s;animation:_ var(${m}--duration) ease-in-out infinite none running;background-color:transparent;background-image:linear-gradient(var(${m}--deg),var(${m}--from) 36%,var(${m}--to) 50%,var(${m}--from) 64%);background-size:200% 100%;flex-shrink:0;min-height:1.5em;overflow:hidden;width:100%}@keyframes _{0%{background-position:150%}to{background-position:-50%}}[part=root]{display:contents}:host,:host([contents]) [part=root]{display:block}`)],p);var c=p;export{p as Skeleton,c as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,StyleController as r,omit as n,attr as s,loop as u,tokenList as l}from\"@godown/element\";import{css as o,html as a}from\"lit\";import{property as c,state as h}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as d}from\"../../internal/global-style.js\";import{SuperInput as f}from\"../../internal/super-input.js\";import{RingBuilder as b}from\"../../internal/ring.js\";const v=\"split\",m=p(v);let g=class Split extends f{constructor(){super(),this.len=6,this.index=-1,this.current=-1,this.currentValue=[],new r(this,(()=>new b({selector:\"[part=input-box]\",type:this.ringType}).css))}get observedRecord(){return n(super.observedRecord,\"ring-type\")}render(){return a`<div part=\"root\" ${s(this.observedRecord)}> ${u(this.len,(t=>a`<span part=\"input-box\" ring-type=\"${this.ringType}\" class=\"${l({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\"> ${this.currentValue[t]} </span>`))} <input part=\"input\" @blur=${this.blur} @input=\"${this._handleInput}\" @change=\"${this._handleChange}\" .value=\"${this.value.padStart(this.len,\" \")}\"/> </div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus()}blur(){this._input.blur(),this.current=-1,super.blur()}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([c({type:Number})],g.prototype,\"len\",void 0),t([c({type:Number})],g.prototype,\"index\",void 0),t([h()],g.prototype,\"current\",void 0),t([h()],g.prototype,\"currentValue\",void 0),g=t([e(v),i(o`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${m}--size:2em;${m}--gap:.25em}[part=root]{display:flex;gap:var(${m}--gap);justify-content:space-between;position:relative}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${m}--size);justify-content:center;width:var(${m}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus,[part=input-box]:active{${d.ringColor}:var(${d.active})}`)],g);var y=g;export{g as Split,y as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as a,omit as i,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as d}from\"../../internal/global-style.js\";import{SuperInput as l}from\"../../internal/super-input.js\";const c=\"switch\",p=h(c);let u=class Switch extends l{constructor(){super(...arguments),this.default=!1,this.value=!1}set checked(t){this.value=t}get checked(){return this.value}get observedRecord(){return i(super.observedRecord,\"ring-type\")}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"round\"> <input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.value}\" @change=\"${this._handleChange}\"/> <span part=\"handle\"></span> </div>`}reset(){this.value=this.default,this._input.checked=this.value}_connectedInit(){this.default?this.value=!0:this.value&&(this.value=!0,this.default=!0)}_handleChange(){const{checked:t}=this._input;this.value=t,this.dispatchCustomEvent(\"change\",this.value)}};t([n({type:Boolean})],u.prototype,\"default\",void 0),t([n({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),a(s`:host,:host([contents]) [part=root]{display:inline-block}:host{${p}-width:3em;${p}-height:calc(var(${p}-width)/2);${p}-handle-size:1.25em;${p}-handle-space:calc(var(${p}-width)/4 - var(${p}-handle-size)/2);background:var(${d.passive});border-radius:calc(var(${p}-height)/2);height:var(${p}-height);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom;width:var(${p}-width)}:host([checked]){background:var(${d.active})}[part=root]{position:relative}[part=handle],[part=root]{align-items:center;display:flex;transition:inherit}[part=handle]{background:var(${d.background});border-radius:100%;height:var(${p}-handle-size);justify-content:center;left:0;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%) translateX(var(${p}-handle-space));width:var(${p}-handle-size)}:host([checked]) [part=handle]{left:50%}[part=input]{height:100%;opacity:0;width:100%}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as v}from\"../../internal/global-style.js\";const d=\"text\",u=p(d);let b=class Text extends v{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\"> ${i()} </span>`}};o([c()],b.prototype,\"underline\",void 0),o([c({type:Boolean})],b.prototype,\"clip\",void 0),b=o([r(d),e(n`:host{${u}--color:currentColor;${u}--color-hover:currentColor;${u}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${u}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap}[part=root]:hover{color:var(${u}--color-hover,var(${u}--color))}[part=root]:active{color:var(${u}--color-active,var(${u}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.backgroundClip});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],b);var h=b;export{b as Text,h as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,StyleController as r,attr as o,tokenList as n,htmlSlot as s}from\"@godown/element\";import{scopePrefix as a,cssGlobalVars as d,GlobalStyle as p}from\"../../internal/global-style.js\";import{css as l,html as c}from\"lit\";import{property as h,queryAll as u}from\"lit/decorators.js\";import{RingBuilder as m}from\"../../internal/ring.js\";const v=\"tabs\",y=a(v),x=\"hover\";let b=class Tabs extends p{constructor(){super(),this.ringType=\"border\",this.useSlot=!1,this.index=0,new r(this,(()=>new m({type:this.ringType}).css))}render(){return c`<ul part=\"root\" ${o(this.observedRecord)} @mouseleave=\"${this._handleMouseLeave}\"> ${this.tabs?.map(((t,i)=>t||this.useSlot?c`<li part=\"${n(\"item\",{selected:this.index===i})}\" @mouseenter=${()=>{this.move(this._lastIndex,i),this._lastIndex=i}} @click=${()=>this.select(i)}> ${this.useSlot?s(t):t} <div part=\"indicator\"></div> </li>`:\"\"))} </ul>`}connectedCallback(){super.connectedCallback(),this._lastIndex=this.index}_handleMouseLeave(){const t=this._items[this._lastIndex];t&&t.part.remove(x),this._lastIndex=this.index}move(t,i){if(t===i)return;const{_items:e,_indicators:r}=this,o=e[i];if(!o)return;o.part.add(x);const n=e[t];if(!n)return;n.part.remove(x);const s=r[i],a=r[t];if(!s||!a)return;const d=a.getBoundingClientRect(),p=o.getBoundingClientRect(),l=d.x-p.x,c=d.y-p.y,h=d.width,{style:u}=s;u.transform=`translate3d(${l}px,${c}px,0)`,u.width=h+\"px\",u.transition=a.style.transition=\"none\",s.getBoundingClientRect(),u.width=u.transform=u.transition=a.style.transition=\"\"}select(t){const{index:i,tabs:e,_lastIndex:r,useSlot:o}=this;e&&i!==t&&t in e&&(this.dispatchCustomEvent(\"select\",t),this.move(r,t),this._lastIndex=t,i in e&&(e[i]||o)&&(this.index=t))}};t([h({attribute:\"ring-type\"})],b.prototype,\"ringType\",void 0),t([h({type:Boolean})],b.prototype,\"useSlot\",void 0),t([h({type:Array})],b.prototype,\"tabs\",void 0),t([h({type:Number})],b.prototype,\"index\",void 0),t([u(\"[part~=item]\")],b.prototype,\"_items\",void 0),t([u(\"[part=indicator]\")],b.prototype,\"_indicators\",void 0),b=t([i(v),e(l`:host{${y}--indicator-background:var(${d.passive});${y}--space:0.25em;border-radius:var(${d.radius});cursor:default;display:flex;padding:.2em;transition:.3s ease-in-out;width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;display:flex;flex-direction:inherit;gap:var(${y}--space);overflow-x:clip;position:relative;transition:inherit;transition-property:width,transform,opacity;z-index:1}[useslot] [part~=item]{padding:0}[part~=item]{display:block;padding:0 .25em;position:relative;white-space:nowrap}[part=indicator],[part~=item]{border-radius:inherit;transition:inherit;transition-property:inherit;width:100%}[part=indicator]{background:var(${y}--indicator-background);height:100%;inset:0;opacity:0;position:absolute;z-index:-1}[part~=selected]{background:var(${y}--indicator-background)}[part~=hover] [part=indicator],[part~=selected] [part=indicator]{opacity:1}`)],b);var g=b;export{b as Tabs,g as default};\n//# sourceMappingURL=component.js.map\n","function formatNumber(n, max = 2) {\n return n.toString().padStart(max, \"0\").split(\"\");\n}\nexport function format(fmt, time = new Date(), escape = \"%\") {\n var _a;\n if (!fmt) {\n return fmt;\n }\n if (isNaN(time.getTime())) {\n return undefined;\n }\n const replaced = `${escape}${escape}`;\n const rest = [];\n fmt = fmt.replace(new RegExp(`${escape}([ZYMDhmsS${escape}])`, \"g\"), (_, p1) => {\n rest.push(p1);\n return replaced;\n });\n const z = time.getTimezoneOffset() / -60;\n const switcher = {\n Z: [z >= 0 ? \"+\" + z.toString() : z.toString()],\n Y: time.getFullYear().toString().split(\"\"),\n M: formatNumber(time.getMonth() + 1),\n D: formatNumber(time.getDate()),\n h: formatNumber(time.getHours()),\n m: formatNumber(time.getMinutes()),\n s: formatNumber(time.getSeconds()),\n S: formatNumber(time.getMilliseconds(), 3),\n };\n const result = [];\n for (const f of fmt.split(\"\").reverse()) {\n const s = (_a = switcher[f]) === null || _a === void 0 ? void 0 : _a.pop();\n if (s) {\n result.push(s);\n }\n else {\n result.push(f);\n }\n }\n return result\n .reverse()\n .join(\"\")\n .replace(new RegExp(replaced, \"g\"), () => rest.shift());\n}\nexport default format;\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../../internal/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${o(this.observedRecord)}> ${s(this.format,this.time,this.escape)} </span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchCustomEvent(\"time\",this.time),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),i(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=component.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as a}from\"../../internal/global-style.js\";import l from\"../../internal/super-openable.js\";import{directionOutsetPlace as d}from\"../../internal/direction.js\";var h;const c=\"tooltip\",f=a(c);let u=h=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=h.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return s`<div part=\"root\" ${o(this.observedRecord)} tabindex=\"${i?0:-1}\" @focus=\"${i?()=>this.open=!0:null}\" @blur=\"${i?()=>this.open=!1:null}\" @mouseenter=\"${i?null:()=>this.open=!0}\" @mouseleave=\"${i?null:()=>this.open=!1}\" style=\"justify-content:${t};align-items:${t}\"> ${n()} <div part=\"tip\" direction-outset-place> ${this.tip?s`<span class=\"passive\">${this.tip}</span>`:n(\"tip\")} </div> </div>`}};u.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([p()],u.prototype,\"tip\",void 0),t([p()],u.prototype,\"direction\",void 0),t([p()],u.prototype,\"align\",void 0),t([p({type:Boolean})],u.prototype,\"propagation\",void 0),t([p()],u.prototype,\"type\",void 0),u=h=t([i(c),e(d,r`:host{${f}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{border-radius:inherit;position:relative;transition:inherit}[part=tip]{height:-moz-fit-content;height:fit-content;position:absolute;transition:inherit;-webkit-user-select:none;user-select:none;visibility:hidden;width:-moz-fit-content;width:fit-content}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${f}--tip-background)}[propagation] [part=tip]{pointer-events:none}`)],u);var v=u;export{u as Tooltip,v as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,Ranger as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as a,state as h,query as l}from\"lit/decorators.js\";import{scopePrefix as p,GlobalStyle as c}from\"../../internal/global-style.js\";const m=\"typewriter\",y=p(m);let u=class Typewriter extends c{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${o(this.observedRecord)}> ${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i> </div>`}connectedCallback(){super.connectedCallback(),this._ranger=new r(this.min,this.max)}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchCustomEvent(this.index===this.len?\"done\":\"write\",this.contentInternal)}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||this._ranger.random();this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([a()],u.prototype,\"content\",void 0),t([a({type:Boolean})],u.prototype,\"ended\",void 0),t([a({type:Number})],u.prototype,\"max\",void 0),t([a({type:Number})],u.prototype,\"min\",void 0),t([a({type:Number})],u.prototype,\"delay\",void 0),t([a({type:Number})],u.prototype,\"index\",void 0),t([h()],u.prototype,\"contentInternal\",void 0),t([l(\"i\")],u.prototype,\"_i\",void 0),u=t([e(m),i(s`:host{${y}--cursor-width:.05em}:host,:host([contents]) [part=root]{display:inline-block}i{animation:s 1.5s steps(1) infinite;border-right:var(${y}--cursor-width) solid;margin-left:.02em}@keyframes s{0%{border-color:currentColor}50%{border-color:transparent}}slot{display:none}`)],u);var v=u;export{u as Typewriter,v as default};\n//# sourceMappingURL=component.js.map\n","import e from\"./component.js\";e.define();export{e as default};\n//# sourceMappingURL=definition.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNullable","value","isString","isObject","isArray","Array","omit","obj","keys","result","includes","toDash","s","_a","match","map","toLowerCase","splitWords","join","toEntries","o","e","entries","isCSSResult","isAcceptValue","joinRules","rules","properties","joinDeclarations","props","toVar","a","b","StyleController","constructor","host","computeStyle","this","addController","hostUpdated","sheets","shadowRoot","adoptedStyleSheets","undefined","styleID","splice","styleResult","push","style","sheet","CSSStyleSheet","replaceSync","styleSheet","toStyleSheet","styles","protoStyles","superClass","getPrototypeOf","godown","name","option","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","Symbol","WeakMap","n$5","n","_$cssResult$","Error","cssText","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$4","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","_$Eu","elementStyles","finalizeStyles","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","attachShadow","shadowRootOptions","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","createDocumentFragment","querySelectorAll","queryPart","partName","cache","query","pseudo","selectContain","i$2","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","combineToken","tokenList","args","reduce","acc","cur","updateAttribute","noAttribute","isNumber","isNaN","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","part","fn","PartType","element","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","html","nothing","htmlStyle","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","loop","len","index","deepQuerySelectorAll","selectors","root","Element","el","child","children","from","deepQuerySelector","Events","inner","src","listener","options","typeMap","elementSet","addEventListener","remove","removeEventListener","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","_","Ranger","endpoint1","endpoint2","step","max","Math","min","diff","random","normalize","present","decimal","restrict","round","infixed","startsWith","endsWith","RouteTree","matchType","MatchTypes","strict","insert","pattern","parts","split","spec","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","slice","Timeouts","clearTimeout","attributeName","property","withSelectorRegex","GodownElement","LitElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","v","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","trim","test","adoptStyles","lazy","events","observers","timeouts","assign","mount","arg","unmount","remount","stack","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","getName","whenDefined","upgrade","GlobalStyle","func","start","trimStartFunc","end","trimEndFunc","trimFunc","str","repeat","g","background","foreground","backgroundClip","primaryBackground","primaryForeground","muted","active","passive","input","radius","ringWidth","ringColor","selector","prefer","arr","condition","truecase","falsecase","supportsAtRule","ifSupports","light","dark","color","inset","outline","shadow","border","RingBuilder","m","Alert","ringType","title","content","alert","Avatar","_renderAvatar","_handleError","formatName","Button","plain","disabled","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","x","_root","sqrt","left","top","animationName","_modalRoot","once","Badge","$","Breath","getTexts","_renderText","_computeStyle","duration","Card","footer","header","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","insertBefore","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","Chip","position","dot","formatValue","SuperOpenable","open","toggle","close","Details","float","fill","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","_offsetParent","offsetParent","_handleDragStart","reset","__x","__y","__t","__l","__handleMouseMove","_handleDrag","__handleMouseLeave","_handleDragEnd","__handleMouseUp","offsetWidth","offsetHeight","offsetLeft","offsetTop","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","fromEntries","FormData","Grid","columns","rows","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","pathname","location","default","handlePopstate","window","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","collectSlottedRoutes","attributeFilter","subtree","useRouter","updateAll","Link","suppress","replace","handleState","history","pushState","href","replaceState","URL","_handleClick","some","Heading","as","anchor","side","id","wrapHeading","SuperInput","autofocus","compositing","makeId","defaultValue","_input","_handleInput","bubbles","_handleChange","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","Input","variant","autocapitalize","autocomplete","placeholder","Layout","sticky","Progress","k","Range","w","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","createMouseDown","indexOf","focusHandle","lastFocus","_handles","item","createKeydownEvent","blurHandle","createSetValue","createMousedownListener","_computeValue","clientX","clientY","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","unsafeCSS","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","clientHeight","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","loading","Split","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","_handleMouseLeave","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","tip","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","setTimeout","stop"],"mappings":";;;;;GAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAClD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAu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