godown 3.8.2 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/godown+lit.iife.js +12 -12
- package/build/godown+lit.iife.js.map +1 -1
- package/build/godown+lit.js +12 -12
- package/build/godown+lit.js.map +1 -1
- package/build/godown+lit.umd.js +12 -12
- package/build/godown+lit.umd.js.map +1 -1
- package/build/godown.iife.js +10 -10
- package/build/godown.js +10 -10
- package/build/godown.js.map +1 -1
- package/build/godown.umd.js +10 -10
- package/build/godown.umd.js.map +1 -1
- package/components/alert.d.ts +1 -0
- package/components/alert.d.ts.map +1 -1
- package/components/alert.js +1 -1
- package/components/alert.js.map +1 -1
- package/components/avatar.d.ts.map +1 -1
- package/components/avatar.js +1 -1
- package/components/avatar.js.map +1 -1
- package/components/button.d.ts +4 -4
- package/components/button.d.ts.map +1 -1
- package/components/button.js +1 -1
- package/components/button.js.map +1 -1
- package/components/carousel.d.ts.map +1 -1
- package/components/carousel.js.map +1 -1
- package/components/input.d.ts +1 -0
- package/components/input.d.ts.map +1 -1
- package/components/input.js +1 -1
- package/components/input.js.map +1 -1
- package/components/range.d.ts.map +1 -1
- package/components/range.js +1 -1
- package/components/range.js.map +1 -1
- package/components/select.d.ts.map +1 -1
- package/components/select.js +1 -1
- package/components/select.js.map +1 -1
- package/components/split.d.ts +1 -0
- package/components/split.d.ts.map +1 -1
- package/components/split.js +1 -1
- package/components/split.js.map +1 -1
- package/components/tabs.d.ts +1 -0
- package/components/tabs.d.ts.map +1 -1
- package/components/tabs.js +1 -1
- package/components/tabs.js.map +1 -1
- package/core/global-style.d.ts +3 -1
- package/core/global-style.d.ts.map +1 -1
- package/core/global-style.js +1 -1
- package/core/global-style.js.map +1 -1
- package/core/outline.d.ts +7 -9
- package/core/outline.d.ts.map +1 -1
- package/core/outline.js +1 -1
- package/core/outline.js.map +1 -1
- package/core/super-input.d.ts +1 -1
- package/core/super-input.d.ts.map +1 -1
- package/core/super-input.js +1 -1
- package/core/super-input.js.map +1 -1
- package/custom-elements.json +1 -1
- package/package.json +4 -5
- package/src/components/alert.ts +33 -25
- package/src/components/avatar.ts +1 -2
- package/src/components/button.ts +89 -68
- package/src/components/carousel.ts +2 -1
- package/src/components/input.ts +12 -5
- package/src/components/range.ts +14 -3
- package/src/components/select.ts +1 -0
- package/src/components/split.ts +12 -2
- package/src/components/tabs.ts +58 -64
- package/src/core/global-style.ts +20 -7
- package/src/core/outline.ts +35 -40
- package/src/core/super-input.ts +2 -11
- package/vscode.html-custom-data.json +1 -1
- package/web-types.json +1 -1
package/build/godown.umd.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"godown.umd.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../sharekit/is.js","../../sharekit/helper.js","../../sharekit/string.js","../../element/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/tools/lib.js","../../element/directives/attr.js","../../element/directives/html-slot.js","../../element/tools/css.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/directives/token-list.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../element/config.js","../../f7-icon/icons/checkmark-alt-circle.js","../../f7-icon/icons/exclamationmark-circle.js","../../f7-icon/icons/info-circle.js","../../f7-icon/icons/lightbulb.js","../../f7-icon/icons/question-circle.js","../../f7-icon/icons/slash-circle.js","../../f7-icon/icons/xmark-circle.js","../../f7-icon/icons/xmark.js","../../colors/presets-rgb.js","../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/outline.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","../rotate.js","../router.js","../core/direction.js","../components/select.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","../text.js","../components/tabs.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../tabs.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","export const isNullable = (value) => value === null || value === undefined;\nexport const isNumerical = (value) => !isNaN(+value);\nexport const isBoolean = (value) => typeof value === \"boolean\";\nexport const isString = (value) => typeof value === \"string\";\nexport const isSymbol = (value) => typeof value === \"symbol\";\nexport const isNumber = (value) => typeof value === \"number\";\nexport const isBigInt = (value) => typeof value === \"bigint\";\nexport const isFunction = (value) => typeof value === \"function\";\nexport const isObject = (value) => value !== null && typeof value === \"object\";\nexport const isPlainObject = (value) => isObject(value) && Object.getPrototypeOf(value) === Object.prototype;\nexport const isPropertyKey = (value) => isString(value) || isSymbol(value) || isNumber(value);\nexport const isPrimitive = (value) => !isObject(value) && !isFunction(value);\nexport const { isArray } = Array;\nexport const isArrayLike = (value) => isArray(value) || (isObject(value) && isNumber(value.length));\nexport const isTemplateStringArray = (value) => isArray(value) && isArray(value.raw);\nexport const isConstructor = (value) => { var _a; return typeof value === \"function\" && ((_a = value.prototype) === null || _a === void 0 ? void 0 : _a.constructor) === value; };\n//# sourceMappingURL=is.js.map","export const omit = (obj, ...keys) => {\n const result = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n result[key] = obj[key];\n }\n }\n return result;\n};\nexport const pick = (obj, ...keys) => {\n const result = {};\n for (const key of keys) {\n result[key] = obj[key];\n }\n return result;\n};\n//# sourceMappingURL=helper.js.map","export const join = (a, b, sep) => (a ? a + (b ? sep + b : \"\") : b) || \"\";\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport const trimStartFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let start = 0;\n while (start < s.length && func(s.slice(start, start + 1))) {\n start += 1;\n }\n return s.slice(start);\n};\nexport const trimEndFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let end = s.length;\n while (end > 0 && func(s.slice(end - 1, end))) {\n end -= 1;\n }\n return s.slice(0, end);\n};\nexport const trimFunc = (s, func) => trimStartFunc(trimEndFunc(s, func), func);\nexport const trimStart = (s, spec) => trimStartFunc(s, (str) => str === spec);\nexport const trimEnd = (s, spec) => trimEndFunc(s, (str) => str === spec);\nexport const trim = (s, spec) => trimFunc(s, (str) => str === spec);\nconst splitWords = (s) => { var _a; return ((_a = s.match(/[A-Z][^A-Z_-\\s]*|[^A-Z_-\\s]+/g)) === null || _a === void 0 ? void 0 : _a.map((s) => s.toLowerCase())) || []; };\nexport const capitalize = (s) => (s.slice(0, 1).toUpperCase() + s.slice(1));\nexport const uncapitalize = (s) => (s.slice(0, 1).toLowerCase() + s.slice(1));\nexport const toCamel = (s, u) => {\n const tokens = splitWords(s);\n if (!tokens.length) {\n return \"\";\n }\n const first = tokens.shift();\n const rest = tokens.map(capitalize);\n return (u ? capitalize(first) : first) + rest.join(\"\");\n};\nexport const toDash = (s) => splitWords(s).join(\"-\");\nexport const toSnake = (s) => splitWords(s).join(\"_\");\n//# sourceMappingURL=string.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= 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 * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements, }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const part = (partName, cache = true) => query(`[part~=\"${partName}\"]`, cache);\nexport default part;\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import { isArray } from \"sharekit\";\nexport * from \"sharekit\";\nexport function* toEntries(o) {\n for (const [k, v] of isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { isNullable, isNumber, isString, join } from \"../tools/lib.js\";\nconst noAttribute = (value) => isNullable(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true) {\n this.setAttribute(name, \"\");\n }\n else if (isString(value) ||\n (isNumber(value) && !isNaN(value))) {\n this.setAttribute(name, String(value));\n }\n else {\n this[name] = value;\n }\n}\nclass AttrDirective extends Directive {\n render(value, caller) {\n }\n update(part, [value, fn = updateAttribute]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n fn.call(part.element, name, value[name]);\n }\n }\n return noChange;\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with names and values.\n * @param caller A function to call for each attribute, {@link updateAttribute} by default.\n * @returns Directive to set attributes.\n */\nexport const attr = directive(AttrDirective);\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (noAttribute(value)) {\n return acc;\n }\n return join(acc, key + (value === true ? \"\" : `=\"${value}\"`), \" \");\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if zero value, no name attribute will be added.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name) => html `<slot name=\"${name || nothing}\"></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { isObject, toEntries } from \"./lib.js\";\nimport { isNullable } from \"../tools/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 (!isNullable(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 let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = !isObject(value) ? value : joinProperties(value);\n if (properties) {\n result += `${key}{${properties}}`;\n }\n }\n }\n return result;\n}\nexport function joinProperties(props) {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && (value || value === 0 || value === \"\")) {\n result += `${key}:${value};`;\n }\n }\n return result;\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\";\nimport { isString } from \"sharekit\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = isString(style) ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { isString } from \"../tools/lib.js\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => ((strings, ...values) => {\n const body = svg(strings, values);\n const s = isString(viewBox) ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n});\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","import { isArray, isObject, join } from \"../tools/lib.js\";\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (isArray(cur)) {\n return join(acc, tokenList(...cur), \" \");\n }\n if (isObject(cur)) {\n for (const key in cur) {\n if (cur[key]) {\n acc = join(acc, key, \" \");\n }\n }\n return acc;\n }\n return join(acc, cur, \" \");\n}, \"\");\nexport default tokenList;\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","export function deepQuerySelectorAll(selectors, root = document.body) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = document.body) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n random() {\n return this.normalize(Math.random() * this.diff + this.min);\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { infixed, isString } from \"sharekit\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.MatchTypes}.\n */\n this.matchType = RouteTree.MatchTypes.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (isString(parts)) {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.MatchTypes.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.MatchTypes.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.MatchTypes.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.MatchTypes.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.MatchTypes.strict,\n };\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.MatchTypes = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, isSymbol, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === false || isSymbol(property)) {\n return;\n }\n return attribute === true || attribute === undefined ? String(property).toLowerCase() : attribute;\n};\nexport class GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n static finalize() {\n super.finalize();\n this.elementAttributes = new Map();\n for (const [property, option] of this.elementProperties.entries()) {\n const attribute = attributeName(property, option);\n if (attribute) {\n this.elementAttributes.set(attribute, property);\n }\n }\n }\n /**\n * Returns an object containing the current values of the observed attributes.\n * @returns An object where the keys are the observed attribute names and the values are the current values of those attributes.\n */\n get observedRecord() {\n const record = {};\n for (const [attribute, property] of this.constructor.elementAttributes.entries()) {\n record[attribute] = this[property];\n }\n return record;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!/^[\\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.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector(selectors, this);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll(selectors, this);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot) {\n return;\n }\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 return stack.length - 1;\n }\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport default GodownElement;\n//# sourceMappingURL=element.js.map","import { toDash } from \"sharekit\";\nconst separator = \"-\";\nexport class GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return toDash(this.prefix + separator + origin + separator + this.suffix);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport default GodownConfig;\n//# sourceMappingURL=config.js.map","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 4c13.255 0 24 10.745 24 24S41.255 52 28 52S4 41.255 4 28S14.745 4 28 4m0 4C16.954 8 8 16.954 8 28s8.954 20 20 20s20-8.954 20-20S39.046 8 28 8m10.788 11.93c.67.67.67 1.756 0 2.425l-13.36 13.36a1.715 1.715 0 0 1-2.424 0l-5.645-5.646a1.714 1.714 0 0 1 2.425-2.424l3.22 3.22c.67.67 1.755.67 2.425 0l10.934-10.934c.67-.67 1.755-.67 2.425 0\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.023-15.68c1.124 0 1.757-.633 1.78-1.851l.352-12.375c.024-1.196-.914-2.086-2.156-2.086c-1.266 0-2.156.867-2.133 2.062l.305 12.399c.023 1.195.68 1.851 1.852 1.851m0 7.617c1.335 0 2.53-1.078 2.53-2.437c0-1.383-1.171-2.438-2.53-2.438c-1.383 0-2.532 1.078-2.532 2.438c0 1.336 1.172 2.437 2.532 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.211-28.266c1.71 0 3.047-1.36 3.047-3.047c0-1.71-1.336-3.07-3.047-3.07s-3.047 1.36-3.047 3.07a3.026 3.026 0 0 0 3.047 3.047m-3.914 21.235h9.562c.961 0 1.711-.68 1.711-1.641c0-.914-.75-1.64-1.71-1.64H30.53V25.68c0-1.266-.656-2.11-1.828-2.11h-4.43c-.937 0-1.687.727-1.687 1.64c0 .962.75 1.642 1.687 1.642h2.532v10.757h-2.93c-.938 0-1.688.727-1.688 1.641c0 .96.75 1.64 1.688 1.64\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M19.504 43.152h16.969c.797 0 1.289-.492 1.289-1.289v-3.75c0-5.672 8.25-9.328 8.25-19.453C46.012 7.996 38.793.871 27.988.871s-18 7.125-18 17.79c0 10.124 8.227 13.78 8.227 19.452v3.75c0 .797.515 1.29 1.289 1.29m2.203-4.992c0-6.89-8.18-10.57-8.18-19.476c0-8.579 5.79-14.274 14.461-14.274c8.672 0 14.485 5.695 14.485 14.274c0 8.906-8.203 12.586-8.203 19.476v1.453H21.707Zm-1.336 11.32h15.235c1.195 0 2.156-.984 2.156-2.203s-.961-2.203-2.157-2.203H20.371c-1.195 0-2.156.985-2.156 2.203c0 1.22.96 2.203 2.156 2.203m7.617 5.649c3.235 0 5.508-1.477 5.742-3.75H22.246c.211 2.273 2.484 3.75 5.742 3.75\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.492-15.07c1.172 0 1.898-.727 1.898-1.664v-.282c0-1.312.75-2.133 2.39-3.21c2.274-1.5 3.891-2.884 3.891-5.673c0-3.914-3.468-6-7.453-6c-4.031 0-6.68 1.899-7.312 4.055c-.117.399-.211.774-.211 1.172c0 1.031.844 1.617 1.617 1.617c1.336 0 1.547-.726 2.297-1.594c.773-1.289 1.898-2.062 3.469-2.062c2.133 0 3.515 1.195 3.515 3c0 1.594-.984 2.367-3.023 3.773c-1.688 1.172-2.953 2.414-2.953 4.711V31c0 1.242.68 1.852 1.875 1.852m-.047 7.007c1.36 0 2.531-1.078 2.531-2.437c0-1.383-1.148-2.438-2.531-2.438s-2.531 1.078-2.531 2.438c0 1.336 1.171 2.437 2.53 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.156-9.727c.656 0 1.148-.28 1.664-.797l15.75-15.984c.492-.492.797-1.078.797-1.617c0-1.078-.891-1.945-1.97-1.945c-.562 0-1.1.28-1.616.796L18.742 34.61c-.539.516-.797 1.102-.797 1.641c0 1.055.774 1.945 1.899 1.945\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.016-9.984c.516 0 .985-.211 1.336-.586l6.657-6.68l6.656 6.68c.351.351.82.586 1.36.586c1.03 0 1.874-.868 1.874-1.899c0-.539-.21-.984-.562-1.336l-6.657-6.656l6.68-6.703c.375-.399.563-.797.563-1.313a1.865 1.865 0 0 0-1.875-1.875c-.493 0-.915.164-1.313.563l-6.727 6.703l-6.703-6.68c-.351-.375-.773-.539-1.289-.539c-1.054 0-1.875.797-1.875 1.852c0 .515.188.96.563 1.312l6.656 6.68l-6.656 6.68c-.375.328-.563.796-.563 1.312c0 1.031.82 1.898 1.875 1.898\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z\"/>`;\n","const rgb = (r, g, b) => ({\n r,\n g,\n b,\n toString() {\n return `${this.r} ${this.g} ${this.b}`;\n },\n});\nconst darkgray = [\n rgb(121, 121, 121),\n rgb(109, 109, 109),\n rgb(97, 97, 97),\n rgb(85, 85, 85),\n rgb(73, 73, 73),\n rgb(61, 61, 61),\n rgb(48, 48, 48),\n rgb(36, 36, 36),\n rgb(24, 24, 24),\n rgb(12, 12, 12),\n];\nconst lightgray = [\n rgb(243, 243, 243),\n rgb(231, 231, 231),\n rgb(219, 219, 219),\n rgb(206, 206, 206),\n rgb(194, 194, 194),\n rgb(182, 182, 182),\n rgb(170, 170, 170),\n rgb(158, 158, 158),\n rgb(146, 146, 146),\n rgb(133, 133, 133),\n];\nconst teal = [\n rgb(213, 249, 248),\n rgb(170, 243, 241),\n rgb(128, 237, 234),\n rgb(85, 231, 226),\n rgb(43, 225, 219),\n rgb(0, 219, 212),\n rgb(0, 175, 170),\n rgb(0, 131, 127),\n rgb(0, 88, 85),\n rgb(0, 44, 42),\n];\nconst blue = [\n rgb(213, 240, 255),\n rgb(170, 224, 255),\n rgb(128, 209, 255),\n rgb(85, 193, 255),\n rgb(43, 178, 255),\n rgb(0, 162, 255),\n rgb(0, 130, 204),\n rgb(0, 97, 153),\n rgb(0, 65, 102),\n rgb(0, 32, 51),\n];\nconst green = [\n rgb(221, 243, 221),\n rgb(186, 231, 186),\n rgb(152, 219, 152),\n rgb(117, 206, 117),\n rgb(82, 194, 82),\n rgb(48, 182, 48),\n rgb(38, 146, 38),\n rgb(29, 109, 29),\n rgb(19, 73, 19),\n rgb(10, 36, 10),\n];\nconst red = [\n rgb(251, 221, 221),\n rgb(247, 186, 187),\n rgb(243, 152, 154),\n rgb(239, 118, 120),\n rgb(235, 83, 86),\n rgb(231, 49, 52),\n rgb(185, 39, 42),\n rgb(139, 29, 31),\n rgb(92, 20, 21),\n rgb(46, 10, 10),\n];\nconst purple = [\n rgb(242, 228, 253),\n rgb(229, 201, 250),\n rgb(217, 174, 248),\n rgb(204, 146, 245),\n rgb(191, 119, 243),\n rgb(178, 92, 240),\n rgb(142, 74, 192),\n rgb(107, 55, 144),\n rgb(71, 37, 96),\n rgb(36, 18, 48),\n];\nconst orange = [\n rgb(255, 235, 213),\n rgb(255, 216, 170),\n rgb(255, 196, 128),\n rgb(255, 176, 85),\n rgb(255, 157, 43),\n rgb(255, 137, 0),\n rgb(204, 110, 0),\n rgb(153, 82, 0),\n rgb(102, 55, 0),\n rgb(51, 27, 0),\n];\nconst yellow = [\n rgb(251, 252, 216),\n rgb(247, 248, 177),\n rgb(243, 245, 138),\n rgb(239, 242, 98),\n rgb(235, 238, 59),\n rgb(231, 235, 20),\n rgb(185, 188, 16),\n rgb(139, 141, 12),\n rgb(92, 94, 8),\n rgb(46, 47, 4),\n];\nconst pink = [\n rgb(254, 222, 233),\n rgb(253, 189, 211),\n rgb(252, 156, 190),\n rgb(251, 123, 168),\n rgb(250, 90, 146),\n rgb(249, 57, 124),\n rgb(199, 46, 99),\n rgb(149, 34, 74),\n rgb(100, 23, 50),\n rgb(50, 11, 25),\n];\nexport const presetsRGB = {\n darkgray,\n lightgray,\n teal,\n blue,\n green,\n red,\n purple,\n orange,\n yellow,\n pink,\n};\nexport { blue, darkgray, green, lightgray, orange, pink, purple, red, rgb, teal, yellow };\n","import{presetsRGB as o}from\"@godown/colors/presets-rgb.js\";import{travel as r}from\"@godown/colors/travel.js\";import{trim as t,joinProperties as e,GodownElement as s}from\"@godown/element\";import{unsafeCSS as i,css as l}from\"lit\";class GlobalStyle extends s{}const a=t(GlobalStyle.godownConfig.prefix,\"-\");function n(o,r=1){return c(a+\"-\".repeat(r)+o)}function c(o){return i(`--${o}`)}const d={clipBackground:n(\"clip-background\",2),active:n(\"active\",2),passive:n(\"passive\",2),_colors:{},input:n(\"input\",2),white:n(\"color-white\",2),black:n(\"color-black\",2),color:n(\"color\",2),borderRadius:n(\"border-radius\",2)};GlobalStyle.styles=[i(`:host{${d.black}:rgb(0 0 0);${d.white}:rgb(255 255 255);`+r(((o,r,t)=>{d._colors[o]||=[],d._colors[o].push(i(d.color+\"-\"+o+\"-\"+r));const e=`-${o}-${r}`;return`${d.color+e}:rgb(${t});`}),o).join(\"\")+e([[d.active,`var(${d._colors.blue[5]})`],[d.passive,`var(${d._colors.darkgray[5]})`],[d.clipBackground,`linear-gradient(to bottom, var(${d._colors.lightgray[0]}), var(${d._colors.darkgray[0]}))`]])+\"}\"),l`*{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}[part=root]{height:100%;width:100%}:host([contents]) [part=root]{height:inherit;width:inherit}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,l`:host{${d.borderRadius}:0.2em;border-radius:var(${d.borderRadius})}`];export{GlobalStyle,d as cssGlobalVars,GlobalStyle as default,n 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 c,attr as l,htmlStyle as s}from\"@godown/element\";import a 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 f}from\"lit/decorators.js\";import{scopePrefix as k,cssGlobalVars as w,GlobalStyle as y}from\"../core/global-style.js\";const $=\"alert\",j=k($),_=o=>[w._colors[o][5],w._colors[o][9]],q=r([\"color\",\"background\"].map((o=>`${j}--${o}`)),{green:_(\"green\"),blue:_(\"blue\"),orange:_(\"orange\"),red:_(\"red\"),yellow:_(\"yellow\"),purple:_(\"purple\"),teal:_(\"teal\"),pink:_(\"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={tip:{color:\"teal\",icon:p},success:{color:\"green\",icon:a},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 x=class Alert extends y{constructor(){super(...arguments),this.color=\"blue\",this.autoclose=0,this.hideClose=!1,this.variant=\"dark\"}render(){const o=C[this.call]?.color||this.color,r=this.call?C[this.call].icon():c(\"icon\");return v`<div part=\"root\" ${l(this.observedRecord)}><div part=\"icon\" class=\"start\">${r}</div><div part=\"content\"><strong part=\"title\">${this.title||c(\"title\")}</strong> ${this.content||c()}</div>${this.hideClose||\"blockquote\"===this.variant?\"\":v`<div part=\"icon close\" class=\"end\" tabindex=\"0\" @click=\"${this.close}\">${u()}</div>`} ${s(q[o])}</div>`}close(){this.remove(),this.dispatchCustomEvent(\"close\",void 0,{bubbles:!0})}firstUpdated(){this.autoclose&&this.timeouts.add(setTimeout((()=>this.close()),this.autoclose))}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([f()],x.prototype,\"call\",void 0),o([f()],x.prototype,\"color\",void 0),o([f({type:Number})],x.prototype,\"autoclose\",void 0),o([f()],x.prototype,\"title\",void 0),o([f()],x.prototype,\"content\",void 0),o([f({type:Boolean})],x.prototype,\"hideClose\",void 0),o([f()],x.prototype,\"variant\",void 0),x=o([e($),i(b`:host,:where(:host([contents]) [part=root]){${j}--border-width:.075em;${j}--blockquote-width:.2em;${j}--blockquote-background:transparent;${j}--gap:.5em;display:block}[part=root]{align-items:center;background:var(${j}--background);border-color:currentColor;border-radius:inherit;border-style:solid;border-width:var(${j}--border-width);color:var(${j}--color,currentColor);display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;padding:var(${j}--gap)}[variant=blockquote]{background:var(${j}--blockquote-background);border-radius:0;border-width:0;border-left-width:var(${j}--blockquote-width)}[part~=icon]{align-items:center;display:grid;height:2em}.start svg{margin-inline-end:var(${j}--gap)}.end svg{margin-inline-start:var(${j}--gap)}svg{height:1.25em;width:1.25em}[part=content]{grid-row:span 2/span 2}`)],x);var A=x;export{x as Alert,A 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 r}from\"tslib\";import{godown as t,styles as e,attr as o,omit as i,htmlSlot as a}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{property as d}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as m,GlobalStyle as p}from\"../core/global-style.js\";const l=\"avatar\";h(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.formatName()}</span>`:a()}formatName(){return this.name}_handleError(){this.src=void 0}};r([d()],c.prototype,\"src\",void 0),r([d()],c.prototype,\"name\",void 0),r([d({type:Boolean})],c.prototype,\"round\",void 0),c=r([t(l),e(s`:host{background:var(${m.passive});height:2em;overflow:hidden;vertical-align:bottom;width:2em}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;justify-content:center;position:relative}`)],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 a}from\"@godown/element\";import{css as i,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as n,GlobalStyle as f}from\"../core/global-style.js\";const l=\"badge\",c=d(l);let m=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)}>${a()} ${this.value||this.dot?s`<div part=\"badge\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"}</div>`}};t([p()],m.prototype,\"position\",void 0),t([p({type:Number})],m.prototype,\"value\",void 0),t([p({type:Boolean})],m.prototype,\"dot\",void 0),t([p({type:Number})],m.prototype,\"max\",void 0),m=t([o(l),e(i`:host{${c}--background:var(${n.active});${c}--offset:0%;${c}--offset-x:var(${c}--offset);${c}--offset-y:var(${c}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${c}--background);border-radius:calc(infinity*1px);font-size:75%;padding:0 .5em;position:absolute;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}[part=badge]:empty{border-radius:50%;font-size:100%;height:.5em;padding:0;width:.5em}[position^=top] [part=badge]{top:calc(var(${c}--offset-y))}[position$=right] [part=badge]{left:calc(100% - var(${c}--offset-x))}[position^=bottom] [part=badge]{top:calc(100% - var(${c}--offset-y))}[position$=left] [part=badge]{left:calc(var(${c}--offset-x))}`)],m);var v=m;export{m as Badge,v 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 o,styles as r,attr as e,htmlStyle as n}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as c,GlobalStyle as p}from\"../core/global-style.js\";const d=\"breath\",$=s(d);let m=class Breath extends p{render(){const t=this.getTexts();return a`<div part=\"root\" ${e(this.observedRecord)}>${[t.map(this._renderText),n(this._computeStyle(t.length))]}</div>`}_renderText(t){return a`<span class=\"rel\"><span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span></span>`}getTexts(){return Array.isArray(this.content)?this.content:(this.content||this.textContent).split(/\\s+/).filter((t=>t))}_computeStyle(t){const o=50/t,r=this.duration||1e3*(2*t+2);let e=\"\";for(let o=1;o<=t;o++){e+=`.rel:nth-child(${o}) .colorful{animation-delay:${-r/t*(t-o+1)}ms;background:var(${$}--${o},var(${$}--${(o-1)%3+1}));}`}return`.colorful{animation-duration:${r}ms;}@keyframes colorfulN{0%,${3*o}%{opacity:0;}${o}%,${2*o}%{opacity:1;}}${e}`}};t([l()],m.prototype,\"content\",void 0),t([l({type:Number})],m.prototype,\"duration\",void 0),m=t([o(d),r(i`:host{${$}--deg:60deg;${$}--1-1:var(${c._colors.red[5]});${$}--1-2:var(${c._colors.yellow[5]});${$}--2-1:var(${c._colors.green[5]});${$}--2-2:var(${c._colors.purple[5]});${$}--3-1:var(${c._colors.blue[5]});${$}--3-2:var(${c._colors.pink[5]});${$}--1:linear-gradient(var(${$}--deg),var(${$}--1-1),var(${$}--1-2));${$}--2:linear-gradient(var(${$}--deg),var(${$}--2-1),var(${$}--2-2));${$}--3:linear-gradient(var(${$}--deg),var(${$}--3-1),var(${$}--3-2))}`,i`:host{align-items:center;direction:ltr;font-size:2em;margin:auto;width:-moz-fit-content;width:fit-content}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}::selection{background:none}.rel{font-size:inherit;font-weight:800;letter-spacing:-.05em;position:relative}`,i`.colorful,.nocolor{animation-iteration-count:infinite;-webkit-background-clip:text!important;background-clip:text!important;box-sizing:border-box;color:transparent;display:inline-block;padding:0 .05em}.colorful{animation-name:colorfulN;opacity:0}.nocolor{background:var(${c.clipBackground});position:absolute;top:0}`)],m);var u=m;export{m as Breath,u 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 a,styles as i,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\",y=h(v),b=g.white,m=g.black,$=t([\"color\",\"background\",\"gradients\"].map((o=>`${y}--${o}`)),{black:[b,g._colors.darkgray[7],g._colors.darkgray[5]],gray:[b,g._colors.darkgray[1],g._colors.lightgray[8]],white:[m,g._colors.lightgray[3],g._colors.lightgray[0]],blue:[b,g._colors.blue[6],g._colors.blue[4]],green:[b,g._colors.green[6],g._colors.green[4]],red:[b,g._colors.red[6],g._colors.red[4]],orange:[b,g._colors.orange[6],g._colors.orange[4]],pink:[b,g._colors.pink[6],g._colors.pink[4]],purple:[b,g._colors.purple[6],g._colors.purple[4]],yellow:[m,g._colors.yellow[6],g._colors.yellow[4]],teal:[b,g._colors.teal[6],g._colors.teal[4]]},(()=>\":host\"),(o=>r(o)));let f=class Button extends u{constructor(){super(...arguments),this.plain=!1,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)}>${this.content||l()} <span part=\"modal-root\"></span> ${s($[o])}</div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}connectedCallback(){super.connectedCallback(),this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this.plain||this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),{width:r,height:e}=this.getBoundingClientRect(),{x:a,y:i}=this._root.getBoundingClientRect(),n=2*Math.sqrt(e**2+r**2)+\"px\";t.style.height=n,t.style.width=n,t.style.left=o.x-a+\"px\",t.style.top=o.y-i+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([p({type:Boolean,reflect:!0})],f.prototype,\"plain\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"disabled\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"ghost\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"active\",void 0),o([p({type:Boolean,reflect:!0})],f.prototype,\"round\",void 0),o([p({reflect:!0})],f.prototype,\"color\",void 0),o([p()],f.prototype,\"content\",void 0),o([e(\"modal-root\")],f.prototype,\"_modalRoot\",void 0),o([e(\"root\")],f.prototype,\"_root\",void 0),f=o([a(v),i(d`:host(:not([disabled]):active){transform:scale(var(${y}--focus-scale))}:host([round]){border-radius:calc(infinity*1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${y}--modal-background:var(${y}--ghost-color);background:transparent;box-shadow:inset 0 0 0 var(${y}--ghost-width) var(${y}--ghost-color);color:var(${y}--ghost-color)}:host([plain]){${y}--gradients:unset;${y}--focus-scale:unset}`,d`:host{${y}--padding-x:.8em;${y}--padding-y:calc(var(${y}--padding-x)/4);${y}--padding:var(${y}--padding-y) var(${y}--padding-x);${y}--modal-animation-duration:1s;${y}--ghost-width:.08em;${y}--focus-scale:.97;${y}--deg:45deg;${y}--ghost-color:var(${y}--background);background:linear-gradient(var(${y}--deg),var(${y}--background),var(${y}--gradients,var(${y}--background)));color:var(${y}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:var(${y}--padding);text-align:center;width:-moz-fit-content;width:fit-content}[part=root]:not([contents]){height:100%;width:100%}[part=root]{border-radius:inherit;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}i{animation-duration:var(${y}--modal-animation-duration);background:var(${y}--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(${y}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],f);var _=f;export{f 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 o}from\"tslib\";import{godown as r,styles as e,attr as t,htmlSlot as d}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as l,GlobalStyle as n}from\"../core/global-style.js\";const h=\"card\",m=p(h);let b=class Card extends n{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return a`<div part=\"root\" ${t(this.observedRecord)}>${[this.header?d(\"header\"):\"\",d(),this.footer?d(\"footer\"):\"\"]}</div>`}};o([s({type:Boolean})],b.prototype,\"footer\",void 0),o([s({type:Boolean})],b.prototype,\"header\",void 0),b=o([r(h),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${l.passive});${m}--padding:.75em;display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}[part=root]{border-color:var(${m}--border-color);border-radius:inherit;border-style:solid;border-width:var(${m}--border-width)}[name=footer]{padding-top:0}[name=header]{padding-bottom:0}`)],b);var c=b;export{b as Card,c as default};\n//# sourceMappingURL=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 s,attr as o,htmlSlot as n}from\"@godown/element\";import r from\"@godown/f7-icon/icons/chevron-left.js\";import h from\"@godown/f7-icon/icons/chevron-right.js\";import{css as l,html as a}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as c}from\"../core/global-style.js\";function p(t){return t.getBoundingClientRect().width}let m=class Carousel extends c{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return a`<div part=\"root\" ${o(this.observedRecord)}><i part=\"prev\" @click=\"${this.prev}\">${r()}</i><div part=\"move-root\">${n()}</div><i part=\"next\" @click=\"${this.next}\">${h()}</i></div>`}connectedCallback(){super.connectedCallback(),this.children.length&&(this.__cloneFirst?.remove(),this.__cloneLast?.remove(),this.__cloneLast=this.firstElementChild.cloneNode(!0),this.__cloneFirst=this.lastElementChild.cloneNode(!0),this.appendChild(this.__cloneLast),this.insertBefore(this.__cloneFirst,this.firstElementChild)),this.observers.add(this,ResizeObserver,(()=>{this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,!0)}))}async firstUpdated(){await this.updateComplete,this.show(this.index,!0)}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),\"index\"===t&&this.isConnected&&this.show(this.index)}show(t,e){t=this.normalizeIndex(t),this.index=t,this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,e),this.dispatchCustomEvent(\"change\",t),this.timeouts.remove(this.intervalID),this.autoChange>0&&(this.intervalID=this.timeouts.add(setInterval((()=>{this.next()}),this.autoChange)))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1)}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1)}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,this._moveRoot.style.transition=e?\"none\":\"\"}_computeOffset(){let t=0;for(let e=0;e<=this.index;e++)t-=p(this.children[e]);return t+=(p(this)-p(this.children[this.index+1]))/2,t}normalizeIndex(t){return t<0?0:t>this.children.length-3?this.children.length-3:t}};t([d({type:Number})],m.prototype,\"index\",void 0),t([d({type:Number})],m.prototype,\"autoChange\",void 0),t([e(\"move-root\")],m.prototype,\"_moveRoot\",void 0),m=t([i(\"carousel\"),s(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=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.dispatchCustomEvent(\"change\",this.open)}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{SuperOpenable,SuperOpenable as default};\n//# sourceMappingURL=super-openable.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as i,attr as e,htmlSlot as r}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as p}from\"../core/global-style.js\";import d from\"../core/super-openable.js\";const m=\"details\",c=p(m);let f=class Details extends d{constructor(){super(...arguments),this.float=!1,this.fill=!1,this.summary=\"\"}render(){return l`<dl part=\"root\" ${e(this.observedRecord)}><dt part=\"title\" @click=\"${()=>this.toggle()}\"><span part=\"summary\">${this.summary||r(\"summary\")}</span> <span part=\"icon\">${a()}</span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height: 0;\">${r()}</div></dd></dl>`}};t([n({type:Boolean})],f.prototype,\"float\",void 0),t([n({type:Boolean})],f.prototype,\"fill\",void 0),t([n()],f.prototype,\"summary\",void 0),f=t([o(m),i(s`:host{${c}--icon-deg-open:0deg;${c}--icon-deg-close:90deg;display:block;padding:.2em;transition:.3s}[part=root]{position:relative}[part=title]{align-items:center;direction:ltr;grid-template-columns:auto auto;height:100%;justify-content:space-between}[part=details],[part=title]{display:grid;overflow:hidden;transition:inherit}[part=details]{grid-template-rows:0fr}:host([open]) [part=details]{grid-template-rows:1fr}[float] [part=details]{position:absolute;top:100%;width:100%}[part]{transition:inherit;transition-property:transform,grid-template-rows}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;transform:rotate(var(${c}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${c}--icon-deg-open))}`)],f);var g=f;export{f as Details,g as default};\n//# sourceMappingURL=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 s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as d,query as l}from\"lit/decorators.js\";import{scopePrefix as r}from\"../core/global-style.js\";import h from\"../core/super-openable.js\";const m=\"dialog\",p=r(m);let c=class Dialog extends h{constructor(){super(...arguments),this.key=\"Escape\",this.__modalInvoke=!1}set modal(t){this.contents=t}get modal(){return this.contents}render(){return n`<dialog part=\"root\" ${i(this.observedRecord)}>${s()}</dialog>`}showModal(){this.modal=!0,this.__modalInvoke=!0,this.show()}attributeChangedCallback(t,o,e){super.attributeChangedCallback(t,o,e),\"open\"===t&&(this.open?this.modal?this._dialog.showModal():this._dialog.show():this._dialog.close())}updated(t){t.has(\"open\")&&(this.open?(this.__submitEvent=this.events.add(this,\"submit\",this._handelSubmit),this.key&&(this.__keydownEvent=this.events.add(document,\"keydown\",this._handleKeydown.bind(this)))):(this.events.remove(this,\"submit\",this.__submitEvent),this.events.remove(document,\"keydown\",this.__keydownEvent)))}_handleKeydown(t){const o=this.key.split(/[\\s,]/);(o.includes(t.key)||o.includes(t.code))&&(t.preventDefault(),this.close())}_handelSubmit(t){\"dialog\"===t.target.method&&(t.preventDefault(),this.close())}close(){this.__modalInvoke&&(this.modal=!1,this.__modalInvoke=!1),this.open=!1}};t([d({type:Boolean,reflect:!0})],c.prototype,\"modal\",null),t([d()],c.prototype,\"key\",void 0),t([l(\"dialog\")],c.prototype,\"_dialog\",void 0),c=t([o(m),e(a`:host{${p}--background-modal:#000;${p}--opacity-modal:0.2;background:none;display:block;left:50%;margin:auto;position:fixed;top:50%;transform:translate(-50%,-50%);width:-moz-fit-content;width:fit-content}:host(:not([open])){visibility:hidden}:host([contents]) dialog{position:fixed}dialog{background:inherit;position:relative}::backdrop{background:var(${p}--background-modal);opacity:var(${p}--opacity-modal)}`)],c);var u=c;export{c as Dialog,u 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 s}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as d}from\"../core/global-style.js\";let c=class Divider extends d{constructor(){super(...arguments),this.vertical=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([l({type:Boolean,reflect:!0})],c.prototype,\"vertical\",void 0),c=t([o(\"divider\"),r(i`:host{background:currentColor;color:var(${a.passive});display:block;height:.05em;width:100%}:host([vertical]){height:100%;width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],c);var p=c;export{c as Divider,p 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 n,html as h}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as r}from\"../core/global-style.js\";let a=class Dragbox extends r{constructor(){super(...arguments),this.__drag=!1}get _offsetParent(){return this.offsetParent??document.body}render(){return h`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__x=t.x,this.__y=t.y;const e=this._offsetParent.getBoundingClientRect(),s=this.getBoundingClientRect();this.__t=s.top-e.top,this.__l=s.left-e.left,this.__drag=!0,this.__handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this.__handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this)),this.__handleMouseUp=this.events.add(document,\"mouseup\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this.__handleMouseMove),this.events.remove(document,\"mouseleave\",this.__handleMouseLeave),this.events.remove(document,\"mouseup\",this.__handleMouseUp)}_handleDrag(t){if(!this.__drag)return;const{__x:e,__y:s,__l:o,__t:i,style:n}=this,{height:h,width:d}=this._offsetParent.getBoundingClientRect(),{width:r,height:a}=this.getBoundingClientRect(),_=t.x-(e-o),l=t.y-(s-i);n.left=_<0?\"0\":_<d-r?`${_}px`:d-r+\"px\",n.top=l<0?\"0\":l<h-a?`${l}px`:h-a+\"px\"}reset(){const{x:t,y:e,style:s,offsetWidth:o,offsetHeight:i,offsetLeft:n,offsetTop:h}=this,{height:d,width:r}=this._offsetParent.getBoundingClientRect();s.left=t||\"0\",s.top=e||\"0\",n>r-o&&(s.left=r-o+\"px\"),h>d-i&&(s.top=d-i+\"px\")}};t([d()],a.prototype,\"x\",void 0),t([d()],a.prototype,\"y\",void 0),a=t([e(\"dragbox\"),s(n`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],a);var _=a;export{a as Dragbox,_ as default};\n//# sourceMappingURL=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 a,html as l}from\"lit\";import{property as m}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends n{render(){return l`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([m()],g.prototype,\"gap\",void 0),t([m()],g.prototype,\"columns\",void 0),t([m()],g.prototype,\"rows\",void 0),t([m()],g.prototype,\"content\",void 0),t([m()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(a`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g 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,nothing as a,html 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 s`<a part=\"root\" href=\"${this.id?\"#\"+this.id:a}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?s`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return s`<h2>${t}</h2>`;case\"h3\":return s`<h3>${t}</h3>`;case\"h4\":return s`<h4>${t}</h4>`;case\"h5\":return s`<h5>${t}</h5>`;case\"h6\":return s`<h6>${t}</h6>`;default:return s`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(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{unsafeCSS as t,css as e}from\"lit\";class OutlineBuilder{constructor(o){const i=t(o.width),l=t(o.color);this.css=e`[outline-type=outline-inset],[outline-type=outline]{outline-color:var(${l});outline-style:solid;outline-width:var(${i})}[outline-type=outline-inset]{outline-offset:calc(var(${i})*-1)}[outline-type=box-shadow]{box-shadow:0 0 0 var(${i}) var(${l})}[outline-type=box-shadow-inset]{box-shadow:inset 0 0 0 var(${i}) var(${l})}[outline-type=border]{border-color:var(${l});border-style:solid;border-width:var(${i})}`}get styleSheet(){return this.css.styleSheet}}const o=t=>!t||\"none\"===t;export{OutlineBuilder,o as isNone};\n//# sourceMappingURL=outline.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,styles as i,omit as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as p}from\"lit\";import{property as s}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as l}from\"./global-style.js\";import{OutlineBuilder as u}from\"./outline.js\";const d=r`.input-field{align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:none;color:inherit;height:100%;padding:var(${a.input}-space);width:100%}.input-field [part=icon]{align-items:center;color:var(${a.input}-icon-color);display:flex;justify-content:center}.input-field [part=prefix],.input-field [part=suffix]{display:flex;height:100%}.input-field [part=suffix] [part=icon]{padding-inline-end:var(${a.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${a.input}-space)}`,h=r`:host{${a.input}-width:10em;${a.input}-height:1.6em;${a.input}-space:0.2em;${a.input}-control:currentColor;${a.input}-outline-width:.075em;${a.input}-outline-color:var(${a._colors.darkgray[4]});${a.input}-icon-color:var(${a._colors.darkgray[4]})}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host(:focus-within){${a.input}-icon-color:currentColor}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let c=class SuperInput extends l{constructor(){super(...arguments),this.autofocus=!1,this.outlineType=\"border\",this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return o(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}_handleChange(t){this.dispatchCustomEvent(\"change\",this.value)}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return p`<label for=\"${this.makeId}\" part=\"prefix\">${n(\"prefix\")}</label>`}_renderSuffix(){return p`<label for=\"${this.makeId}\" part=\"suffix\">${n(\"suffix\")}</label>`}};t([s()],c.prototype,\"autocomplete\",void 0),t([s({attribute:\"outline-type\"})],c.prototype,\"outlineType\",void 0),t([s({type:Boolean,reflect:!0})],c.prototype,\"disabled\",void 0),t([s({reflect:!0})],c.prototype,\"type\",void 0),t([s({reflect:!0})],c.prototype,\"placeholder\",void 0),t([s({reflect:!0})],c.prototype,\"name\",void 0),t([s()],c.prototype,\"value\",void 0),t([s()],c.prototype,\"default\",void 0),t([e(\"input\")],c.prototype,\"_input\",void 0),c=t([i(d,new u({width:`${a.input}-outline-width`,color:`${a.input}-outline-color`}).styleSheet,h)],c);var f=c;export{c as SuperInput,f as default};\n//# sourceMappingURL=super-input.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as r,tokenList as s,htmlSlot as a}from\"@godown/element\";import p from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as n,nothing as u,html as h}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as c}from\"../core/super-input.js\";let f=class Input extends c{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\"}render(){return h`<div part=\"root\" ${r(this.observedRecord)} class=\"${s(\"input-field\",this.variant)}\">${[this._renderPrefix(),h`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||u}\" autocomplete=\"${this.autocomplete||u}\" placeholder=\"${this.placeholder||u}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,this._renderSuffix()]}</div>`}_renderSuffix(){const t=\"password\";return h`<label for=\"${this.makeId}\" part=\"suffix\">${this.type===t?h`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${p()}</i>`:a(\"suffix\")}</label>`}};t([l()],f.prototype,\"variant\",void 0),t([e(\"input\")],f.prototype,\"_input\",void 0),f=t([i(\"input\"),o(n`:host{display:block;height:var(${d.input}-height);width:var(${d.input}-width)}.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}`)],f);var $=f;export{f as Input,$ 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 t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let l=class Layout extends d{constructor(){super(...arguments),this.sticky=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}><header part=\"header\">${i(\"header\")}</header><main part=\"main\">${i()}</main><footer part=\"footer\">${i(\"footer\")}</footer></div>`}};t([p({type:Boolean})],l.prototype,\"sticky\",void 0),l=t([o(\"layout\"),r(a`:host{flex-direction:column;grid-template-rows:auto 1fr auto;min-height:100%;width:100%}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}[part=main]{flex:1;width:100%}[part=footer],[part=header]{flex-shrink:0;width:100%}[sticky] header{position:sticky;top:0}`)],l);var n=l;export{l as Layout,n 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 t}from\"tslib\";import{styles as r,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,nothing as a,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as s}from\"./global-style.js\";let h=class SuperAnchor extends s{constructor(){super(...arguments),this.target=\"_self\"}get pathname(){return new URL(this.href,location.href).pathname}render(){return l`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||a}\" target=\"${this.target}\" @click=\"${this._handleClick}\">${e()}</a>`}};t([n()],h.prototype,\"href\",void 0),t([n()],h.prototype,\"target\",void 0),h=t([r(i`:host{color:currentColor;cursor:default;display:inline-block;text-decoration:none}:host([href]){cursor:pointer}[part=root]{color:inherit;display:inline-block;text-decoration:inherit}`)],h);var c=h;export{h as SuperAnchor,c as default};\n//# sourceMappingURL=super-anchor.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";var c;const l=\"field\",d=\"slotted\",u=\"united\";let m=c=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case l:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),c.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],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();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchCustomEvent(\"change\",t)}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=c=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as s}from\"lit/decorators.js\";import{SuperAnchor as r}from\"../core/super-anchor.js\";import o from\"./router.js\";const a=\"push\",p=\"replace\",i=\"normal\",h=\"auto\";let n=class Link extends r{constructor(){super(...arguments),this.type=h,this.suppress=!1,this.replace=!1,this.state={},this.handleState=()=>{switch(this.type){case h:case a:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case p:history.replaceState(this.state,\"\",this.href)}}}_handleClick(t){const{state:e,type:s,href:r,pathname:a,suppress:p}=this;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:a,state:e}),r.startsWith(\"#\")||s===i)return;this.handleState();const n=[...o.routerInstances];p||s===h&&!n.some((t=>t.search(location.pathname)))||(t.preventDefault(),o.routerInstances.forEach((t=>{t.handlePopstate()})))}};t([s()],n.prototype,\"type\",void 0),t([s({type:Boolean})],n.prototype,\"suppress\",void 0),t([s({type:Boolean})],n.prototype,\"replace\",void 0),n=t([e(\"link\")],n);var c=n;export{n as Link,c as default};\n//# sourceMappingURL=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,isNullable as o,Ranger as i,attr as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as d}from\"../core/global-style.js\";let m=class Progress extends d{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;if(!o(this.value)){const e=new i(this.min,this.max);r=100*e.restrict(this.value/e.diff),t=\"static\"}return n`<div part=\"root\" ${s(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}%;\"></i></div>`}};t([l({type:Number})],m.prototype,\"max\",void 0),t([l({type:Number})],m.prototype,\"min\",void 0),t([l({type:Number})],m.prototype,\"value\",void 0),m=t([r(\"progress\"),e(a`:host{background:var(${p.passive});border-radius:.25em;color:var(${p.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;overflow:hidden;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],m);var u=m;export{m as Progress,u as default};\n//# sourceMappingURL=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,Ranger as s,omit as o,attr as i,joinProperties as n,loop as h,tokenList as l,isNullable as c}from\"@godown/element\";import{css as d,html as u}from\"lit\";import{property as v,queryAll as p,state as m}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as g}from\"../core/global-style.js\";import{SuperInput as w}from\"../core/super-input.js\";const y=\"range\",_=f(y);let b=class Range extends w{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this.__focusStack=[]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,a=t-r.length;return a>0?new Array(a).fill(e).concat(r):r}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),\"max\"!==t&&\"min\"!==t&&\"step\"!==t||(this._ranger=new s(this.min,this.max,this.step))}get observedRecord(){return o(super.observedRecord,\"outline-type\")}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return u`<div part=\"root\" ${i(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${n([[\"--from\",(e-this.min)/a*100+\"%\"],[\"--to\",(r-this.min)/a*100+\"%\"],...t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))])}\"><div part=\"track\"></div>${h(this.rangeValue.length,(t=>this._renderHandle(t)))}</div>`}_renderHandle(t){const{disabled:e,range:r,rangeValue:a}=this,s=!r||r&&t===a.length-1&&1===a.length;return u`<i tabindex=\"0\" part=\"handle\" class=\"${l({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${e?null:this.createMouseDown(t)}\" @focus=\"${e?null:()=>this.focusHandle(t)}\" @blur=\"${e?null:this.blurHandle}\" style=\"${n({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${s?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t)))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent)}createKeydownEvent(t){return e=>{const{rangeValue:r,step:a}=this;r.length<2&&(t=0);const s=r[t];\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)(s-a)):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)(s+a))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchCustomEvent(\"change\",this.value)}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:s,width:o}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/s:(t-a)/o)}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,a)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?a:t),0):0,a=this.createSetValue(r);a(e),this.createMousedownListener(a)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const a=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",a)};this.events.add(document,\"mouseup\",a)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r===this._ranger.restrict(r)&&t?.call(this,r)}}_connectedInit(){this._ranger=new s(this.min,this.max,this.step);const t=this._ranger.diff;this.step||=t/100,c(this.value)&&(c(this.default)?this.value=Math.round(t/2/this.step)*this.step:this.value=this.default),this.default??=this.value}reset(){this.value=this.default}sort(){return this.value=this.toSorted()}toSorted(){return this.range?[...this.value].sort(((t,e)=>t-e)):this.value}};t([v({type:Number})],b.prototype,\"min\",void 0),t([v({type:Number})],b.prototype,\"max\",void 0),t([v({type:Number})],b.prototype,\"step\",void 0),t([v({type:Boolean,reflect:!0})],b.prototype,\"vertical\",void 0),t([v({type:Array})],b.prototype,\"value\",void 0),t([v({type:Array})],b.prototype,\"default\",void 0),t([e(\"root\")],b.prototype,\"_root\",void 0),t([p(\"[part=handle]\")],b.prototype,\"_handles\",void 0),t([m()],b.prototype,\"lastFocus\",void 0),b=t([r(y),a(d`:host{${_}--handle-active:var(${g.active});${_}--track-width:.5em;${_}--length:var(${g.input}-width);background:var(${g.passive});display:block;width:var(${_}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${_}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${_}--handle-scale:1.05;background:var(${_}--handle-active)}[part=root]{position:relative;--from:0%;--to:50%;height:var(${_}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${g.active});height:100%;justify-content:space-between;left:min(var(--from),var(--to));pointer-events:none;width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=handle],[part=track]{display:flex;position:absolute}[part=handle]{align-items:center;background:var(${g.active});border:.1em solid;border-color:var(${g.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${_}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,d`[vertical]{height:inherit;width:var(${_}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,d`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],b);var k=b;export{b as Range,k as default};\n//# sourceMappingURL=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 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{unsafeCSS as t,css as i}from\"lit\";const o=t(\"[direction-inset-align]\"),e=i`[direction^=top] ${o}{top:0}[direction^=bottom] ${o}{bottom:0}[direction$=right] ${o}{right:0}[direction$=left] ${o}{left:0}`,r=t(\"[direction-outset-place]\"),n=i`[direction^=top] ${r}{bottom:100%}[direction^=bottom] ${r}{top:100%}[direction$=right] ${r}{left:100%}[direction$=left] ${r}{right:100%}`;export{e as directionInsetAlign,n as directionOutsetPlace};\n//# sourceMappingURL=direction.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as l}from\"@godown/element\";import n from\"@godown/f7-icon/icons/chevron-down.js\";import{css as r,nothing as h,html as a}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{directionOutsetPlace as f}from\"../core/direction.js\";function v(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function m(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let b=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}get observedRecord(){return{...super.observedRecord,direction:this.direction||this.autoDirection}}render(){return a`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,a`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${n()}</i></label>`,a`<label for=\"${this.makeId}\" part=\"content\" direction-outset-place>${l()}</label>`]}</div>`}_handleFocus(){if(!this.direction){const{top:t,bottom:e}=this.getBoundingClientRect();window.innerHeight-e<this._content.clientHeight&&t>this._content.clientHeight?this.autoDirection=\"top\":this.autoDirection=\"bottom\"}this.visible=!0}firstUpdated(){this.events.add(this._content,\"click\",(t=>{t.preventDefault(),t.stopPropagation();const{target:e}=t,i=this.optionValue(e);if(i){const t=this.select(i,e.textContent);this.multiple||m(this.lastChecked,0),m(e,t),this.lastChecked=e}this._input.focus()})),this.events.add(document,\"click\",(t=>{t.stopPropagation();const e=t.composedPath()[0];e&&!this.shadowRoot.contains(e)&&this.blur()}))}_connectedInit(){if(!this.value){const t=[...this.querySelectorAll(\"[checked]\")];(this.multiple?t:t.length?[this.lastChecked=t[0]]:[]).forEach((t=>{m(t,this.select(this.optionValue(t),t.textContent))})),this.default=this.value,this.defaultText=this.text,this.defaultChecked=t}this.text||(this.text=\"\")}reset(){this.value=this.default,this.text=this.defaultText,this.querySelectorAll(\"[checked]\").forEach((t=>m(t,0))),this.defaultChecked.forEach((t=>m(t,1)))}select(t,e){e||=t;let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchCustomEvent(\"select\",this.value),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||v(this.optionValue(e),t)||v(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0})}focus(t){this._input.focus(t),this.visible=!0}blur(){this._input.blur(),this.visible=!1,super.blur()}optionValue(t){return t.value||t.getAttribute(\"value\")||\"\"}};t([c()],b.prototype,\"text\",void 0),t([e(\"content\")],b.prototype,\"_content\",void 0),t([c()],b.prototype,\"direction\",void 0),t([c({type:Boolean})],b.prototype,\"multiple\",void 0),t([c({type:Boolean})],b.prototype,\"visible\",void 0),t([u()],b.prototype,\"autoDirection\",void 0),b=t([i(\"select\"),o(f,r`.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[visible] [part=content]{visibility:visible}`)],b);var _=b;export{b as Select,_ as default};\n//# sourceMappingURL=select.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;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 i,omit as r,attr as n,loop as s,tokenList as u}from\"@godown/element\";import{css as l,html as o}from\"lit\";import{property as a,state as c}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as p}from\"../core/global-style.js\";import{SuperInput as d}from\"../core/super-input.js\";const f=\"split\",b=h(f);let v=class Split extends d{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[]}get observedRecord(){return r(super.observedRecord,\"outline-type\")}render(){return o`<div part=\"root\" ${n(this.observedRecord)}>${s(this.len,(t=>o`<span part=\"input-box\" outline-type=\"${this.outlineType}\" class=\"${u({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\">${this.currentValue[t]}</span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=\"${this.blur}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\" .value=\"${this.value.padStart(this.len,\" \")}\"></div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus()}blur(){this._input.blur(),this.current=-1,super.blur()}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([a({type:Number})],v.prototype,\"len\",void 0),t([a({type:Number})],v.prototype,\"index\",void 0),t([c()],v.prototype,\"current\",void 0),t([c()],v.prototype,\"currentValue\",void 0),v=t([e(f),i(l`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${b}--size:1.45em;${b}--gap:.25em}[part=root]{display:flex;gap:var(${b}--gap);justify-content:space-between;position:relative}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${b}--size);justify-content:center;width:var(${b}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus,[part=input-box]:active{${p.input}-outline-color:var(${p.active})}`)],v);var m=v;export{v as Split,m 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 t}from\"tslib\";import{godown as e,styles as a,omit as i,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as l}from\"../core/super-input.js\";const c=\"switch\",p=h(c);let u=class Switch extends l{constructor(){super(...arguments),this.default=!1,this.value=!1}set checked(t){this.value=t}get checked(){return this.value}get observedRecord(){return i(super.observedRecord,\"outline-type\")}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"round\"><input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.value}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"> <span part=\"handle\"></span></div>`}reset(){this.value=this.default,this._input.checked=this.value}_connectedInit(){this.default?this.value=!0:this.value&&(this.value=!0,this.default=!0)}_handleChange(){const{checked:t}=this._input;this.value=t,this.dispatchCustomEvent(\"change\",this.value)}};t([n({type:Boolean})],u.prototype,\"default\",void 0),t([n({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),a(s`:host,:host([contents]) [part=root]{display:inline-block}:host{${p}-width:3em;${p}-height:calc(var(${p}-width)/2);${p}-handle-size:1.25em;${p}-handle-space:calc(var(${p}-width)/4 - var(${p}-handle-size)/2);${p}-transition:.2s ease-in-out;background:var(${d.passive});border-radius:calc(var(${p}-height)/2);height:var(${p}-height);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom;width:var(${p}-width)}:host([checked]){background:var(${d.active})}[part=root]{position:relative}[part=handle],[part=root]{align-items:center;display:flex;transition:inherit}[part=handle]{background:currentColor;border-radius:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:50%;--size:var(${p}-handle-size);height:var(--size);transform:translateY(-50%) translateX(var(${p}-handle-space));width:var(--size)}:host([checked]) [part=handle]{left:50%}[part=input]{height:100%;opacity:0;width:100%}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=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,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as v}from\"../core/global-style.js\";const d=\"text\",u=p(d);let h=class Text extends v{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\">${i()}</span>`}};o([c()],h.prototype,\"underline\",void 0),o([c({type:Boolean})],h.prototype,\"clip\",void 0),h=o([r(d),e(n`:host{${u}--color:currentColor;${u}--color-hover:currentColor;${u}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${u}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap}[part=root]:hover{color:var(${u}--color-hover,var(${u}--color))}[part=root]:active{color:var(${u}--color-active,var(${u}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],h);var w=h;export{h as Text,w as default};\n//# sourceMappingURL=text.js.map\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 i,styles as e,attr as o,tokenList as r,htmlSlot as s}from\"@godown/element\";import{scopePrefix as n,cssGlobalVars as a,GlobalStyle as d}from\"../core/global-style.js\";import{css as p,html as l}from\"lit\";import{property as c,queryAll as h}from\"lit/decorators.js\";import{OutlineBuilder as u}from\"../core/outline.js\";const m=\"tabs\",v=n(m),y=\"hover\";let x=class Tabs extends d{constructor(){super(...arguments),this.outlineType=\"border\",this.useSlot=!1,this.index=0}render(){return l`<ul part=\"root\" ${o(this.observedRecord)} @mouseleave=\"${this._handleMouseLeave}\">${this.tabs?.map(((t,i)=>t||this.useSlot?l`<li part=\"${r(\"item\",{selected:this.index===i})}\" @mouseenter=\"${()=>{this.move(this._lastIndex,i),this._lastIndex=i}}\" @click=\"${()=>this.select(i)}\">${this.useSlot?s(t):t}<div part=\"indicator\"></div></li>`:\"\"))}</ul>`}connectedCallback(){super.connectedCallback(),this._lastIndex=this.index}_handleMouseLeave(){const t=this._items[this._lastIndex];t&&t.part.remove(y),this._lastIndex=this.index}move(t,i){if(t===i)return;const{_items:e,_indicators:o}=this,r=e[i];if(!r)return;r.part.add(y);const s=e[t];if(!s)return;s.part.remove(y);const n=o[i],a=o[t];if(!n||!a)return;const d=a.getBoundingClientRect(),p=r.getBoundingClientRect(),l=d.x-p.x,c=d.y-p.y,h=d.width,{style:u}=n;u.transform=`translate3d(${l}px,${c}px,0)`,u.width=h+\"px\",u.transition=a.style.transition=\"none\",n.getBoundingClientRect(),u.width=u.transform=u.transition=a.style.transition=\"\"}select(t){const{index:i,tabs:e,_lastIndex:o,useSlot:r}=this;e&&i!==t&&t in e&&(this.dispatchCustomEvent(\"select\",t),this.move(o,t),this._lastIndex=t,i in e&&(e[i]||r)&&(this.index=t))}};t([c({attribute:\"outline-type\"})],x.prototype,\"outlineType\",void 0),t([c({type:Boolean})],x.prototype,\"useSlot\",void 0),t([c({type:Array})],x.prototype,\"tabs\",void 0),t([c({type:Number})],x.prototype,\"index\",void 0),t([h(\"[part~=item]\")],x.prototype,\"_items\",void 0),t([h(\"[part=indicator]\")],x.prototype,\"_indicators\",void 0),x=t([i(m),e(new u({width:`${v}--outline-width`,color:`${v}--outline-color`}).css,p`:host{${v}--indicator-background:var(${a._colors.darkgray[7]});${v}--outline-color:var(${a.passive});${v}--outline-width:0.075em;${v}--space:0.25em;border-radius:var(${a.borderRadius});cursor:default;display:flex;transition:.2s ease-in-out;width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;display:flex;flex-direction:inherit;gap:var(${v}--space);overflow-x:clip;padding:var(${v}--space);position:relative;transition:inherit;transition-property:width,transform,opacity;z-index:1}[useslot] [part~=item]{padding:0}[part~=item]{display:block;padding:0 .4em;position:relative;white-space:nowrap}[part=indicator],[part~=item]{border-radius:inherit;transition:inherit;transition-property:inherit;width:100%}[part=indicator]{background:var(${v}--indicator-background);height:100%;inset:0;opacity:0;position:absolute;z-index:-1}[part~=selected]{background:var(${v}--indicator-background)}[part~=hover] [part=indicator],[part~=selected] [part=indicator]{opacity:1}`)],x);var b=x;export{x as Tabs,b as default};\n//# sourceMappingURL=tabs.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 o from\"./components/tabs.js\";export{Tabs}from\"./components/tabs.js\";o.define();export{o as default};\n//# sourceMappingURL=tabs.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../core/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${o(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchCustomEvent(\"time\",this.time),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),i(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";import{directionOutsetPlace as d}from\"../core/direction.js\";var c;const h=\"tooltip\",f=a(h);let u=c=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=c.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return s`<div part=\"root\" ${o(this.observedRecord)} tabindex=\"${i?0:-1}\" @focus=\"${i?()=>this.open=!0:null}\" @blur=\"${i?()=>this.open=!1:null}\" @mouseenter=\"${i?null:()=>this.open=!0}\" @mouseleave=\"${i?null:()=>this.open=!1}\" style=\"justify-content:${t};align-items:${t}\">${n()}<div part=\"tip\" direction-outset-place>${this.tip?s`<span class=\"passive\">${this.tip}</span>`:n(\"tip\")}</div></div>`}};u.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([p()],u.prototype,\"tip\",void 0),t([p()],u.prototype,\"direction\",void 0),t([p()],u.prototype,\"align\",void 0),t([p({type:Boolean})],u.prototype,\"propagation\",void 0),t([p()],u.prototype,\"type\",void 0),u=c=t([i(h),e(d,r`:host{${f}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{border-radius:inherit;position:relative;transition:inherit}[part=tip]{height:-moz-fit-content;height:fit-content;position:absolute;transition:inherit;-webkit-user-select:none;user-select:none;visibility:hidden;width:-moz-fit-content;width:fit-content}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${f}--tip-background)}[propagation] [part=tip]{pointer-events:none}`)],u);var v=u;export{u as Tooltip,v as default};\n//# sourceMappingURL=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 o,attr as i,htmlSlot as n,Ranger as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as a,query as p}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as c}from\"../core/global-style.js\";const m=\"typewriter\",y=l(m);let u=class Typewriter extends c{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${i(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}connectedCallback(){super.connectedCallback(),this._ranger=new r(this.min,this.max)}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchCustomEvent(this.index===this.len?\"done\":\"write\",this.contentInternal)}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||this._ranger.random();this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([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([a()],u.prototype,\"contentInternal\",void 0),t([p(\"i\")],u.prototype,\"_i\",void 0),u=t([e(m),o(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","isNullable","value","isString","isObject","isArray","Array","omit","obj","keys","result","includes","join","a","b","sep","infixed","startsWith","endsWith","styles","s","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$a","n","this","_$cssResult$","Error","cssText","styleSheet","replaceSync","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","String","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$6","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","properties","_$Eu","elementStyles","finalizeStyles","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","createDocumentFragment","querySelectorAll","part","partName","cache","query","i$2","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","toEntries","k","v","entries","updateAttribute","noAttribute","isNumber","isNaN","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","fn","PartType","element","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","html","nothing","constructCSSObject","vars","props","selectorFunc","propertyFunc","cssObject","sel","index0","rules","reduce","acc","index","joinRules","joinProperties","toVar","htmlStyle","style","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","loop","len","tokenList","args","cur","deepQuerySelectorAll","selectors","root","Element","el","child","children","from","deepQuerySelector","Events","inner","src","listener","options","typeMap","elementSet","addEventListener","remove","removeEventListener","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","_","Ranger","endpoint1","endpoint2","step","max","Math","min","diff","random","normalize","present","decimal","restrict","round","RouteTree","matchType","MatchTypes","strict","insert","pattern","parts","split","spec","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","slice","Timeouts","undefined","clearTimeout","attributeName","property","GodownElement","LitElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","trim","test","splice","adoptStyles","lazy","events","observers","timeouts","assign","mount","arg","unmount","remount","stack","sheet","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","_a","match","splitWords","toDash","getName","whenDefined","upgrade","a$3","n$7","d$7","p$8","g$2","h$9","m$f","u$8","rgb","g","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","func","start","trimStartFunc","end","trimEndFunc","trimFunc","str","repeat","clipBackground","active","passive","_colors","input","white","black","color","borderRadius","unsafeCSS","flatMap","$","j","w","q","gray","C","tip","success","info","warning","danger","m","error","help","deprecated","x","Alert","autoclose","hideClose","variant","title","content","close","bubbles","setTimeout","alert","A","Avatar","_renderAvatar","_handleError","formatName","Badge","position","dot","formatValue","Breath","getTexts","_renderText","_computeStyle","duration","Button","plain","disabled","ghost","nextColor","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","sqrt","left","top","animationName","_modalRoot","once","Card","footer","header","r$1","h$7","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","insertBefore","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$5","SuperOpenable","open","toggle","Details","float","fill","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","_offsetParent","offsetParent","_handleDragStart","reset","__x","__y","__t","__l","__handleMouseMove","_handleDrag","__handleMouseLeave","_handleDragEnd","__handleMouseUp","offsetWidth","offsetHeight","offsetLeft","offsetTop","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","fromEntries","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","p$3","OutlineBuilder","SuperInput","autofocus","outlineType","compositing","makeId","defaultValue","default","_input","_handleInput","_handleChange","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","Input","autocapitalize","autocomplete","placeholder","Layout","sticky","SuperAnchor","pathname","URL","href","location","_handleClick","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","handlePopstate","window","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","collectSlottedRoutes","attributeFilter","subtree","useRouter","updateAll","Link","suppress","handleState","history","pushState","replaceState","some","Progress","Range","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","indexOf","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","clientX","clientY","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","clientHeight","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","_handleMouseLeave","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop"],"mappings":";;;;;GAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAClD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,CAC9D,CA4QkD,mBAApBO,iBAAiCA,gBCvUxD,MAAMC,EAAcC,GAAUA,QAGxBC,EAAYD,GAA2B,iBAAVA,EAK7BE,EAAYF,GAAoB,OAAVA,GAAmC,iBAAV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AWF,GAAEzB,UAAU,aAAQ,GAAQP,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAEzB,UAAU,WAAM,GAAQP,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAEzB,UAAU,WAAM,GAAQP,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAEzB,UAAU,aAAQ,GAAQP,EAAE,CAACyB,EAAE,CAACkB,KAAKL,UAAUN,GAAEzB,UAAU,aAAQ,GAAQP,EAAE,CAAC7B,KAAK6D,GAAEzB,UAAU,uBAAkB,GAAQP,EAAE,CAAC8B,EAAE,MAAME,GAAEzB,UAAU,UAAK,GAAQyB,GAAEhC,EAAE,CAACE,EAAEgZ,IAAGxY,EAAEhC,EAACiV,GAAA,SAASlR,yIAAwIA,yIAAwIT,IAAM,IAAC+H,GAAE/H,GCApzD9B,GAAEN","x_google_ignoreList":[0,7,8,9,10,11,12,13,15,108]}
|
1
|
+
{"version":3,"file":"godown.umd.js","sources":["../../../node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.mjs","../../sharekit/is.js","../../sharekit/helper.js","../../sharekit/string.js","../../element/tools/lib.js","../../element/tools/css.js","../../element/controllers/style.js","../../element/decorators/styles.js","../../element/decorators/godown.js","../../element/decorators/component.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js","../../../node_modules/.pnpm/@lit+reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-all.js","../../element/decorators/part.js","../../../node_modules/.pnpm/lit-html@3.2.1/node_modules/lit-html/directive.js","../../element/directives/attr.js","../../element/directives/html-slot.js","../../element/directives/html-style.js","../../element/directives/icon.js","../../element/directives/loop.js","../../element/directives/token-list.js","../../element/tools/dom.js","../../element/tools/events.js","../../element/tools/observers.js","../../element/tools/ranger.js","../../element/tools/route-tree.js","../../element/tools/timeouts.js","../../element/element.js","../../element/config.js","../../f7-icon/icons/checkmark-alt-circle.js","../../f7-icon/icons/exclamationmark-circle.js","../../f7-icon/icons/info-circle.js","../../f7-icon/icons/lightbulb.js","../../f7-icon/icons/question-circle.js","../../f7-icon/icons/slash-circle.js","../../f7-icon/icons/xmark-circle.js","../../f7-icon/icons/xmark.js","../../colors/presets-rgb.js","../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","../core/outline.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","../rotate.js","../router.js","../core/direction.js","../components/select.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","../text.js","../components/tabs.js","../../../node_modules/.pnpm/fmtime@0.0.3/node_modules/fmtime/index.js","../tabs.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","export const isNullable = (value) => value === null || value === undefined;\nexport const isNumerical = (value) => !Number.isNaN(+value);\nexport const isBoolean = (value) => typeof value === \"boolean\";\nexport const isString = (value) => typeof value === \"string\";\nexport const isSymbol = (value) => typeof value === \"symbol\";\nexport const isNumber = (value) => typeof value === \"number\";\nexport const isBigInt = (value) => typeof value === \"bigint\";\nexport const isFunction = (value) => typeof value === \"function\";\nexport const isObject = (value) => value !== null && typeof value === \"object\";\nexport const isPlainObject = (value) => isObject(value) && Object.getPrototypeOf(value) === Object.prototype;\nexport const isPropertyKey = (value) => isString(value) || isSymbol(value) || isNumber(value);\nexport const isPrimitive = (value) => !isObject(value) && !isFunction(value);\nexport const { isArray } = Array;\nexport const isArrayLike = (value) => isArray(value) || (isObject(value) && isNumber(value.length));\nexport const isTemplateStringArray = (value) => isArray(value) && isArray(value.raw);\nexport const isConstructor = (value) => { var _a; return typeof value === \"function\" && ((_a = value.prototype) === null || _a === void 0 ? void 0 : _a.constructor) === value; };\n//# sourceMappingURL=is.js.map","export const omit = (obj, ...keys) => {\n const result = {};\n for (const key in obj) {\n if (!keys.includes(key)) {\n result[key] = obj[key];\n }\n }\n return result;\n};\nexport const pick = (obj, ...keys) => {\n const result = {};\n for (const key of keys) {\n result[key] = obj[key];\n }\n return result;\n};\n//# sourceMappingURL=helper.js.map","export const join = (a, b, sep) => (a ? a + (b ? sep + b : \"\") : b) || \"\";\nexport const infixed = (a, b, c) => a.startsWith(b) && a.endsWith(c);\nexport const trimStartFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let start = 0;\n while (start < s.length && func(s.slice(start, start + 1))) {\n start += 1;\n }\n return s.slice(start);\n};\nexport const trimEndFunc = (s, func) => {\n if (!s || !func) {\n return s;\n }\n let end = s.length;\n while (end > 0 && func(s.slice(end - 1, end))) {\n end -= 1;\n }\n return s.slice(0, end);\n};\nexport const trimFunc = (s, func) => trimStartFunc(trimEndFunc(s, func), func);\nexport const trimStart = (s, spec) => trimStartFunc(s, (str) => str === spec);\nexport const trimEnd = (s, spec) => trimEndFunc(s, (str) => str === spec);\nexport const trim = (s, spec) => trimFunc(s, (str) => str === spec);\nconst splitWords = (s) => { var _a; return ((_a = s.match(/[A-Z][^A-Z_-\\s]*|[^A-Z_-\\s]+/g)) === null || _a === void 0 ? void 0 : _a.map((s) => s.toLowerCase())) || []; };\nexport const capitalize = (s) => (s.slice(0, 1).toUpperCase() + s.slice(1));\nexport const uncapitalize = (s) => (s.slice(0, 1).toLowerCase() + s.slice(1));\nexport const toCamel = (s, u) => {\n const tokens = splitWords(s);\n if (!tokens.length) {\n return \"\";\n }\n const first = tokens.shift();\n const rest = tokens.map(capitalize);\n return (u ? capitalize(first) : first) + rest.join(\"\");\n};\nexport const toDash = (s) => splitWords(s).join(\"-\");\nexport const toSnake = (s) => splitWords(s).join(\"_\");\n//# sourceMappingURL=string.js.map","import { isArray } from \"sharekit\";\nexport * from \"sharekit\";\nexport function* toEntries(o) {\n for (const [k, v] of isArray(o) ? o : Object.entries(o)) {\n yield [k, v];\n }\n}\n//# sourceMappingURL=lib.js.map","import { isNullable, isObject, toEntries } from \"./lib.js\";\nexport const joinRules = (rules) => {\n let result = \"\";\n for (const [key, value] of toEntries(rules)) {\n if (value) {\n const properties = isObject(value) && !(\"_$cssResult$\" in value) ? joinDeclarations(value) : value;\n if (properties) {\n result += key ? `${key}{${properties}}` : properties;\n }\n }\n }\n return result;\n};\nexport const joinDeclarations = (props) => {\n let result = \"\";\n for (const [key, value] of toEntries(props)) {\n if (key && !isNullable(value)) {\n result += `${key}:${value};`;\n }\n }\n return result;\n};\nexport const toVar = (a, b) => (a ? `var(${a}${b ? `,${b}` : \"\"})` : \"\");\nexport const toStyleSheet = (style) => {\n if (!(style instanceof CSSStyleSheet)) {\n const sheet = new CSSStyleSheet();\n sheet.replaceSync(String(style));\n return sheet;\n }\n return style;\n};\n//# sourceMappingURL=css.js.map","import { toStyleSheet } from \"../tools/css.js\";\n/**\n * StyleController computes and applies styles when host updated.\n */\nexport class StyleController {\n constructor(host, computeStyle) {\n (this.host = host).addController(this);\n this.computeStyle = computeStyle;\n }\n hostUpdated() {\n const sheets = this.host.shadowRoot?.adoptedStyleSheets;\n if (!sheets) {\n return;\n }\n if (this.styleID !== undefined) {\n sheets.splice(this.styleID, 1);\n }\n const styleResult = this.computeStyle(this.host);\n if (!styleResult) {\n this.styleID = undefined;\n return;\n }\n this.styleID = sheets.push(toStyleSheet(styleResult)) - 1;\n }\n}\nexport default StyleController;\n//# sourceMappingURL=style.js.map","/**\n * Decorator that adds styles to a component.\n *\n * Tracks the styles of a component and extends them with the styles of its super classes.\n *\n * @param s The styles to add to the component.\n * @returns Decorator.\n */\nexport const styles = (...s) => {\n return (constructor) => {\n const protoStyles = [];\n for (let superClass = Object.getPrototypeOf(constructor); superClass.styles; superClass = Object.getPrototypeOf(superClass)) {\n protoStyles.push(superClass.styles);\n }\n constructor.styles = [...protoStyles, ...s];\n };\n};\nexport default styles;\n//# sourceMappingURL=styles.js.map","import { toDash } from \"sharekit\";\nimport { component } from \"./component.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `option` will call {@link component}.\n *\n * @param name Proto name, wil call `GodownElement.godownConfig.tag(name)` to get the tag name.\n * @param option Omit `tagName` from {@link component} options.\n * @returns Decorator.\n */\nexport const godown = (name, option) => (constructor) => {\n name ||= toDash(constructor.name);\n constructor.protoName = name;\n const tagName = constructor.godownConfig.tag(name);\n component({\n tagName,\n ...option,\n })(constructor);\n};\nexport default godown;\n//# sourceMappingURL=godown.js.map","import { styles } from \"./styles.js\";\n/**\n * Decorator to define element and set styles.\n *\n * `styles` will call {@link styles}.\n * @param param0.tagName tagName of the custom element.\n * @param param0.styles styles of the custom element.\n * @param param0.superStyles if true, extend the styles from the super class.\n * @param param0.autoDefine if true, define the element.\n * @param param0.registry custom element registry.\n * @returns Decorator.\n */\nexport const component = ({ tagName, styles: s, autoDefine = false, registry = customElements }) => (constructor) => {\n constructor.elementTagName = tagName;\n if (s) {\n styles(s)(constructor);\n }\n if (autoDefine && !registry.get(tagName)) {\n registry.define(tagName, constructor);\n }\n};\nexport default component;\n//# sourceMappingURL=component.js.map","/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&\"adoptedStyleSheets\"in Document.prototype&&\"replace\"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error(\"CSSResult is not constructable. Use `unsafeCSS` or `css` instead.\");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const r=t=>new n(\"string\"==typeof t?t:t+\"\",void 0,s),i=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if(\"number\"==typeof t)return t;throw Error(\"Value passed to 'css' function must be a 'css' function result: \"+t+\". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.\")})(s)+t[o+1]),t[0]);return new n(o,t,s)},S=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement(\"style\"),n=t.litNonce;void 0!==n&&o.setAttribute(\"nonce\",n),o.textContent=e.cssText,s.appendChild(o)}},c=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e=\"\";for(const s of t.cssRules)e+=s.cssText;return r(e)})(t):t;export{n as CSSResult,S as adoptStyles,i as css,c as getCompatibleStyle,e as supportsAdoptingStyleSheets,r as unsafeCSS};\n//# sourceMappingURL=css-tag.js.map\n","import{getCompatibleStyle as t,adoptStyles as s}from\"./css-tag.js\";export{CSSResult,adoptStyles,css,getCompatibleStyle,supportsAdoptingStyleSheets,unsafeCSS}from\"./css-tag.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const{is:i,defineProperty:e,getOwnPropertyDescriptor:r,getOwnPropertyNames:h,getOwnPropertySymbols:o,getPrototypeOf:n}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:\"\",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch(t){i=null}}return i}},f=(t,s)=>!i(t,s),y={attribute:!0,type:String,converter:u,reflect:!1,hasChanged:f};Symbol.metadata??=Symbol(\"metadata\"),a.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e(this.prototype,t,r)}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t}};return{get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d(\"elementProperties\")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d(\"finalized\")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d(\"properties\"))){const t=this.properties,s=[...h(t),...o(t)];for(const i of s)this.createProperty(i,t[i])}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i)}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(t(s))}else void 0!==s&&i.push(t(s));return i}static _$Eu(t,s){const i=s.attribute;return!1===i?void 0:\"string\"==typeof i?i:\"string\"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return s(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,s,i){this._$AK(t,i)}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r=\"function\"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f)(this[t],s))return;this.P(t,s,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i)}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:\"open\"},b[d(\"elementProperties\")]=new Map,b[d(\"finalized\")]=new Map,p?.({ReactiveElement:b}),(a.reactiveElementVersions??=[]).push(\"2.0.4\");export{b as ReactiveElement,u as defaultConverter,f as notEqual};\n//# sourceMappingURL=reactive-element.js.map\n","import{defaultConverter as t,notEqual as e}from\"../reactive-element.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */const o={attribute:!0,type:String,converter:t,reflect:!1,hasChanged:e},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),s.set(r.name,t),\"accessor\"===n){const{name:o}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t)},init(e){return void 0!==e&&this.P(o,void 0,t),e}}}if(\"setter\"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t)}}throw Error(\"Unsupported decorator location: \"+n)};function n(t){return(e,o)=>\"object\"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,r?{...t,wrapped:!0}:t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}export{n as property,r as standardProperty};\n//# sourceMappingURL=property.js.map\n","import{property as t}from\"./property.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function r(r){return t({...r,state:!0,attribute:!1})}export{r as state};\n//# sourceMappingURL=state.js.map\n","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst e=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&\"object\"!=typeof t&&Object.defineProperty(e,t,c),c);export{e as desc};\n//# sourceMappingURL=base.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */function e(e,r){return(n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}=\"object\"==typeof s?n:i??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return t(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return t(n,s,{get(){return o(this)}})}}export{e as query};\n//# sourceMappingURL=query.js.map\n","import{desc as t}from\"./base.js\";\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nlet e;function r(r){return(n,o)=>t(n,o,{get(){return(this.renderRoot??(e??=document.createDocumentFragment())).querySelectorAll(r)}})}export{r as queryAll};\n//# sourceMappingURL=query-all.js.map\n","import { query } from \"lit/decorators.js\";\n/**\n * Alias for `query(`[part=${partName}]`, cache)`.\n *\n * Default cache.\n *\n * @param partName - The name of the part to query.\n * @returns Decorator.\n */\nexport const part = (partName, cache = true) => query(`[part~=\"${partName}\"]`, cache);\nexport default part;\n//# sourceMappingURL=part.js.map","/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{i as Directive,t as PartType,e as directive};\n//# sourceMappingURL=directive.js.map\n","import { noChange } from \"lit\";\nimport { Directive, directive, PartType } from \"lit/directive.js\";\nimport { isNullable, isNumber, isString, join } from \"../tools/lib.js\";\nconst noAttribute = (value) => isNullable(value) || value === false;\nexport function updateAttribute(name, value) {\n if (noAttribute(value)) {\n this.removeAttribute(name);\n }\n else if (value === true) {\n this.setAttribute(name, \"\");\n }\n else if (isString(value) || (isNumber(value) && !Number.isNaN(value))) {\n this.setAttribute(name, String(value));\n }\n else {\n this[name] = value;\n }\n}\nclass AttrDirective extends Directive {\n render(value, caller) { }\n update(part, [value, fn = updateAttribute]) {\n if (value && part.type === PartType.ELEMENT) {\n for (const name in value) {\n fn.call(part.element, name, value[name]);\n }\n }\n return noChange;\n }\n}\n/**\n * A directive that sets element attributes.\n * @param value An object with names and values.\n * @param caller A function to call for each attribute, {@link updateAttribute} by default.\n * @returns Directive to set attributes.\n */\nexport const attr = directive(AttrDirective);\nexport const attrToString = (a) => Object.entries(a).reduce((acc, [key, value]) => {\n if (noAttribute(value)) {\n return acc;\n }\n return join(acc, key + (value === true ? \"\" : `=\"${value}\"`), \" \");\n}, \"\");\nconst svgInitials = {\n width: \"1em\",\n height: \"1em\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"xmlns:xlink\": \"http://www.w3.org/1999/xlink\",\n};\nexport const withInitials = (attrDirective, i) => (a) => attrDirective({\n ...i,\n ...a,\n});\nexport const svgAttr = withInitials(attr, svgInitials);\nexport const svgAttrToString = withInitials(attrToString, svgInitials);\nexport default attr;\n//# sourceMappingURL=attr.js.map","import { html, nothing } from \"lit\";\n/**\n * Slot element directive.\n *\n * @param name Slot name, if zero value, no name attribute will be added.\n * @returns TemplateResult or nothing.\n */\nexport const htmlSlot = (name) => html `<slot name=\"${name || nothing}\"></slot>`;\nexport default htmlSlot;\n//# sourceMappingURL=html-slot.js.map","import { html, nothing } from \"lit\";\nimport { joinRules } from \"../tools/css.js\";\nimport { isString } from \"sharekit\";\n/**\n * Style element directive.\n *\n * @param style String of CSS style.\n * @param media Style media attribute.\n * @returns TemplateResult or nothing.\n */\nexport const htmlStyle = (style, media) => {\n if (!style) {\n return nothing;\n }\n const styleString = isString(style) ? style : joinRules(style);\n return styleString\n ? html `<style media=\"${media || nothing}\">${styleString}</style>`\n : nothing;\n};\nexport default htmlStyle;\n//# sourceMappingURL=html-style.js.map","import { html, svg } from \"lit\";\nimport { isString } from \"../tools/lib.js\";\nimport { svgAttr } from \"./attr.js\";\nexport const icon = (viewBox) => (strings, ...values) => {\n const body = svg(strings, values);\n const s = isString(viewBox) ? viewBox : viewBox.join(\" \");\n const renderer = (attributes) => html `<svg viewBox=\"${s}\" ${svgAttr(attributes)}>${body}</svg>`;\n renderer.body = body;\n renderer.viewBox = s;\n return renderer;\n};\nexport default icon;\n//# sourceMappingURL=icon.js.map","/**\n * Generates a sequence of values by repeatedly calling the provided function.\n *\n * @param len - The number of values to generate.\n * @param fn - The function to call for each value in the sequence. The function can optionally take the current index as a parameter.\n * @param reverse - If true, the sequence will be generated in reverse order.\n * @returns A generator that yields the values produced by calling the provided function.\n */\nexport function* loop(len, fn, reverse) {\n if (reverse) {\n for (let index = len - 1; index >= 0; index--) {\n yield fn(index);\n }\n }\n else {\n for (let index = 0; index < len; index++) {\n yield fn(index);\n }\n }\n}\nexport default loop;\n//# sourceMappingURL=loop.js.map","import { isArray, isObject, join } from \"../tools/lib.js\";\n/**\n * tokenList combines tokens into a single string,\n * it does not trim blanks and remove duplicates.\n *\n * To set element attributes, use {@link attr}.\n *\n * Useful for classList, part, etc.\n *\n * @param args Tokens to combine.\n * @returns Combined string.\n */\nexport const tokenList = (...args) => args.reduce((acc, cur) => {\n if (!cur) {\n return acc;\n }\n if (isArray(cur)) {\n return join(acc, tokenList(...cur), \" \");\n }\n if (isObject(cur)) {\n for (const key in cur) {\n if (cur[key]) {\n acc = join(acc, key, \" \");\n }\n }\n return acc;\n }\n return join(acc, cur, \" \");\n}, \"\");\nexport default tokenList;\nexport const clean = (str) => {\n return [...new Set(str.split(/\\s+/))].join(\" \");\n};\n//# sourceMappingURL=token-list.js.map","export function deepQuerySelectorAll(selectors, root = this) {\n if (!root || !selectors) {\n return [];\n }\n const result = new Set();\n if (root instanceof Element && root.shadowRoot) {\n deepQuerySelectorAll(selectors, root.shadowRoot).forEach((el) => result.add(el));\n }\n root.querySelectorAll(selectors).forEach((el) => result.add(el));\n for (const child of root.children) {\n deepQuerySelectorAll(selectors, child).forEach((el) => result.add(el));\n }\n return Array.from(result);\n}\nexport function deepQuerySelector(selectors, root = this) {\n if (!root || !selectors) {\n return null;\n }\n let result;\n if (root instanceof Element && root.shadowRoot) {\n result = deepQuerySelector(selectors, root.shadowRoot);\n if (result) {\n return result;\n }\n }\n result = root.querySelector(selectors);\n if (result) {\n return result;\n }\n for (const child of root.children) {\n result = deepQuerySelector(selectors, child);\n if (result) {\n return result;\n }\n }\n return null;\n}\n//# sourceMappingURL=dom.js.map","export class Events {\n constructor() {\n this.inner = new Map();\n }\n add(src, type, listener, options) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type) || new Map();\n const elementSet = typeMap.get(src) || new Set();\n elementSet.add(listener);\n typeMap.set(src, elementSet);\n this.inner.set(type, typeMap);\n src.addEventListener(type, listener, options);\n return listener;\n }\n remove(src, type, listener, option) {\n if (!src || !listener) {\n return;\n }\n const typeMap = this.inner.get(type);\n if (typeMap) {\n const elementSet = typeMap.get(src);\n if (elementSet) {\n elementSet.delete(listener);\n if (!elementSet.size) {\n typeMap.delete(src);\n if (!typeMap.size) {\n this.inner.delete(type);\n }\n }\n }\n }\n src.removeEventListener(type, listener, option);\n }\n removeAll() {\n this.inner.forEach((typeMap, type) => {\n typeMap.forEach((eventListeners, src) => {\n eventListeners.forEach((listener) => {\n src.removeEventListener(type, listener);\n });\n });\n typeMap.clear();\n });\n this.inner.clear();\n }\n}\nexport default Events;\n//# sourceMappingURL=events.js.map","export const normalizeObserver = (type, callback, options) => {\n let observer;\n let observeFunc;\n switch (type) {\n case MutationObserver:\n case ResizeObserver:\n observer = new type(callback);\n observeFunc =\n ((target) => observer.observe(target, options));\n break;\n case IntersectionObserver:\n observer = new type(callback, options);\n observeFunc = ((target) => observer.observe(target));\n break;\n case PerformanceObserver:\n observer = new type(callback);\n observeFunc = (() => observer.observe(options));\n break;\n }\n return [observer, observeFunc];\n};\nexport class Observers {\n constructor() {\n this.inner = new Map();\n }\n add(target, type, callback, options) {\n const [observer, observeFunc] = normalizeObserver(type, callback, options);\n if (!observer) {\n return;\n }\n this.inner.set(observer, (this.inner.get(observer) || new Set()).add(target));\n observeFunc(target);\n return observer;\n }\n remove(ob, target) {\n ob.disconnect();\n const set = this.inner.get(ob);\n if (\"unobserve\" in ob) {\n if (target) {\n ob.unobserve(target);\n set?.delete(target);\n }\n else {\n set?.forEach((target) => {\n ob.unobserve(target);\n });\n set?.clear();\n }\n if (set && !set.size) {\n this.inner.delete(ob);\n }\n }\n else if (set) {\n this.inner.delete(ob);\n }\n }\n removeAll() {\n this.inner.forEach((_, ob) => {\n this.remove(ob);\n });\n }\n}\nexport default Observers;\n//# sourceMappingURL=observers.js.map","export class Ranger {\n constructor(endpoint1, endpoint2, step) {\n this.max = Math.max(endpoint1, endpoint2);\n this.min = Math.min(endpoint1, endpoint2);\n this.diff = this.max - this.min;\n this.step = step;\n }\n random() {\n return this.normalize(Math.random() * this.diff + this.min);\n }\n present(decimal) {\n return this.normalize(decimal * this.diff);\n }\n normalize(value) {\n value = this.restrict(value);\n if (!this.step) {\n return value;\n }\n return this.min + Math.round((value - this.min) / this.step) * this.step;\n }\n restrict(value) {\n return this.max <= value ? this.max : this.min >= value ? this.min : value;\n }\n}\nexport default Ranger;\n//# sourceMappingURL=ranger.js.map","import { infixed, isString } from \"sharekit\";\nexport class RouteTree {\n constructor() {\n /**\n * The type of match for the current route tree node.\n * Can be one of {@link RouteTree.MatchTypes}.\n */\n this.matchType = RouteTree.MatchTypes.strict;\n this.children = [];\n }\n /**\n * Inserts a pattern into the route tree.\n * @param pattern The pattern to insert.\n * @param parts The parts of the pattern, if already split.\n * @param height The current height in the route tree.\n */\n insert(pattern, parts, height = 0) {\n if (!parts) {\n parts = RouteTree.split(pattern);\n }\n if (parts.length === height) {\n this.pattern = pattern;\n return;\n }\n const part = parts[height];\n let spec = this.findStrict(part);\n if (!spec) {\n spec = new RouteTree();\n spec.part = part;\n spec.matchType = RouteTree.dynamic(part).matchType;\n this.children.push(spec);\n this.sorted = false;\n }\n spec.insert(pattern, parts, height + 1);\n }\n /**\n * Searches for a route in the route tree.\n * @param parts The path or parts of the path to search.\n * @param height The current height in the route tree.\n * @returns The matching route tree node, or null if not found.\n */\n search(parts, height = 0) {\n if (isString(parts)) {\n parts = RouteTree.split(parts);\n }\n if (!this.sorted) {\n this.sort();\n }\n if (parts.length === height || RouteTree.dynamic(this.part).matchType === RouteTree.MatchTypes.multi) {\n if (!this.pattern) {\n return null;\n }\n return this;\n }\n const part = parts[height];\n const children = this.filterWide(part);\n for (const child of children) {\n const result = child.search(parts, height + 1);\n if (result !== null) {\n return result;\n }\n }\n return null;\n }\n findStrict(part) {\n return this.children.find((child) => child.part === part) || null;\n }\n filterWide(part) {\n return this.children.filter((child) => child.part === part || child.matchType);\n }\n /**\n * Sorts the children of the route tree.\n * @returns void\n */\n sort() {\n const { children } = this;\n if (children.length) {\n children.sort((a, b) => {\n return a.matchType - b.matchType;\n });\n for (const child of children) {\n child.sort();\n }\n }\n this.sorted = true;\n }\n /**\n * Parses a path and a pattern, and returns an object with the dynamic matching parameters.\n * Split the path and pattern into parts, pick up the matching parts, and return them as an object.\n * @param path The path to parse.\n * @param pattern The pattern to parse.\n * @returns An object with the dynamic matching parameters.\n */\n static parseParams(path, pattern) {\n const pathSplit = RouteTree.split(path);\n const patternSplit = RouteTree.split(pattern);\n const params = {};\n for (let index = 0; index < patternSplit.length; index++) {\n const part = patternSplit[index];\n const { key, matchType } = RouteTree.dynamic(part);\n if (matchType === RouteTree.MatchTypes.single) {\n params[key] = pathSplit[index];\n }\n else if (matchType === RouteTree.MatchTypes.multi) {\n params[key] = pathSplit.slice(index).join(\"/\");\n break;\n }\n }\n return params;\n }\n /**\n * Parses a route pattern and returns key and match type of the dynamic parameter.\n * The pattern may contain dynamic parameters in the following formats:\n * - `{param}`: single parameter\n * - `[param]`: single parameter\n * - `:param`: single parameter\n * - `*param`: multi-parameter\n * - `...param`: multi-parameter\n *\n * If the matching still exists within the parentheses, ignore the previous value.\n *\n * @param key The route pattern to parse.\n * @returns Key and match type of the dynamic parameter.\n */\n static dynamic(key) {\n if (key) {\n if (infixed(key, \"{\", \"}\") || infixed(key, \"[\", \"]\")) {\n key = key.slice(1, -1);\n const result = RouteTree.dynamic(key);\n result.matchType ||= RouteTree.MatchTypes.single;\n return result;\n }\n if (key.startsWith(\":\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.single,\n };\n }\n if (key.startsWith(\"*\")) {\n return {\n key: key.slice(1),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n if (key.startsWith(\"...\")) {\n return {\n key: key.slice(3),\n matchType: RouteTree.MatchTypes.multi,\n };\n }\n }\n return {\n key: key,\n matchType: RouteTree.MatchTypes.strict,\n };\n }\n /**\n * Split a path string by \"/\" and filter out any empty parts.\n * @param s - The path string to split.\n * @returns An array of path segments with any empty parts removed.\n */\n static split(s) {\n return s.split(\"/\").filter((a) => a);\n }\n}\nRouteTree.MatchTypes = {\n strict: 0,\n single: 1,\n multi: 2,\n};\nexport default RouteTree;\n//# sourceMappingURL=route-tree.js.map","export class Timeouts {\n constructor() {\n this.inner = new Set();\n }\n add(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n if (this.inner.has(t)) {\n clearTimeout(t);\n }\n this.inner.add(t);\n return t;\n }\n remove(t) {\n if (t === undefined) {\n return;\n }\n t = +t;\n clearTimeout(t);\n this.inner.delete(t);\n }\n removeAll() {\n this.inner.forEach(clearTimeout);\n this.inner.clear();\n }\n}\n//# sourceMappingURL=timeouts.js.map","import { __decorate } from \"tslib\";\nimport { LitElement } from \"lit\";\nimport { property } from \"lit/decorators.js\";\nimport { GodownConfig } from \"./config.js\";\nimport { deepQuerySelector, deepQuerySelectorAll, Events, isSymbol, Observers, Timeouts } from \"./tools/index.js\";\nexport const attributeName = (property, { attribute }) => {\n if (attribute === false || isSymbol(property)) {\n return;\n }\n return attribute === true || attribute === undefined ? String(property).toLowerCase() : attribute;\n};\nconst withSelectorRegex = /^[\\s\\S]*{[\\s\\S]*}$/;\nexport class GodownElement extends LitElement {\n /**\n * Defines a custom element with the specified tag name and options.\n * If the element is not already defined, it will be registered with the GodownConfig.\n * @param tagName - The tag name to use for the custom element, defaulting to the {@link elementTagName} static property.\n * @param options - Element definition options.\n */\n static define(tagName = this.elementTagName, options) {\n if (!this.isDefined()) {\n this.godownConfig.define(tagName, this, options);\n }\n }\n static isDefined() {\n return !!this.getDefined();\n }\n static getDefined() {\n return this.godownConfig.get(this.elementTagName);\n }\n static finalize() {\n super.finalize();\n this.elementAttributes = new Map();\n for (const [property, option] of this.elementProperties.entries()) {\n const attribute = attributeName(property, option);\n if (attribute) {\n this.elementAttributes.set(attribute, property);\n }\n }\n }\n /**\n * Returns an object containing the current values of the observed attributes.\n * @returns An object where the keys are the observed attribute names and the values are the current values of those attributes.\n */\n get observedRecord() {\n const record = {};\n for (const [attribute, property] of this.constructor.elementAttributes.entries()) {\n record[attribute] = this[property];\n }\n return record;\n }\n /**\n * Returns the first unnamed slot element in the shadow root.\n * @returns The unnamed slot element, or `null` if not found.\n */\n get _slot() {\n return this.shadowRoot ? this.shadowRoot.querySelector(\"slot:not([name])\") : null;\n }\n /**\n * Returns all slot elements in the shadow root.\n * @returns An array of all slot elements in the shadow root.\n */\n get _slotAll() {\n return this.shadowRoot ? [...this.shadowRoot.querySelectorAll(\"slot\")] : [];\n }\n /**\n * Returns all slotted elements.\n * @returns An array of all slotted elements.\n */\n get _slottedAll() {\n return [...this.querySelectorAll(\"[slot]\")];\n }\n /**\n * Returns names of all slotted elements.\n * @returns An array of slot names.\n */\n get _slottedNames() {\n return this._slottedAll.map((c) => c.getAttribute(\"slot\")).filter((v) => v);\n }\n /**\n * Returns the bounding client rectangle of the element or its contents root.\n * If the element has the `contents` property set, it will return the bounding client rectangle of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The bounding client rectangle of the element or its contents root.\n */\n getBoundingClientRect() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getBoundingClientRect()\n : super.getBoundingClientRect();\n }\n /**\n * Returns the client rects of the element or its contents root.\n * If the element has the `contents` property set, it will return the client rects of the first element in the shadow root or the `contentsRoot` element, instead of the element itself.\n * @returns The client rects of the element or its contents root.\n */\n getClientRects() {\n let root;\n return this.contents &&\n // root is contentsRoot or first Element of shadowRoot\n (root = this.contentsRoot || this.shadowRoot?.firstElementChild) &&\n // root is not the element itself\n root !== this\n ? root.getClientRects()\n : super.getClientRects();\n }\n /**\n * Returns the stylex property value.\n */\n get stylex() {\n return this.__stylex.css;\n }\n /**\n * Appends to `shadowRoot.adoptedStyleSheets` and overrides the initial styles.\n *\n * If there is no selector, it will be `:host`.\n *\n * If element has no shadowRoot, it will be applied after connectedCallback.\n *\n * Resetting will remove the previous stylex.\n *\n * @parma sx CSS string.\n *\n * @example\n * ```html\n * <custom-element stylex=\":host{--key:value;}\"></custom-element>\n * <custom-element stylex=\"--key:value;\"></custom-element>\n * ```\n */\n set stylex(sx) {\n sx = sx.trim();\n if (!withSelectorRegex.test(sx)) {\n sx = `:host{${sx}}`;\n }\n if (!this.shadowRoot) {\n this.__stylex.lazy = sx;\n return;\n }\n if (this.__stylex.index) {\n this.shadowRoot.adoptedStyleSheets.splice(this.__stylex.index, 1);\n }\n this.__stylex.css = sx;\n this.__stylex.index = this.adoptStyles(sx);\n }\n constructor(init) {\n super();\n this.events = new Events();\n this.observers = new Observers();\n this.timeouts = new Timeouts();\n this.__stylex = {};\n this.assign = {\n ...(GodownElement.godownConfig?.assign || {}),\n ...init,\n };\n }\n connectedCallback() {\n super.connectedCallback();\n if (this.assign) {\n Object.assign(this, this.assign);\n this.assign = null;\n }\n const { lazy } = this.__stylex;\n if (lazy) {\n this.adoptStyles(lazy);\n this.__stylex.lazy = \"\";\n }\n }\n disconnectedCallback() {\n this.events.removeAll();\n this.observers.removeAll();\n this.timeouts.removeAll();\n }\n mount(arg) {\n this.firstUpdated(arg);\n }\n unmount() {\n this.disconnectedCallback();\n }\n remount(arg) {\n this.unmount();\n this.connectedCallback();\n this.mount(arg);\n }\n /**\n * Performs a deep query selector on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns The first element that matches the specified selectors, or null if no matches are found.\n */\n deepQuerySelector(selectors) {\n return deepQuerySelector.call(this, selectors);\n }\n /**\n * Performs a deep query selector all on the current element, searching within its shadow DOM if present.\n *\n * @param selectors - The CSS selectors to use for the query.\n * @returns An array of all elements that match the specified selectors.\n */\n deepQuerySelectorAll(selectors) {\n return deepQuerySelectorAll.call(this, selectors);\n }\n /**\n * Adds the provided CSS styles to the element's shadow DOM adopted style sheets.\n *\n * @param styles - An array of CSS strings to be added to the adopted style sheets.\n * @returns The index of the injected style sheet, or `undefined` if there is no shadow root or no styles were provided.\n */\n adoptStyles(...styles) {\n if (!this.shadowRoot || !styles.length) {\n return;\n }\n const stack = this.shadowRoot.adoptedStyleSheets;\n const sheet = new CSSStyleSheet();\n styles.forEach((style) => sheet.insertRule(style.toString()));\n stack.push(sheet);\n return stack.length - 1;\n }\n dispatchCustomEvent(type, detail, options) {\n this.dispatchEvent(new CustomEvent(type, { detail, composed: true, ...options }));\n }\n}\nGodownElement.godownConfig = new GodownConfig();\n__decorate([\n property({ type: Boolean, reflect: true })\n], GodownElement.prototype, \"contents\", void 0);\n__decorate([\n property({ reflect: true })\n], GodownElement.prototype, \"stylex\", null);\nexport default GodownElement;\n//# sourceMappingURL=element.js.map","import { toDash } from \"sharekit\";\nconst separator = \"-\";\nexport class GodownConfig {\n constructor(init) {\n this.assign = null;\n this.prefix = \"godown\";\n this.suffix = \"\";\n this.components = new Map();\n this.registry = customElements;\n if (init) {\n Object.assign(this, init);\n }\n }\n tag(origin) {\n return toDash(this.prefix + separator + origin + separator + this.suffix);\n }\n define(name, constructor, options) {\n this.registry.define(name, constructor, options);\n this.components.set(name, constructor);\n }\n get(name) {\n return this.registry.get(name);\n }\n getName(constructor) {\n const { getName } = this.registry;\n if (getName) {\n return getName(constructor);\n }\n return [...this.components.entries()].find(([, v]) => v === constructor)?.[0] || null;\n }\n whenDefined(name) {\n return this.registry.whenDefined(name);\n }\n upgrade(root) {\n this.registry.upgrade(root);\n }\n}\nexport default GodownConfig;\n//# sourceMappingURL=config.js.map","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 4c13.255 0 24 10.745 24 24S41.255 52 28 52S4 41.255 4 28S14.745 4 28 4m0 4C16.954 8 8 16.954 8 28s8.954 20 20 20s20-8.954 20-20S39.046 8 28 8m10.788 11.93c.67.67.67 1.756 0 2.425l-13.36 13.36a1.715 1.715 0 0 1-2.424 0l-5.645-5.646a1.714 1.714 0 0 1 2.425-2.424l3.22 3.22c.67.67 1.755.67 2.425 0l10.934-10.934c.67-.67 1.755-.67 2.425 0\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.023-15.68c1.124 0 1.757-.633 1.78-1.851l.352-12.375c.024-1.196-.914-2.086-2.156-2.086c-1.266 0-2.156.867-2.133 2.062l.305 12.399c.023 1.195.68 1.851 1.852 1.851m0 7.617c1.335 0 2.53-1.078 2.53-2.437c0-1.383-1.171-2.438-2.53-2.438c-1.383 0-2.532 1.078-2.532 2.438c0 1.336 1.172 2.437 2.532 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.211-28.266c1.71 0 3.047-1.36 3.047-3.047c0-1.71-1.336-3.07-3.047-3.07s-3.047 1.36-3.047 3.07a3.026 3.026 0 0 0 3.047 3.047m-3.914 21.235h9.562c.961 0 1.711-.68 1.711-1.641c0-.914-.75-1.64-1.71-1.64H30.53V25.68c0-1.266-.656-2.11-1.828-2.11h-4.43c-.937 0-1.687.727-1.687 1.64c0 .962.75 1.642 1.687 1.642h2.532v10.757h-2.93c-.938 0-1.688.727-1.688 1.641c0 .96.75 1.64 1.688 1.64\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M19.504 43.152h16.969c.797 0 1.289-.492 1.289-1.289v-3.75c0-5.672 8.25-9.328 8.25-19.453C46.012 7.996 38.793.871 27.988.871s-18 7.125-18 17.79c0 10.124 8.227 13.78 8.227 19.452v3.75c0 .797.515 1.29 1.289 1.29m2.203-4.992c0-6.89-8.18-10.57-8.18-19.476c0-8.579 5.79-14.274 14.461-14.274c8.672 0 14.485 5.695 14.485 14.274c0 8.906-8.203 12.586-8.203 19.476v1.453H21.707Zm-1.336 11.32h15.235c1.195 0 2.156-.984 2.156-2.203s-.961-2.203-2.157-2.203H20.371c-1.195 0-2.156.985-2.156 2.203c0 1.22.96 2.203 2.156 2.203m7.617 5.649c3.235 0 5.508-1.477 5.742-3.75H22.246c.211 2.273 2.484 3.75 5.742 3.75\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-.492-15.07c1.172 0 1.898-.727 1.898-1.664v-.282c0-1.312.75-2.133 2.39-3.21c2.274-1.5 3.891-2.884 3.891-5.673c0-3.914-3.468-6-7.453-6c-4.031 0-6.68 1.899-7.312 4.055c-.117.399-.211.774-.211 1.172c0 1.031.844 1.617 1.617 1.617c1.336 0 1.547-.726 2.297-1.594c.773-1.289 1.898-2.062 3.469-2.062c2.133 0 3.515 1.195 3.515 3c0 1.594-.984 2.367-3.023 3.773c-1.688 1.172-2.953 2.414-2.953 4.711V31c0 1.242.68 1.852 1.875 1.852m-.047 7.007c1.36 0 2.531-1.078 2.531-2.437c0-1.383-1.148-2.438-2.531-2.438s-2.531 1.078-2.531 2.438c0 1.336 1.171 2.437 2.53 2.437\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.156-9.727c.656 0 1.148-.28 1.664-.797l15.75-15.984c.492-.492.797-1.078.797-1.617c0-1.078-.891-1.945-1.97-1.945c-.562 0-1.1.28-1.616.796L18.742 34.61c-.539.516-.797 1.102-.797 1.641c0 1.055.774 1.945 1.899 1.945\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M28 51.906c13.055 0 23.906-10.828 23.906-23.906c0-13.055-10.875-23.906-23.93-23.906C14.899 4.094 4.095 14.945 4.095 28c0 13.078 10.828 23.906 23.906 23.906m0-3.984C16.937 47.922 8.1 39.062 8.1 28c0-11.04 8.813-19.922 19.876-19.922c11.039 0 19.921 8.883 19.945 19.922c.023 11.063-8.883 19.922-19.922 19.922m-8.016-9.984c.516 0 .985-.211 1.336-.586l6.657-6.68l6.656 6.68c.351.351.82.586 1.36.586c1.03 0 1.874-.868 1.874-1.899c0-.539-.21-.984-.562-1.336l-6.657-6.656l6.68-6.703c.375-.399.563-.797.563-1.313a1.865 1.865 0 0 0-1.875-1.875c-.493 0-.915.164-1.313.563l-6.727 6.703l-6.703-6.68c-.351-.375-.773-.539-1.289-.539c-1.054 0-1.875.797-1.875 1.852c0 .515.188.96.563 1.312l6.656 6.68l-6.656 6.68c-.375.328-.563.796-.563 1.312c0 1.031.82 1.898 1.875 1.898\"/>`;\n","import{icon}from\"@godown/element/directives/icon.js\";export default icon(\"0 0 56 56\")`<path fill=\"currentColor\" d=\"M10.023 43.023c-.796.797-.82 2.157 0 2.954c.82.796 2.157.796 2.977 0l15-15l15 15c.797.796 2.156.82 2.977 0c.796-.82.796-2.157 0-2.954L30.953 28l15.024-15c.796-.797.82-2.156 0-2.953c-.844-.82-2.18-.82-2.977 0l-15 15l-15-15c-.82-.82-2.18-.844-2.977 0c-.796.82-.796 2.156 0 2.953l15 15Z\"/>`;\n","const rgb = (r, g, b) => ({\n r,\n g,\n b,\n toString() {\n return `${this.r} ${this.g} ${this.b}`;\n },\n});\nconst darkgray = [\n rgb(121, 121, 121),\n rgb(109, 109, 109),\n rgb(97, 97, 97),\n rgb(85, 85, 85),\n rgb(73, 73, 73),\n rgb(61, 61, 61),\n rgb(48, 48, 48),\n rgb(36, 36, 36),\n rgb(24, 24, 24),\n rgb(12, 12, 12),\n];\nconst lightgray = [\n rgb(243, 243, 243),\n rgb(231, 231, 231),\n rgb(219, 219, 219),\n rgb(206, 206, 206),\n rgb(194, 194, 194),\n rgb(182, 182, 182),\n rgb(170, 170, 170),\n rgb(158, 158, 158),\n rgb(146, 146, 146),\n rgb(133, 133, 133),\n];\nconst teal = [\n rgb(213, 249, 248),\n rgb(170, 243, 241),\n rgb(128, 237, 234),\n rgb(85, 231, 226),\n rgb(43, 225, 219),\n rgb(0, 219, 212),\n rgb(0, 175, 170),\n rgb(0, 131, 127),\n rgb(0, 88, 85),\n rgb(0, 44, 42),\n];\nconst blue = [\n rgb(213, 240, 255),\n rgb(170, 224, 255),\n rgb(128, 209, 255),\n rgb(85, 193, 255),\n rgb(43, 178, 255),\n rgb(0, 162, 255),\n rgb(0, 130, 204),\n rgb(0, 97, 153),\n rgb(0, 65, 102),\n rgb(0, 32, 51),\n];\nconst green = [\n rgb(221, 243, 221),\n rgb(186, 231, 186),\n rgb(152, 219, 152),\n rgb(117, 206, 117),\n rgb(82, 194, 82),\n rgb(48, 182, 48),\n rgb(38, 146, 38),\n rgb(29, 109, 29),\n rgb(19, 73, 19),\n rgb(10, 36, 10),\n];\nconst red = [\n rgb(251, 221, 221),\n rgb(247, 186, 187),\n rgb(243, 152, 154),\n rgb(239, 118, 120),\n rgb(235, 83, 86),\n rgb(231, 49, 52),\n rgb(185, 39, 42),\n rgb(139, 29, 31),\n rgb(92, 20, 21),\n rgb(46, 10, 10),\n];\nconst purple = [\n rgb(242, 228, 253),\n rgb(229, 201, 250),\n rgb(217, 174, 248),\n rgb(204, 146, 245),\n rgb(191, 119, 243),\n rgb(178, 92, 240),\n rgb(142, 74, 192),\n rgb(107, 55, 144),\n rgb(71, 37, 96),\n rgb(36, 18, 48),\n];\nconst orange = [\n rgb(255, 235, 213),\n rgb(255, 216, 170),\n rgb(255, 196, 128),\n rgb(255, 176, 85),\n rgb(255, 157, 43),\n rgb(255, 137, 0),\n rgb(204, 110, 0),\n rgb(153, 82, 0),\n rgb(102, 55, 0),\n rgb(51, 27, 0),\n];\nconst yellow = [\n rgb(251, 252, 216),\n rgb(247, 248, 177),\n rgb(243, 245, 138),\n rgb(239, 242, 98),\n rgb(235, 238, 59),\n rgb(231, 235, 20),\n rgb(185, 188, 16),\n rgb(139, 141, 12),\n rgb(92, 94, 8),\n rgb(46, 47, 4),\n];\nconst pink = [\n rgb(254, 222, 233),\n rgb(253, 189, 211),\n rgb(252, 156, 190),\n rgb(251, 123, 168),\n rgb(250, 90, 146),\n rgb(249, 57, 124),\n rgb(199, 46, 99),\n rgb(149, 34, 74),\n rgb(100, 23, 50),\n rgb(50, 11, 25),\n];\nexport const presetsRGB = {\n darkgray,\n lightgray,\n teal,\n blue,\n green,\n red,\n purple,\n orange,\n yellow,\n pink,\n};\nexport { blue, darkgray, green, lightgray, orange, pink, purple, red, rgb, teal, yellow };\n","import{presetsRGB as o}from\"@godown/colors/presets-rgb.js\";import{travel as r}from\"@godown/colors/travel.js\";import{trim as t,joinDeclarations as e,GodownElement as l}from\"@godown/element\";import{unsafeCSS as i,css as n}from\"lit\";class GlobalStyle extends l{}const s=t(GlobalStyle.godownConfig.prefix,\"-\");function a(o,r=1){return c(s+\"-\".repeat(r)+o)}function c(o){return i(`--${o}`)}const d={clipBackground:a(\"clip-background\",2),active:a(\"active\",2),passive:a(\"passive\",2),_colors:{},input:a(\"input\",2),white:a(\"color-white\",2),black:a(\"color-black\",2),color:a(\"color\",2),radius:a(\"radius\",2),outlineWidth:a(\"outline-width\",2),outlineColor:a(\"outline-color\",2)};GlobalStyle.styles=[i(`:host{${d.black}:rgb(0 0 0);${d.white}:rgb(255 255 255);`+r(((o,r,t)=>{d._colors[o]||=[],d._colors[o].push(i(d.color+\"-\"+o+\"-\"+r));const e=`-${o}-${r}`;return`${d.color+e}:rgb(${t});`}),o).join(\"\")+e([[d.active,`var(${d._colors.blue[5]})`],[d.passive,`var(${d._colors.darkgray[5]})`],[d.clipBackground,`linear-gradient(to bottom, var(${d._colors.lightgray[0]}), var(${d._colors.darkgray[0]}))`],[d.outlineColor,`var(${d._colors.darkgray[4]})`],[d.outlineWidth,\".075em\"]])+\"}\"),n`button,dialog,input{border:0;outline:0}*{box-sizing:border-box;font-size:100%;font-style:normal;margin:0;padding:0}:host{border-style:none;box-sizing:border-box;outline-style:none}a{text-decoration:none}span{white-space:nowrap}svg{-webkit-user-select:none;user-select:none}:host([contents]){display:contents}[part=root]{height:100%;width:100%}:host([contents]) [part=root]{height:inherit;width:inherit}:where(:host([contents]) [part=root]){all:inherit;display:revert}`,n`:host{${d.radius}:0.2em;border-radius:var(${d.radius})}`];export{GlobalStyle,d as cssGlobalVars,GlobalStyle as default,a as scopePrefix,c as variablePrefix};\n//# sourceMappingURL=global-style.js.map\n","export const travel = (fn, src) => Object.entries(src).flatMap(([k, v]) => v.map((rgb, index) => fn(k, index, rgb)));\n","import{__decorate as o}from\"tslib\";import{godown as r,styles as t,StyleController as e,joinRules as i,htmlSlot as c,attr as l}from\"@godown/element\";import s from\"@godown/f7-icon/icons/checkmark-alt-circle.js\";import n from\"@godown/f7-icon/icons/exclamationmark-circle.js\";import a from\"@godown/f7-icon/icons/info-circle.js\";import d from\"@godown/f7-icon/icons/lightbulb.js\";import p from\"@godown/f7-icon/icons/question-circle.js\";import g from\"@godown/f7-icon/icons/slash-circle.js\";import h from\"@godown/f7-icon/icons/xmark-circle.js\";import m from\"@godown/f7-icon/icons/xmark.js\";import{css as u,html as b}from\"lit\";import{property as v}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as k,GlobalStyle as w}from\"../core/global-style.js\";const y=\"alert\",$=f(y),j=o=>[k._colors[o][5],k._colors[o][9]],_={green:j(\"green\"),blue:j(\"blue\"),orange:j(\"orange\"),red:j(\"red\"),yellow:j(\"yellow\"),purple:j(\"purple\"),teal:j(\"teal\"),pink:j(\"pink\"),gray:[k._colors.lightgray[5],k._colors.darkgray[5]],white:[k._colors.lightgray[2],k._colors.darkgray[7]],black:[k._colors.darkgray[8],k._colors.lightgray[5]]},C={tip:{color:\"teal\",icon:d},success:{color:\"green\",icon:s},info:{color:\"blue\",icon:a},warning:{color:\"orange\",icon:n},danger:{color:\"red\",icon:h},error:{color:\"red\",icon:h},help:{color:\"purple\",icon:p},deprecated:{color:\"gray\",icon:g}};let q=class Alert extends w{constructor(){super(...arguments),this.__colorSC=new e(this,(()=>{const o=C[this.call]?.color||this.color;if(o in _){const[r,t]=_[o];return i({\":host\":[[`${$}--color`,`var(${r})`],[`${$}--background`,`var(${t})`]]})}return null})),this.color=\"blue\",this.autoclose=0,this.hideClose=!1,this.variant=\"dark\"}render(){const o=this.call?C[this.call].icon():c(\"icon\");return b`<div part=\"root\" ${l(this.observedRecord)}><div part=\"icon\" class=\"start\">${o}</div><div part=\"content\"><strong part=\"title\">${this.title||c(\"title\")}</strong> ${this.content||c()}</div>${this.hideClose||\"blockquote\"===this.variant?\"\":b`<div part=\"icon close\" class=\"end\" tabindex=\"0\" @click=\"${this.close}\">${m()}</div>`}</div>`}close(){this.remove(),this.dispatchCustomEvent(\"close\",void 0,{bubbles:!0})}firstUpdated(){this.autoclose&&this.timeouts.add(setTimeout((()=>this.close()),this.autoclose))}static alert(o,r){const t=new this;return Object.assign(t,r),o.appendChild(t),t}};o([v()],q.prototype,\"call\",void 0),o([v()],q.prototype,\"color\",void 0),o([v({type:Number})],q.prototype,\"autoclose\",void 0),o([v()],q.prototype,\"title\",void 0),o([v()],q.prototype,\"content\",void 0),o([v({type:Boolean})],q.prototype,\"hideClose\",void 0),o([v()],q.prototype,\"variant\",void 0),q=o([r(y),t(u`:host{${$}--border-width:.075em;${$}--blockquote-width:.2em;${$}--blockquote-background:transparent;${$}--gap:.5em}:host,:where(:host([contents]) [part=root]){display:block}[part=root]{align-items:center;background:var(${$}--background);border-color:currentColor;border-radius:inherit;border-style:solid;border-width:var(${$}--border-width);color:var(${$}--color,currentColor);display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto 1fr;padding:var(${$}--gap)}[variant=blockquote]{background:var(${$}--blockquote-background);border-radius:0;border-width:0;border-left-width:var(${$}--blockquote-width)}[part~=icon]{align-items:center;display:grid;height:2em}.start svg{margin-inline-end:var(${$}--gap)}.end svg{margin-inline-start:var(${$}--gap)}svg{height:1.25em;width:1.25em}[part=content]{grid-row:span 2/span 2}`)],q);var x=q;export{q as Alert,x as default};\n//# sourceMappingURL=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 r}from\"tslib\";import{godown as t,styles as e,attr as o,omit as i,htmlSlot as a}from\"@godown/element\";import{css as s,html as n}from\"lit\";import{property as d}from\"lit/decorators.js\";import{cssGlobalVars as h,GlobalStyle as m}from\"../core/global-style.js\";let p=class Avatar extends m{constructor(){super(...arguments),this.name=\"\",this.round=!1}render(){return n`<div part=\"root\" ${o(i(this.observedRecord,\"src\"))}>${this._renderAvatar()}</div>`}_renderAvatar(){return this.src?n`<img part=\"image\" src=\"${this.src}\" alt=\"${this.name}\" @error=\"${this._handleError}\">`:this.name?n`<span part=\"name\">${this.formatName()}</span>`:a()}formatName(){return this.name}_handleError(){this.src=void 0}};r([d()],p.prototype,\"src\",void 0),r([d()],p.prototype,\"name\",void 0),r([d({type:Boolean})],p.prototype,\"round\",void 0),p=r([t(\"avatar\"),e(s`:host{background:var(${h.passive});height:2em;overflow:hidden;vertical-align:bottom;width:2em}:host,[part=root]{display:inline-flex}:host([contents]) [part=root]{display:inline-flex;height:inherit;width:inherit}:host([round]){border-radius:50%}[part=image]{height:100%;object-fit:cover;width:100%}[part=root]{align-items:center;border-radius:inherit;justify-content:center;position:relative}`)],p);var l=p;export{p as Avatar,l as default};\n//# sourceMappingURL=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 a}from\"@godown/element\";import{css as i,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as d,cssGlobalVars as n,GlobalStyle as f}from\"../core/global-style.js\";const l=\"badge\",c=d(l);let m=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)}>${a()} ${this.value||this.dot?s`<div part=\"badge\">${this.dot?\"\":this.formatValue(this.value)}</div>`:\"\"}</div>`}};t([p()],m.prototype,\"position\",void 0),t([p({type:Number})],m.prototype,\"value\",void 0),t([p({type:Boolean})],m.prototype,\"dot\",void 0),t([p({type:Number})],m.prototype,\"max\",void 0),m=t([o(l),e(i`:host{${c}--background:var(${n.active});${c}--offset:0%;${c}--offset-x:var(${c}--offset);${c}--offset-y:var(${c}--offset)}:host,:host([contents]) [part=root]{display:inline-block}[part=root]{position:relative}[part=badge]{background:var(${c}--background);border-radius:calc(infinity*1px);font-size:75%;padding:0 .5em;position:absolute;transform:translate(-50%,-50%);-webkit-user-select:none;user-select:none}[part=badge]:empty{border-radius:50%;font-size:100%;height:.5em;padding:0;width:.5em}[position^=top] [part=badge]{top:calc(var(${c}--offset-y))}[position$=right] [part=badge]{left:calc(100% - var(${c}--offset-x))}[position^=bottom] [part=badge]{top:calc(100% - var(${c}--offset-y))}[position$=left] [part=badge]{left:calc(var(${c}--offset-x))}`)],m);var v=m;export{m as Badge,v 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 o,styles as r,attr as e,htmlStyle as n}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as l}from\"lit/decorators.js\";import{scopePrefix as s,cssGlobalVars as c,GlobalStyle as p}from\"../core/global-style.js\";const d=\"breath\",$=s(d);let m=class Breath extends p{render(){const t=this.getTexts();return a`<div part=\"root\" ${e(this.observedRecord)}>${[t.map(this._renderText),n(this._computeStyle(t.length))]}</div>`}_renderText(t){return a`<span class=\"rel\"><span class=\"nocolor\">${t}</span> <span class=\"colorful\">${t}</span></span>`}getTexts(){return Array.isArray(this.content)?this.content:(this.content||this.textContent).split(/\\s+/).filter((t=>t))}_computeStyle(t){const o=50/t,r=this.duration||1e3*(2*t+2);let e=\"\";for(let o=1;o<=t;o++){e+=`.rel:nth-child(${o}) .colorful{animation-delay:${-r/t*(t-o+1)}ms;background:var(${$}--${o},var(${$}--${(o-1)%3+1}));}`}return`.colorful{animation-duration:${r}ms;}@keyframes colorfulN{0%,${3*o}%{opacity:0;}${o}%,${2*o}%{opacity:1;}}${e}`}};t([l()],m.prototype,\"content\",void 0),t([l({type:Number})],m.prototype,\"duration\",void 0),m=t([o(d),r(i`:host{${$}--deg:60deg;${$}--1-1:var(${c._colors.red[5]});${$}--1-2:var(${c._colors.yellow[5]});${$}--2-1:var(${c._colors.green[5]});${$}--2-2:var(${c._colors.purple[5]});${$}--3-1:var(${c._colors.blue[5]});${$}--3-2:var(${c._colors.pink[5]});${$}--1:linear-gradient(var(${$}--deg),var(${$}--1-1),var(${$}--1-2));${$}--2:linear-gradient(var(${$}--deg),var(${$}--2-1),var(${$}--2-2));${$}--3:linear-gradient(var(${$}--deg),var(${$}--3-1),var(${$}--3-2))}`,i`:host{align-items:center;direction:ltr;font-size:2em;margin:auto;width:-moz-fit-content;width:fit-content}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}::selection{background:none}.rel{font-size:inherit;font-weight:800;letter-spacing:-.05em;position:relative}`,i`.colorful,.nocolor{animation-iteration-count:infinite;-webkit-background-clip:text!important;background-clip:text!important;box-sizing:border-box;color:transparent;display:inline-block;padding:0 .05em}.colorful{animation-name:colorfulN;opacity:0}.nocolor{background:var(${c.clipBackground});position:absolute;top:0}`)],m);var u=m;export{m as Breath,u 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{part as t,godown as r,styles as e,StyleController as a,joinRules as i,attr as n,htmlSlot as l}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as h,GlobalStyle as g}from\"../core/global-style.js\";const u=\"button\",v=p(u),y=h.white,b=h.black,m={black:[y,h._colors.darkgray[7],h._colors.darkgray[5]],gray:[y,h._colors.darkgray[1],h._colors.lightgray[8]],white:[b,h._colors.lightgray[3],h._colors.lightgray[0]],blue:[y,h._colors.blue[6],h._colors.blue[4]],green:[y,h._colors.green[6],h._colors.green[4]],red:[y,h._colors.red[6],h._colors.red[4]],orange:[y,h._colors.orange[6],h._colors.orange[4]],pink:[y,h._colors.pink[6],h._colors.pink[4]],purple:[y,h._colors.purple[6],h._colors.purple[4]],yellow:[b,h._colors.yellow[6],h._colors.yellow[4]],teal:[y,h._colors.teal[6],h._colors.teal[4]]};let $=class Button extends g{constructor(){super(...arguments),this.__colorSC=new a(this,(()=>{const o=this.nextColor();if(o in m){const[t,r,e]=m[o];return i({\":host\":[[`${v}--color`,`var(${t})`],[`${v}--background`,`var(${r})`],[`${v}--gradients`,`var(${e})`]]})}return null})),this.plain=!1,this.disabled=!1,this.ghost=!1,this.active=!1,this.round=!1,this.color=\"black\"}render(){return d`<div part=\"root\" ${n(this.observedRecord)}>${this.content||l()} <span part=\"modal-root\"></span></div>`}focus(){this.disabled||(this.active=!0,super.focus())}blur(){this.active=!1,super.blur()}connectedCallback(){super.connectedCallback(),this.events.add(this,\"click\",this._handelClick,!0)}_handelClick(o){if(this.disabled)return o.stopPropagation(),void o.preventDefault();this.plain||this._handleModal(o)}_handleModal(o){const t=document.createElement(\"i\"),{width:r,height:e}=this.getBoundingClientRect(),{x:a,y:i}=this._root.getBoundingClientRect(),n=2*Math.sqrt(e**2+r**2)+\"px\";t.style.height=n,t.style.width=n,t.style.left=o.x-a+\"px\",t.style.top=o.y-i+\"px\",t.style.animationName=\"kf\",this._modalRoot.appendChild(t),t.addEventListener(\"animationend\",(()=>t.remove()),{once:!0})}nextColor(){return this.color}};o([c({type:Boolean,reflect:!0})],$.prototype,\"plain\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"disabled\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"ghost\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"active\",void 0),o([c({type:Boolean,reflect:!0})],$.prototype,\"round\",void 0),o([c({reflect:!0})],$.prototype,\"color\",void 0),o([c()],$.prototype,\"content\",void 0),o([t(\"modal-root\")],$.prototype,\"_modalRoot\",void 0),o([t(\"root\")],$.prototype,\"_root\",void 0),$=o([r(u),e(s`:host(:not([disabled]):active){transform:scale(var(${v}--focus-scale))}:host([round]){border-radius:calc(infinity*1px)}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host([ghost]){${v}--modal-background:var(${v}--ghost-color);background:transparent;box-shadow:inset 0 0 0 var(${v}--ghost-width) var(${v}--ghost-color);color:var(${v}--ghost-color)}:host([plain]){${v}--gradients:unset;${v}--focus-scale:unset}`,s`:host{${v}--padding-x:.8em;${v}--padding-y:calc(var(${v}--padding-x)/4);${v}--padding:var(${v}--padding-y) var(${v}--padding-x);${v}--modal-animation-duration:1s;${v}--ghost-width:.08em;${v}--focus-scale:.97;${v}--deg:45deg;${v}--ghost-color:var(${v}--background);background:linear-gradient(var(${v}--deg),var(${v}--background),var(${v}--gradients,var(${v}--background)));color:var(${v}--color,inherit);cursor:pointer;display:block;overflow:hidden;padding:var(${v}--padding);text-align:center;width:-moz-fit-content;width:fit-content}[part=root]:not([contents]){height:100%;width:100%}[part=root]{border-radius:inherit;position:relative;transition:none;transition-duration:inherit;-webkit-user-select:none;user-select:none}i{animation-duration:var(${v}--modal-animation-duration);background:var(${v}--modal-background,currentColor);border-radius:50%;height:100%;inset:0;opacity:0;pointer-events:none;position:absolute;transform-origin:0 0;visibility:visible;width:100%}@keyframes kf{0%{opacity:var(${v}--modal-opacity,.1);transform:scale(0) translate(-50%,-50%)}80%{transform:scale(1) translate(-50%,-50%)}to{opacity:0}}`)],$);var f=$;export{$ as Button,f as default};\n//# sourceMappingURL=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 o}from\"tslib\";import{godown as r,styles as e,attr as t,htmlSlot as d}from\"@godown/element\";import{css as i,html as a}from\"lit\";import{property as s}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as l,GlobalStyle as n}from\"../core/global-style.js\";const h=\"card\",m=p(h);let b=class Card extends n{constructor(){super(...arguments),this.footer=!1,this.header=!1}render(){return a`<div part=\"root\" ${t(this.observedRecord)}>${[this.header?d(\"header\"):\"\",d(),this.footer?d(\"footer\"):\"\"]}</div>`}};o([s({type:Boolean})],b.prototype,\"footer\",void 0),o([s({type:Boolean})],b.prototype,\"header\",void 0),b=o([r(h),e(i`:host{${m}--border-width:.075em;${m}--border-color:var(${l.passive});${m}--padding:.75em;display:block;flex-shrink:0}slot{display:block;padding:var(${m}--padding)}[part=root]{border-color:var(${m}--border-color);border-radius:inherit;border-style:solid;border-width:var(${m}--border-width)}[name=footer]{padding-top:0}[name=header]{padding-bottom:0}`)],b);var c=b;export{b as Card,c as default};\n//# sourceMappingURL=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 s,attr as o,htmlSlot as n}from\"@godown/element\";import r from\"@godown/f7-icon/icons/chevron-left.js\";import h from\"@godown/f7-icon/icons/chevron-right.js\";import{css as l,html as a}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as c}from\"../core/global-style.js\";function p(t){return t.getBoundingClientRect().width}let m=class Carousel extends c{constructor(){super(...arguments),this.index=0,this.autoChange=0}render(){return a`<div part=\"root\" ${o(this.observedRecord)}><i part=\"prev\" @click=\"${this.prev}\">${r()}</i><div part=\"move-root\">${n()}</div><i part=\"next\" @click=\"${this.next}\">${h()}</i></div>`}connectedCallback(){super.connectedCallback(),this.children.length&&(this.__cloneFirst?.remove(),this.__cloneLast?.remove(),this.__cloneLast=this.firstElementChild.cloneNode(!0),this.__cloneFirst=this.lastElementChild.cloneNode(!0),this.appendChild(this.__cloneLast),this.insertBefore(this.__cloneFirst,this.firstElementChild)),this.observers.add(this,ResizeObserver,(()=>{this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,!0)}))}async firstUpdated(){await this.updateComplete,this.show(this.index,!0)}attributeChangedCallback(t,e,i){super.attributeChangedCallback(t,e,i),\"index\"===t&&this.isConnected&&this.show(this.index)}show(t,e){t=this.normalizeIndex(t),this.index=t,this._offset=this._computeOffset(),this._doTranslateX(`${this._offset}px`,e),this.dispatchCustomEvent(\"change\",t),this.timeouts.remove(this.intervalID),this.autoChange>0&&(this.intervalID=this.timeouts.add(setInterval((()=>{this.next()}),this.autoChange)))}next(){this.index===this.childElementCount-3?(this._doTranslateX(\"0\",!0),this.show(0)):this.show(this.index+1)}prev(){0===this.index?(this._doTranslateX(`-${this.childElementCount-1}00%`,!0),this.show(this.children.length-3)):this.show(this.index-1)}_doTranslateX(t,e){this._moveRoot.style.transform=`translateX(${t})`,this._moveRoot.style.transition=e?\"none\":\"\"}_computeOffset(){let t=0;for(let e=0;e<=this.index;e++)t-=p(this.children[e]);return t+=(p(this)-p(this.children[this.index+1]))/2,t}normalizeIndex(t){return t<0?0:t>this.children.length-3?this.children.length-3:t}};t([d({type:Number})],m.prototype,\"index\",void 0),t([d({type:Number})],m.prototype,\"autoChange\",void 0),t([e(\"move-root\")],m.prototype,\"_moveRoot\",void 0),m=t([i(\"carousel\"),s(l`:host{display:block;transition:.3s}[part=root]{direction:ltr;overflow:hidden}[part=move-root],[part=root]{display:flex;height:100%;position:relative;transition:inherit;width:100%}[part=next],[part=prev]{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;-webkit-user-select:none;user-select:none;width:1.5em;z-index:1}[part=prev]{left:0}[part=next]{right:0}slot::slotted(*){flex-shrink:0!important}`)],m);var f=m;export{m as Carousel,f as default};\n//# sourceMappingURL=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.dispatchCustomEvent(\"change\",this.open)}}e([o({type:Boolean,reflect:!0})],SuperOpenable.prototype,\"open\",void 0);export{SuperOpenable,SuperOpenable as default};\n//# sourceMappingURL=super-openable.js.map\n","import{__decorate as t}from\"tslib\";import{godown as o,styles as i,attr as e,htmlSlot as r}from\"@godown/element\";import a from\"@godown/f7-icon/icons/chevron-down.js\";import{css as s,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as p}from\"../core/global-style.js\";import d from\"../core/super-openable.js\";const m=\"details\",c=p(m);let f=class Details extends d{constructor(){super(...arguments),this.float=!1,this.fill=!1,this.summary=\"\"}render(){return l`<dl part=\"root\" ${e(this.observedRecord)}><dt part=\"title\" @click=\"${()=>this.toggle()}\"><span part=\"summary\">${this.summary||r(\"summary\")}</span> <span part=\"icon\">${a()}</span></dt><dd part=\"details\" @click=\"${this.fill?()=>this.toggle():null}\"><div style=\"min-height: 0;\">${r()}</div></dd></dl>`}};t([n({type:Boolean})],f.prototype,\"float\",void 0),t([n({type:Boolean})],f.prototype,\"fill\",void 0),t([n()],f.prototype,\"summary\",void 0),f=t([o(m),i(s`:host{${c}--icon-deg-open:0deg;${c}--icon-deg-close:90deg;display:block;padding:.2em;transition:.3s}[part=root]{position:relative}[part=title]{align-items:center;direction:ltr;grid-template-columns:auto auto;height:100%;justify-content:space-between}[part=details],[part=title]{display:grid;overflow:hidden;transition:inherit}[part=details]{grid-template-rows:0fr}:host([open]) [part=details]{grid-template-rows:1fr}[float] [part=details]{position:absolute;top:100%;width:100%}[part]{transition:inherit;transition-property:transform,grid-template-rows}[part=icon]{-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;transform:rotate(var(${c}--icon-deg-close))}:host([open]) [part=icon]{transform:rotate(var(${c}--icon-deg-open))}`)],f);var g=f;export{f as Details,g as default};\n//# sourceMappingURL=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 s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as d,query as l}from\"lit/decorators.js\";import{scopePrefix as r}from\"../core/global-style.js\";import h from\"../core/super-openable.js\";const m=\"dialog\",p=r(m);let c=class Dialog extends h{constructor(){super(...arguments),this.key=\"Escape\",this.__modalInvoke=!1}set modal(t){this.contents=t}get modal(){return this.contents}render(){return n`<dialog part=\"root\" ${i(this.observedRecord)}>${s()}</dialog>`}showModal(){this.modal=!0,this.__modalInvoke=!0,this.show()}attributeChangedCallback(t,o,e){super.attributeChangedCallback(t,o,e),\"open\"===t&&(this.open?this.modal?this._dialog.showModal():this._dialog.show():this._dialog.close())}updated(t){t.has(\"open\")&&(this.open?(this.__submitEvent=this.events.add(this,\"submit\",this._handelSubmit),this.key&&(this.__keydownEvent=this.events.add(document,\"keydown\",this._handleKeydown.bind(this)))):(this.events.remove(this,\"submit\",this.__submitEvent),this.events.remove(document,\"keydown\",this.__keydownEvent)))}_handleKeydown(t){const o=this.key.split(/[\\s,]/);(o.includes(t.key)||o.includes(t.code))&&(t.preventDefault(),this.close())}_handelSubmit(t){\"dialog\"===t.target.method&&(t.preventDefault(),this.close())}close(){this.__modalInvoke&&(this.modal=!1,this.__modalInvoke=!1),this.open=!1}};t([d({type:Boolean,reflect:!0})],c.prototype,\"modal\",null),t([d()],c.prototype,\"key\",void 0),t([l(\"dialog\")],c.prototype,\"_dialog\",void 0),c=t([o(m),e(a`:host{${p}--background-modal:#000;${p}--opacity-modal:0.2;background:none;display:block;left:50%;margin:auto;position:fixed;top:50%;transform:translate(-50%,-50%);width:-moz-fit-content;width:fit-content}:host(:not([open])){visibility:hidden}:host([contents]) dialog{position:fixed}dialog{background:inherit;position:relative}::backdrop{background:var(${p}--background-modal);opacity:var(${p}--opacity-modal)}`)],c);var u=c;export{c as Dialog,u 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 s}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as a,GlobalStyle as d}from\"../core/global-style.js\";let c=class Divider extends d{constructor(){super(...arguments),this.vertical=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}></div>`}};t([l({type:Boolean,reflect:!0})],c.prototype,\"vertical\",void 0),c=t([o(\"divider\"),r(i`:host{background:currentColor;color:var(${a.passive});display:block;height:.05em;width:100%}:host([vertical]){height:100%;width:.05em}:host([contents]) [part=root]{background:currentColor;display:block;height:.05em;margin:auto;width:100%}[part=root]{display:contents}`)],c);var p=c;export{c as Divider,p 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 n,html as h}from\"lit\";import{property as d}from\"lit/decorators.js\";import{GlobalStyle as r}from\"../core/global-style.js\";let a=class Dragbox extends r{constructor(){super(...arguments),this.__drag=!1}get _offsetParent(){return this.offsetParent??document.body}render(){return h`<div part=\"root\" ${o(this.observedRecord)} @mousedown=\"${this._handleDragStart}\">${i()}</div>`}firstUpdated(){this.reset()}_handleDragStart(t){this.__x=t.x,this.__y=t.y;const e=this._offsetParent.getBoundingClientRect(),s=this.getBoundingClientRect();this.__t=s.top-e.top,this.__l=s.left-e.left,this.__drag=!0,this.__handleMouseMove=this.events.add(document,\"mousemove\",this._handleDrag.bind(this)),this.__handleMouseLeave=this.events.add(document,\"mouseleave\",this._handleDragEnd.bind(this)),this.__handleMouseUp=this.events.add(document,\"mouseup\",this._handleDragEnd.bind(this))}_handleDragEnd(){this.__drag=!1,this.events.remove(document,\"mousemove\",this.__handleMouseMove),this.events.remove(document,\"mouseleave\",this.__handleMouseLeave),this.events.remove(document,\"mouseup\",this.__handleMouseUp)}_handleDrag(t){if(!this.__drag)return;const{__x:e,__y:s,__l:o,__t:i,style:n}=this,{height:h,width:d}=this._offsetParent.getBoundingClientRect(),{width:r,height:a}=this.getBoundingClientRect(),_=t.x-(e-o),l=t.y-(s-i);n.left=_<0?\"0\":_<d-r?`${_}px`:d-r+\"px\",n.top=l<0?\"0\":l<h-a?`${l}px`:h-a+\"px\"}reset(){const{x:t,y:e,style:s,offsetWidth:o,offsetHeight:i,offsetLeft:n,offsetTop:h}=this,{height:d,width:r}=this._offsetParent.getBoundingClientRect();s.left=t||\"0\",s.top=e||\"0\",n>r-o&&(s.left=r-o+\"px\"),h>d-i&&(s.top=d-i+\"px\")}};t([d()],a.prototype,\"x\",void 0),t([d()],a.prototype,\"y\",void 0),a=t([e(\"dragbox\"),s(n`:host{display:block;position:absolute}:host(:active){-webkit-user-select:none;user-select:none}`)],a);var _=a;export{a as Dragbox,_ as default};\n//# sourceMappingURL=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 a,html as l}from\"lit\";import{property as m}from\"lit/decorators.js\";import{GlobalStyle as n}from\"../core/global-style.js\";const c=t=>d(t)?`repeat(${t},1fr)`:t;let g=class Grid extends n{render(){return l`<div part=\"root\" ${e(this.observedRecord)}>${[s(),i(p({\":host\":{gap:this.gap,\"grid-template-columns\":c(this.columns),\"grid-template-rows\":c(this.rows),\"place-content\":this.content,\"place-items\":this.items}}))]}</div>`}};t([m()],g.prototype,\"gap\",void 0),t([m()],g.prototype,\"columns\",void 0),t([m()],g.prototype,\"rows\",void 0),t([m()],g.prototype,\"content\",void 0),t([m()],g.prototype,\"items\",void 0),g=t([o(\"grid\"),r(a`:host,:host([contents]) [part=root]{display:grid}[part=root]{display:contents}`)],g);var h=g;export{g 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,nothing as a,html 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 s`<a part=\"root\" href=\"${this.id?\"#\"+this.id:a}\" ${i(this.observedRecord)}>${this.wrapHeading(o(),this.id?s`<i part=\"anchor\">${this.anchor}</i>`:\"\")}</a>`}wrapHeading(...t){switch(this.as){case\"h2\":return s`<h2>${t}</h2>`;case\"h3\":return s`<h3>${t}</h3>`;case\"h4\":return s`<h4>${t}</h4>`;case\"h5\":return s`<h5>${t}</h5>`;case\"h6\":return s`<h6>${t}</h6>`;default:return s`<h1>${t}</h1>`}}};t([n()],c.prototype,\"as\",void 0),t([n()],c.prototype,\"anchor\",void 0),t([n()],c.prototype,\"side\",void 0),c=t([r(\"heading\"),e(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,omit as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as a}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as l}from\"./global-style.js\";const u=r`.input-field{align-items:center;border-radius:inherit;display:flex;height:inherit;position:relative}.input-field [part=input]{background:none;color:inherit;height:100%;padding:var(${p.input}-space);width:100%}.input-field [part=icon]{align-items:center;color:var(${p.input}-icon-color);display:flex;justify-content:center}.input-field [part=prefix],.input-field [part=suffix]{display:flex;height:100%}.input-field [part=suffix] [part=icon]{padding-inline-end:var(${p.input}-space)}.input-field [part=prefix] [part=icon]{padding-inline-start:var(${p.input}-space)}`,d=r`:host{${p.input}-width:10em;${p.input}-height:1.6em;${p.input}-space:0.2em;${p.input}-control:currentColor;${p.input}-icon-color:var(${p._colors.darkgray[4]})}:host([disabled]){cursor:not-allowed;filter:brightness(.85)}:host(:focus-within){${p.input}-icon-color:currentColor}input:disabled{cursor:inherit}input::-ms-clear,input::-ms-reveal{display:none}`;let h=class SuperInput extends l{constructor(){super(...arguments),this.autofocus=!1,this.outlineType=\"border\",this.disabled=!1,this.compositing=!1,this.makeId=Math.random().toString(36).slice(1),this.nameValue=this.namevalue}get observedRecord(){return o(super.observedRecord,\"default\",\"value\")}set defaultValue(t){this.default=t}get defaultValue(){return this.default}namevalue(){return[this.name,this.value]}reset(){this.value=this.default,this._input.value=this.default}_handleInput(t){t.stopPropagation(),this.compositing||(this.value=t.target.value?.trim(),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}_handleChange(t){this.dispatchCustomEvent(\"change\",this.value)}connectedCallback(){super.connectedCallback(),this._connectedInit()}_connectedInit(){this.default??=this.value||\"\",this.value??=this.default}_compositionInit(){this._input&&(this.events.add(this._input,\"compositionstart\",(()=>this.compositing=!0)),this.events.add(this._input,\"compositionend\",(t=>{this.compositing=!1,this._handleInput(t)})))}_changeInputType(t){this._input&&(this._input.type=t)}focus(t){this._input?.focus(t)}firstUpdated(){this._compositionInit()}_renderPrefix(){return s`<label for=\"${this.makeId}\" part=\"prefix\">${n(\"prefix\")}</label>`}_renderSuffix(){return s`<label for=\"${this.makeId}\" part=\"suffix\">${n(\"suffix\")}</label>`}};t([a()],h.prototype,\"autocomplete\",void 0),t([a({attribute:\"outline-type\"})],h.prototype,\"outlineType\",void 0),t([a({type:Boolean,reflect:!0})],h.prototype,\"disabled\",void 0),t([a({reflect:!0})],h.prototype,\"type\",void 0),t([a({reflect:!0})],h.prototype,\"placeholder\",void 0),t([a({reflect:!0})],h.prototype,\"name\",void 0),t([a()],h.prototype,\"value\",void 0),t([a()],h.prototype,\"default\",void 0),t([e(\"input\")],h.prototype,\"_input\",void 0),h=t([i(u,d)],h);var c=h;export{h as SuperInput,c as default};\n//# sourceMappingURL=super-input.js.map\n","import{cssGlobalVars as o}from\"./global-style.js\";import{unsafeCSS as t}from\"lit\";class OutlineBuilder{constructor({selector:t=\":host\",width:e=o.outlineWidth,color:r=o.outlineColor,outlineType:s}={}){const l=((o,t)=>{const e=`outline-color:var(${t});border-color:var(${t});`,r=`${e}outline-width:var(${o});outline-style:solid;`;return{outline:r,\"outline-inset\":`${r}outline-offset:calc(-1 * var(${o}));`,\"box-shadow\":`box-shadow:0 0 0 var(${o}) var(${t});`,\"box-shadow-inset\":`box-shadow:inset 0 0 0 var(${o}) var(${t});`,border:`${e}border-width:var(${o});border-style:solid;`}})(e,r);if(s&&s in l){const o=l[s];this.css=`${t}{${o}}`}else this.css=\"\"}get styleSheet(){return t(this.css).styleSheet}}const e=o=>!o||\"none\"===o;export{OutlineBuilder,e as isNone};\n//# sourceMappingURL=outline.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,StyleController as s,attr as r,htmlSlot as a}from\"@godown/element\";import p from\"@godown/f7-icon/icons/eye-slash-fill.js\";import{css as n,nothing as u,html as l}from\"lit\";import{property as h}from\"lit/decorators.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as c}from\"../core/super-input.js\";import{OutlineBuilder as f}from\"../core/outline.js\";let m=class Input extends c{constructor(){super(...arguments),this.type=\"text\",this.variant=\"default\",this.__outlineSC=new s(this,(()=>new f({outlineType:this.outlineType}).css+(\"outline\"===this.variant?`:host{${d.outlineColor}: var(${d.active})}`:\"\")))}render(){return l`<div part=\"root\" ${r(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),l`<input part=\"input\" type=\"${this.type}\" .value=\"${this.value}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||u}\" autocomplete=\"${this.autocomplete||u}\" placeholder=\"${this.placeholder||u}\" id=\"${this.makeId}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,this._renderSuffix()]}</div>`}_renderSuffix(){const t=\"password\";return l`<label for=\"${this.makeId}\" part=\"suffix\">${this.type===t?l`<i part=\"icon\" @mousedown=\"${()=>this._changeInputType(\"text\")}\" @mouseup=\"${()=>this._changeInputType(t)}\" @mouseleave=\"${()=>this._changeInputType(t)}\">${p()}</i>`:a(\"suffix\")}</label>`}};t([h()],m.prototype,\"variant\",void 0),t([e(\"input\")],m.prototype,\"_input\",void 0),m=t([i(\"input\"),o(n`:host{display:block;height:var(${d.input}-height);width:var(${d.input}-width)}:host(:focus-within){${d.outlineColor}:var(${d.active})}`)],m);var $=m;export{m as Input,$ as default};\n//# sourceMappingURL=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 t}from\"tslib\";import{godown as o,styles as r,attr as e,htmlSlot as i}from\"@godown/element\";import{css as a,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as d}from\"../core/global-style.js\";let l=class Layout extends d{constructor(){super(...arguments),this.sticky=!1}render(){return s`<div part=\"root\" ${e(this.observedRecord)}><header part=\"header\">${i(\"header\")}</header><main part=\"main\">${i()}</main><footer part=\"footer\">${i(\"footer\")}</footer></div>`}};t([p({type:Boolean})],l.prototype,\"sticky\",void 0),l=t([o(\"layout\"),r(a`:host{flex-direction:column;grid-template-rows:auto 1fr auto;min-height:100%;width:100%}:host,:host([contents]) [part=root]{display:flex}[part=root]{display:contents}[part=main]{flex:1;width:100%}[part=footer],[part=header]{flex-shrink:0;width:100%}[sticky] header{position:sticky;top:0}`)],l);var n=l;export{l as Layout,n 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 t}from\"tslib\";import{styles as r,attr as o,htmlSlot as e}from\"@godown/element\";import{css as i,nothing as a,html as l}from\"lit\";import{property as n}from\"lit/decorators.js\";import{GlobalStyle as s}from\"./global-style.js\";let h=class SuperAnchor extends s{constructor(){super(...arguments),this.target=\"_self\"}get pathname(){return new URL(this.href,location.href).pathname}render(){return l`<a part=\"root\" ${o(this.observedRecord)} href=\"${this.href||a}\" target=\"${this.target}\" @click=\"${this._handleClick}\">${e()}</a>`}};t([n()],h.prototype,\"href\",void 0),t([n()],h.prototype,\"target\",void 0),h=t([r(i`:host{color:currentColor;cursor:default;display:inline-block;text-decoration:none}:host([href]){cursor:pointer}[part=root]{color:inherit;display:inline-block;text-decoration:inherit}`)],h);var c=h;export{h as SuperAnchor,c as default};\n//# sourceMappingURL=super-anchor.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as s,RouteTree as o,htmlSlot as a,omit as h}from\"@godown/element\";import{css as i}from\"lit\";import{state as n,property as r}from\"lit/decorators.js\";import{GlobalStyle as p}from\"../core/global-style.js\";var c;const l=\"field\",d=\"slotted\",u=\"united\";let m=c=class Router extends p{constructor(){super(...arguments),this.__fieldRouteTree=new o,this.__slottedRouteTree=new o,this.__cacheRecord=new Map,this.component=null,this.pathname=location.pathname,this.default=a(),this.type=u,this.cache=!1,this.handlePopstate=this.events.add(window,\"popstate\",(()=>{this.pathname=location.pathname}))}get params(){return this.path?o.parseParams(this.pathname,this.path):{}}set routes(t){this.__routes=t,this.collectFieldRoutes(t)}get routes(){return this.__routes}clear(){this.__cacheRecord.clear()}render(){let t;if(this.cache&&(t=this.__cacheRecord.get(this.pathname))&&(this.component=t.component,this.path=t.path,this.pathname=t.pathname),!t)switch(this.type){case l:this.component=this.fieldComponent();break;case d:this.component=this.slottedComponent();break;default:this.component=this.fieldComponent()??this.slottedComponent()}return this.component??this.default}connectedCallback(){super.connectedCallback(),c.routerInstances.add(this),\"field\"!==this.type&&(this.observers.add(this,MutationObserver,this.collectSlottedRoutes,{attributes:!0,attributeFilter:[\"slot\"],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();!this.__cacheRecord.has(this.pathname)&&this.path&&this.__cacheRecord.set(this.pathname,t),this.dispatchCustomEvent(\"change\",t)}}fieldComponent(t){if(t||=this.__fieldRouteTree.search(this.pathname)?.pattern,this.path=t,!t)return null;const e=this.routes.find((e=>e.path===t));return e?\"render\"in e?e.render?.(h(this.useRouter(),\"component\"))||null:e.component:null}slottedComponent(t){const e=this._slottedNames;return t||=this.__slottedRouteTree.search(this.pathname)?.pattern,this.path=t,t?(this.path=e.find((e=>e===t)),this.path?a(this.path):null):null}collectSlottedRoutes(){this.__slottedRouteTree=new o,this.clear(),this._slottedNames.forEach((t=>{this.__slottedRouteTree.insert(t)}))}collectFieldRoutes(t){this.__fieldRouteTree=new o,this.clear(),t.forEach((({path:t})=>{this.__fieldRouteTree.insert(t)}))}static updateAll(){this.routerInstances.forEach((t=>{t.handlePopstate()}))}search(t){return this.__fieldRouteTree.search(t)||this.__slottedRouteTree.search(t)}};m.routerInstances=new Set,t([n()],m.prototype,\"component\",void 0),t([n()],m.prototype,\"path\",void 0),t([r()],m.prototype,\"pathname\",void 0),t([n()],m.prototype,\"default\",void 0),t([r()],m.prototype,\"type\",void 0),t([r({type:Boolean})],m.prototype,\"cache\",void 0),t([n()],m.prototype,\"routes\",null),m=c=t([e(\"router\"),s(i`:host{display:contents}`)],m);var _=m;export{m as Router,_ as default};\n//# sourceMappingURL=router.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e}from\"@godown/element\";import{property as s}from\"lit/decorators.js\";import{SuperAnchor as r}from\"../core/super-anchor.js\";import o from\"./router.js\";const a=\"push\",p=\"replace\",i=\"normal\",h=\"auto\";let n=class Link extends r{constructor(){super(...arguments),this.type=h,this.suppress=!1,this.replace=!1,this.state={},this.handleState=()=>{switch(this.type){case h:case a:if(!this.replace){history.pushState(this.state,\"\",this.href);break}case p:history.replaceState(this.state,\"\",this.href)}}}_handleClick(t){const{state:e,type:s,href:r,pathname:a,suppress:p}=this;if(this.dispatchCustomEvent(\"navigate\",{...this.observedRecord,pathname:a,state:e}),r.startsWith(\"#\")||s===i)return;this.handleState();const n=[...o.routerInstances];p||s===h&&!n.some((t=>t.search(location.pathname)))||(t.preventDefault(),o.routerInstances.forEach((t=>{t.handlePopstate()})))}};t([s()],n.prototype,\"type\",void 0),t([s({type:Boolean})],n.prototype,\"suppress\",void 0),t([s({type:Boolean})],n.prototype,\"replace\",void 0),n=t([e(\"link\")],n);var c=n;export{n as Link,c as default};\n//# sourceMappingURL=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,isNullable as o,Ranger as i,attr as s}from\"@godown/element\";import{css as a,html as n}from\"lit\";import{property as l}from\"lit/decorators.js\";import{cssGlobalVars as p,GlobalStyle as d}from\"../core/global-style.js\";let m=class Progress extends d{constructor(){super(...arguments),this.max=1,this.min=0}render(){let t,r=20;if(!o(this.value)){const e=new i(this.min,this.max);r=100*e.restrict(this.value/e.diff),t=\"static\"}return n`<div part=\"root\" ${s(this.observedRecord)} class=\"${t}\"><i part=\"value\" style=\"width:${r}%;\"></i></div>`}};t([l({type:Number})],m.prototype,\"max\",void 0),t([l({type:Number})],m.prototype,\"min\",void 0),t([l({type:Number})],m.prototype,\"value\",void 0),m=t([r(\"progress\"),e(a`:host{background:var(${p.passive});border-radius:.25em;color:var(${p.active});height:.5em;width:100%}:host,[part=root]{display:block}[part=root]{border-radius:inherit;overflow:hidden;position:relative;z-index:1}[part=value]{animation:progress 1.8s ease-in-out infinite alternate;background:currentColor;border-radius:inherit;height:100%;left:0;position:absolute;top:0;transition:all .3s;z-index:2}@keyframes progress{0%{left:0}to{left:80%}}.static [part=value]{animation:none}`)],m);var u=m;export{m as Progress,u as default};\n//# sourceMappingURL=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,Ranger as s,omit as o,attr as i,joinDeclarations as n,loop as h,tokenList as l,isNullable as c}from\"@godown/element\";import{css as d,html as u}from\"lit\";import{property as v,queryAll as p,state as m}from\"lit/decorators.js\";import{scopePrefix as f,cssGlobalVars as g}from\"../core/global-style.js\";import{SuperInput as w}from\"../core/super-input.js\";const y=\"range\",_=f(y);let b=class Range extends w{constructor(){super(...arguments),this.min=0,this.max=100,this.vertical=!1,this.__focusStack=[]}get range(){return Array.isArray(this.value)}get rangeValue(){return this.range?this.value:[this.value]}padValue(t,e=0){const{rangeValue:r}=this,a=t-r.length;return a>0?new Array(a).fill(e).concat(r):r}attributeChangedCallback(t,e,r){super.attributeChangedCallback(t,e,r),\"max\"!==t&&\"min\"!==t&&\"step\"!==t||(this._ranger=new s(this.min,this.max,this.step))}get observedRecord(){return o(super.observedRecord,\"outline-type\")}render(){const t=this.padValue(2),e=Math.min(...t),r=Math.max(...t),a=this._ranger.diff;return u`<div part=\"root\" ${i(this.observedRecord)} @mousedown=\"${this.disabled?null:this._handleMousedownRoot}\" style=\"${n([[\"--from\",(e-this.min)/a*100+\"%\"],[\"--to\",(r-this.min)/a*100+\"%\"],...t.map(((t,e)=>[`--handle-${e}`,(t-this.min)/a*100+\"%\"]))])}\"><div part=\"track\"></div>${h(this.rangeValue.length,(t=>this._renderHandle(t)))}</div>`}_renderHandle(t){const{disabled:e,range:r,rangeValue:a}=this,s=!r||r&&t===a.length-1&&1===a.length;return u`<i tabindex=\"0\" part=\"handle\" class=\"${l({\"last-focus\":this.lastFocus===t})}\" @mousedown=\"${e?null:this.createMouseDown(t)}\" @focus=\"${e?null:()=>this.focusHandle(t)}\" @blur=\"${e?null:this.blurHandle}\" style=\"${n({\"z-index\":this.__focusStack.indexOf(t)+1,\"--handle\":`var(--${s?\"to\":`handle-${t}`})`})}\"></i>`}focusHandle(t){this.lastFocus=t;const e=this.__focusStack.indexOf(t);-1!==e&&this.__focusStack.splice(e,1),this.__focusStack.push(t);const r=this._handles.item(t);r?.focus(),this.__keydownEvent||(this.__keydownEvent=this.events.add(document,\"keydown\",this.createKeydownEvent(t)))}blurHandle(){this.lastFocus=void 0,this.__keydownEvent=this.events.remove(document,\"keydown\",this.__keydownEvent)}createKeydownEvent(t){return e=>{const{rangeValue:r,step:a}=this;r.length<2&&(t=0);const s=r[t];\"ArrowLeft\"===e.key||\"ArrowDown\"===e.key?(e.preventDefault(),this.createSetValue(t)(s-a)):\"ArrowRight\"!==e.key&&\"ArrowUp\"!==e.key||(e.preventDefault(),this.createSetValue(t)(s+a))}}createMouseDown(t){return e=>{this.focusHandle(t),this.createMousedownListener(this.createSetValue(t))(e)}}createSetValue(t){return e=>{const r=this._ranger.normalize(e);let a=r;this.range&&(a=[...this.value],a[t]=r),this.value=a,this.dispatchCustomEvent(\"change\",this.value)}}_computeValue({clientX:t,clientY:e}){const{top:r,left:a,height:s,width:o}=this._root.getBoundingClientRect();return this._ranger.present(this.vertical?(e-r)/s:(t-a)/o)}_handleMousedownRoot(t){const e=this._computeValue(t),r=this.range?this.rangeValue.reduce(((t,r,a)=>Math.abs(e-r)<Math.abs(e-this.rangeValue[t])?a:t),0):0,a=this.createSetValue(r);a(e),this.createMousedownListener(a)(t),this.focusHandle(r)}createMousedownListener(t){return e=>{e.preventDefault(),e.stopPropagation();const r=this.createMousemoveListener(t);this.events.add(document,\"mousemove\",r);const a=()=>{this.events.remove(document,\"mousemove\",r),this.events.remove(document,\"mouseup\",a)};this.events.add(document,\"mouseup\",a)}}createMousemoveListener(t){return e=>{const r=this._computeValue(e);r===this._ranger.restrict(r)&&t?.call(this,r)}}_connectedInit(){this._ranger=new s(this.min,this.max,this.step);const t=this._ranger.diff;this.step||=t/100,c(this.value)&&(c(this.default)?this.value=Math.round(t/2/this.step)*this.step:this.value=this.default),this.default??=this.value}reset(){this.value=this.default}sort(){return this.value=this.toSorted()}toSorted(){return this.range?[...this.value].sort(((t,e)=>t-e)):this.value}};t([v({type:Number})],b.prototype,\"min\",void 0),t([v({type:Number})],b.prototype,\"max\",void 0),t([v({type:Number})],b.prototype,\"step\",void 0),t([v({type:Boolean,reflect:!0})],b.prototype,\"vertical\",void 0),t([v({type:Array})],b.prototype,\"value\",void 0),t([v({type:Array})],b.prototype,\"default\",void 0),t([e(\"root\")],b.prototype,\"_root\",void 0),t([p(\"[part=handle]\")],b.prototype,\"_handles\",void 0),t([m()],b.prototype,\"lastFocus\",void 0),b=t([r(y),a(d`:host{${_}--handle-active:var(${g.active});${_}--track-width:.5em;${_}--length:var(${g.input}-width);background:var(${g.passive});display:block;width:var(${_}--length)}:host([contents]) [part=root]{width:inherit}:host([vertical]){height:var(${_}--length);width:-moz-fit-content;width:fit-content}:host(:not([disabled])) .last-focus{${_}--handle-scale:1.05;background:var(${_}--handle-active)}[part=root]{position:relative;--from:0%;--to:50%;height:var(${_}--track-width)}[part=root],[part=track]{border-radius:inherit;min-height:inherit}[part=track]{background:var(${g.active});height:100%;justify-content:space-between;left:min(var(--from),var(--to));pointer-events:none;width:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)))}[part=handle],[part=track]{display:flex;position:absolute}[part=handle]{align-items:center;background:var(${g.active});border:.1em solid;border-color:var(${g.input}-control);border-radius:50%;height:1em;justify-content:center;transform:scale(var(${_}--handle-scale,1)) translate(-50%,-25%);transform-origin:0 25%;-webkit-user-select:none;user-select:none;width:1em}`,d`[vertical]{height:inherit;width:var(${_}--track-width)}[vertical] i{transform:translate(-25%,-50%)}[vertical] [part=track]{height:max(calc(var(--to) - var(--from)),calc(var(--from) - var(--to)));left:0;top:min(var(--from),var(--to));width:100%}`,d`[part=handle]{left:var(--handle);top:0}[vertical] [part=handle]{left:0;top:var(--handle)}`)],b);var k=b;export{b as Range,k as default};\n//# sourceMappingURL=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 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{unsafeCSS as t,css as i}from\"lit\";const o=t(\"[direction-inset-align]\"),e=i`[direction^=top] ${o}{top:0}[direction^=bottom] ${o}{bottom:0}[direction$=right] ${o}{right:0}[direction$=left] ${o}{left:0}`,r=t(\"[direction-outset-place]\"),n=i`[direction^=top] ${r}{bottom:100%}[direction^=bottom] ${r}{top:100%}[direction$=right] ${r}{left:100%}[direction$=left] ${r}{right:100%}`;export{e as directionInsetAlign,n as directionOutsetPlace};\n//# sourceMappingURL=direction.js.map\n","import{__decorate as t}from\"tslib\";import{part as e,godown as i,styles as o,attr as s,htmlSlot as l}from\"@godown/element\";import n from\"@godown/f7-icon/icons/chevron-down.js\";import{css as r,nothing as h,html as a}from\"lit\";import{property as c,state as u}from\"lit/decorators.js\";import p from\"./input.js\";import{cssGlobalVars as d}from\"../core/global-style.js\";import{directionOutsetPlace as f}from\"../core/direction.js\";function v(t,e){return t&&e&&t.toLowerCase().includes(e.toLowerCase())}function m(t,e){if(t){const i=\"checked\";e?t.setAttribute(i,\"\"):t.removeAttribute(i)}}let b=class Select extends p{constructor(){super(...arguments),this.multiple=!1,this.visible=!1,this.autoDirection=\"bottom\",this.__store=[]}get observedRecord(){return{...super.observedRecord,direction:this.direction||this.autoDirection}}render(){return a`<div part=\"root\" ${s(this.observedRecord)} class=\"input-field\">${[this._renderPrefix(),a`<input part=\"input\" type=\"${this.type}\" .value=\"${this.text}\" ?autofocus=\"${this.autofocus}\" ?disabled=\"${this.disabled}\" autocapitalize=\"${this.autocapitalize||h}\" autocomplete=\"${this.autocomplete||h}\" placeholder=\"${this.placeholder||h}\" id=\"${this.makeId}\" @focus=\"${this._handleFocus}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\">`,a`<label for=\"${this.makeId}\" part=\"suffix\"><i part=\"icon\">${n()}</i></label>`,a`<label for=\"${this.makeId}\" part=\"content\" direction-outset-place>${l()}</label>`]}</div>`}_handleFocus(){if(!this.direction){const{top:t,bottom:e}=this.getBoundingClientRect();window.innerHeight-e<this._content.clientHeight&&t>this._content.clientHeight?this.autoDirection=\"top\":this.autoDirection=\"bottom\"}this.visible=!0}firstUpdated(){this.events.add(this._content,\"click\",(t=>{t.preventDefault(),t.stopPropagation();const{target:e}=t,i=this.optionValue(e);if(i){const t=this.select(i,e.textContent);this.multiple||m(this.lastChecked,0),m(e,t),this.lastChecked=e}this._input.focus()})),this.events.add(document,\"click\",(t=>{t.stopPropagation();const e=t.composedPath()[0];e&&!this.shadowRoot.contains(e)&&this.blur()}))}_connectedInit(){if(!this.value){const t=[...this.querySelectorAll(\"[checked]\")];(this.multiple?t:t.length?[this.lastChecked=t[0]]:[]).forEach((t=>{m(t,this.select(this.optionValue(t),t.textContent))})),this.default=this.value,this.defaultText=this.text,this.defaultChecked=t}this.text||(this.text=\"\")}reset(){this.value=this.default,this.text=this.defaultText,this.querySelectorAll(\"[checked]\").forEach((t=>m(t,0))),this.defaultChecked.forEach((t=>m(t,1)))}select(t,e){e||=t,e=e.trim();let i=0;if(this.multiple){const o=this.__store.findIndex((e=>e.value===t));o>-1?this.__store.splice(o,1):(this.__store.push({value:t,text:e}),i=1),this.value=this.__store.map((t=>t.value)),this.text=this.__store.map((t=>t.text)).join(\", \")}else this.value===t?(this.value=\"\",this.text=\"\"):(this.value=t,this.text=e,i=1);return this.dispatchCustomEvent(\"select\",this.value),this.filter(),i}filter(t){t=t?.trim(),[...this.children].forEach((e=>{this.filterCallback(e,!t||v(this.optionValue(e),t)||v(e.textContent,t),t)}))}filterCallback(t,e,i){t.style.display=e?\"\":\"none\"}_handleInput(t){if(t.stopPropagation(),this.compositing)return;const e=this._input.value;this.filter(this.multiple?function(t,e,i){const o=e.slice(0,t).lastIndexOf(i)+1||0,s=e.indexOf(i,t)||e.length;return e.slice(o,s)}(this._input.selectionStart,e,\",\"):e),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0})}focus(t){this._input.focus(t),this.visible=!0}blur(){this._input.blur(),this.visible=!1,super.blur()}optionValue(t){return t.value||t.getAttribute(\"value\")||\"\"}};t([c()],b.prototype,\"text\",void 0),t([e(\"content\")],b.prototype,\"_content\",void 0),t([c()],b.prototype,\"direction\",void 0),t([c({type:Boolean})],b.prototype,\"multiple\",void 0),t([c({type:Boolean})],b.prototype,\"visible\",void 0),t([u()],b.prototype,\"autoDirection\",void 0),b=t([i(\"select\"),o(f,r`.outline,:host(:focus-within){${d.input}-outline-color:var(${d.active})}[part=input]{text-overflow:ellipsis}[part=content]{position:absolute;visibility:hidden;width:100%}[visible] [part=content]{visibility:visible}`)],b);var _=b;export{b as Select,_ as default};\n//# sourceMappingURL=select.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;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 i,StyleController as r,omit as s,attr as n,loop as u,tokenList as l}from\"@godown/element\";import{css as o,html as c}from\"lit\";import{property as a,state as h}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as f}from\"../core/super-input.js\";import{OutlineBuilder as b}from\"../core/outline.js\";const v=\"split\",m=p(v);let y=class Split extends f{constructor(){super(...arguments),this.len=6,this.index=-1,this.current=-1,this.currentValue=[],this.__outlineSC=new r(this,(()=>new b({selector:\"[part=input-box]\",outlineType:this.outlineType}).css))}get observedRecord(){return s(super.observedRecord,\"outline-type\")}render(){return c`<div part=\"root\" ${n(this.observedRecord)}>${u(this.len,(t=>c`<span part=\"input-box\" outline-type=\"${this.outlineType}\" class=\"${l({focus:this.current===t})}\" @click=\"${this.disabled?null:()=>this.focusAt(t)}\">${this.currentValue[t]}</span>`))} <input part=\"input\" id=\"${this.makeId}\" @blur=\"${this.blur}\" @input=\"${this._handleInput}\" @change=\"${this._handleChange}\" .value=\"${this.value.padStart(this.len,\" \")}\"></div>`}connectedCallback(){super.connectedCallback(),this.reset()}_handleInput(t){t.stopPropagation(),this.compositing||(this.fillInput(t.data),this.value=this.currentValue.join(\"\"),this.dispatchCustomEvent(\"input\",this.value,{bubbles:!0}))}fillInput(t){if(null===t){if(null!==this.currentValue[this.current])this.currentValue[this.current]=null;else{this.currentValue[this.current-1]=null;const t=this.currentValue.findLastIndex((t=>null!==t));this.current=this.current-1<0?t<0?0:t:this.current-1}return}const e=t.length>1;if(this.currentValue[this.current]=t[0],this.current+1>=this.len?(this.current=this.currentValue.indexOf(null),-1===this.current&&this.blur()):this.current+=1,e){const e=t.slice(1);e&&this.fillInput(e)}}focus(){this.focusAt(this.current),super.focus()}focusAt(t){this.current=t,this._input.focus()}blur(){this._input.blur(),this.current=-1,super.blur()}reset(){this.current=-1,this.value=this.default,this.currentValue=this.value.split(\"\").concat(Array(this.len-this.value.length).fill(null)),this.index>-1&&(this.current=this.index)}};t([a({type:Number})],y.prototype,\"len\",void 0),t([a({type:Number})],y.prototype,\"index\",void 0),t([h()],y.prototype,\"current\",void 0),t([h()],y.prototype,\"currentValue\",void 0),y=t([e(v),i(o`:host{border-radius:.1em;display:block;width:-moz-fit-content;width:fit-content;${m}--size:1.45em;${m}--gap:.25em}[part=root]{display:flex;gap:var(${m}--gap);justify-content:space-between;position:relative}[part=input-box],[part=root]{border-radius:inherit;vertical-align:top}[part=input-box]{align-items:center;display:inline-flex;height:var(${m}--size);justify-content:center;width:var(${m}--size)}[part=input]{background:none;height:100%;opacity:0;position:absolute;width:100%;z-index:-1}.focus,[part=input-box]:active{${d.outlineColor}:var(${d.active})}`)],y);var $=y;export{y as Split,$ as default};\n//# sourceMappingURL=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 t}from\"tslib\";import{godown as e,styles as a,omit as i,attr as r}from\"@godown/element\";import{css as s,html as o}from\"lit\";import{property as n}from\"lit/decorators.js\";import{scopePrefix as h,cssGlobalVars as d}from\"../core/global-style.js\";import{SuperInput as l}from\"../core/super-input.js\";const c=\"switch\",p=h(c);let u=class Switch extends l{constructor(){super(...arguments),this.default=!1,this.value=!1}set checked(t){this.value=t}get checked(){return this.value}get observedRecord(){return i(super.observedRecord,\"outline-type\")}render(){return o`<div part=\"root\" ${r(this.observedRecord)} class=\"round\"><input part=\"input\" type=\"checkbox\" ?disabled=\"${this.disabled}\" ?checked=\"${this.value}\" id=\"${this.makeId}\" @change=\"${this._handleChange}\"> <span part=\"handle\"></span></div>`}reset(){this.value=this.default,this._input.checked=this.value}_connectedInit(){this.default?this.value=!0:this.value&&(this.value=!0,this.default=!0)}_handleChange(){const{checked:t}=this._input;this.value=t,this.dispatchCustomEvent(\"change\",this.value)}};t([n({type:Boolean})],u.prototype,\"default\",void 0),t([n({type:Boolean,attribute:\"checked\",reflect:!0})],u.prototype,\"value\",void 0),u=t([e(c),a(s`:host,:host([contents]) [part=root]{display:inline-block}:host{${p}-width:3em;${p}-height:calc(var(${p}-width)/2);${p}-handle-size:1.25em;${p}-handle-space:calc(var(${p}-width)/4 - var(${p}-handle-size)/2);${p}-transition:.2s ease-in-out;background:var(${d.passive});border-radius:calc(var(${p}-height)/2);height:var(${p}-height);transition:.2s ease-in-out;transition-property:background,left;vertical-align:bottom;width:var(${p}-width)}:host([checked]){background:var(${d.active})}[part=root]{position:relative}[part=handle],[part=root]{align-items:center;display:flex;transition:inherit}[part=handle]{background:currentColor;border-radius:100%;justify-content:center;left:0;pointer-events:none;position:absolute;top:50%;--size:var(${p}-handle-size);height:var(--size);transform:translateY(-50%) translateX(var(${p}-handle-space));width:var(--size)}:host([checked]) [part=handle]{left:50%}[part=input]{height:100%;opacity:0;width:100%}`)],u);var v=u;export{u as Switch,v as default};\n//# sourceMappingURL=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,tokenList as l,htmlSlot as i}from\"@godown/element\";import{css as n,html as a}from\"lit\";import{property as c}from\"lit/decorators.js\";import{scopePrefix as p,cssGlobalVars as s,GlobalStyle as v}from\"../core/global-style.js\";const d=\"text\",u=p(d);let h=class Text extends v{constructor(){super(...arguments),this.underline=\"none\",this.clip=!1}render(){return a`<span part=\"root\" ${t(this.observedRecord)} class=\"${l(this.underline)}\">${i()}</span>`}};o([c()],h.prototype,\"underline\",void 0),o([c({type:Boolean})],h.prototype,\"clip\",void 0),h=o([r(d),e(n`:host{${u}--color:currentColor;${u}--color-hover:currentColor;${u}--color-active:currentColor;display:inline-block;overflow-wrap:break-word;text-overflow:ellipsis}[part=root]{color:var(${u}--color);display:inline-block;overflow:hidden;overflow-wrap:inherit;text-overflow:inherit;vertical-align:bottom;white-space:nowrap}[part=root]:hover{color:var(${u}--color-hover,var(${u}--color))}[part=root]:active{color:var(${u}--color-active,var(${u}--color))}.active:active,.always,.hover:hover{text-decoration:underline}.none{text-decoration:none}[clip]{background:var(${s.clipBackground});color:transparent;display:inline-block;-webkit-text-fill-color:transparent;background-clip:text;-webkit-background-clip:text}`)],h);var w=h;export{h as Text,w as default};\n//# sourceMappingURL=text.js.map\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 i,styles as e,StyleController as o,attr as r,tokenList as s,htmlSlot as n}from\"@godown/element\";import{scopePrefix as a,cssGlobalVars as d,GlobalStyle as p}from\"../core/global-style.js\";import{css as l,html as c}from\"lit\";import{property as h,queryAll as u}from\"lit/decorators.js\";import{OutlineBuilder as m}from\"../core/outline.js\";const v=\"tabs\",y=a(v),x=\"hover\";let b=class Tabs extends p{constructor(){super(...arguments),this.outlineType=\"border\",this.useSlot=!1,this.index=0,this.__outlineSC=new o(this,(()=>new m({outlineType:this.outlineType}).css))}render(){return c`<ul part=\"root\" ${r(this.observedRecord)} @mouseleave=\"${this._handleMouseLeave}\">${this.tabs?.map(((t,i)=>t||this.useSlot?c`<li part=\"${s(\"item\",{selected:this.index===i})}\" @mouseenter=\"${()=>{this.move(this._lastIndex,i),this._lastIndex=i}}\" @click=\"${()=>this.select(i)}\">${this.useSlot?n(t):t}<div part=\"indicator\"></div></li>`:\"\"))}</ul>`}connectedCallback(){super.connectedCallback(),this._lastIndex=this.index}_handleMouseLeave(){const t=this._items[this._lastIndex];t&&t.part.remove(x),this._lastIndex=this.index}move(t,i){if(t===i)return;const{_items:e,_indicators:o}=this,r=e[i];if(!r)return;r.part.add(x);const s=e[t];if(!s)return;s.part.remove(x);const n=o[i],a=o[t];if(!n||!a)return;const d=a.getBoundingClientRect(),p=r.getBoundingClientRect(),l=d.x-p.x,c=d.y-p.y,h=d.width,{style:u}=n;u.transform=`translate3d(${l}px,${c}px,0)`,u.width=h+\"px\",u.transition=a.style.transition=\"none\",n.getBoundingClientRect(),u.width=u.transform=u.transition=a.style.transition=\"\"}select(t){const{index:i,tabs:e,_lastIndex:o,useSlot:r}=this;e&&i!==t&&t in e&&(this.dispatchCustomEvent(\"select\",t),this.move(o,t),this._lastIndex=t,i in e&&(e[i]||r)&&(this.index=t))}};t([h({attribute:\"outline-type\"})],b.prototype,\"outlineType\",void 0),t([h({type:Boolean})],b.prototype,\"useSlot\",void 0),t([h({type:Array})],b.prototype,\"tabs\",void 0),t([h({type:Number})],b.prototype,\"index\",void 0),t([u(\"[part~=item]\")],b.prototype,\"_items\",void 0),t([u(\"[part=indicator]\")],b.prototype,\"_indicators\",void 0),b=t([i(v),e(l`:host{${y}--indicator-background:var(${d._colors.darkgray[7]});${y}--space:0.25em;border-radius:var(${d.radius});cursor:default;display:flex;transition:.2s ease-in-out;width:-moz-fit-content;width:fit-content}[part=root]{border-radius:inherit;display:flex;flex-direction:inherit;gap:var(${y}--space);overflow-x:clip;padding:var(${y}--space);position:relative;transition:inherit;transition-property:width,transform,opacity;z-index:1}[useslot] [part~=item]{padding:0}[part~=item]{display:block;padding:0 .4em;position:relative;white-space:nowrap}[part=indicator],[part~=item]{border-radius:inherit;transition:inherit;transition-property:inherit;width:100%}[part=indicator]{background:var(${y}--indicator-background);height:100%;inset:0;opacity:0;position:absolute;z-index:-1}[part~=selected]{background:var(${y}--indicator-background)}[part~=hover] [part=indicator],[part~=selected] [part=indicator]{opacity:1}`)],b);var f=b;export{b as Tabs,f as default};\n//# sourceMappingURL=tabs.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 o from\"./components/tabs.js\";export{Tabs}from\"./components/tabs.js\";o.define();export{o as default};\n//# sourceMappingURL=tabs.js.map\n","import{__decorate as t}from\"tslib\";import{godown as e,styles as i,attr as o}from\"@godown/element\";import s from\"fmtime\";import{css as m,html as r}from\"lit\";import{property as p}from\"lit/decorators.js\";import{GlobalStyle as a}from\"../core/global-style.js\";let h=class Time extends a{constructor(){super(...arguments),this.escape=\"%\",this.format=\"YYYY-MM-DD hh:mm:ss\",this.time=new Date}render(){return r`<span part=\"root\" ${o(this.observedRecord)}>${s(this.format,this.time,this.escape)}</span>`}updated(t){t.has(\"timeout\")&&this.timeout&&(this.timeouts.remove(this.timeoutId),this.timeoutId=this.timeouts.add(setInterval((()=>{this.dispatchCustomEvent(\"time\",this.time),this.time=new Date(this.time.getTime()+(this.gap||this.timeout))}),Math.abs(this.timeout))))}};t([p()],h.prototype,\"escape\",void 0),t([p()],h.prototype,\"format\",void 0),t([p({type:Object})],h.prototype,\"time\",void 0),t([p({type:Number})],h.prototype,\"timeout\",void 0),t([p({type:Number})],h.prototype,\"gap\",void 0),h=t([e(\"time\"),i(m`:host{text-align:center}`)],h);var d=h;export{h as Time,d as default};\n//# sourceMappingURL=time.js.map\n","import{__decorate as t}from\"tslib\";import{godown as i,styles as e,attr as o,htmlSlot as n}from\"@godown/element\";import{css as r,html as s}from\"lit\";import{property as p}from\"lit/decorators.js\";import{scopePrefix as a}from\"../core/global-style.js\";import l from\"../core/super-openable.js\";import{directionOutsetPlace as d}from\"../core/direction.js\";var c;const h=\"tooltip\",f=a(h);let u=c=class Tooltip extends l{constructor(){super(...arguments),this.direction=\"top\",this.align=\"center\",this.propagation=!1,this.type=\"hover\"}render(){const t=c.aligns[this.align]||\"inherit\",i=\"focus\"===this.type;return s`<div part=\"root\" ${o(this.observedRecord)} tabindex=\"${i?0:-1}\" @focus=\"${i?()=>this.open=!0:null}\" @blur=\"${i?()=>this.open=!1:null}\" @mouseenter=\"${i?null:()=>this.open=!0}\" @mouseleave=\"${i?null:()=>this.open=!1}\" style=\"justify-content:${t};align-items:${t}\">${n()}<div part=\"tip\" direction-outset-place>${this.tip?s`<span class=\"passive\">${this.tip}</span>`:n(\"tip\")}</div></div>`}};u.aligns={start:\"flex-start\",end:\"flex-end\",center:\"center\",\"flex-start\":\"flex-start\",\"flex-end\":\"flex-end\"},t([p()],u.prototype,\"tip\",void 0),t([p()],u.prototype,\"direction\",void 0),t([p()],u.prototype,\"align\",void 0),t([p({type:Boolean})],u.prototype,\"propagation\",void 0),t([p()],u.prototype,\"type\",void 0),u=c=t([i(h),e(d,r`:host{${f}--tip-background:inherit;width:-moz-fit-content;width:fit-content}:host,[part=root]{display:inline-flex}[part=root]{border-radius:inherit;position:relative;transition:inherit}[part=tip]{height:-moz-fit-content;height:fit-content;position:absolute;transition:inherit;-webkit-user-select:none;user-select:none;visibility:hidden;width:-moz-fit-content;width:fit-content}:host([open]) [part=tip]{visibility:visible}.passive{background:var(${f}--tip-background)}[propagation] [part=tip]{pointer-events:none}`)],u);var v=u;export{u as Tooltip,v as default};\n//# sourceMappingURL=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 o,attr as i,htmlSlot as n,Ranger as r}from\"@godown/element\";import{css as s,html as d}from\"lit\";import{property as h,state as a,query as p}from\"lit/decorators.js\";import{scopePrefix as l,GlobalStyle as c}from\"../core/global-style.js\";const m=\"typewriter\",y=l(m);let u=class Typewriter extends c{constructor(){super(...arguments),this.content=\"\",this.ended=!1,this.max=100,this.min=50,this.delay=0,this.index=0,this.contentInternal=\"\"}get len(){return this.content.length}render(){return d`<div part=\"root\" ${i(this.observedRecord)}>${n()} ${this.contentInternal} <i part=\"cursor\" ?hidden=\"${this.ended}\"></i></div>`}connectedCallback(){super.connectedCallback(),this._ranger=new r(this.min,this.max)}firstUpdated(){this.content||=this._slot?.assignedNodes()[0]?.textContent.trim()||\"\",!this.ended&&this.len&&this.write()}updated(t){t.has(\"index\")&&this.dispatchCustomEvent(this.index===this.len?\"done\":\"write\",this.contentInternal)}write(t=this.index){this.contentInternal=this.content.slice(0,t+1);const e=this.delay||this._ranger.random();this.timeoutID=this.timeouts.add(setTimeout((()=>{const e=t+1;e<=this.len&&(this.index=e,this.write())}),e))}stop(){clearTimeout(this.timeoutID)}end(){this.ended=!0}};t([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([a()],u.prototype,\"contentInternal\",void 0),t([p(\"i\")],u.prototype,\"_i\",void 0),u=t([e(m),o(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","isNullable","value","isString","isObject","isArray","Array","omit","obj","keys","result","includes","join","a","b","sep","infixed","startsWith","endsWith","toDash","s","_a","match","map","toLowerCase","splitWords","toEntries","o","k","v","entries","joinRules","rules","properties","joinDeclarations","props","StyleController","constructor","host","computeStyle","this","addController","hostUpdated","sheets","shadowRoot","adoptedStyleSheets","undefined","styleID","splice","styleResult","push","style","CSSStyleSheet","sheet","replaceSync","String","toStyleSheet","styles","protoStyles","superClass","getPrototypeOf","godown","name","option","protoName","tagName","autoDefine","registry","customElements","elementTagName","get","define","component","godownConfig","tag","t","globalThis","e","ShadowRoot","ShadyCSS","nativeShadow","Document","prototype","Symbol","WeakMap","n$9","n","_$cssResult$","Error","cssText","styleSheet","set","toString","cssRules","is","getOwnPropertyNames","h","getOwnPropertySymbols","trustedTypes","l","emptyScript","p","reactiveElementPolyfillSupport","u","toAttribute","Boolean","JSON","stringify","fromAttribute","Number","parse","f","y","attribute","type","converter","reflect","hasChanged","metadata","litPropertyMetadata","b$5","HTMLElement","addInitializer","_$Ei","observedAttributes","finalize","_$Eh","createProperty","state","elementProperties","noAccessor","getPropertyDescriptor","call","requestUpdate","configurable","enumerable","getPropertyOptions","hasOwnProperty","Map","finalized","_$Eu","elementStyles","finalizeStyles","Set","flat","reverse","unshift","super","_$Ep","isUpdatePending","hasUpdated","_$Em","_$Ev","_$ES","Promise","enableUpdating","_$AL","_$E_","forEach","_$EO","add","renderRoot","isConnected","hostConnected","removeController","delete","size","createRenderRoot","attachShadow","shadowRootOptions","document","createElement","litNonce","setAttribute","textContent","appendChild","connectedCallback","disconnectedCallback","hostDisconnected","attributeChangedCallback","_$AK","_$EC","removeAttribute","P","_$ET","has","_$Ej","reject","scheduleUpdate","performUpdate","wrapped","shouldUpdate","willUpdate","hostUpdate","update","_$EU","_$AE","firstUpdated","updated","updateComplete","getUpdateComplete","mode","ReactiveElement","reactiveElementVersions","kind","init","querySelector","createDocumentFragment","querySelectorAll","part","partName","cache","query","i$2","_$AU","_$AM","_$AT","_$Ct","_$Ci","_$AS","render","updateAttribute","noAttribute","isNumber","isNaN","attr","_$litDirective$","values","directive","AttrDirective","Directive","caller","fn","PartType","element","noChange","svgAttr","attrDirective","withInitials","width","height","xmlns","htmlSlot","html","nothing","htmlStyle","media","styleString","icon","viewBox","strings","body","svg","renderer","attributes","loop","len","index","tokenList","args","reduce","acc","cur","deepQuerySelectorAll","selectors","root","Element","el","child","children","from","deepQuerySelector","Events","inner","src","listener","options","typeMap","elementSet","addEventListener","remove","removeEventListener","removeAll","eventListeners","clear","Observers","callback","observer","observeFunc","MutationObserver","ResizeObserver","observe","IntersectionObserver","PerformanceObserver","normalizeObserver","ob","disconnect","unobserve","_","Ranger","endpoint1","endpoint2","step","max","Math","min","diff","random","normalize","present","decimal","restrict","round","RouteTree","matchType","MatchTypes","strict","insert","pattern","parts","split","spec","findStrict","dynamic","sorted","search","sort","multi","filterWide","find","filter","parseParams","path","pathSplit","patternSplit","params","single","slice","Timeouts","clearTimeout","attributeName","property","withSelectorRegex","GodownElement","LitElement","isDefined","getDefined","elementAttributes","observedRecord","record","_slot","_slotAll","_slottedAll","_slottedNames","getAttribute","getBoundingClientRect","contents","contentsRoot","firstElementChild","getClientRects","stylex","__stylex","css","sx","trim","test","adoptStyles","lazy","events","observers","timeouts","assign","mount","arg","unmount","remount","stack","insertRule","dispatchCustomEvent","detail","dispatchEvent","CustomEvent","composed","GodownConfig","prefix","suffix","components","origin","getName","whenDefined","upgrade","s$1","n$6","a$3","d$7","p$9","g$2","h$9","m$f","rgb","g","presetsRGB","darkgray","lightgray","teal","blue","green","red","purple","orange","yellow","pink","GlobalStyle","func","start","trimStartFunc","end","trimEndFunc","trimFunc","str","repeat","clipBackground","active","passive","_colors","input","white","black","color","radius","outlineWidth","outlineColor","unsafeCSS","flatMap","$","j","gray","C","tip","success","info","warning","danger","error","help","deprecated","q","Alert","w","__colorSC","autoclose","hideClose","variant","title","content","close","m","bubbles","setTimeout","alert","x","Avatar","_renderAvatar","_handleError","formatName","Badge","position","dot","formatValue","Breath","getTexts","_renderText","_computeStyle","duration","Button","nextColor","plain","disabled","ghost","focus","blur","_handelClick","stopPropagation","preventDefault","_handleModal","_root","sqrt","left","top","animationName","_modalRoot","once","Card","footer","header","r$1","h$7","Carousel","autoChange","prev","next","__cloneFirst","__cloneLast","cloneNode","lastElementChild","insertBefore","_offset","_computeOffset","_doTranslateX","show","normalizeIndex","intervalID","setInterval","childElementCount","_moveRoot","transform","transition","n$5","SuperOpenable","open","toggle","Details","float","fill","summary","Dialog","__modalInvoke","modal","showModal","_dialog","__submitEvent","_handelSubmit","__keydownEvent","_handleKeydown","bind","code","method","Divider","vertical","Dragbox","__drag","_offsetParent","offsetParent","_handleDragStart","reset","__x","__y","__t","__l","__handleMouseMove","_handleDrag","__handleMouseLeave","_handleDragEnd","__handleMouseUp","offsetWidth","offsetHeight","offsetLeft","offsetTop","Flex","gap","flexFlow","items","Form","nameValue","namevalue","buildValue","assignedElements","fromEntries","FormData","Grid","columns","rows","Heading","as","anchor","side","id","wrapHeading","p$3","SuperInput","autofocus","outlineType","compositing","makeId","defaultValue","default","_input","_handleInput","_handleChange","_connectedInit","_compositionInit","_changeInputType","_renderPrefix","_renderSuffix","OutlineBuilder","selector","outline","border","Input","__outlineSC","autocapitalize","autocomplete","placeholder","Layout","sticky","SuperAnchor","pathname","URL","href","location","_handleClick","Router","__fieldRouteTree","__slottedRouteTree","__cacheRecord","handlePopstate","window","routes","__routes","collectFieldRoutes","fieldComponent","slottedComponent","routerInstances","collectSlottedRoutes","attributeFilter","subtree","useRouter","updateAll","Link","suppress","replace","handleState","history","pushState","replaceState","some","Progress","Range","__focusStack","range","rangeValue","padValue","concat","_ranger","_handleMousedownRoot","_renderHandle","lastFocus","createMouseDown","focusHandle","blurHandle","indexOf","_handles","item","createKeydownEvent","createSetValue","createMousedownListener","_computeValue","clientX","clientY","abs","createMousemoveListener","toSorted","Rotate","_handleRotate","removeProperty","rotateX","rotateY","setProperty","Select","multiple","visible","autoDirection","__store","direction","text","_handleFocus","bottom","innerHeight","_content","clientHeight","optionValue","select","lastChecked","composedPath","contains","defaultText","defaultChecked","findIndex","filterCallback","display","lastIndexOf","selectionStart","Skeleton","animation","loading","Split","current","currentValue","focusAt","padStart","fillInput","data","findLastIndex","Switch","checked","Text","underline","clip","Tabs","useSlot","_handleMouseLeave","tabs","selected","move","_lastIndex","_items","_indicators","formatNumber","Time","escape","format","time","Date","fmt","getTime","replaced","rest","RegExp","p1","z","getTimezoneOffset","switcher","Z","Y","getFullYear","M","getMonth","D","getDate","getHours","getMinutes","getSeconds","S","getMilliseconds","pop","shift","timeout","timeoutId","Tooltip","align","propagation","aligns","center","Typewriter","ended","delay","contentInternal","assignedNodes","write","timeoutID","stop"],"mappings":";;;;;GAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAClD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC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