godown 3.0.0 → 3.0.1

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 (246) hide show
  1. package/build/godown+lit.iife.js +12 -12
  2. package/build/godown+lit.iife.js.map +1 -1
  3. package/build/godown+lit.js +12 -12
  4. package/build/godown+lit.js.map +1 -1
  5. package/build/godown+lit.umd.js +12 -12
  6. package/build/godown+lit.umd.js.map +1 -1
  7. package/build/godown.iife.js +11 -11
  8. package/build/godown.js +11 -11
  9. package/build/godown.js.map +1 -1
  10. package/build/godown.umd.js +11 -11
  11. package/build/godown.umd.js.map +1 -1
  12. package/components/alert.d.ts.map +1 -1
  13. package/components/alert.js +1 -1
  14. package/components/alert.js.map +1 -1
  15. package/components/avatar.d.ts.map +1 -1
  16. package/components/avatar.js +1 -1
  17. package/components/avatar.js.map +1 -1
  18. package/components/badge.d.ts.map +1 -1
  19. package/components/badge.js +1 -1
  20. package/components/badge.js.map +1 -1
  21. package/components/breath.d.ts.map +1 -1
  22. package/components/breath.js +1 -1
  23. package/components/breath.js.map +1 -1
  24. package/components/button.d.ts.map +1 -1
  25. package/components/button.js +1 -1
  26. package/components/button.js.map +1 -1
  27. package/components/card.d.ts.map +1 -1
  28. package/components/card.js +1 -1
  29. package/components/card.js.map +1 -1
  30. package/components/carousel.d.ts.map +1 -1
  31. package/components/carousel.js +1 -1
  32. package/components/carousel.js.map +1 -1
  33. package/components/details.d.ts.map +1 -1
  34. package/components/details.js +1 -1
  35. package/components/details.js.map +1 -1
  36. package/components/dialog.d.ts.map +1 -1
  37. package/components/dialog.js +1 -1
  38. package/components/dialog.js.map +1 -1
  39. package/components/divider.d.ts.map +1 -1
  40. package/components/divider.js +1 -1
  41. package/components/divider.js.map +1 -1
  42. package/components/dragbox.d.ts.map +1 -1
  43. package/components/dragbox.js +1 -1
  44. package/components/dragbox.js.map +1 -1
  45. package/components/flex.d.ts.map +1 -1
  46. package/components/flex.js.map +1 -1
  47. package/components/form.d.ts.map +1 -1
  48. package/components/form.js.map +1 -1
  49. package/components/grid.d.ts.map +1 -1
  50. package/components/grid.js.map +1 -1
  51. package/components/heading.d.ts.map +1 -1
  52. package/components/heading.js +1 -1
  53. package/components/heading.js.map +1 -1
  54. package/components/input.d.ts.map +1 -1
  55. package/components/input.js +1 -1
  56. package/components/input.js.map +1 -1
  57. package/components/layout.d.ts.map +1 -1
  58. package/components/layout.js +1 -1
  59. package/components/layout.js.map +1 -1
  60. package/components/link.js.map +1 -1
  61. package/components/progress.d.ts.map +1 -1
  62. package/components/progress.js +1 -1
  63. package/components/progress.js.map +1 -1
  64. package/components/range.d.ts.map +1 -1
  65. package/components/range.js +1 -1
  66. package/components/range.js.map +1 -1
  67. package/components/rotate.d.ts.map +1 -1
  68. package/components/rotate.js +1 -1
  69. package/components/rotate.js.map +1 -1
  70. package/components/router.d.ts +20 -25
  71. package/components/router.d.ts.map +1 -1
  72. package/components/router.js +1 -1
  73. package/components/router.js.map +1 -1
  74. package/components/select.d.ts.map +1 -1
  75. package/components/select.js +1 -1
  76. package/components/select.js.map +1 -1
  77. package/components/skeleton.d.ts.map +1 -1
  78. package/components/skeleton.js +1 -1
  79. package/components/skeleton.js.map +1 -1
  80. package/components/split.d.ts.map +1 -1
  81. package/components/split.js +1 -1
  82. package/components/split.js.map +1 -1
  83. package/components/switch.d.ts.map +1 -1
  84. package/components/switch.js +1 -1
  85. package/components/switch.js.map +1 -1
  86. package/components/text.d.ts.map +1 -1
  87. package/components/text.js +1 -1
  88. package/components/text.js.map +1 -1
  89. package/components/time.d.ts.map +1 -1
  90. package/components/time.js.map +1 -1
  91. package/components/tooltip.d.ts.map +1 -1
  92. package/components/tooltip.js +1 -1
  93. package/components/tooltip.js.map +1 -1
  94. package/components/typewriter.d.ts.map +1 -1
  95. package/components/typewriter.js +1 -1
  96. package/components/typewriter.js.map +1 -1
  97. package/core/global-style.d.ts.map +1 -1
  98. package/core/global-style.js +1 -1
  99. package/core/global-style.js.map +1 -1
  100. package/core/super-anchor.d.ts.map +1 -1
  101. package/core/super-anchor.js +1 -1
  102. package/core/super-anchor.js.map +1 -1
  103. package/core/super-input.d.ts.map +1 -1
  104. package/core/super-input.js +1 -1
  105. package/core/super-input.js.map +1 -1
  106. package/core/super-openable.d.ts.map +1 -1
  107. package/core/super-openable.js.map +1 -1
  108. package/custom-elements.json +1 -1
  109. package/dev/components/alert.d.ts.map +1 -1
  110. package/dev/components/alert.js +82 -69
  111. package/dev/components/alert.js.map +1 -1
  112. package/dev/components/avatar.d.ts.map +1 -1
  113. package/dev/components/avatar.js +52 -36
  114. package/dev/components/avatar.js.map +1 -1
  115. package/dev/components/badge.d.ts.map +1 -1
  116. package/dev/components/badge.js +57 -50
  117. package/dev/components/badge.js.map +1 -1
  118. package/dev/components/breath.d.ts.map +1 -1
  119. package/dev/components/breath.js +20 -14
  120. package/dev/components/breath.js.map +1 -1
  121. package/dev/components/button.d.ts.map +1 -1
  122. package/dev/components/button.js +13 -10
  123. package/dev/components/button.js.map +1 -1
  124. package/dev/components/card.d.ts.map +1 -1
  125. package/dev/components/card.js +40 -35
  126. package/dev/components/card.js.map +1 -1
  127. package/dev/components/carousel.d.ts.map +1 -1
  128. package/dev/components/carousel.js +63 -43
  129. package/dev/components/carousel.js.map +1 -1
  130. package/dev/components/details.d.ts.map +1 -1
  131. package/dev/components/details.js +72 -61
  132. package/dev/components/details.js.map +1 -1
  133. package/dev/components/dialog.d.ts.map +1 -1
  134. package/dev/components/dialog.js +61 -57
  135. package/dev/components/dialog.js.map +1 -1
  136. package/dev/components/divider.d.ts.map +1 -1
  137. package/dev/components/divider.js +28 -23
  138. package/dev/components/divider.js.map +1 -1
  139. package/dev/components/dragbox.d.ts.map +1 -1
  140. package/dev/components/dragbox.js +19 -17
  141. package/dev/components/dragbox.js.map +1 -1
  142. package/dev/components/flex.d.ts.map +1 -1
  143. package/dev/components/flex.js +16 -11
  144. package/dev/components/flex.js.map +1 -1
  145. package/dev/components/form.d.ts.map +1 -1
  146. package/dev/components/form.js +4 -4
  147. package/dev/components/form.js.map +1 -1
  148. package/dev/components/grid.d.ts.map +1 -1
  149. package/dev/components/grid.js +16 -11
  150. package/dev/components/grid.js.map +1 -1
  151. package/dev/components/heading.d.ts.map +1 -1
  152. package/dev/components/heading.js +62 -40
  153. package/dev/components/heading.js.map +1 -1
  154. package/dev/components/input.d.ts.map +1 -1
  155. package/dev/components/input.js +32 -24
  156. package/dev/components/input.js.map +1 -1
  157. package/dev/components/layout.d.ts.map +1 -1
  158. package/dev/components/layout.js +43 -30
  159. package/dev/components/layout.js.map +1 -1
  160. package/dev/components/link.js +1 -1
  161. package/dev/components/link.js.map +1 -1
  162. package/dev/components/progress.d.ts.map +1 -1
  163. package/dev/components/progress.js +51 -42
  164. package/dev/components/progress.js.map +1 -1
  165. package/dev/components/range.d.ts.map +1 -1
  166. package/dev/components/range.js +33 -30
  167. package/dev/components/range.js.map +1 -1
  168. package/dev/components/rotate.d.ts.map +1 -1
  169. package/dev/components/rotate.js +12 -5
  170. package/dev/components/rotate.js.map +1 -1
  171. package/dev/components/router.d.ts +20 -25
  172. package/dev/components/router.d.ts.map +1 -1
  173. package/dev/components/router.js +17 -17
  174. package/dev/components/router.js.map +1 -1
  175. package/dev/components/select.d.ts.map +1 -1
  176. package/dev/components/select.js +65 -57
  177. package/dev/components/select.js.map +1 -1
  178. package/dev/components/skeleton.d.ts.map +1 -1
  179. package/dev/components/skeleton.js +65 -61
  180. package/dev/components/skeleton.js.map +1 -1
  181. package/dev/components/split.d.ts.map +1 -1
  182. package/dev/components/split.js +66 -58
  183. package/dev/components/split.js.map +1 -1
  184. package/dev/components/switch.d.ts.map +1 -1
  185. package/dev/components/switch.js +88 -79
  186. package/dev/components/switch.js.map +1 -1
  187. package/dev/components/text.d.ts.map +1 -1
  188. package/dev/components/text.js +51 -45
  189. package/dev/components/text.js.map +1 -1
  190. package/dev/components/time.d.ts.map +1 -1
  191. package/dev/components/time.js +13 -2
  192. package/dev/components/time.js.map +1 -1
  193. package/dev/components/tooltip.d.ts.map +1 -1
  194. package/dev/components/tooltip.js +31 -23
  195. package/dev/components/tooltip.js.map +1 -1
  196. package/dev/components/typewriter.d.ts.map +1 -1
  197. package/dev/components/typewriter.js +35 -27
  198. package/dev/components/typewriter.js.map +1 -1
  199. package/dev/core/global-style.d.ts.map +1 -1
  200. package/dev/core/global-style.js +9 -9
  201. package/dev/core/global-style.js.map +1 -1
  202. package/dev/core/super-anchor.d.ts.map +1 -1
  203. package/dev/core/super-anchor.js +27 -26
  204. package/dev/core/super-anchor.js.map +1 -1
  205. package/dev/core/super-input.d.ts.map +1 -1
  206. package/dev/core/super-input.js +83 -68
  207. package/dev/core/super-input.js.map +1 -1
  208. package/dev/core/super-openable.d.ts.map +1 -1
  209. package/dev/core/super-openable.js +1 -2
  210. package/dev/core/super-openable.js.map +1 -1
  211. package/package.json +5 -5
  212. package/src/components/alert.ts +84 -75
  213. package/src/components/avatar.ts +54 -40
  214. package/src/components/badge.ts +68 -65
  215. package/src/components/breath.ts +23 -19
  216. package/src/components/button.ts +14 -11
  217. package/src/components/card.ts +42 -40
  218. package/src/components/carousel.ts +65 -47
  219. package/src/components/details.ts +74 -65
  220. package/src/components/dialog.ts +64 -62
  221. package/src/components/divider.ts +33 -30
  222. package/src/components/dragbox.ts +22 -22
  223. package/src/components/flex.ts +31 -28
  224. package/src/components/form.ts +7 -9
  225. package/src/components/grid.ts +31 -28
  226. package/src/components/heading.ts +67 -49
  227. package/src/components/input.ts +37 -31
  228. package/src/components/layout.ts +45 -34
  229. package/src/components/link.ts +1 -1
  230. package/src/components/progress.ts +53 -46
  231. package/src/components/range.ts +58 -52
  232. package/src/components/rotate.ts +15 -10
  233. package/src/components/router.ts +40 -45
  234. package/src/components/select.ts +74 -70
  235. package/src/components/skeleton.ts +67 -65
  236. package/src/components/split.ts +73 -69
  237. package/src/components/switch.ts +90 -83
  238. package/src/components/text.ts +53 -49
  239. package/src/components/time.ts +14 -3
  240. package/src/components/tooltip.ts +32 -24
  241. package/src/components/typewriter.ts +37 -31
  242. package/src/core/global-style.ts +11 -12
  243. package/src/core/super-anchor.ts +29 -30
  244. package/src/core/super-input.ts +86 -73
  245. package/src/core/super-openable.ts +2 -8
  246. package/web-types.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"godown.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../element/tools/lib.js","../../element/config.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/class-list.js","../../element/directives/html-slot.js","../../element/tools/css.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/element.js","../../element/tools/route-tree.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.js","../../f7-icon/icons/xmark-circle.js","../../colors/presets-rgb.js","../core/global-style.js","../../colors/travel.js","../components/alert.js","../alert.js","../components/avatar.js","../avatar.js","../components/badge.js","../badge.js","../components/breath.js","../breath.js","../components/button.js","../button.js","../components/card.js","../card.js","../../f7-icon/icons/chevron-left.js","../../f7-icon/icons/chevron-right.js","../components/carousel.js","../carousel.js","../../f7-icon/icons/chevron-down.js","../core/super-openable.js","../components/details.js","../details.js","../components/dialog.js","../dialog.js","../components/divider.js","../divider.js","../components/dragbox.js","../dragbox.js","../components/flex.js","../components/form.js","../flex.js","../form.js","../components/grid.js","../grid.js","../components/heading.js","../heading.js","../../f7-icon/icons/eye-slash-fill.js","../core/super-input.js","../components/input.js","../input.js","../components/layout.js","../layout.js","../core/super-anchor.js","../components/router.js","../components/link.js","../link.js","../components/progress.js","../progress.js","../components/range.js","../range.js","../components/rotate.js","../components/select.js","../rotate.js","../router.js","../select.js","../../f7-icon/icons/photo.js","../components/skeleton.js","../skeleton.js","../components/split.js","../split.js","../components/switch.js","../switch.js","../components/text.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../text.js","../components/time.js","../components/tooltip.js","../time.js","../tooltip.js","../components/typewriter.js","../typewriter.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","/**\n * Returns true if the value is null or undefined.\n */\nexport const isNil = (value) => \n// eslint-disable-next-line eqeqeq\nvalue == null;\n/**\n * Returns true if the value is a number.\n */\nexport const isNumerical = (value) => !isNaN(+value);\n/**\n * Returns a random number between m and n.\n */\nexport const random = (m = 0, n = 1) => {\n const max = Math.max(m, n);\n const min = Math.min(m, n);\n return Math.random() * (max - min) + min;\n};\n/**\n * trimRight remove all characters from the right of a string that are present in a given string.\n */\nexport const trimRight = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let end = s.length;\n while (end > 0 && s.slice(end - spec.length, end) === spec) {\n end -= spec.length;\n }\n return s.slice(0, end);\n};\n/**\n * trimLeft remove all characters from the left of a string that are present in a given string.\n */\nexport const trimLeft = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let start = 0;\n while (start < s.length && s.slice(start, start + spec.length) === spec) {\n start += spec.length;\n }\n return s.slice(start);\n};\nexport const trim = (s, spec) => trimRight(trimLeft(s, spec), spec);\n/**\n * Construct a object with the properties of obj except for those in keys.\n */\nexport const omit = (obj, ...keys) => Object.keys(obj).reduce((acc, key) => {\n if (!keys.includes(key)) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * From obj, pick a set of properties whose keys are in keys.\n */\nexport const pick = (obj, ...keys) => keys.reduce((acc, key) => {\n if (key in obj) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n//# sourceMappingURL=lib.js.map","import { trim, trimLeft, trimRight } from \"./tools/lib.js\";\nconst separator = \"-\";\nclass 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 trim(trimRight(this.prefix, separator) + separator + origin + separator + trimLeft(this.suffix, separator), separator);\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 { GodownConfig, GodownConfig as default };\n//# sourceMappingURL=config.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 */\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 { 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 */\nexport const godown = (name, option) => (constructor) => {\n name ||= constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\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 */\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 */\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 { isNil } from \"../tools/lib.js\";\nexport const updateAttribute = (element, name, value) => {\n if (isNil(value) || value === false) {\n element.removeAttribute(name);\n }\n else if (value === true\n || typeof value === \"string\"\n || (typeof value === \"number\" && !isNaN(value))) {\n element.setAttribute(name, value === true ? \"\" : String(value));\n }\n};\nclass AttrDirective extends Directive {\n // eslint-disable-next-line\n render(value, caller) {\n }\n update(part, [value, caller]) {\n if (!value) {\n return noChange;\n }\n if (part.type === PartType.ELEMENT) {\n for (const name in value) {\n (caller || updateAttribute)(part.element, name, value[name]);\n }\n return noChange;\n }\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with attribute names and values.\n */\nexport const attr = directive(AttrDirective);\nconst append = (a, b) => a ? a + \" \" + b : b;\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (isNil(value) || value === false) {\n return acc;\n }\n return append(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","const append = (a, b) => a ? a + (b ? \" \" + b : \"\") : b;\n/**\n * Returns a string of space-separated class names based on the input arguments.\n */\nexport const classList = (...args) => args.reduce((acc, cur) => {\n if (Array.isArray(cur)) {\n return append(acc, cur.join(\" \"));\n }\n if (typeof cur === \"object\") {\n const s1 = Object.entries(cur).reduce((acc1, [key, value]) => {\n return value ? append(acc1, key) : acc1;\n }, \"\");\n return append(acc, s1);\n }\n return append(acc, cur);\n}, \"\");\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\nexport default classList;\n//# sourceMappingURL=class-list.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if undefined, no name attribute will be added.\n * @param slotChange Slot change event listener.\n */\nexport const htmlSlot = (name, slotChange) => html `<slot name=\"${name || nothing}\" @slotchange=${slotChange || null}></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isNil } from \"./lib.js\";\n/**\n * Call Object.values and join \"\".\n */\nexport function constructCSS(vars, props, selectorFunc, propertyFunc) {\n return Object.values(constructCSSObject(vars, props, selectorFunc, propertyFunc)).join(\"\");\n}\n/**\n * Create a CSS style object based on the provided variable name array and property object.\n * @param vars - Variable name array.\n * @param props - Property object containing style values for each variable.\n * @param selectorFunc Function to process selector.\n * @param propertyFunc Function to process property.\n * @return CSS style object with selectors as keys and corresponding styles as values.\n */\nexport function constructCSSObject(vars, props, selectorFunc, propertyFunc) {\n const cssObject = {};\n Object.keys(props).forEach((sel, index0) => {\n const rules = vars.reduce((acc, key, index) => {\n let value = props[sel][index];\n value = (propertyFunc ? propertyFunc(value, index) : value);\n if (!isNil(value)) {\n acc.push(`${key}:${value}`);\n }\n return acc;\n }, []);\n cssObject[sel] = `${selectorFunc ? selectorFunc(sel, index0) : sel}{${rules.join(\";\")}}`;\n });\n return cssObject;\n}\nexport function joinRules(rules) {\n return Object.keys(rules).reduce((css, key) => {\n const value = rules[key];\n if (!value) {\n return css;\n }\n const properties = (typeof value === \"string\") ? value : joinProperties(value);\n return properties ? css + `${key}{${properties}}` : css;\n }, \"\");\n}\nexport function joinProperties(props) {\n return Object.keys(props).reduce((css, key) => {\n const value = props[key];\n return isNil(value) ? css : css + `${key}:${value};`;\n }, \"\");\n}\nexport function toVar(a, b) {\n return a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\";\n}\n//# sourceMappingURL=css.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = typeof style === \"string\" ? 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 { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = typeof viewBox === \"string\" ? 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","export function deepQuerySelectorAll(selectors, root = document.body) {\n const result = [];\n if (!root || !selectors) {\n return result;\n }\n if (root.shadowRoot) {\n result.push(...deepQuerySelectorAll(selectors, root.shadowRoot));\n }\n const a = root.querySelectorAll(selectors);\n result.push(...Array.from(a));\n for (const child of root.children) {\n result.push(...deepQuerySelectorAll(selectors, child));\n }\n return [...new Set(result)];\n}\nexport function deepQuerySelector(selectors, root = document.body) {\n if (!root || !selectors) {\n return null;\n }\n if (root.shadowRoot) {\n return deepQuerySelector(selectors, root.shadowRoot);\n }\n const a = root.querySelector(selectors);\n if (a) {\n return a;\n }\n for (const child of root.children) {\n const b = deepQuerySelector(selectors, child);\n if (b) {\n return b;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.m = new Map();\n }\n add(src, type, listener, options) {\n const eType = this.m.get(type) || new Map();\n const eElem = eType.get(src) || new Set();\n eElem.add(listener);\n eType.set(src, eElem);\n this.m.set(type, eType);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (listener) {\n const eType = this.m.get(type);\n if (eType) {\n const eElem = eType.get(src);\n if (eElem) {\n eElem.delete(listener);\n if (!eElem.size) {\n eType.delete(src);\n if (!eType.size) {\n this.m.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n }\n removeAll() {\n this.m.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n this.m.delete(type);\n });\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport GodownConfig from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll } from \"./tools/dom.js\";\nimport { Events } from \"./tools/events.js\";\nclass GodownElement extends LitElement {\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 get observedRecord() {\n return Object.fromEntries(this.scopedObservedAttributes.map(key => [key, this[key]]));\n }\n /**\n * Returns observedAttributes excluding in GodownElement.\n */\n get scopedObservedAttributes() {\n return this.globalObservedAttributes.filter((key) => !GodownElement.observedAttributes.includes(key));\n }\n /**\n * Returns observedAttributes.\n */\n get globalObservedAttributes() {\n return this.constructor.observedAttributes;\n }\n /**\n * No named slot element.\n */\n get _slot() {\n return this.shadowRoot.querySelector(\"slot:not([name])\");\n }\n /**\n * All slot elements.\n */\n get _slotAll() {\n return [...this.shadowRoot.querySelectorAll(\"slot\")];\n }\n /**\n * Slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Named slotted elements' slot attribute.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\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 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 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 (!/^[\\s\\S]*{[\\s\\S]*}$/.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.__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 }\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 deepQuerySelector(selectors) {\n return deepQuerySelector(selectors, this);\n }\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll(selectors, this);\n }\n /**\n * Add styles to shadowRoot.\n *\n * @param styles CSS strings.\n * @returns Index of injected style.\n *\n * @example\n * ```\n * this.applyStyles(\n * \"...\",\n * css`...`,\n * )\n * ```\n */\n adoptStyles(...styles) {\n const stack = this.shadowRoot.adoptedStyleSheets;\n if (styles.length) {\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n }\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 { GodownElement, GodownElement as default };\n//# sourceMappingURL=element.js.map","import { trim } from \"./lib.js\";\nexport class RouteTree {\n constructor() {\n /**\n * Match type of the current part.\n */\n this.matchType = RouteTree.matchType.strict;\n this.children = [];\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 search(parts, height = 0) {\n if (typeof parts === \"string\") {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height\n || RouteTree.dynamic(this.part).matchType === RouteTree.matchType.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 * Returns 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, carry, matchType: m } = RouteTree.dynamic(part);\n if (m === RouteTree.matchType.single) {\n params[key.slice(carry)] = pathSplit[index];\n }\n else if (m === RouteTree.matchType.multi) {\n params[key.slice(carry)] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * @param key Pattern, may contains dynamic matching parameters.\n */\n static dynamic(key) {\n if (key) {\n if (key.startsWith(\"{\") && key.endsWith(\"}\")\n || key.startsWith(\"[\") && key.endsWith(\"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.matchType.single;\n return result;\n }\n if (key.length > 1) {\n const s1 = key[0];\n if (s1 === \":\") {\n return {\n key,\n carry: 1,\n matchType: RouteTree.matchType.single,\n };\n }\n if (s1 === \"*\") {\n return {\n key,\n carry: 1,\n matchType: RouteTree.matchType.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key,\n carry: 3,\n matchType: RouteTree.matchType.multi,\n };\n }\n }\n }\n return {\n key: key,\n carry: 0,\n matchType: RouteTree.matchType.strict,\n };\n }\n /**\n * Join paths with \"/\" and remove the leading and trailing \"/\".\n */\n static join(...paths) {\n return paths.map(path => trim(path, \"/\")).join(\"/\");\n }\n /**\n * Split a path by \"/\" and filter empty parts.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\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}\nRouteTree.matchType = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.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=\"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","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","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 e,joinProperties as t,GodownElement as n}from\"@godown/element\";import{unsafeCSS as s,css as a}from\"lit\";class GlobalStyle extends n{}const l=e(GlobalStyle.godownConfig.prefix,\"-\");function i(o,r=1){return c(l+\"-\".repeat(r)+o)}function c(o){return s(`--${o}`)}const g={foreground:i(\"foreground\",2),background:i(\"background\",2),clipBackground:i(\"clip-background\",2),active:i(\"active\",2),passive:i(\"passive\",2),_colors:{},input:i(\"input\",2),white:i(\"color-white\",2),black:i(\"color-black\",2)};GlobalStyle.styles=[s(`:host{${g.black}:rgb(0 0 0);${g.white}:rgb(255 255 255);`+r(((o,r,e)=>{g._colors[o]||=[],g._colors[o].push(s(i(\"color\",2)+\"-\"+o+\"-\"+r));const t=`-${o}-${r}`;return`${i(\"color\",2)+t}:rgb(${e});`}),o).join(\"\")+t({[g.background+\"\"]:`var(${g._colors.darkgray[9]})`,[g.foreground+\"\"]:`var(${g._colors.lightgray[0]})`,[g.active+\"\"]:`var(${g._colors.blue[6]})`,[g.passive+\"\"]:`var(${g._colors.darkgray[6]})`,[g.clipBackground+\"\"]:`linear-gradient(to bottom, var(${g.foreground}), var(${g.passive}))`})+\"}\"),a`*{border:0;outline:0;margin:0;padding:0;font-size:100%;font-style:normal;box-sizing:border-box}:host{box-sizing:border-box}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}:where(:host([contents]) [part=root]){all:inherit;display:revert}`];export{GlobalStyle,g as cssGlobalVars,i 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{constructCSSObject as r,toVar as t,godown as e,styles as i,htmlSlot as l,attr as c,htmlStyle as a}from\"@godown/element\";import n from\"@godown/f7-icon/icons/checkmark-alt-circle.js\";import s from\"@godown/f7-icon/icons/exclamationmark-circle.js\";import d from\"@godown/f7-icon/icons/info-circle.js\";import p from\"@godown/f7-icon/icons/lightbulb.js\";import g from\"@godown/f7-icon/icons/question-circle.js\";import h from\"@godown/f7-icon/icons/slash-circle.js\";import m from\"@godown/f7-icon/icons/xmark.js\";import u from\"@godown/f7-icon/icons/xmark-circle.js\";import{css as b,html as v}from\"lit\";import{property as y}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as w,GlobalStyle as k}from\"../core/global-style.js\";const $=\"alert\",_=f($),j=[\"color\",\"background\"].map((o=>`${_}--${o}`)),x=o=>[w._colors[o][5],w._colors[o][9]],q=r(j,{green:x(\"green\"),blue:x(\"blue\"),orange:x(\"orange\"),red:x(\"red\"),yellow:x(\"yellow\"),purple:x(\"purple\"),teal:x(\"teal\"),pink:x(\"pink\"),gray:[w._colors.lightgray[5],w._colors.darkgray[5]],white:[w._colors.lightgray[2],w._colors.darkgray[7]],black:[w._colors.darkgray[8],w._colors.lightgray[5]]},(()=>\":host\"),(o=>t(o))),C=o=>[w._colors[o][6],w._colors[o][0]],E=r(j,{green:C(\"green\"),blue:C(\"blue\"),orange:C(\"orange\"),red:C(\"red\"),yellow:C(\"yellow\"),purple:C(\"purple\"),teal:C(\"teal\"),pink:C(\"pink\"),gray:[w._colors.darkgray[5],w._colors.lightgray[7]],white:[w._colors.lightgray[0],w._colors.darkgray[0]],black:[w._colors.darkgray[7],w._colors.lightgray[3]]},(()=>\":host\"),(o=>t(o))),A={tip:{color:\"teal\",icon:p},success:{color:\"green\",icon:n},info:{color:\"blue\",icon:d},warning:{color:\"orange\",icon:s},danger:{color:\"red\",icon:u},error:{color:\"red\",icon:u},help:{color:\"purple\",icon:g},deprecated:{color:\"gray\",icon:h}};let B=class Alert extends k{constructor(){super(...arguments),this.color=\"blue\",this.autoclose=0,this.hideClose=!1,this.variant=\"dark\"}render(){const o=A[this.call]?.color||this.color,r=this.call?A[this.call].icon():l(\"icon\");return v`<div part=\"root\" ${c(this.observedRecord)}><div part=\"icon\">${r}</div><div part=\"content\"><strong part=\"title\">${this.title||l(\"title\")}</strong> ${this.content||l()}</div>${this.hideClose||\"blockquote\"===this.variant?\"\":v`<div part=\"close\" tabindex=\"0\" @click=\"${this.close}\">${m()}</div>`} ${a(\"light\"===this.variant?E[o]:q[o])}</div>`}close(){this.remove(),this.dispatchEvent(new CustomEvent(\"close\",{bubbles:!0,composed:!0}))}firstUpdated(){this.autoclose&&setTimeout((()=>this.close()),this.autoclose)}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([y()],B.prototype,\"call\",void 0),o([y()],B.prototype,\"color\",void 0),o([y({type:Number})],B.prototype,\"autoclose\",void 0),o([y()],B.prototype,\"title\",void 0),o([y()],B.prototype,\"content\",void 0),o([y({type:Boolean})],B.prototype,\"hideClose\",void 0),o([y()],B.prototype,\"variant\",void 0),B=o([e($),i(b`:host,:where(:host([contents]) [part=root]){border-radius:var(${_}--border-radius);${_}--border-radius:.25em;${_}--border-width:.075em;${_}--blockquote-width:.2em;${_}--padding:.5em;display:block;width:100%}[part=root]{--color:var(${_}--color);color:var(--color);width:100%;transition:.25s;display:flex;justify-content:space-between;padding:var(${_}--padding);border-radius:inherit;border:var(${_}--border-width) solid var(--color);background:var(${_}--background)}[variant=blockquote]{border-radius:0;border-left:var(${_}--blockquote-width) solid var(--color);border-bottom:none;border-right:none;border-top:none;background:0 0}[part=content]{color:var(--color)}[part=root]{display:grid;align-items:center;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}[part=title]{line-height:2em}[part=icon]{display:inline-grid;align-items:center;height:2em}[part=icon] svg{margin-right:.5em;width:1.25em;height:1.25em}[part=content]{grid-row:span 2/span 2;line-height:1.5em}`)],B);var N=B;export{B as Alert,N as default};\n//# sourceMappingURL=alert.js.map\n","import e from\"./components/alert.js\";export{Alert}from\"./components/alert.js\";e.define();export{e as default};\n//# sourceMappingURL=alert.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,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 h}from\"lit/decorators.js\";import{scopePrefix as d,GlobalStyle as p}from\"../core/global-style.js\";const l=\"avatar\",m=d(l);let c=class Avatar extends p{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}\" @error=\"${this._handleError}\" alt=\"${this.name}\">`:this.name?n`<span part=\"name\">${this.format()}</span>`:a()}format(){return this.name}_handleError(){this.src=void 0}};t([h()],c.prototype,\"src\",void 0),t([h()],c.prototype,\"name\",void 0),t([h({type:Boolean})],c.prototype,\"round\",void 0),c=t([r(l),e(s`:host{${m}--size:2em;width:var(${m}--size);height:var(${m}--size);vertical-align:bottom}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;width:inherit;height:inherit}:host([round]){border-radius:50%}[part=image]{width:100%;height:100%;object-fit:cover}[part=root]{overflow:hidden;position:relative;border-radius:inherit;width:100%;height:100%;align-items:center;justify-content:center}`)],c);var v=c;export{c as Avatar,v as default};\n//# sourceMappingURL=avatar.js.map\n","import a from\"./components/avatar.js\";export{Avatar}from\"./components/avatar.js\";a.define();export{a as default};\n//# sourceMappingURL=avatar.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as n,GlobalStyle as f}from\"../core/global-style.js\";const l=\"badge\",v=d(l);let c=class Badge 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 s`<div part=\"root\" ${r(this.observedRecord)}>${i()} ${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(l),e(a`:host{${v}--background:var(${n.active});${v}--offset:0%;${v}--offset-x:var(${v}--offset);${v}--offset-y:var(${v}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{position:absolute;font-size:75%;padding:0 .5em;-webkit-user-select:none;user-select:none;border-radius:calc(infinity * 1px);transform:translate(-50%,-50%);left:var(--left);top:var(--top);background:var(${v}--background)}[part=badge]:empty{width:.5em;height:.5em;font-size:100%;padding:0;border-radius:50%}[position^=top]{--top:calc(0% + var(${v}--offset-y))}[position$=right]{--left:calc(100% - var(${v}--offset-x))}[position^=bottom]{--top:calc(100% - var(${v}--offset-y))}[position$=left]{--left:calc(0% + var(${v}--offset-x))}`)],c);var m=c;export{c as Badge,m as default};\n//# sourceMappingURL=badge.js.map\n","import e from\"./components/badge.js\";export{Badge}from\"./components/badge.js\";e.define();export{e as default};\n//# sourceMappingURL=badge.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as o,attr as e,htmlStyle as i}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as c,GlobalStyle as p}from\"../core/global-style.js\";const d=\"breath\",$=l(d);let u=class Breath extends p{render(){const t=this.getTexts();return n`<div part=\"root\" ${e(this.observedRecord)}>${[t.map(this.renderText),i(this._computeStyle(t.length))]}</div>`}renderText(t){return n`<span class=\"rel\"><span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span></span>`}getTexts(){return Array.isArray(this.text)?this.text:(this.text||this.textContent).split(/\\s+/).filter((t=>t))}_computeStyle(t){const r=50/t,o=this.parseDuration()||2*t+2;let e=\"\";for(let r=1;r<=t;r++){e+=`.rel:nth-child(${r}) .colorful{animation-delay:${-o/t*(t-r+1)}s;background:var(${$}--${r},var(${$}--${(r-1)%3+1}));}`}return`.colorful{animation-duration:${o}s;}@keyframes colorfulN{0%,${3*r}%{opacity:0;}${r}%,${2*r}%{opacity:1;}}${e}`}parseDuration(){const{duration:t}=this;if(t){if(t.endsWith(\"s\"))return Number.parseFloat(t.slice(0,-1));if(t.endsWith(\"ms\"))return Number.parseFloat(t.slice(0,-2))/1e3}}};t([s()],u.prototype,\"text\",void 0),t([s()],u.prototype,\"duration\",void 0),u=t([r(d),o(a`: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))}`,a`:host{margin:auto;width:-moz-fit-content;width:fit-content;font-size:2em;align-items:center;direction:ltr}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}::selection{background:0 0}.rel{position:relative;font-weight:800;font-size:inherit;letter-spacing:-.05em}`,a`.colorful,.nocolor{padding:0 .05em;box-sizing:border-box;display:inline-block;animation-iteration-count:infinite;color:transparent;-webkit-background-clip:text!important;background-clip:text!important}.colorful{opacity:0;animation-name:colorfulN}.nocolor{position:absolute;top:0;background:var(${c.clipBackground})}`)],u);var m=u;export{u as Breath,m as default};\n//# sourceMappingURL=breath.js.map\n","import e from\"./components/breath.js\";export{Breath}from\"./components/breath.js\";e.define();export{e as default};\n//# sourceMappingURL=breath.js.map\n","import{__decorate as o}from\"tslib\";import{constructCSSObject as t,toVar as r,part as e,godown as i,styles as a,attr as n,htmlSlot as l,htmlStyle as s}from\"@godown/element\";import{css as d,html as c}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as g,GlobalStyle as u}from\"../core/global-style.js\";const v=\"button\",m=h(v),y=g.white,b=g.black,f=t([\"color\",\"background\",\"gradients\"].map((o=>`${m}--${o}`)),{black:[y,g._colors.darkgray[7],g._colors.darkgray[5]],gray:[y,g._colors.darkgray[1],g._colors.lightgray[8]],white:[b,g._colors.lightgray[3],g._colors.lightgray[0]],blue:[y,g._colors.blue[6],g._colors.blue[4]],green:[y,g._colors.green[6],g._colors.green[4]],red:[y,g._colors.red[6],g._colors.red[4]],orange:[y,g._colors.orange[6],g._colors.orange[4]],pink:[y,g._colors.pink[6],g._colors.pink[4]],purple:[y,g._colors.purple[6],g._colors.purple[4]],yellow:[b,g._colors.yellow[6],g._colors.yellow[4]],teal:[y,g._colors.teal[6],g._colors.teal[4]]},(()=>\":host\"),(o=>r(o)));let $=class Button extends u{constructor(){super(...arguments),this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){const o=this.nextColor();return c`<div part=\"root\" ${n(this.observedRecord)}><span part=\"modal-root\"></span><div part=\"content\">${[this.content||l(),s(f[o])]}</div></div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}firstUpdated(){this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),r=this._root.getBoundingClientRect(),{height:e,width:i}=r,a=2*Math.sqrt(e*e+i*i)+\"px\";t.style.height=a,t.style.width=a,t.style.left=o.clientX-r.left+\"px\",t.style.top=o.clientY-r.y+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([p({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([p({reflect:!0})],$.prototype,\"color\",void 0),o([p()],$.prototype,\"content\",void 0),o([e(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([e(\"root\")],$.prototype,\"_root\",void 0),$=o([i(v),a(d`:host(:not([disabled]):active){transform:scale(var(${m}--focus-scale))}:host([round]){${m}--padding-x:.75em;border-radius:calc(infinity * 1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${m}--modal-background:var(${m}--ghost-color);box-shadow:inset 0 0 0 var(${m}--ghost-width) var(${m}--ghost-color);color:var(${m}--ghost-color);background:0 0}`,d`:host{${m}--padding-x:.5em;${m}--padding-y:min(calc(var(${m}--padding-x) / 2),.25em);${m}--padding:var(${m}--padding-y) var(${m}--padding-x);${m}--modal-animation-duration:1s;${m}--ghost-width:.08em;${m}--focus-scale:.97;${m}--deg:45deg;${m}--ghost-color:var(${m}--background);color:var(${m}--color,inherit);background:linear-gradient(var(${m}--deg),var(${m}--background),var(${m}--gradients,var(${m}--background)));border-radius:.3em;width:-moz-fit-content;width:fit-content;transition:.1s;display:block;overflow:hidden;text-align:center;padding:0!important;cursor:pointer}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{width:100%;height:100%;overflow:hidden;position:relative;transition:none;-webkit-user-select:none;user-select:none;border-radius:inherit;transition-duration:inherit}[part=content]{padding:var(${m}--padding)}i{position:absolute;inset:0;opacity:0;width:100%;height:100%;border-radius:50%;visibility:visible;pointer-events:none;transform-origin:0 0;background:var(${m}--modal-background,currentColor);animation-duration:var(${m}--modal-animation-duration)}@keyframes kf{0%{transform:scale(0) translate(-50%,-50%);opacity:var(${m}--modal-opacity,.1)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var _=$;export{$ as Button,_ as default};\n//# sourceMappingURL=button.js.map\n","import o from\"./components/button.js\";export{Button}from\"./components/button.js\";o.define();export{o as default};\n//# sourceMappingURL=button.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as e,attr as d,htmlSlot as t}from\"@godown/element\";import{css as a,html as i}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as b,cssGlobalVars as n,GlobalStyle as l}from\"../core/global-style.js\";const p=\"card\",h=b(p);let c=class Card extends l{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return i`<div part=\"root\" ${d(this.observedRecord)}>${[this.header?t(\"header\"):\"\",t(),this.footer?t(\"footer\"):\"\"]}</div>`}};r([s({type:Boolean})],c.prototype,\"footer\",void 0),r([s({type:Boolean})],c.prototype,\"header\",void 0),c=r([o(p),e(a`:host{${h}--background:var(${n.background});${h}--border-width:.0375em;${h}--border-color:transparent;${h}--border-background:var(${n.passive});${h}--padding:.75em;color:var(${n.foreground});background:var(${h}--background);border-width:var(${h}--border-width);display:block;flex-shrink:0;position:relative;overflow:hidden;box-sizing:border-box}slot{display:block;padding:var(${h}--padding)}:host,slot{border-color:var(${h}--border-background);border-style:solid}[name=footer]{border-top-width:var(${h}--border-width)}[name=header]{border-bottom-width:var(${h}--border-width)}`)],c);var v=c;export{c as Card,v as default};\n//# sourceMappingURL=card.js.map\n","import o from\"./components/card.js\";export{Card}from\"./components/card.js\";o.define();export{o as default};\n//# sourceMappingURL=card.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 o,attr as s,htmlSlot as r,htmlStyle as n}from\"@godown/element\";import h from\"@godown/f7-icon/icons/chevron-left.js\";import l from\"@godown/f7-icon/icons/chevron-right.js\";import{css as a,html as d}from\"lit\";import{property as c}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let v=class Carousel extends p{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return d`<div part=\"root\" ${s(this.observedRecord)}><i part=\"prev\" @click=\"${this.prev}\">${h()}</i><div part=\"move-root\" style=\"transform:${`translateX(-${this.index+1}00%)`}\">${r()}</div><i part=\"next\" @click=\"${this.next}\">${l()} </i>${n(`:host,:host([contents]) [part=root]{width:${this.width};}`)}</div>`}async firstUpdated(){await this.updateComplete,this.children.length&&(this.width||=`${this.firstElementChild.offsetWidth}px`,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.show(this.index)),this.checkInterval()}disconnectedCallback(){clearInterval(this.intervalID)}show(t){this.index=t,this.dispatchEvent(new CustomEvent(\"change\",{detail:t,composed:!0}))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1),this.checkInterval()}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1),this.checkInterval()}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,e&&(this._moveRoot.style.transition=\"none\"),this._moveRoot.getBoundingClientRect()}checkInterval(){this.autoChange&&(this.intervalID&&clearInterval(this.intervalID),this.intervalID=setInterval((()=>{this.next()}),this.autoChange))}};t([c({type:Number})],v.prototype,\"index\",void 0),t([c({type:Number})],v.prototype,\"autoChange\",void 0),t([c()],v.prototype,\"width\",void 0),t([e(\"move-root\")],v.prototype,\"_moveRoot\",void 0),v=t([i(\"carousel\"),o(a`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{height:100%;width:100%;display:flex;position:relative;transition:inherit}[part=next],[part=prev]{height:100%;width:1.5em;z-index:1;position:absolute;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],v);var m=v;export{v as Carousel,m as default};\n//# sourceMappingURL=carousel.js.map\n","import o from\"./components/carousel.js\";export{Carousel}from\"./components/carousel.js\";o.define();export{o as default};\n//# sourceMappingURL=carousel.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.dispatchEvent(new CustomEvent(\"change\",{detail:this.open,composed:!0}))}_handelClick(e){this.toggle()}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{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 r,htmlSlot as e}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as d}from\"../core/global-style.js\";import p from\"../core/super-openable.js\";const c=\"details\",m=d(c);let f=class Details extends p{constructor(){super(...arguments),this.fill=!1,this.summary=\"\"}render(){return n`<dl part=\"root\" ${r(this.observedRecord)}><dt part=\"title\" @click=\"${this._handelClick}\"><span part=\"summary\">${this.summary||e(\"summary\")}</span> <span><i part=\"icon\">${a()}</i></span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height:0\">${e()}</div></dd></dl>`}};t([l({type:Boolean})],f.prototype,\"fill\",void 0),t([l()],f.prototype,\"summary\",void 0),f=t([i(c),o(s`:host{${m}--icon-deg-open:0deg;${m}--icon-deg-close:90deg;${m}--icon-space:0.3em;${m}--summary-direction:row;${m}--transition:.3s;height:-moz-fit-content;height:fit-content;display:block;transition:var(${m}--transition)}[part=root]{height:100%;position:relative;overflow:hidden}[part=title]{direction:ltr;height:100%;display:flex;flex-wrap:nowrap;justify-content:space-between;background:inherit;align-items:center;flex-direction:var(${m}--summary-direction)}[part=details]{display:grid;overflow:hidden;grid-template-rows:0fr;transition:var(${m}--transition);transition-property:grid-template-rows}:host([open]) [part=details]{grid-template-rows:1fr}:host([float]) [part=details]{top:100%;position:absolute}[part=icon]{display:flex;-webkit-backface-visibility:hidden;backface-visibility:hidden;padding:var(${m}--icon-space);transition:var(${m}--transition);transform:rotate(var(${m}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${m}--icon-deg-open))}`)],f);var h=f;export{f as Details,h as default};\n//# sourceMappingURL=details.js.map\n","import e from\"./components/details.js\";export{Details}from\"./components/details.js\";e.define();export{e as default};\n//# sourceMappingURL=details.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as i,htmlSlot as n}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as r}from\"lit/decorators.js\";import{scopePrefix as a,cssGlobalVars as l}from\"../core/global-style.js\";import h from\"../core/super-openable.js\";const p=\"dialog\",c=a(p);let m=class Dialog extends h{constructor(){super(...arguments),this.direction=\"center\",this.modal=!1,this.key=\"Escape\",this._modalInvoke=!1}render(){return d`<div part=\"root\" ${i(this.observedRecord)}><div part=\"modal\"></div><div part=\"container\">${n()}</div></div>`}showModal(){this.modal||(this.modal=!0,this._modalInvoke=!0),this.show()}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){t.preventDefault();const o=this.key.split(/[\\s,]/);(o.includes(t.key)||o.includes(t.code))&&this.close()}_handelSubmit(t){\"dialog\"===t.target.method&&this.close()}close(){this._modalInvoke&&(this.modal=!1,this._modalInvoke=!1),this.open=!1}};t([r()],m.prototype,\"direction\",void 0),t([r({type:Boolean,reflect:!0})],m.prototype,\"modal\",void 0),t([r()],m.prototype,\"key\",void 0),m=t([o(p),e(s`:host{${c}--background:none;${c}--background-modal:var(${l.background});${c}--opacity-modal:0.2;background:var(${c}--background);pointer-events:none;visibility:hidden;position:fixed;z-index:1;inset:0}:host([open]){visibility:visible}:host([open][modal]) [part=modal]{pointer-events:all;visibility:visible;opacity:var(${c}--opacity-modal)}[part=modal]{visibility:hidden;opacity:0;width:100%;height:100%;position:absolute;background:var(${c}--background-modal)}[part=root]{width:100%;height:100%;display:flex;position:relative;align-items:center;justify-content:center}[part=container]{pointer-events:all;position:absolute}[direction^=top] [part=container]{top:0}[direction^=bottom] [part=container]{bottom:0}[direction$=right] [part=container]{right:0}[direction$=left] [part=container]{left:0}`)],m);var v=m;export{m as Dialog,v as default};\n//# sourceMappingURL=dialog.js.map\n","import o from\"./components/dialog.js\";export{Dialog}from\"./components/dialog.js\";o.define();export{o as default};\n//# sourceMappingURL=dialog.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{GlobalStyle as s}from\"../core/global-style.js\";let d=class Divider extends s{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([l({type:Boolean,reflect:!0})],d.prototype,\"vertical\",void 0),d=t([o(\"divider\"),r(i`:host{width:100%;height:.05em;margin:auto;display:block;background:currentColor}:host([vertical]){width:.05em;height:max(1em,100%)}:host([contents]) [part=root]{width:100%;height:.05em;margin:auto;display:block;background:currentColor}[part=root]{display:contents}`)],d);var c=d;export{d as Divider,c as default};\n//# sourceMappingURL=divider.js.map\n","import e from\"./components/divider.js\";export{Divider}from\"./components/divider.js\";e.define();export{e as default};\n//# sourceMappingURL=divider.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 h,html as r}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let f=class Dragbox extends n{constructor(){super(...arguments),this.drag=!1,this.x=\"auto\",this.y=\"auto\"}get offsetsWidth(){return this.offsetParent?.clientWidth??document.body.offsetWidth}get offsetsHeight(){return this.offsetParent?.clientHeight??document.body.offsetHeight}render(){return r`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\" @mouseup=\"${this._handleDragEnd}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.cx=t.clientX,this.cy=t.clientY,this.t=this.offsetTop,this.l=this.offsetLeft,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))}_handleDragEnd(){this.drag=!1,this.events.remove(document,\"mousemove\",this._handleMouseMove),this.events.remove(document,\"mouseleave\",this._handleMouseLeave)}_handleDrag(t){if(!this.drag)return;const e=t.clientX-(this.cx-this.l),s=t.clientY-(this.cy-this.t),{style:o,offsetsWidth:i,offsetsHeight:h,offsetWidth:r,offsetHeight:d}=this;o.left=e<0?\"0\":e<i-r?`${e}px`:i-r+'\"px\"',o.top=s<0?\"0\":s<h-d?`${s}px`:h-d+\"px\"}reset(){const{x:t,y:e,style:s,offsetsWidth:o,offsetsHeight:i,offsetWidth:h,offsetHeight:r,offsetLeft:d,offsetTop:n}=this;s.left=t||\"0\",s.top=e||\"0\",d>o-h&&(s.left=o-h+\"px\"),n>i-r&&(s.top=i-r+\"px\")}};t([d()],f.prototype,\"x\",void 0),t([d()],f.prototype,\"y\",void 0),f=t([e(\"dragbox\"),s(h`:host{position:absolute;display:block}:host(:active){-webkit-user-select:none;user-select:none}`)],f);var a=f;export{f as Dragbox,a as default};\n//# sourceMappingURL=dragbox.js.map\n","import o from\"./components/dragbox.js\";export{Dragbox}from\"./components/dragbox.js\";o.define();export{o as default};\n//# sourceMappingURL=dragbox.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 a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return a`<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([n({attribute:\"flex-flow\"})],c.prototype,\"flexFlow\",void 0),t([n()],c.prototype,\"gap\",void 0),t([n()],c.prototype,\"content\",void 0),t([n()],c.prototype,\"items\",void 0),t([n({type:Boolean})],c.prototype,\"vertical\",void 0),c=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],c);var f=c;export{c as Flex,f as default};\n//# sourceMappingURL=flex.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as o}from\"@godown/element\";import{css as a}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../core/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 o()}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,o]=s.namevalue();e&&(t[e]=o)}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(a`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=form.js.map\n","import e from\"./components/flex.js\";export{Flex}from\"./components/flex.js\";e.define();export{e as default};\n//# sourceMappingURL=flex.js.map\n","import o from\"./components/form.js\";export{Form}from\"./components/form.js\";o.define();export{o as default};\n//# sourceMappingURL=form.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 l,html as m}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let c=class Grid extends n{render(){return m`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":d(this.columns)?`repeat(${this.columns},1fr)`:this.columns,\"grid-template-rows\":d(this.rows)?`repeat(${this.rows},1fr)`:this.rows,\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([a()],c.prototype,\"gap\",void 0),t([a()],c.prototype,\"columns\",void 0),t([a()],c.prototype,\"rows\",void 0),t([a()],c.prototype,\"content\",void 0),t([a()],c.prototype,\"items\",void 0),c=t([o(\"grid\"),r(l`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],c);var h=c;export{c as Grid,h as default};\n//# sourceMappingURL=grid.js.map\n","import o from\"./components/grid.js\";export{Grid}from\"./components/grid.js\";o.define();export{o as default};\n//# sourceMappingURL=grid.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as i,htmlSlot as o}from\"@godown/element\";import{css as h,html as a,nothing as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Heading extends d{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){return a`<a part=\"root\" href=\"${this.id?\"#\"+this.id:s}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?a`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return a`<h2>${t}</h2>`;case\"h3\":return a`<h3>${t}</h3>`;case\"h4\":return a`<h4>${t}</h4>`;case\"h5\":return a`<h5>${t}</h5>`;case\"h6\":return a`<h6>${t}</h6>`;default:return a`<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(h`:host{display:block;text-align:start}[part=anchor]{position:absolute;text-align:center;min-width:1.25em;right:100%}[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 p=c;export{c as Heading,p as default};\n//# sourceMappingURL=heading.js.map\n","import e from\"./components/heading.js\";export{Heading}from\"./components/heading.js\";e.define();export{e as default};\n//# sourceMappingURL=heading.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,htmlSlot as n}from\"@godown/element\";import o from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as s,html as a}from\"lit\";import{property as p}from\"lit/decorators.js\";import{cssGlobalVars as r,GlobalStyle as u}from\"./global-style.js\";const l=s`.input-field{display:flex;position:relative;align-items:center;border-radius:inherit;height:inherit}.input-field [part=input]{background:0 0;height:100%;width:100%;color:inherit;padding:0 var(${r.input}-space)}.input-field.outline,.input-field:focus-within{box-shadow:var(${r.input}-box-shadow)}.input-field [part=icon]{display:flex;align-items:center;justify-content:center}.input-field [part=prefix],.input-field [part=suffix]{height:100%;display:flex}.input-field [part=suffix] [part=icon]{padding-inline-end:var(${r.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${r.input}-space)}`,d=s`:host{${r.input}-width:10em;${r.input}-height:1.6em;${r.input}-space:.2em;${r.input}-background:var(${r.background});${r.input}-control:var(${r.foreground});${r.input}-control-edge:var(${r.active});${r.input}-radius:.2em;${r.input}-box-shadow:0 0 0 .1em var(${r.active});border-radius:var(${r.input}-radius)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let h=class SuperInput extends u{constructor(){super(...arguments),this.autofocus=!1,this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}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.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!0})))}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 a`<label for=\"${this.makeId}\" part=\"prefix\">${n(\"prefix\")}</label>`}_renderSuffix(){const t=\"password\";return a`<label for=\"${this.makeId}\" part=\"suffix\">${\"password\"===this.type?a`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${o()}</i>`:n(\"suffix\")}</label>`}};t([p()],h.prototype,\"autocomplete\",void 0),t([p({type:Boolean,reflect:!0})],h.prototype,\"disabled\",void 0),t([p({reflect:!0})],h.prototype,\"type\",void 0),t([p({reflect:!0})],h.prototype,\"placeholder\",void 0),t([p({reflect:!0})],h.prototype,\"name\",void 0),t([p()],h.prototype,\"value\",void 0),t([p()],h.prototype,\"default\",void 0),t([e(\"input\")],h.prototype,\"_input\",void 0),h=t([i(l,d)],h);var c=h;export{c as default};\n//# sourceMappingURL=super-input.js.map\n","import{__decorate as t}from\"tslib\";import{part as i,godown as e,styles as r,attr as o,classList as a}from\"@godown/element\";import{css as s,html as u,nothing as p}from\"lit\";import{property as d}from\"lit/decorators.js\";import{cssGlobalVars as l}from\"../core/global-style.js\";import n from\"../core/super-input.js\";let h=class Input extends n{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\"}render(){return u`<div part=\"root\" ${o(this.observedRecord)} class=\"${a(\"input-field\",this.variant)}\">${[this._renderPrefix(),u`<input part=\"input\" type=\"${this.type}\" id=\"${this.makeId}\" .value=\"${this.value}\" placeholder=\"${this.placeholder||p}\" ?autofocus=\"${this.autofocus}\" autocapitalize=\"${this.autocapitalize||p}\" autocomplete=\"${this.autocomplete||p}\" ?disabled=\"${this.disabled}\" @input=\"${this._handleInput}\">`,this._renderSuffix()]}</div>`}reset(){this._input.value=this.default,this.value=this.default}};t([d()],h.prototype,\"variant\",void 0),t([i(\"input\")],h.prototype,\"_input\",void 0),h=t([e(\"input\"),r(s`:host{width:var(${l.input}-width);height:var(${l.input}-height);color:var(${l.foreground});background:var(${l.input}-background);border-radius:var(${l.input}-radius);display:block}`)],h);var c=h;export{h as Input,c as default};\n//# sourceMappingURL=input.js.map\n","import o from\"./components/input.js\";export{Input}from\"./components/input.js\";o.define();export{o as default};\n//# sourceMappingURL=input.js.map\n","import{__decorate as o}from\"tslib\";import{godown as t,styles as e,attr as r,htmlSlot as i}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as s}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let d=class Layout extends p{constructor(){super(...arguments),this.noHeader=!1,this.noFooter=!1,this.sticky=!1}render(){return n`<div part=\"root\" ${r(this.observedRecord)}>${this.noHeader?\"\":n`<header part=\"header\">${i(\"header\")}</header>`}<main part=\"main\">${i()}</main>${this.noFooter?\"\":n`<footer part=\"footer\">${i(\"footer\")}</footer>`}</div>`}};o([s({type:Boolean})],d.prototype,\"noHeader\",void 0),o([s({type:Boolean})],d.prototype,\"noFooter\",void 0),o([s({type:Boolean})],d.prototype,\"sticky\",void 0),d=o([t(\"layout\"),e(a`:host,:host([contents]) [part=root]{min-height:100%;display:flex;flex-direction:column}[part=root]{display:contents}[sticky] header{position:sticky;top:0;z-index:1}[part=main]{position:relative;flex:1;width:100%}footer,header,main{width:100%}`)],d);var l=d;export{d as Layout,l as default};\n//# sourceMappingURL=layout.js.map\n","import o from\"./components/layout.js\";export{Layout}from\"./components/layout.js\";o.define();export{o as default};\n//# sourceMappingURL=layout.js.map\n","import{__decorate as r}from\"tslib\";import{styles as t,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,html as l,nothing as s}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as n}from\"./global-style.js\";let c=class SuperAnchor extends n{constructor(){super(...arguments),this.href=void 0,this.target=\"_self\"}render(){return l`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||s}\" target=\"${this.target}\" @click=\"${this._handleClick}\">${e()}</a>`}_handleClick(r){}};r([a()],c.prototype,\"href\",void 0),r([a()],c.prototype,\"target\",void 0),c=r([t(i`:host{display:inline-block;color:currentColor;text-decoration:none;cursor:default}:host([href]){cursor:pointer}[part=root]{width:100%;color:inherit;display:inline-block;text-decoration:inherit}`)],c);var h=c;export{h 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}from\"@godown/element\";import{css as h}from\"lit\";import{state as i,property as n}from\"lit/decorators.js\";import{GlobalStyle as r}from\"../core/global-style.js\";var p;let l=p=class Router extends r{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.params={},this.default=a(),this.type=\"united\",this.cache=!1,this.routeChangeCallback=null,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){if(this.params={},this.cache){const t=this.__cacheRecord.get(this.pathname);if(t)return Object.assign(this,t),this.component}switch(this.type){case\"field\":this.component=this.fieldComponent();break;case\"slotted\":this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default??null}connectedCallback(){if(super.connectedCallback(),p.routerInstances.add(this),this.pathname??=location.pathname,\"field\"!==this.type){new MutationObserver(this.collectSlottedRoutes).observe(this,{attributeFilter:[\"slot\"],attributes:!0,subtree:!0}),this.collectSlottedRoutes()}}disconnectedCallback(){super.disconnectedCallback(),p.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(),e=!this.__cacheRecord.has(this.pathname);e&&this.__cacheRecord.set(this.pathname,t),this.routeChangeCallback?.(t,e),this.dispatchEvent(new CustomEvent(\"change\",{detail:t}))}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;this.params=this.parseParams(this.path,this.pathname);const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(this.useRouter())||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?(this.params=this.parseParams(t,this.pathname),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)}))}parseParams(t,e=this.pathname){return o.parseParams(e,t)}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}};l.routerInstances=new Set,t([i()],l.prototype,\"component\",void 0),t([i()],l.prototype,\"params\",void 0),t([i()],l.prototype,\"path\",void 0),t([n()],l.prototype,\"pathname\",void 0),t([i()],l.prototype,\"default\",void 0),t([n()],l.prototype,\"type\",void 0),t([n({type:Boolean})],l.prototype,\"cache\",void 0),t([i()],l.prototype,\"routes\",null),l=p=t([e(\"router\"),s(h`:host{display:contents}`)],l);var c=l;export{l as Router,c as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as r}from\"lit/decorators.js\";import o from\"../core/super-anchor.js\";import s from\"./router.js\";let p=class Link extends o{constructor(){super(...arguments),this.type=\"normal\",this.suppress=!1}_handleClick(t){\"push\"!==this.type&&\"replace\"!==this.type||(t.preventDefault(),history[`${this.type}State`](null,\"\",this.href),this.suppress||s.updateAll())}};t([r()],p.prototype,\"type\",void 0),t([r({type:Boolean})],p.prototype,\"suppress\",void 0),p=t([e(\"link\")],p);var i=p;export{p as Link,i as default};\n//# sourceMappingURL=link.js.map\n","import o from\"./components/link.js\";export{Link}from\"./components/link.js\";o.define();export{o as default};\n//# sourceMappingURL=link.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNil as o,attr as i}from\"@godown/element\";import{css as s,html as a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{cssGlobalVars as l,GlobalStyle as p}from\"../core/global-style.js\";let d=class Progress extends p{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;return o(this.value)||(r=this.parsePercent(this.value),t=\"static\"),a`<div part=\"root\" ${i(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}\"></i></div>`}parsePercent(t=\"0\"){return String(t).includes(\"%\")?parseFloat(String(t)):parseFloat(String(t))/(this.max-this.min)*100}};t([n({type:Number})],d.prototype,\"max\",void 0),t([n({type:Number})],d.prototype,\"min\",void 0),t([n({type:Number})],d.prototype,\"value\",void 0),d=t([r(\"progress\"),e(s`:host{width:100%;height:.5em;border-radius:.25em;background:var(${l.passive});color:var(${l.active})}:host,[part=root]{display:block}[part=root]{height:inherit;z-index:1;position:relative;border-radius:inherit}[part=value]{position:absolute;z-index:2;top:0;left:0;height:100%;border-radius:inherit;transition:all .3s;animation:progress 1.8s ease-in-out infinite alternate;background:currentColor}@keyframes progress{from{left:0}to{left:80%}}.static [part=value]{animation:none}`)],d);var m=d;export{d as Progress,m as default};\n//# sourceMappingURL=progress.js.map\n","import o from\"./components/progress.js\";export{Progress}from\"./components/progress.js\";o.define();export{o as default};\n//# sourceMappingURL=progress.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as r,styles as i,attr as s,joinProperties as a,classList as o,isNil as n}from\"@godown/element\";import{css as h,html as l}from\"lit\";import{property as u,queryAll as d,state as c}from\"lit/decorators.js\";import{scopePrefix as v,cssGlobalVars as m}from\"../core/global-style.js\";import p from\"../core/super-input.js\";const f=\"range\",g=v(f);let w=class Range extends p{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this._focusStack=[]}get reverse(){return!!this.range&&this.value[0]>this.value[1]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,i=t-r.length;return i>0?new Array(i).fill(e).concat(r):r}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),i=this.max-this.min;return l`<div part=\"root\" ${s(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${a({\"--from\":(e-this.min)/i*100+\"%\",\"--to\":(r-this.min)/i*100+\"%\",...this.range?Object.fromEntries(t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/i*100+\"%\"]))):{}})}\"><div part=\"track\"></div>${this.range?this.value.map(((t,e)=>this.renderHandle(e))):this.renderHandle(0)}</div>`}renderHandle(t){const{range:e}=this,r=!e||t===this.value.length-1;return l`<i tabindex=\"0\" part=\"handle\" class=\"${o({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${this.disabled?null:this.createMouseDown(t)}\" @focus=\"${this.disabled?null:()=>this.focusHandle(t)}\" @blur=\"${this.disabled?null:this.blurHandle}\" style=\"z-index:${this._focusStack.indexOf(t)+1};--handle:var(--${!e&&r?\"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))),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t}))}blurHandle(){this.lastFocus=void 0,this._keydownEvent=this.events.remove(document,\"keydown\",this._keydownEvent),this.dispatchEvent(new CustomEvent(\"blur\"))}createKeydownEvent(t){return this.range||(t=0),e=>{\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)((t=>t-this.step))):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)((t=>t+this.step)))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=\"number\"==typeof e?this.normalizeValue(e):e(this.rangeValue[t]);let i=r;this.range&&(i=[...this.rangeValue],i[t]=r),this.value=i,this.dispatchEvent(new CustomEvent(\"range\",{detail:this.value}))}}_computeValue(t){const e=this._root.getBoundingClientRect(),r=this.vertical?(t.clientY-e.top)/e.height:(t.clientX-e.left)/e.width,i=Math.round(r*(this.max-this.min)/this.step)*this.step;return this.normalizeValue(i)}normalizeValue(t){return t>this.max?t-=this.step:t<this.min&&(t+=this.step),t}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,i)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?i:t),0):0,i=this.createSetValue(r);i(e),this.createMousedownListener(i)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const i=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",i)};this.events.add(document,\"mouseup\",i)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r>this.max||r<this.min||t?.call(this,r)}}_connectedInit(){const t=this.max-this.min;this.step||=t/100,n(this.value)&&(n(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([u({type:Number})],w.prototype,\"min\",void 0),t([u({type:Number})],w.prototype,\"max\",void 0),t([u({type:Number})],w.prototype,\"step\",void 0),t([u({type:Boolean,reflect:!0})],w.prototype,\"vertical\",void 0),t([u({type:Array})],w.prototype,\"value\",void 0),t([u({type:Array})],w.prototype,\"default\",void 0),t([e(\"root\")],w.prototype,\"_root\",void 0),t([d(\"[part=handle]\")],w.prototype,\"_handles\",void 0),t([c()],w.prototype,\"lastFocus\",void 0),w=t([r(f),i(h`:host{${g}--handle-active:var(${m.active});${g}--track-width:.5em;${g}--length:var(${m.input}-width);background:var(${m.input}-background);width:var(${g}--length);display:block}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${g}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${g}--handle-scale:1.05;background:var(${g}--handle-active)}[part=root]{min-height:inherit;position:relative;border-radius:inherit;width:100%;--from:0%;--to:50%;height:var(${g}--track-width)}[part=track]{height:100%;min-height:inherit;display:flex;position:absolute;pointer-events:none;border-radius:inherit;justify-content:space-between;left:min(var(--from),var(--to));background:var(${m.active});width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=handle]{width:1em;height:1em;display:flex;align-items:center;justify-content:center;-webkit-user-select:none;user-select:none;position:absolute;border:.1em solid;border-radius:50%;transform-origin:0 25%;transform:scale(var(${g}--handle-scale,1)) translate(-50%,-25%);background:var(${m.active});border-color:var(${m.input}-control)}`,h`[vertical]{height:inherit;width:var(${g}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{width:100%;height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));top:min(var(--from),var(--to));left:0}`,h`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{top:var(--handle);left:0}`)],w);var y=w;export{w as Range,y as default};\n//# sourceMappingURL=range.js.map\n","import e from\"./components/range.js\";export{Range}from\"./components/range.js\";e.define();export{e as default};\n//# sourceMappingURL=range.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\"../core/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;width:-moz-fit-content;width:fit-content;transition:all .5s ease-in-out;${p}--padding:.75em;${p}--offset:.5em}div{position:relative;transition:inherit;transition-property:transform}i{width:100%;height:100%;position:absolute;top:0;box-sizing:content-box;padding:var(${p}--offset);margin:calc(-1 * var(${p}--offset))}[part=slot]{z-index:2}`)],m);var f=m;export{m as Rotate,f as default};\n//# sourceMappingURL=rotate.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as n}from\"@godown/element\";import l from\"@godown/f7-icon/icons/chevron-down.js\";import{css as h,html as a,nothing as r}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";function d(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function f(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let v=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this._store=[]}render(){return a`<div part=\"root\" ${s({...this.observedRecord,direction:this.direction||this.autoDirection})} class=\"input-field\">${[this._renderPrefix(),a`<input part=\"input\" dir=\"${this.dir||r}\" id=\"${this.makeId}\" .value=\"${this.text}\" type=\"${this.type}\" placeholder=\"${this.placeholder||r}\" ?autofocus=\"${this.autofocus}\" autocapitalize=\"${this.autocapitalize||r}\" autocomplete=\"${this.autocomplete||r}\" ?disabled=\"${this.disabled}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\">`,a`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${l()}</i></label>`,a`<label for=\"${this.makeId}\" part=\"content\">${n()}</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||f(this.lastChecked,0),f(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=>{f(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=>f(t,0))),this.defaultChecked.forEach((t=>f(t,1)))}select(t,e){e||=t;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.dispatchEvent(new CustomEvent(\"select\",{detail:this.value,composed:!0})),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||d(this.optionValue(e),t)||d(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.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!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()],v.prototype,\"text\",void 0),t([e(\"content\")],v.prototype,\"_content\",void 0),t([c()],v.prototype,\"direction\",void 0),t([c({type:Boolean})],v.prototype,\"multiple\",void 0),t([c({type:Boolean})],v.prototype,\"visible\",void 0),t([u()],v.prototype,\"autoDirection\",void 0),v=t([i(\"select\"),o(h`[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;width:100%;visibility:hidden}[direction=bottom] [part=content]{top:100%}[direction=top] [part=content]{bottom:100%}[visible] [part=content]{visibility:visible}`)],v);var m=v;export{v as Select,m as default};\n//# sourceMappingURL=select.js.map\n","import o from\"./components/rotate.js\";export{Rotate}from\"./components/rotate.js\";o.define();export{o as default};\n//# sourceMappingURL=rotate.js.map\n","import o from\"./components/router.js\";export{Router}from\"./components/router.js\";o.define();export{o as default};\n//# sourceMappingURL=router.js.map\n","import e from\"./components/select.js\";export{Select}from\"./components/select.js\";e.define();export{e as default};\n//# sourceMappingURL=select.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 c,cssGlobalVars as p,GlobalStyle as g}from\"../core/global-style.js\";const l=\"skeleton\",v=c(l);let f=class Skeleton extends g{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()],f.prototype,\"type\",void 0),o([m()],f.prototype,\"animation\",void 0),o([d()],f.prototype,\"loading\",void 0),f=o([i(l),r(e`:host{${v}--from:var(${p._colors.darkgray[9]});${v}--to:var(${p._colors.darkgray[7]});${v}--deg:95deg;${v}--duration:1.5s;${v}--icon-size:5em;${v}--icon-margin:.25em;color:var(${p._colors.darkgray[5]});background:var(${v}--from);min-height:1.5em;width:100%;flex-shrink:0;display:block;overflow:hidden}[part=root]{height:100%;min-height:inherit;text-align:center;animation:var(${v}--duration) ease-in-out 0s infinite none running}svg{--size:var(${v}--icon-size);font-size:var(--size);margin:calc(var(--size) * .05)}[animation=position]{background-image:linear-gradient(var(${v}--deg),var(${v}--from) 36%,var(${v}--to) 50%,var(${v}--from) 64%);background-color:transparent;background-size:200% 100%;animation-name:po}@keyframes po{from{background-position:150% center}to{background-position:-50% center}}[animation=opacity]{animation-name:op;animation-direction:alternate}@keyframes op{50%{opacity:.25}to{opacity:1}}`)],f);var $=f;export{f as Skeleton,$ as default};\n//# sourceMappingURL=skeleton.js.map\n","import e from\"./components/skeleton.js\";export{Skeleton}from\"./components/skeleton.js\";e.define();export{e as default};\n//# sourceMappingURL=skeleton.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as r,attr as i,classList as s}from\"@godown/element\";import{css as n,html as u,nothing as o}from\"lit\";import{property as l,state as c}from\"lit/decorators.js\";import{scopePrefix as a,cssGlobalVars as h}from\"../core/global-style.js\";import p from\"../core/super-input.js\";const d=\"split\",b=a(d);let f=class Split extends p{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[]}render(){return u`<div part=\"root\" ${i(this.observedRecord)}>${((t,e)=>{const r=new Array(t);for(let i=0;i<t;i++)r[i]=e(i);return r})(this.len,(t=>u`<span part=\"input-box\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\" class=\"${s({focus:this.current===t})||o}\">${this.currentValue[t]}</span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=\"${this.blur}\" @input=\"${this._handleInput}\" .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.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,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(),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t,bubbles:!0,composed:!0}))}blur(){this._input.blur(),this.current=-1,super.blur(),this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}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([l({type:Number})],f.prototype,\"len\",void 0),t([l({type:Number})],f.prototype,\"index\",void 0),t([c()],f.prototype,\"current\",void 0),t([c()],f.prototype,\"currentValue\",void 0),f=t([e(d),r(n`:host{color:var(${h.foreground});display:block;border-radius:1px;width:-moz-fit-content;width:fit-content;${b}--size:1.45em;${b}--gap:.25em}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{gap:var(${b}--gap);width:100%;position:relative;vertical-align:top;display:flex;justify-content:space-between;border-radius:inherit}[part=input-box]{width:var(${b}--size);height:var(${b}--size);vertical-align:top;text-align:center;background-color:var(${h.input}-background);border-radius:inherit}[part=input]{width:100%;height:100%;opacity:0;background:0 0;position:absolute;z-index:-1}.focus{box-shadow:var(${h.input}-box-shadow)}`)],f);var v=f;export{f as Split,v as default};\n//# sourceMappingURL=split.js.map\n","import o from\"./components/split.js\";export{Split}from\"./components/split.js\";o.define();export{o as default};\n//# sourceMappingURL=split.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as i,attr as r}from\"@godown/element\";import{css as a,html as o}from\"lit\";import{property as n,query as d}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as h}from\"../core/global-style.js\";import c from\"../core/super-input.js\";const p=\"switch\",l=s(p);let u=class Switch extends c{constructor(){super(...arguments),this.round=!1,this.checked=!1,this.disabled=!1,this.default=\"false\",this.value=\"on\"}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"${this.round?\"round\":\"rect\"}\"><input part=\"input\" @change=\"${this._handleChange}\" ?disabled=\"${this.disabled}\" ?checked=\"${this.checked}\" name=\"${this.name}\" id=\"${this.makeId}\" type=\"checkbox\"> <span part=\"handle\" class=\"${this.checked}\"></span></div>`}reset(){this.checked=\"true\"===this.default,this._input.checked=this.checked}connectedCallback(){super.connectedCallback(),this.checked&&(this.default=\"true\"),\"true\"===this.default&&(this.checked=!0)}_handleChange(){this.checked=this._input.checked,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.checked,composed:!0}))}namevalue(){return[this.name,this.checked]}};e([n({type:Boolean,reflect:!0})],u.prototype,\"round\",void 0),e([n({type:Boolean,reflect:!0})],u.prototype,\"checked\",void 0),e([n({type:Boolean,reflect:!0})],u.prototype,\"disabled\",void 0),e([n()],u.prototype,\"default\",void 0),e([n()],u.prototype,\"value\",void 0),e([d(\"input\")],u.prototype,\"_input\",void 0),u=e([t(p),i(a`:host,:host([contents]) [part=root]{width:var(${l}-width);height:var(${l}-height);display:inline-block}:host{${l}-width:3em;${l}-height:calc(var(${l}-width)/ 2);${l}-handle-size:1.25em;${l}-handle-space:.125em;${l}-transition:.2s ease-in-out;background:var(${h.input}-background);vertical-align:bottom;border-radius:0}[part=handle],[part=root]{transition:var(${l}-transition)}[part=root]{border-radius:inherit;position:relative;height:inherit}[part=input]{opacity:0;width:100%;height:100%;-webkit-appearance:none;appearance:none}[part=handle]{height:100%;display:inline-flex;align-items:center;justify-content:center;position:absolute;left:0;width:50%;pointer-events:none;border-radius:inherit}:host([round]){border-radius:calc(var(${l}-height)/ 2);background:var(${h.passive})}:host([checked]) [part=handle]{left:50%}.rect .true{background:var(${h.active})}.rect .false{background:var(${h.passive})}.round [part=handle]{--size:var(${l}-handle-size);border-radius:100%;background:var(--godown--input-control);width:var(--size);height:var(--size);margin:var(${l}-handle-space)}:host([checked]) .round{background:var(${h.active})}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=switch.js.map\n","import o from\"./components/switch.js\";export{Switch}from\"./components/switch.js\";o.define();export{o as default};\n//# sourceMappingURL=switch.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,classList 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 d}from\"../core/global-style.js\";const v=\"text\",h=p(v);let u=class Text extends d{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()],u.prototype,\"underline\",void 0),o([c({type:Boolean})],u.prototype,\"clip\",void 0),u=o([r(v),e(n`:host{${h}--color:currentColor;${h}--color-hover:currentColor;${h}--color-active:currentColor;display:inline-block;text-overflow:ellipsis;overflow-wrap:break-word}[part=root]{white-space:nowrap;width:100%;vertical-align:bottom;display:inline-block;text-overflow:inherit;overflow-wrap:inherit;overflow:hidden;color:var(${h}--color)}[part=root]:hover{color:var(${h}--color-hover,var(${h}--color))}[part=root]:active{color:var(${h}--color-active,var(${h}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});display:inline-block;color:transparent;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],u);var w=u;export{u as Text,w as default};\n//# sourceMappingURL=text.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 t from\"./components/text.js\";export{Text}from\"./components/text.js\";t.define();export{t as default};\n//# sourceMappingURL=text.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 r,html as m}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let h=class Time extends p{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss UTFZ\",this.time=new Date}render(){return m`<span part=\"root\" ${o(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}firstUpdated(){this.timeout&&(this.timeoutId=this.startTimeout())}updated(t){t.has(\"timeout\")&&(clearInterval(this.timeoutId),this.timeout&&(this.timeoutId=this.startTimeout()))}disconnectedCallback(){clearInterval(this.timeoutId)}startTimeout(){return setInterval((()=>{this.dispatchEvent(new CustomEvent(\"time\",{detail:this.time,composed:!0})),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))}};t([a()],h.prototype,\"escape\",void 0),t([a()],h.prototype,\"format\",void 0),t([a({type:Object})],h.prototype,\"time\",void 0),t([a({type:Number})],h.prototype,\"timeout\",void 0),t([a({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),i(r`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.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{css as n,html as p}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";var d;const c=\"tooltip\",h=a(c);let f=d=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=d.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return p`<div part=\"root\" ${e(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}\">${r()}<div part=\"tip\">${this.tip?p`<span class=\"passive\">${this.tip}</span>`:r(\"tip\")}</div></div>`}};f.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([s()],f.prototype,\"tip\",void 0),t([s()],f.prototype,\"direction\",void 0),t([s()],f.prototype,\"align\",void 0),t([s({type:Boolean})],f.prototype,\"propagation\",void 0),t([s()],f.prototype,\"type\",void 0),f=d=t([i(c),o(n`:host{${h}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{position:relative;transition:inherit;border-radius:inherit}[part=tip]{width:-moz-fit-content;width:fit-content;height:-moz-fit-content;height:fit-content;position:absolute;visibility:hidden;transition:inherit;-webkit-user-select:none;user-select:none}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${h}--tip-background)}[propagation] [part=tip]{pointer-events:none}`,n`[direction^=top] [part=tip]{bottom:100%}[direction^=bottom] [part=tip]{top:100%}[direction$=right] [part=tip]{left:100%}[direction$=left] [part=tip]{right:100%}`)],f);var u=f;export{f as Tooltip,u as default};\n//# sourceMappingURL=tooltip.js.map\n","import e from\"./components/time.js\";export{Time}from\"./components/time.js\";e.define();export{e as default};\n//# sourceMappingURL=time.js.map\n","import o from\"./components/tooltip.js\";export{Tooltip}from\"./components/tooltip.js\";o.define();export{o as default};\n//# sourceMappingURL=tooltip.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,random as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as p,query as l}from\"lit/decorators.js\";import{scopePrefix as a,GlobalStyle as m}from\"../core/global-style.js\";const c=\"typewriter\",y=a(c);let u=class Typewriter extends m{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>`}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchEvent(new CustomEvent(this.index===this.len?\"done\":\"write\",{detail:this.contentInternal}))}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||r(this.max,this.min);this.timeoutID=setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e)}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([h()],u.prototype,\"content\",void 0),t([h({type:Boolean})],u.prototype,\"ended\",void 0),t([h({type:Number})],u.prototype,\"max\",void 0),t([h({type:Number})],u.prototype,\"min\",void 0),t([h({type:Number})],u.prototype,\"delay\",void 0),t([h({type:Number})],u.prototype,\"index\",void 0),t([p()],u.prototype,\"contentInternal\",void 0),t([l(\"i\")],u.prototype,\"_i\",void 0),u=t([e(c),i(s`:host{${y}--cursor-width:.05em}:host,:host([contents]) [part=root]{display:inline-block}i{border-right:var(${y}--cursor-width) solid;margin-left:.02em;animation:s 1.5s steps(1) infinite}@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=typewriter.js.map\n","import e from\"./components/typewriter.js\";export{Typewriter}from\"./components/typewriter.js\";e.define();export{e as default};\n//# sourceMappingURL=typewriter.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNil","value","isNumerical","isNaN","trimRight","s","spec","end","slice","trimLeft","start","trim","separator","styles","constructor","protoStyles","superClass","getPrototypeOf","push","godown","name","option","replace","toLowerCase","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","o","WeakMap","n$5","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","a","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","Array","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$2","b","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","keys","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","isArray","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","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","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","part","partName","cache","query","i$3","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","updateAttribute","element","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","noChange","PartType","svgAttr","attrDirective","withInitials","width","height","xmlns","append","classList","args","reduce","acc","cur","join","s1","entries","acc1","htmlSlot","slotChange","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","index","joinRules","css","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","deepQuerySelectorAll","selectors","root","result","querySelectorAll","from","child","children","deepQuerySelector","Events","m","src","listener","options","eType","eElem","addEventListener","remove","removeEventListener","removeAll","typeMap","eventListeners","clear","GodownElement","LitElement","isDefined","getDefined","observedRecord","fromEntries","scopedObservedAttributes","globalObservedAttributes","filter","includes","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","v","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","sx","test","splice","adoptStyles","lazy","events","assign","mount","arg","unmount","remount","stack","sheet","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","getName","find","whenDefined","upgrade","property","RouteTree","matchType","strict","insert","pattern","parts","split","findStrict","dynamic","sorted","search","sort","multi","filterWide","parseParams","path","pathSplit","patternSplit","params","carry","single","startsWith","endsWith","paths","n$2","d$a","p$7","g$2","h$a","m$b","u$5","rgb","g","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","repeat","foreground","background","clipBackground","active","passive","_colors","input","white","black","fn","flatMap","k","$","_","j","x","w","q","gray","C","E","A","tip","color","success","info","warning","danger","error","help","deprecated","B","Alert","autoclose","hideClose","variant","title","content","close","bubbles","setTimeout","alert","N","Avatar","round","obj","_renderAvatar","_handleError","format","Badge","position","dot","max","formatValue","Breath","getTexts","renderText","_computeStyle","text","parseDuration","duration","parseFloat","Button","disabled","ghost","nextColor","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","Math","sqrt","left","clientX","top","clientY","animationName","_modalRoot","once","Card","footer","header","h$8","l$6","Carousel","autoChange","prev","next","offsetWidth","_cloneFirst","_cloneLast","cloneNode","lastElementChild","insertBefore","show","checkInterval","clearInterval","intervalID","childElementCount","_doTranslateX","_moveRoot","transform","transition","setInterval","l$5","SuperOpenable","open","toggle","Details","fill","summary","Dialog","direction","modal","_modalInvoke","showModal","_submitEvent","_handelSubmit","_keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","drag","offsetsWidth","offsetParent","clientWidth","offsetsHeight","clientHeight","offsetHeight","_handleDragStart","_handleDragEnd","reset","cx","cy","offsetTop","offsetLeft","_handleMouseMove","_handleDrag","_handleMouseLeave","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","SuperInput","autofocus","compositing","makeId","random","defaultValue","default","_input","_handleInput","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","Input","placeholder","autocapitalize","autocomplete","Layout","noHeader","noFooter","sticky","SuperAnchor","href","_handleClick","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","routeChangeCallback","handlePopstate","window","pathname","location","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","MutationObserver","collectSlottedRoutes","observe","attributeFilter","subtree","useRouter","updateAll","Link","suppress","history","Progress","min","parsePercent","Range","_focusStack","range","rangeValue","padValue","concat","_handleMousedownRoot","renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","indexOf","_handles","item","createKeydownEvent","createSetValue","step","createMousedownListener","normalizeValue","_computeValue","abs","createMousemoveListener","toSorted","createDocumentFragment","Rotate","_handleRotate","removeProperty","rotateX","rotateY","_computeOffset","setProperty","Select","multiple","visible","autoDirection","_store","dir","_handleFocus","bottom","innerHeight","_content","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","len","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","_handleChange","Text","underline","clip","formatNumber","Time","escape","time","Date","fmt","_a","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","startTimeout","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop","clearTimeout"],"mappings":";;;;;uGAsDO,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,GAA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,CAACoB,KAAKL,UAAUP,GAAE1B,UAAU,aAAQ,GAAQP,EAAE,CAAC+B,KAAKE,GAAE1B,UAAU,uBAAkB,GAAQP,EAAE,CAAC6B,EAAE,MAAMI,GAAE1B,UAAU,UAAK,GAAQ0B,GAAEjC,EAAE,CAACE,EAAEhD,IAAGQ,EAAEQ,CAAC,SAASyE,sGAAqGA,4KAA2KV,IAAM,IAAC6N,GAAE7N,GCAhuD/B,GAAEN","x_google_ignoreList":[0,6,7,8,9,10,11,12,14,97]}
1
+ {"version":3,"file":"godown.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../element/tools/lib.js","../../element/config.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/class-list.js","../../element/directives/html-slot.js","../../element/tools/css.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/element.js","../../element/tools/route-tree.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","../core/global-style.js","../../colors/travel.js","../components/alert.js","../alert.js","../components/avatar.js","../avatar.js","../components/badge.js","../badge.js","../components/breath.js","../breath.js","../components/button.js","../button.js","../components/card.js","../card.js","../../f7-icon/icons/chevron-left.js","../../f7-icon/icons/chevron-right.js","../components/carousel.js","../carousel.js","../../f7-icon/icons/chevron-down.js","../core/super-openable.js","../components/details.js","../details.js","../components/dialog.js","../dialog.js","../components/divider.js","../divider.js","../components/dragbox.js","../dragbox.js","../components/flex.js","../components/form.js","../flex.js","../form.js","../components/grid.js","../grid.js","../components/heading.js","../heading.js","../../f7-icon/icons/eye-slash-fill.js","../core/super-input.js","../components/input.js","../input.js","../components/layout.js","../layout.js","../core/super-anchor.js","../components/router.js","../components/link.js","../link.js","../components/progress.js","../progress.js","../components/range.js","../range.js","../components/rotate.js","../components/select.js","../rotate.js","../router.js","../select.js","../../f7-icon/icons/photo.js","../components/skeleton.js","../skeleton.js","../components/split.js","../split.js","../components/switch.js","../switch.js","../components/text.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../text.js","../components/time.js","../components/tooltip.js","../time.js","../tooltip.js","../components/typewriter.js","../typewriter.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","/**\n * Returns true if the value is null or undefined.\n */\nexport const isNil = (value) => value == null;\n/**\n * Returns true if the value is a number.\n */\nexport const isNumerical = (value) => !isNaN(+value);\n/**\n * Returns a random number between m and n.\n */\nexport const random = (m = 0, n = 1) => {\n const max = Math.max(m, n);\n const min = Math.min(m, n);\n return Math.random() * (max - min) + min;\n};\n/**\n * trimRight remove all characters from the right of a string that are present in a given string.\n */\nexport const trimRight = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let end = s.length;\n while (end > 0 && s.slice(end - spec.length, end) === spec) {\n end -= spec.length;\n }\n return s.slice(0, end);\n};\n/**\n * trimLeft remove all characters from the left of a string that are present in a given string.\n */\nexport const trimLeft = (s, spec = \" \") => {\n if (!s || !spec) {\n return s;\n }\n let start = 0;\n while (start < s.length && s.slice(start, start + spec.length) === spec) {\n start += spec.length;\n }\n return s.slice(start);\n};\nexport const trim = (s, spec) => trimRight(trimLeft(s, spec), spec);\n/**\n * Construct a object with the properties of obj except for those in keys.\n */\nexport const omit = (obj, ...keys) => Object.keys(obj).reduce((acc, key) => {\n if (!keys.includes(key)) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n/**\n * From obj, pick a set of properties whose keys are in keys.\n */\nexport const pick = (obj, ...keys) => keys.reduce((acc, key) => {\n if (key in obj) {\n acc[key] = obj[key];\n }\n return acc;\n}, {});\n//# sourceMappingURL=lib.js.map","import { trim, trimLeft, trimRight } from \"./tools/lib.js\";\nconst separator = \"-\";\nclass 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 trim(trimRight(this.prefix, separator) + separator + origin + separator + trimLeft(this.suffix, separator), separator);\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 { GodownConfig, GodownConfig as default };\n//# sourceMappingURL=config.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 */\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 { 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 */\nexport const godown = (name, option) => (constructor) => {\n name ||= constructor.name.replace(/([a-z])([A-Z])/g, \"$1-$2\").toLowerCase();\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 */\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 */\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 { isNil } from \"../tools/lib.js\";\nexport const updateAttribute = (element, name, value) => {\n if (isNil(value) || value === false) {\n element.removeAttribute(name);\n }\n else if (value === true ||\n typeof value === \"string\" ||\n (typeof value === \"number\" && !isNaN(value))) {\n element.setAttribute(name, value === true ? \"\" : String(value));\n }\n};\nclass AttrDirective extends Directive {\n render(value, caller) {\n }\n update(part, [value, caller]) {\n if (!value) {\n return noChange;\n }\n if (part.type === PartType.ELEMENT) {\n for (const name in value) {\n (caller || updateAttribute)(part.element, name, value[name]);\n }\n return noChange;\n }\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with attribute names and values.\n */\nexport const attr = directive(AttrDirective);\nconst append = (a, b) => a ? a + \" \" + b : b;\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (isNil(value) || value === false) {\n return acc;\n }\n return append(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","const append = (a, b) => a ? a + (b ? \" \" + b : \"\") : b;\n/**\n * Returns a string of space-separated class names based on the input arguments.\n */\nexport const classList = (...args) => args.reduce((acc, cur) => {\n if (Array.isArray(cur)) {\n return append(acc, cur.join(\" \"));\n }\n if (typeof cur === \"object\") {\n const s1 = Object.entries(cur).reduce((acc1, [key, value]) => {\n return value ? append(acc1, key) : acc1;\n }, \"\");\n return append(acc, s1);\n }\n return append(acc, cur);\n}, \"\");\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\nexport default classList;\n//# sourceMappingURL=class-list.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if undefined, no name attribute will be added.\n * @param slotChange Slot change event listener.\n */\nexport const htmlSlot = (name, slotChange) => html `<slot name=\"${name || nothing}\" @slotchange=${slotChange || null}></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isNil } from \"./lib.js\";\n/**\n * Call Object.values and join \"\".\n */\nexport function constructCSS(vars, props, selectorFunc, propertyFunc) {\n return Object.values(constructCSSObject(vars, props, selectorFunc, propertyFunc)).join(\"\");\n}\n/**\n * Create a CSS style object based on the provided variable name array and property object.\n * @param vars - Variable name array.\n * @param props - Property object containing style values for each variable.\n * @param selectorFunc Function to process selector.\n * @param propertyFunc Function to process property.\n * @return CSS style object with selectors as keys and corresponding styles as values.\n */\nexport function constructCSSObject(vars, props, selectorFunc, propertyFunc) {\n const cssObject = {};\n Object.keys(props).forEach((sel, index0) => {\n const rules = vars.reduce((acc, key, index) => {\n let value = props[sel][index];\n value = (propertyFunc ? propertyFunc(value, index) : value);\n if (!isNil(value)) {\n acc.push(`${key}:${value}`);\n }\n return acc;\n }, []);\n cssObject[sel] = `${selectorFunc ? selectorFunc(sel, index0) : sel}{${rules.join(\";\")}}`;\n });\n return cssObject;\n}\nexport function joinRules(rules) {\n return Object.keys(rules).reduce((css, key) => {\n const value = rules[key];\n if (!value) {\n return css;\n }\n const properties = (typeof value === \"string\") ? value : joinProperties(value);\n return properties ? css + `${key}{${properties}}` : css;\n }, \"\");\n}\nexport function joinProperties(props) {\n return Object.keys(props).reduce((css, key) => {\n const value = props[key];\n return isNil(value) ? css : css + `${key}:${value};`;\n }, \"\");\n}\nexport function toVar(a, b) {\n return a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\";\n}\n//# sourceMappingURL=css.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = typeof style === \"string\" ? 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 { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = typeof viewBox === \"string\" ? 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","export function deepQuerySelectorAll(selectors, root = document.body) {\n const result = [];\n if (!root || !selectors) {\n return result;\n }\n if (root.shadowRoot) {\n result.push(...deepQuerySelectorAll(selectors, root.shadowRoot));\n }\n const a = root.querySelectorAll(selectors);\n result.push(...Array.from(a));\n for (const child of root.children) {\n result.push(...deepQuerySelectorAll(selectors, child));\n }\n return [...new Set(result)];\n}\nexport function deepQuerySelector(selectors, root = document.body) {\n if (!root || !selectors) {\n return null;\n }\n if (root.shadowRoot) {\n return deepQuerySelector(selectors, root.shadowRoot);\n }\n const a = root.querySelector(selectors);\n if (a) {\n return a;\n }\n for (const child of root.children) {\n const b = deepQuerySelector(selectors, child);\n if (b) {\n return b;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.m = new Map();\n }\n add(src, type, listener, options) {\n const eType = this.m.get(type) || new Map();\n const eElem = eType.get(src) || new Set();\n eElem.add(listener);\n eType.set(src, eElem);\n this.m.set(type, eType);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (listener) {\n const eType = this.m.get(type);\n if (eType) {\n const eElem = eType.get(src);\n if (eElem) {\n eElem.delete(listener);\n if (!eElem.size) {\n eType.delete(src);\n if (!eType.size) {\n this.m.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n }\n removeAll() {\n this.m.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n this.m.delete(type);\n });\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport GodownConfig from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll } from \"./tools/dom.js\";\nimport { Events } from \"./tools/events.js\";\nclass GodownElement extends LitElement {\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 get observedRecord() {\n return Object.fromEntries(this.scopedObservedAttributes.map((key) => [key, this[key]]));\n }\n /**\n * Returns observedAttributes excluding in GodownElement.\n */\n get scopedObservedAttributes() {\n return this.globalObservedAttributes.filter((key) => !GodownElement.observedAttributes.includes(key));\n }\n /**\n * Returns observedAttributes.\n */\n get globalObservedAttributes() {\n return this.constructor.observedAttributes;\n }\n /**\n * No named slot element.\n */\n get _slot() {\n return this.shadowRoot.querySelector(\"slot:not([name])\");\n }\n /**\n * All slot elements.\n */\n get _slotAll() {\n return [...this.shadowRoot.querySelectorAll(\"slot\")];\n }\n /**\n * Slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Named slotted elements' slot attribute.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\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 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 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 (!/^[\\s\\S]*{[\\s\\S]*}$/.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.__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 }\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 deepQuerySelector(selectors) {\n return deepQuerySelector(selectors, this);\n }\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll(selectors, this);\n }\n /**\n * Add styles to shadowRoot.\n *\n * @param styles CSS strings.\n * @returns Index of injected style.\n *\n * @example\n * ```\n * this.applyStyles(\n * \"...\",\n * css`...`,\n * )\n * ```\n */\n adoptStyles(...styles) {\n const stack = this.shadowRoot.adoptedStyleSheets;\n if (styles.length) {\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n }\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 { GodownElement, GodownElement as default };\n//# sourceMappingURL=element.js.map","import { trim } from \"./lib.js\";\nexport class RouteTree {\n constructor() {\n /**\n * Match type of the current part.\n */\n this.matchType = RouteTree.matchType.strict;\n this.children = [];\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 search(parts, height = 0) {\n if (typeof parts === \"string\") {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height ||\n RouteTree.dynamic(this.part).matchType === RouteTree.matchType.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 * Returns 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, carry, matchType: m } = RouteTree.dynamic(part);\n if (m === RouteTree.matchType.single) {\n params[key.slice(carry)] = pathSplit[index];\n }\n else if (m === RouteTree.matchType.multi) {\n params[key.slice(carry)] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * @param key Pattern, may contains dynamic matching parameters.\n */\n static dynamic(key) {\n if (key) {\n if (key.startsWith(\"{\") && key.endsWith(\"}\") ||\n key.startsWith(\"[\") && key.endsWith(\"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.matchType.single;\n return result;\n }\n if (key.length > 1) {\n const s1 = key[0];\n if (s1 === \":\") {\n return {\n key,\n carry: 1,\n matchType: RouteTree.matchType.single,\n };\n }\n if (s1 === \"*\") {\n return {\n key,\n carry: 1,\n matchType: RouteTree.matchType.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key,\n carry: 3,\n matchType: RouteTree.matchType.multi,\n };\n }\n }\n }\n return {\n key: key,\n carry: 0,\n matchType: RouteTree.matchType.strict,\n };\n }\n /**\n * Join paths with \"/\" and remove the leading and trailing \"/\".\n */\n static join(...paths) {\n return paths.map((path) => trim(path, \"/\")).join(\"/\");\n }\n /**\n * Split a path by \"/\" and filter empty parts.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\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}\nRouteTree.matchType = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.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 e,joinProperties as t,GodownElement as n}from\"@godown/element\";import{unsafeCSS as s,css as a}from\"lit\";class GlobalStyle extends n{}const l=e(GlobalStyle.godownConfig.prefix,\"-\");function i(o,r=1){return c(l+\"-\".repeat(r)+o)}function c(o){return s(`--${o}`)}const g={foreground:i(\"foreground\",2),background:i(\"background\",2),clipBackground:i(\"clip-background\",2),active:i(\"active\",2),passive:i(\"passive\",2),_colors:{},input:i(\"input\",2),white:i(\"color-white\",2),black:i(\"color-black\",2)};GlobalStyle.styles=[s(`:host{${g.black}:rgb(0 0 0);${g.white}:rgb(255 255 255);`+r(((o,r,e)=>{g._colors[o]||=[],g._colors[o].push(s(i(\"color\",2)+\"-\"+o+\"-\"+r));const t=`-${o}-${r}`;return`${i(\"color\",2)+t}:rgb(${e});`}),o).join(\"\")+t({[g.background+\"\"]:`var(${g._colors.darkgray[9]})`,[g.foreground+\"\"]:`var(${g._colors.lightgray[0]})`,[g.active+\"\"]:`var(${g._colors.blue[6]})`,[g.passive+\"\"]:`var(${g._colors.darkgray[6]})`,[g.clipBackground+\"\"]:`linear-gradient(to bottom, var(${g.foreground}), var(${g.passive}))`})+\"}\"),a`*{border:0;box-sizing:border-box;font-size:100%;font-style:normal;margin:0;outline:0;padding:0}:host{box-sizing:border-box}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}:where(:host([contents]) [part=root]){all:inherit;display:revert}`];export{GlobalStyle,g as cssGlobalVars,i 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{constructCSSObject as r,toVar as t,godown as e,styles as i,htmlSlot as l,attr as c,htmlStyle as a}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 d from\"@godown/f7-icon/icons/info-circle.js\";import p from\"@godown/f7-icon/icons/lightbulb.js\";import g from\"@godown/f7-icon/icons/question-circle.js\";import h from\"@godown/f7-icon/icons/slash-circle.js\";import m from\"@godown/f7-icon/icons/xmark-circle.js\";import u from\"@godown/f7-icon/icons/xmark.js\";import{css as b,html as v}from\"lit\";import{property as y}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as k,GlobalStyle as w}from\"../core/global-style.js\";const $=\"alert\",_=f($),j=[\"color\",\"background\"].map((o=>`${_}--${o}`)),x=o=>[k._colors[o][5],k._colors[o][9]],q=r(j,{green:x(\"green\"),blue:x(\"blue\"),orange:x(\"orange\"),red:x(\"red\"),yellow:x(\"yellow\"),purple:x(\"purple\"),teal:x(\"teal\"),pink:x(\"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]]},(()=>\":host\"),(o=>t(o))),C=o=>[k._colors[o][6],k._colors[o][0]],E=r(j,{green:C(\"green\"),blue:C(\"blue\"),orange:C(\"orange\"),red:C(\"red\"),yellow:C(\"yellow\"),purple:C(\"purple\"),teal:C(\"teal\"),pink:C(\"pink\"),gray:[k._colors.darkgray[5],k._colors.lightgray[7]],white:[k._colors.lightgray[0],k._colors.darkgray[0]],black:[k._colors.darkgray[7],k._colors.lightgray[3]]},(()=>\":host\"),(o=>t(o))),A={tip:{color:\"teal\",icon:p},success:{color:\"green\",icon:s},info:{color:\"blue\",icon:d},warning:{color:\"orange\",icon:n},danger:{color:\"red\",icon:m},error:{color:\"red\",icon:m},help:{color:\"purple\",icon:g},deprecated:{color:\"gray\",icon:h}};let B=class Alert extends w{constructor(){super(...arguments),this.color=\"blue\",this.autoclose=0,this.hideClose=!1,this.variant=\"dark\"}render(){const o=A[this.call]?.color||this.color,r=this.call?A[this.call].icon():l(\"icon\");return v`<div part=\"root\" ${c(this.observedRecord)}><div part=\"icon\">${r}</div><div part=\"content\"><strong part=\"title\">${this.title||l(\"title\")}</strong> ${this.content||l()}</div>${this.hideClose||\"blockquote\"===this.variant?\"\":v`<div part=\"close\" tabindex=\"0\" @click=\"${this.close}\">${u()}</div>`} ${a(\"dark\"===this.variant?q[o]:E[o])}</div>`}close(){this.remove(),this.dispatchEvent(new CustomEvent(\"close\",{bubbles:!0,composed:!0}))}firstUpdated(){this.autoclose&&setTimeout((()=>this.close()),this.autoclose)}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([y()],B.prototype,\"call\",void 0),o([y()],B.prototype,\"color\",void 0),o([y({type:Number})],B.prototype,\"autoclose\",void 0),o([y()],B.prototype,\"title\",void 0),o([y()],B.prototype,\"content\",void 0),o([y({type:Boolean})],B.prototype,\"hideClose\",void 0),o([y()],B.prototype,\"variant\",void 0),B=o([e($),i(b`:host,:where(:host([contents]) [part=root]){border-radius:var(${_}--border-radius);${_}--border-radius:.25em;${_}--border-width:.075em;${_}--blockquote-width:.2em;${_}--padding:.5em;display:block;width:100%}[part=root]{--color:var(${_}--color);background:var(${_}--background);border:var(${_}--border-width) solid var(--color);border-radius:inherit;color:var(--color);display:flex;justify-content:space-between;padding:var(${_}--padding);transition:.25s;width:100%}[variant=blockquote]{background:0 0;border:none;border-left:var(${_}--blockquote-width) solid var(--color);border-radius:0}[part=content]{color:var(--color)}[part=root]{align-items:center;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr}[part=title]{line-height:2em}[part=icon]{align-items:center;display:inline-grid;height:2em}[part=icon] svg{height:1.25em;margin-right:.5em;width:1.25em}[part=content]{grid-row:span 2/span 2;line-height:1.5em}`)],B);var N=B;export{B as Alert,N as default};\n//# sourceMappingURL=alert.js.map\n","import e from\"./components/alert.js\";export{Alert}from\"./components/alert.js\";e.define();export{e as default};\n//# sourceMappingURL=alert.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,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 h}from\"lit/decorators.js\";import{scopePrefix as d,GlobalStyle as p}from\"../core/global-style.js\";const l=\"avatar\",m=d(l);let c=class Avatar extends p{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.format()}</span>`:a()}format(){return this.name}_handleError(){this.src=void 0}};t([h()],c.prototype,\"src\",void 0),t([h()],c.prototype,\"name\",void 0),t([h({type:Boolean})],c.prototype,\"round\",void 0),c=t([r(l),e(s`:host{${m}--size:2em;height:var(${m}--size);vertical-align:bottom;width:var(${m}--size)}: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;height:100%;justify-content:center;overflow:hidden;position:relative;width:100%}`)],c);var v=c;export{c as Avatar,v as default};\n//# sourceMappingURL=avatar.js.map\n","import a from\"./components/avatar.js\";export{Avatar}from\"./components/avatar.js\";a.define();export{a as default};\n//# sourceMappingURL=avatar.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as r,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as n,GlobalStyle as f}from\"../core/global-style.js\";const l=\"badge\",v=d(l);let c=class Badge 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 s`<div part=\"root\" ${r(this.observedRecord)}>${i()} ${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(l),e(a`:host{${v}--background:var(${n.active});${v}--offset:0%;${v}--offset-x:var(${v}--offset);${v}--offset-y:var(${v}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${v}--background);border-radius:calc(infinity * 1px);font-size:75%;left:var(--left);padding:0 .5em;position:absolute;top:var(--top);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]{--top:calc(var(${v}--offset-y))}[position$=right]{--left:calc(100% - var(${v}--offset-x))}[position^=bottom]{--top:calc(100% - var(${v}--offset-y))}[position$=left]{--left:calc(var(${v}--offset-x))}`)],c);var m=c;export{c as Badge,m as default};\n//# sourceMappingURL=badge.js.map\n","import e from\"./components/badge.js\";export{Badge}from\"./components/badge.js\";e.define();export{e as default};\n//# sourceMappingURL=badge.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as o,attr as e,htmlStyle as i}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as l,cssGlobalVars as c,GlobalStyle as p}from\"../core/global-style.js\";const d=\"breath\",$=l(d);let u=class Breath extends p{render(){const t=this.getTexts();return n`<div part=\"root\" ${e(this.observedRecord)}>${[t.map(this.renderText),i(this._computeStyle(t.length))]}</div>`}renderText(t){return n`<span class=\"rel\"><span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span></span>`}getTexts(){return Array.isArray(this.text)?this.text:(this.text||this.textContent).split(/\\s+/).filter((t=>t))}_computeStyle(t){const r=50/t,o=this.parseDuration()||2*t+2;let e=\"\";for(let r=1;r<=t;r++){e+=`.rel:nth-child(${r}) .colorful{animation-delay:${-o/t*(t-r+1)}s;background:var(${$}--${r},var(${$}--${(r-1)%3+1}));}`}return`.colorful{animation-duration:${o}s;}@keyframes colorfulN{0%,${3*r}%{opacity:0;}${r}%,${2*r}%{opacity:1;}}${e}`}parseDuration(){const{duration:t}=this;if(t){if(t.endsWith(\"s\"))return Number.parseFloat(t.slice(0,-1));if(t.endsWith(\"ms\"))return Number.parseFloat(t.slice(0,-2))/1e3}}};t([s()],u.prototype,\"text\",void 0),t([s()],u.prototype,\"duration\",void 0),u=t([r(d),o(a`: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))}`,a`: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:0 0}.rel{font-size:inherit;font-weight:800;letter-spacing:-.05em;position:relative}`,a`.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 m=u;export{u as Breath,m as default};\n//# sourceMappingURL=breath.js.map\n","import e from\"./components/breath.js\";export{Breath}from\"./components/breath.js\";e.define();export{e as default};\n//# sourceMappingURL=breath.js.map\n","import{__decorate as o}from\"tslib\";import{constructCSSObject as t,toVar as r,part as e,godown as i,styles as a,attr as n,htmlSlot as l,htmlStyle as s}from\"@godown/element\";import{css as d,html as c}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as g,GlobalStyle as u}from\"../core/global-style.js\";const v=\"button\",m=h(v),y=g.white,b=g.black,f=t([\"color\",\"background\",\"gradients\"].map((o=>`${m}--${o}`)),{black:[y,g._colors.darkgray[7],g._colors.darkgray[5]],gray:[y,g._colors.darkgray[1],g._colors.lightgray[8]],white:[b,g._colors.lightgray[3],g._colors.lightgray[0]],blue:[y,g._colors.blue[6],g._colors.blue[4]],green:[y,g._colors.green[6],g._colors.green[4]],red:[y,g._colors.red[6],g._colors.red[4]],orange:[y,g._colors.orange[6],g._colors.orange[4]],pink:[y,g._colors.pink[6],g._colors.pink[4]],purple:[y,g._colors.purple[6],g._colors.purple[4]],yellow:[b,g._colors.yellow[6],g._colors.yellow[4]],teal:[y,g._colors.teal[6],g._colors.teal[4]]},(()=>\":host\"),(o=>r(o)));let $=class Button extends u{constructor(){super(...arguments),this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){const o=this.nextColor();return c`<div part=\"root\" ${n(this.observedRecord)}><span part=\"modal-root\"></span><div part=\"content\">${[this.content||l(),s(f[o])]}</div></div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}firstUpdated(){this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),r=this._root.getBoundingClientRect(),{height:e,width:i}=r,a=2*Math.sqrt(e*e+i*i)+\"px\";t.style.height=a,t.style.width=a,t.style.left=o.clientX-r.left+\"px\",t.style.top=o.clientY-r.y+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([p({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([p({reflect:!0})],$.prototype,\"color\",void 0),o([p()],$.prototype,\"content\",void 0),o([e(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([e(\"root\")],$.prototype,\"_root\",void 0),$=o([i(v),a(d`:host(:not([disabled]):active){transform:scale(var(${m}--focus-scale))}:host([round]){${m}--padding-x:.75em;border-radius:calc(infinity * 1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${m}--modal-background:var(${m}--ghost-color);background:0 0;box-shadow:inset 0 0 0 var(${m}--ghost-width) var(${m}--ghost-color);color:var(${m}--ghost-color)}`,d`:host{${m}--padding-x:.5em;${m}--padding-y:min(calc(var(${m}--padding-x)/2),.25em);${m}--padding:var(${m}--padding-y) var(${m}--padding-x);${m}--modal-animation-duration:1s;${m}--ghost-width:.08em;${m}--focus-scale:.97;${m}--deg:45deg;${m}--ghost-color:var(${m}--background);background:linear-gradient(var(${m}--deg),var(${m}--background),var(${m}--gradients,var(${m}--background)));border-radius:.3em;color:var(${m}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:0!important;text-align:center;transition:.1s;width:-moz-fit-content;width:fit-content}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;height:100%;overflow:hidden;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none;width:100%}[part=content]{padding:var(${m}--padding)}i{animation-duration:var(${m}--modal-animation-duration);background:var(${m}--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(${m}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var _=$;export{$ as Button,_ as default};\n//# sourceMappingURL=button.js.map\n","import o from\"./components/button.js\";export{Button}from\"./components/button.js\";o.define();export{o as default};\n//# sourceMappingURL=button.js.map\n","import{__decorate as r}from\"tslib\";import{godown as o,styles as e,attr as d,htmlSlot as t}from\"@godown/element\";import{css as a,html as i}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as b,cssGlobalVars as n,GlobalStyle as l}from\"../core/global-style.js\";const p=\"card\",h=b(p);let c=class Card extends l{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return i`<div part=\"root\" ${d(this.observedRecord)}>${[this.header?t(\"header\"):\"\",t(),this.footer?t(\"footer\"):\"\"]}</div>`}};r([s({type:Boolean})],c.prototype,\"footer\",void 0),r([s({type:Boolean})],c.prototype,\"header\",void 0),c=r([o(p),e(a`:host{${h}--background:var(${n.background});${h}--border-width:.0375em;${h}--border-color:transparent;${h}--border-background:var(${n.passive});${h}--padding:.75em;background:var(${h}--background);border-width:var(${h}--border-width);box-sizing:border-box;color:var(${n.foreground});display:block;flex-shrink:0;overflow:hidden;position:relative}slot{display:block;padding:var(${h}--padding)}:host,slot{border-color:var(${h}--border-background);border-style:solid}[name=footer]{border-top-width:var(${h}--border-width)}[name=header]{border-bottom-width:var(${h}--border-width)}`)],c);var v=c;export{c as Card,v as default};\n//# sourceMappingURL=card.js.map\n","import o from\"./components/card.js\";export{Card}from\"./components/card.js\";o.define();export{o as default};\n//# sourceMappingURL=card.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 o,attr as s,htmlSlot as r,htmlStyle as n}from\"@godown/element\";import h from\"@godown/f7-icon/icons/chevron-left.js\";import l from\"@godown/f7-icon/icons/chevron-right.js\";import{css as a,html as d}from\"lit\";import{property as c}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let v=class Carousel extends p{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return d`<div part=\"root\" ${s(this.observedRecord)}><i part=\"prev\" @click=\"${this.prev}\">${h()}</i><div part=\"move-root\" style=\"transform:${`translateX(-${this.index+1}00%)`}\">${r()}</div><i part=\"next\" @click=\"${this.next}\">${l()} </i>${n(`:host,:host([contents]) [part=root]{width:${this.width};}`)}</div>`}async firstUpdated(){await this.updateComplete,this.children.length&&(this.width||=`${this.firstElementChild.offsetWidth}px`,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.show(this.index)),this.checkInterval()}disconnectedCallback(){clearInterval(this.intervalID)}show(t){this.index=t,this.dispatchEvent(new CustomEvent(\"change\",{detail:t,composed:!0}))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1),this.checkInterval()}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1),this.checkInterval()}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,e&&(this._moveRoot.style.transition=\"none\"),this._moveRoot.getBoundingClientRect()}checkInterval(){this.autoChange&&(this.intervalID&&clearInterval(this.intervalID),this.intervalID=setInterval((()=>{this.next()}),this.autoChange))}};t([c({type:Number})],v.prototype,\"index\",void 0),t([c({type:Number})],v.prototype,\"autoChange\",void 0),t([c()],v.prototype,\"width\",void 0),t([e(\"move-root\")],v.prototype,\"_moveRoot\",void 0),v=t([i(\"carousel\"),o(a`: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}`)],v);var m=v;export{v as Carousel,m as default};\n//# sourceMappingURL=carousel.js.map\n","import o from\"./components/carousel.js\";export{Carousel}from\"./components/carousel.js\";o.define();export{o as default};\n//# sourceMappingURL=carousel.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.dispatchEvent(new CustomEvent(\"change\",{detail:this.open,composed:!0}))}_handelClick(e){this.toggle()}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{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 r,htmlSlot as e}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as d}from\"../core/global-style.js\";import p from\"../core/super-openable.js\";const c=\"details\",m=d(c);let f=class Details extends p{constructor(){super(...arguments),this.fill=!1,this.summary=\"\"}render(){return n`<dl part=\"root\" ${r(this.observedRecord)}><dt part=\"title\" @click=\"${this._handelClick}\"><span part=\"summary\">${this.summary||e(\"summary\")}</span> <span><i part=\"icon\">${a()}</i></span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height:0\">${e()}</div></dd></dl>`}};t([l({type:Boolean})],f.prototype,\"fill\",void 0),t([l()],f.prototype,\"summary\",void 0),f=t([i(c),o(s`:host{${m}--icon-deg-open:0deg;${m}--icon-deg-close:90deg;${m}--icon-space:0.3em;${m}--summary-direction:row;${m}--transition:.3s;display:block;height:-moz-fit-content;height:fit-content;transition:var(${m}--transition)}[part=root]{height:100%;overflow:hidden;position:relative}[part=title]{align-items:center;background:inherit;direction:ltr;display:flex;flex-direction:var(${m}--summary-direction);flex-wrap:nowrap;height:100%;justify-content:space-between}[part=details]{display:grid;grid-template-rows:0fr;overflow:hidden;transition:var(${m}--transition);transition-property:grid-template-rows}:host([open]) [part=details]{grid-template-rows:1fr}:host([float]) [part=details]{position:absolute;top:100%}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;padding:var(${m}--icon-space);transform:rotate(var(${m}--icon-deg-close));transition:var(${m}--transition)}:host([open]) [part=icon]{transform:rotate(var(${m}--icon-deg-open))}`)],f);var h=f;export{f as Details,h as default};\n//# sourceMappingURL=details.js.map\n","import e from\"./components/details.js\";export{Details}from\"./components/details.js\";e.define();export{e as default};\n//# sourceMappingURL=details.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as e,attr as i,htmlSlot as n}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as r}from\"lit/decorators.js\";import{scopePrefix as a,cssGlobalVars as l}from\"../core/global-style.js\";import h from\"../core/super-openable.js\";const p=\"dialog\",c=a(p);let m=class Dialog extends h{constructor(){super(...arguments),this.direction=\"center\",this.modal=!1,this.key=\"Escape\",this._modalInvoke=!1}render(){return d`<div part=\"root\" ${i(this.observedRecord)}><div part=\"modal\"></div><div part=\"container\">${n()}</div></div>`}showModal(){this.modal||(this.modal=!0,this._modalInvoke=!0),this.show()}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){t.preventDefault();const o=this.key.split(/[\\s,]/);(o.includes(t.key)||o.includes(t.code))&&this.close()}_handelSubmit(t){\"dialog\"===t.target.method&&this.close()}close(){this._modalInvoke&&(this.modal=!1,this._modalInvoke=!1),this.open=!1}};t([r()],m.prototype,\"direction\",void 0),t([r({type:Boolean,reflect:!0})],m.prototype,\"modal\",void 0),t([r()],m.prototype,\"key\",void 0),m=t([o(p),e(s`:host{${c}--background:none;${c}--background-modal:var(${l.background});${c}--opacity-modal:0.2;background:var(${c}--background);inset:0;pointer-events:none;position:fixed;visibility:hidden;z-index:1}:host([open]){visibility:visible}:host([open][modal]) [part=modal]{opacity:var(${c}--opacity-modal);pointer-events:all;visibility:visible}[part=modal]{background:var(${c}--background-modal);height:100%;opacity:0;position:absolute;visibility:hidden;width:100%}[part=root]{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}[part=container]{pointer-events:all;position:absolute}[direction^=top] [part=container]{top:0}[direction^=bottom] [part=container]{bottom:0}[direction$=right] [part=container]{right:0}[direction$=left] [part=container]{left:0}`)],m);var v=m;export{m as Dialog,v as default};\n//# sourceMappingURL=dialog.js.map\n","import o from\"./components/dialog.js\";export{Dialog}from\"./components/dialog.js\";o.define();export{o as default};\n//# sourceMappingURL=dialog.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as r,attr as e}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{GlobalStyle as s}from\"../core/global-style.js\";let d=class Divider extends s{constructor(){super(...arguments),this.vertical=!1}render(){return a`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([l({type:Boolean,reflect:!0})],d.prototype,\"vertical\",void 0),d=t([o(\"divider\"),r(i`:host{background:currentColor;display:block;height:.05em;margin:auto;width:100%}:host([vertical]){height:max(1em,100%);width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],d);var c=d;export{d as Divider,c as default};\n//# sourceMappingURL=divider.js.map\n","import e from\"./components/divider.js\";export{Divider}from\"./components/divider.js\";e.define();export{e as default};\n//# sourceMappingURL=divider.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 h,html as r}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let f=class Dragbox extends n{constructor(){super(...arguments),this.drag=!1,this.x=\"auto\",this.y=\"auto\"}get offsetsWidth(){return this.offsetParent?.clientWidth??document.body.offsetWidth}get offsetsHeight(){return this.offsetParent?.clientHeight??document.body.offsetHeight}render(){return r`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\" @mouseup=\"${this._handleDragEnd}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.cx=t.clientX,this.cy=t.clientY,this.t=this.offsetTop,this.l=this.offsetLeft,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))}_handleDragEnd(){this.drag=!1,this.events.remove(document,\"mousemove\",this._handleMouseMove),this.events.remove(document,\"mouseleave\",this._handleMouseLeave)}_handleDrag(t){if(!this.drag)return;const e=t.clientX-(this.cx-this.l),s=t.clientY-(this.cy-this.t),{style:o,offsetsWidth:i,offsetsHeight:h,offsetWidth:r,offsetHeight:d}=this;o.left=e<0?\"0\":e<i-r?`${e}px`:i-r+'\"px\"',o.top=s<0?\"0\":s<h-d?`${s}px`:h-d+\"px\"}reset(){const{x:t,y:e,style:s,offsetsWidth:o,offsetsHeight:i,offsetWidth:h,offsetHeight:r,offsetLeft:d,offsetTop:n}=this;s.left=t||\"0\",s.top=e||\"0\",d>o-h&&(s.left=o-h+\"px\"),n>i-r&&(s.top=i-r+\"px\")}};t([d()],f.prototype,\"x\",void 0),t([d()],f.prototype,\"y\",void 0),f=t([e(\"dragbox\"),s(h`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],f);var a=f;export{f as Dragbox,a as default};\n//# sourceMappingURL=dragbox.js.map\n","import o from\"./components/dragbox.js\";export{Dragbox}from\"./components/dragbox.js\";o.define();export{o as default};\n//# sourceMappingURL=dragbox.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 a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Flex extends d{constructor(){super(...arguments),this.vertical=!1}render(){return a`<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([n({attribute:\"flex-flow\"})],c.prototype,\"flexFlow\",void 0),t([n()],c.prototype,\"gap\",void 0),t([n()],c.prototype,\"content\",void 0),t([n()],c.prototype,\"items\",void 0),t([n({type:Boolean})],c.prototype,\"vertical\",void 0),c=t([o(\"flex\"),e(p`:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}`)],c);var f=c;export{c as Flex,f as default};\n//# sourceMappingURL=flex.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as s,htmlSlot as o}from\"@godown/element\";import{css as a}from\"lit\";import{property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../core/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 o()}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,o]=s.namevalue();e&&(t[e]=o)}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(a`:host{display:block}`)],n);var m=n;export{n as Form,m as default};\n//# sourceMappingURL=form.js.map\n","import e from\"./components/flex.js\";export{Flex}from\"./components/flex.js\";e.define();export{e as default};\n//# sourceMappingURL=flex.js.map\n","import o from\"./components/form.js\";export{Form}from\"./components/form.js\";o.define();export{o as default};\n//# sourceMappingURL=form.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 l,html as m}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";let c=class Grid extends n{render(){return m`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":d(this.columns)?`repeat(${this.columns},1fr)`:this.columns,\"grid-template-rows\":d(this.rows)?`repeat(${this.rows},1fr)`:this.rows,\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([a()],c.prototype,\"gap\",void 0),t([a()],c.prototype,\"columns\",void 0),t([a()],c.prototype,\"rows\",void 0),t([a()],c.prototype,\"content\",void 0),t([a()],c.prototype,\"items\",void 0),c=t([o(\"grid\"),r(l`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],c);var h=c;export{c as Grid,h as default};\n//# sourceMappingURL=grid.js.map\n","import o from\"./components/grid.js\";export{Grid}from\"./components/grid.js\";o.define();export{o as default};\n//# sourceMappingURL=grid.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,attr as i,htmlSlot as o}from\"@godown/element\";import{css as h,html as a,nothing as s}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let c=class Heading extends d{constructor(){super(...arguments),this.as=\"h1\",this.anchor=\"#\",this.side=\"left\"}render(){return a`<a part=\"root\" href=\"${this.id?\"#\"+this.id:s}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?a`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return a`<h2>${t}</h2>`;case\"h3\":return a`<h3>${t}</h3>`;case\"h4\":return a`<h4>${t}</h4>`;case\"h5\":return a`<h5>${t}</h5>`;case\"h6\":return a`<h6>${t}</h6>`;default:return a`<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(h`: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 p=c;export{c as Heading,p as default};\n//# sourceMappingURL=heading.js.map\n","import e from\"./components/heading.js\";export{Heading}from\"./components/heading.js\";e.define();export{e as default};\n//# sourceMappingURL=heading.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,htmlSlot as n}from\"@godown/element\";import o from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as s,html as a}from\"lit\";import{property as p}from\"lit/decorators.js\";import{cssGlobalVars as r,GlobalStyle as u}from\"./global-style.js\";const l=s`.input-field{align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:0 0;color:inherit;height:100%;padding:0 var(${r.input}-space);width:100%}.input-field.outline,.input-field:focus-within{box-shadow:var(${r.input}-box-shadow)}.input-field [part=icon]{align-items:center;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(${r.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${r.input}-space)}`,d=s`:host{${r.input}-width:10em;${r.input}-height:1.6em;${r.input}-space:.2em;${r.input}-background:var(${r.background});${r.input}-control:var(${r.foreground});${r.input}-control-edge:var(${r.active});${r.input}-radius:.2em;${r.input}-box-shadow:0 0 0 .1em var(${r.active});border-radius:var(${r.input}-radius)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let h=class SuperInput extends u{constructor(){super(...arguments),this.autofocus=!1,this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}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.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!0})))}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 a`<label for=\"${this.makeId}\" part=\"prefix\">${n(\"prefix\")}</label>`}_renderSuffix(){const t=\"password\";return a`<label for=\"${this.makeId}\" part=\"suffix\">${\"password\"===this.type?a`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${o()}</i>`:n(\"suffix\")}</label>`}};t([p()],h.prototype,\"autocomplete\",void 0),t([p({type:Boolean,reflect:!0})],h.prototype,\"disabled\",void 0),t([p({reflect:!0})],h.prototype,\"type\",void 0),t([p({reflect:!0})],h.prototype,\"placeholder\",void 0),t([p({reflect:!0})],h.prototype,\"name\",void 0),t([p()],h.prototype,\"value\",void 0),t([p()],h.prototype,\"default\",void 0),t([e(\"input\")],h.prototype,\"_input\",void 0),h=t([i(l,d)],h);var c=h;export{c as default};\n//# sourceMappingURL=super-input.js.map\n","import{__decorate as t}from\"tslib\";import{part as i,godown as e,styles as r,attr as o,classList as a}from\"@godown/element\";import{css as s,html as u,nothing as p}from\"lit\";import{property as d}from\"lit/decorators.js\";import{cssGlobalVars as l}from\"../core/global-style.js\";import n from\"../core/super-input.js\";let h=class Input extends n{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\"}render(){return u`<div part=\"root\" ${o(this.observedRecord)} class=\"${a(\"input-field\",this.variant)}\">${[this._renderPrefix(),u`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||p}\" autocomplete=\"${this.autocomplete||p}\" placeholder=\"${this.placeholder||p}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\">`,this._renderSuffix()]}</div>`}reset(){this._input.value=this.default,this.value=this.default}};t([d()],h.prototype,\"variant\",void 0),t([i(\"input\")],h.prototype,\"_input\",void 0),h=t([e(\"input\"),r(s`:host{background:var(${l.input}-background);border-radius:var(${l.input}-radius);color:var(${l.foreground});display:block;height:var(${l.input}-height);width:var(${l.input}-width)}`)],h);var c=h;export{h as Input,c as default};\n//# sourceMappingURL=input.js.map\n","import o from\"./components/input.js\";export{Input}from\"./components/input.js\";o.define();export{o as default};\n//# sourceMappingURL=input.js.map\n","import{__decorate as o}from\"tslib\";import{godown as t,styles as e,attr as r,htmlSlot as i}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as s}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let d=class Layout extends p{constructor(){super(...arguments),this.noHeader=!1,this.noFooter=!1,this.sticky=!1}render(){return n`<div part=\"root\" ${r(this.observedRecord)}>${this.noHeader?\"\":n`<header part=\"header\">${i(\"header\")}</header>`}<main part=\"main\">${i()}</main>${this.noFooter?\"\":n`<footer part=\"footer\">${i(\"footer\")}</footer>`}</div>`}};o([s({type:Boolean})],d.prototype,\"noHeader\",void 0),o([s({type:Boolean})],d.prototype,\"noFooter\",void 0),o([s({type:Boolean})],d.prototype,\"sticky\",void 0),d=o([t(\"layout\"),e(a`:host,:host([contents]) [part=root]{display:flex;flex-direction:column;min-height:100%}[part=root]{display:contents}[sticky] header{position:sticky;top:0;z-index:1}[part=main]{flex:1;position:relative;width:100%}footer,header,main{width:100%}`)],d);var l=d;export{d as Layout,l as default};\n//# sourceMappingURL=layout.js.map\n","import o from\"./components/layout.js\";export{Layout}from\"./components/layout.js\";o.define();export{o as default};\n//# sourceMappingURL=layout.js.map\n","import{__decorate as r}from\"tslib\";import{styles as t,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,html as l,nothing as s}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as n}from\"./global-style.js\";let c=class SuperAnchor extends n{constructor(){super(...arguments),this.href=void 0,this.target=\"_self\"}render(){return l`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||s}\" target=\"${this.target}\" @click=\"${this._handleClick}\">${e()}</a>`}_handleClick(r){}};r([a()],c.prototype,\"href\",void 0),r([a()],c.prototype,\"target\",void 0),c=r([t(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;width:100%}`)],c);var h=c;export{h 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 n}from\"@godown/element\";import{css as i}from\"lit\";import{state as h,property as r}from\"lit/decorators.js\";import{GlobalStyle as l}from\"../core/global-style.js\";var c;let p=c=class Router extends l{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=\"united\",this.cache=!1,this.routeChangeCallback=null,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return 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(){if(this.cache){const t=this.__cacheRecord.get(this.pathname);if(t)return Object.assign(this,t),this.component}switch(this.type){case\"field\":this.component=this.fieldComponent();break;case\"slotted\":this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){if(super.connectedCallback(),c.routerInstances.add(this),\"field\"!==this.type){new MutationObserver(this.collectSlottedRoutes).observe(this,{attributeFilter:[\"slot\"],attributes:!0,subtree:!0}),this.collectSlottedRoutes()}}disconnectedCallback(){super.disconnectedCallback(),c.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(),e=!this.__cacheRecord.has(this.pathname);e&&this.__cacheRecord.set(this.pathname,t),this.routeChangeCallback?.(t,e),this.dispatchEvent(new CustomEvent(\"change\",{detail: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?.(n(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()}))}};p.routerInstances=new Set,t([h()],p.prototype,\"component\",void 0),t([h()],p.prototype,\"path\",void 0),t([r()],p.prototype,\"pathname\",void 0),t([h()],p.prototype,\"default\",void 0),t([r()],p.prototype,\"type\",void 0),t([r({type:Boolean})],p.prototype,\"cache\",void 0),t([h()],p.prototype,\"routes\",null),p=c=t([e(\"router\"),s(i`:host{display:contents}`)],p);var d=p;export{p as Router,d as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as r}from\"lit/decorators.js\";import o from\"../core/super-anchor.js\";import s from\"./router.js\";let p=class Link extends o{constructor(){super(...arguments),this.type=\"normal\",this.suppress=!1}_handleClick(t){\"push\"!==this.type&&\"replace\"!==this.type||(t.preventDefault(),history[`${this.type}State`](null,\"\",this.href),this.suppress||s.updateAll())}};t([r()],p.prototype,\"type\",void 0),t([r({type:Boolean})],p.prototype,\"suppress\",void 0),p=t([e(\"link\")],p);var i=p;export{p as Link,i as default};\n//# sourceMappingURL=link.js.map\n","import o from\"./components/link.js\";export{Link}from\"./components/link.js\";o.define();export{o as default};\n//# sourceMappingURL=link.js.map\n","import{__decorate as t}from\"tslib\";import{godown as r,styles as e,isNil as i,attr as o}from\"@godown/element\";import{css as s,html as a}from\"lit\";import{property as n}from\"lit/decorators.js\";import{cssGlobalVars as l,GlobalStyle as p}from\"../core/global-style.js\";let d=class Progress extends p{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;return i(this.value)||(r=this.parsePercent(this.value),t=\"static\"),a`<div part=\"root\" ${o(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}\"></i></div>`}parsePercent(t=\"0\"){return String(t).includes(\"%\")?parseFloat(String(t)):parseFloat(String(t))/(this.max-this.min)*100}};t([n({type:Number})],d.prototype,\"max\",void 0),t([n({type:Number})],d.prototype,\"min\",void 0),t([n({type:Number})],d.prototype,\"value\",void 0),d=t([r(\"progress\"),e(s`:host{background:var(${l.passive});border-radius:.25em;color:var(${l.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;height:inherit;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}`)],d);var m=d;export{d as Progress,m as default};\n//# sourceMappingURL=progress.js.map\n","import o from\"./components/progress.js\";export{Progress}from\"./components/progress.js\";o.define();export{o as default};\n//# sourceMappingURL=progress.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as r,styles as a,attr as s,joinProperties as i,classList as o,isNil as n}from\"@godown/element\";import{css as h,html as l}from\"lit\";import{property as u,queryAll as d,state as c}from\"lit/decorators.js\";import{scopePrefix as v,cssGlobalVars as p}from\"../core/global-style.js\";import m from\"../core/super-input.js\";const f=\"range\",g=v(f);let w=class Range extends m{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this._focusStack=[]}get reverse(){return!!this.range&&this.value[0]>this.value[1]}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}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this.max-this.min;return l`<div part=\"root\" ${s(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${i({\"--from\":(e-this.min)/a*100+\"%\",\"--to\":(r-this.min)/a*100+\"%\",...this.range?Object.fromEntries(t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))):{}})}\"><div part=\"track\"></div>${this.range?this.value.map(((t,e)=>this.renderHandle(e))):this.renderHandle(0)}</div>`}renderHandle(t){const{range:e}=this,r=!e||t===this.value.length-1;return l`<i tabindex=\"0\" part=\"handle\" class=\"${o({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${this.disabled?null:this.createMouseDown(t)}\" @focus=\"${this.disabled?null:()=>this.focusHandle(t)}\" @blur=\"${this.disabled?null:this.blurHandle}\" style=\"z-index:${this._focusStack.indexOf(t)+1};--handle:var(--${!e&&r?\"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))),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t}))}blurHandle(){this.lastFocus=void 0,this._keydownEvent=this.events.remove(document,\"keydown\",this._keydownEvent),this.dispatchEvent(new CustomEvent(\"blur\"))}createKeydownEvent(t){return this.range||(t=0),e=>{\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)((t=>t-this.step))):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)((t=>t+this.step)))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=\"number\"==typeof e?this.normalizeValue(e):e(this.rangeValue[t]);let a=r;this.range&&(a=[...this.rangeValue],a[t]=r),this.value=a,this.dispatchEvent(new CustomEvent(\"range\",{detail:this.value}))}}_computeValue(t){const e=this._root.getBoundingClientRect(),r=this.vertical?(t.clientY-e.top)/e.height:(t.clientX-e.left)/e.width,a=Math.round(r*(this.max-this.min)/this.step)*this.step;return this.normalizeValue(a)}normalizeValue(t){return t>this.max?t-=this.step:t<this.min&&(t+=this.step),t}_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.max||r<this.min||t?.call(this,r)}}_connectedInit(){const t=this.max-this.min;this.step||=t/100,n(this.value)&&(n(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([u({type:Number})],w.prototype,\"min\",void 0),t([u({type:Number})],w.prototype,\"max\",void 0),t([u({type:Number})],w.prototype,\"step\",void 0),t([u({type:Boolean,reflect:!0})],w.prototype,\"vertical\",void 0),t([u({type:Array})],w.prototype,\"value\",void 0),t([u({type:Array})],w.prototype,\"default\",void 0),t([e(\"root\")],w.prototype,\"_root\",void 0),t([d(\"[part=handle]\")],w.prototype,\"_handles\",void 0),t([c()],w.prototype,\"lastFocus\",void 0),w=t([r(f),a(h`:host{${g}--handle-active:var(${p.active});${g}--track-width:.5em;${g}--length:var(${p.input}-width);background:var(${p.input}-background);display:block;width:var(${g}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${g}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${g}--handle-scale:1.05;background:var(${g}--handle-active)}[part=root]{position:relative;width:100%;--from:0%;--to:50%;height:var(${g}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${p.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(${p.active});border:.1em solid;border-color:var(${p.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${g}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,h`[vertical]{height:inherit;width:var(${g}--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%}`,h`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],w);var y=w;export{w as Range,y as default};\n//# sourceMappingURL=range.js.map\n","import e from\"./components/range.js\";export{Range}from\"./components/range.js\";e.define();export{e as default};\n//# sourceMappingURL=range.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\"../core/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=rotate.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as n}from\"@godown/element\";import l from\"@godown/f7-icon/icons/chevron-down.js\";import{css as h,html as a,nothing as r}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";function d(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function f(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let v=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this._store=[]}render(){return a`<div part=\"root\" ${s({...this.observedRecord,direction:this.direction||this.autoDirection})} class=\"input-field\">${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||r}\" autocomplete=\"${this.autocomplete||r}\" placeholder=\"${this.placeholder||r}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\">`,a`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${l()}</i></label>`,a`<label for=\"${this.makeId}\" part=\"content\">${n()}</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||f(this.lastChecked,0),f(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=>{f(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=>f(t,0))),this.defaultChecked.forEach((t=>f(t,1)))}select(t,e){e||=t;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.dispatchEvent(new CustomEvent(\"select\",{detail:this.value,composed:!0})),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||d(this.optionValue(e),t)||d(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.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,bubbles:!0})),this.dispatchEvent(new CustomEvent(\"change\",{detail:this.value,composed:!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()],v.prototype,\"text\",void 0),t([e(\"content\")],v.prototype,\"_content\",void 0),t([c()],v.prototype,\"direction\",void 0),t([c({type:Boolean})],v.prototype,\"multiple\",void 0),t([c({type:Boolean})],v.prototype,\"visible\",void 0),t([u()],v.prototype,\"autoDirection\",void 0),v=t([i(\"select\"),o(h`[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[direction=bottom] [part=content]{top:100%}[direction=top] [part=content]{bottom:100%}[visible] [part=content]{visibility:visible}`)],v);var m=v;export{v as Select,m as default};\n//# sourceMappingURL=select.js.map\n","import o from\"./components/rotate.js\";export{Rotate}from\"./components/rotate.js\";o.define();export{o as default};\n//# sourceMappingURL=rotate.js.map\n","import o from\"./components/router.js\";export{Router}from\"./components/router.js\";o.define();export{o as default};\n//# sourceMappingURL=router.js.map\n","import e from\"./components/select.js\";export{Select}from\"./components/select.js\";e.define();export{e as default};\n//# sourceMappingURL=select.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 g}from\"../core/global-style.js\";const l=\"skeleton\",v=p(l);let $=class Skeleton extends g{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(l),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;height:100%;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=skeleton.js.map\n","import e from\"./components/skeleton.js\";export{Skeleton}from\"./components/skeleton.js\";e.define();export{e as default};\n//# sourceMappingURL=skeleton.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as r,attr as i,classList as s}from\"@godown/element\";import{css as n,html as u}from\"lit\";import{property as o,state as l}from\"lit/decorators.js\";import{scopePrefix as c,cssGlobalVars as a}from\"../core/global-style.js\";import h from\"../core/super-input.js\";const p=\"split\",d=c(p);let b=class Split extends h{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[]}render(){return u`<div part=\"root\" ${i(this.observedRecord)}>${((t,e)=>{const r=new Array(t);for(let i=0;i<t;i++)r[i]=e(i);return r})(this.len,(t=>u`<span part=\"input-box\" class=\"${s({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}\" .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.dispatchEvent(new CustomEvent(\"input\",{detail:this.value,composed:!0,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(),this.dispatchEvent(new CustomEvent(\"focus\",{detail:t,bubbles:!0,composed:!0}))}blur(){this._input.blur(),this.current=-1,super.blur(),this.dispatchEvent(new CustomEvent(\"blur\",{bubbles:!0,composed:!0}))}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([o({type:Number})],b.prototype,\"len\",void 0),t([o({type:Number})],b.prototype,\"index\",void 0),t([l()],b.prototype,\"current\",void 0),t([l()],b.prototype,\"currentValue\",void 0),b=t([e(p),r(n`:host{border-radius:1px;color:var(${a.foreground});display:block;width:-moz-fit-content;width:fit-content;${d}--size:1.45em;${d}--gap:.25em}:host([contents]) [part=root]{width:-moz-fit-content;width:fit-content}[part=root]{display:flex;gap:var(${d}--gap);justify-content:space-between;position:relative;width:100%}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{background-color:var(${a.input}-background);height:var(${d}--size);text-align:center;width:var(${d}--size)}[part=input]{background:0 0;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus{box-shadow:var(${a.input}-box-shadow)}`)],b);var f=b;export{b as Split,f as default};\n//# sourceMappingURL=split.js.map\n","import o from\"./components/split.js\";export{Split}from\"./components/split.js\";o.define();export{o as default};\n//# sourceMappingURL=split.js.map\n","import{__decorate as e}from\"tslib\";import{godown as t,styles as i,attr as r}from\"@godown/element\";import{css as a,html as o}from\"lit\";import{property as n,query as d}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as h}from\"../core/global-style.js\";import c from\"../core/super-input.js\";const p=\"switch\",l=s(p);let u=class Switch extends c{constructor(){super(...arguments),this.round=!1,this.checked=!1,this.disabled=!1,this.default=\"false\",this.value=\"on\"}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"${this.round?\"round\":\"rect\"}\"><input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.checked}\" name=\"${this.name}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"> <span part=\"handle\" class=\"${this.checked}\"></span></div>`}reset(){this.checked=\"true\"===this.default,this._input.checked=this.checked}connectedCallback(){super.connectedCallback(),this.checked&&(this.default=\"true\"),\"true\"===this.default&&(this.checked=!0)}_handleChange(){this.checked=this._input.checked,this.dispatchEvent(new CustomEvent(\"change\",{detail:this.checked,composed:!0}))}namevalue(){return[this.name,this.checked]}};e([n({type:Boolean,reflect:!0})],u.prototype,\"round\",void 0),e([n({type:Boolean,reflect:!0})],u.prototype,\"checked\",void 0),e([n({type:Boolean,reflect:!0})],u.prototype,\"disabled\",void 0),e([n()],u.prototype,\"default\",void 0),e([n()],u.prototype,\"value\",void 0),e([d(\"input\")],u.prototype,\"_input\",void 0),u=e([t(p),i(a`:host,:host([contents]) [part=root]{display:inline-block;height:var(${l}-height);width:var(${l}-width)}:host{${l}-width:3em;${l}-height:calc(var(${l}-width)/2);${l}-handle-size:1.25em;${l}-handle-space:.125em;${l}-transition:.2s ease-in-out;background:var(${h.input}-background);border-radius:0;vertical-align:bottom}[part=handle],[part=root]{transition:var(${l}-transition)}[part=root]{border-radius:inherit;height:inherit;position:relative}[part=input]{-webkit-appearance:none;appearance:none;height:100%;opacity:0;width:100%}[part=handle]{align-items:center;border-radius:inherit;display:inline-flex;height:100%;justify-content:center;left:0;pointer-events:none;position:absolute;width:50%}:host([round]){background:var(${h.passive});border-radius:calc(var(${l}-height)/2)}:host([checked]) [part=handle]{left:50%}.rect .true{background:var(${h.active})}.rect .false{background:var(${h.passive})}.round [part=handle]{--size:var(${l}-handle-size);background:var(--godown--input-control);border-radius:100%;height:var(--size);margin:var(${l}-handle-space);width:var(--size)}:host([checked]) .round{background:var(${h.active})}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=switch.js.map\n","import o from\"./components/switch.js\";export{Switch}from\"./components/switch.js\";o.define();export{o as default};\n//# sourceMappingURL=switch.js.map\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as e,attr as t,classList 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 d}from\"../core/global-style.js\";const v=\"text\",h=p(v);let u=class Text extends d{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()],u.prototype,\"underline\",void 0),o([c({type:Boolean})],u.prototype,\"clip\",void 0),u=o([r(v),e(n`:host{${h}--color:currentColor;${h}--color-hover:currentColor;${h}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${h}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap;width:100%}[part=root]:hover{color:var(${h}--color-hover,var(${h}--color))}[part=root]:active{color:var(${h}--color-active,var(${h}--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}`)],u);var w=u;export{u as Text,w as default};\n//# sourceMappingURL=text.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 t from\"./components/text.js\";export{Text}from\"./components/text.js\";t.define();export{t as default};\n//# sourceMappingURL=text.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 r,html as m}from\"lit\";import{property as a}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";let h=class Time extends p{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss UTFZ\",this.time=new Date}render(){return m`<span part=\"root\" ${o(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}firstUpdated(){this.timeout&&(this.timeoutId=this.startTimeout())}updated(t){t.has(\"timeout\")&&(clearInterval(this.timeoutId),this.timeout&&(this.timeoutId=this.startTimeout()))}disconnectedCallback(){clearInterval(this.timeoutId)}startTimeout(){return setInterval((()=>{this.dispatchEvent(new CustomEvent(\"time\",{detail:this.time,composed:!0})),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))}};t([a()],h.prototype,\"escape\",void 0),t([a()],h.prototype,\"format\",void 0),t([a({type:Object})],h.prototype,\"time\",void 0),t([a({type:Number})],h.prototype,\"timeout\",void 0),t([a({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),i(r`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.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{css as n,html as p}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";var d;const c=\"tooltip\",h=a(c);let f=d=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=d.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return p`<div part=\"root\" ${e(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}\">${r()}<div part=\"tip\">${this.tip?p`<span class=\"passive\">${this.tip}</span>`:r(\"tip\")}</div></div>`}};f.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([s()],f.prototype,\"tip\",void 0),t([s()],f.prototype,\"direction\",void 0),t([s()],f.prototype,\"align\",void 0),t([s({type:Boolean})],f.prototype,\"propagation\",void 0),t([s()],f.prototype,\"type\",void 0),f=d=t([i(c),o(n`:host{${h}--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(${h}--tip-background)}[propagation] [part=tip]{pointer-events:none}`,n`[direction^=top] [part=tip]{bottom:100%}[direction^=bottom] [part=tip]{top:100%}[direction$=right] [part=tip]{left:100%}[direction$=left] [part=tip]{right:100%}`)],f);var u=f;export{f as Tooltip,u as default};\n//# sourceMappingURL=tooltip.js.map\n","import e from\"./components/time.js\";export{Time}from\"./components/time.js\";e.define();export{e as default};\n//# sourceMappingURL=time.js.map\n","import o from\"./components/tooltip.js\";export{Tooltip}from\"./components/tooltip.js\";o.define();export{o as default};\n//# sourceMappingURL=tooltip.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o,htmlSlot as n,random as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as p,query as l}from\"lit/decorators.js\";import{scopePrefix as a,GlobalStyle as m}from\"../core/global-style.js\";const c=\"typewriter\",y=a(c);let u=class Typewriter extends m{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>`}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchEvent(new CustomEvent(this.index===this.len?\"done\":\"write\",{detail:this.contentInternal}))}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||r(this.max,this.min);this.timeoutID=setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e)}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([h()],u.prototype,\"content\",void 0),t([h({type:Boolean})],u.prototype,\"ended\",void 0),t([h({type:Number})],u.prototype,\"max\",void 0),t([h({type:Number})],u.prototype,\"min\",void 0),t([h({type:Number})],u.prototype,\"delay\",void 0),t([h({type:Number})],u.prototype,\"index\",void 0),t([p()],u.prototype,\"contentInternal\",void 0),t([l(\"i\")],u.prototype,\"_i\",void 0),u=t([e(c),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=typewriter.js.map\n","import e from\"./components/typewriter.js\";export{Typewriter}from\"./components/typewriter.js\";e.define();export{e as default};\n//# sourceMappingURL=typewriter.js.map\n"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","SuppressedError","isNil","value","isNumerical","isNaN","trimRight","s","spec","end","slice","trimLeft","start","trim","omit","obj","keys","reduce","acc","includes","separator","styles","constructor","protoStyles","superClass","getPrototypeOf","push","godown","name","option","replace","toLowerCase","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","undefined","ShadyCSS","nativeShadow","Document","prototype","CSSStyleSheet","Symbol","o","WeakMap","n$5","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","a","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","Array","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$2","b","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","isArray","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","addController","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","shadowRoot","attachShadow","shadowRootOptions","adoptedStyleSheets","map","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","hostUpdated","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","part","partName","cache","query","i$3","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","updateAttribute","element","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","noChange","PartType","svgAttr","attrDirective","withInitials","width","height","xmlns","append","classList","args","cur","join","s1","entries","acc1","htmlSlot","slotChange","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","index","joinRules","css","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","deepQuerySelectorAll","selectors","root","result","querySelectorAll","from","child","children","deepQuerySelector","Events","m","src","listener","options","eType","eElem","addEventListener","remove","removeEventListener","removeAll","typeMap","eventListeners","clear","GodownElement","LitElement","isDefined","getDefined","observedRecord","fromEntries","scopedObservedAttributes","globalObservedAttributes","filter","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","v","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","sx","test","splice","adoptStyles","lazy","events","assign","mount","arg","unmount","remount","stack","sheet","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","getName","find","whenDefined","upgrade","property","RouteTree","matchType","strict","insert","pattern","parts","split","findStrict","dynamic","sorted","search","sort","multi","filterWide","parseParams","path","pathSplit","patternSplit","params","carry","single","startsWith","endsWith","paths","n$2","d$b","p$8","g$2","h$a","m$b","u$5","rgb","g","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","repeat","foreground","background","clipBackground","active","passive","_colors","input","white","black","fn","flatMap","k","$","_","j","x","q","gray","C","E","A","tip","color","success","info","warning","danger","error","help","deprecated","B","Alert","w","autoclose","hideClose","variant","title","content","close","bubbles","setTimeout","alert","N","Avatar","round","_renderAvatar","_handleError","format","Badge","position","dot","max","formatValue","Breath","getTexts","renderText","_computeStyle","text","parseDuration","duration","parseFloat","Button","disabled","ghost","nextColor","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","Math","sqrt","left","clientX","top","clientY","animationName","_modalRoot","once","Card","footer","header","h$8","l$5","Carousel","autoChange","prev","next","offsetWidth","_cloneFirst","_cloneLast","cloneNode","lastElementChild","insertBefore","show","checkInterval","clearInterval","intervalID","childElementCount","_doTranslateX","_moveRoot","transform","transition","setInterval","l$4","SuperOpenable","open","toggle","Details","fill","summary","Dialog","direction","modal","_modalInvoke","showModal","_submitEvent","_handelSubmit","_keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","drag","offsetsWidth","offsetParent","clientWidth","offsetsHeight","clientHeight","offsetHeight","_handleDragStart","_handleDragEnd","reset","cx","cy","offsetTop","offsetLeft","_handleMouseMove","_handleDrag","_handleMouseLeave","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","SuperInput","autofocus","compositing","makeId","random","defaultValue","default","_input","_handleInput","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","Input","autocapitalize","autocomplete","placeholder","Layout","noHeader","noFooter","sticky","SuperAnchor","href","_handleClick","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","pathname","location","routeChangeCallback","handlePopstate","window","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","MutationObserver","collectSlottedRoutes","observe","attributeFilter","subtree","useRouter","updateAll","Link","suppress","history","Progress","min","parsePercent","Range","_focusStack","range","rangeValue","padValue","concat","_handleMousedownRoot","renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","indexOf","_handles","item","createKeydownEvent","createSetValue","step","createMousedownListener","normalizeValue","_computeValue","abs","createMousemoveListener","toSorted","createDocumentFragment","Rotate","_handleRotate","removeProperty","rotateX","rotateY","_computeOffset","setProperty","Select","multiple","visible","autoDirection","_store","_handleFocus","bottom","innerHeight","_content","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","len","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","_handleChange","Text","underline","clip","formatNumber","Time","escape","time","Date","fmt","_a","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","startTimeout","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop","clearTimeout"],"mappings":";;;;;uGAsDO,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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