diff --git a/.vscode/settings.json b/.vscode/settings.json index 13d66b8..ca60c1b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -13,32 +13,14 @@ "base": "lottie", "color": "blue-800", "lightColor": "light-blue-200", - "folderNames": ["graph"], - "rootFolderNames": ["graph"] + "folderNames": ["graph"] }, { "name": "input-component", "base": "mock", "color": "cyan-800", "lightColor": "light-green-700", - "folderNames": ["inputs"], - "rootFolderNames": ["inputs"] - }, - { - "name": "icon", - "base": "svg", - "color": "purple-400", - "lightColor": "purple-100", - "folderNames": ["icons"], - "rootFolderNames": ["icons"] - }, - { - "name": "animate", - "base": "animation", - "color": "purple-400", - "lightColor": "purple-100", - "folderNames": ["animatedList"], - "rootFolderNames": ["animatedList"] + "folderNames": ["inputs", "subblocks"] } ], "material-icon-theme.files.associations": { diff --git a/package-lock.json b/package-lock.json index f4b411b..72d47c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "function-plot-gui", - "version": "0.4.0", + "version": "0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "function-plot-gui", - "version": "0.4.0", + "version": "0.5", "hasInstallScript": true, "dependencies": { "@prettier/sync": "^0.5.2", @@ -18,9 +18,10 @@ "mitt": "^3.0.1", "pinia": "^3.0.2", "prettier": "^3.4.2", - "sober": "^1.1.0", + "sober": "^1.1.1", "utf8": "^3.0.0", "vue": "^3.5.13", + "vue-color-kit": "^1.0.6", "vue-draggable-plus": "^0.6.0", "vue-i18n": "^10.0.7" }, @@ -33,36 +34,37 @@ "dotenv": "^16.5.0", "patch-package": "^8.0.0", "rollup-plugin-visualizer": "^5.14.0", + "sass-embedded": "^1.87.0", "typescript": "~5.6.2", - "vite": "^6.1.0", + "vite": "^6.3.5", "vue-tsc": "^2.1.10" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz", + "integrity": "sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.27.1.tgz", + "integrity": "sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==", "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.0.tgz", - "integrity": "sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.27.1.tgz", + "integrity": "sha512-I0dZ3ZpCrJ1c04OqlNsQcKiZlsrXf/kkE4FXzID9rIOYICsAbA8mMDzhW/luRNAHdCNt7os/u8wenklZDlUVUQ==", "license": "MIT", "dependencies": { - "@babel/types": "^7.27.0" + "@babel/types": "^7.27.1" }, "bin": { "parser": "bin/babel-parser.js" @@ -72,22 +74,29 @@ } }, "node_modules/@babel/types": { - "version": "7.27.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.0.tgz", - "integrity": "sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==", + "version": "7.27.1", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.27.1.tgz", + "integrity": "sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==", "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" + "@babel/helper-string-parser": "^7.27.1", + "@babel/helper-validator-identifier": "^7.27.1" }, "engines": { "node": ">=6.9.0" } }, + "node_modules/@bufbuild/protobuf": { + "version": "2.2.5", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.2.5.tgz", + "integrity": "sha512-/g5EzJifw5GF8aren8wZ/G5oMuPoGeS6MQD3ca8ddcvdXR5UELUfdTZITCGNhNXynY/AYl3Z4plmxdj/tRl/hQ==", + "dev": true, + "license": "(Apache-2.0 AND BSD-3-Clause)" + }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.2.tgz", - "integrity": "sha512-wCIboOL2yXZym2cgm6mlA742s9QeJ8DjGVaL39dLN4rRwrOgOyYSnOaFPhKZGLb2ngj4EyfAFjsNJwPXZvseag==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.25.3.tgz", + "integrity": "sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==", "cpu": [ "ppc64" ], @@ -102,9 +111,9 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.2.tgz", - "integrity": "sha512-NQhH7jFstVY5x8CKbcfa166GoV0EFkaPkCKBQkdPJFvo5u+nGXLEH/ooniLb3QI8Fk58YAx7nsPLozUWfCBOJA==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.25.3.tgz", + "integrity": "sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==", "cpu": [ "arm" ], @@ -119,9 +128,9 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.2.tgz", - "integrity": "sha512-5ZAX5xOmTligeBaeNEPnPaeEuah53Id2tX4c2CVP3JaROTH+j4fnfHCkr1PjXMd78hMst+TlkfKcW/DlTq0i4w==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.25.3.tgz", + "integrity": "sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==", "cpu": [ "arm64" ], @@ -136,9 +145,9 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.2.tgz", - "integrity": "sha512-Ffcx+nnma8Sge4jzddPHCZVRvIfQ0kMsUsCMcJRHkGJ1cDmhe4SsrYIjLUKn1xpHZybmOqCWwB0zQvsjdEHtkg==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.25.3.tgz", + "integrity": "sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==", "cpu": [ "x64" ], @@ -153,9 +162,9 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.2.tgz", - "integrity": "sha512-MpM6LUVTXAzOvN4KbjzU/q5smzryuoNjlriAIx+06RpecwCkL9JpenNzpKd2YMzLJFOdPqBpuub6eVRP5IgiSA==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.25.3.tgz", + "integrity": "sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==", "cpu": [ "arm64" ], @@ -170,9 +179,9 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.2.tgz", - "integrity": "sha512-5eRPrTX7wFyuWe8FqEFPG2cU0+butQQVNcT4sVipqjLYQjjh8a8+vUTfgBKM88ObB85ahsnTwF7PSIt6PG+QkA==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.25.3.tgz", + "integrity": "sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==", "cpu": [ "x64" ], @@ -187,9 +196,9 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.2.tgz", - "integrity": "sha512-mLwm4vXKiQ2UTSX4+ImyiPdiHjiZhIaE9QvC7sw0tZ6HoNMjYAqQpGyui5VRIi5sGd+uWq940gdCbY3VLvsO1w==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.3.tgz", + "integrity": "sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==", "cpu": [ "arm64" ], @@ -204,9 +213,9 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.2.tgz", - "integrity": "sha512-6qyyn6TjayJSwGpm8J9QYYGQcRgc90nmfdUb0O7pp1s4lTY+9D0H9O02v5JqGApUyiHOtkz6+1hZNvNtEhbwRQ==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.25.3.tgz", + "integrity": "sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==", "cpu": [ "x64" ], @@ -221,9 +230,9 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.2.tgz", - "integrity": "sha512-UHBRgJcmjJv5oeQF8EpTRZs/1knq6loLxTsjc3nxO9eXAPDLcWW55flrMVc97qFPbmZP31ta1AZVUKQzKTzb0g==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.25.3.tgz", + "integrity": "sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==", "cpu": [ "arm" ], @@ -238,9 +247,9 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.2.tgz", - "integrity": "sha512-gq/sjLsOyMT19I8obBISvhoYiZIAaGF8JpeXu1u8yPv8BE5HlWYobmlsfijFIZ9hIVGYkbdFhEqC0NvM4kNO0g==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.25.3.tgz", + "integrity": "sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==", "cpu": [ "arm64" ], @@ -255,9 +264,9 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.2.tgz", - "integrity": "sha512-bBYCv9obgW2cBP+2ZWfjYTU+f5cxRoGGQ5SeDbYdFCAZpYWrfjjfYwvUpP8MlKbP0nwZ5gyOU/0aUzZ5HWPuvQ==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.25.3.tgz", + "integrity": "sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==", "cpu": [ "ia32" ], @@ -272,9 +281,9 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.2.tgz", - "integrity": "sha512-SHNGiKtvnU2dBlM5D8CXRFdd+6etgZ9dXfaPCeJtz+37PIUlixvlIhI23L5khKXs3DIzAn9V8v+qb1TRKrgT5w==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.25.3.tgz", + "integrity": "sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==", "cpu": [ "loong64" ], @@ -289,9 +298,9 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.2.tgz", - "integrity": "sha512-hDDRlzE6rPeoj+5fsADqdUZl1OzqDYow4TB4Y/3PlKBD0ph1e6uPHzIQcv2Z65u2K0kpeByIyAjCmjn1hJgG0Q==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.25.3.tgz", + "integrity": "sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==", "cpu": [ "mips64el" ], @@ -306,9 +315,9 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.2.tgz", - "integrity": "sha512-tsHu2RRSWzipmUi9UBDEzc0nLc4HtpZEI5Ba+Omms5456x5WaNuiG3u7xh5AO6sipnJ9r4cRWQB2tUjPyIkc6g==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.25.3.tgz", + "integrity": "sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==", "cpu": [ "ppc64" ], @@ -323,9 +332,9 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.2.tgz", - "integrity": "sha512-k4LtpgV7NJQOml/10uPU0s4SAXGnowi5qBSjaLWMojNCUICNu7TshqHLAEbkBdAszL5TabfvQ48kK84hyFzjnw==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.25.3.tgz", + "integrity": "sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==", "cpu": [ "riscv64" ], @@ -340,9 +349,9 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.2.tgz", - "integrity": "sha512-GRa4IshOdvKY7M/rDpRR3gkiTNp34M0eLTaC1a08gNrh4u488aPhuZOCpkF6+2wl3zAN7L7XIpOFBhnaE3/Q8Q==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.25.3.tgz", + "integrity": "sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==", "cpu": [ "s390x" ], @@ -357,9 +366,9 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.2.tgz", - "integrity": "sha512-QInHERlqpTTZ4FRB0fROQWXcYRD64lAoiegezDunLpalZMjcUcld3YzZmVJ2H/Cp0wJRZ8Xtjtj0cEHhYc/uUg==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.3.tgz", + "integrity": "sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==", "cpu": [ "x64" ], @@ -374,9 +383,9 @@ } }, "node_modules/@esbuild/netbsd-arm64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.2.tgz", - "integrity": "sha512-talAIBoY5M8vHc6EeI2WW9d/CkiO9MQJ0IOWX8hrLhxGbro/vBXJvaQXefW2cP0z0nQVTdQ/eNyGFV1GSKrxfw==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.3.tgz", + "integrity": "sha512-1QaLtOWq0mzK6tzzp0jRN3eccmN3hezey7mhLnzC6oNlJoUJz4nym5ZD7mDnS/LZQgkrhEbEiTn515lPeLpgWA==", "cpu": [ "arm64" ], @@ -391,9 +400,9 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.2.tgz", - "integrity": "sha512-voZT9Z+tpOxrvfKFyfDYPc4DO4rk06qamv1a/fkuzHpiVBMOhpjK+vBmWM8J1eiB3OLSMFYNaOaBNLXGChf5tg==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.25.3.tgz", + "integrity": "sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==", "cpu": [ "x64" ], @@ -408,9 +417,9 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.2.tgz", - "integrity": "sha512-dcXYOC6NXOqcykeDlwId9kB6OkPUxOEqU+rkrYVqJbK2hagWOMrsTGsMr8+rW02M+d5Op5NNlgMmjzecaRf7Tg==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.3.tgz", + "integrity": "sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==", "cpu": [ "arm64" ], @@ -425,9 +434,9 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.2.tgz", - "integrity": "sha512-t/TkWwahkH0Tsgoq1Ju7QfgGhArkGLkF1uYz8nQS/PPFlXbP5YgRpqQR3ARRiC2iXoLTWFxc6DJMSK10dVXluw==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.25.3.tgz", + "integrity": "sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==", "cpu": [ "x64" ], @@ -442,9 +451,9 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.2.tgz", - "integrity": "sha512-cfZH1co2+imVdWCjd+D1gf9NjkchVhhdpgb1q5y6Hcv9TP6Zi9ZG/beI3ig8TvwT9lH9dlxLq5MQBBgwuj4xvA==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.25.3.tgz", + "integrity": "sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==", "cpu": [ "x64" ], @@ -459,9 +468,9 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.2.tgz", - "integrity": "sha512-7Loyjh+D/Nx/sOTzV8vfbB3GJuHdOQyrOryFdZvPHLf42Tk9ivBU5Aedi7iyX+x6rbn2Mh68T4qq1SDqJBQO5Q==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.25.3.tgz", + "integrity": "sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==", "cpu": [ "arm64" ], @@ -476,9 +485,9 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.2.tgz", - "integrity": "sha512-WRJgsz9un0nqZJ4MfhabxaD9Ft8KioqU3JMinOTvobbX6MOSUigSBlogP8QB3uxpJDsFS6yN+3FDBdqE5lg9kg==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.25.3.tgz", + "integrity": "sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==", "cpu": [ "ia32" ], @@ -493,9 +502,9 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.2.tgz", - "integrity": "sha512-kM3HKb16VIXZyIeVrM1ygYmZBKybX8N4p754bw390wGO3Tf2j4L2/WYL+4suWujpgf6GBYs3jv7TyUivdd05JA==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.3.tgz", + "integrity": "sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==", "cpu": [ "x64" ], @@ -575,9 +584,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.0.tgz", - "integrity": "sha512-+Fbls/diZ0RDerhE8kyC6hjADCXA1K4yVNlH0EYfd2XjyH0UGgzaQ8MlT0pCXAThfxv3QUAczHaL+qSv1E4/Cg==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.40.1.tgz", + "integrity": "sha512-kxz0YeeCrRUHz3zyqvd7n+TVRlNyTifBsmnmNPtk3hQURUyG9eAB+usz6DAwagMusjx/zb3AjvDUvhFGDAexGw==", "cpu": [ "arm" ], @@ -589,9 +598,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.0.tgz", - "integrity": "sha512-PPA6aEEsTPRz+/4xxAmaoWDqh67N7wFbgFUJGMnanCFs0TV99M0M8QhhaSCks+n6EbQoFvLQgYOGXxlMGQe/6w==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.40.1.tgz", + "integrity": "sha512-PPkxTOisoNC6TpnDKatjKkjRMsdaWIhyuMkA4UsBXT9WEZY4uHezBTjs6Vl4PbqQQeu6oION1w2voYZv9yquCw==", "cpu": [ "arm64" ], @@ -603,9 +612,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.0.tgz", - "integrity": "sha512-GwYOcOakYHdfnjjKwqpTGgn5a6cUX7+Ra2HeNj/GdXvO2VJOOXCiYYlRFU4CubFM67EhbmzLOmACKEfvp3J1kQ==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.40.1.tgz", + "integrity": "sha512-VWXGISWFY18v/0JyNUy4A46KCFCb9NVsH+1100XP31lud+TzlezBbz24CYzbnA4x6w4hx+NYCXDfnvDVO6lcAA==", "cpu": [ "arm64" ], @@ -617,9 +626,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.0.tgz", - "integrity": "sha512-CoLEGJ+2eheqD9KBSxmma6ld01czS52Iw0e2qMZNpPDlf7Z9mj8xmMemxEucinev4LgHalDPczMyxzbq+Q+EtA==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.40.1.tgz", + "integrity": "sha512-nIwkXafAI1/QCS7pxSpv/ZtFW6TXcNUEHAIA9EIyw5OzxJZQ1YDrX+CL6JAIQgZ33CInl1R6mHet9Y/UZTg2Bw==", "cpu": [ "x64" ], @@ -631,9 +640,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.0.tgz", - "integrity": "sha512-r7yGiS4HN/kibvESzmrOB/PxKMhPTlz+FcGvoUIKYoTyGd5toHp48g1uZy1o1xQvybwwpqpe010JrcGG2s5nkg==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.40.1.tgz", + "integrity": "sha512-BdrLJ2mHTrIYdaS2I99mriyJfGGenSaP+UwGi1kB9BLOCu9SR8ZpbkmmalKIALnRw24kM7qCN0IOm6L0S44iWw==", "cpu": [ "arm64" ], @@ -645,9 +654,9 @@ ] }, "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.0.tgz", - "integrity": "sha512-mVDxzlf0oLzV3oZOr0SMJ0lSDd3xC4CmnWJ8Val8isp9jRGl5Dq//LLDSPFrasS7pSm6m5xAcKaw3sHXhBjoRw==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.40.1.tgz", + "integrity": "sha512-VXeo/puqvCG8JBPNZXZf5Dqq7BzElNJzHRRw3vjBE27WujdzuOPecDPc/+1DcdcTptNBep3861jNq0mYkT8Z6Q==", "cpu": [ "x64" ], @@ -659,9 +668,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.0.tgz", - "integrity": "sha512-y/qUMOpJxBMy8xCXD++jeu8t7kzjlOCkoxxajL58G62PJGBZVl/Gwpm7JK9+YvlB701rcQTzjUZ1JgUoPTnoQA==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.40.1.tgz", + "integrity": "sha512-ehSKrewwsESPt1TgSE/na9nIhWCosfGSFqv7vwEtjyAqZcvbGIg4JAcV7ZEh2tfj/IlfBeZjgOXm35iOOjadcg==", "cpu": [ "arm" ], @@ -673,9 +682,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.0.tgz", - "integrity": "sha512-GoCsPibtVdJFPv/BOIvBKO/XmwZLwaNWdyD8TKlXuqp0veo2sHE+A/vpMQ5iSArRUz/uaoj4h5S6Pn0+PdhRjg==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.40.1.tgz", + "integrity": "sha512-m39iO/aaurh5FVIu/F4/Zsl8xppd76S4qoID8E+dSRQvTyZTOI2gVk3T4oqzfq1PtcvOfAVlwLMK3KRQMaR8lg==", "cpu": [ "arm" ], @@ -687,9 +696,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.0.tgz", - "integrity": "sha512-L5ZLphTjjAD9leJzSLI7rr8fNqJMlGDKlazW2tX4IUF9P7R5TMQPElpH82Q7eNIDQnQlAyiNVfRPfP2vM5Avvg==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.40.1.tgz", + "integrity": "sha512-Y+GHnGaku4aVLSgrT0uWe2o2Rq8te9hi+MwqGF9r9ORgXhmHK5Q71N757u0F8yU1OIwUIFy6YiJtKjtyktk5hg==", "cpu": [ "arm64" ], @@ -701,9 +710,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.0.tgz", - "integrity": "sha512-ATZvCRGCDtv1Y4gpDIXsS+wfFeFuLwVxyUBSLawjgXK2tRE6fnsQEkE4csQQYWlBlsFztRzCnBvWVfcae/1qxQ==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.40.1.tgz", + "integrity": "sha512-jEwjn3jCA+tQGswK3aEWcD09/7M5wGwc6+flhva7dsQNRZZTe30vkalgIzV4tjkopsTS9Jd7Y1Bsj6a4lzz8gQ==", "cpu": [ "arm64" ], @@ -715,9 +724,9 @@ ] }, "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.0.tgz", - "integrity": "sha512-wG9e2XtIhd++QugU5MD9i7OnpaVb08ji3P1y/hNbxrQ3sYEelKJOq1UJ5dXczeo6Hj2rfDEL5GdtkMSVLa/AOg==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.40.1.tgz", + "integrity": "sha512-ySyWikVhNzv+BV/IDCsrraOAZ3UaC8SZB67FZlqVwXwnFhPihOso9rPOxzZbjp81suB1O2Topw+6Ug3JNegejQ==", "cpu": [ "loong64" ], @@ -729,9 +738,9 @@ ] }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.0.tgz", - "integrity": "sha512-vgXfWmj0f3jAUvC7TZSU/m/cOE558ILWDzS7jBhiCAFpY2WEBn5jqgbqvmzlMjtp8KlLcBlXVD2mkTSEQE6Ixw==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.40.1.tgz", + "integrity": "sha512-BvvA64QxZlh7WZWqDPPdt0GH4bznuL6uOO1pmgPnnv86rpUpc8ZxgZwcEgXvo02GRIZX1hQ0j0pAnhwkhwPqWg==", "cpu": [ "ppc64" ], @@ -743,9 +752,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.0.tgz", - "integrity": "sha512-uJkYTugqtPZBS3Z136arevt/FsKTF/J9dEMTX/cwR7lsAW4bShzI2R0pJVw+hcBTWF4dxVckYh72Hk3/hWNKvA==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.40.1.tgz", + "integrity": "sha512-EQSP+8+1VuSulm9RKSMKitTav89fKbHymTf25n5+Yr6gAPZxYWpj3DzAsQqoaHAk9YX2lwEyAf9S4W8F4l3VBQ==", "cpu": [ "riscv64" ], @@ -757,9 +766,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-musl": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.0.tgz", - "integrity": "sha512-rKmSj6EXQRnhSkE22+WvrqOqRtk733x3p5sWpZilhmjnkHkpeCgWsFFo0dGnUGeA+OZjRl3+VYq+HyCOEuwcxQ==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.40.1.tgz", + "integrity": "sha512-n/vQ4xRZXKuIpqukkMXZt9RWdl+2zgGNx7Uda8NtmLJ06NL8jiHxUawbwC+hdSq1rrw/9CghCpEONor+l1e2gA==", "cpu": [ "riscv64" ], @@ -771,9 +780,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.0.tgz", - "integrity": "sha512-SpnYlAfKPOoVsQqmTFJ0usx0z84bzGOS9anAC0AZ3rdSo3snecihbhFTlJZ8XMwzqAcodjFU4+/SM311dqE5Sw==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.40.1.tgz", + "integrity": "sha512-h8d28xzYb98fMQKUz0w2fMc1XuGzLLjdyxVIbhbil4ELfk5/orZlSTpF/xdI9C8K0I8lCkq+1En2RJsawZekkg==", "cpu": [ "s390x" ], @@ -785,9 +794,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.0.tgz", - "integrity": "sha512-RcDGMtqF9EFN8i2RYN2W+64CdHruJ5rPqrlYw+cgM3uOVPSsnAQps7cpjXe9be/yDp8UC7VLoCoKC8J3Kn2FkQ==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.40.1.tgz", + "integrity": "sha512-XiK5z70PEFEFqcNj3/zRSz/qX4bp4QIraTy9QjwJAb/Z8GM7kVUsD0Uk8maIPeTyPCP03ChdI+VVmJriKYbRHQ==", "cpu": [ "x64" ], @@ -799,9 +808,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.0.tgz", - "integrity": "sha512-HZvjpiUmSNx5zFgwtQAV1GaGazT2RWvqeDi0hV+AtC8unqqDSsaFjPxfsO6qPtKRRg25SisACWnJ37Yio8ttaw==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.40.1.tgz", + "integrity": "sha512-2BRORitq5rQ4Da9blVovzNCMaUlyKrzMSvkVR0D4qPuOy/+pMCrh1d7o01RATwVy+6Fa1WBw+da7QPeLWU/1mQ==", "cpu": [ "x64" ], @@ -813,9 +822,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.0.tgz", - "integrity": "sha512-UtZQQI5k/b8d7d3i9AZmA/t+Q4tk3hOC0tMOMSq2GlMYOfxbesxG4mJSeDp0EHs30N9bsfwUvs3zF4v/RzOeTQ==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.40.1.tgz", + "integrity": "sha512-b2bcNm9Kbde03H+q+Jjw9tSfhYkzrDUf2d5MAd1bOJuVplXvFhWz7tRtWvD8/ORZi7qSCy0idW6tf2HgxSXQSg==", "cpu": [ "arm64" ], @@ -827,9 +836,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.0.tgz", - "integrity": "sha512-+m03kvI2f5syIqHXCZLPVYplP8pQch9JHyXKZ3AGMKlg8dCyr2PKHjwRLiW53LTrN/Nc3EqHOKxUxzoSPdKddA==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.40.1.tgz", + "integrity": "sha512-DfcogW8N7Zg7llVEfpqWMZcaErKfsj9VvmfSyRjCyo4BI3wPEfrzTtJkZG6gKP/Z92wFm6rz2aDO7/JfiR/whA==", "cpu": [ "ia32" ], @@ -841,9 +850,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.0.tgz", - "integrity": "sha512-lpPE1cLfP5oPzVjKMx10pgBmKELQnFJXHgvtHCtuJWOv8MxqdEIMNtgHgBFf7Ea2/7EuVwa9fodWUfXAlXZLZQ==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.40.1.tgz", + "integrity": "sha512-ECyOuDeH3C1I8jH2MK1RtBJW+YPMvSfT0a5NN0nHfQYnDSJ6tUiZH3gzwVP5/Kfh/+Tt7tpWVF9LXNTnhTJ3kA==", "cpu": [ "x64" ], @@ -886,9 +895,9 @@ } }, "node_modules/@types/node": { - "version": "22.14.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.14.1.tgz", - "integrity": "sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==", + "version": "22.15.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.15.3.tgz", + "integrity": "sha512-lX7HFZeHf4QG/J7tBZqrCAXwz9J5RD56Y6MpP0eJkka8p+K0RY/yBTW7CYFJ4VGCclxqOLKmiGP5juQc6MKgcw==", "dev": true, "license": "MIT", "dependencies": { @@ -929,30 +938,30 @@ } }, "node_modules/@volar/language-core": { - "version": "2.4.12", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.12.tgz", - "integrity": "sha512-RLrFdXEaQBWfSnYGVxvR2WrO6Bub0unkdHYIdC31HzIEqATIuuhRRzYu76iGPZ6OtA4Au1SnW0ZwIqPP217YhA==", + "version": "2.4.13", + "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.13.tgz", + "integrity": "sha512-MnQJ7eKchJx5Oz+YdbqyFUk8BN6jasdJv31n/7r6/WwlOOv7qzvot6B66887l2ST3bUW4Mewml54euzpJWA6bg==", "dev": true, "license": "MIT", "dependencies": { - "@volar/source-map": "2.4.12" + "@volar/source-map": "2.4.13" } }, "node_modules/@volar/source-map": { - "version": "2.4.12", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.12.tgz", - "integrity": "sha512-bUFIKvn2U0AWojOaqf63ER0N/iHIBYZPpNGogfLPQ68F5Eet6FnLlyho7BS0y2HJ1jFhSif7AcuTx1TqsCzRzw==", + "version": "2.4.13", + "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.13.tgz", + "integrity": "sha512-l/EBcc2FkvHgz2ZxV+OZK3kMSroMr7nN3sZLF2/f6kWW66q8+tEL4giiYyFjt0BcubqJhBt6soYIrAPhg/Yr+Q==", "dev": true, "license": "MIT" }, "node_modules/@volar/typescript": { - "version": "2.4.12", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.12.tgz", - "integrity": "sha512-HJB73OTJDgPc80K30wxi3if4fSsZZAOScbj2fcicMuOPoOkcf9NNAINb33o+DzhBdF9xTKC1gnPmIRDous5S0g==", + "version": "2.4.13", + "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.13.tgz", + "integrity": "sha512-Ukz4xv84swJPupZeoFsQoeJEOm7U9pqsEnaGGgt5ni3SCTa22m8oJP5Nng3Wed7Uw5RBELdLxxORX8YhJPyOgQ==", "dev": true, "license": "MIT", "dependencies": { - "@volar/language-core": "2.4.12", + "@volar/language-core": "2.4.13", "path-browserify": "^1.0.1", "vscode-uri": "^3.0.8" } @@ -1019,18 +1028,21 @@ } }, "node_modules/@vue/devtools-api": { - "version": "6.6.4", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz", - "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", - "license": "MIT" + "version": "7.7.6", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-7.7.6.tgz", + "integrity": "sha512-b2Xx0KvXZObePpXPYHvBRRJLDQn5nhKjXh7vUhMEtWxz1AYNFOVIsh5+HLP8xDGL7sy+Q7hXeUxPHB/KgbtsPw==", + "license": "MIT", + "dependencies": { + "@vue/devtools-kit": "^7.7.6" + } }, "node_modules/@vue/devtools-kit": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-7.7.5.tgz", - "integrity": "sha512-S9VAVJYVAe4RPx2JZb9ZTEi0lqTySz2CBeF0wHT5D3dkTLnT9yMMGegKNl4b2EIELwLSkcI9bl2qp0/jW+upqA==", + "version": "7.7.6", + "resolved": "https://registry.npmjs.org/@vue/devtools-kit/-/devtools-kit-7.7.6.tgz", + "integrity": "sha512-geu7ds7tem2Y7Wz+WgbnbZ6T5eadOvozHZ23Atk/8tksHMFOFylKi1xgGlQlVn0wlkEf4hu+vd5ctj1G4kFtwA==", "license": "MIT", "dependencies": { - "@vue/devtools-shared": "^7.7.5", + "@vue/devtools-shared": "^7.7.6", "birpc": "^2.3.0", "hookable": "^5.5.3", "mitt": "^3.0.1", @@ -1040,18 +1052,18 @@ } }, "node_modules/@vue/devtools-shared": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-7.7.5.tgz", - "integrity": "sha512-QBjG72RfpM0DKtpns2RZOxBltO226kOAls9e4Lri6YxS2gWTgL0H+wj1R2K76lxxIeOrqo4+2Ty6RQnzv+WSTQ==", + "version": "7.7.6", + "resolved": "https://registry.npmjs.org/@vue/devtools-shared/-/devtools-shared-7.7.6.tgz", + "integrity": "sha512-yFEgJZ/WblEsojQQceuyK6FzpFDx4kqrz2ohInxNj5/DnhoX023upTv4OD6lNPLAA5LLkbwPVb10o/7b+Y4FVA==", "license": "MIT", "dependencies": { "rfdc": "^1.4.1" } }, "node_modules/@vue/language-core": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.2.8.tgz", - "integrity": "sha512-rrzB0wPGBvcwaSNRriVWdNAbHQWSf0NlGqgKHK5mEkXpefjUlVRP62u03KvwZpvKVjRnBIQ/Lwre+Mx9N6juUQ==", + "version": "2.2.10", + "resolved": "https://registry.npmjs.org/@vue/language-core/-/language-core-2.2.10.tgz", + "integrity": "sha512-+yNoYx6XIKuAO8Mqh1vGytu8jkFEOH5C8iOv3i8Z/65A7x9iAOXA97Q+PqZ3nlm2lxf5rOJuIGI/wDtx/riNYw==", "dev": true, "license": "MIT", "dependencies": { @@ -1283,6 +1295,13 @@ "node": ">=8" } }, + "node_modules/buffer-builder": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/buffer-builder/-/buffer-builder-0.2.0.tgz", + "integrity": "sha512-7VPMEPuYznPSoR21NE1zvd2Xna6c/CloiZCfcMXR1Jny6PjX0N4Nsa38zcBFo/FMK+BlA+FLKbJCQ0i2yxp+Xg==", + "dev": true, + "license": "MIT/X11" + }, "node_modules/built-in-math-eval": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/built-in-math-eval/-/built-in-math-eval-0.3.0.tgz", @@ -1410,6 +1429,13 @@ "dev": true, "license": "MIT" }, + "node_modules/colorjs.io": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/colorjs.io/-/colorjs.io-0.5.2.tgz", + "integrity": "sha512-twmVoizEW7ylZSN32OgKdXRmo1qg+wT5/6C3xu5b9QsWzSFAhHLn2xd8ro0diCsKfCj1RdaTP/nrcW+vAoQPIw==", + "dev": true, + "license": "MIT" + }, "node_modules/concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", @@ -1771,9 +1797,9 @@ } }, "node_modules/esbuild": { - "version": "0.25.2", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.2.tgz", - "integrity": "sha512-16854zccKPnC+toMywC+uKNeYSv+/eXkevRAfwRD/G9Cleq66m8XFIrigkbvauLLlCfDL45Q2cWegSg53gGBnQ==", + "version": "0.25.3", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.25.3.tgz", + "integrity": "sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -1784,31 +1810,31 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.25.2", - "@esbuild/android-arm": "0.25.2", - "@esbuild/android-arm64": "0.25.2", - "@esbuild/android-x64": "0.25.2", - "@esbuild/darwin-arm64": "0.25.2", - "@esbuild/darwin-x64": "0.25.2", - "@esbuild/freebsd-arm64": "0.25.2", - "@esbuild/freebsd-x64": "0.25.2", - "@esbuild/linux-arm": "0.25.2", - "@esbuild/linux-arm64": "0.25.2", - "@esbuild/linux-ia32": "0.25.2", - "@esbuild/linux-loong64": "0.25.2", - "@esbuild/linux-mips64el": "0.25.2", - "@esbuild/linux-ppc64": "0.25.2", - "@esbuild/linux-riscv64": "0.25.2", - "@esbuild/linux-s390x": "0.25.2", - "@esbuild/linux-x64": "0.25.2", - "@esbuild/netbsd-arm64": "0.25.2", - "@esbuild/netbsd-x64": "0.25.2", - "@esbuild/openbsd-arm64": "0.25.2", - "@esbuild/openbsd-x64": "0.25.2", - "@esbuild/sunos-x64": "0.25.2", - "@esbuild/win32-arm64": "0.25.2", - "@esbuild/win32-ia32": "0.25.2", - "@esbuild/win32-x64": "0.25.2" + "@esbuild/aix-ppc64": "0.25.3", + "@esbuild/android-arm": "0.25.3", + "@esbuild/android-arm64": "0.25.3", + "@esbuild/android-x64": "0.25.3", + "@esbuild/darwin-arm64": "0.25.3", + "@esbuild/darwin-x64": "0.25.3", + "@esbuild/freebsd-arm64": "0.25.3", + "@esbuild/freebsd-x64": "0.25.3", + "@esbuild/linux-arm": "0.25.3", + "@esbuild/linux-arm64": "0.25.3", + "@esbuild/linux-ia32": "0.25.3", + "@esbuild/linux-loong64": "0.25.3", + "@esbuild/linux-mips64el": "0.25.3", + "@esbuild/linux-ppc64": "0.25.3", + "@esbuild/linux-riscv64": "0.25.3", + "@esbuild/linux-s390x": "0.25.3", + "@esbuild/linux-x64": "0.25.3", + "@esbuild/netbsd-arm64": "0.25.3", + "@esbuild/netbsd-x64": "0.25.3", + "@esbuild/openbsd-arm64": "0.25.3", + "@esbuild/openbsd-x64": "0.25.3", + "@esbuild/sunos-x64": "0.25.3", + "@esbuild/win32-arm64": "0.25.3", + "@esbuild/win32-ia32": "0.25.3", + "@esbuild/win32-x64": "0.25.3" } }, "node_modules/escalade": { @@ -2092,6 +2118,13 @@ "integrity": "sha512-Yc+BQe8SvoXH1643Qez1zqLRmbA5rCL+sSmk6TVos0LWVfNIB7PGncdlId77WzLGSIB5KaWgTaNTs2lNVEI6VQ==", "license": "MIT" }, + "node_modules/immutable": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/immutable/-/immutable-5.1.1.tgz", + "integrity": "sha512-3jatXi9ObIsPGr3N5hGw/vWWcTkq6hUYhpQz4k0wLC+owqWi/LiugIw9x0EdNZ2yGedKN/HzePiBvaJRXa0Ujg==", + "dev": true, + "license": "MIT" + }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -2225,14 +2258,14 @@ "license": "ISC" }, "node_modules/json-stable-stringify": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.2.1.tgz", - "integrity": "sha512-Lp6HbbBgosLmJbjx0pBLbgvx68FaFU1sdkmBuckmhhJ88kL13OA51CDtR2yJB50eCNMH9wRqtQNNiAqQH4YXnA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.3.0.tgz", + "integrity": "sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg==", "dev": true, "license": "MIT", "dependencies": { "call-bind": "^1.0.8", - "call-bound": "^1.0.3", + "call-bound": "^1.0.4", "isarray": "^2.0.5", "jsonify": "^0.0.1", "object-keys": "^1.1.1" @@ -2567,15 +2600,6 @@ } } }, - "node_modules/pinia/node_modules/@vue/devtools-api": { - "version": "7.7.5", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-7.7.5.tgz", - "integrity": "sha512-HYV3tJGARROq5nlVMJh5KKHk7GU8Au3IrrmNNqr978m0edxgpHgYPDoNUGrvEgIbObz09SQezFR3A1EVmB5WZg==", - "license": "MIT", - "dependencies": { - "@vue/devtools-kit": "^7.7.5" - } - }, "node_modules/postcss": { "version": "8.5.3", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", @@ -2650,9 +2674,9 @@ } }, "node_modules/rollup": { - "version": "4.40.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.0.tgz", - "integrity": "sha512-Noe455xmA96nnqH5piFtLobsGbCij7Tu+tb3c1vYjNbTkfzGqXqQXG3wJaYXkRZuQ0vEYN4bhwg7QnIrqB5B+w==", + "version": "4.40.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.40.1.tgz", + "integrity": "sha512-C5VvvgCCyfyotVITIAv+4efVytl5F7wt+/I2i9q9GZcEXW9BP52YYOXC58igUi+LFZVHukErIIqQSWwv/M3WRw==", "dev": true, "license": "MIT", "dependencies": { @@ -2666,26 +2690,26 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.40.0", - "@rollup/rollup-android-arm64": "4.40.0", - "@rollup/rollup-darwin-arm64": "4.40.0", - "@rollup/rollup-darwin-x64": "4.40.0", - "@rollup/rollup-freebsd-arm64": "4.40.0", - "@rollup/rollup-freebsd-x64": "4.40.0", - "@rollup/rollup-linux-arm-gnueabihf": "4.40.0", - "@rollup/rollup-linux-arm-musleabihf": "4.40.0", - "@rollup/rollup-linux-arm64-gnu": "4.40.0", - "@rollup/rollup-linux-arm64-musl": "4.40.0", - "@rollup/rollup-linux-loongarch64-gnu": "4.40.0", - "@rollup/rollup-linux-powerpc64le-gnu": "4.40.0", - "@rollup/rollup-linux-riscv64-gnu": "4.40.0", - "@rollup/rollup-linux-riscv64-musl": "4.40.0", - "@rollup/rollup-linux-s390x-gnu": "4.40.0", - "@rollup/rollup-linux-x64-gnu": "4.40.0", - "@rollup/rollup-linux-x64-musl": "4.40.0", - "@rollup/rollup-win32-arm64-msvc": "4.40.0", - "@rollup/rollup-win32-ia32-msvc": "4.40.0", - "@rollup/rollup-win32-x64-msvc": "4.40.0", + "@rollup/rollup-android-arm-eabi": "4.40.1", + "@rollup/rollup-android-arm64": "4.40.1", + "@rollup/rollup-darwin-arm64": "4.40.1", + "@rollup/rollup-darwin-x64": "4.40.1", + "@rollup/rollup-freebsd-arm64": "4.40.1", + "@rollup/rollup-freebsd-x64": "4.40.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.40.1", + "@rollup/rollup-linux-arm-musleabihf": "4.40.1", + "@rollup/rollup-linux-arm64-gnu": "4.40.1", + "@rollup/rollup-linux-arm64-musl": "4.40.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.40.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.40.1", + "@rollup/rollup-linux-riscv64-gnu": "4.40.1", + "@rollup/rollup-linux-riscv64-musl": "4.40.1", + "@rollup/rollup-linux-s390x-gnu": "4.40.1", + "@rollup/rollup-linux-x64-gnu": "4.40.1", + "@rollup/rollup-linux-x64-musl": "4.40.1", + "@rollup/rollup-win32-arm64-msvc": "4.40.1", + "@rollup/rollup-win32-ia32-msvc": "4.40.1", + "@rollup/rollup-win32-x64-msvc": "4.40.1", "fsevents": "~2.3.2" } }, @@ -2751,6 +2775,417 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/sass-embedded": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded/-/sass-embedded-1.87.0.tgz", + "integrity": "sha512-1IA3iTJNh4BkkA/nidKiVwbmkxr9o6LsPegycHMX/JYs255zpocN5GdLF1+onohQCJxbs5ldr8osKV7qNaNBjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@bufbuild/protobuf": "^2.0.0", + "buffer-builder": "^0.2.0", + "colorjs.io": "^0.5.0", + "immutable": "^5.0.2", + "rxjs": "^7.4.0", + "supports-color": "^8.1.1", + "sync-child-process": "^1.0.2", + "varint": "^6.0.0" + }, + "bin": { + "sass": "dist/bin/sass.js" + }, + "engines": { + "node": ">=16.0.0" + }, + "optionalDependencies": { + "sass-embedded-android-arm": "1.87.0", + "sass-embedded-android-arm64": "1.87.0", + "sass-embedded-android-ia32": "1.87.0", + "sass-embedded-android-riscv64": "1.87.0", + "sass-embedded-android-x64": "1.87.0", + "sass-embedded-darwin-arm64": "1.87.0", + "sass-embedded-darwin-x64": "1.87.0", + "sass-embedded-linux-arm": "1.87.0", + "sass-embedded-linux-arm64": "1.87.0", + "sass-embedded-linux-ia32": "1.87.0", + "sass-embedded-linux-musl-arm": "1.87.0", + "sass-embedded-linux-musl-arm64": "1.87.0", + "sass-embedded-linux-musl-ia32": "1.87.0", + "sass-embedded-linux-musl-riscv64": "1.87.0", + "sass-embedded-linux-musl-x64": "1.87.0", + "sass-embedded-linux-riscv64": "1.87.0", + "sass-embedded-linux-x64": "1.87.0", + "sass-embedded-win32-arm64": "1.87.0", + "sass-embedded-win32-ia32": "1.87.0", + "sass-embedded-win32-x64": "1.87.0" + } + }, + "node_modules/sass-embedded-android-arm": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-arm/-/sass-embedded-android-arm-1.87.0.tgz", + "integrity": "sha512-Z20u/Y1kFDpMbgiloR5YPLxNuMVeKQRC8e/n68oAAxf3u7rDSmNn2msi7USqgT1f2zdBBNawn/ifbFEla6JiHw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-arm64/-/sass-embedded-android-arm64-1.87.0.tgz", + "integrity": "sha512-uqeZoBuXm3W2KhxolScAAfWOLHL21e50g7AxlLmG0he7WZsWw6e9kSnmq301iLIFp4kvmXYXbXbNKAeu9ItRYA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-ia32": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-ia32/-/sass-embedded-android-ia32-1.87.0.tgz", + "integrity": "sha512-hSWTqo2Igdig528cUb1W1+emw9d1J4+nqOoR4tERS04zcwRRFNDiuBT0o5meV7nkEwE982F+h57YdcRXj8gTtg==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-riscv64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-riscv64/-/sass-embedded-android-riscv64-1.87.0.tgz", + "integrity": "sha512-kBAPSjiTBLy5ua/0LRNAJwOAARhzFU7gP35fYORJcdBuz1lkIVPVnid1lh9qQ6Ce9MOJcr7VKFtGnTuqVeig5A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-android-x64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-android-x64/-/sass-embedded-android-x64-1.87.0.tgz", + "integrity": "sha512-ZHMrNdtdMSpJUYco2MesnlPwDTZftD3pqkkOMI2pbqarPoFUKJtP5k80nwCM0sJGtqfNE+O16w9yPght0CMiJg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-darwin-arm64/-/sass-embedded-darwin-arm64-1.87.0.tgz", + "integrity": "sha512-7TK1JWJdCIRSdZv5CJv/HpDz/wIfwUy2FoPz9sVOEj1pDTH0N+VfJd5VutCddIdoQN9jr0ap8vwkc65FbAxV2A==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-darwin-x64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-darwin-x64/-/sass-embedded-darwin-x64-1.87.0.tgz", + "integrity": "sha512-2JiQzt7FmgUC4MYT2QvbeH/Bi3e76WEhaYoc5P3WyTW8unsHksyTdMuTuYe0Qf9usIyt6bmm5no/4BBw7c8Cig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm/-/sass-embedded-linux-arm-1.87.0.tgz", + "integrity": "sha512-z5P6INMsGXiUcq1sRRbksyQUhalFFYjTEexuxfSYdK3U2YQMADHubQh8pGzkWvFRPOpnh83RiGuwvpaARYHnsw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-arm64/-/sass-embedded-linux-arm64-1.87.0.tgz", + "integrity": "sha512-5z+mwJCbGZcg+q+MwdEVSh0ogFK7OSAe175Gsozzr/Izw34Q+RGUw9O82jsV2c4YNuTAQvzEHgIO5cvNvt3Quw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-ia32": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-ia32/-/sass-embedded-linux-ia32-1.87.0.tgz", + "integrity": "sha512-Xzcp+YPp0iakGL148Jl57CO+MxLuj2jsry3M+rc1cSnDlvkjNVs6TMxaL70GFeV5HdU2V60voYcgE7adDUtJjw==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm/-/sass-embedded-linux-musl-arm-1.87.0.tgz", + "integrity": "sha512-4PyqOWhRzyu06RRmpCCBOJdF4BOv7s446wrV6yODtEyyfSIDx3MJabo3KT0oJ1lTWSI/aU3R89bKx0JFXcIHHw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-arm64/-/sass-embedded-linux-musl-arm64-1.87.0.tgz", + "integrity": "sha512-HWE5eTRCoKzFZWsxOjDMTF5m4DDTQ0n7NJxSYiUXPBDydr9viPXbGOMYG7WVJLjiF7upr7DYo/mfp/SNTMlZyg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-ia32": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-ia32/-/sass-embedded-linux-musl-ia32-1.87.0.tgz", + "integrity": "sha512-aQaPvlRn3kh93PLQvl6BcFKu8Ji92+42blFEkg6nMVvmugD5ZwH2TGFrX25ibx4CYxRpMS4ssF7a0i7vy5HB1Q==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-riscv64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-riscv64/-/sass-embedded-linux-musl-riscv64-1.87.0.tgz", + "integrity": "sha512-o5DxcqiFzET3KRWo+futHr/lhAMBP3tJGGx8YIgpHQYfvDMbsvE0hiFC+nZ/GF9dbcGd+ceIQwfvE5mcc7Gsjw==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-musl-x64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-musl-x64/-/sass-embedded-linux-musl-x64-1.87.0.tgz", + "integrity": "sha512-dKxWsu9Wu/CyfzQmHdeiGqrRSzJ85VUjbSx+aP1/7ttmps3SSg+YW95PuqnCOa7GSuSreC3dKKpXHTywUxMLQA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-riscv64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-riscv64/-/sass-embedded-linux-riscv64-1.87.0.tgz", + "integrity": "sha512-Sy3ESZ4FwBiijvmTA9n+0p0w3MNCue1AgINVPzpAY27EFi0h49eqQm9SWfOkFqmkFS2zFRYowdQOr5Bbr2gOXA==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-linux-x64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-linux-x64/-/sass-embedded-linux-x64-1.87.0.tgz", + "integrity": "sha512-+UfjakOcHHKTnEqB3EZ+KqzezQOe1emvy4Rs+eQhLyfekpYuNze/qlRvYxfKTmrtvDiUrIto8MXsyZfMLzkuMA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-arm64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-arm64/-/sass-embedded-win32-arm64-1.87.0.tgz", + "integrity": "sha512-m1DS6FYUE0/fv+vt38uQB/kxR4UjnyD+2zcSc298pFmA0aYh/XZIPWw7RxG1HL3KLE1ZrGyu3254MPoxRhs3ig==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-ia32": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-ia32/-/sass-embedded-win32-ia32-1.87.0.tgz", + "integrity": "sha512-JztXLo59GMe2E6g+kCsyiERYhtZgkcyDYx6CrXoSTE5WaE+RbxRiCCCv8/1+hf406f08pUxJ8G0Ody7M5urtBA==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded-win32-x64": { + "version": "1.87.0", + "resolved": "https://registry.npmjs.org/sass-embedded-win32-x64/-/sass-embedded-win32-x64-1.87.0.tgz", + "integrity": "sha512-4nQErpauvhgSo+7ClumGdjdf9sGx+U9yBgvhI0+zUw+D5YvraVgvA0Lk8Wuwntx2PqnvKUk8YDr/vxHJostv4Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/sass-embedded/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, "node_modules/semver": { "version": "7.7.1", "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.1.tgz", @@ -2816,9 +3251,9 @@ } }, "node_modules/sober": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/sober/-/sober-1.1.0.tgz", - "integrity": "sha512-rdaR+fv0vE1iXhZQd6DnwDVz26k5GP1Y30j9ptywcaXX0rckEjFKCEBs/dS0W7d26qFkBmsTzya40LtBPKTlmQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/sober/-/sober-1.1.1.tgz", + "integrity": "sha512-RZiX5NpPGQMt5UMzqutx7OsYzvjMObfN8BZAN8PGXe9gA6zhwsF0/8o6eUkLbJifYveUePkfru97poO/CIp9dg==", "license": "MIT" }, "node_modules/source-map": { @@ -2902,14 +3337,37 @@ "node": ">=8" } }, + "node_modules/sync-child-process": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/sync-child-process/-/sync-child-process-1.0.2.tgz", + "integrity": "sha512-8lD+t2KrrScJ/7KXCSyfhT3/hRq78rC0wBFqNJXv3mZyn6hW2ypM05JmlSvtqRbeq6jqA94oHbxAr2vYsJ8vDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "sync-message-port": "^1.0.0" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/sync-message-port": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sync-message-port/-/sync-message-port-1.1.3.tgz", + "integrity": "sha512-GTt8rSKje5FilG+wEdfCkOcLL7LWqpMlr2c3LRuKt/YXxcJ52aGSbGBAdI4L3aaqfrBt6y711El53ItyH1NWzg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=16.0.0" + } + }, "node_modules/tinyglobby": { - "version": "0.2.12", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.12.tgz", - "integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==", + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.13.tgz", + "integrity": "sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==", "dev": true, "license": "MIT", "dependencies": { - "fdir": "^6.4.3", + "fdir": "^6.4.4", "picomatch": "^4.0.2" }, "engines": { @@ -2920,9 +3378,9 @@ } }, "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.3", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz", - "integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", + "version": "6.4.4", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz", + "integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==", "dev": true, "license": "MIT", "peerDependencies": { @@ -2973,6 +3431,13 @@ "node": ">=8.0" } }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD" + }, "node_modules/typescript": { "version": "5.6.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", @@ -3010,19 +3475,26 @@ "integrity": "sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==", "license": "MIT" }, + "node_modules/varint": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", + "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==", + "dev": true, + "license": "MIT" + }, "node_modules/vite": { - "version": "6.3.2", - "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.2.tgz", - "integrity": "sha512-ZSvGOXKGceizRQIZSz7TGJ0pS3QLlVY/9hwxVh17W3re67je1RKYzFHivZ/t0tubU78Vkyb9WnHPENSBCzbckg==", + "version": "6.3.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-6.3.5.tgz", + "integrity": "sha512-cZn6NDFE7wdTpINgs++ZJ4N49W2vRp8LCKrn3Ob1kYNtOo21vfDoaV5GzBfLU4MovSAB8uNRm4jgzVQZ+mBzPQ==", "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.25.0", - "fdir": "^6.4.3", + "fdir": "^6.4.4", "picomatch": "^4.0.2", "postcss": "^8.5.3", "rollup": "^4.34.9", - "tinyglobby": "^0.2.12" + "tinyglobby": "^0.2.13" }, "bin": { "vite": "bin/vite.js" @@ -3086,9 +3558,9 @@ } }, "node_modules/vite/node_modules/fdir": { - "version": "6.4.3", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz", - "integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", + "version": "6.4.4", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.4.tgz", + "integrity": "sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==", "dev": true, "license": "MIT", "peerDependencies": { @@ -3141,6 +3613,15 @@ } } }, + "node_modules/vue-color-kit": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/vue-color-kit/-/vue-color-kit-1.0.6.tgz", + "integrity": "sha512-56oSUp8hGIZ3E4ayZLqTDAb2C7VzaWAC1EVUsZEvPCD2wiiiFd2L2BiEGN1ingfz538sYWKNXxMZQGslqbMiBg==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.0.5" + } + }, "node_modules/vue-draggable-plus": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/vue-draggable-plus/-/vue-draggable-plus-0.6.0.tgz", @@ -3178,15 +3659,21 @@ "vue": "^3.0.0" } }, + "node_modules/vue-i18n/node_modules/@vue/devtools-api": { + "version": "6.6.4", + "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.6.4.tgz", + "integrity": "sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==", + "license": "MIT" + }, "node_modules/vue-tsc": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.2.8.tgz", - "integrity": "sha512-jBYKBNFADTN+L+MdesNX/TB3XuDSyaWynKMDgR+yCSln0GQ9Tfb7JS2lr46s2LiFUT1WsmfWsSvIElyxzOPqcQ==", + "version": "2.2.10", + "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-2.2.10.tgz", + "integrity": "sha512-jWZ1xSaNbabEV3whpIDMbjVSVawjAyW+x1n3JeGQo7S0uv2n9F/JMgWW90tGWNFRKya4YwKMZgCtr0vRAM7DeQ==", "dev": true, "license": "MIT", "dependencies": { "@volar/typescript": "~2.4.11", - "@vue/language-core": "2.2.8" + "@vue/language-core": "2.2.10" }, "bin": { "vue-tsc": "bin/vue-tsc.js" diff --git a/package.json b/package.json index ecc38fb..50df2c9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "function-plot-gui", "private": true, - "version": "0.4.0", + "version": "0.5", "type": "module", "scripts": { "dev": "vite", @@ -19,9 +19,10 @@ "mitt": "^3.0.1", "pinia": "^3.0.2", "prettier": "^3.4.2", - "sober": "^1.1.0", + "sober": "^1.1.1", "utf8": "^3.0.0", "vue": "^3.5.13", + "vue-color-kit": "^1.0.6", "vue-draggable-plus": "^0.6.0", "vue-i18n": "^10.0.7" }, @@ -34,8 +35,9 @@ "dotenv": "^16.5.0", "patch-package": "^8.0.0", "rollup-plugin-visualizer": "^5.14.0", + "sass-embedded": "^1.87.0", "typescript": "~5.6.2", - "vite": "^6.1.0", + "vite": "^6.3.5", "vue-tsc": "^2.1.10" } } diff --git a/patches/sober+1.1.0.patch b/patches/sober+1.1.0.patch deleted file mode 100644 index 0209f04..0000000 --- a/patches/sober+1.1.0.patch +++ /dev/null @@ -1,184 +0,0 @@ -diff --git a/node_modules/sober/dist/FAB.js b/node_modules/sober/dist/FAB.js -index c133c45..f9c3168 100644 ---- a/node_modules/sober/dist/FAB.js -+++ b/node_modules/sober/dist/FAB.js -@@ -1,2 +1,2 @@ --import{useElement as o}from"./core/element.js";import"./ripple.js";const r="s-fab",e={hidden:!1,disabled:!1},s=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;position:relative;cursor:pointer;box-sizing:border-box;min-height:48px;font-size:.875rem;border-radius:28px;font-weight:500;white-space:nowrap;text-transform:capitalize;padding:0 24px;transition-property:box-shadow,transform;transition-duration:var(--s-motion-duration-short4, .2s);transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-primary-container, #BAEAFF);color:var(--s-color-on-primary-container, #004D62)}:host([disabled=true]){pointer-events:none;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([hidden=true]){transform:scale(0);pointer-events:none}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon)){width:24px;height:24px;fill:currentColor;color:currentColor}::slotted(:is(svg,s-icon):not([slot])){margin:16px -8px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-left:8px;margin-right:-8px}:host([pressed]){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}@media (any-pointer: fine){:host(:hover){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",n='';class t extends o({style:s,template:n,props:e,syncProps:!0}){}t.define(r);export{t as FAB}; -+import{useElement as o}from"./core/element.js";import"./ripple.js";const r="s-fab",e={hidden:!1,disabled:!1},s=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;position:relative;box-sizing:border-box;min-height:48px;font-size:.875rem;border-radius:28px;font-weight:500;white-space:nowrap;text-transform:capitalize;padding:0 24px;transition-property:box-shadow,transform;transition-duration:var(--s-motion-duration-short4, .2s);transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-primary-container, #BAEAFF);color:var(--s-color-on-primary-container, #004D62)}:host([disabled=true]){pointer-events:none;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([hidden=true]){transform:scale(0);pointer-events:none}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon)){width:24px;height:24px;fill:currentColor;color:currentColor}::slotted(:is(svg,s-icon):not([slot])){margin:16px -8px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-left:8px;margin-right:-8px}:host([pressed]){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}@media (any-pointer: fine){:host(:hover){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",n='';class t extends o({style:s,template:n,props:e,syncProps:!0}){}t.define(r);export{t as FAB}; - //# sourceMappingURL=FAB.js.map -diff --git a/node_modules/sober/dist/bottom-sheet.js b/node_modules/sober/dist/bottom-sheet.js -index 64118f5..76f39a1 100644 ---- a/node_modules/sober/dist/bottom-sheet.js -+++ b/node_modules/sober/dist/bottom-sheet.js -@@ -1,2 +1,2 @@ --import{useElement as w}from"./core/element.js";import{convertCSSDuration as b}from"./core/utils/CSSUtils.js";const y="s-bottom-sheet",E={showed:!1,disabledGesture:!1},C=':host{display:inline-block;vertical-align:middle}dialog{top:0;left:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;justify-content:center;align-items:flex-end;color:inherit;overflow:hidden}dialog::backdrop{background:none}dialog[open]{display:flex}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container{position:relative;border-radius:24px 24px 0 0;width:100%;max-height:calc(100% - 56px);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);max-width:425px;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container-low, #F2F4F5)}.indicator{width:100%;display:flex;justify-content:center;align-items:center;height:18px;cursor:pointer;flex-shrink:0}.indicator:before{content:"";width:40px;height:4px;border-radius:2px;background:var(--s-color-outline, #70787D);opacity:.4}::slotted([slot=text]){padding:24px;line-height:1.6}::slotted(:not([slot])){overscroll-behavior:none}@media (max-width: 768px){.container{max-width:768px}}',S='
',k=t=>{let i=document.body;const s=document.body.firstElementChild;s&&s.tagName==="S-PAGE"&&(i=s);const e=new h,a=document.createElement("div");return a.slot="text",typeof t=="function"||t instanceof HTMLElement?t instanceof HTMLElement?e.appendChild(t):t(e):typeof t=="string"?(a.textContent=t,e.appendChild(a)):(t.root&&(i=t.root),t.disabledGesture&&(e.disabledGesture=t.disabledGesture),typeof t.view=="string"&&(a.textContent=t.view,e.appendChild(a)),t.view instanceof HTMLElement&&e.appendChild(t.view),typeof t.view=="function"&&t.view(e)),e.addEventListener("closed",()=>i.removeChild(e)),e.showed=!0,i.appendChild(e),e};class h extends w({style:C,template:S,props:E,syncProps:["showed"],setup(i){const s=i.querySelector("dialog"),e=i.querySelector(".container"),a=i.querySelector(".scrim"),f=i.querySelector(".indicator"),m=getComputedStyle(this);let c=null;const d=()=>{const n=m.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",r=m.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:n,duration:b(r)}};i.querySelector("#view").onslotchange=n=>{c=n.target.assignedElements()[0]??null},i.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};const g=n=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:n}}))||(this.showed=!1)};a.onclick=()=>g("SCRIM");let o=null;e.addEventListener("touchmove",n=>{const r=n.target;if(this.disabledGesture)return;const l=n.touches[0];if(!o)return o={y:l.pageY,x:l.pageX,disabled:!1,top:0,h:e.offsetHeight,now:Date.now()};if(o.disabled)return;const u=l.pageY-o.y,x=l.pageX-o.x;if(o.top=Math.min(o.h,Math.max(0,u)),r!==f&&c&&c.scrollTop>0||Math.abs(u){if(!o||o.disabled)return o=null;const n=Date.now()-o.now>300?o.h/3:20;if(o.top>n){if(!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:"GESTURE"}})))return;this.showed=!1}else e.animate({transform:[e.style.transform,"translateY(0)"]},d()),e.style.removeProperty("transform");o=null};const p=()=>{if(!this.isConnected||s.open)return;s.showModal(),s.classList.add("show");const n=d();a.animate({opacity:[0,1]},n),e.animate({transform:["translateY(100%)","translateY(0)"],opacity:[0,1]},n).finished.then(()=>this.dispatchEvent(new Event("showed")))},v=()=>{if(!this.isConnected||!s.open)return;s.classList.remove("show");const n=d(),r=e.style.transform;a.animate({opacity:[1,0]},n),e.animate({transform:[r===""?"translateY(0)":r,"translateY(100%)"],opacity:[1,0]},n).finished.then(()=>{s.close(),r&&e.style.removeProperty("transform"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!s.open&&p(),showed:n=>n?p():v()}}}){static builder=k}h.define(y);export{h as BottomSheet}; -+import{useElement as w}from"./core/element.js";import{convertCSSDuration as b}from"./core/utils/CSSUtils.js";const y="s-bottom-sheet",E={showed:!1,disabledGesture:!1},C=':host{display:inline-block;vertical-align:middle}dialog{top:0;left:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;justify-content:center;align-items:flex-end;color:inherit;overflow:hidden}dialog::backdrop{background:none}dialog[open]{display:flex}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container{position:relative;border-radius:24px 24px 0 0;width:100%;max-height:calc(100% - 56px);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);max-width:425px;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container-low, #F2F4F5)}.indicator{width:100%;display:flex;justify-content:center;align-items:center;height:18px;flex-shrink:0}.indicator:before{content:"";width:40px;height:4px;border-radius:2px;background:var(--s-color-outline, #70787D);opacity:.4}::slotted([slot=text]){padding:24px;line-height:1.6}::slotted(:not([slot])){overscroll-behavior:none}@media (max-width: 768px){.container{max-width:768px}}',S='
',k=t=>{let i=document.body;const s=document.body.firstElementChild;s&&s.tagName==="S-PAGE"&&(i=s);const e=new h,a=document.createElement("div");return a.slot="text",typeof t=="function"||t instanceof HTMLElement?t instanceof HTMLElement?e.appendChild(t):t(e):typeof t=="string"?(a.textContent=t,e.appendChild(a)):(t.root&&(i=t.root),t.disabledGesture&&(e.disabledGesture=t.disabledGesture),typeof t.view=="string"&&(a.textContent=t.view,e.appendChild(a)),t.view instanceof HTMLElement&&e.appendChild(t.view),typeof t.view=="function"&&t.view(e)),e.addEventListener("closed",()=>i.removeChild(e)),e.showed=!0,i.appendChild(e),e};class h extends w({style:C,template:S,props:E,syncProps:["showed"],setup(i){const s=i.querySelector("dialog"),e=i.querySelector(".container"),a=i.querySelector(".scrim"),f=i.querySelector(".indicator"),m=getComputedStyle(this);let c=null;const d=()=>{const n=m.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",r=m.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:n,duration:b(r)}};i.querySelector("#view").onslotchange=n=>{c=n.target.assignedElements()[0]??null},i.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};const g=n=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:n}}))||(this.showed=!1)};a.onclick=()=>g("SCRIM");let o=null;e.addEventListener("touchmove",n=>{const r=n.target;if(this.disabledGesture)return;const l=n.touches[0];if(!o)return o={y:l.pageY,x:l.pageX,disabled:!1,top:0,h:e.offsetHeight,now:Date.now()};if(o.disabled)return;const u=l.pageY-o.y,x=l.pageX-o.x;if(o.top=Math.min(o.h,Math.max(0,u)),r!==f&&c&&c.scrollTop>0||Math.abs(u){if(!o||o.disabled)return o=null;const n=Date.now()-o.now>300?o.h/3:20;if(o.top>n){if(!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:"GESTURE"}})))return;this.showed=!1}else e.animate({transform:[e.style.transform,"translateY(0)"]},d()),e.style.removeProperty("transform");o=null};const p=()=>{if(!this.isConnected||s.open)return;s.showModal(),s.classList.add("show");const n=d();a.animate({opacity:[0,1]},n),e.animate({transform:["translateY(100%)","translateY(0)"],opacity:[0,1]},n).finished.then(()=>this.dispatchEvent(new Event("showed")))},v=()=>{if(!this.isConnected||!s.open)return;s.classList.remove("show");const n=d(),r=e.style.transform;a.animate({opacity:[1,0]},n),e.animate({transform:[r===""?"translateY(0)":r,"translateY(100%)"],opacity:[1,0]},n).finished.then(()=>{s.close(),r&&e.style.removeProperty("transform"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!s.open&&p(),showed:n=>n?p():v()}}}){static builder=k}h.define(y);export{h as BottomSheet}; - //# sourceMappingURL=bottom-sheet.js.map -diff --git a/node_modules/sober/dist/button.js b/node_modules/sober/dist/button.js -index c4d75b4..6b6cb4a 100644 ---- a/node_modules/sober/dist/button.js -+++ b/node_modules/sober/dist/button.js -@@ -1,2 +1,2 @@ --import{useElement as o}from"./core/element.js";import"./ripple.js";const r="s-button",e={disabled:!1,type:"filled"},s=":host{justify-content:center;align-items:center;box-sizing:border-box;display:inline-flex;vertical-align:middle;border-radius:20px;padding:0 24px;height:40px;text-transform:capitalize;position:relative;cursor:pointer;font-size:.875rem;font-weight:500;max-width:100%;background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff);transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));overflow:hidden}:host([disabled=true]){pointer-events:none!important;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=elevated]){background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-primary, #006782);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][disabled=true]){box-shadow:none!important}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D);background:none;color:var(--s-color-primary, #006782)}:host([type=outlined][disabled=true]){background:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=text]){background:none;color:var(--s-color-primary, #006782);padding:0 16px}:host([type=text][disabled=true]){background:none!important}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon,s-circular-progress)){fill:currentColor;color:currentColor;width:18px;height:18px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-right:4px;margin-left:-8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-right:-8px;margin-left:4px}::slotted(s-circular-progress[slot=start]){margin-left:-8px;margin-right:8px}::slotted(s-circular-progress[slot=end]){margin-left:8px;margin-right:-8px}:host([type=text]) ::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-4px;margin-right:4px}:host([type=text]) ::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:4px;margin-right:-4px}:host(:not([type])[pressed]){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][pressed]){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}@media (any-pointer: fine){:host(:not([type]):hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",a='
';class t extends o({style:s,template:a,props:e,syncProps:!0}){}t.define(r);export{t as Button}; -+import{useElement as o}from"./core/element.js";import"./ripple.js";const r="s-button",e={disabled:!1,type:"filled"},s=":host{justify-content:center;align-items:center;box-sizing:border-box;display:inline-flex;vertical-align:middle;border-radius:20px;padding:0 24px;height:40px;text-transform:capitalize;position:relative;font-size:.875rem;font-weight:500;max-width:100%;background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff);transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));overflow:hidden}:host([disabled=true]){pointer-events:none!important;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=elevated]){background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-primary, #006782);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][disabled=true]){box-shadow:none!important}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D);background:none;color:var(--s-color-primary, #006782)}:host([type=outlined][disabled=true]){background:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=text]){background:none;color:var(--s-color-primary, #006782);padding:0 16px}:host([type=text][disabled=true]){background:none!important}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon,s-circular-progress)){fill:currentColor;color:currentColor;width:18px;height:18px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-right:4px;margin-left:-8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-right:-8px;margin-left:4px}::slotted(s-circular-progress[slot=start]){margin-left:-8px;margin-right:8px}::slotted(s-circular-progress[slot=end]){margin-left:8px;margin-right:-8px}:host([type=text]) ::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-4px;margin-right:4px}:host([type=text]) ::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:4px;margin-right:-4px}:host(:not([type])[pressed]){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][pressed]){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}@media (any-pointer: fine){:host(:not([type]):hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",a='
';class t extends o({style:s,template:a,props:e,syncProps:!0}){}t.define(r);export{t as Button}; - //# sourceMappingURL=button.js.map -diff --git a/node_modules/sober/dist/card.js b/node_modules/sober/dist/card.js -index 331689e..4cc4819 100644 ---- a/node_modules/sober/dist/card.js -+++ b/node_modules/sober/dist/card.js -@@ -1,2 +1,2 @@ --import{useElement as s}from"./core/element.js";import"./ripple.js";const r="s-card",l={type:"elevated",clickable:!1},i=":host{display:inline-block;vertical-align:middle;border-radius:12px;position:relative;font-size:.875rem;box-sizing:border-box;max-width:280px;overflow:hidden;color:var(--s-color-on-surface, #191C1E);background:var(--s-color-surface-container-low, #F2F4F5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=filled]){box-shadow:none;background:var(--s-color-surface-container-highest, #E1E3E4)}:host([type=outlined]){box-shadow:none;background:var(--s-color-surface, #F8F9FB);border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([clickable=true]){cursor:pointer;transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}:host([clickable=true]) .ripple{display:block}.action{display:flex;justify-content:flex-end;gap:8px}.ripple{display:none;border-radius:0}::slotted([slot=image]){display:block;height:128px;background:var(--s-color-surface-container, #ECEEF0)}::slotted([slot=headline]){font-size:1.5rem;line-height:1.6;margin:16px 16px 0}::slotted([slot=subhead]){font-size:1rem;line-height:1.6;margin:4px 16px}::slotted([slot=text]){line-height:1.6;margin:8px 16px;color:var(--s-color-on-surface-variant, #40484C)}::slotted(s-button[slot=action]){margin:16px 0}::slotted(s-button[slot=action]:last-of-type){margin-right:16px}@media (any-pointer: fine){:host([clickable=true][type=filled]:hover),:host([clickable=true][type=outlined]:hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([clickable=true]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",n='
';class o extends s({style:i,template:n,props:l,syncProps:!0,setup(e){const t=e.querySelector("slot[name=action]");t.onpointerdown=a=>a.stopPropagation()}}){}o.define(r);export{o as Card}; -+import{useElement as s}from"./core/element.js";import"./ripple.js";const r="s-card",l={type:"elevated",clickable:!1},i=":host{display:inline-block;vertical-align:middle;border-radius:12px;position:relative;font-size:.875rem;box-sizing:border-box;max-width:280px;overflow:hidden;color:var(--s-color-on-surface, #191C1E);background:var(--s-color-surface-container-low, #F2F4F5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=filled]){box-shadow:none;background:var(--s-color-surface-container-highest, #E1E3E4)}:host([type=outlined]){box-shadow:none;background:var(--s-color-surface, #F8F9FB);border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([clickable=true]){transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}:host([clickable=true]) .ripple{display:block}.action{display:flex;justify-content:flex-end;gap:8px}.ripple{display:none;border-radius:0}::slotted([slot=image]){display:block;height:128px;background:var(--s-color-surface-container, #ECEEF0)}::slotted([slot=headline]){font-size:1.5rem;line-height:1.6;margin:16px 16px 0}::slotted([slot=subhead]){font-size:1rem;line-height:1.6;margin:4px 16px}::slotted([slot=text]){line-height:1.6;margin:8px 16px;color:var(--s-color-on-surface-variant, #40484C)}::slotted(s-button[slot=action]){margin:16px 0}::slotted(s-button[slot=action]:last-of-type){margin-right:16px}@media (any-pointer: fine){:host([clickable=true][type=filled]:hover),:host([clickable=true][type=outlined]:hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([clickable=true]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",n='
';class o extends s({style:i,template:n,props:l,syncProps:!0,setup(e){const t=e.querySelector("slot[name=action]");t.onpointerdown=a=>a.stopPropagation()}}){}o.define(r);export{o as Card}; - //# sourceMappingURL=card.js.map -diff --git a/node_modules/sober/dist/carousel.js b/node_modules/sober/dist/carousel.js -index 40475d5..2392ac1 100644 ---- a/node_modules/sober/dist/carousel.js -+++ b/node_modules/sober/dist/carousel.js -@@ -1,2 +1,2 @@ --import{useElement as I}from"./core/element.js";import{mediaQueryList as P}from"./core/utils/mediaQuery.js";import{Select as M}from"./core/utils/select.js";import"./ripple.js";const f="s-carousel",N={value:"",autoplay:!1,duration:4e3},S=":host{display:flex;align-items:center;position:relative;overflow:hidden;border-radius:8px;cursor:pointer;aspect-ratio:2;-webkit-aspect-ratio:2}.container{display:flex;justify-content:flex-start;height:100%;min-width:100%;transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.track{position:absolute;bottom:0;left:0;width:100%;display:flex;gap:8px;align-items:center;justify-content:center;pointer-events:none;padding:12px 0}.track .indicator{width:8px;height:8px;border-radius:4px;background:#fff;opacity:.3;flex-shrink:0;cursor:pointer;pointer-events:auto;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.track .indicator.checked{opacity:1}",X='
';class g extends I({style:S,template:X,props:N,setup(m){const s=m.querySelector(".container"),i=m.querySelector(".track"),$=m.querySelector("slot"),e=new M({context:this,class:b,slot:$});let E=-1;e.onUpdate=()=>{i.childNodes.forEach(n=>n.classList.remove("checked")),s.style.transform=`translateX(${-e.selectedIndex*100}%)`,e.selectedIndex!==-1&&(i.childNodes[e.selectedIndex].classList.add("checked"),r())};const r=()=>{!this.autoplay||e.list.length===0||!this.isConnected||(h(),E=setTimeout(()=>{let n=e.selectedIndex+1;n>=e.list.length&&(n=0),e.list[n].selected=!0,this.dispatchEvent(new Event("change"))},this.duration))},h=()=>clearInterval(E);return e.onSlotChange=()=>{i.innerHTML="";const n=document.createDocumentFragment();e.list.forEach(v=>{const a=document.createElement("div");a.className="indicator",a.addEventListener("click",()=>v.dispatchEvent(new Event(`${f}:select`,{bubbles:!0}))),n.appendChild(a)}),i.appendChild(n)},s.onpointerdown=n=>{if(e.list.length<=1)return;h();const v=n.pageX,a=n.pageY,l=s.offsetWidth,c=e.list[e.selectedIndex-1],d=e.list[e.selectedIndex+1],t={now:0,left:0,next:void 0},w=o=>{const y=o instanceof TouchEvent?o.touches[0]:o,u=y.pageX-v,C=y.pageY-a;if(o instanceof TouchEvent&&Math.abs(u)0||!d&&t.left<0)&&(t.left=t.left*.2),t.left<0&&d||t.left>0&&c){const k=Math.abs(t.left)/l*.05;e.select.style.transition="none",e.select.style.transform=`scale(${.05-k+.95})`,t.next=t.left<0?d:c,t.next.style.transition="none",t.next.style.transform=`scale(${k+.95})`}s.style.transition="none",s.style.pointerEvents="none",s.style.transform=`translateX(calc(${-e.selectedIndex*100}% + ${t.left}px))`,o.cancelable&&o.preventDefault()},x=()=>{document.removeEventListener(p.up,x),document.removeEventListener(p.move,w),s.style.removeProperty("pointer-events"),s.style.removeProperty("transition"),e.select.style.removeProperty("transition"),e.select.style.removeProperty("transform"),t.next?.style.removeProperty("transition"),t.next?.style.removeProperty("transform");const o=e.selectedIndex;if(!(o===0&&t.left>0||o===e.list.length-1&&t.left<0)){const u=Date.now()-t.now>300?l/2:20;if(Math.abs(t.left)>u){t.next?.dispatchEvent(new Event(`${f}:select`,{bubbles:!0}));return}}s.style.transform=`translateX(${-e.selectedIndex*100}%)`,r()},p={move:P.anyPointerCoarse.matches?"touchmove":"pointermove",up:P.anyPointerCoarse.matches?"touchend":"pointerup"};document.addEventListener(p.move,w,{passive:!1}),document.addEventListener(p.up,x)},{expose:{get options(){return e.list},get selectedIndex(){return e.selectedIndex},togglePrevious:()=>{const n=e.list[e.selectedIndex-1];n&&(n.selected=!0)},toggleNext:()=>{const n=e.list[e.selectedIndex+1];n&&(n.selected=!0)}},onMounted:r,onUnmounted:h,value:{get:()=>e.value,set:n=>{e.value=n,r()}},autoplay:r}}}){}const T="s-carousel-item",D={selected:!1,value:""},q=":host{user-drag:none;-webkit-user-drag:none;flex-shrink:0;width:100%;height:100%;border-radius:8px;background:var(--s-color-surface-container-high, #E7E8EA);transform:scale(.95);transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));background-repeat:round}:host([selected=true]){transform:scale(1)}",Y="";class b extends I({style:q,template:Y,props:D,syncProps:["selected"],setup(){return{selected:()=>{this.parentNode instanceof g&&this.dispatchEvent(new Event(`${f}:update`,{bubbles:!0}))}}}}){}g.define(f),b.define(T);export{g as Carousel,b as CarouselItem}; -+import{useElement as I}from"./core/element.js";import{mediaQueryList as P}from"./core/utils/mediaQuery.js";import{Select as M}from"./core/utils/select.js";import"./ripple.js";const f="s-carousel",N={value:"",autoplay:!1,duration:4e3},S=":host{display:flex;align-items:center;position:relative;overflow:hidden;border-radius:8px;aspect-ratio:2;-webkit-aspect-ratio:2}.container{display:flex;justify-content:flex-start;height:100%;min-width:100%;transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.track{position:absolute;bottom:0;left:0;width:100%;display:flex;gap:8px;align-items:center;justify-content:center;pointer-events:none;padding:12px 0}.track .indicator{width:8px;height:8px;border-radius:4px;background:#fff;opacity:.3;flex-shrink:0;pointer-events:auto;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.track .indicator.checked{opacity:1}",X='
';class g extends I({style:S,template:X,props:N,setup(m){const s=m.querySelector(".container"),i=m.querySelector(".track"),$=m.querySelector("slot"),e=new M({context:this,class:b,slot:$});let E=-1;e.onUpdate=()=>{i.childNodes.forEach(n=>n.classList.remove("checked")),s.style.transform=`translateX(${-e.selectedIndex*100}%)`,e.selectedIndex!==-1&&(i.childNodes[e.selectedIndex].classList.add("checked"),r())};const r=()=>{!this.autoplay||e.list.length===0||!this.isConnected||(h(),E=setTimeout(()=>{let n=e.selectedIndex+1;n>=e.list.length&&(n=0),e.list[n].selected=!0,this.dispatchEvent(new Event("change"))},this.duration))},h=()=>clearInterval(E);return e.onSlotChange=()=>{i.innerHTML="";const n=document.createDocumentFragment();e.list.forEach(v=>{const a=document.createElement("div");a.className="indicator",a.addEventListener("click",()=>v.dispatchEvent(new Event(`${f}:select`,{bubbles:!0}))),n.appendChild(a)}),i.appendChild(n)},s.onpointerdown=n=>{if(e.list.length<=1)return;h();const v=n.pageX,a=n.pageY,l=s.offsetWidth,c=e.list[e.selectedIndex-1],d=e.list[e.selectedIndex+1],t={now:0,left:0,next:void 0},w=o=>{const y=o instanceof TouchEvent?o.touches[0]:o,u=y.pageX-v,C=y.pageY-a;if(o instanceof TouchEvent&&Math.abs(u)0||!d&&t.left<0)&&(t.left=t.left*.2),t.left<0&&d||t.left>0&&c){const k=Math.abs(t.left)/l*.05;e.select.style.transition="none",e.select.style.transform=`scale(${.05-k+.95})`,t.next=t.left<0?d:c,t.next.style.transition="none",t.next.style.transform=`scale(${k+.95})`}s.style.transition="none",s.style.pointerEvents="none",s.style.transform=`translateX(calc(${-e.selectedIndex*100}% + ${t.left}px))`,o.cancelable&&o.preventDefault()},x=()=>{document.removeEventListener(p.up,x),document.removeEventListener(p.move,w),s.style.removeProperty("pointer-events"),s.style.removeProperty("transition"),e.select.style.removeProperty("transition"),e.select.style.removeProperty("transform"),t.next?.style.removeProperty("transition"),t.next?.style.removeProperty("transform");const o=e.selectedIndex;if(!(o===0&&t.left>0||o===e.list.length-1&&t.left<0)){const u=Date.now()-t.now>300?l/2:20;if(Math.abs(t.left)>u){t.next?.dispatchEvent(new Event(`${f}:select`,{bubbles:!0}));return}}s.style.transform=`translateX(${-e.selectedIndex*100}%)`,r()},p={move:P.anyPointerCoarse.matches?"touchmove":"pointermove",up:P.anyPointerCoarse.matches?"touchend":"pointerup"};document.addEventListener(p.move,w,{passive:!1}),document.addEventListener(p.up,x)},{expose:{get options(){return e.list},get selectedIndex(){return e.selectedIndex},togglePrevious:()=>{const n=e.list[e.selectedIndex-1];n&&(n.selected=!0)},toggleNext:()=>{const n=e.list[e.selectedIndex+1];n&&(n.selected=!0)}},onMounted:r,onUnmounted:h,value:{get:()=>e.value,set:n=>{e.value=n,r()}},autoplay:r}}}){}const T="s-carousel-item",D={selected:!1,value:""},q=":host{user-drag:none;-webkit-user-drag:none;flex-shrink:0;width:100%;height:100%;border-radius:8px;background:var(--s-color-surface-container-high, #E7E8EA);transform:scale(.95);transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));background-repeat:round}:host([selected=true]){transform:scale(1)}",Y="";class b extends I({style:q,template:Y,props:D,syncProps:["selected"],setup(){return{selected:()=>{this.parentNode instanceof g&&this.dispatchEvent(new Event(`${f}:update`,{bubbles:!0}))}}}}){}g.define(f),b.define(T);export{g as Carousel,b as CarouselItem}; - //# sourceMappingURL=carousel.js.map -diff --git a/node_modules/sober/dist/checkbox.js b/node_modules/sober/dist/checkbox.js -index b357439..cb9dc33 100644 ---- a/node_modules/sober/dist/checkbox.js -+++ b/node_modules/sober/dist/checkbox.js -@@ -1,2 +1,2 @@ --import{useElement as t}from"./core/element.js";import"./ripple.js";const i="s-checkbox",s={disabled:!1,checked:!1,indeterminate:!1},o=":host{display:inline-flex;align-items:center;vertical-align:middle;cursor:pointer;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked,.indeterminate{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;width:100%;height:100%}.checked,.indeterminate{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([indeterminate=true]) .unchecked{opacity:0}:host([checked=true]:not([indeterminate=true])) .checked,:host([indeterminate=true]) .indeterminate{opacity:1;transform:scale(1)}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked],[slot=indeterminate])){color:currentColor;fill:currentColor;width:60%;height:60%}",n='
';class e extends t({style:o,template:n,props:s,syncProps:!0,setup(){this.addEventListener("click",()=>{this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){}e.define(i);export{e as Checkbox}; -+import{useElement as t}from"./core/element.js";import"./ripple.js";const i="s-checkbox",s={disabled:!1,checked:!1,indeterminate:!1},o=":host{display:inline-flex;align-items:center;vertical-align:middle;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked,.indeterminate{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;width:100%;height:100%}.checked,.indeterminate{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([indeterminate=true]) .unchecked{opacity:0}:host([checked=true]:not([indeterminate=true])) .checked,:host([indeterminate=true]) .indeterminate{opacity:1;transform:scale(1)}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked],[slot=indeterminate])){color:currentColor;fill:currentColor;width:60%;height:60%}",n='
';class e extends t({style:o,template:n,props:s,syncProps:!0,setup(){this.addEventListener("click",()=>{this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){}e.define(i);export{e as Checkbox}; - //# sourceMappingURL=checkbox.js.map -diff --git a/node_modules/sober/dist/chip.js b/node_modules/sober/dist/chip.js -index de5d694..d5b2480 100644 ---- a/node_modules/sober/dist/chip.js -+++ b/node_modules/sober/dist/chip.js -@@ -1,2 +1,2 @@ --import{useElement as i}from"./core/element.js";import"./ripple.js";const n="s-chip",s={type:"filled",value:"",checked:!1,disabled:!1,clickable:!1},a=":host{display:inline-flex;align-items:center;vertical-align:middle;padding:0 16px;height:32px;border-radius:16px;box-sizing:border-box;font-size:.8125rem;font-weight:500;position:relative;cursor:pointer;overflow:hidden;background:var(--s-color-surface-container-high, #E7E8EA);color:var(--s-color-on-surface, #191C1E);transition-property:color,background-color,box-shadow;transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([disabled=true]){pointer-events:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important;background:color-mix(in srgb,var(--s-color-surface-container-high, #E7E8EA) 38%,transparent)!important}:host([checked=true]){border:none;background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-primary, #006782)}:host([type=outlined]){background:none;border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([type=outlined][checked=true]){border-color:var(--s-color-primary, #006782)}::slotted(:is(s-icon,svg)){width:18px;height:18px;flex-shrink:0;fill:currentColor;color:currentColor}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:8px;margin-right:-8px}::slotted(s-avatar){width:24px;height:24px;font-size:.75rem}::slotted(s-avatar[slot=start]){margin-left:-12px;margin-right:8px}::slotted(s-icon-button[slot=action]){margin:0 -12px 0 8px;width:24px;height:24px;padding:3px;color:currentColor}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:host(:not([clickable=true])) .ripple{display:none}",l='
';class r extends i({style:a,template:l,props:s,syncProps:["checked","clickable","disabled","type"],setup(e){const t=e.querySelector("slot[name=action]");t.onclick=o=>o.stopPropagation(),t.onpointerdown=o=>o.stopPropagation(),this.addEventListener("click",()=>{this.clickable&&(this.checked=!this.checked,this.dispatchEvent(new Event("change")))})}}){}r.define(n);export{r as Chip}; -+import{useElement as i}from"./core/element.js";import"./ripple.js";const n="s-chip",s={type:"filled",value:"",checked:!1,disabled:!1,clickable:!1},a=":host{display:inline-flex;align-items:center;vertical-align:middle;padding:0 16px;height:32px;border-radius:16px;box-sizing:border-box;font-size:.8125rem;font-weight:500;position:relative;overflow:hidden;background:var(--s-color-surface-container-high, #E7E8EA);color:var(--s-color-on-surface, #191C1E);transition-property:color,background-color,box-shadow;transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([disabled=true]){pointer-events:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important;background:color-mix(in srgb,var(--s-color-surface-container-high, #E7E8EA) 38%,transparent)!important}:host([checked=true]){border:none;background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-primary, #006782)}:host([type=outlined]){background:none;border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([type=outlined][checked=true]){border-color:var(--s-color-primary, #006782)}::slotted(:is(s-icon,svg)){width:18px;height:18px;flex-shrink:0;fill:currentColor;color:currentColor}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:8px;margin-right:-8px}::slotted(s-avatar){width:24px;height:24px;font-size:.75rem}::slotted(s-avatar[slot=start]){margin-left:-12px;margin-right:8px}::slotted(s-icon-button[slot=action]){margin:0 -12px 0 8px;width:24px;height:24px;padding:3px;color:currentColor}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:host(:not([clickable=true])) .ripple{display:none}",l='
';class r extends i({style:a,template:l,props:s,syncProps:["checked","clickable","disabled","type"],setup(e){const t=e.querySelector("slot[name=action]");t.onclick=o=>o.stopPropagation(),t.onpointerdown=o=>o.stopPropagation(),this.addEventListener("click",()=>{this.clickable&&(this.checked=!this.checked,this.dispatchEvent(new Event("change")))})}}){}r.define(n);export{r as Chip}; - //# sourceMappingURL=chip.js.map -diff --git a/node_modules/sober/dist/date-picker.js b/node_modules/sober/dist/date-picker.js -index 235c70b..29b91e7 100644 ---- a/node_modules/sober/dist/date-picker.js -+++ b/node_modules/sober/dist/date-picker.js -@@ -1,2 +1,2 @@ --import{useElement as g}from"./core/element.js";import{dateFormat as p}from"./core/utils/dateFormat.js";const x="s-date-picker",l={value:"",min:"",max:"",label:"",positiveText:"\u786E\u5B9A",negativeText:"\u53D6\u6D88",format:"yyyy-MM-dd",locale:""},f=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--date-picker-border-radius: 4px;--date-picker-border-color: var(--s-color-outline, #70787D);--date-picker-border-width: 1px;--date-picker-padding: 16px;--date-picker-height: 48px}s-dialog{display:block}.field{--field-border-radius: var(--date-picker-border-radius);--field-border-color: var(--date-picker-border-color);--field-border-width: var(--date-picker-border-width);--field-padding: var(--date-picker-padding);height:var(--date-picker-height);position:relative;cursor:pointer}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--date-picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--date-picker-padding) * -1) + 12px));margin-right:max(0px,calc(var(--date-picker-padding) - 4px));fill:var(--s-color-on-surface-variant, #40484C)}.ripple{border-radius:var(--date-picker-border-radius)}.date{border:none;max-width:360px;border-radius:0}.positive,.negative{border-radius:20px}",m=`
${l.negativeText}${l.positiveText}
`;class n extends g({style:f,template:m,props:l,setup(i){const s=i.querySelector("s-dialog"),t=i.querySelector("s-date"),c=i.querySelector(".negative"),o=i.querySelector(".positive"),a=i.querySelector("s-field"),v=i.querySelector(".label"),r=i.querySelector(".view"),d={date:""};return s.addEventListener("show",()=>{a.fixed=!0,a.focused=!0,d.date||(r.textContent=this.label,r.style.opacity="0")}),s.onclose=()=>{a.focused=!1,d.date||(a.fixed=!1)},o.onclick=()=>{this.value=t.value,r.style.removeProperty("opacity"),this.dispatchEvent(new Event("change"))},{value:{get:()=>d.date,set:e=>{if(d.date=e,e===""){t.value=p(new Date),a.fixed=!1,r.textContent="";return}a.fixed=!0,r.textContent=p(e,this.format),t.value=e}},locale:{get:()=>t.locale,set:e=>t.locale=e},min:{get:()=>t.min,set:e=>t.min=e},max:{get:()=>t.max,set:e=>t.max=e},label:e=>v.textContent=e,positiveText:e=>o.textContent=e,negativeText:e=>c.textContent=e}}}){}n.define(x);export{n as DatePicker}; -+import{useElement as g}from"./core/element.js";import{dateFormat as p}from"./core/utils/dateFormat.js";const x="s-date-picker",l={value:"",min:"",max:"",label:"",positiveText:"\u786E\u5B9A",negativeText:"\u53D6\u6D88",format:"yyyy-MM-dd",locale:""},f=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--date-picker-border-radius: 4px;--date-picker-border-color: var(--s-color-outline, #70787D);--date-picker-border-width: 1px;--date-picker-padding: 16px;--date-picker-height: 48px}s-dialog{display:block}.field{--field-border-radius: var(--date-picker-border-radius);--field-border-color: var(--date-picker-border-color);--field-border-width: var(--date-picker-border-width);--field-padding: var(--date-picker-padding);height:var(--date-picker-height);position:relative;}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--date-picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--date-picker-padding) * -1) + 12px));margin-right:max(0px,calc(var(--date-picker-padding) - 4px));fill:var(--s-color-on-surface-variant, #40484C)}.ripple{border-radius:var(--date-picker-border-radius)}.date{border:none;max-width:360px;border-radius:0}.positive,.negative{border-radius:20px}",m=`
${l.negativeText}${l.positiveText}
`;class n extends g({style:f,template:m,props:l,setup(i){const s=i.querySelector("s-dialog"),t=i.querySelector("s-date"),c=i.querySelector(".negative"),o=i.querySelector(".positive"),a=i.querySelector("s-field"),v=i.querySelector(".label"),r=i.querySelector(".view"),d={date:""};return s.addEventListener("show",()=>{a.fixed=!0,a.focused=!0,d.date||(r.textContent=this.label,r.style.opacity="0")}),s.onclose=()=>{a.focused=!1,d.date||(a.fixed=!1)},o.onclick=()=>{this.value=t.value,r.style.removeProperty("opacity"),this.dispatchEvent(new Event("change"))},{value:{get:()=>d.date,set:e=>{if(d.date=e,e===""){t.value=p(new Date),a.fixed=!1,r.textContent="";return}a.fixed=!0,r.textContent=p(e,this.format),t.value=e}},locale:{get:()=>t.locale,set:e=>t.locale=e},min:{get:()=>t.min,set:e=>t.min=e},max:{get:()=>t.max,set:e=>t.max=e},label:e=>v.textContent=e,positiveText:e=>o.textContent=e,negativeText:e=>c.textContent=e}}}){}n.define(x);export{n as DatePicker}; - //# sourceMappingURL=date-picker.js.map -diff --git a/node_modules/sober/dist/dialog.js b/node_modules/sober/dist/dialog.js -index bf42ab5..23d892e 100644 ---- a/node_modules/sober/dist/dialog.js -+++ b/node_modules/sober/dist/dialog.js -@@ -1,2 +1,2 @@ --import{useElement as m}from"./core/element.js";import{convertCSSDuration as u}from"./core/utils/CSSUtils.js";import"./scroll-view.js";const x="s-dialog",g={showed:!1,size:"standard"},f=":host{display:inline-block;vertical-align:middle}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;color:inherit}dialog::backdrop{background:none}.wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative;pointer-events:none}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container,::slotted([slot=custom]){max-width:calc(100% - 48px);max-height:calc(100% - 48px);pointer-events:auto;position:relative;border-radius:28px;display:flex;flex-direction:column;overflow:hidden;transition-timing-function:ease-out;box-shadow:var(--s-elevation-level5, 0 10px 14px -6px rgba(0, 0, 0, .2), 0 22px 35px 3px rgba(0, 0, 0, .14), 0 8px 42px 7px rgba(0, 0, 0, .12));background:var(--s-color-surface-container-high, #E7E8EA)}:host([size=full]) .container{width:100%;height:100%;border-radius:0;max-width:none;max-height:none}::slotted([slot=headline]){padding:24px 24px 0;font-size:1.5rem;line-height:1.6;font-weight:600;color:var(--s-color-on-surface, #191C1E);flex-shrink:0}.text{user-select:text;-webkit-user-select:text;flex-grow:1}::slotted([slot=text]){margin:16px 24px;line-height:1.6}:host(:not([size=full])) ::slotted(:is(:not([slot]),[slot=text])){max-width:425px}.action{display:flex;justify-content:flex-end;padding:0 14px;flex-shrink:0}::slotted([slot=action]){min-width:72px;margin:16px 2px;display:inline-flex;align-items:center;padding:0 24px;color:var(--s-color-primary, #006782);box-sizing:border-box;height:40px;font-size:.875rem;cursor:pointer}",v='
',w=t=>{let i=document.body;const e=new c,r=document.body.firstElementChild;if(r&&r.tagName==="S-PAGE"&&(i=r),typeof t=="string"){const s=document.createElement("div");s.slot="text",s.textContent=t,e.appendChild(s)}else{if(t.root&&(i=t.root),t.headline){const n=document.createElement("div");n.slot="headline",n.textContent=t.headline,e.appendChild(n)}if(t.text){const n=document.createElement("div");n.slot="text",n.textContent=t.text,e.appendChild(n)}t.view&&(typeof t.view=="function"?t.view(e):e.appendChild(t.view));const s=t.actions??[];for(const n of Array.isArray(s)?s:[s]){const a=document.createElement("s-button");a.slot="action",a.type="text",a.textContent=n.text,n.click&&(a.onclick=n.click),e.appendChild(a)}}return e.showed=!0,e.addEventListener("closed",()=>i.removeChild(e)),i.appendChild(e),e};class c extends m({style:f,template:v,props:g,syncProps:!0,setup(i){const e=i.querySelector("dialog"),r=i.querySelector(".scrim"),s=i.querySelector(".wrapper"),n=getComputedStyle(this),a=()=>{const o=n.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",l=n.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:o,duration:u(l)}};i.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};const d=o=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:o}}))||(this.showed=!1)};i.querySelector(".scrim").onclick=()=>d("SCRIM"),i.querySelector("slot[name=action]").onclick=()=>d("ACTION");const p=()=>{if(!this.isConnected||e.open)return;const o=a();e.showModal(),e.classList.add("show"),r.animate({opacity:[0,1]},o),s.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},o).addEventListener("finish",()=>this.dispatchEvent(new Event("showed")))},h=()=>{if(!this.isConnected||!e.open)return;const o=a();r.animate({opacity:[1,0]},o),s.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},o).addEventListener("finish",()=>{e.close(),e.classList.remove("show"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!e.open&&p(),showed:o=>o?p():h()}}}){static builder=w}c.define(x);export{c as Dialog}; -+import{useElement as m}from"./core/element.js";import{convertCSSDuration as u}from"./core/utils/CSSUtils.js";import"./scroll-view.js";const x="s-dialog",g={showed:!1,size:"standard"},f=":host{display:inline-block;vertical-align:middle}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;color:inherit}dialog::backdrop{background:none}.wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative;pointer-events:none}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container,::slotted([slot=custom]){max-width:calc(100% - 48px);max-height:calc(100% - 48px);pointer-events:auto;position:relative;border-radius:28px;display:flex;flex-direction:column;overflow:hidden;transition-timing-function:ease-out;box-shadow:var(--s-elevation-level5, 0 10px 14px -6px rgba(0, 0, 0, .2), 0 22px 35px 3px rgba(0, 0, 0, .14), 0 8px 42px 7px rgba(0, 0, 0, .12));background:var(--s-color-surface-container-high, #E7E8EA)}:host([size=full]) .container{width:100%;height:100%;border-radius:0;max-width:none;max-height:none}::slotted([slot=headline]){padding:24px 24px 0;font-size:1.5rem;line-height:1.6;font-weight:600;color:var(--s-color-on-surface, #191C1E);flex-shrink:0}.text{user-select:text;-webkit-user-select:text;flex-grow:1}::slotted([slot=text]){margin:16px 24px;line-height:1.6}:host(:not([size=full])) ::slotted(:is(:not([slot]),[slot=text])){max-width:425px}.action{display:flex;justify-content:flex-end;padding:0 14px;flex-shrink:0}::slotted([slot=action]){min-width:72px;margin:16px 2px;display:inline-flex;align-items:center;padding:0 24px;color:var(--s-color-primary, #006782);box-sizing:border-box;height:40px;font-size:.875rem;}",v='
',w=t=>{let i=document.body;const e=new c,r=document.body.firstElementChild;if(r&&r.tagName==="S-PAGE"&&(i=r),typeof t=="string"){const s=document.createElement("div");s.slot="text",s.textContent=t,e.appendChild(s)}else{if(t.root&&(i=t.root),t.headline){const n=document.createElement("div");n.slot="headline",n.textContent=t.headline,e.appendChild(n)}if(t.text){const n=document.createElement("div");n.slot="text",n.textContent=t.text,e.appendChild(n)}t.view&&(typeof t.view=="function"?t.view(e):e.appendChild(t.view));const s=t.actions??[];for(const n of Array.isArray(s)?s:[s]){const a=document.createElement("s-button");a.slot="action",a.type="text",a.textContent=n.text,n.click&&(a.onclick=n.click),e.appendChild(a)}}return e.showed=!0,e.addEventListener("closed",()=>i.removeChild(e)),i.appendChild(e),e};class c extends m({style:f,template:v,props:g,syncProps:!0,setup(i){const e=i.querySelector("dialog"),r=i.querySelector(".scrim"),s=i.querySelector(".wrapper"),n=getComputedStyle(this),a=()=>{const o=n.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",l=n.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:o,duration:u(l)}};i.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};const d=o=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:o}}))||(this.showed=!1)};i.querySelector(".scrim").onclick=()=>d("SCRIM"),i.querySelector("slot[name=action]").onclick=()=>d("ACTION");const p=()=>{if(!this.isConnected||e.open)return;const o=a();e.showModal(),e.classList.add("show"),r.animate({opacity:[0,1]},o),s.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},o).addEventListener("finish",()=>this.dispatchEvent(new Event("showed")))},h=()=>{if(!this.isConnected||!e.open)return;const o=a();r.animate({opacity:[1,0]},o),s.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},o).addEventListener("finish",()=>{e.close(),e.classList.remove("show"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!e.open&&p(),showed:o=>o?p():h()}}}){static builder=w}c.define(x);export{c as Dialog}; - //# sourceMappingURL=dialog.js.map -diff --git a/node_modules/sober/dist/icon-button.js b/node_modules/sober/dist/icon-button.js -index 8866a8f..2f0b151 100644 ---- a/node_modules/sober/dist/icon-button.js -+++ b/node_modules/sober/dist/icon-button.js -@@ -1,2 +1,2 @@ --import{useElement as t}from"./core/element.js";import"./ripple.js";const r="s-icon-button",e={disabled:!1,type:"standard"},s=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;cursor:pointer;border-radius:50%;width:40px;aspect-ratio:1;-webkit-aspect-ratio:1;color:var(--s-color-on-surface-variant, #40484C);position:relative;box-sizing:border-box}:host([disabled=true]){pointer-events:none!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=filled]){background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}:host([type=filled][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=filled]) ::slotted([slot=badge]){outline:solid 2px var(--s-color-surface, #F8F9FB)}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=filled-tonal][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D)}:host([type=outlined][disabled=true]){border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E))!important}.ripple{border-radius:inherit}::slotted(:not([slot=badge])){color:inherit}::slotted(svg){width:24px;height:24px;fill:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0;flex-shrink:0}",l='';class o extends t({style:s,template:l,props:e,syncProps:!0}){}o.define(r);export{o as IconButton}; -+import{useElement as t}from"./core/element.js";import"./ripple.js";const r="s-icon-button",e={disabled:!1,type:"standard"},s=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border-radius:50%;width:40px;aspect-ratio:1;-webkit-aspect-ratio:1;color:var(--s-color-on-surface-variant, #40484C);position:relative;box-sizing:border-box}:host([disabled=true]){pointer-events:none!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=filled]){background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}:host([type=filled][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=filled]) ::slotted([slot=badge]){outline:solid 2px var(--s-color-surface, #F8F9FB)}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=filled-tonal][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D)}:host([type=outlined][disabled=true]){border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E))!important}.ripple{border-radius:inherit}::slotted(:not([slot=badge])){color:inherit}::slotted(svg){width:24px;height:24px;fill:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0;flex-shrink:0}",l='';class o extends t({style:s,template:l,props:e,syncProps:!0}){}o.define(r);export{o as IconButton}; - //# sourceMappingURL=icon-button.js.map -diff --git a/node_modules/sober/dist/navigation.js b/node_modules/sober/dist/navigation.js -index 9e36b78..860cf0d 100644 ---- a/node_modules/sober/dist/navigation.js -+++ b/node_modules/sober/dist/navigation.js -@@ -1,2 +1,2 @@ --import{useElement as i}from"./core/element.js";import{Select as c}from"./core/utils/select.js";import"./ripple.js";const o="s-navigation",d={mode:"bottom",value:""},p=":host{display:flex;justify-content:center;align-items:center;overflow:hidden;background:var(--s-color-surface, #F8F9FB);box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));position:relative;padding-bottom:env(safe-area-inset-bottom)}:host([mode=rail]){flex-direction:column;justify-content:flex-start;width:80px;box-shadow:none;height:100%;background:none;padding-bottom:0}::slotted(s-navigation-item){height:64px}:host([mode=rail]) ::slotted(s-navigation-item){height:72px}:host([mode=rail]) ::slotted(s-icon-button[slot=start]){width:56px;height:56px;margin:16px 0 8px;border-radius:12px}:host([mode=rail]) ::slotted([slot=end]){flex-grow:1}",m='';class e extends i({style:p,template:m,props:d,syncProps:!0,setup(r){const a=r.querySelector("#slot"),t=new c({context:this,class:s,slot:a});return{expose:{get options(){return t.list},get selectedIndex(){return t.selectedIndex}},value:{get:()=>t.value,set:l=>t.value=l}}}}){}const u="s-navigation-item",h={selected:!1,value:""},x=":host{display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;position:relative;font-size:.75rem;font-weight:500;box-sizing:border-box;width:100%;max-width:80px;text-transform:capitalize;transition:color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-primary, #006782)}.icon{position:relative;display:flex;justify-content:center;align-items:center;height:28px;width:48px;border-radius:14px;transition:background-color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([selected=true]) .icon{background:var(--s-color-secondary-container, #CFE6F1)}::slotted(*){flex-shrink:0}::slotted(svg){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;width:24px;height:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0}::slotted([slot=text]){margin-top:4px}",g='';class s extends i({style:x,template:g,props:h,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof e&&this.dispatchEvent(new Event(`${o}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof e&&this.dispatchEvent(new Event(`${o}:update`,{bubbles:!0}))}}}}){}e.define(o),s.define(u);export{e as Navigation,s as NavigationItem}; -+import{useElement as i}from"./core/element.js";import{Select as c}from"./core/utils/select.js";import"./ripple.js";const o="s-navigation",d={mode:"bottom",value:""},p=":host{display:flex;justify-content:center;align-items:center;overflow:hidden;background:var(--s-color-surface, #F8F9FB);box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));position:relative;padding-bottom:env(safe-area-inset-bottom)}:host([mode=rail]){flex-direction:column;justify-content:flex-start;width:80px;box-shadow:none;height:100%;background:none;padding-bottom:0}::slotted(s-navigation-item){height:64px}:host([mode=rail]) ::slotted(s-navigation-item){height:72px}:host([mode=rail]) ::slotted(s-icon-button[slot=start]){width:56px;height:56px;margin:16px 0 8px;border-radius:12px}:host([mode=rail]) ::slotted([slot=end]){flex-grow:1}",m='';class e extends i({style:p,template:m,props:d,syncProps:!0,setup(r){const a=r.querySelector("#slot"),t=new c({context:this,class:s,slot:a});return{expose:{get options(){return t.list},get selectedIndex(){return t.selectedIndex}},value:{get:()=>t.value,set:l=>t.value=l}}}}){}const u="s-navigation-item",h={selected:!1,value:""},x=":host{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;font-size:.75rem;font-weight:500;box-sizing:border-box;width:100%;max-width:80px;text-transform:capitalize;transition:color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-primary, #006782)}.icon{position:relative;display:flex;justify-content:center;align-items:center;height:28px;width:48px;border-radius:14px;transition:background-color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([selected=true]) .icon{background:var(--s-color-secondary-container, #CFE6F1)}::slotted(*){flex-shrink:0}::slotted(svg){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;width:24px;height:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0}::slotted([slot=text]){margin-top:4px}",g='';class s extends i({style:x,template:g,props:h,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof e&&this.dispatchEvent(new Event(`${o}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof e&&this.dispatchEvent(new Event(`${o}:update`,{bubbles:!0}))}}}}){}e.define(o),s.define(u);export{e as Navigation,s as NavigationItem}; - //# sourceMappingURL=navigation.js.map -diff --git a/node_modules/sober/dist/pagination.js b/node_modules/sober/dist/pagination.js -index 00a0072..1cda86c 100644 ---- a/node_modules/sober/dist/pagination.js -+++ b/node_modules/sober/dist/pagination.js -@@ -1,2 +1,2 @@ --import{useElement as x}from"./core/element.js";import{Ripple as p}from"./ripple.js";const v="s-pagination",g={value:1,total:20,count:20,type:"standard"},b=":host{display:inline-flex;justify-content:center;align-items:center;font-size:.875rem;border-radius:18px;gap:4px;color:var(--s-color-on-surface, #191C1E)}:host([type=outlined]) :is(.icon-button,.button){border-width:1px;border-color:var(--s-color-outline-variant, #C0C8CC);border-style:solid}.container{display:flex;gap:inherit}.icon-button,.button{cursor:pointer;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.icon-button{border-radius:50%;height:32px;width:32px}.button{height:32px;padding:0 8px;min-width:32px;border-radius:16px;box-sizing:border-box}.checked{background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53);border-color:var(--s-color-secondary, #4C616B)!important}.disabled{pointer-events:none;opacity:.38}.text{pointer-events:none;border:none!important}svg{width:24px;height:24px;padding:1px;box-sizing:border-box;fill:var(--s-color-on-surface-variant, #40484C)}",m='
1
';class h extends x({style:b,template:m,props:g,syncProps:["type"],setup(s){const r=s.querySelector(".prev"),c=s.querySelector(".next"),e=s.querySelector(".container"),a=()=>this.dispatchEvent(new Event("change")),l=()=>{const t=Math.ceil(this.total/this.count);let i=Math.max(Math.min(t-7,Math.max(0,this.value-4)),0);if(e.childNodes.forEach(n=>{i++;const o=n;o.textContent=i.toString(),o.classList.toggle("checked",this.value===i),o.classList.remove("text")}),r.classList.toggle("disabled",this.value===1),c.classList.toggle("disabled",this.value===t),t>7){if(this.value>=5){e.childNodes.item(0).textContent="1";const n=e.childNodes.item(1);n.textContent="...",n.classList.add("text")}if(this.value<=t-4){e.childNodes.item(e.childNodes.length-1).textContent=t.toString();const n=e.childNodes.item(e.childNodes.length-2);n.textContent="...",n.classList.add("text")}}},u=()=>{const t=Math.ceil(this.total/this.count),i=Math.min(t,7),n=document.createDocumentFragment();for(let o=1;o<=i;o++){const d=new p;d.classList.add("button"),n.appendChild(d)}e.innerHTML="",e.appendChild(n),l()};return e.onclick=t=>{if(!(t.target instanceof p))return;const i=Number(t.target.textContent);i!==this.value&&(this.value=i,a())},r.onclick=()=>{const t=Math.max(this.value-1,1);t!==this.value&&(this.value=t,a())},c.onclick=()=>{const t=Math.min(this.value+1,Math.ceil(this.total/this.count));t!==this.value&&(this.value=t,a())},{total:u,value:l}}}){}h.define(v);export{h as Pagination}; -+import{useElement as x}from"./core/element.js";import{Ripple as p}from"./ripple.js";const v="s-pagination",g={value:1,total:20,count:20,type:"standard"},b=":host{display:inline-flex;justify-content:center;align-items:center;font-size:.875rem;border-radius:18px;gap:4px;color:var(--s-color-on-surface, #191C1E)}:host([type=outlined]) :is(.icon-button,.button){border-width:1px;border-color:var(--s-color-outline-variant, #C0C8CC);border-style:solid}.container{display:flex;gap:inherit}.icon-button,.button{display:flex;justify-content:center;align-items:center;box-sizing:border-box}.icon-button{border-radius:50%;height:32px;width:32px}.button{height:32px;padding:0 8px;min-width:32px;border-radius:16px;box-sizing:border-box}.checked{background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53);border-color:var(--s-color-secondary, #4C616B)!important}.disabled{pointer-events:none;opacity:.38}.text{pointer-events:none;border:none!important}svg{width:24px;height:24px;padding:1px;box-sizing:border-box;fill:var(--s-color-on-surface-variant, #40484C)}",m='
1
';class h extends x({style:b,template:m,props:g,syncProps:["type"],setup(s){const r=s.querySelector(".prev"),c=s.querySelector(".next"),e=s.querySelector(".container"),a=()=>this.dispatchEvent(new Event("change")),l=()=>{const t=Math.ceil(this.total/this.count);let i=Math.max(Math.min(t-7,Math.max(0,this.value-4)),0);if(e.childNodes.forEach(n=>{i++;const o=n;o.textContent=i.toString(),o.classList.toggle("checked",this.value===i),o.classList.remove("text")}),r.classList.toggle("disabled",this.value===1),c.classList.toggle("disabled",this.value===t),t>7){if(this.value>=5){e.childNodes.item(0).textContent="1";const n=e.childNodes.item(1);n.textContent="...",n.classList.add("text")}if(this.value<=t-4){e.childNodes.item(e.childNodes.length-1).textContent=t.toString();const n=e.childNodes.item(e.childNodes.length-2);n.textContent="...",n.classList.add("text")}}},u=()=>{const t=Math.ceil(this.total/this.count),i=Math.min(t,7),n=document.createDocumentFragment();for(let o=1;o<=i;o++){const d=new p;d.classList.add("button"),n.appendChild(d)}e.innerHTML="",e.appendChild(n),l()};return e.onclick=t=>{if(!(t.target instanceof p))return;const i=Number(t.target.textContent);i!==this.value&&(this.value=i,a())},r.onclick=()=>{const t=Math.max(this.value-1,1);t!==this.value&&(this.value=t,a())},c.onclick=()=>{const t=Math.min(this.value+1,Math.ceil(this.total/this.count));t!==this.value&&(this.value=t,a())},{total:u,value:l}}}){}h.define(v);export{h as Pagination}; - //# sourceMappingURL=pagination.js.map -diff --git a/node_modules/sober/dist/picker.js b/node_modules/sober/dist/picker.js -index 2a85549..2be2ccb 100644 ---- a/node_modules/sober/dist/picker.js -+++ b/node_modules/sober/dist/picker.js -@@ -1,2 +1,2 @@ --import{useElement as a}from"./core/element.js";import{Select as x}from"./core/utils/select.js";import"./ripple.js";import"./scroll-view.js";const p="s-picker",g={disabled:!1,label:"",value:""},v=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--picker-border-radius: 4px;--picker-border-color: var(--s-color-outline, #70787D);--picker-border-width: 1px;--picker-padding: 16px;--picker-height: 48px}:host([disabled=true]){pointer-events:none;opacity:.38}.popup{display:block;cursor:pointer;position:relative}.ripple{border-radius:var(--picker-border-radius)}.field{--field-border-radius: var(--picker-border-radius);--field-border-color: var(--picker-border-color);--field-border-width: var(--picker-border-width);--field-padding: var(--picker-padding);height:var(--picker-height);width:100%;position:relative}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--picker-padding) * -1) + 4px));margin-right:max(0px,calc(var(--picker-padding) - 12px));fill:var(--s-color-on-surface-variant, #40484C)}.container{max-height:408px;box-sizing:border-box;display:flex;flex-direction:column;font-size:.875rem;padding:4px 0;gap:4px}",h='
';class l extends a({style:v,template:h,props:g,syncProps:["disabled"],setup(r){const t=r.querySelector(".popup"),s=r.querySelector(".field"),f=r.querySelector(".label"),i=r.querySelector(".view"),u=r.querySelector("#slot"),o=r.querySelector(".container"),e=new x({context:this,class:c,slot:u});return t.addEventListener("show",()=>{s.focused=!0,s.fixed=!0,e.select||(i.textContent=this.label,i.style.opacity="0"),o.style.minWidth=`${this.offsetWidth}px`,e.select&&o.scrollTo({top:e.select.offsetTop-o.offsetTop-(o.offsetHeight/2-e.select.offsetHeight/2)})}),t.onclose=()=>{s.focused=!1,!e.select&&(s.fixed=!1)},t.addEventListener("closed",()=>o.style.removeProperty("min-width")),e.onUpdate=()=>{if(!e.select){s.fixed=!1,i.textContent="";return}s.fixed=!0,i.style.removeProperty("opacity"),i.textContent=e.select.textContent},e.onSelect=()=>t.close(),{expose:{get options(){return e.list},get selectedIndex(){return e.selectedIndex},get show(){return t.show},get toggle(){return t.toggle},get close(){return t.close}},label:n=>f.textContent=n,value:{get:()=>e.value,set:n=>e.value=n}}}}){}const m="s-picker-item",b={selected:!1,value:""},y=":host{display:flex;align-items:center;height:40px;margin:0 4px;cursor:pointer;position:relative;border-radius:4px;flex-shrink:0;padding:0 12px;color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;height:24px;width:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-4px}",k='
';class c extends a({style:y,template:k,props:b,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof l&&this.dispatchEvent(new Event(`${p}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof l&&this.dispatchEvent(new Event(`${p}:update`,{bubbles:!0}))}}}}){}l.define(p),c.define(m);export{l as Picker,c as PickerItem}; -+import{useElement as a}from"./core/element.js";import{Select as x}from"./core/utils/select.js";import"./ripple.js";import"./scroll-view.js";const p="s-picker",g={disabled:!1,label:"",value:""},v=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--picker-border-radius: 4px;--picker-border-color: var(--s-color-outline, #70787D);--picker-border-width: 1px;--picker-padding: 16px;--picker-height: 48px}:host([disabled=true]){pointer-events:none;opacity:.38}.popup{display:block;position:relative}.ripple{border-radius:var(--picker-border-radius)}.field{--field-border-radius: var(--picker-border-radius);--field-border-color: var(--picker-border-color);--field-border-width: var(--picker-border-width);--field-padding: var(--picker-padding);height:var(--picker-height);width:100%;position:relative}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--picker-padding) * -1) + 4px));margin-right:max(0px,calc(var(--picker-padding) - 12px));fill:var(--s-color-on-surface-variant, #40484C)}.container{max-height:408px;box-sizing:border-box;display:flex;flex-direction:column;font-size:.875rem;padding:4px 0;gap:4px}",h='
';class l extends a({style:v,template:h,props:g,syncProps:["disabled"],setup(r){const t=r.querySelector(".popup"),s=r.querySelector(".field"),f=r.querySelector(".label"),i=r.querySelector(".view"),u=r.querySelector("#slot"),o=r.querySelector(".container"),e=new x({context:this,class:c,slot:u});return t.addEventListener("show",()=>{s.focused=!0,s.fixed=!0,e.select||(i.textContent=this.label,i.style.opacity="0"),o.style.minWidth=`${this.offsetWidth}px`,e.select&&o.scrollTo({top:e.select.offsetTop-o.offsetTop-(o.offsetHeight/2-e.select.offsetHeight/2)})}),t.onclose=()=>{s.focused=!1,!e.select&&(s.fixed=!1)},t.addEventListener("closed",()=>o.style.removeProperty("min-width")),e.onUpdate=()=>{if(!e.select){s.fixed=!1,i.textContent="";return}s.fixed=!0,i.style.removeProperty("opacity"),i.textContent=e.select.textContent},e.onSelect=()=>t.close(),{expose:{get options(){return e.list},get selectedIndex(){return e.selectedIndex},get show(){return t.show},get toggle(){return t.toggle},get close(){return t.close}},label:n=>f.textContent=n,value:{get:()=>e.value,set:n=>e.value=n}}}}){}const m="s-picker-item",b={selected:!1,value:""},y=":host{display:flex;align-items:center;height:40px;margin:0 4px;position:relative;border-radius:4px;flex-shrink:0;padding:0 12px;color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;height:24px;width:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-4px}",k='
';class c extends a({style:y,template:k,props:b,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof l&&this.dispatchEvent(new Event(`${p}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof l&&this.dispatchEvent(new Event(`${p}:update`,{bubbles:!0}))}}}}){}l.define(p),c.define(m);export{l as Picker,c as PickerItem}; - //# sourceMappingURL=picker.js.map -diff --git a/node_modules/sober/dist/popup-menu.js b/node_modules/sober/dist/popup-menu.js -index 0a8aac2..e53a266 100644 ---- a/node_modules/sober/dist/popup-menu.js -+++ b/node_modules/sober/dist/popup-menu.js -@@ -1,2 +1,2 @@ --import{useElement as p}from"./core/element.js";import"./ripple.js";import"./scroll-view.js";const s="s-popup-menu",l={group:""},a=":host{display:inline-block;vertical-align:middle;font-size:.875rem}.popup{display:block}.container{box-sizing:border-box;padding:4px 0;max-width:224px;min-height:auto;display:flex;flex-direction:column;gap:4px}::slotted(s-popup-menu[group=start]){border-top:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-top:4px;padding-top:4px}::slotted(s-popup-menu[group=end]){border-bottom:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-bottom:4px;padding-bottom:4px}",c='';class e extends p({style:a,template:c,props:l,syncProps:!0,setup(r){const t=r.querySelector(".popup"),n=r.querySelector("slot[name=trigger]");return n.onclick=o=>{o.stopPropagation(),t.show()},this.addEventListener(`${s}:click`,o=>{o.stopPropagation(),t.close()}),{onMounted:()=>{this.parentNode instanceof e&&t.setAttribute("align","right")},expose:{get show(){return t.show},get toggle(){return t.toggle},get close(){return t.close}}}}}){}const d="s-popup-menu-item",g={},u=":host{display:flex;align-items:center;height:40px;margin:0 4px;padding:0 12px;cursor:pointer;position:relative;border-radius:4px;color:var(--s-color-on-surface, #191C1E)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){fill:currentColor;height:24px;width:24px;color:var(--s-color-on-surface-variant, #40484C)}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-6px}",m='
';class i extends p({style:u,template:m,props:g,setup(){this.addEventListener("click",()=>this.dispatchEvent(new Event(`${s}:click`,{bubbles:!0})))}}){}e.define(s),i.define(d);export{e as PopupMenu,i as PopupMenuItem}; -+import{useElement as p}from"./core/element.js";import"./ripple.js";import"./scroll-view.js";const s="s-popup-menu",l={group:""},a=":host{display:inline-block;vertical-align:middle;font-size:.875rem}.popup{display:block}.container{box-sizing:border-box;padding:4px 0;max-width:224px;min-height:auto;display:flex;flex-direction:column;gap:4px}::slotted(s-popup-menu[group=start]){border-top:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-top:4px;padding-top:4px}::slotted(s-popup-menu[group=end]){border-bottom:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-bottom:4px;padding-bottom:4px}",c='';class e extends p({style:a,template:c,props:l,syncProps:!0,setup(r){const t=r.querySelector(".popup"),n=r.querySelector("slot[name=trigger]");return n.onclick=o=>{o.stopPropagation(),t.show()},this.addEventListener(`${s}:click`,o=>{o.stopPropagation(),t.close()}),{onMounted:()=>{this.parentNode instanceof e&&t.setAttribute("align","right")},expose:{get show(){return t.show},get toggle(){return t.toggle},get close(){return t.close}}}}}){}const d="s-popup-menu-item",g={},u=":host{display:flex;align-items:center;height:40px;margin:0 4px;padding:0 12px;position:relative;border-radius:4px;color:var(--s-color-on-surface, #191C1E)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){fill:currentColor;height:24px;width:24px;color:var(--s-color-on-surface-variant, #40484C)}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-6px}",m='
';class i extends p({style:u,template:m,props:g,setup(){this.addEventListener("click",()=>this.dispatchEvent(new Event(`${s}:click`,{bubbles:!0})))}}){}e.define(s),i.define(d);export{e as PopupMenu,i as PopupMenuItem}; - //# sourceMappingURL=popup-menu.js.map -diff --git a/node_modules/sober/dist/radio-button.js b/node_modules/sober/dist/radio-button.js -index 5ef90bc..4f2e7f3 100644 ---- a/node_modules/sober/dist/radio-button.js -+++ b/node_modules/sober/dist/radio-button.js -@@ -1,2 +1,2 @@ --import{useElement as o}from"./core/element.js";import"./ripple.js";const i="s-radio-button",r={disabled:!1,checked:!1,name:"",value:""},s=":host{display:inline-flex;vertical-align:middle;align-items:center;cursor:pointer;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:100%;height:100%}.checked{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([checked=true]:not([indeterminate=true])) .checked{opacity:1;transform:scale(1)}.dot{width:60%;height:60%;transform:scale(.4);background:currentColor;border-radius:50%}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked])){color:currentColor;fill:currentColor;width:60%;height:60%}",a='
';class t extends o({style:s,template:a,props:r,syncProps:["checked","disabled","name"],setup(){this.addEventListener("click",()=>{this.checked=!0,this.name&&document.querySelectorAll(`${this.tagName}[name='${this.name}']`).forEach(e=>{e!==this&&(e.checked=!1)}),this.dispatchEvent(new Event("change"))})}}){}t.define(i);export{t as RadioButton}; -+import{useElement as o}from"./core/element.js";import"./ripple.js";const i="s-radio-button",r={disabled:!1,checked:!1,name:"",value:""},s=":host{display:inline-flex;vertical-align:middle;align-items:center;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:100%;height:100%}.checked{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([checked=true]:not([indeterminate=true])) .checked{opacity:1;transform:scale(1)}.dot{width:60%;height:60%;transform:scale(.4);background:currentColor;border-radius:50%}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked])){color:currentColor;fill:currentColor;width:60%;height:60%}",a='
';class t extends o({style:s,template:a,props:r,syncProps:["checked","disabled","name"],setup(){this.addEventListener("click",()=>{this.checked=!0,this.name&&document.querySelectorAll(`${this.tagName}[name='${this.name}']`).forEach(e=>{e!==this&&(e.checked=!1)}),this.dispatchEvent(new Event("change"))})}}){}t.define(i);export{t as RadioButton}; - //# sourceMappingURL=radio-button.js.map -diff --git a/node_modules/sober/dist/rate.js b/node_modules/sober/dist/rate.js -index 95a8071..d185567 100644 ---- a/node_modules/sober/dist/rate.js -+++ b/node_modules/sober/dist/rate.js -@@ -1,2 +1,2 @@ --import{useElement as l}from"./core/element.js";const c="s-rate",o={readOnly:!1,max:10,min:0,value:5,step:1},p=":host{display:inline-flex;vertical-align:middle;overflow:hidden;position:relative;font-size:24px;width:5em;height:1em}.track{width:100%;display:flex}.track svg,::slotted([slot=track]){fill:var(--s-color-secondary-container, #CFE6F1);filter:drop-shadow(1em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(2em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(3em 0 0 var(--s-color-secondary-container, #CFE6F1))}.indicator{position:absolute;left:0;top:0;height:100%;width:50%;overflow:hidden;display:flex}.indicator svg,::slotted([slot=indicator]){fill:var(--s-color-primary, #006782);filter:drop-shadow(1em 0 0 var(--s-color-primary, #006782)) drop-shadow(2em 0 0 var(--s-color-primary, #006782)) drop-shadow(3em 0 0 var(--s-color-primary, #006782)) drop-shadow(4em 0 0 var(--s-color-primary, #006782))}svg,::slotted(*){height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;flex-shrink:0}input{position:absolute;left:0;top:0;height:100%;width:100%;cursor:pointer;opacity:0;margin:0}:host([readonly=true]) input{display:none}",d=``;class i extends l({style:p,template:d,props:o,syncProps:["readOnly"],setup(r){const s=r.querySelector(".indicator"),t=r.querySelector("input"),a=()=>{const n=(Number(t.value)-this.min)*100/this.max-this.min;s.style.width=`${n}%`};return t.onchange=()=>this.dispatchEvent(new Event("change")),t.oninput=()=>{this.value=Number(t.value),this.dispatchEvent(new Event("input"))},{max:e=>{t.max=String(e),a()},min:e=>{t.min=String(e),a()},step:e=>{t.step=String(e),a()},value:e=>{t.value=String(e),a()}}}}){}i.define(c);export{i as Rate}; -+import{useElement as l}from"./core/element.js";const c="s-rate",o={readOnly:!1,max:10,min:0,value:5,step:1},p=":host{display:inline-flex;vertical-align:middle;overflow:hidden;position:relative;font-size:24px;width:5em;height:1em}.track{width:100%;display:flex}.track svg,::slotted([slot=track]){fill:var(--s-color-secondary-container, #CFE6F1);filter:drop-shadow(1em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(2em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(3em 0 0 var(--s-color-secondary-container, #CFE6F1))}.indicator{position:absolute;left:0;top:0;height:100%;width:50%;overflow:hidden;display:flex}.indicator svg,::slotted([slot=indicator]){fill:var(--s-color-primary, #006782);filter:drop-shadow(1em 0 0 var(--s-color-primary, #006782)) drop-shadow(2em 0 0 var(--s-color-primary, #006782)) drop-shadow(3em 0 0 var(--s-color-primary, #006782)) drop-shadow(4em 0 0 var(--s-color-primary, #006782))}svg,::slotted(*){height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;flex-shrink:0}input{position:absolute;left:0;top:0;height:100%;width:100%;opacity:0;margin:0}:host([readonly=true]) input{display:none}",d=``;class i extends l({style:p,template:d,props:o,syncProps:["readOnly"],setup(r){const s=r.querySelector(".indicator"),t=r.querySelector("input"),a=()=>{const n=(Number(t.value)-this.min)*100/this.max-this.min;s.style.width=`${n}%`};return t.onchange=()=>this.dispatchEvent(new Event("change")),t.oninput=()=>{this.value=Number(t.value),this.dispatchEvent(new Event("input"))},{max:e=>{t.max=String(e),a()},min:e=>{t.min=String(e),a()},step:e=>{t.step=String(e),a()},value:e=>{t.value=String(e),a()}}}}){}i.define(c);export{i as Rate}; - //# sourceMappingURL=rate.js.map -diff --git a/node_modules/sober/dist/ripple.js b/node_modules/sober/dist/ripple.js -index c11e77e..e0e0610 100644 ---- a/node_modules/sober/dist/ripple.js -+++ b/node_modules/sober/dist/ripple.js -@@ -1,2 +1,2 @@ --import{useElement as R}from"./core/element.js";import{mediaQueryList as P}from"./core/utils/mediaQuery.js";import{convertCSSDuration as $}from"./core/utils/CSSUtils.js";const z="s-ripple",A={centered:!1,attached:!1},H=':host{display:inline-block;vertical-align:middle;position:relative;cursor:pointer}:host([attached=true]),.container,.container:before,.ripple{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;border-radius:inherit}.container{overflow:hidden}.container:before{content:"";opacity:0;background:var(--ripple-color, currentColor);transition:opacity var(--s-motion-duration-short4, .1s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.container.hover:before{opacity:var(--ripple-hover-opacity, .12)}.ripple{color:color-mix(in srgb,var(--ripple-color, currentColor) calc(100% * var(--ripple-opacity, .18)),transparent);background:currentColor;border-radius:50%;transform:translate(-50%,-50%) scale(0);filter:blur(8px)}',V='
';class k extends R({style:H,template:V,props:A,syncProps:!0,setup(v){const p=v.querySelector(".container"),f=v.querySelector(".ripple"),l=getComputedStyle(this),D=()=>{const e=l.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",o=l.getPropertyValue("--s-motion-duration-long4")||"600ms",n=l.getPropertyValue("--s-motion-duration-short4")||"200ms";return{easing:e,duration:$(o),shortDuration:$(n)}},y=()=>!P.anyPointerCoarse.matches&&p.classList.add("hover"),a=()=>!P.anyPointerCoarse.matches&&p.classList.remove("hover"),t={parentNode:null,pressed:!1},b=e=>{const{offsetWidth:o,offsetHeight:n}=this;let s=Math.sqrt(o**2+n**2);const c={x:"50%",y:"50%"};if(!this.centered){const{left:d,top:m}=this.getBoundingClientRect(),x=e.clientX-d,E=e.clientY-m,C=n/2,S=o/2,T=(Math.abs(C-E)+C)*2,q=(Math.abs(S-x)+S)*2;s=Math.sqrt(T**2+q**2),c.x=`${x}px`,c.y=`${E}px`}let i=f,h=()=>{};t.pressed?(i=f.cloneNode(),p.appendChild(i),h=()=>i.remove()):(t.pressed=!0,h=()=>t.pressed=!1);const L=t.parentNode??this,r=D();L.setAttribute("pressed","");const w={transform:"translate(-50%, -50%) scale(1)",boxShadow:"0 0 0 16px currentColor",opacity:1,width:`${s}px`,height:`${s}px`,left:`${c.x}`,top:`${c.y}`},M=i.animate([{...w,transform:"translate(-50%, -50%) scale(0)"},w],{duration:r.duration,fill:"forwards",easing:r.easing});return()=>{L.removeAttribute("pressed");const d=Number(M.currentTime),m=r.duration-r.shortDuration;i.animate({opacity:[1,0]},{duration:d>m?r.shortDuration:r.duration-d,easing:r.easing,fill:"forwards"}).finished.then(h)}},g=async e=>{if(e.button!==0)return;const o={};if(e.pointerType==="mouse"&&document.addEventListener("pointerup",b(e),{once:!0}),e.pointerType==="touch"){let n;o.timer=setTimeout(()=>{n=b(e),document.removeEventListener("touchmove",s),o.upper&&n()},40),document.addEventListener("touchend",()=>{if(!n)return o.upper=!0;n()},{once:!0});const s=()=>clearTimeout(o.timer);document.addEventListener("touchmove",s,{once:!0})}},u=e=>{e.addEventListener("mouseenter",y),e.addEventListener("mouseleave",a),e.addEventListener("wheel",a,{passive:!0}),e.addEventListener("pointerdown",g)},N=()=>{t.parentNode&&(t.parentNode.removeEventListener("mouseenter",y),t.parentNode.removeEventListener("mouseleave",a),t.parentNode.removeEventListener("wheel",a),t.parentNode.removeEventListener("pointerdown",g),t.parentNode=null)};return u(this),{onMounted:()=>{this.attached&&this.parentNode&&(t.parentNode=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode,u(t.parentNode))},onUnmounted:()=>this.attached&&N(),attached:e=>{if(!this.isConnected)return;if(!e)return N();const o=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;u(o)}}}}){}k.define(z);export{k as Ripple}; -+import{useElement as R}from"./core/element.js";import{mediaQueryList as P}from"./core/utils/mediaQuery.js";import{convertCSSDuration as $}from"./core/utils/CSSUtils.js";const z="s-ripple",A={centered:!1,attached:!1},H=':host{display:inline-block;vertical-align:middle;position:relative;}:host([attached=true]),.container,.container:before,.ripple{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;border-radius:inherit}.container{overflow:hidden}.container:before{content:"";opacity:0;background:var(--ripple-color, currentColor);transition:opacity var(--s-motion-duration-short4, .1s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.container.hover:before{opacity:var(--ripple-hover-opacity, .12)}.ripple{color:color-mix(in srgb,var(--ripple-color, currentColor) calc(100% * var(--ripple-opacity, .18)),transparent);background:currentColor;border-radius:50%;transform:translate(-50%,-50%) scale(0);filter:blur(8px)}',V='
';class k extends R({style:H,template:V,props:A,syncProps:!0,setup(v){const p=v.querySelector(".container"),f=v.querySelector(".ripple"),l=getComputedStyle(this),D=()=>{const e=l.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",o=l.getPropertyValue("--s-motion-duration-long4")||"600ms",n=l.getPropertyValue("--s-motion-duration-short4")||"200ms";return{easing:e,duration:$(o),shortDuration:$(n)}},y=()=>!P.anyPointerCoarse.matches&&p.classList.add("hover"),a=()=>!P.anyPointerCoarse.matches&&p.classList.remove("hover"),t={parentNode:null,pressed:!1},b=e=>{const{offsetWidth:o,offsetHeight:n}=this;let s=Math.sqrt(o**2+n**2);const c={x:"50%",y:"50%"};if(!this.centered){const{left:d,top:m}=this.getBoundingClientRect(),x=e.clientX-d,E=e.clientY-m,C=n/2,S=o/2,T=(Math.abs(C-E)+C)*2,q=(Math.abs(S-x)+S)*2;s=Math.sqrt(T**2+q**2),c.x=`${x}px`,c.y=`${E}px`}let i=f,h=()=>{};t.pressed?(i=f.cloneNode(),p.appendChild(i),h=()=>i.remove()):(t.pressed=!0,h=()=>t.pressed=!1);const L=t.parentNode??this,r=D();L.setAttribute("pressed","");const w={transform:"translate(-50%, -50%) scale(1)",boxShadow:"0 0 0 16px currentColor",opacity:1,width:`${s}px`,height:`${s}px`,left:`${c.x}`,top:`${c.y}`},M=i.animate([{...w,transform:"translate(-50%, -50%) scale(0)"},w],{duration:r.duration,fill:"forwards",easing:r.easing});return()=>{L.removeAttribute("pressed");const d=Number(M.currentTime),m=r.duration-r.shortDuration;i.animate({opacity:[1,0]},{duration:d>m?r.shortDuration:r.duration-d,easing:r.easing,fill:"forwards"}).finished.then(h)}},g=async e=>{if(e.button!==0)return;const o={};if(e.pointerType==="mouse"&&document.addEventListener("pointerup",b(e),{once:!0}),e.pointerType==="touch"){let n;o.timer=setTimeout(()=>{n=b(e),document.removeEventListener("touchmove",s),o.upper&&n()},40),document.addEventListener("touchend",()=>{if(!n)return o.upper=!0;n()},{once:!0});const s=()=>clearTimeout(o.timer);document.addEventListener("touchmove",s,{once:!0})}},u=e=>{e.addEventListener("mouseenter",y),e.addEventListener("mouseleave",a),e.addEventListener("wheel",a,{passive:!0}),e.addEventListener("pointerdown",g)},N=()=>{t.parentNode&&(t.parentNode.removeEventListener("mouseenter",y),t.parentNode.removeEventListener("mouseleave",a),t.parentNode.removeEventListener("wheel",a),t.parentNode.removeEventListener("pointerdown",g),t.parentNode=null)};return u(this),{onMounted:()=>{this.attached&&this.parentNode&&(t.parentNode=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode,u(t.parentNode))},onUnmounted:()=>this.attached&&N(),attached:e=>{if(!this.isConnected)return;if(!e)return N();const o=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;u(o)}}}}){}k.define(z);export{k as Ripple}; - //# sourceMappingURL=ripple.js.map -diff --git a/node_modules/sober/dist/segmented-button.js b/node_modules/sober/dist/segmented-button.js -index c56dd98..f56107f 100644 ---- a/node_modules/sober/dist/segmented-button.js -+++ b/node_modules/sober/dist/segmented-button.js -@@ -1,2 +1,2 @@ --import{useElement as p}from"./core/element.js";import{Select as x}from"./core/utils/select.js";import{convertCSSDuration as g}from"./core/utils/CSSUtils.js";import"./ripple.js";const a="s-segmented-button",v={value:"",mode:"auto"},b=":host{display:inline-flex;vertical-align:middle;align-items:center;border-radius:20px;height:40px;padding:3px;overflow:hidden;box-sizing:border-box;border:solid 1px var(--s-color-surface-variant, #C0C8CC);background:var(--s-color-surface-container, #ECEEF0)}:host([mode=fixed]){display:flex}:host([mode=fixed]) ::slotted(s-segmented-button-item){flex-basis:100%}",y="";class i extends p({style:b,template:y,props:v,syncProps:["mode"],setup(u){const h=u.querySelector("slot"),t=new x({context:this,class:l,slot:h}),d=getComputedStyle(this),f=()=>{const e=d.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",s=d.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:e,duration:g(s)}};return t.onUpdate=e=>{if(!e||!t.select||!this.isConnected)return;const s=e.shadowRoot.querySelector(".indicator").getBoundingClientRect(),o=t.select.shadowRoot.querySelector(".indicator"),r=o.getBoundingClientRect(),c=s.left-r.left;o.style.transform=`translateX(${r.left>s.left?c:Math.abs(c)}px)`,o.style.width=`${s.width}px`,e.style.zIndex="1";const n=o.animate([{transform:"translateX(0)",width:`${r.width}px`}],f());n.onfinish=n.oncancel=n.onremove=()=>{o.style.removeProperty("transform"),o.style.removeProperty("width"),e.style.removeProperty("z-index")}},{expose:{get options(){return t.list},get selectedIndex(){return t.selectedIndex}},value:{get:()=>t.value,set:e=>t.value=e}}}}){}const w="s-segmented-button-item",C={selected:!1,disabled:!1,selectable:!0,value:""},E=":host{display:flex;justify-content:center;align-items:center;height:100%;min-width:64px;padding:0 16px;text-transform:capitalize;cursor:pointer;font-weight:500;font-size:.8125rem;position:relative;box-sizing:border-box;border-radius:20px;transition:color var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-on-primary, #ffffff)}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}.indicator{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;border-radius:inherit;background:var(--s-color-primary, #006782)}:host([selected=true]) .indicator{opacity:1}::slotted([slot]){width:18px;height:18px;color:inherit;fill:currentColor;flex-shrink:0;position:relative}::slotted([slot=start]){margin-right:4px}::slotted([slot=end]){margin-right:4px}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;position:relative}",S='
';class l extends p({style:E,template:S,props:C,syncProps:["selected","disabled"],setup(){return this.addEventListener("click",()=>{!(this.parentNode instanceof i)||this.selected||this.selectable&&this.dispatchEvent(new Event(`${a}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof i&&this.dispatchEvent(new CustomEvent(`${a}:update`,{bubbles:!0,detail:{}}))}}}}){}i.define(a),l.define(w);export{i as SegmentedButton,l as SegmentedButtonItem}; -+import{useElement as p}from"./core/element.js";import{Select as x}from"./core/utils/select.js";import{convertCSSDuration as g}from"./core/utils/CSSUtils.js";import"./ripple.js";const a="s-segmented-button",v={value:"",mode:"auto"},b=":host{display:inline-flex;vertical-align:middle;align-items:center;border-radius:20px;height:40px;padding:3px;overflow:hidden;box-sizing:border-box;border:solid 1px var(--s-color-surface-variant, #C0C8CC);background:var(--s-color-surface-container, #ECEEF0)}:host([mode=fixed]){display:flex}:host([mode=fixed]) ::slotted(s-segmented-button-item){flex-basis:100%}",y="";class i extends p({style:b,template:y,props:v,syncProps:["mode"],setup(u){const h=u.querySelector("slot"),t=new x({context:this,class:l,slot:h}),d=getComputedStyle(this),f=()=>{const e=d.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",s=d.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:e,duration:g(s)}};return t.onUpdate=e=>{if(!e||!t.select||!this.isConnected)return;const s=e.shadowRoot.querySelector(".indicator").getBoundingClientRect(),o=t.select.shadowRoot.querySelector(".indicator"),r=o.getBoundingClientRect(),c=s.left-r.left;o.style.transform=`translateX(${r.left>s.left?c:Math.abs(c)}px)`,o.style.width=`${s.width}px`,e.style.zIndex="1";const n=o.animate([{transform:"translateX(0)",width:`${r.width}px`}],f());n.onfinish=n.oncancel=n.onremove=()=>{o.style.removeProperty("transform"),o.style.removeProperty("width"),e.style.removeProperty("z-index")}},{expose:{get options(){return t.list},get selectedIndex(){return t.selectedIndex}},value:{get:()=>t.value,set:e=>t.value=e}}}}){}const w="s-segmented-button-item",C={selected:!1,disabled:!1,selectable:!0,value:""},E=":host{display:flex;justify-content:center;align-items:center;height:100%;min-width:64px;padding:0 16px;text-transform:capitalize;font-weight:500;font-size:.8125rem;position:relative;box-sizing:border-box;border-radius:20px;transition:color var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-on-primary, #ffffff)}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}.indicator{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;border-radius:inherit;background:var(--s-color-primary, #006782)}:host([selected=true]) .indicator{opacity:1}::slotted([slot]){width:18px;height:18px;color:inherit;fill:currentColor;flex-shrink:0;position:relative}::slotted([slot=start]){margin-right:4px}::slotted([slot=end]){margin-right:4px}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;position:relative}",S='
';class l extends p({style:E,template:S,props:C,syncProps:["selected","disabled"],setup(){return this.addEventListener("click",()=>{!(this.parentNode instanceof i)||this.selected||this.selectable&&this.dispatchEvent(new Event(`${a}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof i&&this.dispatchEvent(new CustomEvent(`${a}:update`,{bubbles:!0,detail:{}}))}}}}){}i.define(a),l.define(w);export{i as SegmentedButton,l as SegmentedButtonItem}; - //# sourceMappingURL=segmented-button.js.map -diff --git a/node_modules/sober/dist/slider.js b/node_modules/sober/dist/slider.js -index fb0566d..cc5db9d 100644 ---- a/node_modules/sober/dist/slider.js -+++ b/node_modules/sober/dist/slider.js -@@ -1,2 +1,2 @@ --import{useElement as m}from"./core/element.js";import{mediaQueryList as o}from"./core/utils/mediaQuery.js";const h="s-slider",n={disabled:!1,labeled:!1,max:100,min:0,step:1,value:0},v=':host{display:block;color:var(--s-color-primary, #006782);height:16px;cursor:pointer;position:relative}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}.container{height:100%;display:flex;align-items:center;position:relative;pointer-events:none}.track,.indicator{height:4px;border-radius:2px;position:absolute;right:0}.track{background:var(--s-color-secondary-container, #CFE6F1);width:calc(100% - 20px)}:host([disabled=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.indicator{left:0;width:0;background:currentColor}.handle{position:relative;height:16px;width:16px;flex-shrink:0;display:flex;justify-content:center}.thumb{position:relative;height:100%;width:100%;border-radius:50%;background:currentColor;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.thumb:before{content:"";position:absolute;left:-10px;top:-10px;width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,currentColor 20%,transparent);transform:scale(0);transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.active .thumb:before{transform:scale(1)}.label{position:absolute;bottom:100%;margin-bottom:12px;background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3);justify-content:center;align-items:center;border-radius:4px;padding:0 6px;height:24px;font-size:.75rem;transform:scale(0);transform-origin:center bottom;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));opacity:.85;z-index:1;display:none}.active .label{transform:scale(1)}:host([labeled=true]) .label{display:flex}input{margin:0;height:100%;width:100%;cursor:inherit;opacity:0;position:absolute;top:0;left:0}',b=`
${n.value}
`;class c extends m({style:v,template:b,props:n,syncProps:["disabled","labeled"],setup(r){const i=r.querySelector(".container"),l=r.querySelector(".indicator"),p=r.querySelector(".track"),d=r.querySelector(".handle"),u=r.querySelector(".label"),t=r.querySelector("input"),s=()=>{const e=Number(t.value),a=(e-this.min)*100/(this.max-this.min);d.style.left=`calc(${a}% - ${a*.16}px)`,l.style.width=`calc(${a}% - ${4+a*.16}px)`,p.style.width=`calc(${100-a}% - ${20-a*.16}px)`,u.textContent=String(e)};return t.onchange=()=>this.dispatchEvent(new Event("change")),t.oninput=()=>{this.value=Number(t.value),this.dispatchEvent(new Event("input"))},t.onmousedown=e=>e.button===0&&!o.anyPointerCoarse.matches&&i.classList.add("active"),t.onmouseup=()=>!o.anyPointerCoarse.matches&&i.classList.remove("active"),t.ontouchstart=()=>o.anyPointerCoarse.matches&&i.classList.add("active"),t.ontouchend=()=>o.anyPointerCoarse.matches&&i.classList.remove("active"),t.ontouchcancel=()=>o.anyPointerCoarse.matches&&i.classList.remove("active"),{max:e=>{t.max=String(e),s()},min:e=>{t.min=String(e),s()},step:e=>{t.step=String(e),s()},value:e=>{t.value=String(e),s()}}}}){}c.define(h);export{c as Slider}; -+import{useElement as m}from"./core/element.js";import{mediaQueryList as o}from"./core/utils/mediaQuery.js";const h="s-slider",n={disabled:!1,labeled:!1,max:100,min:0,step:1,value:0},v=':host{display:block;color:var(--s-color-primary, #006782);height:16px;position:relative}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}.container{height:100%;display:flex;align-items:center;position:relative;pointer-events:none}.track,.indicator{height:4px;border-radius:2px;position:absolute;right:0}.track{background:var(--s-color-secondary-container, #CFE6F1);width:calc(100% - 20px)}:host([disabled=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.indicator{left:0;width:0;background:currentColor}.handle{position:relative;height:16px;width:16px;flex-shrink:0;display:flex;justify-content:center}.thumb{position:relative;height:100%;width:100%;border-radius:50%;background:currentColor;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.thumb:before{content:"";position:absolute;left:-10px;top:-10px;width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,currentColor 20%,transparent);transform:scale(0);transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.active .thumb:before{transform:scale(1)}.label{position:absolute;bottom:100%;margin-bottom:12px;background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3);justify-content:center;align-items:center;border-radius:4px;padding:0 6px;height:24px;font-size:.75rem;transform:scale(0);transform-origin:center bottom;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));opacity:.85;z-index:1;display:none}.active .label{transform:scale(1)}:host([labeled=true]) .label{display:flex}input{margin:0;height:100%;width:100%;cursor:inherit;opacity:0;position:absolute;top:0;left:0}',b=`
${n.value}
`;class c extends m({style:v,template:b,props:n,syncProps:["disabled","labeled"],setup(r){const i=r.querySelector(".container"),l=r.querySelector(".indicator"),p=r.querySelector(".track"),d=r.querySelector(".handle"),u=r.querySelector(".label"),t=r.querySelector("input"),s=()=>{const e=Number(t.value),a=(e-this.min)*100/(this.max-this.min);d.style.left=`calc(${a}% - ${a*.16}px)`,l.style.width=`calc(${a}% - ${4+a*.16}px)`,p.style.width=`calc(${100-a}% - ${20-a*.16}px)`,u.textContent=String(e)};return t.onchange=()=>this.dispatchEvent(new Event("change")),t.oninput=()=>{this.value=Number(t.value),this.dispatchEvent(new Event("input"))},t.onmousedown=e=>e.button===0&&!o.anyPointerCoarse.matches&&i.classList.add("active"),t.onmouseup=()=>!o.anyPointerCoarse.matches&&i.classList.remove("active"),t.ontouchstart=()=>o.anyPointerCoarse.matches&&i.classList.add("active"),t.ontouchend=()=>o.anyPointerCoarse.matches&&i.classList.remove("active"),t.ontouchcancel=()=>o.anyPointerCoarse.matches&&i.classList.remove("active"),{max:e=>{t.max=String(e),s()},min:e=>{t.min=String(e),s()},step:e=>{t.step=String(e),s()},value:e=>{t.value=String(e),s()}}}}){}c.define(h);export{c as Slider}; - //# sourceMappingURL=slider.js.map -diff --git a/node_modules/sober/dist/snackbar.js b/node_modules/sober/dist/snackbar.js -index bc33232..4ed5e56 100644 ---- a/node_modules/sober/dist/snackbar.js -+++ b/node_modules/sober/dist/snackbar.js -@@ -1,2 +1,2 @@ --import{useElement as b}from"./core/element.js";import{getStackingContext as w}from"./core/utils/getStackingContext.js";import{mediaQueryList as C}from"./core/utils/mediaQuery.js";import{convertCSSDuration as k}from"./core/utils/CSSUtils.js";const L="s-snackbar",E={type:"none",align:"auto",duration:4e3},A=":host{display:inline-block;vertical-align:middle}.popup{position:fixed;inset:0;width:100%;height:100%;background:none;border:none;outline:none;max-width:none;max-height:none;display:none;overflow:hidden;box-sizing:border-box;pointer-events:none;padding:16px;justify-content:center;transition:transform var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.popup.show{display:flex}.container{align-self:flex-end;width:stretch;display:flex;align-items:center;min-height:48px;line-height:1.6;border-radius:4px;padding:6px 16px;font-size:.875rem;font-weight:500;box-sizing:border-box;max-width:320px;transition:box-shadow var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3)}.text{flex-grow:1;min-width:0;user-select:text;-webkit-user-select:text}.icon{display:none}:host([type=info]) .info,:host([type=success]) .success,:host([type=warning]) .warning,:host([type=error]) .error{display:block}:host([type=info]) .container{color:var(--s-color-on-secondary, #ffffff);background:var(--s-color-secondary, #4C616B)}:host([type=success]) .container{color:var(--s-color-on-success, #ffffff);background:var(--s-color-success, #006d43)}:host([type=warning]) .container{color:var(--s-color-on-warning, #ffffff);background:var(--s-color-warning, #6f5d00)}:host([type=error]) .container{color:var(--s-color-on-error, #ffffff);background:var(--s-color-error, #BA1A1A)}:host([type=info]) ::slotted([slot=action]),:host([type=success]) ::slotted([slot=action]),:host([type=warning]) ::slotted([slot=action]),:host([type=error]) ::slotted([slot=action]){color:currentColor}svg,::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin-right:12px;margin-left:-4px}::slotted([slot=action]){font-size:inherit;flex-shrink:0;display:inline-flex;align-items:center;padding:0 12px;border-radius:4px;margin-right:-8px;margin-left:12px;cursor:pointer;height:36px;font-size:.875rem;color:var(--s-color-inverse-primary, #60D4FE)}@media (max-width: 375px){.popup{padding:8px}}@media (pointer: fine){.container:hover{box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",z='',S=e=>{let n=document.body;const t=new f;t.style.display="block";const o=document.body.firstElementChild;if(o&&o.tagName==="S-PAGE"&&(n=o),typeof e=="string")t.textContent=e;else{if(e.root&&(n=e.root),e.align&&(t.align=e.align),e.icon&&(e.icon instanceof Element&&(e.icon.slot="icon",t.appendChild(e.icon)),typeof e.icon=="string"&&(t.innerHTML=e.icon)),t.append(e.text),e.type&&(t.type=e.type),e.action){const i=document.createElement("s-button");i.type="text",i.slot="action",typeof e.action=="string"?i.textContent=e.action:(i.textContent=e.action.text,i.addEventListener("click",e.action.click)),t.appendChild(i)}typeof e.duration=="number"&&(t.duration=e.duration)}return n.appendChild(t),t.addEventListener("closed",()=>n.removeChild(t)),t.show(),t},x={top:[],bottom:[]};class f extends b({style:A,template:z,props:E,syncProps:["type"],setup(n){const t=n.querySelector(".popup"),o=n.querySelector(".container"),i=getComputedStyle(this),m=()=>{const s=i.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",r=i.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:s,duration:k(r)}},c={timer:0,gap:8},v=()=>this.align==="auto"?C.anyPointerCoarse.matches?"top":"bottom":this.align,g=()=>{if(!this.isConnected||t.classList.contains("show"))return;if(t.classList.add("show"),t.showPopover)t.showPopover();else{const a=w(n);t.style.width=`${innerWidth}px`,t.style.height=`${innerHeight}px`,t.style.marginLeft=`${-a.left}px`,t.style.marginTop=`${-a.top}px`,t.style.zIndex="2"}const s=v();o.style.alignSelf={top:"start",bottom:"end"}[s];const r=x[s],l={top:1,bottom:-1}[s];let p=o.offsetHeight+c.gap;for(const a of r)a.style.transform=`translateY(${p*l}px)`,p+=a.firstElementChild.offsetHeight+c.gap;const h=o.animate({opacity:[0,1],transform:[`translateY(calc(${l*-100}% + 16px))`,""],pointerEvents:"auto"},{...m(),fill:"forwards"});this.dispatchEvent(new Event("show")),this.duration>0&&(c.timer=setTimeout(d,this.duration)),t.dataset.align=s,r.unshift(t),h.finished.then(()=>this.dispatchEvent(new Event("showed")))},d=()=>{if(!this.isConnected||!t.classList.contains("show"))return;clearTimeout(c.timer);const s=t.dataset.align,r=x[s],l={top:1,bottom:-1}[s],p=r.indexOf(t);for(let a=p+1;a{t.hidePopover&&t.hidePopover(),t.removeAttribute("style"),t.classList.remove("show"),this.dispatchEvent(new Event("closed"))}),r.splice(p,1)};return o.onmouseenter=()=>clearTimeout(c.timer),o.onmouseleave=()=>t.classList.contains("show")&&this.duration>0&&(c.timer=setTimeout(d,this.duration)),n.querySelector("slot[name=trigger]").onclick=g,n.querySelector("slot[name=action]").onclick=d,{expose:{show:g,close:d}}}}){static builder=S}f.define(L);export{f as Snackbar}; -+import{useElement as b}from"./core/element.js";import{getStackingContext as w}from"./core/utils/getStackingContext.js";import{mediaQueryList as C}from"./core/utils/mediaQuery.js";import{convertCSSDuration as k}from"./core/utils/CSSUtils.js";const L="s-snackbar",E={type:"none",align:"auto",duration:4e3},A=":host{display:inline-block;vertical-align:middle}.popup{position:fixed;inset:0;width:100%;height:100%;background:none;border:none;outline:none;max-width:none;max-height:none;display:none;overflow:hidden;box-sizing:border-box;pointer-events:none;padding:16px;justify-content:center;transition:transform var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.popup.show{display:flex}.container{align-self:flex-end;width:stretch;display:flex;align-items:center;min-height:48px;line-height:1.6;border-radius:4px;padding:6px 16px;font-size:.875rem;font-weight:500;box-sizing:border-box;max-width:320px;transition:box-shadow var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3)}.text{flex-grow:1;min-width:0;user-select:text;-webkit-user-select:text}.icon{display:none}:host([type=info]) .info,:host([type=success]) .success,:host([type=warning]) .warning,:host([type=error]) .error{display:block}:host([type=info]) .container{color:var(--s-color-on-secondary, #ffffff);background:var(--s-color-secondary, #4C616B)}:host([type=success]) .container{color:var(--s-color-on-success, #ffffff);background:var(--s-color-success, #006d43)}:host([type=warning]) .container{color:var(--s-color-on-warning, #ffffff);background:var(--s-color-warning, #6f5d00)}:host([type=error]) .container{color:var(--s-color-on-error, #ffffff);background:var(--s-color-error, #BA1A1A)}:host([type=info]) ::slotted([slot=action]),:host([type=success]) ::slotted([slot=action]),:host([type=warning]) ::slotted([slot=action]),:host([type=error]) ::slotted([slot=action]){color:currentColor}svg,::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin-right:12px;margin-left:-4px}::slotted([slot=action]){font-size:inherit;flex-shrink:0;display:inline-flex;align-items:center;padding:0 12px;border-radius:4px;margin-right:-8px;margin-left:12px;height:36px;font-size:.875rem;color:var(--s-color-inverse-primary, #60D4FE)}@media (max-width: 375px){.popup{padding:8px}}@media (pointer: fine){.container:hover{box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",z='',S=e=>{let n=document.body;const t=new f;t.style.display="block";const o=document.body.firstElementChild;if(o&&o.tagName==="S-PAGE"&&(n=o),typeof e=="string")t.textContent=e;else{if(e.root&&(n=e.root),e.align&&(t.align=e.align),e.icon&&(e.icon instanceof Element&&(e.icon.slot="icon",t.appendChild(e.icon)),typeof e.icon=="string"&&(t.innerHTML=e.icon)),t.append(e.text),e.type&&(t.type=e.type),e.action){const i=document.createElement("s-button");i.type="text",i.slot="action",typeof e.action=="string"?i.textContent=e.action:(i.textContent=e.action.text,i.addEventListener("click",e.action.click)),t.appendChild(i)}typeof e.duration=="number"&&(t.duration=e.duration)}return n.appendChild(t),t.addEventListener("closed",()=>n.removeChild(t)),t.show(),t},x={top:[],bottom:[]};class f extends b({style:A,template:z,props:E,syncProps:["type"],setup(n){const t=n.querySelector(".popup"),o=n.querySelector(".container"),i=getComputedStyle(this),m=()=>{const s=i.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",r=i.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:s,duration:k(r)}},c={timer:0,gap:8},v=()=>this.align==="auto"?C.anyPointerCoarse.matches?"top":"bottom":this.align,g=()=>{if(!this.isConnected||t.classList.contains("show"))return;if(t.classList.add("show"),t.showPopover)t.showPopover();else{const a=w(n);t.style.width=`${innerWidth}px`,t.style.height=`${innerHeight}px`,t.style.marginLeft=`${-a.left}px`,t.style.marginTop=`${-a.top}px`,t.style.zIndex="2"}const s=v();o.style.alignSelf={top:"start",bottom:"end"}[s];const r=x[s],l={top:1,bottom:-1}[s];let p=o.offsetHeight+c.gap;for(const a of r)a.style.transform=`translateY(${p*l}px)`,p+=a.firstElementChild.offsetHeight+c.gap;const h=o.animate({opacity:[0,1],transform:[`translateY(calc(${l*-100}% + 16px))`,""],pointerEvents:"auto"},{...m(),fill:"forwards"});this.dispatchEvent(new Event("show")),this.duration>0&&(c.timer=setTimeout(d,this.duration)),t.dataset.align=s,r.unshift(t),h.finished.then(()=>this.dispatchEvent(new Event("showed")))},d=()=>{if(!this.isConnected||!t.classList.contains("show"))return;clearTimeout(c.timer);const s=t.dataset.align,r=x[s],l={top:1,bottom:-1}[s],p=r.indexOf(t);for(let a=p+1;a{t.hidePopover&&t.hidePopover(),t.removeAttribute("style"),t.classList.remove("show"),this.dispatchEvent(new Event("closed"))}),r.splice(p,1)};return o.onmouseenter=()=>clearTimeout(c.timer),o.onmouseleave=()=>t.classList.contains("show")&&this.duration>0&&(c.timer=setTimeout(d,this.duration)),n.querySelector("slot[name=trigger]").onclick=g,n.querySelector("slot[name=action]").onclick=d,{expose:{show:g,close:d}}}}){static builder=S}f.define(L);export{f as Snackbar}; - //# sourceMappingURL=snackbar.js.map -diff --git a/node_modules/sober/dist/sober.min.js b/node_modules/sober/dist/sober.min.js -index a21ee76..34c1274 100644 ---- a/node_modules/sober/dist/sober.min.js -+++ b/node_modules/sober/dist/sober.min.js -@@ -1,2 +1,2 @@ --"use strict";(()=>{var pt=Object.defineProperty;var ht=(s,o)=>{for(var e in o)pt(s,e,{get:o[e],enumerable:!0})};var Ke={};ht(Ke,{Alert:()=>Q,Appbar:()=>J,Avatar:()=>K,Badge:()=>ee,BottomSheet:()=>H,Button:()=>te,Card:()=>oe,Carousel:()=>I,CarouselItem:()=>j,Checkbox:()=>se,Chip:()=>ie,CircularProgress:()=>ae,Date:()=>le,DatePicker:()=>ce,Dialog:()=>V,Divider:()=>pe,Drawer:()=>he,Empty:()=>me,FAB:()=>ue,Field:()=>we,Fold:()=>ke,Icon:()=>xe,IconButton:()=>ge,LinearProgress:()=>ve,Menu:()=>be,MenuItem:()=>ye,Navigation:()=>A,NavigationItem:()=>Y,Page:()=>Ee,Pagination:()=>Ce,Picker:()=>D,PickerItem:()=>W,Popup:()=>Se,PopupMenu:()=>qe,PopupMenuItem:()=>ze,RadioButton:()=>Le,Rate:()=>Fe,Ripple:()=>z,ScrollView:()=>de,Search:()=>Me,SegmentedButton:()=>B,SegmentedButtonItem:()=>R,Skeleton:()=>Te,Slider:()=>Pe,Snackbar:()=>O,Switch:()=>De,Tab:()=>Z,TabItem:()=>X,Table:()=>Be,Tbody:()=>Ze,Td:()=>je,TextField:()=>Ve,Th:()=>Ie,Thead:()=>Ne,Tooltip:()=>Ye,Tr:()=>He});var it={CSSStyleSheet:!0};try{new CSSStyleSheet}catch{it.CSSStyleSheet=!1}var mt=(s,o)=>{if(s===void 0)return o;if(typeof o=="string")return String(s);if(typeof o=="number")return Number(s);if(typeof o=="boolean")return typeof s=="boolean"?s:s==="true";throw new TypeError},st=":host{user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}",ut=(s,o)=>{if(it.CSSStyleSheet){let r=new CSSStyleSheet;if(r.replaceSync(st),s.adoptedStyleSheets.push(r),o){let a=new CSSStyleSheet;a.replaceSync(o),s.adoptedStyleSheets.push(a)}return}if(o){let r=document.createElement("style");r.textContent=o,s.insertBefore(r,s.firstChild)}let e=document.createElement("style");e.textContent=st,s.insertBefore(e,s.firstChild)},p=s=>{let o=[],e={};for(let i in s.props){let n=i.toLowerCase();o.push(n),e[n]=i}let r=new Map;class a extends HTMLElement{static observedAttributes=o;static define(n){customElements.define(n,this)}constructor(){super();let n=this.attachShadow({mode:"open"});n.innerHTML=s.template??"",ut(n,s.style);let d={...s.props},c={};for(let t in s.props){let f=t;this[f]!==void 0&&(c[t]=this[f]),this[f]=d[t]}let l=s.setup?.apply(this,[n]);for(let t in s.props)Object.defineProperty(this,t,{configurable:!0,get:()=>{let f=l?.[t];return!f||typeof f=="function"||!f.get?d[t]:f.get?.(d[t])},set:f=>{let m=mt(f,s.props[t]);if(m===this[t])return;if(s.syncProps===!0||s.syncProps?.includes(t)){let h=t.toLowerCase(),b=this.getAttribute(h),x=String(m);if(m===s.props?.[t]&&b!==null){this.removeAttribute(h);return}if(m!==s.props?.[t]&&b!==x){this.setAttribute(h,x);return}}let u=d[t];d[t]=m;let g=l?.[t];if(g)try{typeof g=="function"?g(m,u):g.set?.(m,u)}catch(h){throw d[t]=u,h}}});for(let t in l?.expose)Object.defineProperty(this,t,{get:()=>l?.expose?.[t]});for(let t in c)this[t]=c[t];r.set(this,l),this.connectedCallback=this.disconnectedCallback=this.adoptedCallback=this.attributeChangedCallback=void 0}connectedCallback(){r.get(this)?.onMounted?.()}disconnectedCallback(){r.get(this)?.onUnmounted?.()}adoptedCallback(){r.get(this)?.onAdopted?.()}attributeChangedCallback(n,d,c){this[e[n]]=c??void 0}}return a};var gt="s-alert",ft={type:"info"},xt=":host{display:inline-flex;padding:8px 16px;align-items:center;line-height:1.6;font-size:.875rem;font-weight:500;min-height:48px;box-sizing:border-box;border-radius:4px;color:var(--s-color-on-secondary-container, #354A53);background:var(--s-color-secondary-container, #CFE6F1)}:host([type=success]){color:var(--s-color-on-success-container, #002111);background:var(--s-color-success-container, #92f7bc)}:host([type=warning]){color:var(--s-color-on-warning-container, #221b00);background:var(--s-color-warning-container, #ffe169)}:host([type=error]){color:var(--s-color-on-error-container, #93000A);background:var(--s-color-error-container, #FFDAD6)}svg{width:24px;height:24px;fill:currentColor;margin-right:8px;margin-left:-2px;box-sizing:border-box;flex-shrink:0;display:none}.text{flex-grow:1;min-width:0}:host(:not([type])) .info,:host([type=success]) .success,:host([type=warning]) .warning,:host([type=error]) .error{display:block}::slotted(*){flex-shrink:0}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-right:8px;margin-left:-2px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-right:-2px;margin-left:8px}::slotted(:is(svg,s-icon)){fill:currentColor;color:currentColor;width:24px;height:24px}::slotted(:is(s-button[slot=end],s-icon-button[slot=end])){margin-left:8px;margin-right:-8px;color:currentColor}::slotted(s-button[slot=end]){height:32px;padding:0 12px;border-radius:4px;font-size:.8125rem}::slotted(s-icon-button[slot=end]){width:32px;padding:5px}",vt='
',Q=class extends p({style:xt,template:vt,props:ft,syncProps:!0}){};Q.define(gt);var bt="s-appbar",yt={},wt=":host{display:flex;align-items:center;position:relative;padding:0 8px;container-name:host;container-type:inline-size;background:var(--s-color-surface-container, #ECEEF0)}::slotted([slot=navigation]){margin-left:4px;flex-shrink:0}::slotted([slot=logo]){margin-left:12px;height:32px;color:var(--s-color-primary, #006782);fill:currentColor;flex-shrink:0}::slotted([slot=headline]){font-size:1.375rem;font-weight:400;overflow:hidden;text-transform:capitalize;text-overflow:ellipsis;white-space:nowrap;margin:0 12px;color:var(--s-color-on-surface, #191C1E)}.view{flex-grow:1;min-width:0;height:100%;display:flex;align-items:center;justify-content:flex-end;height:64px;max-height:100%}::slotted([slot=action]){margin:0 4px;flex-shrink:0}::slotted(s-search[slot=search]){flex-shrink:0;height:40px;border-radius:20px;max-width:100%;margin:0 4px 0 8px}::slotted(s-appbar){height:100%;width:100%;max-width:1440px;background:none;margin:0 auto;padding:0}@container host (max-width: 1024px){.view{height:56px}::slotted(s-search[slot=search]){width:auto;flex-grow:1}}",kt='
',J=class extends p({style:wt,template:kt,props:yt}){};J.define(bt);var Et="s-avatar",Ct={src:""},St=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;aspect-ratio:1;-webkit-aspect-ratio:1;position:relative;font-size:1rem;font-weight:600;width:40px;border-radius:50%;color:var(--s-color-on-tertiary, #ffffff);background:var(--s-color-tertiary, #5C5B7E)}::slotted(:is(svg,s-icon)){color:currentColor;fill:currentColor;width:24px}::slotted([slot=badge]){position:absolute;right:0;bottom:0;outline:solid 2px var(--s-color-surface, #F8F9FB);color:var(--s-color-on-success, #ffffff);background:var(--s-color-success, #006d43)}img{width:100%;height:100%;border-radius:inherit;position:absolute;inset:0}",qt='',K=class extends p({style:St,template:qt,props:Ct,setup(o){let e=document.createElement("img");return{src:r=>{e.src=r,e.onload=()=>{this.dispatchEvent(new Event("load")),o.insertBefore(e,o.children[0])},e.onerror=()=>{this.dispatchEvent(new ErrorEvent("error")),e.isConnected&&o.removeChild(e)}}}}}){};K.define(Et);var zt="s-badge",Lt={},Ft=":host{display:inline-flex;justify-content:center;align-items:center;width:8px;height:8px;border-radius:8px;font-size:.625rem;vertical-align:middle;box-sizing:border-box;background:var(--s-color-error, #BA1A1A);color:var(--s-color-on-error, #ffffff)}:host(:not(:empty)) .text{height:16px;padding:0 5px;display:flex;position:relative;justify-content:center;align-items:center;background:inherit;color:inherit;outline:inherit;border-radius:8px}",Mt='',ee=class extends p({style:Ft,template:Mt,props:Lt}){};ee.define(zt);var w=s=>{let o=s.match(/^([\d\.]+)(s|ms)$/);if(!o)throw new Error;let e=Number(o[1]);return o[2]==="s"?e*1e3:e};var Tt="s-bottom-sheet",Pt={showed:!1,disabledGesture:!1},$t=':host{display:inline-block;vertical-align:middle}dialog{top:0;left:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;justify-content:center;align-items:flex-end;color:inherit;overflow:hidden}dialog::backdrop{background:none}dialog[open]{display:flex}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container{position:relative;border-radius:24px 24px 0 0;width:100%;max-height:calc(100% - 56px);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);max-width:425px;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container-low, #F2F4F5)}.indicator{width:100%;display:flex;justify-content:center;align-items:center;height:18px;cursor:pointer;flex-shrink:0}.indicator:before{content:"";width:40px;height:4px;border-radius:2px;background:var(--s-color-outline, #70787D);opacity:.4}::slotted([slot=text]){padding:24px;line-height:1.6}::slotted(:not([slot])){overscroll-behavior:none}@media (max-width: 768px){.container{max-width:768px}}',At='
',Dt=s=>{let o=document.body,e=document.body.firstElementChild;e&&e.tagName==="S-PAGE"&&(o=e);let r=new H,a=document.createElement("div");return a.slot="text",typeof s=="function"||s instanceof HTMLElement?s instanceof HTMLElement?r.appendChild(s):s(r):typeof s=="string"?(a.textContent=s,r.appendChild(a)):(s.root&&(o=s.root),s.disabledGesture&&(r.disabledGesture=s.disabledGesture),typeof s.view=="string"&&(a.textContent=s.view,r.appendChild(a)),s.view instanceof HTMLElement&&r.appendChild(s.view),typeof s.view=="function"&&s.view(r)),r.addEventListener("closed",()=>o.removeChild(r)),r.showed=!0,o.appendChild(r),r},H=class extends p({style:$t,template:At,props:Pt,syncProps:["showed"],setup(o){let e=o.querySelector("dialog"),r=o.querySelector(".container"),a=o.querySelector(".scrim"),i=o.querySelector(".indicator"),n=getComputedStyle(this),d=null,c=()=>{let u=n.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",g=n.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:u,duration:w(g)}};o.querySelector("#view").onslotchange=u=>{d=u.target.assignedElements()[0]??null},o.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};let l=u=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:u}}))||(this.showed=!1)};a.onclick=()=>l("SCRIM");let t=null;r.addEventListener("touchmove",u=>{let g=u.target;if(this.disabledGesture)return;let h=u.touches[0];if(!t)return t={y:h.pageY,x:h.pageX,disabled:!1,top:0,h:r.offsetHeight,now:Date.now()};if(t.disabled)return;let b=h.pageY-t.y,x=h.pageX-t.x;if(t.top=Math.min(t.h,Math.max(0,b)),g!==i&&d&&d.scrollTop>0||Math.abs(b){if(!t||t.disabled)return t=null;let u=Date.now()-t.now>300?t.h/3:20;if(t.top>u){if(!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:"GESTURE"}})))return;this.showed=!1}else r.animate({transform:[r.style.transform,"translateY(0)"]},c()),r.style.removeProperty("transform");t=null};let f=()=>{if(!this.isConnected||e.open)return;e.showModal(),e.classList.add("show");let u=c();a.animate({opacity:[0,1]},u),r.animate({transform:["translateY(100%)","translateY(0)"],opacity:[0,1]},u).finished.then(()=>this.dispatchEvent(new Event("showed")))},m=()=>{if(!this.isConnected||!e.open)return;e.classList.remove("show");let u=c(),g=r.style.transform;a.animate({opacity:[1,0]},u),r.animate({transform:[g===""?"translateY(0)":g,"translateY(100%)"],opacity:[1,0]},u).finished.then(()=>{e.close(),g&&r.style.removeProperty("transform"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!e.open&&f(),showed:u=>u?f():m()}}}){static builder=Dt};H.define(Tt);var k={mobileS:matchMedia("(max-width: 320px)"),mobileM:matchMedia("(max-width: 375px)"),mobileL:matchMedia("(max-width: 425px)"),tablet:matchMedia("(max-width: 768px)"),laptop:matchMedia("(max-width: 1024px)"),laptopL:matchMedia("(max-width: 1440px)"),anyPointerCoarse:matchMedia("(any-pointer: coarse)"),anyPointerFine:matchMedia("(any-pointer: fine)")};var Bt="s-ripple",Nt={centered:!1,attached:!1},Zt=':host{display:inline-block;vertical-align:middle;position:relative;cursor:pointer}:host([attached=true]),.container,.container:before,.ripple{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;border-radius:inherit}.container{overflow:hidden}.container:before{content:"";opacity:0;background:var(--ripple-color, currentColor);transition:opacity var(--s-motion-duration-short4, .1s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.container.hover:before{opacity:var(--ripple-hover-opacity, .12)}.ripple{color:color-mix(in srgb,var(--ripple-color, currentColor) calc(100% * var(--ripple-opacity, .18)),transparent);background:currentColor;border-radius:50%;transform:translate(-50%,-50%) scale(0);filter:blur(8px)}',Ht='
',z=class extends p({style:Zt,template:Ht,props:Nt,syncProps:!0,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".ripple"),a=getComputedStyle(this),i=()=>{let u=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",g=a.getPropertyValue("--s-motion-duration-long4")||"600ms",h=a.getPropertyValue("--s-motion-duration-short4")||"200ms";return{easing:u,duration:w(g),shortDuration:w(h)}},n=()=>!k.anyPointerCoarse.matches&&e.classList.add("hover"),d=()=>!k.anyPointerCoarse.matches&&e.classList.remove("hover"),c={parentNode:null,pressed:!1},l=u=>{let{offsetWidth:g,offsetHeight:h}=this,b=Math.sqrt(g**2+h**2),x={x:"50%",y:"50%"};if(!this.centered){let{left:U,top:We}=this.getBoundingClientRect(),et=u.clientX-U,tt=u.clientY-We,ot=h/2,rt=g/2,ct=(Math.abs(ot-tt)+ot)*2,dt=(Math.abs(rt-et)+rt)*2;b=Math.sqrt(ct**2+dt**2),x.x=`${et}px`,x.y=`${tt}px`}let v=r,y=()=>{};c.pressed?(v=r.cloneNode(),e.appendChild(v),y=()=>v.remove()):(c.pressed=!0,y=()=>c.pressed=!1);let C=c.parentNode??this,S=i();C.setAttribute("pressed","");let T={transform:"translate(-50%, -50%) scale(1)",boxShadow:"0 0 0 16px currentColor",opacity:1,width:`${b}px`,height:`${b}px`,left:`${x.x}`,top:`${x.y}`},G=v.animate([{...T,transform:"translate(-50%, -50%) scale(0)"},T],{duration:S.duration,fill:"forwards",easing:S.easing});return()=>{C.removeAttribute("pressed");let U=Number(G.currentTime),We=S.duration-S.shortDuration;v.animate({opacity:[1,0]},{duration:U>We?S.shortDuration:S.duration-U,easing:S.easing,fill:"forwards"}).finished.then(y)}},t=async u=>{if(u.button!==0)return;let g={};if(u.pointerType==="mouse"&&document.addEventListener("pointerup",l(u),{once:!0}),u.pointerType==="touch"){let h;g.timer=setTimeout(()=>{h=l(u),document.removeEventListener("touchmove",b),g.upper&&h()},40),document.addEventListener("touchend",()=>{if(!h)return g.upper=!0;h()},{once:!0});let b=()=>clearTimeout(g.timer);document.addEventListener("touchmove",b,{once:!0})}},f=u=>{u.addEventListener("mouseenter",n),u.addEventListener("mouseleave",d),u.addEventListener("wheel",d,{passive:!0}),u.addEventListener("pointerdown",t)},m=()=>{c.parentNode&&(c.parentNode.removeEventListener("mouseenter",n),c.parentNode.removeEventListener("mouseleave",d),c.parentNode.removeEventListener("wheel",d),c.parentNode.removeEventListener("pointerdown",t),c.parentNode=null)};return f(this),{onMounted:()=>{this.attached&&this.parentNode&&(c.parentNode=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode,f(c.parentNode))},onUnmounted:()=>this.attached&&m(),attached:u=>{if(!this.isConnected)return;if(!u)return m();let g=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;f(g)}}}}){};z.define(Bt);var It="s-button",jt={disabled:!1,type:"filled"},Vt=":host{justify-content:center;align-items:center;box-sizing:border-box;display:inline-flex;vertical-align:middle;border-radius:20px;padding:0 24px;height:40px;text-transform:capitalize;position:relative;cursor:pointer;font-size:.875rem;font-weight:500;max-width:100%;background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff);transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));overflow:hidden}:host([disabled=true]){pointer-events:none!important;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=elevated]){background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-primary, #006782);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][disabled=true]){box-shadow:none!important}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D);background:none;color:var(--s-color-primary, #006782)}:host([type=outlined][disabled=true]){background:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=text]){background:none;color:var(--s-color-primary, #006782);padding:0 16px}:host([type=text][disabled=true]){background:none!important}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon,s-circular-progress)){fill:currentColor;color:currentColor;width:18px;height:18px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-right:4px;margin-left:-8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-right:-8px;margin-left:4px}::slotted(s-circular-progress[slot=start]){margin-left:-8px;margin-right:8px}::slotted(s-circular-progress[slot=end]){margin-left:8px;margin-right:-8px}:host([type=text]) ::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-4px;margin-right:4px}:host([type=text]) ::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:4px;margin-right:-4px}:host(:not([type])[pressed]){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][pressed]){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}@media (any-pointer: fine){:host(:not([type]):hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",Yt='
',te=class extends p({style:Vt,template:Yt,props:jt,syncProps:!0}){};te.define(It);var Wt="s-card",_t={type:"elevated",clickable:!1},Rt=":host{display:inline-block;vertical-align:middle;border-radius:12px;position:relative;font-size:.875rem;box-sizing:border-box;max-width:280px;overflow:hidden;color:var(--s-color-on-surface, #191C1E);background:var(--s-color-surface-container-low, #F2F4F5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=filled]){box-shadow:none;background:var(--s-color-surface-container-highest, #E1E3E4)}:host([type=outlined]){box-shadow:none;background:var(--s-color-surface, #F8F9FB);border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([clickable=true]){cursor:pointer;transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}:host([clickable=true]) .ripple{display:block}.action{display:flex;justify-content:flex-end;gap:8px}.ripple{display:none;border-radius:0}::slotted([slot=image]){display:block;height:128px;background:var(--s-color-surface-container, #ECEEF0)}::slotted([slot=headline]){font-size:1.5rem;line-height:1.6;margin:16px 16px 0}::slotted([slot=subhead]){font-size:1rem;line-height:1.6;margin:4px 16px}::slotted([slot=text]){line-height:1.6;margin:8px 16px;color:var(--s-color-on-surface-variant, #40484C)}::slotted(s-button[slot=action]){margin:16px 0}::slotted(s-button[slot=action]:last-of-type){margin-right:16px}@media (any-pointer: fine){:host([clickable=true][type=filled]:hover),:host([clickable=true][type=outlined]:hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([clickable=true]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",Ot='
',oe=class extends p({style:Rt,template:Ot,props:_t,syncProps:!0,setup(o){let e=o.querySelector("slot[name=action]");e.onpointerdown=r=>r.stopPropagation()}}){};oe.define(Wt);var q=class{list=[];select;selectValue;flag=!1;constructor(o){let{context:e}=o;e.addEventListener(`${e.tagName.toLocaleLowerCase()}:select`,r=>{if(r.stopPropagation(),!(r.target instanceof o.class))return;let a;this.flag=!0,r.target.selected=!0,this.list.forEach(i=>{i!==r.target&&(i.selected&&(a=i),i.selected=!1)}),this.select=r.target,this.flag=!1,e.dispatchEvent(new Event("change")),this.onUpdate?.(a),this.onSelect?.()}),e.addEventListener(`${e.tagName.toLocaleLowerCase()}:update`,r=>{if(r.stopPropagation(),this.flag||this.list.length===0||!(r.target instanceof o.class))return;this.flag=!0;let a;r.target.selected?(this.select=r.target,this.list.forEach(i=>{i!==r.target&&(i.selected&&(a=i),i.selected=!1)})):delete this.select,this.flag=!1,this.onUpdate?.(a)}),o.slot.addEventListener("slotchange",()=>{this.flag=!0,delete this.select,this.list=o.slot.assignedElements().filter(r=>{if(r instanceof o.class){if(this.selectValue!==void 0)r.value===this.selectValue?(this.select=r,r.selected=!0):r.selected=!1;else{if(!this.select&&r.selected)return this.select=r,!0;this.select&&(r.selected=!1)}return!0}}),this.flag=!1,this.onSlotChange?.(),this.onUpdate?.()})}get value(){return this.list[this.list.indexOf(this.select)]?.value??""}set value(o){this.selectValue=o,this.list.length!==0&&(this.flag=!0,this.list.forEach(e=>{if(e.value===o){e.selected=!0,this.select=e;return}e.selected=!1}),this.onUpdate?.(),this.flag=!1)}get selectedIndex(){return this.list.indexOf(this.select)}};var re="s-carousel",Xt={value:"",autoplay:!1,duration:4e3},Gt=":host{display:flex;align-items:center;position:relative;overflow:hidden;border-radius:8px;cursor:pointer;aspect-ratio:2;-webkit-aspect-ratio:2}.container{display:flex;justify-content:flex-start;height:100%;min-width:100%;transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.track{position:absolute;bottom:0;left:0;width:100%;display:flex;gap:8px;align-items:center;justify-content:center;pointer-events:none;padding:12px 0}.track .indicator{width:8px;height:8px;border-radius:4px;background:#fff;opacity:.3;flex-shrink:0;cursor:pointer;pointer-events:auto;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.track .indicator.checked{opacity:1}",Ut='
',I=class extends p({style:Gt,template:Ut,props:Xt,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".track"),a=o.querySelector("slot"),i=new q({context:this,class:j,slot:a}),n=-1;i.onUpdate=()=>{r.childNodes.forEach(l=>l.classList.remove("checked")),e.style.transform=`translateX(${-i.selectedIndex*100}%)`,i.selectedIndex!==-1&&(r.childNodes[i.selectedIndex].classList.add("checked"),d())};let d=()=>{!this.autoplay||i.list.length===0||!this.isConnected||(c(),n=setTimeout(()=>{let l=i.selectedIndex+1;l>=i.list.length&&(l=0),i.list[l].selected=!0,this.dispatchEvent(new Event("change"))},this.duration))},c=()=>clearInterval(n);return i.onSlotChange=()=>{r.innerHTML="";let l=document.createDocumentFragment();i.list.forEach(t=>{let f=document.createElement("div");f.className="indicator",f.addEventListener("click",()=>t.dispatchEvent(new Event(`${re}:select`,{bubbles:!0}))),l.appendChild(f)}),r.appendChild(l)},e.onpointerdown=l=>{if(i.list.length<=1)return;c();let t=l.pageX,f=l.pageY,m=e.offsetWidth,u=i.list[i.selectedIndex-1],g=i.list[i.selectedIndex+1],h={now:0,left:0,next:void 0},b=y=>{let C=y instanceof TouchEvent?y.touches[0]:y,S=C.pageX-t,T=C.pageY-f;if(y instanceof TouchEvent&&Math.abs(S)0||!g&&h.left<0)&&(h.left=h.left*.2),h.left<0&&g||h.left>0&&u){let G=Math.abs(h.left)/m*.05;i.select.style.transition="none",i.select.style.transform=`scale(${.05-G+.95})`,h.next=h.left<0?g:u,h.next.style.transition="none",h.next.style.transform=`scale(${G+.95})`}e.style.transition="none",e.style.pointerEvents="none",e.style.transform=`translateX(calc(${-i.selectedIndex*100}% + ${h.left}px))`,y.cancelable&&y.preventDefault()},x=()=>{document.removeEventListener(v.up,x),document.removeEventListener(v.move,b),e.style.removeProperty("pointer-events"),e.style.removeProperty("transition"),i.select.style.removeProperty("transition"),i.select.style.removeProperty("transform"),h.next?.style.removeProperty("transition"),h.next?.style.removeProperty("transform");let y=i.selectedIndex;if(!(y===0&&h.left>0||y===i.list.length-1&&h.left<0)){let C=Date.now()-h.now>300?m/2:20;if(Math.abs(h.left)>C){h.next?.dispatchEvent(new Event(`${re}:select`,{bubbles:!0}));return}}e.style.transform=`translateX(${-i.selectedIndex*100}%)`,d()},v={move:k.anyPointerCoarse.matches?"touchmove":"pointermove",up:k.anyPointerCoarse.matches?"touchend":"pointerup"};document.addEventListener(v.move,b,{passive:!1}),document.addEventListener(v.up,x)},{expose:{get options(){return i.list},get selectedIndex(){return i.selectedIndex},togglePrevious:()=>{let l=i.list[i.selectedIndex-1];l&&(l.selected=!0)},toggleNext:()=>{let l=i.list[i.selectedIndex+1];l&&(l.selected=!0)}},onMounted:d,onUnmounted:c,value:{get:()=>i.value,set:l=>{i.value=l,d()}},autoplay:d}}}){},Qt="s-carousel-item",Jt={selected:!1,value:""},Kt=":host{user-drag:none;-webkit-user-drag:none;flex-shrink:0;width:100%;height:100%;border-radius:8px;background:var(--s-color-surface-container-high, #E7E8EA);transform:scale(.95);transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));background-repeat:round}:host([selected=true]){transform:scale(1)}",eo="",j=class extends p({style:Kt,template:eo,props:Jt,syncProps:["selected"],setup(){return{selected:()=>{this.parentNode instanceof I&&this.dispatchEvent(new Event(`${re}:update`,{bubbles:!0}))}}}}){};I.define(re),j.define(Qt);var to="s-checkbox",oo={disabled:!1,checked:!1,indeterminate:!1},ro=":host{display:inline-flex;align-items:center;vertical-align:middle;cursor:pointer;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked,.indeterminate{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;width:100%;height:100%}.checked,.indeterminate{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([indeterminate=true]) .unchecked{opacity:0}:host([checked=true]:not([indeterminate=true])) .checked,:host([indeterminate=true]) .indeterminate{opacity:1;transform:scale(1)}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked],[slot=indeterminate])){color:currentColor;fill:currentColor;width:60%;height:60%}",so='
',se=class extends p({style:ro,template:so,props:oo,syncProps:!0,setup(){this.addEventListener("click",()=>{this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){};se.define(to);var io="s-chip",ao={type:"filled",value:"",checked:!1,disabled:!1,clickable:!1},no=":host{display:inline-flex;align-items:center;vertical-align:middle;padding:0 16px;height:32px;border-radius:16px;box-sizing:border-box;font-size:.8125rem;font-weight:500;position:relative;cursor:pointer;overflow:hidden;background:var(--s-color-surface-container-high, #E7E8EA);color:var(--s-color-on-surface, #191C1E);transition-property:color,background-color,box-shadow;transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([disabled=true]){pointer-events:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important;background:color-mix(in srgb,var(--s-color-surface-container-high, #E7E8EA) 38%,transparent)!important}:host([checked=true]){border:none;background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-primary, #006782)}:host([type=outlined]){background:none;border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([type=outlined][checked=true]){border-color:var(--s-color-primary, #006782)}::slotted(:is(s-icon,svg)){width:18px;height:18px;flex-shrink:0;fill:currentColor;color:currentColor}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:8px;margin-right:-8px}::slotted(s-avatar){width:24px;height:24px;font-size:.75rem}::slotted(s-avatar[slot=start]){margin-left:-12px;margin-right:8px}::slotted(s-icon-button[slot=action]){margin:0 -12px 0 8px;width:24px;height:24px;padding:3px;color:currentColor}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:host(:not([clickable=true])) .ripple{display:none}",lo='
',ie=class extends p({style:no,template:lo,props:ao,syncProps:["checked","clickable","disabled","type"],setup(o){let e=o.querySelector("slot[name=action]");e.onclick=r=>r.stopPropagation(),e.onpointerdown=r=>r.stopPropagation(),this.addEventListener("click",()=>{this.clickable&&(this.checked=!this.checked,this.dispatchEvent(new Event("change")))})}}){};ie.define(io);var co="s-circular-progress",po={indeterminate:!1,animated:!1,max:100,value:0},ho=":host{display:inline-block;vertical-align:middle;position:relative;width:48px;aspect-ratio:1;-webkit-aspect-ratio:1;color:var(--s-color-primary, #006782)}:host([animated=true]) .known .block{transition-duration:var(--s-motion-duration-medium4, .4s);transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-name:stroke-dashoffset,transform}:host([indeterminate=true]) .known,.unknown{display:none}:host([indeterminate=true]) .unknown,.known{display:block}.container{width:100%;height:100%;border-radius:inherit;position:relative}svg{height:inherit;width:inherit;stroke:currentColor}circle{stroke-linecap:round;fill:none;stroke-dasharray:var(--dasharray)}.track{stroke:var(--s-color-secondary-container, #CFE6F1)}.unknown{animation:rotate 1568ms linear infinite}@keyframes stroke{0%{stroke-dashoffset:var(--dasharray)}50%{stroke-dashoffset:calc(var(--dasharray) / 4)}to{stroke-dashoffset:var(--dasharray)}}@keyframes stroke-rotate{0%{transform:rotate(0)}12.5%{transform:rotate(0)}25%{transform:rotate(270deg)}37.5%{transform:rotate(270deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(540deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(810deg)}to{transform:rotate(1080deg)}to{transform:rotate(1080deg)}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}",E=48,F=4,M=(E-F)*Math.PI,mo=`
`,ae=class extends p({style:ho,template:mo,props:po,syncProps:["indeterminate","animated"],setup(o){let e=o.querySelector(".known .track"),r=o.querySelector(".known .indicator"),a=()=>{let i=Math.min(this.value,this.max)/this.max*100,n=M-M*(i/100),d=i/100*360;e.style.strokeDashoffset=`${i===0?0:Math.min(M+16-n,M)}px`,e.setAttribute("transform",`rotate(${d+20}, ${E/2}, ${E/2})`),r.style.strokeDashoffset=`${n}px`};return{max:a,value:a}}}){};ae.define(co);var P=(s,o="yyyy-MM-dd")=>{typeof s=="string"&&(s=new Date(s));let e=s.getFullYear(),r=s.getMonth()+1,a=s.getDate();return o.replace("yyyy",e.toString()).replace("MM",r.toString().padStart(2,"0")).replace("dd",a.toString().padStart(2,"0"))};var ne=class{list;locale=navigator.language;updates=new Map;constructor(o){this.list=o}getItem(o){if(o=o||this.locale,o in this.list)return this.list[o];let[e]=o.split("-");return e in this.list?this.list[e]:this.list.zh}addItem(o,e){if(this.list[o])throw new Error(`Locale ${o} already exists`);this.list[o]=e}setLocale(o){this.locale=o??navigator.language,this.updates.forEach(e=>e())}};var L=new ne({});L.list={zh:{display:s=>`${s.getFullYear()}\u5E74${s.getMonth()+1}\u6708${s.getDate()}\u65E5 \u661F\u671F${L.list.zh.displayWeeks[s.getDay()]}`,displayMonth:s=>`${s.getFullYear()}\u5E74`,displayWeeks:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},en:{display:s=>`${["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][s.getDay()]}, Jan ${s.getDate()}`,displayMonth:s=>`${["January","February","March","April","May","June","July","August","September","October","November","December"][s.getMonth()]} ${s.getFullYear()}`,displayWeeks:["S","M","T","W","T","F","S"]}};var uo="s-date",go={value:"",locale:"",max:"2099-12-31",min:"1900-01-01"},fo=":host{display:inline-block;vertical-align:middle;border-radius:8px;font-size:.875rem;max-width:360px;overflow:hidden;box-sizing:border-box;border:solid 1px var(--s-color-surface-variant, #DCE4E8);background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-on-surface, #191C1E)}.button,.icon-button{display:flex;justify-content:center;align-items:center;height:36px;box-sizing:border-box;font-size:.8125rem;color:var(--s-color-on-surface-variant, #40484C)}.icon-button{width:36px;border-radius:50%}.button{border-radius:18px;height:36px;padding:0 12px}svg{width:24px;fill:currentColor;box-sizing:border-box}.header{padding:24px 24px 16px;font-size:1.25rem;border-bottom:solid 1px var(--s-color-surface-variant, #DCE4E8);background:var(--s-color-surface-container, #ECEEF0)}.container{display:flex;flex-direction:column;position:relative}.action{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}.action>.year>svg{margin:0 -8px 0 2px;padding:1px}.action>.toggle{display:flex}.years{display:flex;flex-wrap:wrap;overflow:auto;gap:4px;column-gap:6px;padding:0 16px 16px;margin-top:-12px;max-height:280px;counter-reset:year-counter 1899}.years>.item{counter-increment:year-counter;flex-grow:1}.years>.item:before{content:counter(year-counter)}.weeks{display:flex;padding:0 16px;font-size:.8125rem;color:var(--s-color-outline, #70787D)}.weeks>.item,.days>.item{width:calc(100% / 7);display:inline-flex;justify-content:center}.days{padding:16px;display:flex;flex-wrap:wrap}.days>.overflow~.item{display:none}.days>.item>s-ripple{margin:2px}.days>.checked>s-ripple,.years>.checked{pointer-events:none;background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}.container:not(.show-years) .years,.show-years :is(.weeks,.days,.action>.toggle){display:none}",$={years:[],weeks:[],days:[]};for(let s=0;s<200;s++)s<7&&$.weeks.push('
'),s<31&&$.days.push(`
${s+1}
`),$.years.push('');var xo=`
${$.years.join("")}
${$.weeks.join("")}
${$.days.join("")}
`,_e=class{yearSelect;daySelect;dayOverflow;date;min;max;constructor(o,e,r){this.date=typeof o=="string"?new Date(o):o,this.min=new Date(e),this.max=new Date(r)}},at=(s,o)=>{let e=new Date(s,o+1,1);return e.setDate(e.getDate()-1),e.getDate()},le=class extends p({style:fo,template:xo,props:go,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".header>span"),a=o.querySelector(".action>.year"),i=o.querySelector(".action>.toggle>.prev"),n=o.querySelector(".action>.toggle>.next"),d=o.querySelector(".years"),c=o.querySelector(".weeks"),l=o.querySelector(".days"),t=new _e(this.value||new Date,this.min,this.max),f=()=>{let x=L.getItem(this.locale).display;r.textContent=x(t.date);let v=L.getItem(this.locale).displayMonth;a.children[0].textContent=v(t.date)},m=()=>{let x=L.getItem(this.locale).displayWeeks;c.childNodes.forEach((v,y)=>v.textContent=x[y])},u=()=>{let x=new Date(t.date.getFullYear(),t.date.getMonth(),1).getDay();l.children[0].setAttribute("style",`margin-left: calc((100% / 7) * ${x})`);let v=new Date(t.date.getFullYear(),t.date.getMonth()+1,0).getDate();t.dayOverflow?.classList.remove("overflow"),t.dayOverflow=l.children[v-1],t.dayOverflow.classList.add("overflow"),t.yearSelect?.classList.remove("checked"),t.yearSelect=d.children[t.date.getFullYear()-t.min.getFullYear()],t.yearSelect.classList.add("checked"),t.daySelect?.classList.remove("checked"),t.daySelect=l.children[t.date.getDate()-1],t.daySelect.classList.add("checked"),e.style.removeProperty("height")},g=()=>{let x=t.max.getFullYear()-t.min.getFullYear();d.innerHTML="",d.style.counterReset=`year-counter ${t.min.getFullYear()-1}`;let v=document.createDocumentFragment();for(let y=0;y<=x;y++){let C=new z;C.classList.add("button","item"),v.appendChild(C)}d.appendChild(v),u()},h=(x,v,y)=>{this.value=P(new Date(x,v,y)),this.dispatchEvent(new Event("change"))};a.onclick=()=>{let x=e.offsetHeight;if(e.classList.toggle("show-years"),e.classList.contains("show-years")){e.style.height=`${x}px`,t.yearSelect&&d.scrollTo({top:t.yearSelect.offsetTop-d.offsetHeight/2+t.yearSelect.offsetHeight/2});return}},i.onclick=()=>{let x=at(t.date.getFullYear(),t.date.getMonth()-1),v=Math.min(t.date.getDate(),x);h(t.date.getFullYear(),t.date.getMonth()-1,v)},n.onclick=()=>{let x=at(t.date.getFullYear(),t.date.getMonth()+1),v=Math.min(t.date.getDate(),x);h(t.date.getFullYear(),t.date.getMonth()+1,v)},d.onclick=x=>{if(!(x.target instanceof z))return;e.classList.remove("show-years");let v=Array.from(d.children).indexOf(x.target)+t.min.getFullYear();h(v,t.date.getMonth(),t.date.getDate())},l.onclick=x=>{if(!(x.target instanceof z))return;let v=Array.from(l.children).indexOf(x.target.parentElement)+1;h(t.date.getFullYear(),t.date.getMonth(),v)};let b=()=>{f(),m()};return u(),b(),{onMounted:()=>L.updates.set(this,b),onUnmounted:()=>L.updates.delete(this),min:x=>{let v=new Date(x);if(isNaN(v.getTime())||v.getTime()>t.date.getTime())throw Error("invalid min date");t.min=v,g()},max:x=>{let v=new Date(x);if(isNaN(v.getTime())||v.getTime()P(t.date),set:x=>{let v=new Date(x);if(isNaN(v.getTime())||v.getTime()t.max.getTime())throw Error("invalid date");t.date=v,f(),u()}},locale:b}}}){static addLocale(o,e){L.addItem(o,e)}static setLocale(o){L.setLocale(o)}};le.define(uo);var vo="s-date-picker",Re={value:"",min:"",max:"",label:"",positiveText:"\u786E\u5B9A",negativeText:"\u53D6\u6D88",format:"yyyy-MM-dd",locale:""},bo=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--date-picker-border-radius: 4px;--date-picker-border-color: var(--s-color-outline, #70787D);--date-picker-border-width: 1px;--date-picker-padding: 16px;--date-picker-height: 48px}s-dialog{display:block}.field{--field-border-radius: var(--date-picker-border-radius);--field-border-color: var(--date-picker-border-color);--field-border-width: var(--date-picker-border-width);--field-padding: var(--date-picker-padding);height:var(--date-picker-height);position:relative;cursor:pointer}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--date-picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--date-picker-padding) * -1) + 12px));margin-right:max(0px,calc(var(--date-picker-padding) - 4px));fill:var(--s-color-on-surface-variant, #40484C)}.ripple{border-radius:var(--date-picker-border-radius)}.date{border:none;max-width:360px;border-radius:0}.positive,.negative{border-radius:20px}",yo=`
${Re.negativeText}${Re.positiveText}
`,ce=class extends p({style:bo,template:yo,props:Re,setup(o){let e=o.querySelector("s-dialog"),r=o.querySelector("s-date"),a=o.querySelector(".negative"),i=o.querySelector(".positive"),n=o.querySelector("s-field"),d=o.querySelector(".label"),c=o.querySelector(".view"),l={date:""};return e.addEventListener("show",()=>{n.fixed=!0,n.focused=!0,l.date||(c.textContent=this.label,c.style.opacity="0")}),e.onclose=()=>{n.focused=!1,l.date||(n.fixed=!1)},i.onclick=()=>{this.value=r.value,c.style.removeProperty("opacity"),this.dispatchEvent(new Event("change"))},{value:{get:()=>l.date,set:t=>{if(l.date=t,t===""){r.value=P(new Date),n.fixed=!1,c.textContent="";return}n.fixed=!0,c.textContent=P(t,this.format),r.value=t}},locale:{get:()=>r.locale,set:t=>r.locale=t},min:{get:()=>r.min,set:t=>r.min=t},max:{get:()=>r.max,set:t=>r.max=t},label:t=>d.textContent=t,positiveText:t=>i.textContent=t,negativeText:t=>a.textContent=t}}}){};ce.define(vo);var wo="s-scroll-view",ko={},Eo=":host{display:block;overflow:auto}@media (any-pointer: fine){:host::-webkit-scrollbar{background:transparent;width:6px;height:6px}:host::-webkit-scrollbar-thumb{background:var(--s-color-outline-variant, #C0C8CC);border-radius:3px}@supports not selector(::-webkit-scrollbar){:host{scrollbar-color:var(--s-color-outline-variant, #C0C8CC) transparent}}}",Co="",de=class extends p({style:Eo,template:Co,props:ko}){};de.define(wo);var So="s-dialog",qo={showed:!1,size:"standard"},zo=":host{display:inline-block;vertical-align:middle}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;color:inherit}dialog::backdrop{background:none}.wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative;pointer-events:none}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container,::slotted([slot=custom]){max-width:calc(100% - 48px);max-height:calc(100% - 48px);pointer-events:auto;position:relative;border-radius:28px;display:flex;flex-direction:column;overflow:hidden;transition-timing-function:ease-out;box-shadow:var(--s-elevation-level5, 0 10px 14px -6px rgba(0, 0, 0, .2), 0 22px 35px 3px rgba(0, 0, 0, .14), 0 8px 42px 7px rgba(0, 0, 0, .12));background:var(--s-color-surface-container-high, #E7E8EA)}:host([size=full]) .container{width:100%;height:100%;border-radius:0;max-width:none;max-height:none}::slotted([slot=headline]){padding:24px 24px 0;font-size:1.5rem;line-height:1.6;font-weight:600;color:var(--s-color-on-surface, #191C1E);flex-shrink:0}.text{user-select:text;-webkit-user-select:text;flex-grow:1}::slotted([slot=text]){margin:16px 24px;line-height:1.6}:host(:not([size=full])) ::slotted(:is(:not([slot]),[slot=text])){max-width:425px}.action{display:flex;justify-content:flex-end;padding:0 14px;flex-shrink:0}::slotted([slot=action]){min-width:72px;margin:16px 2px;display:inline-flex;align-items:center;padding:0 24px;color:var(--s-color-primary, #006782);box-sizing:border-box;height:40px;font-size:.875rem;cursor:pointer}",Lo='
',Fo=s=>{let o=document.body,e=new V,r=document.body.firstElementChild;if(r&&r.tagName==="S-PAGE"&&(o=r),typeof s=="string"){let a=document.createElement("div");a.slot="text",a.textContent=s,e.appendChild(a)}else{if(s.root&&(o=s.root),s.headline){let i=document.createElement("div");i.slot="headline",i.textContent=s.headline,e.appendChild(i)}if(s.text){let i=document.createElement("div");i.slot="text",i.textContent=s.text,e.appendChild(i)}s.view&&(typeof s.view=="function"?s.view(e):e.appendChild(s.view));let a=s.actions??[];for(let i of Array.isArray(a)?a:[a]){let n=document.createElement("s-button");n.slot="action",n.type="text",n.textContent=i.text,i.click&&(n.onclick=i.click),e.appendChild(n)}}return e.showed=!0,e.addEventListener("closed",()=>o.removeChild(e)),o.appendChild(e),e},V=class extends p({style:zo,template:Lo,props:qo,syncProps:!0,setup(o){let e=o.querySelector("dialog"),r=o.querySelector(".scrim"),a=o.querySelector(".wrapper"),i=getComputedStyle(this),n=()=>{let t=i.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",f=i.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:t,duration:w(f)}};o.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};let d=t=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:t}}))||(this.showed=!1)};o.querySelector(".scrim").onclick=()=>d("SCRIM"),o.querySelector("slot[name=action]").onclick=()=>d("ACTION");let c=()=>{if(!this.isConnected||e.open)return;let t=n();e.showModal(),e.classList.add("show"),r.animate({opacity:[0,1]},t),a.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},t).addEventListener("finish",()=>this.dispatchEvent(new Event("showed")))},l=()=>{if(!this.isConnected||!e.open)return;let t=n();r.animate({opacity:[1,0]},t),a.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},t).addEventListener("finish",()=>{e.close(),e.classList.remove("show"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!e.open&&c(),showed:t=>t?c():l()}}}){static builder=Fo};V.define(So);var Mo="s-divider",To={},Po=':host{display:flex;align-items:center;margin:0 16px;gap:8px;font-size:.75rem;color:var(--s-color-outline, #70787D)}:host:before,:host:after{content:"";flex-grow:1;border-top:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host(:empty){gap:0}',$o="",pe=class extends p({style:Po,template:$o,props:To}){};pe.define(Mo);var Ao="s-drawer",Do={},Bo=":host{display:flex;height:100%;overflow:hidden;position:relative;container-name:host;container-type:inline-size}.start,.end{flex-shrink:0;height:100%;display:none;overflow:hidden}.start{order:-1}.scrim{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;display:none;pointer-events:none;background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent)}.view{display:flex;flex-direction:column;flex-grow:1;min-width:0;height:100%;position:relative}::slotted(:is([slot=start],[slot=end])){width:280px;border-width:1px;height:100%;box-sizing:border-box;pointer-events:auto;position:relative;background:var(--s-color-surface-container-low, #F2F4F5);border-color:var(--s-color-surface-variant, #DCE4E8)}::slotted([slot=start]){border-right-style:solid}::slotted([slot=end]){border-left-style:solid}::slotted(s-scroll-view:not([slot])){flex-grow:1}@container host not (max-width: 1024px){.start.show,.end.show{display:block}}@container host (max-width: 1024px){.scrim{display:block;z-index:1}.scrim.show-laptop{opacity:1;pointer-events:auto}.start,.end{position:absolute;z-index:1;max-width:75%;display:none}.end{left:auto;right:0}.start.show-laptop,.end.show-laptop{display:block}::slotted(:is([slot=start],[slot=end])){border-left-style:none;border-right-style:none;box-shadow:var(--s-elevation-level-3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12))}}",No='
',he=class extends p({style:Bo,template:No,props:Do,setup(o){let e=o.querySelector(".scrim"),r={start:o.querySelector(".start"),end:o.querySelector(".end")},a=getComputedStyle(this),i=()=>{let m=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",u=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:m,duration:w(u)}},n=(m="start")=>r[m],d=m=>m??this.offsetWidth<=1024?"show-laptop":"show",c=(m="start")=>({start:-1,end:1})[m],l=(m,u)=>{let g=n(m),h=d(u);if(g.classList.contains(h))return;let b=c(m),x=i();g.classList.add(h),e.classList.add(h);let v=this.offsetWidth<=1024?{transform:[`translateX(${g.offsetWidth*b}px)`,"translateX(0)"]}:{width:["0",g.offsetWidth+"px"]};e.animate({opacity:[0,1]},x),g.animate(v,x)},t=(m,u)=>{let g=n(m),h=d(u);if(!g.classList.contains(h))return;let b=c(m),x=i(),v={display:["block","block"],...this.offsetWidth<=1024?{transform:["translateX(0)",`translateX(${g.offsetWidth*b}px)`]}:{width:[g.offsetWidth+"px","0"]}};g.animate(v,x),e.animate({opacity:[1,0]},x),g.classList.remove(h),e.classList.remove(h)},f=(m,u)=>{let g=n(m),h=d(u);g.classList.contains(h)?t(m,u):l(m,u)};return e.addEventListener("click",()=>{t("start",!0),t("end",!0)}),{expose:{show:l,close:t,toggle:f}}}}){};he.define(Ao);var Zo="s-empty",Ho={},Io=":host{display:flex;justify-content:center;flex-direction:column;align-items:center;padding:48px 16px;gap:12px;font-size:.75rem;border-radius:4px;box-sizing:border-box;color:var(--s-color-outline, #70787D)}.shadow{fill:var(--s-color-surface-container-high, #E7E8EA)}.box{fill:var(--s-color-surface-container-highest, #E1E3E4)}.border{stroke:var(--s-color-outline, #70787D)}::slotted(:is(svg,s-icon)){color:currentColor;fill:currentColor;width:40px}",jo='',me=class extends p({style:Io,template:jo,props:Ho}){};me.define(Zo);var Vo="s-fab",Yo={hidden:!1,disabled:!1},Wo=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;position:relative;cursor:pointer;box-sizing:border-box;min-height:48px;font-size:.875rem;border-radius:28px;font-weight:500;white-space:nowrap;text-transform:capitalize;padding:0 24px;transition-property:box-shadow,transform;transition-duration:var(--s-motion-duration-short4, .2s);transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-primary-container, #BAEAFF);color:var(--s-color-on-primary-container, #004D62)}:host([disabled=true]){pointer-events:none;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([hidden=true]){transform:scale(0);pointer-events:none}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon)){width:24px;height:24px;fill:currentColor;color:currentColor}::slotted(:is(svg,s-icon):not([slot])){margin:16px -8px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-left:8px;margin-right:-8px}:host([pressed]){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}@media (any-pointer: fine){:host(:hover){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",_o='',ue=class extends p({style:Wo,template:_o,props:Yo,syncProps:!0}){};ue.define(Vo);var Ro="s-icon-button",Oo={disabled:!1,type:"standard"},Xo=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;cursor:pointer;border-radius:50%;width:40px;aspect-ratio:1;-webkit-aspect-ratio:1;color:var(--s-color-on-surface-variant, #40484C);position:relative;box-sizing:border-box}:host([disabled=true]){pointer-events:none!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=filled]){background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}:host([type=filled][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=filled]) ::slotted([slot=badge]){outline:solid 2px var(--s-color-surface, #F8F9FB)}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=filled-tonal][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D)}:host([type=outlined][disabled=true]){border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E))!important}.ripple{border-radius:inherit}::slotted(:not([slot=badge])){color:inherit}::slotted(svg){width:24px;height:24px;fill:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0;flex-shrink:0}",Go='',ge=class extends p({style:Xo,template:Go,props:Oo,syncProps:!0}){};ge.define(Ro);var Uo="s-icon",Qo={name:"none",src:""},Jo=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;width:24px;aspect-ratio:1;-webkit-aspect-ratio:1;fill:currentColor;box-sizing:border-box;color:var(--s-color-on-surface-variant, #40484C)}svg,img{width:100%;height:100%}::slotted(*){width:100%;height:100%}",fe={none:"",home:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z",add:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z",search:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z",menu:"M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z",arrow_back:"m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z",arrow_forward:{name:"arrow_back",angle:180},arrow_upward:{name:"arrow_back",angle:90},arrow_downward:{name:"arrow_back",angle:-90},arrow_drop_up:"m280-400 200-200 200 200H280Z",arrow_drop_down:{name:"arrow_drop_up",angle:180},arrow_drop_left:{name:"arrow_drop_up",angle:-90},arrow_drop_right:{name:"arrow_drop_up",angle:90},more_vert:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z",more_horiz:{name:"more_vert",angle:90},close:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z",done:"M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z",chevron_up:"M480-528 296-344l-56-56 240-240 240 240-56 56-184-184Z",chevron_down:{name:"chevron_up",angle:180},chevron_left:{name:"chevron_up",angle:-90},chevron_right:{name:"chevron_up",angle:90},light_mode:"M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM200-440H40v-80h160v80Zm720 0H760v-80h160v80ZM440-760v-160h80v160h-80Zm0 720v-160h80v160h-80ZM256-650l-101-97 57-59 96 100-52 56Zm492 496-97-101 53-55 101 97-57 59Zm-98-550 97-101 59 57-100 96-56-52ZM154-212l101-97 55 53-97 101-59-57Zm326-268Z",dark_mode:"M480-120q-150 0-255-105T120-480q0-150 105-255t255-105q14 0 27.5 1t26.5 3q-41 29-65.5 75.5T444-660q0 90 63 153t153 63q55 0 101-24.5t75-65.5q2 13 3 26.5t1 27.5q0 150-105 255T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z",star:"m354-287 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-120l65-281L80-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-350Z",favorite:"m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Zm0-108q96-86 158-147.5t98-107q36-45.5 50-81t14-70.5q0-60-40-100t-100-40q-47 0-87 26.5T518-680h-76q-15-41-55-67.5T300-774q-60 0-100 40t-40 100q0 35 14 70.5t50 81q36 45.5 98 107T480-228Zm0-273Z"},Ko="",xe=class extends p({style:Jo,template:Ko,props:Qo,syncProps:["name"],setup(o){let e=o.querySelector("slot"),r=document.createElement("img"),a=(i=fe.none,n="")=>``;return{name:()=>{let i=fe[this.name];if(typeof i=="string")return e.innerHTML=a(i);let n=i.name;typeof fe[n]=="string"&&(e.innerHTML=a(fe[n],`rotate(${i.angle} 480 -480)`))},src:async()=>{try{let i=new URL(this.src,location.href);if(i.pathname.endsWith(".svg")){let n=await(await fetch(i.href)).text(),d=document.createElement("template");d.innerHTML=n;let c=d.content.childNodes[0];if(!(c instanceof SVGElement))throw new Error("Invalid SVG");e.innerHTML="",e.appendChild(c),this.dispatchEvent(new Event("load"))}else r.src=i.href,r.onload=()=>{e.innerHTML="",e.appendChild(r),this.dispatchEvent(new Event("load"))},r.onerror=()=>this.dispatchEvent(new ErrorEvent("error"))}catch{this.dispatchEvent(new ErrorEvent("error"))}}}}}){};xe.define(Uo);var er="s-linear-progress",tr={indeterminate:!1,animated:!1,max:100,value:0},or=":host{display:block;height:4px;color:var(--s-color-primary, #006782);border-radius:2px;overflow:hidden}:host([animated=true]) .known>.block{transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([indeterminate=true]) .known,.unknown{display:none}:host([indeterminate=true]) .unknown,.known{display:flex}.container{height:100%;border-radius:inherit;position:relative}.block{position:absolute;height:100%;border-radius:inherit;width:100%;left:0;top:0}.track{background:var(--s-color-secondary-container, #CFE6F1)}.indicator{background:currentColor}.indicator-dot{position:absolute;right:0;top:0;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;background:currentColor;border-radius:inherit}@keyframes unknown{0%{transform:translate(0)}to{transform:translate(150%)}}.unknown{justify-content:flex-end;gap:4px;animation:unknown 2s linear infinite}.unknown .block{position:static;flex-grow:1;width:100%;flex-shrink:0}.unknown .indicator{width:50%}",rr='
',ve=class extends p({style:or,template:rr,props:tr,syncProps:["indeterminate","animated"],setup(o){let e=o.querySelector(".known>.track"),r=o.querySelector(".known>.indicator"),a=()=>{let i=Math.min(this.value,this.max)/this.max*100;e.style.transform=`translateX(calc(${i}% + ${i===0?0:4}px))`,r.style.transform=`translateX(${i-100}%)`};return{max:a,value:a}}}){};ve.define(er);var sr="s-menu",ir={},ar=":host{display:flex;flex-direction:column;font-size:.875rem;padding:4px 0;background:var(--s-color-surface-container-low, #F2F4F5)}:host(:nth-of-type(n+2)){border-top:solid 1px var(--s-color-surface-variant, #DCE4E8)}::slotted([slot=label]){display:flex;align-items:center;height:44px;margin:-4px 20px;font-size:.75rem;color:var(--s-color-on-surface-variant, #40484C);white-space:nowrap;max-width:100%;overflow:hidden}",nr='',be=class extends p({style:ar,template:nr,props:ir}){},lr="s-menu-item",nt={checked:!1,folded:!0},cr=":host{display:flex;flex-direction:column;margin:4px 8px 4px 0;color:var(--s-color-on-surface, #191C1E)}.container{display:flex;align-items:center;height:40px;border-radius:0 24px 24px 0;padding:0 20px;flex-shrink:0}:host([checked=true]) .container{background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toggle-icon{width:24px;height:24px;display:none;margin-right:-8px;margin-left:12px;transform:rotate(-90deg);transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));fill:var(--s-color-on-surface-variant, #40484C)}.show-menu .toggle-icon{display:block}:host([folded=false]) .toggle-icon{transform:rotate(0)}.fold{flex-shrink:0}.show-menu+.fold{margin:0 -8px 0 0}.menu{display:block;padding-top:8px}::slotted(:is(svg,s-icon)){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;height:24px;width:24px}:host([checked=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:12px}::slotted([slot=end]){margin-right:-8px;margin-left:12px}::slotted([slot=menu]){background:var(--s-color-surface-container-high, #E7E8EA)}",dr=`
`,ye=class extends p({style:cr,template:dr,props:nt,syncProps:!0,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".fold"),a=o.querySelector("slot[name=menu]");return r.onclick=i=>i.stopPropagation(),a.onslotchange=()=>e.classList[a.assignedElements().length>0?"add":"remove"]("show-menu"),e.onclick=()=>{e.classList.contains("show-menu")&&(this.folded=!this.folded)},{folded:i=>r.folded=i}}}){};be.define(sr),ye.define(lr);var Oe="s-navigation",pr={mode:"bottom",value:""},hr=":host{display:flex;justify-content:center;align-items:center;overflow:hidden;background:var(--s-color-surface, #F8F9FB);box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));position:relative;padding-bottom:env(safe-area-inset-bottom)}:host([mode=rail]){flex-direction:column;justify-content:flex-start;width:80px;box-shadow:none;height:100%;background:none;padding-bottom:0}::slotted(s-navigation-item){height:64px}:host([mode=rail]) ::slotted(s-navigation-item){height:72px}:host([mode=rail]) ::slotted(s-icon-button[slot=start]){width:56px;height:56px;margin:16px 0 8px;border-radius:12px}:host([mode=rail]) ::slotted([slot=end]){flex-grow:1}",mr='',A=class extends p({style:hr,template:mr,props:pr,syncProps:!0,setup(o){let e=o.querySelector("#slot"),r=new q({context:this,class:Y,slot:e});return{expose:{get options(){return r.list},get selectedIndex(){return r.selectedIndex}},value:{get:()=>r.value,set:a=>r.value=a}}}}){},ur="s-navigation-item",gr={selected:!1,value:""},fr=":host{display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;position:relative;font-size:.75rem;font-weight:500;box-sizing:border-box;width:100%;max-width:80px;text-transform:capitalize;transition:color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-primary, #006782)}.icon{position:relative;display:flex;justify-content:center;align-items:center;height:28px;width:48px;border-radius:14px;transition:background-color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([selected=true]) .icon{background:var(--s-color-secondary-container, #CFE6F1)}::slotted(*){flex-shrink:0}::slotted(svg){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;width:24px;height:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0}::slotted([slot=text]){margin-top:4px}",xr='',Y=class extends p({style:fr,template:xr,props:gr,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof A&&this.dispatchEvent(new Event(`${Oe}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof A&&this.dispatchEvent(new Event(`${Oe}:update`,{bubbles:!0}))}}}}){};A.define(Oe),Y.define(ur);var vr="s-field",br={focused:!1,fixed:!0},yr=':host{display:inline-block;vertical-align:middle;font-size:.875rem;--field-padding: 16px;--field-padding-top: var(--field-padding);--field-padding-bottom: var(--field-padding);--field-padding-left: var(--field-padding);--field-padding-right: var(--field-padding);--field-border-radius: 4px;--field-border-width: 1px;--field-focused-border-width: 2px;--field-border-color: var(--s-color-outline, #70787D)}.container{display:flex;height:100%;min-height:inherit}.line{position:relative}.line:before,.line:after{position:absolute;content:"";top:0;left:0;height:100%;width:100%;box-sizing:border-box;border-width:var(--field-border-width);border-color:var(--field-border-color);pointer-events:none}.line:after{border-width:var(--field-focused-border-width);border-color:var(--s-color-primary, #006782);opacity:0;transition:opacity .2s ease-out}:host([focused=true]) .line:after{opacity:1}.start,.end{display:flex;align-items:center;flex-shrink:0;min-width:var(--field-border-radius)}.start:before,.end:before,.start:after,.end:after{border-top-style:solid;border-bottom-style:solid}.start:before,.start:after{border-left-style:solid;border-top-left-radius:var(--field-border-radius);border-bottom-left-radius:var(--field-border-radius)}.end:before,.end:after{border-right-style:solid;border-top-right-radius:var(--field-border-radius);border-bottom-right-radius:var(--field-border-radius);left:auto;right:0}.box{display:grid;grid-template-areas:"a" "a";flex-grow:1}.box:before,.box:after{border-bottom-style:solid}.top,.view{height:100%;display:flex;grid-area:a;position:relative;box-sizing:border-box;margin-left:calc(var(--field-border-radius) * -1);margin-right:calc(var(--field-border-radius) * -1)}.view{align-items:center}.top{pointer-events:none}.top>.left:before,.top>.right:before,.top>.left:after,.top>.right:after{border-top-style:solid}.top>.left{width:calc(var(--field-padding-left) - var(--field-border-radius) - 4px);margin-left:max(4px,var(--field-border-radius));margin-right:min(4px,calc(var(--field-padding-left) - var(--field-border-radius)));flex-shrink:0}:host([fixed=false]) .top>.left{width:calc(var(--field-padding-left) - var(--field-border-radius));margin-right:0}.top>.right{flex-grow:1;width:calc(var(--field-padding-right) - var(--field-border-radius) - 4px);margin-left:min(4px,calc(var(--field-padding-right) - var(--field-border-radius)));margin-right:max(4px,var(--field-border-radius))}:host([fixed=false]) .top>.right{width:calc(var(--field-padding-left) - var(--field-border-radius));margin-left:0}.label{display:block;height:100%;flex-shrink:0}.label>.line:before,.label>.line:after,:host([fixed=false]) .label:before,:host([fixed=false]) .label:after{border-top-style:solid}.label>.line:before,.label>.line:after{transform:translate(-50%);width:min(calc(var(--field-padding-right) - var(--field-border-radius)),8px)}::slotted([slot=label]){display:flex;height:100%;font-size:.75rem;align-items:center;transform:translateY(-50%);color:var(--field-border-color);transition:transform .2s ease-out,font-size .2s ease-out;box-sizing:border-box;position:relative}:host([fixed=false]) ::slotted([slot=label]),::slotted([slot=label]:empty){font-size:inherit;transform:translateY(0)}::slotted([slot=label]:empty):before,::slotted([slot=label]:empty):after{content:"";position:absolute;top:0;left:0;transform:translate(-50%);width:min(calc(var(--field-padding-right) - var(--field-border-radius)),8px);border-top:solid var(--field-border-width);var(--field-border-color)}::slotted([slot=label]:empty):after{opacity:0;border-width:var(--field-focused-border-width);transition:opacity .2s ease-out;border-color:var(--s-color-primary, #006782)}:host([focused=true]) ::slotted([slot=label]:empty):after{opacity:1}:host([focused=true]) ::slotted([slot=label]){color:var(--s-color-primary, #006782)}::slotted(:not([slot])){padding-left:var(--field-padding-left);padding-right:var(--field-padding-right);padding-top:var(--field-padding-top);padding-bottom:var(--field-padding-bottom);display:flex;align-items:center;height:100%;box-sizing:border-box}',wr='
',we=class extends p({style:yr,template:wr,props:br,syncProps:!0}){};we.define(vr);var kr="s-fold",Er={folded:!1},Cr=":host{display:block}.container{display:grid;grid-template-rows:1fr;overflow:hidden;transition:grid-template-rows var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([folded=true]) .container{grid-template-rows:0fr}.view{display:block;min-height:0;overflow:hidden}",Sr='
',ke=class extends p({style:Cr,template:Sr,props:Er,syncProps:!0,setup(o){o.querySelector("slot[name=trigger]").onclick=()=>this.folded=!this.folded}}){};ke.define(kr);var qr="s-page",zr={theme:"light"},Lr=":host{display:flow-root;height:100%;font-family:Roboto,system-ui;color:var(--s-color-on-background);background:var(--s-color-background);--s-color-scrim: #000000;--s-color-primary: #006782;--s-color-on-primary: #ffffff;--s-color-primary-container: #BAEAFF;--s-color-on-primary-container: #004D62;--s-color-secondary: #4C616B;--s-color-on-secondary: #ffffff;--s-color-secondary-container: #CFE6F1;--s-color-on-secondary-container: #354A53;--s-color-tertiary: #5C5B7E;--s-color-on-tertiary: #ffffff;--s-color-tertiary-container: #E2DFFF;--s-color-on-tertiary-container: #444465;--s-color-error: #BA1A1A;--s-color-on-error: #ffffff;--s-color-error-container: #FFDAD6;--s-color-on-error-container: #93000A;--s-color-background: #F8F9FB;--s-color-on-background: #191C1E;--s-color-outline: #70787D;--s-color-outline-variant: #C0C8CC;--s-color-surface: #F8F9FB;--s-color-on-surface: #191C1E;--s-color-surface-variant: #DCE4E8;--s-color-on-surface-variant: #40484C;--s-color-inverse-surface: #2E3132;--s-color-inverse-on-surface: #EFF1F3;--s-color-inverse-primary: #60D4FE;--s-color-surface-container: #ECEEF0;--s-color-surface-container-high: #E7E8EA;--s-color-surface-container-highest: #E1E3E4;--s-color-surface-container-low: #F2F4F5;--s-color-surface-container-lowest: #FFFFFF;--s-color-success: #006d43;--s-color-on-success: #ffffff;--s-color-success-container: #92f7bc;--s-color-on-success-container: #002111;--s-color-warning: #6f5d00;--s-color-on-warning: #ffffff;--s-color-warning-container: #ffe169;--s-color-on-warning-container: #221b00;--s-color-dark-primary: #60D4FE;--s-color-dark-on-primary: #003545;--s-color-dark-primary-container: #004D62;--s-color-dark-on-primary-container: #BAEAFF;--s-color-dark-secondary: #B4CAD5;--s-color-dark-on-secondary: #1E333C;--s-color-dark-secondary-container: #354A53;--s-color-dark-on-secondary-container: #CFE6F1;--s-color-dark-tertiary: #C4C3EA;--s-color-dark-on-tertiary: #2D2D4D;--s-color-dark-tertiary-container: #444465;--s-color-dark-on-tertiary-container: #E2DFFF;--s-color-dark-error: #FFB4AB;--s-color-dark-on-error: #690005;--s-color-dark-error-container: #93000A;--s-color-dark-on-error-container: #FFDAD6;--s-color-dark-background: #111415;--s-color-dark-on-background: #E1E3E4;--s-color-dark-outline: #8A9296;--s-color-dark-outline-variant: #40484C;--s-color-dark-surface: #111415;--s-color-dark-on-surface: #E1E3E4;--s-color-dark-surface-variant: #40484C;--s-color-dark-on-surface-variant: #C0C8CC;--s-color-dark-inverse-surface: #E1E3E4;--s-color-dark-inverse-on-surface: #2E3132;--s-color-dark-inverse-primary: #006782;--s-color-dark-surface-container: #1D2022;--s-color-dark-surface-container-high: #272A2C;--s-color-dark-surface-container-highest: #323537;--s-color-dark-surface-container-low: #191C1E;--s-color-dark-surface-container-lowest: #0C0F10;--s-color-dark-success: #76daa1;--s-color-dark-on-success: #003920;--s-color-dark-success-container: #005231;--s-color-dark-on-success-container: #92f7bc;--s-color-dark-warning: #e2c54b;--s-color-dark-on-warning: #3a3000;--s-color-dark-warning-container: #544600;--s-color-dark-on-warning-container: #ffe169;--s-elevation-level1: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);--s-elevation-level2: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);--s-elevation-level3: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);--s-elevation-level4: 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12);--s-elevation-level5: 0 10px 14px -6px rgba(0, 0, 0, .2), 0 22px 35px 3px rgba(0, 0, 0, .14), 0 8px 42px 7px rgba(0, 0, 0, .12);--s-motion-Duration-Short1: 50ms;--s-motion-duration-short2: .1s;--s-motion-duration-short3: .15s;--s-motion-duration-short4: .2s;--s-motion-duration-medium1: .25s;--s-motion-duration-medium2: .3s;--s-motion-duration-medium3: .35s;--s-motion-duration-medium4: .4s;--s-motion-duration-long1: .45s;--s-motion-duration-long2: .5s;--s-motion-duration-long3: .55s;--s-motion-duration-long4: .6s;--s-motion-duration-extra-long1: .7s;--s-motion-duration-extra-long2: .8s;--s-motion-duration-extra-long3: .9s;--s-motion-duration-extra-long4: 1s;--s-motion-easing-emphasized: cubic-bezier(.2, 0, 0, 1);--s-motion-easing-emphasized-decelerate: cubic-bezier(.05, .7, .1, 1);--s-motion-easing-emphasized-accelerate: cubic-bezier(.3, 0, .8, .15);--s-motion-easing-standard: cubic-bezier(.2, 0, 0, 1);--s-motion-easing-standard-decelerate: cubic-bezier(0, 0, 0, 1);--s-motion-easing-standard-accelerate: cubic-bezier(.3, 0, 1, 1)}:host([dark]){--s-color-primary: var(--s-color-dark-primary) !important;--s-color-on-primary: var(--s-color-dark-on-primary) !important;--s-color-primary-container: var(--s-color-dark-primary-container) !important;--s-color-on-primary-container: var(--s-color-dark-on-primary-container) !important;--s-color-secondary: var(--s-color-dark-secondary) !important;--s-color-on-secondary: var(--s-color-dark-on-secondary) !important;--s-color-secondary-container: var(--s-color-dark-secondary-container) !important;--s-color-on-secondary-container: var(--s-color-dark-on-secondary-container) !important;--s-color-tertiary: var(--s-color-dark-tertiary) !important;--s-color-on-tertiary: var(--s-color-dark-on-tertiary) !important;--s-color-tertiary-container: var(--s-color-dark-tertiary-container) !important;--s-color-on-tertiary-container: var(--s-color-dark-on-tertiary-container) !important;--s-color-error: var(--s-color-dark-error) !important;--s-color-on-error: var(--s-color-dark-on-error) !important;--s-color-error-container: var(--s-color-dark-error-container) !important;--s-color-on-error-container: var(--s-color-dark-on-error-container) !important;--s-color-background: var(--s-color-dark-background) !important;--s-color-on-background: var(--s-color-dark-on-background) !important;--s-color-outline: var(--s-color-dark-outline) !important;--s-color-outline-variant: var(--s-color-dark-outline-variant) !important;--s-color-surface: var(--s-color-dark-surface) !important;--s-color-on-surface: var(--s-color-dark-on-surface) !important;--s-color-surface-variant: var(--s-color-dark-surface-variant) !important;--s-color-on-surface-variant: var(--s-color-dark-on-surface-variant) !important;--s-color-inverse-surface: var(--s-color-dark-inverse-surface) !important;--s-color-inverse-on-surface: var(--s-color-dark-inverse-on-surface) !important;--s-color-inverse-primary: var(--s-color-dark-inverse-primary) !important;--s-color-surface-container: var(--s-color-dark-surface-container) !important;--s-color-surface-container-high: var(--s-color-dark-surface-container-high) !important;--s-color-surface-container-highest: var(--s-color-dark-surface-container-highest) !important;--s-color-surface-container-low: var(--s-color-dark-surface-container-low) !important;--s-color-surface-container-lowest: var(--s-color-dark-surface-container-lowest) !important;--s-color-success: var(--s-color-dark-success) !important;--s-color-on-success: var(--s-color-dark-on-success) !important;--s-color-success-container: var(--s-color-dark-success-container) !important;--s-color-on-success-container: var(--s-color-dark-on-success-container) !important;--s-color-warning: var(--s-color-dark-warning) !important;--s-color-on-warning: var(--s-color-dark-on-warning) !important;--s-color-warning-container: var(--s-color-dark-warning-container) !important;--s-color-on-warning-container: var(--s-color-dark-on-warning-container) !important}",Fr="",Xe=document.createElement("style");Xe.textContent="::view-transition-old(root),::view-transition-new(root) { animation: none; mix-blend-mode: normal}";var Ee=class extends p({style:Lr,template:Fr,props:zr,setup(){let o=getComputedStyle(this),e=matchMedia("(prefers-color-scheme: dark)"),r=()=>{let i=o.getPropertyValue("--s-motion-easing-standard-accelerate")||"cubic-bezier(0.3, 0, 1, 1)",n=o.getPropertyValue("--s-motion-duration-long4")||"600ms";return{easing:i,duration:w(n)}},a=()=>this.theme==="auto"?e.matches:this.theme==="dark";return{expose:{toggle:(i,n)=>new Promise(d=>{if(this.theme===i)return;let c=e.matches,l=b=>b==="auto"?c?"dark":"light":b,t=l(this.theme),f=l(i);if(t===f||!document.startViewTransition)return this.theme=i,d();let m=innerWidth,u=innerHeight,g={clipPath:[`circle(0px at 50% ${u/2}px)`,`circle(${Math.sqrt(m**2+u**2)/2}px at 50% ${u/2}px)`]};if(n&&n.isConnected){let{left:b,top:x}=n.getBoundingClientRect(),v=b+n.offsetWidth/2,y=x+n.offsetHeight/2,C=Math.max(m-v,v),S=Math.max(u-y,y),T=Math.sqrt(C**2+S**2);g.clipPath[0]=`circle(0px at ${v}px ${y}px)`,g.clipPath[1]=`circle(${T}px at ${v}px ${y}px)`}let h=document.startViewTransition(()=>{this.theme=i,document.head.appendChild(Xe)});h.ready.then(async()=>{let b=document.documentElement.animate(g,{...r(),pseudoElement:"::view-transition-new(root)"});d(b),await h.finished,Xe.remove()})}),get isDark(){return a()}},theme:i=>{if(i==="light")return this.removeAttribute("dark");if(i==="dark")return this.setAttribute("dark","");let n=()=>{e.matches?this.setAttribute("dark",""):this.removeAttribute("dark"),this.dispatchEvent(new Event("change"))};e.onchange=n,n()}}}}){};Ee.define(qr);var Mr="s-pagination",Tr={value:1,total:20,count:20,type:"standard"},Pr=":host{display:inline-flex;justify-content:center;align-items:center;font-size:.875rem;border-radius:18px;gap:4px;color:var(--s-color-on-surface, #191C1E)}:host([type=outlined]) :is(.icon-button,.button){border-width:1px;border-color:var(--s-color-outline-variant, #C0C8CC);border-style:solid}.container{display:flex;gap:inherit}.icon-button,.button{cursor:pointer;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.icon-button{border-radius:50%;height:32px;width:32px}.button{height:32px;padding:0 8px;min-width:32px;border-radius:16px;box-sizing:border-box}.checked{background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53);border-color:var(--s-color-secondary, #4C616B)!important}.disabled{pointer-events:none;opacity:.38}.text{pointer-events:none;border:none!important}svg{width:24px;height:24px;padding:1px;box-sizing:border-box;fill:var(--s-color-on-surface-variant, #40484C)}",$r='
1
',Ce=class extends p({style:Pr,template:$r,props:Tr,syncProps:["type"],setup(o){let e=o.querySelector(".prev"),r=o.querySelector(".next"),a=o.querySelector(".container"),i=()=>this.dispatchEvent(new Event("change")),n=()=>{let c=Math.ceil(this.total/this.count),l=Math.max(Math.min(c-7,Math.max(0,this.value-4)),0);if(a.childNodes.forEach(t=>{l++;let f=t;f.textContent=l.toString(),f.classList.toggle("checked",this.value===l),f.classList.remove("text")}),e.classList.toggle("disabled",this.value===1),r.classList.toggle("disabled",this.value===c),c>7){if(this.value>=5){a.childNodes.item(0).textContent="1";let t=a.childNodes.item(1);t.textContent="...",t.classList.add("text")}if(this.value<=c-4){a.childNodes.item(a.childNodes.length-1).textContent=c.toString();let t=a.childNodes.item(a.childNodes.length-2);t.textContent="...",t.classList.add("text")}}},d=()=>{let c=Math.ceil(this.total/this.count),l=Math.min(c,7),t=document.createDocumentFragment();for(let f=1;f<=l;f++){let m=new z;m.classList.add("button"),t.appendChild(m)}a.innerHTML="",a.appendChild(t),n()};return a.onclick=c=>{if(!(c.target instanceof z))return;let l=Number(c.target.textContent);l!==this.value&&(this.value=l,i())},e.onclick=()=>{let c=Math.max(this.value-1,1);c!==this.value&&(this.value=c,i())},r.onclick=()=>{let c=Math.min(this.value+1,Math.ceil(this.total/this.count));c!==this.value&&(this.value=c,i())},{total:d,value:n}}}){};Ce.define(Mr);var Ge="s-picker",Ar={disabled:!1,label:"",value:""},Dr=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--picker-border-radius: 4px;--picker-border-color: var(--s-color-outline, #70787D);--picker-border-width: 1px;--picker-padding: 16px;--picker-height: 48px}:host([disabled=true]){pointer-events:none;opacity:.38}.popup{display:block;cursor:pointer;position:relative}.ripple{border-radius:var(--picker-border-radius)}.field{--field-border-radius: var(--picker-border-radius);--field-border-color: var(--picker-border-color);--field-border-width: var(--picker-border-width);--field-padding: var(--picker-padding);height:var(--picker-height);width:100%;position:relative}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--picker-padding) * -1) + 4px));margin-right:max(0px,calc(var(--picker-padding) - 12px));fill:var(--s-color-on-surface-variant, #40484C)}.container{max-height:408px;box-sizing:border-box;display:flex;flex-direction:column;font-size:.875rem;padding:4px 0;gap:4px}",Br='
',D=class extends p({style:Dr,template:Br,props:Ar,syncProps:["disabled"],setup(o){let e=o.querySelector(".popup"),r=o.querySelector(".field"),a=o.querySelector(".label"),i=o.querySelector(".view"),n=o.querySelector("#slot"),d=o.querySelector(".container"),c=new q({context:this,class:W,slot:n});return e.addEventListener("show",()=>{r.focused=!0,r.fixed=!0,c.select||(i.textContent=this.label,i.style.opacity="0"),d.style.minWidth=`${this.offsetWidth}px`,c.select&&d.scrollTo({top:c.select.offsetTop-d.offsetTop-(d.offsetHeight/2-c.select.offsetHeight/2)})}),e.onclose=()=>{r.focused=!1,!c.select&&(r.fixed=!1)},e.addEventListener("closed",()=>d.style.removeProperty("min-width")),c.onUpdate=()=>{if(!c.select){r.fixed=!1,i.textContent="";return}r.fixed=!0,i.style.removeProperty("opacity"),i.textContent=c.select.textContent},c.onSelect=()=>e.close(),{expose:{get options(){return c.list},get selectedIndex(){return c.selectedIndex},get show(){return e.show},get toggle(){return e.toggle},get close(){return e.close}},label:l=>a.textContent=l,value:{get:()=>c.value,set:l=>c.value=l}}}}){},Nr="s-picker-item",Zr={selected:!1,value:""},Hr=":host{display:flex;align-items:center;height:40px;margin:0 4px;cursor:pointer;position:relative;border-radius:4px;flex-shrink:0;padding:0 12px;color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;height:24px;width:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-4px}",Ir='
',W=class extends p({style:Hr,template:Ir,props:Zr,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof D&&this.dispatchEvent(new Event(`${Ge}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof D&&this.dispatchEvent(new Event(`${Ge}:update`,{bubbles:!0}))}}}}){};D.define(Ge),W.define(Nr);var jr="s-popup",Vr={align:"bottom"},Yr=":host{display:inline-block;vertical-align:middle;text-align:left}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;position:relative;overflow:hidden;color:inherit}dialog::backdrop{background:none}.scrim{position:absolute;top:0;left:0;width:100%;height:100%}.container{position:relative;width:fit-content;max-width:100%;max-height:100%}::slotted(:not([slot])){border-radius:4px;max-width:100%;max-height:100%;white-space:nowrap;box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container, #ECEEF0)}",Wr='
',Se=class extends p({style:Yr,template:Wr,props:Vr,setup(o){let e=o.querySelector("dialog"),r=o.querySelector(".container"),a=getComputedStyle(this),i=()=>{let l=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",t=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:l,duration:w(t)}},n=l=>{if(!this.isConnected||e.open)return;let t={top:0,left:0,origin:[]};if(e.showModal(),!this.dispatchEvent(new Event("show",{cancelable:!0})))return e.close();let f=r.offsetWidth,m=r.offsetHeight;if(!l||l instanceof HTMLElement){let g=l??this;if(!g)return;let h=g.getBoundingClientRect(),b={middle(x){t.origin[0]="center",t.left=h.left-(f-h.width)/2;let v=()=>(t.top=h.top+h.height,t.origin[1]="top",t.top+m>innerHeight),y=()=>(t.top=h.top-m,t.origin[1]="bottom",t.top<0);t.left<0&&(t.left=h.left,t.origin[0]="left"),t.left+f>innerWidth&&(t.left=h.left+h.width-f,t.origin[0]="right"),x==="top"&&y()&&v(),x==="bottom"&&v()&&y()},left(){return t.origin=["right","top"],t.left=h.left-f,t.top=h.top,t.left<0},right(){return t.origin=["left","top"],t.left=h.left+h.width,t.top=h.top,t.left+f>innerWidth}};switch(this.align){case"bottom":case"top":b.middle(this.align);break;case"left":b.left()&&b.right();break;case"right":b.right()&&b.left();break}}else t.top=l.y,t.left=l.x,t.origin=l.origin?.split(" ")??["left","top"],l.x+f>innerWidth&&(t.left=l.x-f,t.origin[0]="right"),l.y+m>innerHeight&&(t.top=l.y-m,t.origin[1]="bottom");r.style.transformOrigin=t.origin.join(" "),r.style.top=`${Math.max(t.top,0)}px`,r.style.left=`${Math.max(t.left,0)}px`;let u=r.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},i());this.setAttribute("showed",""),u.finished.then(()=>this.dispatchEvent(new Event("showed")))},d=()=>{if(!this.isConnected||!e.open||r.getAnimations().length>0||!this.dispatchEvent(new Event("close",{cancelable:!0})))return;let l=r.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},i());this.removeAttribute("showed"),l.finished.then(()=>{e.close(),this.dispatchEvent(new Event("closed"))})},c=l=>e.open?d():n(l);return o.querySelector("slot[name=trigger]").addEventListener("click",()=>n()),o.querySelector(".scrim").addEventListener("pointerdown",d),{expose:{show:n,toggle:c,close:d},onMounted:()=>addEventListener("resize",d),onUnmounted:()=>removeEventListener("resize",d)}}}){};Se.define(jr);var Ue="s-popup-menu",_r={group:""},Rr=":host{display:inline-block;vertical-align:middle;font-size:.875rem}.popup{display:block}.container{box-sizing:border-box;padding:4px 0;max-width:224px;min-height:auto;display:flex;flex-direction:column;gap:4px}::slotted(s-popup-menu[group=start]){border-top:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-top:4px;padding-top:4px}::slotted(s-popup-menu[group=end]){border-bottom:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-bottom:4px;padding-bottom:4px}",Or='',qe=class s extends p({style:Rr,template:Or,props:_r,syncProps:!0,setup(o){let e=o.querySelector(".popup"),r=o.querySelector("slot[name=trigger]");return r.onclick=a=>{a.stopPropagation(),e.show()},this.addEventListener(`${Ue}:click`,a=>{a.stopPropagation(),e.close()}),{onMounted:()=>{this.parentNode instanceof s&&e.setAttribute("align","right")},expose:{get show(){return e.show},get toggle(){return e.toggle},get close(){return e.close}}}}}){},Xr="s-popup-menu-item",Gr={},Ur=":host{display:flex;align-items:center;height:40px;margin:0 4px;padding:0 12px;cursor:pointer;position:relative;border-radius:4px;color:var(--s-color-on-surface, #191C1E)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){fill:currentColor;height:24px;width:24px;color:var(--s-color-on-surface-variant, #40484C)}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-6px}",Qr='
',ze=class extends p({style:Ur,template:Qr,props:Gr,setup(){this.addEventListener("click",()=>this.dispatchEvent(new Event(`${Ue}:click`,{bubbles:!0})))}}){};qe.define(Ue),ze.define(Xr);var Jr="s-radio-button",Kr={disabled:!1,checked:!1,name:"",value:""},es=":host{display:inline-flex;vertical-align:middle;align-items:center;cursor:pointer;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:100%;height:100%}.checked{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([checked=true]:not([indeterminate=true])) .checked{opacity:1;transform:scale(1)}.dot{width:60%;height:60%;transform:scale(.4);background:currentColor;border-radius:50%}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked])){color:currentColor;fill:currentColor;width:60%;height:60%}",ts='
',Le=class extends p({style:es,template:ts,props:Kr,syncProps:["checked","disabled","name"],setup(){this.addEventListener("click",()=>{this.checked=!0,this.name&&document.querySelectorAll(`${this.tagName}[name='${this.name}']`).forEach(o=>{o!==this&&(o.checked=!1)}),this.dispatchEvent(new Event("change"))})}}){};Le.define(Jr);var os="s-rate",_={readOnly:!1,max:10,min:0,value:5,step:1},rs=":host{display:inline-flex;vertical-align:middle;overflow:hidden;position:relative;font-size:24px;width:5em;height:1em}.track{width:100%;display:flex}.track svg,::slotted([slot=track]){fill:var(--s-color-secondary-container, #CFE6F1);filter:drop-shadow(1em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(2em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(3em 0 0 var(--s-color-secondary-container, #CFE6F1))}.indicator{position:absolute;left:0;top:0;height:100%;width:50%;overflow:hidden;display:flex}.indicator svg,::slotted([slot=indicator]){fill:var(--s-color-primary, #006782);filter:drop-shadow(1em 0 0 var(--s-color-primary, #006782)) drop-shadow(2em 0 0 var(--s-color-primary, #006782)) drop-shadow(3em 0 0 var(--s-color-primary, #006782)) drop-shadow(4em 0 0 var(--s-color-primary, #006782))}svg,::slotted(*){height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;flex-shrink:0}input{position:absolute;left:0;top:0;height:100%;width:100%;cursor:pointer;opacity:0;margin:0}:host([readonly=true]) input{display:none}",ss=``,Fe=class extends p({style:rs,template:ss,props:_,syncProps:["readOnly"],setup(o){let e=o.querySelector(".indicator"),r=o.querySelector("input"),a=()=>{let i=(Number(r.value)-this.min)*100/this.max-this.min;e.style.width=`${i}%`};return r.onchange=()=>this.dispatchEvent(new Event("change")),r.oninput=()=>{this.value=Number(r.value),this.dispatchEvent(new Event("input"))},{max:i=>{r.max=String(i),a()},min:i=>{r.min=String(i),a()},step:i=>{r.step=String(i),a()},value:i=>{r.value=String(i),a()}}}}){};Fe.define(os);var is="s-search",as={placeholder:"",disabled:!1,value:"",maxLength:-1,readOnly:!1},ns=":host{display:inline-flex;vertical-align:middle;min-height:40px;width:220px;border-radius:20px;font-size:.875rem;position:relative;background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-on-surface, #191C1E)}.wrapper{display:grid;flex-direction:column;position:relative;border-radius:inherit;overflow:hidden;background:inherit;min-height:inherit;flex-grow:1;width:100%;outline:solid 1px var(--s-color-surface-variant, #DCE4E8)}:host(:focus-within) .wrapper{position:absolute}.container{display:flex;align-items:center;position:relative;min-height:inherit}input{border:none;padding:0 16px;height:100%;width:0;flex-grow:1;background:none;outline:none;font-size:inherit;color:inherit;box-sizing:border-box;line-height:1;font-family:inherit;caret-color:var(--s-color-primary, #006782)}input::placeholder{color:var(--s-color-outline, #70787D)}input::selection{background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}::slotted([slot=dropdown]){position:absolute;pointer-events:none;left:0;height:0;opacity:0;border-top:solid 1px var(--s-color-surface-variant, #DCE4E8);height:auto}:host(:focus-within) ::slotted([slot=dropdown]){pointer-events:auto;position:relative;opacity:1}::slotted([slot]){flex-shrink:0}::slotted(svg){height:24px;width:24px;fill:var(--s-color-on-surface-variant, #40484C)}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin:0 -8px 0 8px}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin:0 8px 0 -8px}::slotted(s-icon-button[slot=start]){margin-right:-16px}::slotted(s-icon-button[slot=end]){margin-left:-16px}",ls='
',Me=class extends p({style:ns,template:ls,props:as,syncProps:["disabled","readOnly"],setup(o){let e=o.querySelector("input"),r=o.querySelector("[name=dropdown]");return r.onmousedown=a=>a.preventDefault(),e.onchange=()=>this.dispatchEvent(new Event("change")),{expose:{get native(){return e}},value:{get:()=>e.value,set:a=>e.value=a},placeholder:a=>e.placeholder=a,maxLength:a=>e.maxLength=a,readOnly:a=>e.readOnly=a}}}){};Me.define(is);var Qe="s-segmented-button",cs={value:"",mode:"auto"},ds=":host{display:inline-flex;vertical-align:middle;align-items:center;border-radius:20px;height:40px;padding:3px;overflow:hidden;box-sizing:border-box;border:solid 1px var(--s-color-surface-variant, #C0C8CC);background:var(--s-color-surface-container, #ECEEF0)}:host([mode=fixed]){display:flex}:host([mode=fixed]) ::slotted(s-segmented-button-item){flex-basis:100%}",ps="",B=class extends p({style:ds,template:ps,props:cs,syncProps:["mode"],setup(o){let e=o.querySelector("slot"),r=new q({context:this,class:R,slot:e}),a=getComputedStyle(this),i=()=>{let n=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",d=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:n,duration:w(d)}};return r.onUpdate=n=>{if(!n||!r.select||!this.isConnected)return;let d=n.shadowRoot.querySelector(".indicator").getBoundingClientRect(),c=r.select.shadowRoot.querySelector(".indicator"),l=c.getBoundingClientRect(),t=d.left-l.left;c.style.transform=`translateX(${l.left>d.left?t:Math.abs(t)}px)`,c.style.width=`${d.width}px`,n.style.zIndex="1";let f=c.animate([{transform:"translateX(0)",width:`${l.width}px`}],i());f.onfinish=f.oncancel=f.onremove=()=>{c.style.removeProperty("transform"),c.style.removeProperty("width"),n.style.removeProperty("z-index")}},{expose:{get options(){return r.list},get selectedIndex(){return r.selectedIndex}},value:{get:()=>r.value,set:n=>r.value=n}}}}){},hs="s-segmented-button-item",ms={selected:!1,disabled:!1,selectable:!0,value:""},us=":host{display:flex;justify-content:center;align-items:center;height:100%;min-width:64px;padding:0 16px;text-transform:capitalize;cursor:pointer;font-weight:500;font-size:.8125rem;position:relative;box-sizing:border-box;border-radius:20px;transition:color var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-on-primary, #ffffff)}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}.indicator{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;border-radius:inherit;background:var(--s-color-primary, #006782)}:host([selected=true]) .indicator{opacity:1}::slotted([slot]){width:18px;height:18px;color:inherit;fill:currentColor;flex-shrink:0;position:relative}::slotted([slot=start]){margin-right:4px}::slotted([slot=end]){margin-right:4px}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;position:relative}",gs='
',R=class extends p({style:us,template:gs,props:ms,syncProps:["selected","disabled"],setup(){return this.addEventListener("click",()=>{!(this.parentNode instanceof B)||this.selected||this.selectable&&this.dispatchEvent(new Event(`${Qe}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof B&&this.dispatchEvent(new CustomEvent(`${Qe}:update`,{bubbles:!0,detail:{}}))}}}}){};B.define(Qe),R.define(hs);var fs="s-skeleton",xs={},vs=":host{display:block;height:16px;animation:skeleton var(--s-motion-duration-extra-long4, 1s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1)) infinite;background:linear-gradient(90deg,var(--s-color-surface-container-high, #E7E8EA) 25%,var(--s-color-surface-container-highest, #E1E3E4) 37%,var(--s-color-surface-container-high, #E7E8EA) 63%);background-size:400% 100%;border-radius:8px}@keyframes skeleton{0%{background-position:100% 50%}to{background-position:0 50%}}",bs="",Te=class extends p({style:vs,template:bs,props:xs}){};Te.define(fs);var ys="s-slider",N={disabled:!1,labeled:!1,max:100,min:0,step:1,value:0},ws=':host{display:block;color:var(--s-color-primary, #006782);height:16px;cursor:pointer;position:relative}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}.container{height:100%;display:flex;align-items:center;position:relative;pointer-events:none}.track,.indicator{height:4px;border-radius:2px;position:absolute;right:0}.track{background:var(--s-color-secondary-container, #CFE6F1);width:calc(100% - 20px)}:host([disabled=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.indicator{left:0;width:0;background:currentColor}.handle{position:relative;height:16px;width:16px;flex-shrink:0;display:flex;justify-content:center}.thumb{position:relative;height:100%;width:100%;border-radius:50%;background:currentColor;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.thumb:before{content:"";position:absolute;left:-10px;top:-10px;width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,currentColor 20%,transparent);transform:scale(0);transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.active .thumb:before{transform:scale(1)}.label{position:absolute;bottom:100%;margin-bottom:12px;background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3);justify-content:center;align-items:center;border-radius:4px;padding:0 6px;height:24px;font-size:.75rem;transform:scale(0);transform-origin:center bottom;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));opacity:.85;z-index:1;display:none}.active .label{transform:scale(1)}:host([labeled=true]) .label{display:flex}input{margin:0;height:100%;width:100%;cursor:inherit;opacity:0;position:absolute;top:0;left:0}',ks=`
${N.value}
`,Pe=class extends p({style:ws,template:ks,props:N,syncProps:["disabled","labeled"],setup(o){let e=o.querySelector(".container"),r=o.querySelector(".indicator"),a=o.querySelector(".track"),i=o.querySelector(".handle"),n=o.querySelector(".label"),d=o.querySelector("input"),c=()=>{let l=Number(d.value),t=(l-this.min)*100/(this.max-this.min);i.style.left=`calc(${t}% - ${t*.16}px)`,r.style.width=`calc(${t}% - ${4+t*.16}px)`,a.style.width=`calc(${100-t}% - ${20-t*.16}px)`,n.textContent=String(l)};return d.onchange=()=>this.dispatchEvent(new Event("change")),d.oninput=()=>{this.value=Number(d.value),this.dispatchEvent(new Event("input"))},d.onmousedown=l=>l.button===0&&!k.anyPointerCoarse.matches&&e.classList.add("active"),d.onmouseup=()=>!k.anyPointerCoarse.matches&&e.classList.remove("active"),d.ontouchstart=()=>k.anyPointerCoarse.matches&&e.classList.add("active"),d.ontouchend=()=>k.anyPointerCoarse.matches&&e.classList.remove("active"),d.ontouchcancel=()=>k.anyPointerCoarse.matches&&e.classList.remove("active"),{max:l=>{d.max=String(l),c()},min:l=>{d.min=String(l),c()},step:l=>{d.step=String(l),c()},value:l=>{d.value=String(l),c()}}}}){};Pe.define(ys);var $e=document.createElement("div");$e.setAttribute("style","position: fixed;right: 0;bottom: 0;width: 100%;height: 100%;pointer-events: none");var Ae=s=>{s.appendChild($e);let o=$e.getBoundingClientRect();return s.removeChild($e),{left:o.left,top:o.top,width:o.width,height:o.height}};var Es="s-snackbar",Cs={type:"none",align:"auto",duration:4e3},Ss=":host{display:inline-block;vertical-align:middle}.popup{position:fixed;inset:0;width:100%;height:100%;background:none;border:none;outline:none;max-width:none;max-height:none;display:none;overflow:hidden;box-sizing:border-box;pointer-events:none;padding:16px;justify-content:center;transition:transform var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.popup.show{display:flex}.container{align-self:flex-end;width:stretch;display:flex;align-items:center;min-height:48px;line-height:1.6;border-radius:4px;padding:6px 16px;font-size:.875rem;font-weight:500;box-sizing:border-box;max-width:320px;transition:box-shadow var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3)}.text{flex-grow:1;min-width:0;user-select:text;-webkit-user-select:text}.icon{display:none}:host([type=info]) .info,:host([type=success]) .success,:host([type=warning]) .warning,:host([type=error]) .error{display:block}:host([type=info]) .container{color:var(--s-color-on-secondary, #ffffff);background:var(--s-color-secondary, #4C616B)}:host([type=success]) .container{color:var(--s-color-on-success, #ffffff);background:var(--s-color-success, #006d43)}:host([type=warning]) .container{color:var(--s-color-on-warning, #ffffff);background:var(--s-color-warning, #6f5d00)}:host([type=error]) .container{color:var(--s-color-on-error, #ffffff);background:var(--s-color-error, #BA1A1A)}:host([type=info]) ::slotted([slot=action]),:host([type=success]) ::slotted([slot=action]),:host([type=warning]) ::slotted([slot=action]),:host([type=error]) ::slotted([slot=action]){color:currentColor}svg,::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin-right:12px;margin-left:-4px}::slotted([slot=action]){font-size:inherit;flex-shrink:0;display:inline-flex;align-items:center;padding:0 12px;border-radius:4px;margin-right:-8px;margin-left:12px;cursor:pointer;height:36px;font-size:.875rem;color:var(--s-color-inverse-primary, #60D4FE)}@media (max-width: 375px){.popup{padding:8px}}@media (pointer: fine){.container:hover{box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",qs='',zs=s=>{let o=document.body,e=new O;e.style.display="block";let r=document.body.firstElementChild;if(r&&r.tagName==="S-PAGE"&&(o=r),typeof s=="string")e.textContent=s;else{if(s.root&&(o=s.root),s.align&&(e.align=s.align),s.icon&&(s.icon instanceof Element&&(s.icon.slot="icon",e.appendChild(s.icon)),typeof s.icon=="string"&&(e.innerHTML=s.icon)),e.append(s.text),s.type&&(e.type=s.type),s.action){let a=document.createElement("s-button");a.type="text",a.slot="action",typeof s.action=="string"?a.textContent=s.action:(a.textContent=s.action.text,a.addEventListener("click",s.action.click)),e.appendChild(a)}typeof s.duration=="number"&&(e.duration=s.duration)}return o.appendChild(e),e.addEventListener("closed",()=>o.removeChild(e)),e.show(),e},lt={top:[],bottom:[]},O=class extends p({style:Ss,template:qs,props:Cs,syncProps:["type"],setup(o){let e=o.querySelector(".popup"),r=o.querySelector(".container"),a=getComputedStyle(this),i=()=>{let t=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",f=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:t,duration:w(f)}},n={timer:0,gap:8},d=()=>this.align==="auto"?k.anyPointerCoarse.matches?"top":"bottom":this.align,c=()=>{if(!this.isConnected||e.classList.contains("show"))return;if(e.classList.add("show"),e.showPopover)e.showPopover();else{let h=Ae(o);e.style.width=`${innerWidth}px`,e.style.height=`${innerHeight}px`,e.style.marginLeft=`${-h.left}px`,e.style.marginTop=`${-h.top}px`,e.style.zIndex="2"}let t=d();r.style.alignSelf={top:"start",bottom:"end"}[t];let f=lt[t],m={top:1,bottom:-1}[t],u=r.offsetHeight+n.gap;for(let h of f)h.style.transform=`translateY(${u*m}px)`,u+=h.firstElementChild.offsetHeight+n.gap;let g=r.animate({opacity:[0,1],transform:[`translateY(calc(${m*-100}% + 16px))`,""],pointerEvents:"auto"},{...i(),fill:"forwards"});this.dispatchEvent(new Event("show")),this.duration>0&&(n.timer=setTimeout(l,this.duration)),e.dataset.align=t,f.unshift(e),g.finished.then(()=>this.dispatchEvent(new Event("showed")))},l=()=>{if(!this.isConnected||!e.classList.contains("show"))return;clearTimeout(n.timer);let t=e.dataset.align,f=lt[t],m={top:1,bottom:-1}[t],u=f.indexOf(e);for(let h=u+1;h{e.hidePopover&&e.hidePopover(),e.removeAttribute("style"),e.classList.remove("show"),this.dispatchEvent(new Event("closed"))}),f.splice(u,1)};return r.onmouseenter=()=>clearTimeout(n.timer),r.onmouseleave=()=>e.classList.contains("show")&&this.duration>0&&(n.timer=setTimeout(l,this.duration)),o.querySelector("slot[name=trigger]").onclick=c,o.querySelector("slot[name=action]").onclick=l,{expose:{show:c,close:l}}}}){static builder=zs};O.define(Es);var Ls="s-switch",Fs={disabled:!1,checked:!1},Ms=":host{display:inline-flex;vertical-align:middle;align-items:center;position:relative;cursor:pointer;color:var(--s-color-primary, #006782);width:52px;aspect-ratio:1.625;-webkit-aspect-ratio:1.625;border-radius:16px}:host([disabled=true]){pointer-events:none}.track{width:100%;height:100%;border:solid 2px var(--s-color-outline, #70787D);box-sizing:border-box;border-radius:inherit}:host([disabled=true]) .track{border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([checked=true]) .track{border-width:0;background:currentColor}:host([disabled=true][checked=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.ripple{height:125%;width:auto;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;inset:auto;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));display:flex;justify-content:center;align-items:center;box-sizing:border-box;color:var(--s-color-outline, #70787D);transform:translate(-10%)}:host([checked=true]) .ripple{transform:translate(40%);color:currentColor}.thumb{background:var(--s-color-outline, #70787D);border-radius:50%;width:40%;height:40%;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));position:relative}:host([disabled=true]) .thumb{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}:host([checked=true]) .thumb{background:var(--s-color-on-primary, #ffffff);transform:scale(1.5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([disabled=true][checked=true]) .thumb{background:var(--s-color-surface, #F8F9FB);box-shadow:none}.icon{display:flex;height:100%;justify-content:center;align-items:center;opacity:0;transition:opacity var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:currentColor}::slotted([slot=icon]),svg{color:currentColor;fill:currentColor;width:70%;height:70%}:host([checked=true]) .icon{opacity:1}:host([checked=true][disabled=true]) .icon{color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)}",Ts='
',De=class extends p({style:Ms,template:Ts,props:Fs,syncProps:!0,setup(){this.addEventListener("click",()=>{this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){};De.define(Ls);var Je="s-tab",Ps={mode:"scrollable",value:""},$s=':host{display:flex;justify-content:flex-start;position:relative;background:var(--s-color-surface, #F8F9FB);color:var(--s-color-on-surface-variant, #40484C)}:host:before{content:"";position:absolute;width:100%;border-bottom:solid 1px var(--s-color-surface-variant, #DCE4E8);bottom:0;left:0}.container{display:flex;justify-content:flex-start;align-items:center;position:relative;scrollbar-width:none;overflow-x:auto}.container::-webkit-scrollbar{display:none}:host([mode=fixed]) .container{overflow:hidden;width:100%}::slotted(s-tab-item){flex-shrink:0;flex-basis:auto}:host([mode=fixed]) ::slotted(s-tab-item){flex-basis:100%;flex-shrink:1}',As='
',Z=class extends p({style:$s,template:As,props:Ps,syncProps:["mode"],setup(o){let e=o.querySelector("slot"),r=o.querySelector(".container"),a=new q({context:this,class:X,slot:e}),i=getComputedStyle(this),n=()=>{let d=i.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",c=i.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:d,duration:w(c)}};return a.onUpdate=d=>{if(a.select&&r.scrollWidth!==r.offsetWidth){let u=a.select.offsetLeft-r.offsetLeft-(r.offsetWidth/2-a.select.offsetWidth/2);r.scrollTo({left:u,behavior:"smooth"})}if(!d||!a.select||!this.isConnected)return;let c=d.shadowRoot.querySelector(".indicator").getBoundingClientRect(),l=a.select.shadowRoot?.querySelector(".indicator"),t=l.getBoundingClientRect(),f=c.left-t.left;l.style.transform=`translateX(${t.left>c.left?f:Math.abs(f)}px)`,l.style.width=`${c.width}px`;let m=l.animate([{transform:"translateX(0)",width:`${t.width}px`}],n());m.onfinish=m.oncancel=m.onremove=()=>{l.style.removeProperty("transform"),l.style.removeProperty("width")}},{expose:{get options(){return a.list},get selectedIndex(){return a.selectedIndex}},value:{get:()=>a.value,set:d=>a.value=d}}}}){},Ds="s-tab-item",Bs={selected:!1,value:""},Ns=":host{display:flex;align-items:center;justify-content:center;min-height:48px;position:relative;cursor:pointer;font-size:.875rem;font-weight:500;text-transform:capitalize;padding:0 16px}:host([selected=true]){color:var(--s-color-primary, #006782)}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;min-height:inherit}.indicator{position:absolute;bottom:0;left:0;height:3px;width:100%;background:var(--s-color-primary, #006782);border-radius:1.5px 1.5px 0 0;opacity:0}:host([selected=true]) .indicator{opacity:1}.text{display:flex;align-items:center;line-height:1}::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin:10px 0}::slotted([slot=text]){white-space:nowrap;text-overflow:ellipsis;line-height:1}.icon ::slotted([slot=text]){margin-top:-6px;height:26px}::slotted([slot=badge]){margin-left:4px}::slotted([slot=badge]:not(:empty)){width:auto}.icon ::slotted([slot=badge]){position:absolute;right:0;width:8px;top:12px;margin-left:0}",Zs='
',X=class extends p({style:Ns,template:Zs,props:Bs,syncProps:["selected"],setup(o){let e=o.querySelector(".container");return o.querySelector("[name=icon]").onslotchange=r=>{let a=r.target.assignedElements().length;e.classList[a>0?"add":"remove"]("icon")},this.addEventListener("click",()=>{!(this.parentNode instanceof Z)||this.selected||this.dispatchEvent(new Event(`${Je}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof Z&&this.dispatchEvent(new Event(`${Je}:update`,{bubbles:!0}))}}}}){};Z.define(Je),X.define(Ds);var Hs="s-table",Is={},js=":host{display:inline-block;font-size:.875rem;overflow:auto;border:solid 1px var(--s-color-outline-variant, #C0C8CC);border-radius:4px;white-space:nowrap}slot{display:table;border-collapse:collapse;min-width:100%}@media (pointer: fine){:host::-webkit-scrollbar{width:6px;height:6px;background:transparent}:host::-webkit-scrollbar-thumb{background:var(--s-color-outline-variant, #C0C8CC);border-radius:3px}@supports not selector(::-webkit-scrollbar){:host{scrollbar-color:var(--s-color-outline-variant, #C0C8CC) transparent}}}",Vs="",Be=class extends p({style:js,template:Vs,props:Is}){},Ys="s-thead",Ws={},_s=":host{display:table-header-group;font-weight:600;border-bottom:solid 1px var(--s-color-outline-variant, #C0C8CC);background:var(--s-color-surface-container, #ECEEF0);color:var(--s-color-on-surface-variant, #40484C)}",Rs="",Ne=class extends p({style:_s,template:Rs,props:Ws}){},Os="s-tbody",Xs={},Gs=":host{display:table-row-group;color:var(--s-color-on-surface, #191C1E)}::slotted(s-tr:not(:first-child)){border-top:solid 1px var(--s-color-outline-variant, #C0C8CC)}",Us="",Ze=class extends p({style:Gs,template:Us,props:Xs}){},Qs="s-tr",Js={},Ks=":host{display:table-row}",ei="",He=class extends p({style:Ks,template:ei,props:Js}){},ti="s-th",oi={},ri=":host{display:table-cell;padding:12px 16px;text-transform:capitalize}",si="",Ie=class extends p({style:ri,template:si,props:oi}){},ii="s-td",ai={},ni=":host{display:table-cell;user-select:text;padding:12px 16px}",li="",je=class extends p({style:ni,template:li,props:ai}){};Be.define(Hs),Ne.define(Ys),Ze.define(Os),He.define(Qs),Ie.define(ti),je.define(ii);var ci="s-text-field",di={label:"",placeholder:"",disabled:!1,type:"text",error:!1,value:"",maxLength:-1,readOnly:!1,multiLine:!1,countered:!1},pi=':host{display:inline-grid;vertical-align:middle;font-size:.875rem;flex-shrink:0;min-height:48px;width:280px;color:var(--s-color-on-surface, #191C1E);--text-field-border-radius: 4px;--text-field-border-color: var(--s-color-outline, #70787D);--text-field-padding: 16px;--text-field-padding-top: var(--text-field-padding);--text-field-padding-bottom: var(--text-field-padding);--text-field-padding-left: var(--text-field-padding);--text-field-padding-right: var(--text-field-padding)}:host([disabled=true]){pointer-events:none;opacity:.38}:host([multiline=true]){line-height:1.6;--text-field-padding-top: 12px;--text-field-padding-bottom: 12px}.field{display:block;min-height:inherit;font-size:inherit;--field-border-radius: var(--text-field-border-radius);--field-border-color: var(--text-field-border-color);--field-padding: var(--text-field-padding);--field-padding-top: var(--text-field-padding-top);--field-padding-bottom: var(--text-field-padding-bottom);--field-padding-left: var(--text-field-padding-left);--field-padding-right: var(--text-field-padding-right)}:host([error=true]) .field{--s-color-primary: var(--s-color-error, #BA1A1A);--field-border-color: var(--s-color-error, #BA1A1A);--field-border-width: 2px}:host([multiline=true]) .label{height:fit-content;box-sizing:border-box;padding-top:var(--text-field-padding-top);padding-bottom:var(--text-field-padding-bottom)}.view{flex-grow:1;padding:0;flex-direction:column;position:relative}input,textarea{border:none;height:100%;width:100%;padding-left:var(--field-padding-left);padding-right:var(--field-padding-right);background:none;outline:none;font-size:inherit;color:inherit;box-sizing:border-box;line-height:inherit;font-family:inherit;caret-color:var(--s-color-primary, #006782);display:block;-moz-appearance:textfield}textarea{position:absolute;left:0;top:0;width:100%;height:100%;resize:none;scrollbar-width:none;display:none}input::placeholder,textarea::placeholder{color:var(--text-field-border-color)}input::selection,textarea::selection{background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}:host([multiline=true]) input,.text>.counter{display:none}textarea,.shadow{line-height:inherit;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;box-sizing:border-box;padding-top:var(--text-field-padding-top);padding-bottom:var(--text-field-padding-bottom);padding-left:var(--text-field-padding-left);padding-right:var(--text-field-padding-right)}:host([multiline=true]) :is(textarea,.shadow),:host([countered=true]) .counter{display:block}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input::-ms-clear,input::-ms-reveal{display:none}.shadow{pointer-events:none;display:none;opacity:0;width:100%;min-height:100%}.shadow:after{content:" "}.text{display:flex;align-items:flex-end;width:100%;box-sizing:border-box;font-size:.75rem;color:var(--text-field-border-color)}:host([error=true]) .text{color:var(--s-color-error, #BA1A1A)}.text>slot[name=text]{display:block;flex-grow:1}.text>.counter,::slotted([slot=text]){margin-top:8px}::slotted(svg){fill:var(--s-color-on-surface-variant, #40484C);height:24px;width:24px}::slotted(s-icon-button[slot=start]){margin-left:4px;margin-right:calc(var(--text-field-border-radius) - var(--text-field-padding-left) + 4px)}::slotted(s-icon-button[slot=end]){margin-right:4px;margin-left:calc(var(--text-field-border-radius) - var(--text-field-padding-right) + 4px)}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:12px;margin-right:calc(var(--text-field-border-radius) - var(--text-field-padding-left) + 8px)}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-right:12px;margin-left:calc(var(--text-field-border-radius) - var(--text-field-padding-right) + 8px)}',hi='
',Ve=class extends p({style:pi,template:hi,props:di,syncProps:["disabled","error","multiLine","countered"],setup(o){let e=o.querySelector(".field"),r=o.querySelector(".label"),a=o.querySelector(".shadow"),i=o.querySelector(".counter"),n={input:o.querySelector("input"),textarea:o.querySelector("textarea")},d=()=>this.multiLine?n.textarea:n.input,c=()=>{this.countered&&(i.textContent=`${d().value.length}/${this.maxLength}`)},l=()=>this.dispatchEvent(new Event("change")),t=()=>{e.fixed=!0,e.focused=!0},f=()=>{e.focused=!1,d().value===""&&!this.error&&(e.fixed=!1)};return n.input.oninput=c,n.input.onfocus=t,n.input.onblur=f,n.input.onchange=l,n.textarea.onfocus=t,n.textarea.onblur=f,n.textarea.onchange=l,n.textarea.oninput=()=>{a.textContent=n.textarea.value,c()},{expose:{get native(){return d()}},label:m=>r.textContent=m,type:m=>n.input.type=m,error:m=>{if(m){e.fixed=!0;return}d().value===""&&(e.fixed=!1)},value:{get:()=>d().value,set:m=>{n.input.value=m,n.textarea.value=m,a.textContent=m,c(),this.error||(e.fixed=m!=="")}},placeholder:m=>{n.input.placeholder=m,n.textarea.placeholder=m},readOnly:m=>{n.input.readOnly=m,n.textarea.readOnly=m},maxLength:m=>{n.input.maxLength=m,n.textarea.maxLength=m,c()},multiLine:m=>{if(m){n.textarea.value=n.input.value,a.textContent=n.input.value;return}n.input.value=n.textarea.value},countered:c}}}){};Ve.define(ci);var mi="s-tooltip",ui={align:"top",disabled:!1},gi=":host{display:inline-flex;vertical-align:middle;text-align:left}.popup{position:fixed;display:none;inset:0;margin:0;background:none;border:none;outline:none;max-width:none;max-height:none;font-size:.875rem;font-weight:400;padding:6px 8px;border-radius:4px;white-space:nowrap;background:color-mix(in srgb,var(--s-color-inverse-surface, #2E3132) 88%,transparent);color:var(--s-color-inverse-on-surface, #EFF1F3)}::slotted(img){display:block;border-radius:4px;margin:2px 0;max-width:280px}",fi='',Ye=class extends p({style:gi,template:fi,props:ui,setup(o){let e=o.querySelector("slot[name=trigger]"),r=o.querySelector(".popup"),a=getComputedStyle(this),i=!1,n=()=>{let t=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",f=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:t,duration:w(f)}},d=()=>{if(!this.isConnected||this.disabled)return;if(r.style.display="block",i=!0,r.showPopover)r.showPopover();else{let b=Ae(o);r.style.marginLeft=`${-b.left}px`,r.style.marginTop=`${-b.top}px`,r.style.zIndex="2"}let t=this.getBoundingClientRect(),f=4,m=r.offsetWidth,u=r.offsetHeight,g={top:0,left:0},h={middle(b){g.left=t.left-(m-t.width)/2;let x=()=>(g.top=t.top+t.height+f,g.top+u>innerHeight),v=()=>(g.top=t.top-u-f,g.top<0);g.left<0&&(g.left=t.left),g.left+m>innerWidth&&(g.left=t.left+t.width-m),b==="top"&&v()&&x(),b==="bottom"&&x()&&v()},left(){return g.left=t.left-m-f,g.top=t.top-(u-t.height)/2,g.left<0},right(){return g.left=t.left+t.width+f,g.top=t.top-(u-t.height)/2,g.left+m>innerWidth}};switch(this.align){case"bottom":case"top":h.middle(this.align);break;case"left":h.left()&&h.right();break;case"right":h.right()&&h.left();break}r.style.top=`${g.top}px`,r.style.left=`${g.left}px`,r.animate({opacity:[0,1]},n())},c=0,l=()=>{clearTimeout(c),i=!1,r.animate({opacity:[1,0]},n()).finished.then(()=>{i||(r.hidePopover&&r.hidePopover(),r.style.removeProperty("display"))})};e.addEventListener("touchstart",()=>{k.anyPointerCoarse.matches&&(clearTimeout(c),c=setTimeout(()=>d(),600))},{passive:!0}),e.ontouchend=()=>{clearTimeout(c),l()},e.onmouseenter=()=>!k.anyPointerCoarse.matches&&d(),e.onmouseleave=()=>!k.anyPointerCoarse.matches&&l()}}){};Ye.define(mi);globalThis.sober||(globalThis.sober={});globalThis.sober={...globalThis.sober,...Ke};})(); -+"use strict";(()=>{var pt=Object.defineProperty;var ht=(s,o)=>{for(var e in o)pt(s,e,{get:o[e],enumerable:!0})};var Ke={};ht(Ke,{Alert:()=>Q,Appbar:()=>J,Avatar:()=>K,Badge:()=>ee,BottomSheet:()=>H,Button:()=>te,Card:()=>oe,Carousel:()=>I,CarouselItem:()=>j,Checkbox:()=>se,Chip:()=>ie,CircularProgress:()=>ae,Date:()=>le,DatePicker:()=>ce,Dialog:()=>V,Divider:()=>pe,Drawer:()=>he,Empty:()=>me,FAB:()=>ue,Field:()=>we,Fold:()=>ke,Icon:()=>xe,IconButton:()=>ge,LinearProgress:()=>ve,Menu:()=>be,MenuItem:()=>ye,Navigation:()=>A,NavigationItem:()=>Y,Page:()=>Ee,Pagination:()=>Ce,Picker:()=>D,PickerItem:()=>W,Popup:()=>Se,PopupMenu:()=>qe,PopupMenuItem:()=>ze,RadioButton:()=>Le,Rate:()=>Fe,Ripple:()=>z,ScrollView:()=>de,Search:()=>Me,SegmentedButton:()=>B,SegmentedButtonItem:()=>R,Skeleton:()=>Te,Slider:()=>Pe,Snackbar:()=>O,Switch:()=>De,Tab:()=>Z,TabItem:()=>X,Table:()=>Be,Tbody:()=>Ze,Td:()=>je,TextField:()=>Ve,Th:()=>Ie,Thead:()=>Ne,Tooltip:()=>Ye,Tr:()=>He});var it={CSSStyleSheet:!0};try{new CSSStyleSheet}catch{it.CSSStyleSheet=!1}var mt=(s,o)=>{if(s===void 0)return o;if(typeof o=="string")return String(s);if(typeof o=="number")return Number(s);if(typeof o=="boolean")return typeof s=="boolean"?s:s==="true";throw new TypeError},st=":host{user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}",ut=(s,o)=>{if(it.CSSStyleSheet){let r=new CSSStyleSheet;if(r.replaceSync(st),s.adoptedStyleSheets.push(r),o){let a=new CSSStyleSheet;a.replaceSync(o),s.adoptedStyleSheets.push(a)}return}if(o){let r=document.createElement("style");r.textContent=o,s.insertBefore(r,s.firstChild)}let e=document.createElement("style");e.textContent=st,s.insertBefore(e,s.firstChild)},p=s=>{let o=[],e={};for(let i in s.props){let n=i.toLowerCase();o.push(n),e[n]=i}let r=new Map;class a extends HTMLElement{static observedAttributes=o;static define(n){customElements.define(n,this)}constructor(){super();let n=this.attachShadow({mode:"open"});n.innerHTML=s.template??"",ut(n,s.style);let d={...s.props},c={};for(let t in s.props){let f=t;this[f]!==void 0&&(c[t]=this[f]),this[f]=d[t]}let l=s.setup?.apply(this,[n]);for(let t in s.props)Object.defineProperty(this,t,{configurable:!0,get:()=>{let f=l?.[t];return!f||typeof f=="function"||!f.get?d[t]:f.get?.(d[t])},set:f=>{let m=mt(f,s.props[t]);if(m===this[t])return;if(s.syncProps===!0||s.syncProps?.includes(t)){let h=t.toLowerCase(),b=this.getAttribute(h),x=String(m);if(m===s.props?.[t]&&b!==null){this.removeAttribute(h);return}if(m!==s.props?.[t]&&b!==x){this.setAttribute(h,x);return}}let u=d[t];d[t]=m;let g=l?.[t];if(g)try{typeof g=="function"?g(m,u):g.set?.(m,u)}catch(h){throw d[t]=u,h}}});for(let t in l?.expose)Object.defineProperty(this,t,{get:()=>l?.expose?.[t]});for(let t in c)this[t]=c[t];r.set(this,l),this.connectedCallback=this.disconnectedCallback=this.adoptedCallback=this.attributeChangedCallback=void 0}connectedCallback(){r.get(this)?.onMounted?.()}disconnectedCallback(){r.get(this)?.onUnmounted?.()}adoptedCallback(){r.get(this)?.onAdopted?.()}attributeChangedCallback(n,d,c){this[e[n]]=c??void 0}}return a};var gt="s-alert",ft={type:"info"},xt=":host{display:inline-flex;padding:8px 16px;align-items:center;line-height:1.6;font-size:.875rem;font-weight:500;min-height:48px;box-sizing:border-box;border-radius:4px;color:var(--s-color-on-secondary-container, #354A53);background:var(--s-color-secondary-container, #CFE6F1)}:host([type=success]){color:var(--s-color-on-success-container, #002111);background:var(--s-color-success-container, #92f7bc)}:host([type=warning]){color:var(--s-color-on-warning-container, #221b00);background:var(--s-color-warning-container, #ffe169)}:host([type=error]){color:var(--s-color-on-error-container, #93000A);background:var(--s-color-error-container, #FFDAD6)}svg{width:24px;height:24px;fill:currentColor;margin-right:8px;margin-left:-2px;box-sizing:border-box;flex-shrink:0;display:none}.text{flex-grow:1;min-width:0}:host(:not([type])) .info,:host([type=success]) .success,:host([type=warning]) .warning,:host([type=error]) .error{display:block}::slotted(*){flex-shrink:0}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-right:8px;margin-left:-2px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-right:-2px;margin-left:8px}::slotted(:is(svg,s-icon)){fill:currentColor;color:currentColor;width:24px;height:24px}::slotted(:is(s-button[slot=end],s-icon-button[slot=end])){margin-left:8px;margin-right:-8px;color:currentColor}::slotted(s-button[slot=end]){height:32px;padding:0 12px;border-radius:4px;font-size:.8125rem}::slotted(s-icon-button[slot=end]){width:32px;padding:5px}",vt='
',Q=class extends p({style:xt,template:vt,props:ft,syncProps:!0}){};Q.define(gt);var bt="s-appbar",yt={},wt=":host{display:flex;align-items:center;position:relative;padding:0 8px;container-name:host;container-type:inline-size;background:var(--s-color-surface-container, #ECEEF0)}::slotted([slot=navigation]){margin-left:4px;flex-shrink:0}::slotted([slot=logo]){margin-left:12px;height:32px;color:var(--s-color-primary, #006782);fill:currentColor;flex-shrink:0}::slotted([slot=headline]){font-size:1.375rem;font-weight:400;overflow:hidden;text-transform:capitalize;text-overflow:ellipsis;white-space:nowrap;margin:0 12px;color:var(--s-color-on-surface, #191C1E)}.view{flex-grow:1;min-width:0;height:100%;display:flex;align-items:center;justify-content:flex-end;height:64px;max-height:100%}::slotted([slot=action]){margin:0 4px;flex-shrink:0}::slotted(s-search[slot=search]){flex-shrink:0;height:40px;border-radius:20px;max-width:100%;margin:0 4px 0 8px}::slotted(s-appbar){height:100%;width:100%;max-width:1440px;background:none;margin:0 auto;padding:0}@container host (max-width: 1024px){.view{height:56px}::slotted(s-search[slot=search]){width:auto;flex-grow:1}}",kt='
',J=class extends p({style:wt,template:kt,props:yt}){};J.define(bt);var Et="s-avatar",Ct={src:""},St=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;aspect-ratio:1;-webkit-aspect-ratio:1;position:relative;font-size:1rem;font-weight:600;width:40px;border-radius:50%;color:var(--s-color-on-tertiary, #ffffff);background:var(--s-color-tertiary, #5C5B7E)}::slotted(:is(svg,s-icon)){color:currentColor;fill:currentColor;width:24px}::slotted([slot=badge]){position:absolute;right:0;bottom:0;outline:solid 2px var(--s-color-surface, #F8F9FB);color:var(--s-color-on-success, #ffffff);background:var(--s-color-success, #006d43)}img{width:100%;height:100%;border-radius:inherit;position:absolute;inset:0}",qt='',K=class extends p({style:St,template:qt,props:Ct,setup(o){let e=document.createElement("img");return{src:r=>{e.src=r,e.onload=()=>{this.dispatchEvent(new Event("load")),o.insertBefore(e,o.children[0])},e.onerror=()=>{this.dispatchEvent(new ErrorEvent("error")),e.isConnected&&o.removeChild(e)}}}}}){};K.define(Et);var zt="s-badge",Lt={},Ft=":host{display:inline-flex;justify-content:center;align-items:center;width:8px;height:8px;border-radius:8px;font-size:.625rem;vertical-align:middle;box-sizing:border-box;background:var(--s-color-error, #BA1A1A);color:var(--s-color-on-error, #ffffff)}:host(:not(:empty)) .text{height:16px;padding:0 5px;display:flex;position:relative;justify-content:center;align-items:center;background:inherit;color:inherit;outline:inherit;border-radius:8px}",Mt='',ee=class extends p({style:Ft,template:Mt,props:Lt}){};ee.define(zt);var w=s=>{let o=s.match(/^([\d\.]+)(s|ms)$/);if(!o)throw new Error;let e=Number(o[1]);return o[2]==="s"?e*1e3:e};var Tt="s-bottom-sheet",Pt={showed:!1,disabledGesture:!1},$t=':host{display:inline-block;vertical-align:middle}dialog{top:0;left:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;justify-content:center;align-items:flex-end;color:inherit;overflow:hidden}dialog::backdrop{background:none}dialog[open]{display:flex}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container{position:relative;border-radius:24px 24px 0 0;width:100%;max-height:calc(100% - 56px);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom);max-width:425px;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container-low, #F2F4F5)}.indicator{width:100%;display:flex;justify-content:center;align-items:center;height:18px;flex-shrink:0}.indicator:before{content:"";width:40px;height:4px;border-radius:2px;background:var(--s-color-outline, #70787D);opacity:.4}::slotted([slot=text]){padding:24px;line-height:1.6}::slotted(:not([slot])){overscroll-behavior:none}@media (max-width: 768px){.container{max-width:768px}}',At='
',Dt=s=>{let o=document.body,e=document.body.firstElementChild;e&&e.tagName==="S-PAGE"&&(o=e);let r=new H,a=document.createElement("div");return a.slot="text",typeof s=="function"||s instanceof HTMLElement?s instanceof HTMLElement?r.appendChild(s):s(r):typeof s=="string"?(a.textContent=s,r.appendChild(a)):(s.root&&(o=s.root),s.disabledGesture&&(r.disabledGesture=s.disabledGesture),typeof s.view=="string"&&(a.textContent=s.view,r.appendChild(a)),s.view instanceof HTMLElement&&r.appendChild(s.view),typeof s.view=="function"&&s.view(r)),r.addEventListener("closed",()=>o.removeChild(r)),r.showed=!0,o.appendChild(r),r},H=class extends p({style:$t,template:At,props:Pt,syncProps:["showed"],setup(o){let e=o.querySelector("dialog"),r=o.querySelector(".container"),a=o.querySelector(".scrim"),i=o.querySelector(".indicator"),n=getComputedStyle(this),d=null,c=()=>{let u=n.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",g=n.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:u,duration:w(g)}};o.querySelector("#view").onslotchange=u=>{d=u.target.assignedElements()[0]??null},o.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};let l=u=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:u}}))||(this.showed=!1)};a.onclick=()=>l("SCRIM");let t=null;r.addEventListener("touchmove",u=>{let g=u.target;if(this.disabledGesture)return;let h=u.touches[0];if(!t)return t={y:h.pageY,x:h.pageX,disabled:!1,top:0,h:r.offsetHeight,now:Date.now()};if(t.disabled)return;let b=h.pageY-t.y,x=h.pageX-t.x;if(t.top=Math.min(t.h,Math.max(0,b)),g!==i&&d&&d.scrollTop>0||Math.abs(b){if(!t||t.disabled)return t=null;let u=Date.now()-t.now>300?t.h/3:20;if(t.top>u){if(!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:"GESTURE"}})))return;this.showed=!1}else r.animate({transform:[r.style.transform,"translateY(0)"]},c()),r.style.removeProperty("transform");t=null};let f=()=>{if(!this.isConnected||e.open)return;e.showModal(),e.classList.add("show");let u=c();a.animate({opacity:[0,1]},u),r.animate({transform:["translateY(100%)","translateY(0)"],opacity:[0,1]},u).finished.then(()=>this.dispatchEvent(new Event("showed")))},m=()=>{if(!this.isConnected||!e.open)return;e.classList.remove("show");let u=c(),g=r.style.transform;a.animate({opacity:[1,0]},u),r.animate({transform:[g===""?"translateY(0)":g,"translateY(100%)"],opacity:[1,0]},u).finished.then(()=>{e.close(),g&&r.style.removeProperty("transform"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!e.open&&f(),showed:u=>u?f():m()}}}){static builder=Dt};H.define(Tt);var k={mobileS:matchMedia("(max-width: 320px)"),mobileM:matchMedia("(max-width: 375px)"),mobileL:matchMedia("(max-width: 425px)"),tablet:matchMedia("(max-width: 768px)"),laptop:matchMedia("(max-width: 1024px)"),laptopL:matchMedia("(max-width: 1440px)"),anyPointerCoarse:matchMedia("(any-pointer: coarse)"),anyPointerFine:matchMedia("(any-pointer: fine)")};var Bt="s-ripple",Nt={centered:!1,attached:!1},Zt=':host{display:inline-block;vertical-align:middle;position:relative;}:host([attached=true]),.container,.container:before,.ripple{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;border-radius:inherit}.container{overflow:hidden}.container:before{content:"";opacity:0;background:var(--ripple-color, currentColor);transition:opacity var(--s-motion-duration-short4, .1s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.container.hover:before{opacity:var(--ripple-hover-opacity, .12)}.ripple{color:color-mix(in srgb,var(--ripple-color, currentColor) calc(100% * var(--ripple-opacity, .18)),transparent);background:currentColor;border-radius:50%;transform:translate(-50%,-50%) scale(0);filter:blur(8px)}',Ht='
',z=class extends p({style:Zt,template:Ht,props:Nt,syncProps:!0,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".ripple"),a=getComputedStyle(this),i=()=>{let u=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",g=a.getPropertyValue("--s-motion-duration-long4")||"600ms",h=a.getPropertyValue("--s-motion-duration-short4")||"200ms";return{easing:u,duration:w(g),shortDuration:w(h)}},n=()=>!k.anyPointerCoarse.matches&&e.classList.add("hover"),d=()=>!k.anyPointerCoarse.matches&&e.classList.remove("hover"),c={parentNode:null,pressed:!1},l=u=>{let{offsetWidth:g,offsetHeight:h}=this,b=Math.sqrt(g**2+h**2),x={x:"50%",y:"50%"};if(!this.centered){let{left:U,top:We}=this.getBoundingClientRect(),et=u.clientX-U,tt=u.clientY-We,ot=h/2,rt=g/2,ct=(Math.abs(ot-tt)+ot)*2,dt=(Math.abs(rt-et)+rt)*2;b=Math.sqrt(ct**2+dt**2),x.x=`${et}px`,x.y=`${tt}px`}let v=r,y=()=>{};c.pressed?(v=r.cloneNode(),e.appendChild(v),y=()=>v.remove()):(c.pressed=!0,y=()=>c.pressed=!1);let C=c.parentNode??this,S=i();C.setAttribute("pressed","");let T={transform:"translate(-50%, -50%) scale(1)",boxShadow:"0 0 0 16px currentColor",opacity:1,width:`${b}px`,height:`${b}px`,left:`${x.x}`,top:`${x.y}`},G=v.animate([{...T,transform:"translate(-50%, -50%) scale(0)"},T],{duration:S.duration,fill:"forwards",easing:S.easing});return()=>{C.removeAttribute("pressed");let U=Number(G.currentTime),We=S.duration-S.shortDuration;v.animate({opacity:[1,0]},{duration:U>We?S.shortDuration:S.duration-U,easing:S.easing,fill:"forwards"}).finished.then(y)}},t=async u=>{if(u.button!==0)return;let g={};if(u.pointerType==="mouse"&&document.addEventListener("pointerup",l(u),{once:!0}),u.pointerType==="touch"){let h;g.timer=setTimeout(()=>{h=l(u),document.removeEventListener("touchmove",b),g.upper&&h()},40),document.addEventListener("touchend",()=>{if(!h)return g.upper=!0;h()},{once:!0});let b=()=>clearTimeout(g.timer);document.addEventListener("touchmove",b,{once:!0})}},f=u=>{u.addEventListener("mouseenter",n),u.addEventListener("mouseleave",d),u.addEventListener("wheel",d,{passive:!0}),u.addEventListener("pointerdown",t)},m=()=>{c.parentNode&&(c.parentNode.removeEventListener("mouseenter",n),c.parentNode.removeEventListener("mouseleave",d),c.parentNode.removeEventListener("wheel",d),c.parentNode.removeEventListener("pointerdown",t),c.parentNode=null)};return f(this),{onMounted:()=>{this.attached&&this.parentNode&&(c.parentNode=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode,f(c.parentNode))},onUnmounted:()=>this.attached&&m(),attached:u=>{if(!this.isConnected)return;if(!u)return m();let g=this.parentNode instanceof ShadowRoot?this.parentNode.host:this.parentNode;f(g)}}}}){};z.define(Bt);var It="s-button",jt={disabled:!1,type:"filled"},Vt=":host{justify-content:center;align-items:center;box-sizing:border-box;display:inline-flex;vertical-align:middle;border-radius:20px;padding:0 24px;height:40px;text-transform:capitalize;position:relative;font-size:.875rem;font-weight:500;max-width:100%;background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff);transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));overflow:hidden}:host([disabled=true]){pointer-events:none!important;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=elevated]){background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-primary, #006782);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][disabled=true]){box-shadow:none!important}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D);background:none;color:var(--s-color-primary, #006782)}:host([type=outlined][disabled=true]){background:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=text]){background:none;color:var(--s-color-primary, #006782);padding:0 16px}:host([type=text][disabled=true]){background:none!important}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon,s-circular-progress)){fill:currentColor;color:currentColor;width:18px;height:18px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-right:4px;margin-left:-8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-right:-8px;margin-left:4px}::slotted(s-circular-progress[slot=start]){margin-left:-8px;margin-right:8px}::slotted(s-circular-progress[slot=end]){margin-left:8px;margin-right:-8px}:host([type=text]) ::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-4px;margin-right:4px}:host([type=text]) ::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:4px;margin-right:-4px}:host(:not([type])[pressed]){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated][pressed]){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}@media (any-pointer: fine){:host(:not([type]):hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=elevated]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",Yt='
',te=class extends p({style:Vt,template:Yt,props:jt,syncProps:!0}){};te.define(It);var Wt="s-card",_t={type:"elevated",clickable:!1},Rt=":host{display:inline-block;vertical-align:middle;border-radius:12px;position:relative;font-size:.875rem;box-sizing:border-box;max-width:280px;overflow:hidden;color:var(--s-color-on-surface, #191C1E);background:var(--s-color-surface-container-low, #F2F4F5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([type=filled]){box-shadow:none;background:var(--s-color-surface-container-highest, #E1E3E4)}:host([type=outlined]){box-shadow:none;background:var(--s-color-surface, #F8F9FB);border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([clickable=true]){transition:box-shadow var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}:host([clickable=true]) .ripple{display:block}.action{display:flex;justify-content:flex-end;gap:8px}.ripple{display:none;border-radius:0}::slotted([slot=image]){display:block;height:128px;background:var(--s-color-surface-container, #ECEEF0)}::slotted([slot=headline]){font-size:1.5rem;line-height:1.6;margin:16px 16px 0}::slotted([slot=subhead]){font-size:1rem;line-height:1.6;margin:4px 16px}::slotted([slot=text]){line-height:1.6;margin:8px 16px;color:var(--s-color-on-surface-variant, #40484C)}::slotted(s-button[slot=action]){margin:16px 0}::slotted(s-button[slot=action]:last-of-type){margin-right:16px}@media (any-pointer: fine){:host([clickable=true][type=filled]:hover),:host([clickable=true][type=outlined]:hover){box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([clickable=true]:hover){box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12))}}",Ot='
',oe=class extends p({style:Rt,template:Ot,props:_t,syncProps:!0,setup(o){let e=o.querySelector("slot[name=action]");e.onpointerdown=r=>r.stopPropagation()}}){};oe.define(Wt);var q=class{list=[];select;selectValue;flag=!1;constructor(o){let{context:e}=o;e.addEventListener(`${e.tagName.toLocaleLowerCase()}:select`,r=>{if(r.stopPropagation(),!(r.target instanceof o.class))return;let a;this.flag=!0,r.target.selected=!0,this.list.forEach(i=>{i!==r.target&&(i.selected&&(a=i),i.selected=!1)}),this.select=r.target,this.flag=!1,e.dispatchEvent(new Event("change")),this.onUpdate?.(a),this.onSelect?.()}),e.addEventListener(`${e.tagName.toLocaleLowerCase()}:update`,r=>{if(r.stopPropagation(),this.flag||this.list.length===0||!(r.target instanceof o.class))return;this.flag=!0;let a;r.target.selected?(this.select=r.target,this.list.forEach(i=>{i!==r.target&&(i.selected&&(a=i),i.selected=!1)})):delete this.select,this.flag=!1,this.onUpdate?.(a)}),o.slot.addEventListener("slotchange",()=>{this.flag=!0,delete this.select,this.list=o.slot.assignedElements().filter(r=>{if(r instanceof o.class){if(this.selectValue!==void 0)r.value===this.selectValue?(this.select=r,r.selected=!0):r.selected=!1;else{if(!this.select&&r.selected)return this.select=r,!0;this.select&&(r.selected=!1)}return!0}}),this.flag=!1,this.onSlotChange?.(),this.onUpdate?.()})}get value(){return this.list[this.list.indexOf(this.select)]?.value??""}set value(o){this.selectValue=o,this.list.length!==0&&(this.flag=!0,this.list.forEach(e=>{if(e.value===o){e.selected=!0,this.select=e;return}e.selected=!1}),this.onUpdate?.(),this.flag=!1)}get selectedIndex(){return this.list.indexOf(this.select)}};var re="s-carousel",Xt={value:"",autoplay:!1,duration:4e3},Gt=":host{display:flex;align-items:center;position:relative;overflow:hidden;border-radius:8px;aspect-ratio:2;-webkit-aspect-ratio:2}.container{display:flex;justify-content:flex-start;height:100%;min-width:100%;transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.track{position:absolute;bottom:0;left:0;width:100%;display:flex;gap:8px;align-items:center;justify-content:center;pointer-events:none;padding:12px 0}.track .indicator{width:8px;height:8px;border-radius:4px;background:#fff;opacity:.3;flex-shrink:0;pointer-events:auto;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.track .indicator.checked{opacity:1}",Ut='
',I=class extends p({style:Gt,template:Ut,props:Xt,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".track"),a=o.querySelector("slot"),i=new q({context:this,class:j,slot:a}),n=-1;i.onUpdate=()=>{r.childNodes.forEach(l=>l.classList.remove("checked")),e.style.transform=`translateX(${-i.selectedIndex*100}%)`,i.selectedIndex!==-1&&(r.childNodes[i.selectedIndex].classList.add("checked"),d())};let d=()=>{!this.autoplay||i.list.length===0||!this.isConnected||(c(),n=setTimeout(()=>{let l=i.selectedIndex+1;l>=i.list.length&&(l=0),i.list[l].selected=!0,this.dispatchEvent(new Event("change"))},this.duration))},c=()=>clearInterval(n);return i.onSlotChange=()=>{r.innerHTML="";let l=document.createDocumentFragment();i.list.forEach(t=>{let f=document.createElement("div");f.className="indicator",f.addEventListener("click",()=>t.dispatchEvent(new Event(`${re}:select`,{bubbles:!0}))),l.appendChild(f)}),r.appendChild(l)},e.onpointerdown=l=>{if(i.list.length<=1)return;c();let t=l.pageX,f=l.pageY,m=e.offsetWidth,u=i.list[i.selectedIndex-1],g=i.list[i.selectedIndex+1],h={now:0,left:0,next:void 0},b=y=>{let C=y instanceof TouchEvent?y.touches[0]:y,S=C.pageX-t,T=C.pageY-f;if(y instanceof TouchEvent&&Math.abs(S)0||!g&&h.left<0)&&(h.left=h.left*.2),h.left<0&&g||h.left>0&&u){let G=Math.abs(h.left)/m*.05;i.select.style.transition="none",i.select.style.transform=`scale(${.05-G+.95})`,h.next=h.left<0?g:u,h.next.style.transition="none",h.next.style.transform=`scale(${G+.95})`}e.style.transition="none",e.style.pointerEvents="none",e.style.transform=`translateX(calc(${-i.selectedIndex*100}% + ${h.left}px))`,y.cancelable&&y.preventDefault()},x=()=>{document.removeEventListener(v.up,x),document.removeEventListener(v.move,b),e.style.removeProperty("pointer-events"),e.style.removeProperty("transition"),i.select.style.removeProperty("transition"),i.select.style.removeProperty("transform"),h.next?.style.removeProperty("transition"),h.next?.style.removeProperty("transform");let y=i.selectedIndex;if(!(y===0&&h.left>0||y===i.list.length-1&&h.left<0)){let C=Date.now()-h.now>300?m/2:20;if(Math.abs(h.left)>C){h.next?.dispatchEvent(new Event(`${re}:select`,{bubbles:!0}));return}}e.style.transform=`translateX(${-i.selectedIndex*100}%)`,d()},v={move:k.anyPointerCoarse.matches?"touchmove":"pointermove",up:k.anyPointerCoarse.matches?"touchend":"pointerup"};document.addEventListener(v.move,b,{passive:!1}),document.addEventListener(v.up,x)},{expose:{get options(){return i.list},get selectedIndex(){return i.selectedIndex},togglePrevious:()=>{let l=i.list[i.selectedIndex-1];l&&(l.selected=!0)},toggleNext:()=>{let l=i.list[i.selectedIndex+1];l&&(l.selected=!0)}},onMounted:d,onUnmounted:c,value:{get:()=>i.value,set:l=>{i.value=l,d()}},autoplay:d}}}){},Qt="s-carousel-item",Jt={selected:!1,value:""},Kt=":host{user-drag:none;-webkit-user-drag:none;flex-shrink:0;width:100%;height:100%;border-radius:8px;background:var(--s-color-surface-container-high, #E7E8EA);transform:scale(.95);transition:transform var(--s-motion-duration-long4, .6s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));background-repeat:round}:host([selected=true]){transform:scale(1)}",eo="",j=class extends p({style:Kt,template:eo,props:Jt,syncProps:["selected"],setup(){return{selected:()=>{this.parentNode instanceof I&&this.dispatchEvent(new Event(`${re}:update`,{bubbles:!0}))}}}}){};I.define(re),j.define(Qt);var to="s-checkbox",oo={disabled:!1,checked:!1,indeterminate:!1},ro=":host{display:inline-flex;align-items:center;vertical-align:middle;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked,.indeterminate{display:flex;align-items:center;justify-content:center;position:absolute;inset:0;width:100%;height:100%}.checked,.indeterminate{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([indeterminate=true]) .unchecked{opacity:0}:host([checked=true]:not([indeterminate=true])) .checked,:host([indeterminate=true]) .indeterminate{opacity:1;transform:scale(1)}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked],[slot=indeterminate])){color:currentColor;fill:currentColor;width:60%;height:60%}",so='
',se=class extends p({style:ro,template:so,props:oo,syncProps:!0,setup(){this.addEventListener("click",()=>{this.indeterminate&&(this.indeterminate=!1),this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){};se.define(to);var io="s-chip",ao={type:"filled",value:"",checked:!1,disabled:!1,clickable:!1},no=":host{display:inline-flex;align-items:center;vertical-align:middle;padding:0 16px;height:32px;border-radius:16px;box-sizing:border-box;font-size:.8125rem;font-weight:500;position:relative;overflow:hidden;background:var(--s-color-surface-container-high, #E7E8EA);color:var(--s-color-on-surface, #191C1E);transition-property:color,background-color,box-shadow;transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([disabled=true]){pointer-events:none!important;border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important;background:color-mix(in srgb,var(--s-color-surface-container-high, #E7E8EA) 38%,transparent)!important}:host([checked=true]){border:none;background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-primary, #006782)}:host([type=outlined]){background:none;border:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host([type=outlined][checked=true]){border-color:var(--s-color-primary, #006782)}::slotted(:is(s-icon,svg)){width:18px;height:18px;flex-shrink:0;fill:currentColor;color:currentColor}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-left:8px;margin-right:-8px}::slotted(s-avatar){width:24px;height:24px;font-size:.75rem}::slotted(s-avatar[slot=start]){margin-left:-12px;margin-right:8px}::slotted(s-icon-button[slot=action]){margin:0 -12px 0 8px;width:24px;height:24px;padding:3px;color:currentColor}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}:host(:not([clickable=true])) .ripple{display:none}",lo='
',ie=class extends p({style:no,template:lo,props:ao,syncProps:["checked","clickable","disabled","type"],setup(o){let e=o.querySelector("slot[name=action]");e.onclick=r=>r.stopPropagation(),e.onpointerdown=r=>r.stopPropagation(),this.addEventListener("click",()=>{this.clickable&&(this.checked=!this.checked,this.dispatchEvent(new Event("change")))})}}){};ie.define(io);var co="s-circular-progress",po={indeterminate:!1,animated:!1,max:100,value:0},ho=":host{display:inline-block;vertical-align:middle;position:relative;width:48px;aspect-ratio:1;-webkit-aspect-ratio:1;color:var(--s-color-primary, #006782)}:host([animated=true]) .known .block{transition-duration:var(--s-motion-duration-medium4, .4s);transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-name:stroke-dashoffset,transform}:host([indeterminate=true]) .known,.unknown{display:none}:host([indeterminate=true]) .unknown,.known{display:block}.container{width:100%;height:100%;border-radius:inherit;position:relative}svg{height:inherit;width:inherit;stroke:currentColor}circle{stroke-linecap:round;fill:none;stroke-dasharray:var(--dasharray)}.track{stroke:var(--s-color-secondary-container, #CFE6F1)}.unknown{animation:rotate 1568ms linear infinite}@keyframes stroke{0%{stroke-dashoffset:var(--dasharray)}50%{stroke-dashoffset:calc(var(--dasharray) / 4)}to{stroke-dashoffset:var(--dasharray)}}@keyframes stroke-rotate{0%{transform:rotate(0)}12.5%{transform:rotate(0)}25%{transform:rotate(270deg)}37.5%{transform:rotate(270deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(540deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(810deg)}to{transform:rotate(1080deg)}to{transform:rotate(1080deg)}}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}",E=48,F=4,M=(E-F)*Math.PI,mo=`
`,ae=class extends p({style:ho,template:mo,props:po,syncProps:["indeterminate","animated"],setup(o){let e=o.querySelector(".known .track"),r=o.querySelector(".known .indicator"),a=()=>{let i=Math.min(this.value,this.max)/this.max*100,n=M-M*(i/100),d=i/100*360;e.style.strokeDashoffset=`${i===0?0:Math.min(M+16-n,M)}px`,e.setAttribute("transform",`rotate(${d+20}, ${E/2}, ${E/2})`),r.style.strokeDashoffset=`${n}px`};return{max:a,value:a}}}){};ae.define(co);var P=(s,o="yyyy-MM-dd")=>{typeof s=="string"&&(s=new Date(s));let e=s.getFullYear(),r=s.getMonth()+1,a=s.getDate();return o.replace("yyyy",e.toString()).replace("MM",r.toString().padStart(2,"0")).replace("dd",a.toString().padStart(2,"0"))};var ne=class{list;locale=navigator.language;updates=new Map;constructor(o){this.list=o}getItem(o){if(o=o||this.locale,o in this.list)return this.list[o];let[e]=o.split("-");return e in this.list?this.list[e]:this.list.zh}addItem(o,e){if(this.list[o])throw new Error(`Locale ${o} already exists`);this.list[o]=e}setLocale(o){this.locale=o??navigator.language,this.updates.forEach(e=>e())}};var L=new ne({});L.list={zh:{display:s=>`${s.getFullYear()}\u5E74${s.getMonth()+1}\u6708${s.getDate()}\u65E5 \u661F\u671F${L.list.zh.displayWeeks[s.getDay()]}`,displayMonth:s=>`${s.getFullYear()}\u5E74`,displayWeeks:["\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"]},en:{display:s=>`${["Sun","Mon","Tue","Wed","Thu","Fri","Sat"][s.getDay()]}, Jan ${s.getDate()}`,displayMonth:s=>`${["January","February","March","April","May","June","July","August","September","October","November","December"][s.getMonth()]} ${s.getFullYear()}`,displayWeeks:["S","M","T","W","T","F","S"]}};var uo="s-date",go={value:"",locale:"",max:"2099-12-31",min:"1900-01-01"},fo=":host{display:inline-block;vertical-align:middle;border-radius:8px;font-size:.875rem;max-width:360px;overflow:hidden;box-sizing:border-box;border:solid 1px var(--s-color-surface-variant, #DCE4E8);background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-on-surface, #191C1E)}.button,.icon-button{display:flex;justify-content:center;align-items:center;height:36px;box-sizing:border-box;font-size:.8125rem;color:var(--s-color-on-surface-variant, #40484C)}.icon-button{width:36px;border-radius:50%}.button{border-radius:18px;height:36px;padding:0 12px}svg{width:24px;fill:currentColor;box-sizing:border-box}.header{padding:24px 24px 16px;font-size:1.25rem;border-bottom:solid 1px var(--s-color-surface-variant, #DCE4E8);background:var(--s-color-surface-container, #ECEEF0)}.container{display:flex;flex-direction:column;position:relative}.action{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}.action>.year>svg{margin:0 -8px 0 2px;padding:1px}.action>.toggle{display:flex}.years{display:flex;flex-wrap:wrap;overflow:auto;gap:4px;column-gap:6px;padding:0 16px 16px;margin-top:-12px;max-height:280px;counter-reset:year-counter 1899}.years>.item{counter-increment:year-counter;flex-grow:1}.years>.item:before{content:counter(year-counter)}.weeks{display:flex;padding:0 16px;font-size:.8125rem;color:var(--s-color-outline, #70787D)}.weeks>.item,.days>.item{width:calc(100% / 7);display:inline-flex;justify-content:center}.days{padding:16px;display:flex;flex-wrap:wrap}.days>.overflow~.item{display:none}.days>.item>s-ripple{margin:2px}.days>.checked>s-ripple,.years>.checked{pointer-events:none;background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}.container:not(.show-years) .years,.show-years :is(.weeks,.days,.action>.toggle){display:none}",$={years:[],weeks:[],days:[]};for(let s=0;s<200;s++)s<7&&$.weeks.push('
'),s<31&&$.days.push(`
${s+1}
`),$.years.push('');var xo=`
${$.years.join("")}
${$.weeks.join("")}
${$.days.join("")}
`,_e=class{yearSelect;daySelect;dayOverflow;date;min;max;constructor(o,e,r){this.date=typeof o=="string"?new Date(o):o,this.min=new Date(e),this.max=new Date(r)}},at=(s,o)=>{let e=new Date(s,o+1,1);return e.setDate(e.getDate()-1),e.getDate()},le=class extends p({style:fo,template:xo,props:go,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".header>span"),a=o.querySelector(".action>.year"),i=o.querySelector(".action>.toggle>.prev"),n=o.querySelector(".action>.toggle>.next"),d=o.querySelector(".years"),c=o.querySelector(".weeks"),l=o.querySelector(".days"),t=new _e(this.value||new Date,this.min,this.max),f=()=>{let x=L.getItem(this.locale).display;r.textContent=x(t.date);let v=L.getItem(this.locale).displayMonth;a.children[0].textContent=v(t.date)},m=()=>{let x=L.getItem(this.locale).displayWeeks;c.childNodes.forEach((v,y)=>v.textContent=x[y])},u=()=>{let x=new Date(t.date.getFullYear(),t.date.getMonth(),1).getDay();l.children[0].setAttribute("style",`margin-left: calc((100% / 7) * ${x})`);let v=new Date(t.date.getFullYear(),t.date.getMonth()+1,0).getDate();t.dayOverflow?.classList.remove("overflow"),t.dayOverflow=l.children[v-1],t.dayOverflow.classList.add("overflow"),t.yearSelect?.classList.remove("checked"),t.yearSelect=d.children[t.date.getFullYear()-t.min.getFullYear()],t.yearSelect.classList.add("checked"),t.daySelect?.classList.remove("checked"),t.daySelect=l.children[t.date.getDate()-1],t.daySelect.classList.add("checked"),e.style.removeProperty("height")},g=()=>{let x=t.max.getFullYear()-t.min.getFullYear();d.innerHTML="",d.style.counterReset=`year-counter ${t.min.getFullYear()-1}`;let v=document.createDocumentFragment();for(let y=0;y<=x;y++){let C=new z;C.classList.add("button","item"),v.appendChild(C)}d.appendChild(v),u()},h=(x,v,y)=>{this.value=P(new Date(x,v,y)),this.dispatchEvent(new Event("change"))};a.onclick=()=>{let x=e.offsetHeight;if(e.classList.toggle("show-years"),e.classList.contains("show-years")){e.style.height=`${x}px`,t.yearSelect&&d.scrollTo({top:t.yearSelect.offsetTop-d.offsetHeight/2+t.yearSelect.offsetHeight/2});return}},i.onclick=()=>{let x=at(t.date.getFullYear(),t.date.getMonth()-1),v=Math.min(t.date.getDate(),x);h(t.date.getFullYear(),t.date.getMonth()-1,v)},n.onclick=()=>{let x=at(t.date.getFullYear(),t.date.getMonth()+1),v=Math.min(t.date.getDate(),x);h(t.date.getFullYear(),t.date.getMonth()+1,v)},d.onclick=x=>{if(!(x.target instanceof z))return;e.classList.remove("show-years");let v=Array.from(d.children).indexOf(x.target)+t.min.getFullYear();h(v,t.date.getMonth(),t.date.getDate())},l.onclick=x=>{if(!(x.target instanceof z))return;let v=Array.from(l.children).indexOf(x.target.parentElement)+1;h(t.date.getFullYear(),t.date.getMonth(),v)};let b=()=>{f(),m()};return u(),b(),{onMounted:()=>L.updates.set(this,b),onUnmounted:()=>L.updates.delete(this),min:x=>{let v=new Date(x);if(isNaN(v.getTime())||v.getTime()>t.date.getTime())throw Error("invalid min date");t.min=v,g()},max:x=>{let v=new Date(x);if(isNaN(v.getTime())||v.getTime()P(t.date),set:x=>{let v=new Date(x);if(isNaN(v.getTime())||v.getTime()t.max.getTime())throw Error("invalid date");t.date=v,f(),u()}},locale:b}}}){static addLocale(o,e){L.addItem(o,e)}static setLocale(o){L.setLocale(o)}};le.define(uo);var vo="s-date-picker",Re={value:"",min:"",max:"",label:"",positiveText:"\u786E\u5B9A",negativeText:"\u53D6\u6D88",format:"yyyy-MM-dd",locale:""},bo=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--date-picker-border-radius: 4px;--date-picker-border-color: var(--s-color-outline, #70787D);--date-picker-border-width: 1px;--date-picker-padding: 16px;--date-picker-height: 48px}s-dialog{display:block}.field{--field-border-radius: var(--date-picker-border-radius);--field-border-color: var(--date-picker-border-color);--field-border-width: var(--date-picker-border-width);--field-padding: var(--date-picker-padding);height:var(--date-picker-height);position:relative;}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--date-picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--date-picker-padding) * -1) + 12px));margin-right:max(0px,calc(var(--date-picker-padding) - 4px));fill:var(--s-color-on-surface-variant, #40484C)}.ripple{border-radius:var(--date-picker-border-radius)}.date{border:none;max-width:360px;border-radius:0}.positive,.negative{border-radius:20px}",yo=`
${Re.negativeText}${Re.positiveText}
`,ce=class extends p({style:bo,template:yo,props:Re,setup(o){let e=o.querySelector("s-dialog"),r=o.querySelector("s-date"),a=o.querySelector(".negative"),i=o.querySelector(".positive"),n=o.querySelector("s-field"),d=o.querySelector(".label"),c=o.querySelector(".view"),l={date:""};return e.addEventListener("show",()=>{n.fixed=!0,n.focused=!0,l.date||(c.textContent=this.label,c.style.opacity="0")}),e.onclose=()=>{n.focused=!1,l.date||(n.fixed=!1)},i.onclick=()=>{this.value=r.value,c.style.removeProperty("opacity"),this.dispatchEvent(new Event("change"))},{value:{get:()=>l.date,set:t=>{if(l.date=t,t===""){r.value=P(new Date),n.fixed=!1,c.textContent="";return}n.fixed=!0,c.textContent=P(t,this.format),r.value=t}},locale:{get:()=>r.locale,set:t=>r.locale=t},min:{get:()=>r.min,set:t=>r.min=t},max:{get:()=>r.max,set:t=>r.max=t},label:t=>d.textContent=t,positiveText:t=>i.textContent=t,negativeText:t=>a.textContent=t}}}){};ce.define(vo);var wo="s-scroll-view",ko={},Eo=":host{display:block;overflow:auto}@media (any-pointer: fine){:host::-webkit-scrollbar{background:transparent;width:6px;height:6px}:host::-webkit-scrollbar-thumb{background:var(--s-color-outline-variant, #C0C8CC);border-radius:3px}@supports not selector(::-webkit-scrollbar){:host{scrollbar-color:var(--s-color-outline-variant, #C0C8CC) transparent}}}",Co="",de=class extends p({style:Eo,template:Co,props:ko}){};de.define(wo);var So="s-dialog",qo={showed:!1,size:"standard"},zo=":host{display:inline-block;vertical-align:middle}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;color:inherit}dialog::backdrop{background:none}.wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative;pointer-events:none}.scrim{background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent);position:absolute;inset:0;width:100%;height:100%;opacity:0}dialog.show .scrim{opacity:1}.container,::slotted([slot=custom]){max-width:calc(100% - 48px);max-height:calc(100% - 48px);pointer-events:auto;position:relative;border-radius:28px;display:flex;flex-direction:column;overflow:hidden;transition-timing-function:ease-out;box-shadow:var(--s-elevation-level5, 0 10px 14px -6px rgba(0, 0, 0, .2), 0 22px 35px 3px rgba(0, 0, 0, .14), 0 8px 42px 7px rgba(0, 0, 0, .12));background:var(--s-color-surface-container-high, #E7E8EA)}:host([size=full]) .container{width:100%;height:100%;border-radius:0;max-width:none;max-height:none}::slotted([slot=headline]){padding:24px 24px 0;font-size:1.5rem;line-height:1.6;font-weight:600;color:var(--s-color-on-surface, #191C1E);flex-shrink:0}.text{user-select:text;-webkit-user-select:text;flex-grow:1}::slotted([slot=text]){margin:16px 24px;line-height:1.6}:host(:not([size=full])) ::slotted(:is(:not([slot]),[slot=text])){max-width:425px}.action{display:flex;justify-content:flex-end;padding:0 14px;flex-shrink:0}::slotted([slot=action]){min-width:72px;margin:16px 2px;display:inline-flex;align-items:center;padding:0 24px;color:var(--s-color-primary, #006782);box-sizing:border-box;height:40px;font-size:.875rem;}",Lo='
',Fo=s=>{let o=document.body,e=new V,r=document.body.firstElementChild;if(r&&r.tagName==="S-PAGE"&&(o=r),typeof s=="string"){let a=document.createElement("div");a.slot="text",a.textContent=s,e.appendChild(a)}else{if(s.root&&(o=s.root),s.headline){let i=document.createElement("div");i.slot="headline",i.textContent=s.headline,e.appendChild(i)}if(s.text){let i=document.createElement("div");i.slot="text",i.textContent=s.text,e.appendChild(i)}s.view&&(typeof s.view=="function"?s.view(e):e.appendChild(s.view));let a=s.actions??[];for(let i of Array.isArray(a)?a:[a]){let n=document.createElement("s-button");n.slot="action",n.type="text",n.textContent=i.text,i.click&&(n.onclick=i.click),e.appendChild(n)}}return e.showed=!0,e.addEventListener("closed",()=>o.removeChild(e)),o.appendChild(e),e},V=class extends p({style:zo,template:Lo,props:qo,syncProps:!0,setup(o){let e=o.querySelector("dialog"),r=o.querySelector(".scrim"),a=o.querySelector(".wrapper"),i=getComputedStyle(this),n=()=>{let t=i.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",f=i.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:t,duration:w(f)}};o.querySelector("slot[name=trigger]").onclick=()=>{this.showed||!this.dispatchEvent(new CustomEvent("show",{cancelable:!0,detail:{source:"TRIGGER"}}))||(this.showed=!0)};let d=t=>{!this.showed||!this.dispatchEvent(new CustomEvent("close",{cancelable:!0,detail:{source:t}}))||(this.showed=!1)};o.querySelector(".scrim").onclick=()=>d("SCRIM"),o.querySelector("slot[name=action]").onclick=()=>d("ACTION");let c=()=>{if(!this.isConnected||e.open)return;let t=n();e.showModal(),e.classList.add("show"),r.animate({opacity:[0,1]},t),a.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},t).addEventListener("finish",()=>this.dispatchEvent(new Event("showed")))},l=()=>{if(!this.isConnected||!e.open)return;let t=n();r.animate({opacity:[1,0]},t),a.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},t).addEventListener("finish",()=>{e.close(),e.classList.remove("show"),this.dispatchEvent(new Event("closed"))})};return{onMounted:()=>this.showed&&!e.open&&c(),showed:t=>t?c():l()}}}){static builder=Fo};V.define(So);var Mo="s-divider",To={},Po=':host{display:flex;align-items:center;margin:0 16px;gap:8px;font-size:.75rem;color:var(--s-color-outline, #70787D)}:host:before,:host:after{content:"";flex-grow:1;border-top:solid 1px var(--s-color-outline-variant, #C0C8CC)}:host(:empty){gap:0}',$o="",pe=class extends p({style:Po,template:$o,props:To}){};pe.define(Mo);var Ao="s-drawer",Do={},Bo=":host{display:flex;height:100%;overflow:hidden;position:relative;container-name:host;container-type:inline-size}.start,.end{flex-shrink:0;height:100%;display:none;overflow:hidden}.start{order:-1}.scrim{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;display:none;pointer-events:none;background:color-mix(in srgb,var(--s-color-scrim, #000000) 76%,transparent)}.view{display:flex;flex-direction:column;flex-grow:1;min-width:0;height:100%;position:relative}::slotted(:is([slot=start],[slot=end])){width:280px;border-width:1px;height:100%;box-sizing:border-box;pointer-events:auto;position:relative;background:var(--s-color-surface-container-low, #F2F4F5);border-color:var(--s-color-surface-variant, #DCE4E8)}::slotted([slot=start]){border-right-style:solid}::slotted([slot=end]){border-left-style:solid}::slotted(s-scroll-view:not([slot])){flex-grow:1}@container host not (max-width: 1024px){.start.show,.end.show{display:block}}@container host (max-width: 1024px){.scrim{display:block;z-index:1}.scrim.show-laptop{opacity:1;pointer-events:auto}.start,.end{position:absolute;z-index:1;max-width:75%;display:none}.end{left:auto;right:0}.start.show-laptop,.end.show-laptop{display:block}::slotted(:is([slot=start],[slot=end])){border-left-style:none;border-right-style:none;box-shadow:var(--s-elevation-level-3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12))}}",No='
',he=class extends p({style:Bo,template:No,props:Do,setup(o){let e=o.querySelector(".scrim"),r={start:o.querySelector(".start"),end:o.querySelector(".end")},a=getComputedStyle(this),i=()=>{let m=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",u=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:m,duration:w(u)}},n=(m="start")=>r[m],d=m=>m??this.offsetWidth<=1024?"show-laptop":"show",c=(m="start")=>({start:-1,end:1})[m],l=(m,u)=>{let g=n(m),h=d(u);if(g.classList.contains(h))return;let b=c(m),x=i();g.classList.add(h),e.classList.add(h);let v=this.offsetWidth<=1024?{transform:[`translateX(${g.offsetWidth*b}px)`,"translateX(0)"]}:{width:["0",g.offsetWidth+"px"]};e.animate({opacity:[0,1]},x),g.animate(v,x)},t=(m,u)=>{let g=n(m),h=d(u);if(!g.classList.contains(h))return;let b=c(m),x=i(),v={display:["block","block"],...this.offsetWidth<=1024?{transform:["translateX(0)",`translateX(${g.offsetWidth*b}px)`]}:{width:[g.offsetWidth+"px","0"]}};g.animate(v,x),e.animate({opacity:[1,0]},x),g.classList.remove(h),e.classList.remove(h)},f=(m,u)=>{let g=n(m),h=d(u);g.classList.contains(h)?t(m,u):l(m,u)};return e.addEventListener("click",()=>{t("start",!0),t("end",!0)}),{expose:{show:l,close:t,toggle:f}}}}){};he.define(Ao);var Zo="s-empty",Ho={},Io=":host{display:flex;justify-content:center;flex-direction:column;align-items:center;padding:48px 16px;gap:12px;font-size:.75rem;border-radius:4px;box-sizing:border-box;color:var(--s-color-outline, #70787D)}.shadow{fill:var(--s-color-surface-container-high, #E7E8EA)}.box{fill:var(--s-color-surface-container-highest, #E1E3E4)}.border{stroke:var(--s-color-outline, #70787D)}::slotted(:is(svg,s-icon)){color:currentColor;fill:currentColor;width:40px}",jo='',me=class extends p({style:Io,template:jo,props:Ho}){};me.define(Zo);var Vo="s-fab",Yo={hidden:!1,disabled:!1},Wo=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;position:relative;box-sizing:border-box;min-height:48px;font-size:.875rem;border-radius:28px;font-weight:500;white-space:nowrap;text-transform:capitalize;padding:0 24px;transition-property:box-shadow,transform;transition-duration:var(--s-motion-duration-short4, .2s);transition-timing-function:var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-primary-container, #BAEAFF);color:var(--s-color-on-primary-container, #004D62)}:host([disabled=true]){pointer-events:none;background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([hidden=true]){transform:scale(0);pointer-events:none}::slotted(*){flex-shrink:0}::slotted(:is(svg,s-icon)){width:24px;height:24px;fill:currentColor;color:currentColor}::slotted(:is(svg,s-icon):not([slot])){margin:16px -8px}::slotted(:is(svg[slot=start],s-icon[slot=start])){margin-left:-8px;margin-right:8px}::slotted(:is(svg[slot=end],s-icon[slot=end])){margin-left:8px;margin-right:-8px}:host([pressed]){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}@media (any-pointer: fine){:host(:hover){box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",_o='',ue=class extends p({style:Wo,template:_o,props:Yo,syncProps:!0}){};ue.define(Vo);var Ro="s-icon-button",Oo={disabled:!1,type:"standard"},Xo=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;border-radius:50%;width:40px;aspect-ratio:1;-webkit-aspect-ratio:1;color:var(--s-color-on-surface-variant, #40484C);position:relative;box-sizing:border-box}:host([disabled=true]){pointer-events:none!important;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}:host([type=filled]){background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}:host([type=filled][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=filled]) ::slotted([slot=badge]){outline:solid 2px var(--s-color-surface, #F8F9FB)}:host([type=filled-tonal]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}:host([type=filled-tonal][disabled=true]){background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([type=outlined]){border:solid 1px var(--s-color-outline, #70787D)}:host([type=outlined][disabled=true]){border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E))!important}.ripple{border-radius:inherit}::slotted(:not([slot=badge])){color:inherit}::slotted(svg){width:24px;height:24px;fill:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0;flex-shrink:0}",Go='',ge=class extends p({style:Xo,template:Go,props:Oo,syncProps:!0}){};ge.define(Ro);var Uo="s-icon",Qo={name:"none",src:""},Jo=":host{display:inline-flex;vertical-align:middle;justify-content:center;align-items:center;width:24px;aspect-ratio:1;-webkit-aspect-ratio:1;fill:currentColor;box-sizing:border-box;color:var(--s-color-on-surface-variant, #40484C)}svg,img{width:100%;height:100%}::slotted(*){width:100%;height:100%}",fe={none:"",home:"M240-200h120v-240h240v240h120v-360L480-740 240-560v360Zm-80 80v-480l320-240 320 240v480H520v-240h-80v240H160Zm320-350Z",add:"M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z",search:"M784-120 532-372q-30 24-69 38t-83 14q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l252 252-56 56ZM380-400q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z",menu:"M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z",arrow_back:"m313-440 224 224-57 56-320-320 320-320 57 56-224 224h487v80H313Z",arrow_forward:{name:"arrow_back",angle:180},arrow_upward:{name:"arrow_back",angle:90},arrow_downward:{name:"arrow_back",angle:-90},arrow_drop_up:"m280-400 200-200 200 200H280Z",arrow_drop_down:{name:"arrow_drop_up",angle:180},arrow_drop_left:{name:"arrow_drop_up",angle:-90},arrow_drop_right:{name:"arrow_drop_up",angle:90},more_vert:"M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z",more_horiz:{name:"more_vert",angle:90},close:"m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z",done:"M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z",chevron_up:"M480-528 296-344l-56-56 240-240 240 240-56 56-184-184Z",chevron_down:{name:"chevron_up",angle:180},chevron_left:{name:"chevron_up",angle:-90},chevron_right:{name:"chevron_up",angle:90},light_mode:"M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM200-440H40v-80h160v80Zm720 0H760v-80h160v80ZM440-760v-160h80v160h-80Zm0 720v-160h80v160h-80ZM256-650l-101-97 57-59 96 100-52 56Zm492 496-97-101 53-55 101 97-57 59Zm-98-550 97-101 59 57-100 96-56-52ZM154-212l101-97 55 53-97 101-59-57Zm326-268Z",dark_mode:"M480-120q-150 0-255-105T120-480q0-150 105-255t255-105q14 0 27.5 1t26.5 3q-41 29-65.5 75.5T444-660q0 90 63 153t153 63q55 0 101-24.5t75-65.5q2 13 3 26.5t1 27.5q0 150-105 255T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z",star:"m354-287 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-120l65-281L80-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-350Z",favorite:"m480-120-58-52q-101-91-167-157T150-447.5Q111-500 95.5-544T80-634q0-94 63-157t157-63q52 0 99 22t81 62q34-40 81-62t99-22q94 0 157 63t63 157q0 46-15.5 90T810-447.5Q771-395 705-329T538-172l-58 52Zm0-108q96-86 158-147.5t98-107q36-45.5 50-81t14-70.5q0-60-40-100t-100-40q-47 0-87 26.5T518-680h-76q-15-41-55-67.5T300-774q-60 0-100 40t-40 100q0 35 14 70.5t50 81q36 45.5 98 107T480-228Zm0-273Z"},Ko="",xe=class extends p({style:Jo,template:Ko,props:Qo,syncProps:["name"],setup(o){let e=o.querySelector("slot"),r=document.createElement("img"),a=(i=fe.none,n="")=>``;return{name:()=>{let i=fe[this.name];if(typeof i=="string")return e.innerHTML=a(i);let n=i.name;typeof fe[n]=="string"&&(e.innerHTML=a(fe[n],`rotate(${i.angle} 480 -480)`))},src:async()=>{try{let i=new URL(this.src,location.href);if(i.pathname.endsWith(".svg")){let n=await(await fetch(i.href)).text(),d=document.createElement("template");d.innerHTML=n;let c=d.content.childNodes[0];if(!(c instanceof SVGElement))throw new Error("Invalid SVG");e.innerHTML="",e.appendChild(c),this.dispatchEvent(new Event("load"))}else r.src=i.href,r.onload=()=>{e.innerHTML="",e.appendChild(r),this.dispatchEvent(new Event("load"))},r.onerror=()=>this.dispatchEvent(new ErrorEvent("error"))}catch{this.dispatchEvent(new ErrorEvent("error"))}}}}}){};xe.define(Uo);var er="s-linear-progress",tr={indeterminate:!1,animated:!1,max:100,value:0},or=":host{display:block;height:4px;color:var(--s-color-primary, #006782);border-radius:2px;overflow:hidden}:host([animated=true]) .known>.block{transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([indeterminate=true]) .known,.unknown{display:none}:host([indeterminate=true]) .unknown,.known{display:flex}.container{height:100%;border-radius:inherit;position:relative}.block{position:absolute;height:100%;border-radius:inherit;width:100%;left:0;top:0}.track{background:var(--s-color-secondary-container, #CFE6F1)}.indicator{background:currentColor}.indicator-dot{position:absolute;right:0;top:0;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;background:currentColor;border-radius:inherit}@keyframes unknown{0%{transform:translate(0)}to{transform:translate(150%)}}.unknown{justify-content:flex-end;gap:4px;animation:unknown 2s linear infinite}.unknown .block{position:static;flex-grow:1;width:100%;flex-shrink:0}.unknown .indicator{width:50%}",rr='
',ve=class extends p({style:or,template:rr,props:tr,syncProps:["indeterminate","animated"],setup(o){let e=o.querySelector(".known>.track"),r=o.querySelector(".known>.indicator"),a=()=>{let i=Math.min(this.value,this.max)/this.max*100;e.style.transform=`translateX(calc(${i}% + ${i===0?0:4}px))`,r.style.transform=`translateX(${i-100}%)`};return{max:a,value:a}}}){};ve.define(er);var sr="s-menu",ir={},ar=":host{display:flex;flex-direction:column;font-size:.875rem;padding:4px 0;background:var(--s-color-surface-container-low, #F2F4F5)}:host(:nth-of-type(n+2)){border-top:solid 1px var(--s-color-surface-variant, #DCE4E8)}::slotted([slot=label]){display:flex;align-items:center;height:44px;margin:-4px 20px;font-size:.75rem;color:var(--s-color-on-surface-variant, #40484C);white-space:nowrap;max-width:100%;overflow:hidden}",nr='',be=class extends p({style:ar,template:nr,props:ir}){},lr="s-menu-item",nt={checked:!1,folded:!0},cr=":host{display:flex;flex-direction:column;margin:4px 8px 4px 0;color:var(--s-color-on-surface, #191C1E)}.container{display:flex;align-items:center;height:40px;border-radius:0 24px 24px 0;padding:0 20px;flex-shrink:0}:host([checked=true]) .container{background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.toggle-icon{width:24px;height:24px;display:none;margin-right:-8px;margin-left:12px;transform:rotate(-90deg);transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));fill:var(--s-color-on-surface-variant, #40484C)}.show-menu .toggle-icon{display:block}:host([folded=false]) .toggle-icon{transform:rotate(0)}.fold{flex-shrink:0}.show-menu+.fold{margin:0 -8px 0 0}.menu{display:block;padding-top:8px}::slotted(:is(svg,s-icon)){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;height:24px;width:24px}:host([checked=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:12px}::slotted([slot=end]){margin-right:-8px;margin-left:12px}::slotted([slot=menu]){background:var(--s-color-surface-container-high, #E7E8EA)}",dr=`
`,ye=class extends p({style:cr,template:dr,props:nt,syncProps:!0,setup(o){let e=o.querySelector(".container"),r=o.querySelector(".fold"),a=o.querySelector("slot[name=menu]");return r.onclick=i=>i.stopPropagation(),a.onslotchange=()=>e.classList[a.assignedElements().length>0?"add":"remove"]("show-menu"),e.onclick=()=>{e.classList.contains("show-menu")&&(this.folded=!this.folded)},{folded:i=>r.folded=i}}}){};be.define(sr),ye.define(lr);var Oe="s-navigation",pr={mode:"bottom",value:""},hr=":host{display:flex;justify-content:center;align-items:center;overflow:hidden;background:var(--s-color-surface, #F8F9FB);box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));position:relative;padding-bottom:env(safe-area-inset-bottom)}:host([mode=rail]){flex-direction:column;justify-content:flex-start;width:80px;box-shadow:none;height:100%;background:none;padding-bottom:0}::slotted(s-navigation-item){height:64px}:host([mode=rail]) ::slotted(s-navigation-item){height:72px}:host([mode=rail]) ::slotted(s-icon-button[slot=start]){width:56px;height:56px;margin:16px 0 8px;border-radius:12px}:host([mode=rail]) ::slotted([slot=end]){flex-grow:1}",mr='',A=class extends p({style:hr,template:mr,props:pr,syncProps:!0,setup(o){let e=o.querySelector("#slot"),r=new q({context:this,class:Y,slot:e});return{expose:{get options(){return r.list},get selectedIndex(){return r.selectedIndex}},value:{get:()=>r.value,set:a=>r.value=a}}}}){},ur="s-navigation-item",gr={selected:!1,value:""},fr=":host{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;font-size:.75rem;font-weight:500;box-sizing:border-box;width:100%;max-width:80px;text-transform:capitalize;transition:color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-primary, #006782)}.icon{position:relative;display:flex;justify-content:center;align-items:center;height:28px;width:48px;border-radius:14px;transition:background-color var(--s-motion-duration-short4, .4s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([selected=true]) .icon{background:var(--s-color-secondary-container, #CFE6F1)}::slotted(*){flex-shrink:0}::slotted(svg){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;width:24px;height:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot=badge]){position:absolute;right:4px;top:0}::slotted([slot=text]){margin-top:4px}",xr='',Y=class extends p({style:fr,template:xr,props:gr,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof A&&this.dispatchEvent(new Event(`${Oe}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof A&&this.dispatchEvent(new Event(`${Oe}:update`,{bubbles:!0}))}}}}){};A.define(Oe),Y.define(ur);var vr="s-field",br={focused:!1,fixed:!0},yr=':host{display:inline-block;vertical-align:middle;font-size:.875rem;--field-padding: 16px;--field-padding-top: var(--field-padding);--field-padding-bottom: var(--field-padding);--field-padding-left: var(--field-padding);--field-padding-right: var(--field-padding);--field-border-radius: 4px;--field-border-width: 1px;--field-focused-border-width: 2px;--field-border-color: var(--s-color-outline, #70787D)}.container{display:flex;height:100%;min-height:inherit}.line{position:relative}.line:before,.line:after{position:absolute;content:"";top:0;left:0;height:100%;width:100%;box-sizing:border-box;border-width:var(--field-border-width);border-color:var(--field-border-color);pointer-events:none}.line:after{border-width:var(--field-focused-border-width);border-color:var(--s-color-primary, #006782);opacity:0;transition:opacity .2s ease-out}:host([focused=true]) .line:after{opacity:1}.start,.end{display:flex;align-items:center;flex-shrink:0;min-width:var(--field-border-radius)}.start:before,.end:before,.start:after,.end:after{border-top-style:solid;border-bottom-style:solid}.start:before,.start:after{border-left-style:solid;border-top-left-radius:var(--field-border-radius);border-bottom-left-radius:var(--field-border-radius)}.end:before,.end:after{border-right-style:solid;border-top-right-radius:var(--field-border-radius);border-bottom-right-radius:var(--field-border-radius);left:auto;right:0}.box{display:grid;grid-template-areas:"a" "a";flex-grow:1}.box:before,.box:after{border-bottom-style:solid}.top,.view{height:100%;display:flex;grid-area:a;position:relative;box-sizing:border-box;margin-left:calc(var(--field-border-radius) * -1);margin-right:calc(var(--field-border-radius) * -1)}.view{align-items:center}.top{pointer-events:none}.top>.left:before,.top>.right:before,.top>.left:after,.top>.right:after{border-top-style:solid}.top>.left{width:calc(var(--field-padding-left) - var(--field-border-radius) - 4px);margin-left:max(4px,var(--field-border-radius));margin-right:min(4px,calc(var(--field-padding-left) - var(--field-border-radius)));flex-shrink:0}:host([fixed=false]) .top>.left{width:calc(var(--field-padding-left) - var(--field-border-radius));margin-right:0}.top>.right{flex-grow:1;width:calc(var(--field-padding-right) - var(--field-border-radius) - 4px);margin-left:min(4px,calc(var(--field-padding-right) - var(--field-border-radius)));margin-right:max(4px,var(--field-border-radius))}:host([fixed=false]) .top>.right{width:calc(var(--field-padding-left) - var(--field-border-radius));margin-left:0}.label{display:block;height:100%;flex-shrink:0}.label>.line:before,.label>.line:after,:host([fixed=false]) .label:before,:host([fixed=false]) .label:after{border-top-style:solid}.label>.line:before,.label>.line:after{transform:translate(-50%);width:min(calc(var(--field-padding-right) - var(--field-border-radius)),8px)}::slotted([slot=label]){display:flex;height:100%;font-size:.75rem;align-items:center;transform:translateY(-50%);color:var(--field-border-color);transition:transform .2s ease-out,font-size .2s ease-out;box-sizing:border-box;position:relative}:host([fixed=false]) ::slotted([slot=label]),::slotted([slot=label]:empty){font-size:inherit;transform:translateY(0)}::slotted([slot=label]:empty):before,::slotted([slot=label]:empty):after{content:"";position:absolute;top:0;left:0;transform:translate(-50%);width:min(calc(var(--field-padding-right) - var(--field-border-radius)),8px);border-top:solid var(--field-border-width);var(--field-border-color)}::slotted([slot=label]:empty):after{opacity:0;border-width:var(--field-focused-border-width);transition:opacity .2s ease-out;border-color:var(--s-color-primary, #006782)}:host([focused=true]) ::slotted([slot=label]:empty):after{opacity:1}:host([focused=true]) ::slotted([slot=label]){color:var(--s-color-primary, #006782)}::slotted(:not([slot])){padding-left:var(--field-padding-left);padding-right:var(--field-padding-right);padding-top:var(--field-padding-top);padding-bottom:var(--field-padding-bottom);display:flex;align-items:center;height:100%;box-sizing:border-box}',wr='
',we=class extends p({style:yr,template:wr,props:br,syncProps:!0}){};we.define(vr);var kr="s-fold",Er={folded:!1},Cr=":host{display:block}.container{display:grid;grid-template-rows:1fr;overflow:hidden;transition:grid-template-rows var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1))}:host([folded=true]) .container{grid-template-rows:0fr}.view{display:block;min-height:0;overflow:hidden}",Sr='
',ke=class extends p({style:Cr,template:Sr,props:Er,syncProps:!0,setup(o){o.querySelector("slot[name=trigger]").onclick=()=>this.folded=!this.folded}}){};ke.define(kr);var qr="s-page",zr={theme:"light"},Lr=":host{display:flow-root;height:100%;font-family:Roboto,system-ui;color:var(--s-color-on-background);background:var(--s-color-background);--s-color-scrim: #000000;--s-color-primary: #006782;--s-color-on-primary: #ffffff;--s-color-primary-container: #BAEAFF;--s-color-on-primary-container: #004D62;--s-color-secondary: #4C616B;--s-color-on-secondary: #ffffff;--s-color-secondary-container: #CFE6F1;--s-color-on-secondary-container: #354A53;--s-color-tertiary: #5C5B7E;--s-color-on-tertiary: #ffffff;--s-color-tertiary-container: #E2DFFF;--s-color-on-tertiary-container: #444465;--s-color-error: #BA1A1A;--s-color-on-error: #ffffff;--s-color-error-container: #FFDAD6;--s-color-on-error-container: #93000A;--s-color-background: #F8F9FB;--s-color-on-background: #191C1E;--s-color-outline: #70787D;--s-color-outline-variant: #C0C8CC;--s-color-surface: #F8F9FB;--s-color-on-surface: #191C1E;--s-color-surface-variant: #DCE4E8;--s-color-on-surface-variant: #40484C;--s-color-inverse-surface: #2E3132;--s-color-inverse-on-surface: #EFF1F3;--s-color-inverse-primary: #60D4FE;--s-color-surface-container: #ECEEF0;--s-color-surface-container-high: #E7E8EA;--s-color-surface-container-highest: #E1E3E4;--s-color-surface-container-low: #F2F4F5;--s-color-surface-container-lowest: #FFFFFF;--s-color-success: #006d43;--s-color-on-success: #ffffff;--s-color-success-container: #92f7bc;--s-color-on-success-container: #002111;--s-color-warning: #6f5d00;--s-color-on-warning: #ffffff;--s-color-warning-container: #ffe169;--s-color-on-warning-container: #221b00;--s-color-dark-primary: #60D4FE;--s-color-dark-on-primary: #003545;--s-color-dark-primary-container: #004D62;--s-color-dark-on-primary-container: #BAEAFF;--s-color-dark-secondary: #B4CAD5;--s-color-dark-on-secondary: #1E333C;--s-color-dark-secondary-container: #354A53;--s-color-dark-on-secondary-container: #CFE6F1;--s-color-dark-tertiary: #C4C3EA;--s-color-dark-on-tertiary: #2D2D4D;--s-color-dark-tertiary-container: #444465;--s-color-dark-on-tertiary-container: #E2DFFF;--s-color-dark-error: #FFB4AB;--s-color-dark-on-error: #690005;--s-color-dark-error-container: #93000A;--s-color-dark-on-error-container: #FFDAD6;--s-color-dark-background: #111415;--s-color-dark-on-background: #E1E3E4;--s-color-dark-outline: #8A9296;--s-color-dark-outline-variant: #40484C;--s-color-dark-surface: #111415;--s-color-dark-on-surface: #E1E3E4;--s-color-dark-surface-variant: #40484C;--s-color-dark-on-surface-variant: #C0C8CC;--s-color-dark-inverse-surface: #E1E3E4;--s-color-dark-inverse-on-surface: #2E3132;--s-color-dark-inverse-primary: #006782;--s-color-dark-surface-container: #1D2022;--s-color-dark-surface-container-high: #272A2C;--s-color-dark-surface-container-highest: #323537;--s-color-dark-surface-container-low: #191C1E;--s-color-dark-surface-container-lowest: #0C0F10;--s-color-dark-success: #76daa1;--s-color-dark-on-success: #003920;--s-color-dark-success-container: #005231;--s-color-dark-on-success-container: #92f7bc;--s-color-dark-warning: #e2c54b;--s-color-dark-on-warning: #3a3000;--s-color-dark-warning-container: #544600;--s-color-dark-on-warning-container: #ffe169;--s-elevation-level1: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);--s-elevation-level2: 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12);--s-elevation-level3: 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12);--s-elevation-level4: 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12);--s-elevation-level5: 0 10px 14px -6px rgba(0, 0, 0, .2), 0 22px 35px 3px rgba(0, 0, 0, .14), 0 8px 42px 7px rgba(0, 0, 0, .12);--s-motion-Duration-Short1: 50ms;--s-motion-duration-short2: .1s;--s-motion-duration-short3: .15s;--s-motion-duration-short4: .2s;--s-motion-duration-medium1: .25s;--s-motion-duration-medium2: .3s;--s-motion-duration-medium3: .35s;--s-motion-duration-medium4: .4s;--s-motion-duration-long1: .45s;--s-motion-duration-long2: .5s;--s-motion-duration-long3: .55s;--s-motion-duration-long4: .6s;--s-motion-duration-extra-long1: .7s;--s-motion-duration-extra-long2: .8s;--s-motion-duration-extra-long3: .9s;--s-motion-duration-extra-long4: 1s;--s-motion-easing-emphasized: cubic-bezier(.2, 0, 0, 1);--s-motion-easing-emphasized-decelerate: cubic-bezier(.05, .7, .1, 1);--s-motion-easing-emphasized-accelerate: cubic-bezier(.3, 0, .8, .15);--s-motion-easing-standard: cubic-bezier(.2, 0, 0, 1);--s-motion-easing-standard-decelerate: cubic-bezier(0, 0, 0, 1);--s-motion-easing-standard-accelerate: cubic-bezier(.3, 0, 1, 1)}:host([dark]){--s-color-primary: var(--s-color-dark-primary) !important;--s-color-on-primary: var(--s-color-dark-on-primary) !important;--s-color-primary-container: var(--s-color-dark-primary-container) !important;--s-color-on-primary-container: var(--s-color-dark-on-primary-container) !important;--s-color-secondary: var(--s-color-dark-secondary) !important;--s-color-on-secondary: var(--s-color-dark-on-secondary) !important;--s-color-secondary-container: var(--s-color-dark-secondary-container) !important;--s-color-on-secondary-container: var(--s-color-dark-on-secondary-container) !important;--s-color-tertiary: var(--s-color-dark-tertiary) !important;--s-color-on-tertiary: var(--s-color-dark-on-tertiary) !important;--s-color-tertiary-container: var(--s-color-dark-tertiary-container) !important;--s-color-on-tertiary-container: var(--s-color-dark-on-tertiary-container) !important;--s-color-error: var(--s-color-dark-error) !important;--s-color-on-error: var(--s-color-dark-on-error) !important;--s-color-error-container: var(--s-color-dark-error-container) !important;--s-color-on-error-container: var(--s-color-dark-on-error-container) !important;--s-color-background: var(--s-color-dark-background) !important;--s-color-on-background: var(--s-color-dark-on-background) !important;--s-color-outline: var(--s-color-dark-outline) !important;--s-color-outline-variant: var(--s-color-dark-outline-variant) !important;--s-color-surface: var(--s-color-dark-surface) !important;--s-color-on-surface: var(--s-color-dark-on-surface) !important;--s-color-surface-variant: var(--s-color-dark-surface-variant) !important;--s-color-on-surface-variant: var(--s-color-dark-on-surface-variant) !important;--s-color-inverse-surface: var(--s-color-dark-inverse-surface) !important;--s-color-inverse-on-surface: var(--s-color-dark-inverse-on-surface) !important;--s-color-inverse-primary: var(--s-color-dark-inverse-primary) !important;--s-color-surface-container: var(--s-color-dark-surface-container) !important;--s-color-surface-container-high: var(--s-color-dark-surface-container-high) !important;--s-color-surface-container-highest: var(--s-color-dark-surface-container-highest) !important;--s-color-surface-container-low: var(--s-color-dark-surface-container-low) !important;--s-color-surface-container-lowest: var(--s-color-dark-surface-container-lowest) !important;--s-color-success: var(--s-color-dark-success) !important;--s-color-on-success: var(--s-color-dark-on-success) !important;--s-color-success-container: var(--s-color-dark-success-container) !important;--s-color-on-success-container: var(--s-color-dark-on-success-container) !important;--s-color-warning: var(--s-color-dark-warning) !important;--s-color-on-warning: var(--s-color-dark-on-warning) !important;--s-color-warning-container: var(--s-color-dark-warning-container) !important;--s-color-on-warning-container: var(--s-color-dark-on-warning-container) !important}",Fr="",Xe=document.createElement("style");Xe.textContent="::view-transition-old(root),::view-transition-new(root) { animation: none; mix-blend-mode: normal}";var Ee=class extends p({style:Lr,template:Fr,props:zr,setup(){let o=getComputedStyle(this),e=matchMedia("(prefers-color-scheme: dark)"),r=()=>{let i=o.getPropertyValue("--s-motion-easing-standard-accelerate")||"cubic-bezier(0.3, 0, 1, 1)",n=o.getPropertyValue("--s-motion-duration-long4")||"600ms";return{easing:i,duration:w(n)}},a=()=>this.theme==="auto"?e.matches:this.theme==="dark";return{expose:{toggle:(i,n)=>new Promise(d=>{if(this.theme===i)return;let c=e.matches,l=b=>b==="auto"?c?"dark":"light":b,t=l(this.theme),f=l(i);if(t===f||!document.startViewTransition)return this.theme=i,d();let m=innerWidth,u=innerHeight,g={clipPath:[`circle(0px at 50% ${u/2}px)`,`circle(${Math.sqrt(m**2+u**2)/2}px at 50% ${u/2}px)`]};if(n&&n.isConnected){let{left:b,top:x}=n.getBoundingClientRect(),v=b+n.offsetWidth/2,y=x+n.offsetHeight/2,C=Math.max(m-v,v),S=Math.max(u-y,y),T=Math.sqrt(C**2+S**2);g.clipPath[0]=`circle(0px at ${v}px ${y}px)`,g.clipPath[1]=`circle(${T}px at ${v}px ${y}px)`}let h=document.startViewTransition(()=>{this.theme=i,document.head.appendChild(Xe)});h.ready.then(async()=>{let b=document.documentElement.animate(g,{...r(),pseudoElement:"::view-transition-new(root)"});d(b),await h.finished,Xe.remove()})}),get isDark(){return a()}},theme:i=>{if(i==="light")return this.removeAttribute("dark");if(i==="dark")return this.setAttribute("dark","");let n=()=>{e.matches?this.setAttribute("dark",""):this.removeAttribute("dark"),this.dispatchEvent(new Event("change"))};e.onchange=n,n()}}}}){};Ee.define(qr);var Mr="s-pagination",Tr={value:1,total:20,count:20,type:"standard"},Pr=":host{display:inline-flex;justify-content:center;align-items:center;font-size:.875rem;border-radius:18px;gap:4px;color:var(--s-color-on-surface, #191C1E)}:host([type=outlined]) :is(.icon-button,.button){border-width:1px;border-color:var(--s-color-outline-variant, #C0C8CC);border-style:solid}.container{display:flex;gap:inherit}.icon-button,.button{display:flex;justify-content:center;align-items:center;box-sizing:border-box}.icon-button{border-radius:50%;height:32px;width:32px}.button{height:32px;padding:0 8px;min-width:32px;border-radius:16px;box-sizing:border-box}.checked{background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53);border-color:var(--s-color-secondary, #4C616B)!important}.disabled{pointer-events:none;opacity:.38}.text{pointer-events:none;border:none!important}svg{width:24px;height:24px;padding:1px;box-sizing:border-box;fill:var(--s-color-on-surface-variant, #40484C)}",$r='
1
',Ce=class extends p({style:Pr,template:$r,props:Tr,syncProps:["type"],setup(o){let e=o.querySelector(".prev"),r=o.querySelector(".next"),a=o.querySelector(".container"),i=()=>this.dispatchEvent(new Event("change")),n=()=>{let c=Math.ceil(this.total/this.count),l=Math.max(Math.min(c-7,Math.max(0,this.value-4)),0);if(a.childNodes.forEach(t=>{l++;let f=t;f.textContent=l.toString(),f.classList.toggle("checked",this.value===l),f.classList.remove("text")}),e.classList.toggle("disabled",this.value===1),r.classList.toggle("disabled",this.value===c),c>7){if(this.value>=5){a.childNodes.item(0).textContent="1";let t=a.childNodes.item(1);t.textContent="...",t.classList.add("text")}if(this.value<=c-4){a.childNodes.item(a.childNodes.length-1).textContent=c.toString();let t=a.childNodes.item(a.childNodes.length-2);t.textContent="...",t.classList.add("text")}}},d=()=>{let c=Math.ceil(this.total/this.count),l=Math.min(c,7),t=document.createDocumentFragment();for(let f=1;f<=l;f++){let m=new z;m.classList.add("button"),t.appendChild(m)}a.innerHTML="",a.appendChild(t),n()};return a.onclick=c=>{if(!(c.target instanceof z))return;let l=Number(c.target.textContent);l!==this.value&&(this.value=l,i())},e.onclick=()=>{let c=Math.max(this.value-1,1);c!==this.value&&(this.value=c,i())},r.onclick=()=>{let c=Math.min(this.value+1,Math.ceil(this.total/this.count));c!==this.value&&(this.value=c,i())},{total:d,value:n}}}){};Ce.define(Mr);var Ge="s-picker",Ar={disabled:!1,label:"",value:""},Dr=":host{display:inline-block;vertical-align:middle;font-size:.875rem;--picker-border-radius: 4px;--picker-border-color: var(--s-color-outline, #70787D);--picker-border-width: 1px;--picker-padding: 16px;--picker-height: 48px}:host([disabled=true]){pointer-events:none;opacity:.38}.popup{display:block;position:relative}.ripple{border-radius:var(--picker-border-radius)}.field{--field-border-radius: var(--picker-border-radius);--field-border-color: var(--picker-border-color);--field-border-width: var(--picker-border-width);--field-padding: var(--picker-padding);height:var(--picker-height);width:100%;position:relative}.view{width:100%;padding-top:0;padding-bottom:0;padding:0 var(--picker-padding)}svg{width:24px;height:24px;padding:2px;box-sizing:border-box;flex-shrink:0;margin-left:min(0px,calc((var(--picker-padding) * -1) + 4px));margin-right:max(0px,calc(var(--picker-padding) - 12px));fill:var(--s-color-on-surface-variant, #40484C)}.container{max-height:408px;box-sizing:border-box;display:flex;flex-direction:column;font-size:.875rem;padding:4px 0;gap:4px}",Br='
',D=class extends p({style:Dr,template:Br,props:Ar,syncProps:["disabled"],setup(o){let e=o.querySelector(".popup"),r=o.querySelector(".field"),a=o.querySelector(".label"),i=o.querySelector(".view"),n=o.querySelector("#slot"),d=o.querySelector(".container"),c=new q({context:this,class:W,slot:n});return e.addEventListener("show",()=>{r.focused=!0,r.fixed=!0,c.select||(i.textContent=this.label,i.style.opacity="0"),d.style.minWidth=`${this.offsetWidth}px`,c.select&&d.scrollTo({top:c.select.offsetTop-d.offsetTop-(d.offsetHeight/2-c.select.offsetHeight/2)})}),e.onclose=()=>{r.focused=!1,!c.select&&(r.fixed=!1)},e.addEventListener("closed",()=>d.style.removeProperty("min-width")),c.onUpdate=()=>{if(!c.select){r.fixed=!1,i.textContent="";return}r.fixed=!0,i.style.removeProperty("opacity"),i.textContent=c.select.textContent},c.onSelect=()=>e.close(),{expose:{get options(){return c.list},get selectedIndex(){return c.selectedIndex},get show(){return e.show},get toggle(){return e.toggle},get close(){return e.close}},label:l=>a.textContent=l,value:{get:()=>c.value,set:l=>c.value=l}}}}){},Nr="s-picker-item",Zr={selected:!1,value:""},Hr=":host{display:flex;align-items:center;height:40px;margin:0 4px;position:relative;border-radius:4px;flex-shrink:0;padding:0 12px;color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){background:var(--s-color-secondary-container, #CFE6F1);color:var(--s-color-on-secondary-container, #354A53)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){color:var(--s-color-on-surface-variant, #40484C);fill:currentColor;height:24px;width:24px}:host([selected=true]) ::slotted(:is(svg,s-icon)){color:currentColor}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-4px}",Ir='
',W=class extends p({style:Hr,template:Ir,props:Zr,syncProps:["selected"],setup(){return this.addEventListener("click",()=>{this.selected||this.parentNode instanceof D&&this.dispatchEvent(new Event(`${Ge}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof D&&this.dispatchEvent(new Event(`${Ge}:update`,{bubbles:!0}))}}}}){};D.define(Ge),W.define(Nr);var jr="s-popup",Vr={align:"bottom"},Yr=":host{display:inline-block;vertical-align:middle;text-align:left}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;position:relative;overflow:hidden;color:inherit}dialog::backdrop{background:none}.scrim{position:absolute;top:0;left:0;width:100%;height:100%}.container{position:relative;width:fit-content;max-width:100%;max-height:100%}::slotted(:not([slot])){border-radius:4px;max-width:100%;max-height:100%;white-space:nowrap;box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container, #ECEEF0)}",Wr='
',Se=class extends p({style:Yr,template:Wr,props:Vr,setup(o){let e=o.querySelector("dialog"),r=o.querySelector(".container"),a=getComputedStyle(this),i=()=>{let l=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",t=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:l,duration:w(t)}},n=l=>{if(!this.isConnected||e.open)return;let t={top:0,left:0,origin:[]};if(e.showModal(),!this.dispatchEvent(new Event("show",{cancelable:!0})))return e.close();let f=r.offsetWidth,m=r.offsetHeight;if(!l||l instanceof HTMLElement){let g=l??this;if(!g)return;let h=g.getBoundingClientRect(),b={middle(x){t.origin[0]="center",t.left=h.left-(f-h.width)/2;let v=()=>(t.top=h.top+h.height,t.origin[1]="top",t.top+m>innerHeight),y=()=>(t.top=h.top-m,t.origin[1]="bottom",t.top<0);t.left<0&&(t.left=h.left,t.origin[0]="left"),t.left+f>innerWidth&&(t.left=h.left+h.width-f,t.origin[0]="right"),x==="top"&&y()&&v(),x==="bottom"&&v()&&y()},left(){return t.origin=["right","top"],t.left=h.left-f,t.top=h.top,t.left<0},right(){return t.origin=["left","top"],t.left=h.left+h.width,t.top=h.top,t.left+f>innerWidth}};switch(this.align){case"bottom":case"top":b.middle(this.align);break;case"left":b.left()&&b.right();break;case"right":b.right()&&b.left();break}}else t.top=l.y,t.left=l.x,t.origin=l.origin?.split(" ")??["left","top"],l.x+f>innerWidth&&(t.left=l.x-f,t.origin[0]="right"),l.y+m>innerHeight&&(t.top=l.y-m,t.origin[1]="bottom");r.style.transformOrigin=t.origin.join(" "),r.style.top=`${Math.max(t.top,0)}px`,r.style.left=`${Math.max(t.left,0)}px`;let u=r.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},i());this.setAttribute("showed",""),u.finished.then(()=>this.dispatchEvent(new Event("showed")))},d=()=>{if(!this.isConnected||!e.open||r.getAnimations().length>0||!this.dispatchEvent(new Event("close",{cancelable:!0})))return;let l=r.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},i());this.removeAttribute("showed"),l.finished.then(()=>{e.close(),this.dispatchEvent(new Event("closed"))})},c=l=>e.open?d():n(l);return o.querySelector("slot[name=trigger]").addEventListener("click",()=>n()),o.querySelector(".scrim").addEventListener("pointerdown",d),{expose:{show:n,toggle:c,close:d},onMounted:()=>addEventListener("resize",d),onUnmounted:()=>removeEventListener("resize",d)}}}){};Se.define(jr);var Ue="s-popup-menu",_r={group:""},Rr=":host{display:inline-block;vertical-align:middle;font-size:.875rem}.popup{display:block}.container{box-sizing:border-box;padding:4px 0;max-width:224px;min-height:auto;display:flex;flex-direction:column;gap:4px}::slotted(s-popup-menu[group=start]){border-top:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-top:4px;padding-top:4px}::slotted(s-popup-menu[group=end]){border-bottom:solid 1px var(--s-color-outline-variant, #C0C8CC);margin-bottom:4px;padding-bottom:4px}",Or='',qe=class s extends p({style:Rr,template:Or,props:_r,syncProps:!0,setup(o){let e=o.querySelector(".popup"),r=o.querySelector("slot[name=trigger]");return r.onclick=a=>{a.stopPropagation(),e.show()},this.addEventListener(`${Ue}:click`,a=>{a.stopPropagation(),e.close()}),{onMounted:()=>{this.parentNode instanceof s&&e.setAttribute("align","right")},expose:{get show(){return e.show},get toggle(){return e.toggle},get close(){return e.close}}}}}){},Xr="s-popup-menu-item",Gr={},Ur=":host{display:flex;align-items:center;height:40px;margin:0 4px;padding:0 12px;position:relative;border-radius:4px;color:var(--s-color-on-surface, #191C1E)}.text{flex-grow:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}::slotted(:is(svg,s-icon)){fill:currentColor;height:24px;width:24px;color:var(--s-color-on-surface-variant, #40484C)}::slotted([slot]){flex-shrink:0}::slotted([slot=start]){margin-left:-4px;margin-right:8px}::slotted([slot=end]){margin-left:8px;margin-right:-6px}",Qr='
',ze=class extends p({style:Ur,template:Qr,props:Gr,setup(){this.addEventListener("click",()=>this.dispatchEvent(new Event(`${Ue}:click`,{bubbles:!0})))}}){};qe.define(Ue),ze.define(Xr);var Jr="s-radio-button",Kr={disabled:!1,checked:!1,name:"",value:""},es=":host{display:inline-flex;vertical-align:middle;align-items:center;position:relative;height:40px;color:var(--s-color-on-surface-variant, #40484C)}:host([checked=true]){color:var(--s-color-primary, #006782)}:host([disabled=true]){pointer-events:none}.container{position:relative;height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;overflow:hidden;flex-shrink:0}:host([disabled=true]) .container{color:var(--s-color-on-surface, #191C1E)!important;opacity:.38!important}.unchecked,.checked{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:100%;height:100%}.checked{position:absolute;transform:scale(.5);opacity:0;transition-property:transform,opacity;transition-timing-function:var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));transition-duration:var(--s-motion-duration-short4, .2s)}:host([checked=true]:not([indeterminate=true])) .checked{opacity:1;transform:scale(1)}.dot{width:60%;height:60%;transform:scale(.4);background:currentColor;border-radius:50%}.ripple{aspect-ratio:1;-webkit-aspect-ratio:1;height:100%;width:auto;border-radius:50%}svg,::slotted(:is([slot=checked],[slot=unchecked])){color:currentColor;fill:currentColor;width:60%;height:60%}",ts='
',Le=class extends p({style:es,template:ts,props:Kr,syncProps:["checked","disabled","name"],setup(){this.addEventListener("click",()=>{this.checked=!0,this.name&&document.querySelectorAll(`${this.tagName}[name='${this.name}']`).forEach(o=>{o!==this&&(o.checked=!1)}),this.dispatchEvent(new Event("change"))})}}){};Le.define(Jr);var os="s-rate",_={readOnly:!1,max:10,min:0,value:5,step:1},rs=":host{display:inline-flex;vertical-align:middle;overflow:hidden;position:relative;font-size:24px;width:5em;height:1em}.track{width:100%;display:flex}.track svg,::slotted([slot=track]){fill:var(--s-color-secondary-container, #CFE6F1);filter:drop-shadow(1em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(2em 0 0 var(--s-color-secondary-container, #CFE6F1)) drop-shadow(3em 0 0 var(--s-color-secondary-container, #CFE6F1))}.indicator{position:absolute;left:0;top:0;height:100%;width:50%;overflow:hidden;display:flex}.indicator svg,::slotted([slot=indicator]){fill:var(--s-color-primary, #006782);filter:drop-shadow(1em 0 0 var(--s-color-primary, #006782)) drop-shadow(2em 0 0 var(--s-color-primary, #006782)) drop-shadow(3em 0 0 var(--s-color-primary, #006782)) drop-shadow(4em 0 0 var(--s-color-primary, #006782))}svg,::slotted(*){height:100%;aspect-ratio:1;-webkit-aspect-ratio:1;flex-shrink:0}input{position:absolute;left:0;top:0;height:100%;width:100%;opacity:0;margin:0}:host([readonly=true]) input{display:none}",ss=``,Fe=class extends p({style:rs,template:ss,props:_,syncProps:["readOnly"],setup(o){let e=o.querySelector(".indicator"),r=o.querySelector("input"),a=()=>{let i=(Number(r.value)-this.min)*100/this.max-this.min;e.style.width=`${i}%`};return r.onchange=()=>this.dispatchEvent(new Event("change")),r.oninput=()=>{this.value=Number(r.value),this.dispatchEvent(new Event("input"))},{max:i=>{r.max=String(i),a()},min:i=>{r.min=String(i),a()},step:i=>{r.step=String(i),a()},value:i=>{r.value=String(i),a()}}}}){};Fe.define(os);var is="s-search",as={placeholder:"",disabled:!1,value:"",maxLength:-1,readOnly:!1},ns=":host{display:inline-flex;vertical-align:middle;min-height:40px;width:220px;border-radius:20px;font-size:.875rem;position:relative;background:var(--s-color-surface-container-low, #F2F4F5);color:var(--s-color-on-surface, #191C1E)}.wrapper{display:grid;flex-direction:column;position:relative;border-radius:inherit;overflow:hidden;background:inherit;min-height:inherit;flex-grow:1;width:100%;outline:solid 1px var(--s-color-surface-variant, #DCE4E8)}:host(:focus-within) .wrapper{position:absolute}.container{display:flex;align-items:center;position:relative;min-height:inherit}input{border:none;padding:0 16px;height:100%;width:0;flex-grow:1;background:none;outline:none;font-size:inherit;color:inherit;box-sizing:border-box;line-height:1;font-family:inherit;caret-color:var(--s-color-primary, #006782)}input::placeholder{color:var(--s-color-outline, #70787D)}input::selection{background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}::slotted([slot=dropdown]){position:absolute;pointer-events:none;left:0;height:0;opacity:0;border-top:solid 1px var(--s-color-surface-variant, #DCE4E8);height:auto}:host(:focus-within) ::slotted([slot=dropdown]){pointer-events:auto;position:relative;opacity:1}::slotted([slot]){flex-shrink:0}::slotted(svg){height:24px;width:24px;fill:var(--s-color-on-surface-variant, #40484C)}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin:0 -8px 0 8px}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin:0 8px 0 -8px}::slotted(s-icon-button[slot=start]){margin-right:-16px}::slotted(s-icon-button[slot=end]){margin-left:-16px}",ls='
',Me=class extends p({style:ns,template:ls,props:as,syncProps:["disabled","readOnly"],setup(o){let e=o.querySelector("input"),r=o.querySelector("[name=dropdown]");return r.onmousedown=a=>a.preventDefault(),e.onchange=()=>this.dispatchEvent(new Event("change")),{expose:{get native(){return e}},value:{get:()=>e.value,set:a=>e.value=a},placeholder:a=>e.placeholder=a,maxLength:a=>e.maxLength=a,readOnly:a=>e.readOnly=a}}}){};Me.define(is);var Qe="s-segmented-button",cs={value:"",mode:"auto"},ds=":host{display:inline-flex;vertical-align:middle;align-items:center;border-radius:20px;height:40px;padding:3px;overflow:hidden;box-sizing:border-box;border:solid 1px var(--s-color-surface-variant, #C0C8CC);background:var(--s-color-surface-container, #ECEEF0)}:host([mode=fixed]){display:flex}:host([mode=fixed]) ::slotted(s-segmented-button-item){flex-basis:100%}",ps="",B=class extends p({style:ds,template:ps,props:cs,syncProps:["mode"],setup(o){let e=o.querySelector("slot"),r=new q({context:this,class:R,slot:e}),a=getComputedStyle(this),i=()=>{let n=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",d=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:n,duration:w(d)}};return r.onUpdate=n=>{if(!n||!r.select||!this.isConnected)return;let d=n.shadowRoot.querySelector(".indicator").getBoundingClientRect(),c=r.select.shadowRoot.querySelector(".indicator"),l=c.getBoundingClientRect(),t=d.left-l.left;c.style.transform=`translateX(${l.left>d.left?t:Math.abs(t)}px)`,c.style.width=`${d.width}px`,n.style.zIndex="1";let f=c.animate([{transform:"translateX(0)",width:`${l.width}px`}],i());f.onfinish=f.oncancel=f.onremove=()=>{c.style.removeProperty("transform"),c.style.removeProperty("width"),n.style.removeProperty("z-index")}},{expose:{get options(){return r.list},get selectedIndex(){return r.selectedIndex}},value:{get:()=>r.value,set:n=>r.value=n}}}}){},hs="s-segmented-button-item",ms={selected:!1,disabled:!1,selectable:!0,value:""},us=":host{display:flex;justify-content:center;align-items:center;height:100%;min-width:64px;padding:0 16px;text-transform:capitalize;font-weight:500;font-size:.8125rem;position:relative;box-sizing:border-box;border-radius:20px;transition:color var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));color:var(--s-color-on-surface, #191C1E)}:host([selected=true]){color:var(--s-color-on-primary, #ffffff)}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}.indicator{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0;border-radius:inherit;background:var(--s-color-primary, #006782)}:host([selected=true]) .indicator{opacity:1}::slotted([slot]){width:18px;height:18px;color:inherit;fill:currentColor;flex-shrink:0;position:relative}::slotted([slot=start]){margin-right:4px}::slotted([slot=end]){margin-right:4px}.text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;position:relative}",gs='
',R=class extends p({style:us,template:gs,props:ms,syncProps:["selected","disabled"],setup(){return this.addEventListener("click",()=>{!(this.parentNode instanceof B)||this.selected||this.selectable&&this.dispatchEvent(new Event(`${Qe}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof B&&this.dispatchEvent(new CustomEvent(`${Qe}:update`,{bubbles:!0,detail:{}}))}}}}){};B.define(Qe),R.define(hs);var fs="s-skeleton",xs={},vs=":host{display:block;height:16px;animation:skeleton var(--s-motion-duration-extra-long4, 1s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1)) infinite;background:linear-gradient(90deg,var(--s-color-surface-container-high, #E7E8EA) 25%,var(--s-color-surface-container-highest, #E1E3E4) 37%,var(--s-color-surface-container-high, #E7E8EA) 63%);background-size:400% 100%;border-radius:8px}@keyframes skeleton{0%{background-position:100% 50%}to{background-position:0 50%}}",bs="",Te=class extends p({style:vs,template:bs,props:xs}){};Te.define(fs);var ys="s-slider",N={disabled:!1,labeled:!1,max:100,min:0,step:1,value:0},ws=':host{display:block;color:var(--s-color-primary, #006782);height:16px;position:relative}:host([disabled=true]){pointer-events:none;color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)!important}.container{height:100%;display:flex;align-items:center;position:relative;pointer-events:none}.track,.indicator{height:4px;border-radius:2px;position:absolute;right:0}.track{background:var(--s-color-secondary-container, #CFE6F1);width:calc(100% - 20px)}:host([disabled=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.indicator{left:0;width:0;background:currentColor}.handle{position:relative;height:16px;width:16px;flex-shrink:0;display:flex;justify-content:center}.thumb{position:relative;height:100%;width:100%;border-radius:50%;background:currentColor;box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}.thumb:before{content:"";position:absolute;left:-10px;top:-10px;width:36px;height:36px;border-radius:50%;background:color-mix(in srgb,currentColor 20%,transparent);transform:scale(0);transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.active .thumb:before{transform:scale(1)}.label{position:absolute;bottom:100%;margin-bottom:12px;background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3);justify-content:center;align-items:center;border-radius:4px;padding:0 6px;height:24px;font-size:.75rem;transform:scale(0);transform-origin:center bottom;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));opacity:.85;z-index:1;display:none}.active .label{transform:scale(1)}:host([labeled=true]) .label{display:flex}input{margin:0;height:100%;width:100%;cursor:inherit;opacity:0;position:absolute;top:0;left:0}',ks=`
${N.value}
`,Pe=class extends p({style:ws,template:ks,props:N,syncProps:["disabled","labeled"],setup(o){let e=o.querySelector(".container"),r=o.querySelector(".indicator"),a=o.querySelector(".track"),i=o.querySelector(".handle"),n=o.querySelector(".label"),d=o.querySelector("input"),c=()=>{let l=Number(d.value),t=(l-this.min)*100/(this.max-this.min);i.style.left=`calc(${t}% - ${t*.16}px)`,r.style.width=`calc(${t}% - ${4+t*.16}px)`,a.style.width=`calc(${100-t}% - ${20-t*.16}px)`,n.textContent=String(l)};return d.onchange=()=>this.dispatchEvent(new Event("change")),d.oninput=()=>{this.value=Number(d.value),this.dispatchEvent(new Event("input"))},d.onmousedown=l=>l.button===0&&!k.anyPointerCoarse.matches&&e.classList.add("active"),d.onmouseup=()=>!k.anyPointerCoarse.matches&&e.classList.remove("active"),d.ontouchstart=()=>k.anyPointerCoarse.matches&&e.classList.add("active"),d.ontouchend=()=>k.anyPointerCoarse.matches&&e.classList.remove("active"),d.ontouchcancel=()=>k.anyPointerCoarse.matches&&e.classList.remove("active"),{max:l=>{d.max=String(l),c()},min:l=>{d.min=String(l),c()},step:l=>{d.step=String(l),c()},value:l=>{d.value=String(l),c()}}}}){};Pe.define(ys);var $e=document.createElement("div");$e.setAttribute("style","position: fixed;right: 0;bottom: 0;width: 100%;height: 100%;pointer-events: none");var Ae=s=>{s.appendChild($e);let o=$e.getBoundingClientRect();return s.removeChild($e),{left:o.left,top:o.top,width:o.width,height:o.height}};var Es="s-snackbar",Cs={type:"none",align:"auto",duration:4e3},Ss=":host{display:inline-block;vertical-align:middle}.popup{position:fixed;inset:0;width:100%;height:100%;background:none;border:none;outline:none;max-width:none;max-height:none;display:none;overflow:hidden;box-sizing:border-box;pointer-events:none;padding:16px;justify-content:center;transition:transform var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1))}.popup.show{display:flex}.container{align-self:flex-end;width:stretch;display:flex;align-items:center;min-height:48px;line-height:1.6;border-radius:4px;padding:6px 16px;font-size:.875rem;font-weight:500;box-sizing:border-box;max-width:320px;transition:box-shadow var(--s-motion-duration-medium4, .4s) var(--s-motion-easing-standard, cubic-bezier(.2, 0, 0, 1));box-shadow:var(--s-elevation-level3, 0 5px 5px -3px rgba(0, 0, 0, .2), 0 8px 10px 1px rgba(0, 0, 0, .14), 0 3px 14px 2px rgba(0, 0, 0, .12));background:var(--s-color-inverse-surface, #2E3132);color:var(--s-color-inverse-on-surface, #EFF1F3)}.text{flex-grow:1;min-width:0;user-select:text;-webkit-user-select:text}.icon{display:none}:host([type=info]) .info,:host([type=success]) .success,:host([type=warning]) .warning,:host([type=error]) .error{display:block}:host([type=info]) .container{color:var(--s-color-on-secondary, #ffffff);background:var(--s-color-secondary, #4C616B)}:host([type=success]) .container{color:var(--s-color-on-success, #ffffff);background:var(--s-color-success, #006d43)}:host([type=warning]) .container{color:var(--s-color-on-warning, #ffffff);background:var(--s-color-warning, #6f5d00)}:host([type=error]) .container{color:var(--s-color-on-error, #ffffff);background:var(--s-color-error, #BA1A1A)}:host([type=info]) ::slotted([slot=action]),:host([type=success]) ::slotted([slot=action]),:host([type=warning]) ::slotted([slot=action]),:host([type=error]) ::slotted([slot=action]){color:currentColor}svg,::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin-right:12px;margin-left:-4px}::slotted([slot=action]){font-size:inherit;flex-shrink:0;display:inline-flex;align-items:center;padding:0 12px;border-radius:4px;margin-right:-8px;margin-left:12px;height:36px;font-size:.875rem;color:var(--s-color-inverse-primary, #60D4FE)}@media (max-width: 375px){.popup{padding:8px}}@media (pointer: fine){.container:hover{box-shadow:var(--s-elevation-level4, 0 8px 10px -5px rgba(0, 0, 0, .2), 0 16px 24px 2px rgba(0, 0, 0, .14), 0 6px 30px 5px rgba(0, 0, 0, .12))}}",qs='',zs=s=>{let o=document.body,e=new O;e.style.display="block";let r=document.body.firstElementChild;if(r&&r.tagName==="S-PAGE"&&(o=r),typeof s=="string")e.textContent=s;else{if(s.root&&(o=s.root),s.align&&(e.align=s.align),s.icon&&(s.icon instanceof Element&&(s.icon.slot="icon",e.appendChild(s.icon)),typeof s.icon=="string"&&(e.innerHTML=s.icon)),e.append(s.text),s.type&&(e.type=s.type),s.action){let a=document.createElement("s-button");a.type="text",a.slot="action",typeof s.action=="string"?a.textContent=s.action:(a.textContent=s.action.text,a.addEventListener("click",s.action.click)),e.appendChild(a)}typeof s.duration=="number"&&(e.duration=s.duration)}return o.appendChild(e),e.addEventListener("closed",()=>o.removeChild(e)),e.show(),e},lt={top:[],bottom:[]},O=class extends p({style:Ss,template:qs,props:Cs,syncProps:["type"],setup(o){let e=o.querySelector(".popup"),r=o.querySelector(".container"),a=getComputedStyle(this),i=()=>{let t=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",f=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:t,duration:w(f)}},n={timer:0,gap:8},d=()=>this.align==="auto"?k.anyPointerCoarse.matches?"top":"bottom":this.align,c=()=>{if(!this.isConnected||e.classList.contains("show"))return;if(e.classList.add("show"),e.showPopover)e.showPopover();else{let h=Ae(o);e.style.width=`${innerWidth}px`,e.style.height=`${innerHeight}px`,e.style.marginLeft=`${-h.left}px`,e.style.marginTop=`${-h.top}px`,e.style.zIndex="2"}let t=d();r.style.alignSelf={top:"start",bottom:"end"}[t];let f=lt[t],m={top:1,bottom:-1}[t],u=r.offsetHeight+n.gap;for(let h of f)h.style.transform=`translateY(${u*m}px)`,u+=h.firstElementChild.offsetHeight+n.gap;let g=r.animate({opacity:[0,1],transform:[`translateY(calc(${m*-100}% + 16px))`,""],pointerEvents:"auto"},{...i(),fill:"forwards"});this.dispatchEvent(new Event("show")),this.duration>0&&(n.timer=setTimeout(l,this.duration)),e.dataset.align=t,f.unshift(e),g.finished.then(()=>this.dispatchEvent(new Event("showed")))},l=()=>{if(!this.isConnected||!e.classList.contains("show"))return;clearTimeout(n.timer);let t=e.dataset.align,f=lt[t],m={top:1,bottom:-1}[t],u=f.indexOf(e);for(let h=u+1;h{e.hidePopover&&e.hidePopover(),e.removeAttribute("style"),e.classList.remove("show"),this.dispatchEvent(new Event("closed"))}),f.splice(u,1)};return r.onmouseenter=()=>clearTimeout(n.timer),r.onmouseleave=()=>e.classList.contains("show")&&this.duration>0&&(n.timer=setTimeout(l,this.duration)),o.querySelector("slot[name=trigger]").onclick=c,o.querySelector("slot[name=action]").onclick=l,{expose:{show:c,close:l}}}}){static builder=zs};O.define(Es);var Ls="s-switch",Fs={disabled:!1,checked:!1},Ms=":host{display:inline-flex;vertical-align:middle;align-items:center;position:relative;color:var(--s-color-primary, #006782);width:52px;aspect-ratio:1.625;-webkit-aspect-ratio:1.625;border-radius:16px}:host([disabled=true]){pointer-events:none}.track{width:100%;height:100%;border:solid 2px var(--s-color-outline, #70787D);box-sizing:border-box;border-radius:inherit}:host([disabled=true]) .track{border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([checked=true]) .track{border-width:0;background:currentColor}:host([disabled=true][checked=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.ripple{height:125%;width:auto;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;inset:auto;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));display:flex;justify-content:center;align-items:center;box-sizing:border-box;color:var(--s-color-outline, #70787D);transform:translate(-10%)}:host([checked=true]) .ripple{transform:translate(40%);color:currentColor}.thumb{background:var(--s-color-outline, #70787D);border-radius:50%;width:40%;height:40%;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));position:relative}:host([disabled=true]) .thumb{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}:host([checked=true]) .thumb{background:var(--s-color-on-primary, #ffffff);transform:scale(1.5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([disabled=true][checked=true]) .thumb{background:var(--s-color-surface, #F8F9FB);box-shadow:none}.icon{display:flex;height:100%;justify-content:center;align-items:center;opacity:0;transition:opacity var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:currentColor}::slotted([slot=icon]),svg{color:currentColor;fill:currentColor;width:70%;height:70%}:host([checked=true]) .icon{opacity:1}:host([checked=true][disabled=true]) .icon{color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)}",Ts='
',De=class extends p({style:Ms,template:Ts,props:Fs,syncProps:!0,setup(){this.addEventListener("click",()=>{this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){};De.define(Ls);var Je="s-tab",Ps={mode:"scrollable",value:""},$s=':host{display:flex;justify-content:flex-start;position:relative;background:var(--s-color-surface, #F8F9FB);color:var(--s-color-on-surface-variant, #40484C)}:host:before{content:"";position:absolute;width:100%;border-bottom:solid 1px var(--s-color-surface-variant, #DCE4E8);bottom:0;left:0}.container{display:flex;justify-content:flex-start;align-items:center;position:relative;scrollbar-width:none;overflow-x:auto}.container::-webkit-scrollbar{display:none}:host([mode=fixed]) .container{overflow:hidden;width:100%}::slotted(s-tab-item){flex-shrink:0;flex-basis:auto}:host([mode=fixed]) ::slotted(s-tab-item){flex-basis:100%;flex-shrink:1}',As='
',Z=class extends p({style:$s,template:As,props:Ps,syncProps:["mode"],setup(o){let e=o.querySelector("slot"),r=o.querySelector(".container"),a=new q({context:this,class:X,slot:e}),i=getComputedStyle(this),n=()=>{let d=i.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",c=i.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:d,duration:w(c)}};return a.onUpdate=d=>{if(a.select&&r.scrollWidth!==r.offsetWidth){let u=a.select.offsetLeft-r.offsetLeft-(r.offsetWidth/2-a.select.offsetWidth/2);r.scrollTo({left:u,behavior:"smooth"})}if(!d||!a.select||!this.isConnected)return;let c=d.shadowRoot.querySelector(".indicator").getBoundingClientRect(),l=a.select.shadowRoot?.querySelector(".indicator"),t=l.getBoundingClientRect(),f=c.left-t.left;l.style.transform=`translateX(${t.left>c.left?f:Math.abs(f)}px)`,l.style.width=`${c.width}px`;let m=l.animate([{transform:"translateX(0)",width:`${t.width}px`}],n());m.onfinish=m.oncancel=m.onremove=()=>{l.style.removeProperty("transform"),l.style.removeProperty("width")}},{expose:{get options(){return a.list},get selectedIndex(){return a.selectedIndex}},value:{get:()=>a.value,set:d=>a.value=d}}}}){},Ds="s-tab-item",Bs={selected:!1,value:""},Ns=":host{display:flex;align-items:center;justify-content:center;min-height:48px;position:relative;font-size:.875rem;font-weight:500;text-transform:capitalize;padding:0 16px}:host([selected=true]){color:var(--s-color-primary, #006782)}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;min-height:inherit}.indicator{position:absolute;bottom:0;left:0;height:3px;width:100%;background:var(--s-color-primary, #006782);border-radius:1.5px 1.5px 0 0;opacity:0}:host([selected=true]) .indicator{opacity:1}.text{display:flex;align-items:center;line-height:1}::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin:10px 0}::slotted([slot=text]){white-space:nowrap;text-overflow:ellipsis;line-height:1}.icon ::slotted([slot=text]){margin-top:-6px;height:26px}::slotted([slot=badge]){margin-left:4px}::slotted([slot=badge]:not(:empty)){width:auto}.icon ::slotted([slot=badge]){position:absolute;right:0;width:8px;top:12px;margin-left:0}",Zs='
',X=class extends p({style:Ns,template:Zs,props:Bs,syncProps:["selected"],setup(o){let e=o.querySelector(".container");return o.querySelector("[name=icon]").onslotchange=r=>{let a=r.target.assignedElements().length;e.classList[a>0?"add":"remove"]("icon")},this.addEventListener("click",()=>{!(this.parentNode instanceof Z)||this.selected||this.dispatchEvent(new Event(`${Je}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof Z&&this.dispatchEvent(new Event(`${Je}:update`,{bubbles:!0}))}}}}){};Z.define(Je),X.define(Ds);var Hs="s-table",Is={},js=":host{display:inline-block;font-size:.875rem;overflow:auto;border:solid 1px var(--s-color-outline-variant, #C0C8CC);border-radius:4px;white-space:nowrap}slot{display:table;border-collapse:collapse;min-width:100%}@media (pointer: fine){:host::-webkit-scrollbar{width:6px;height:6px;background:transparent}:host::-webkit-scrollbar-thumb{background:var(--s-color-outline-variant, #C0C8CC);border-radius:3px}@supports not selector(::-webkit-scrollbar){:host{scrollbar-color:var(--s-color-outline-variant, #C0C8CC) transparent}}}",Vs="",Be=class extends p({style:js,template:Vs,props:Is}){},Ys="s-thead",Ws={},_s=":host{display:table-header-group;font-weight:600;border-bottom:solid 1px var(--s-color-outline-variant, #C0C8CC);background:var(--s-color-surface-container, #ECEEF0);color:var(--s-color-on-surface-variant, #40484C)}",Rs="",Ne=class extends p({style:_s,template:Rs,props:Ws}){},Os="s-tbody",Xs={},Gs=":host{display:table-row-group;color:var(--s-color-on-surface, #191C1E)}::slotted(s-tr:not(:first-child)){border-top:solid 1px var(--s-color-outline-variant, #C0C8CC)}",Us="",Ze=class extends p({style:Gs,template:Us,props:Xs}){},Qs="s-tr",Js={},Ks=":host{display:table-row}",ei="",He=class extends p({style:Ks,template:ei,props:Js}){},ti="s-th",oi={},ri=":host{display:table-cell;padding:12px 16px;text-transform:capitalize}",si="",Ie=class extends p({style:ri,template:si,props:oi}){},ii="s-td",ai={},ni=":host{display:table-cell;user-select:text;padding:12px 16px}",li="",je=class extends p({style:ni,template:li,props:ai}){};Be.define(Hs),Ne.define(Ys),Ze.define(Os),He.define(Qs),Ie.define(ti),je.define(ii);var ci="s-text-field",di={label:"",placeholder:"",disabled:!1,type:"text",error:!1,value:"",maxLength:-1,readOnly:!1,multiLine:!1,countered:!1},pi=':host{display:inline-grid;vertical-align:middle;font-size:.875rem;flex-shrink:0;min-height:48px;width:280px;color:var(--s-color-on-surface, #191C1E);--text-field-border-radius: 4px;--text-field-border-color: var(--s-color-outline, #70787D);--text-field-padding: 16px;--text-field-padding-top: var(--text-field-padding);--text-field-padding-bottom: var(--text-field-padding);--text-field-padding-left: var(--text-field-padding);--text-field-padding-right: var(--text-field-padding)}:host([disabled=true]){pointer-events:none;opacity:.38}:host([multiline=true]){line-height:1.6;--text-field-padding-top: 12px;--text-field-padding-bottom: 12px}.field{display:block;min-height:inherit;font-size:inherit;--field-border-radius: var(--text-field-border-radius);--field-border-color: var(--text-field-border-color);--field-padding: var(--text-field-padding);--field-padding-top: var(--text-field-padding-top);--field-padding-bottom: var(--text-field-padding-bottom);--field-padding-left: var(--text-field-padding-left);--field-padding-right: var(--text-field-padding-right)}:host([error=true]) .field{--s-color-primary: var(--s-color-error, #BA1A1A);--field-border-color: var(--s-color-error, #BA1A1A);--field-border-width: 2px}:host([multiline=true]) .label{height:fit-content;box-sizing:border-box;padding-top:var(--text-field-padding-top);padding-bottom:var(--text-field-padding-bottom)}.view{flex-grow:1;padding:0;flex-direction:column;position:relative}input,textarea{border:none;height:100%;width:100%;padding-left:var(--field-padding-left);padding-right:var(--field-padding-right);background:none;outline:none;font-size:inherit;color:inherit;box-sizing:border-box;line-height:inherit;font-family:inherit;caret-color:var(--s-color-primary, #006782);display:block;-moz-appearance:textfield}textarea{position:absolute;left:0;top:0;width:100%;height:100%;resize:none;scrollbar-width:none;display:none}input::placeholder,textarea::placeholder{color:var(--text-field-border-color)}input::selection,textarea::selection{background:var(--s-color-primary, #006782);color:var(--s-color-on-primary, #ffffff)}:host([multiline=true]) input,.text>.counter{display:none}textarea,.shadow{line-height:inherit;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;box-sizing:border-box;padding-top:var(--text-field-padding-top);padding-bottom:var(--text-field-padding-bottom);padding-left:var(--text-field-padding-left);padding-right:var(--text-field-padding-right)}:host([multiline=true]) :is(textarea,.shadow),:host([countered=true]) .counter{display:block}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none}input::-ms-clear,input::-ms-reveal{display:none}.shadow{pointer-events:none;display:none;opacity:0;width:100%;min-height:100%}.shadow:after{content:" "}.text{display:flex;align-items:flex-end;width:100%;box-sizing:border-box;font-size:.75rem;color:var(--text-field-border-color)}:host([error=true]) .text{color:var(--s-color-error, #BA1A1A)}.text>slot[name=text]{display:block;flex-grow:1}.text>.counter,::slotted([slot=text]){margin-top:8px}::slotted(svg){fill:var(--s-color-on-surface-variant, #40484C);height:24px;width:24px}::slotted(s-icon-button[slot=start]){margin-left:4px;margin-right:calc(var(--text-field-border-radius) - var(--text-field-padding-left) + 4px)}::slotted(s-icon-button[slot=end]){margin-right:4px;margin-left:calc(var(--text-field-border-radius) - var(--text-field-padding-right) + 4px)}::slotted(:is(s-icon[slot=start],svg[slot=start])){margin-left:12px;margin-right:calc(var(--text-field-border-radius) - var(--text-field-padding-left) + 8px)}::slotted(:is(s-icon[slot=end],svg[slot=end])){margin-right:12px;margin-left:calc(var(--text-field-border-radius) - var(--text-field-padding-right) + 8px)}',hi='
',Ve=class extends p({style:pi,template:hi,props:di,syncProps:["disabled","error","multiLine","countered"],setup(o){let e=o.querySelector(".field"),r=o.querySelector(".label"),a=o.querySelector(".shadow"),i=o.querySelector(".counter"),n={input:o.querySelector("input"),textarea:o.querySelector("textarea")},d=()=>this.multiLine?n.textarea:n.input,c=()=>{this.countered&&(i.textContent=`${d().value.length}/${this.maxLength}`)},l=()=>this.dispatchEvent(new Event("change")),t=()=>{e.fixed=!0,e.focused=!0},f=()=>{e.focused=!1,d().value===""&&!this.error&&(e.fixed=!1)};return n.input.oninput=c,n.input.onfocus=t,n.input.onblur=f,n.input.onchange=l,n.textarea.onfocus=t,n.textarea.onblur=f,n.textarea.onchange=l,n.textarea.oninput=()=>{a.textContent=n.textarea.value,c()},{expose:{get native(){return d()}},label:m=>r.textContent=m,type:m=>n.input.type=m,error:m=>{if(m){e.fixed=!0;return}d().value===""&&(e.fixed=!1)},value:{get:()=>d().value,set:m=>{n.input.value=m,n.textarea.value=m,a.textContent=m,c(),this.error||(e.fixed=m!=="")}},placeholder:m=>{n.input.placeholder=m,n.textarea.placeholder=m},readOnly:m=>{n.input.readOnly=m,n.textarea.readOnly=m},maxLength:m=>{n.input.maxLength=m,n.textarea.maxLength=m,c()},multiLine:m=>{if(m){n.textarea.value=n.input.value,a.textContent=n.input.value;return}n.input.value=n.textarea.value},countered:c}}}){};Ve.define(ci);var mi="s-tooltip",ui={align:"top",disabled:!1},gi=":host{display:inline-flex;vertical-align:middle;text-align:left}.popup{position:fixed;display:none;inset:0;margin:0;background:none;border:none;outline:none;max-width:none;max-height:none;font-size:.875rem;font-weight:400;padding:6px 8px;border-radius:4px;white-space:nowrap;background:color-mix(in srgb,var(--s-color-inverse-surface, #2E3132) 88%,transparent);color:var(--s-color-inverse-on-surface, #EFF1F3)}::slotted(img){display:block;border-radius:4px;margin:2px 0;max-width:280px}",fi='',Ye=class extends p({style:gi,template:fi,props:ui,setup(o){let e=o.querySelector("slot[name=trigger]"),r=o.querySelector(".popup"),a=getComputedStyle(this),i=!1,n=()=>{let t=a.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",f=a.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:t,duration:w(f)}},d=()=>{if(!this.isConnected||this.disabled)return;if(r.style.display="block",i=!0,r.showPopover)r.showPopover();else{let b=Ae(o);r.style.marginLeft=`${-b.left}px`,r.style.marginTop=`${-b.top}px`,r.style.zIndex="2"}let t=this.getBoundingClientRect(),f=4,m=r.offsetWidth,u=r.offsetHeight,g={top:0,left:0},h={middle(b){g.left=t.left-(m-t.width)/2;let x=()=>(g.top=t.top+t.height+f,g.top+u>innerHeight),v=()=>(g.top=t.top-u-f,g.top<0);g.left<0&&(g.left=t.left),g.left+m>innerWidth&&(g.left=t.left+t.width-m),b==="top"&&v()&&x(),b==="bottom"&&x()&&v()},left(){return g.left=t.left-m-f,g.top=t.top-(u-t.height)/2,g.left<0},right(){return g.left=t.left+t.width+f,g.top=t.top-(u-t.height)/2,g.left+m>innerWidth}};switch(this.align){case"bottom":case"top":h.middle(this.align);break;case"left":h.left()&&h.right();break;case"right":h.right()&&h.left();break}r.style.top=`${g.top}px`,r.style.left=`${g.left}px`,r.animate({opacity:[0,1]},n())},c=0,l=()=>{clearTimeout(c),i=!1,r.animate({opacity:[1,0]},n()).finished.then(()=>{i||(r.hidePopover&&r.hidePopover(),r.style.removeProperty("display"))})};e.addEventListener("touchstart",()=>{k.anyPointerCoarse.matches&&(clearTimeout(c),c=setTimeout(()=>d(),600))},{passive:!0}),e.ontouchend=()=>{clearTimeout(c),l()},e.onmouseenter=()=>!k.anyPointerCoarse.matches&&d(),e.onmouseleave=()=>!k.anyPointerCoarse.matches&&l()}}){};Ye.define(mi);globalThis.sober||(globalThis.sober={});globalThis.sober={...globalThis.sober,...Ke};})(); - //# sourceMappingURL=sober.min.js.map -diff --git a/node_modules/sober/dist/switch.js b/node_modules/sober/dist/switch.js -index 3936a4a..bf0a9a9 100644 ---- a/node_modules/sober/dist/switch.js -+++ b/node_modules/sober/dist/switch.js -@@ -1,2 +1,2 @@ --import{useElement as t}from"./core/element.js";import"./ripple.js";const e="s-switch",o={disabled:!1,checked:!1},i=":host{display:inline-flex;vertical-align:middle;align-items:center;position:relative;cursor:pointer;color:var(--s-color-primary, #006782);width:52px;aspect-ratio:1.625;-webkit-aspect-ratio:1.625;border-radius:16px}:host([disabled=true]){pointer-events:none}.track{width:100%;height:100%;border:solid 2px var(--s-color-outline, #70787D);box-sizing:border-box;border-radius:inherit}:host([disabled=true]) .track{border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([checked=true]) .track{border-width:0;background:currentColor}:host([disabled=true][checked=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.ripple{height:125%;width:auto;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;inset:auto;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));display:flex;justify-content:center;align-items:center;box-sizing:border-box;color:var(--s-color-outline, #70787D);transform:translate(-10%)}:host([checked=true]) .ripple{transform:translate(40%);color:currentColor}.thumb{background:var(--s-color-outline, #70787D);border-radius:50%;width:40%;height:40%;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));position:relative}:host([disabled=true]) .thumb{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}:host([checked=true]) .thumb{background:var(--s-color-on-primary, #ffffff);transform:scale(1.5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([disabled=true][checked=true]) .thumb{background:var(--s-color-surface, #F8F9FB);box-shadow:none}.icon{display:flex;height:100%;justify-content:center;align-items:center;opacity:0;transition:opacity var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:currentColor}::slotted([slot=icon]),svg{color:currentColor;fill:currentColor;width:70%;height:70%}:host([checked=true]) .icon{opacity:1}:host([checked=true][disabled=true]) .icon{color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)}",s='
';class r extends t({style:i,template:s,props:o,syncProps:!0,setup(){this.addEventListener("click",()=>{this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){}r.define(e);export{r as Switch}; -+import{useElement as t}from"./core/element.js";import"./ripple.js";const e="s-switch",o={disabled:!1,checked:!1},i=":host{display:inline-flex;vertical-align:middle;align-items:center;position:relative;color:var(--s-color-primary, #006782);width:52px;aspect-ratio:1.625;-webkit-aspect-ratio:1.625;border-radius:16px}:host([disabled=true]){pointer-events:none}.track{width:100%;height:100%;border:solid 2px var(--s-color-outline, #70787D);box-sizing:border-box;border-radius:inherit}:host([disabled=true]) .track{border-color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}:host([checked=true]) .track{border-width:0;background:currentColor}:host([disabled=true][checked=true]) .track{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)!important}.ripple{height:125%;width:auto;aspect-ratio:1;-webkit-aspect-ratio:1;border-radius:50%;inset:auto;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));display:flex;justify-content:center;align-items:center;box-sizing:border-box;color:var(--s-color-outline, #70787D);transform:translate(-10%)}:host([checked=true]) .ripple{transform:translate(40%);color:currentColor}.thumb{background:var(--s-color-outline, #70787D);border-radius:50%;width:40%;height:40%;transition:transform var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));position:relative}:host([disabled=true]) .thumb{background:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 38%,transparent)}:host([checked=true]) .thumb{background:var(--s-color-on-primary, #ffffff);transform:scale(1.5);box-shadow:var(--s-elevation-level1, 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12))}:host([disabled=true][checked=true]) .thumb{background:var(--s-color-surface, #F8F9FB);box-shadow:none}.icon{display:flex;height:100%;justify-content:center;align-items:center;opacity:0;transition:opacity var(--s-motion-duration-short4, .2s) var(--s-motion-easing-emphasized, cubic-bezier(.2, 0, 0, 1));color:currentColor}::slotted([slot=icon]),svg{color:currentColor;fill:currentColor;width:70%;height:70%}:host([checked=true]) .icon{opacity:1}:host([checked=true][disabled=true]) .icon{color:color-mix(in srgb,var(--s-color-on-surface, #191C1E) 12%,transparent)}",s='
';class r extends t({style:i,template:s,props:o,syncProps:!0,setup(){this.addEventListener("click",()=>{this.checked=!this.checked,this.dispatchEvent(new Event("change"))})}}){}r.define(e);export{r as Switch}; - //# sourceMappingURL=switch.js.map -diff --git a/node_modules/sober/dist/tab.js b/node_modules/sober/dist/tab.js -index 8facfce..30c9c7d 100644 ---- a/node_modules/sober/dist/tab.js -+++ b/node_modules/sober/dist/tab.js -@@ -1,2 +1,2 @@ --import{useElement as h}from"./core/element.js";import{convertCSSDuration as v}from"./core/utils/CSSUtils.js";import{Select as b}from"./core/utils/select.js";import"./ripple.js";const p="s-tab",y={mode:"scrollable",value:""},w=':host{display:flex;justify-content:flex-start;position:relative;background:var(--s-color-surface, #F8F9FB);color:var(--s-color-on-surface-variant, #40484C)}:host:before{content:"";position:absolute;width:100%;border-bottom:solid 1px var(--s-color-surface-variant, #DCE4E8);bottom:0;left:0}.container{display:flex;justify-content:flex-start;align-items:center;position:relative;scrollbar-width:none;overflow-x:auto}.container::-webkit-scrollbar{display:none}:host([mode=fixed]) .container{overflow:hidden;width:100%}::slotted(s-tab-item){flex-shrink:0;flex-basis:auto}:host([mode=fixed]) ::slotted(s-tab-item){flex-basis:100%;flex-shrink:1}',S='
';class l extends h({style:w,template:S,props:y,syncProps:["mode"],setup(i){const a=i.querySelector("slot"),e=i.querySelector(".container"),t=new b({context:this,class:f,slot:a}),r=getComputedStyle(this),x=()=>{const o=r.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",n=r.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:o,duration:v(n)}};return t.onUpdate=o=>{if(t.select&&e.scrollWidth!==e.offsetWidth){const g=t.select.offsetLeft-e.offsetLeft-(e.offsetWidth/2-t.select.offsetWidth/2);e.scrollTo({left:g,behavior:"smooth"})}if(!o||!t.select||!this.isConnected)return;const n=o.shadowRoot.querySelector(".indicator").getBoundingClientRect(),s=t.select.shadowRoot?.querySelector(".indicator"),c=s.getBoundingClientRect(),m=n.left-c.left;s.style.transform=`translateX(${c.left>n.left?m:Math.abs(m)}px)`,s.style.width=`${n.width}px`;const d=s.animate([{transform:"translateX(0)",width:`${c.width}px`}],x());d.onfinish=d.oncancel=d.onremove=()=>{s.style.removeProperty("transform"),s.style.removeProperty("width")}},{expose:{get options(){return t.list},get selectedIndex(){return t.selectedIndex}},value:{get:()=>t.value,set:o=>t.value=o}}}}){}const C="s-tab-item",E={selected:!1,value:""},P=":host{display:flex;align-items:center;justify-content:center;min-height:48px;position:relative;cursor:pointer;font-size:.875rem;font-weight:500;text-transform:capitalize;padding:0 16px}:host([selected=true]){color:var(--s-color-primary, #006782)}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;min-height:inherit}.indicator{position:absolute;bottom:0;left:0;height:3px;width:100%;background:var(--s-color-primary, #006782);border-radius:1.5px 1.5px 0 0;opacity:0}:host([selected=true]) .indicator{opacity:1}.text{display:flex;align-items:center;line-height:1}::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin:10px 0}::slotted([slot=text]){white-space:nowrap;text-overflow:ellipsis;line-height:1}.icon ::slotted([slot=text]){margin-top:-6px;height:26px}::slotted([slot=badge]){margin-left:4px}::slotted([slot=badge]:not(:empty)){width:auto}.icon ::slotted([slot=badge]){position:absolute;right:0;width:8px;top:12px;margin-left:0}",k='
';class f extends h({style:P,template:k,props:E,syncProps:["selected"],setup(i){const a=i.querySelector(".container");return i.querySelector("[name=icon]").onslotchange=e=>{const r=e.target.assignedElements().length;a.classList[r>0?"add":"remove"]("icon")},this.addEventListener("click",()=>{!(this.parentNode instanceof l)||this.selected||this.dispatchEvent(new Event(`${p}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof l&&this.dispatchEvent(new Event(`${p}:update`,{bubbles:!0}))}}}}){}l.define(p),f.define(C);export{l as Tab,f as TabItem}; -+import{useElement as h}from"./core/element.js";import{convertCSSDuration as v}from"./core/utils/CSSUtils.js";import{Select as b}from"./core/utils/select.js";import"./ripple.js";const p="s-tab",y={mode:"scrollable",value:""},w=':host{display:flex;justify-content:flex-start;position:relative;background:var(--s-color-surface, #F8F9FB);color:var(--s-color-on-surface-variant, #40484C)}:host:before{content:"";position:absolute;width:100%;border-bottom:solid 1px var(--s-color-surface-variant, #DCE4E8);bottom:0;left:0}.container{display:flex;justify-content:flex-start;align-items:center;position:relative;scrollbar-width:none;overflow-x:auto}.container::-webkit-scrollbar{display:none}:host([mode=fixed]) .container{overflow:hidden;width:100%}::slotted(s-tab-item){flex-shrink:0;flex-basis:auto}:host([mode=fixed]) ::slotted(s-tab-item){flex-basis:100%;flex-shrink:1}',S='
';class l extends h({style:w,template:S,props:y,syncProps:["mode"],setup(i){const a=i.querySelector("slot"),e=i.querySelector(".container"),t=new b({context:this,class:f,slot:a}),r=getComputedStyle(this),x=()=>{const o=r.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",n=r.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:o,duration:v(n)}};return t.onUpdate=o=>{if(t.select&&e.scrollWidth!==e.offsetWidth){const g=t.select.offsetLeft-e.offsetLeft-(e.offsetWidth/2-t.select.offsetWidth/2);e.scrollTo({left:g,behavior:"smooth"})}if(!o||!t.select||!this.isConnected)return;const n=o.shadowRoot.querySelector(".indicator").getBoundingClientRect(),s=t.select.shadowRoot?.querySelector(".indicator"),c=s.getBoundingClientRect(),m=n.left-c.left;s.style.transform=`translateX(${c.left>n.left?m:Math.abs(m)}px)`,s.style.width=`${n.width}px`;const d=s.animate([{transform:"translateX(0)",width:`${c.width}px`}],x());d.onfinish=d.oncancel=d.onremove=()=>{s.style.removeProperty("transform"),s.style.removeProperty("width")}},{expose:{get options(){return t.list},get selectedIndex(){return t.selectedIndex}},value:{get:()=>t.value,set:o=>t.value=o}}}}){}const C="s-tab-item",E={selected:!1,value:""},P=":host{display:flex;align-items:center;justify-content:center;min-height:48px;position:relative;font-size:.875rem;font-weight:500;text-transform:capitalize;padding:0 16px}:host([selected=true]){color:var(--s-color-primary, #006782)}.container{display:flex;justify-content:center;align-items:center;flex-direction:column;position:relative;min-height:inherit}.indicator{position:absolute;bottom:0;left:0;height:3px;width:100%;background:var(--s-color-primary, #006782);border-radius:1.5px 1.5px 0 0;opacity:0}:host([selected=true]) .indicator{opacity:1}.text{display:flex;align-items:center;line-height:1}::slotted([slot=icon]){width:24px;height:24px;color:currentColor;fill:currentColor;margin:10px 0}::slotted([slot=text]){white-space:nowrap;text-overflow:ellipsis;line-height:1}.icon ::slotted([slot=text]){margin-top:-6px;height:26px}::slotted([slot=badge]){margin-left:4px}::slotted([slot=badge]:not(:empty)){width:auto}.icon ::slotted([slot=badge]){position:absolute;right:0;width:8px;top:12px;margin-left:0}",k='
';class f extends h({style:P,template:k,props:E,syncProps:["selected"],setup(i){const a=i.querySelector(".container");return i.querySelector("[name=icon]").onslotchange=e=>{const r=e.target.assignedElements().length;a.classList[r>0?"add":"remove"]("icon")},this.addEventListener("click",()=>{!(this.parentNode instanceof l)||this.selected||this.dispatchEvent(new Event(`${p}:select`,{bubbles:!0}))}),{selected:()=>{this.parentNode instanceof l&&this.dispatchEvent(new Event(`${p}:update`,{bubbles:!0}))}}}}){}l.define(p),f.define(C);export{l as Tab,f as TabItem}; - //# sourceMappingURL=tab.js.map diff --git a/patches/sober+1.1.1.patch b/patches/sober+1.1.1.patch new file mode 100644 index 0000000..1fee1a4 --- /dev/null +++ b/patches/sober+1.1.1.patch @@ -0,0 +1,8 @@ +diff --git a/node_modules/sober/dist/popup.js b/node_modules/sober/dist/popup.js +index 1bbbdb4..f2e8485 100644 +--- a/node_modules/sober/dist/popup.js ++++ b/node_modules/sober/dist/popup.js +@@ -1,2 +1,2 @@ +-import{useElement as w}from"./core/element.js";import{convertCSSDuration as y}from"./core/utils/CSSUtils.js";const E="s-popup",k={align:"bottom"},S=":host{display:inline-block;vertical-align:middle;text-align:left}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;position:relative;overflow:hidden;color:inherit}dialog::backdrop{background:none}.scrim{position:absolute;top:0;left:0;width:100%;height:100%}.container{position:relative;width:fit-content;max-width:100%;max-height:100%}::slotted(:not([slot])){border-radius:4px;max-width:100%;max-height:100%;white-space:nowrap;box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container, #ECEEF0)}",C='
';class b extends w({style:S,template:C,props:k,setup(l){const r=l.querySelector("dialog"),n=l.querySelector(".container"),p=getComputedStyle(this),h=()=>{const e=p.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",t=p.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:e,duration:y(t)}},d=e=>{if(!this.isConnected||r.open)return;const t={top:0,left:0,origin:[]};if(r.showModal(),!this.dispatchEvent(new Event("show",{cancelable:!0})))return r.close();const o=n.offsetWidth,c=n.offsetHeight;if(!e||e instanceof HTMLElement){const g=e??this;if(!g)return;const i=g.getBoundingClientRect(),a={middle(f){t.origin[0]="center",t.left=i.left-(o-i.width)/2;const m=()=>(t.top=i.top+i.height,t.origin[1]="top",t.top+c>innerHeight),u=()=>(t.top=i.top-c,t.origin[1]="bottom",t.top<0);t.left<0&&(t.left=i.left,t.origin[0]="left"),t.left+o>innerWidth&&(t.left=i.left+i.width-o,t.origin[0]="right"),f==="top"&&u()&&m(),f==="bottom"&&m()&&u()},left(){return t.origin=["right","top"],t.left=i.left-o,t.top=i.top,t.left<0},right(){return t.origin=["left","top"],t.left=i.left+i.width,t.top=i.top,t.left+o>innerWidth}};switch(this.align){case"bottom":case"top":a.middle(this.align);break;case"left":a.left()&&a.right();break;case"right":a.right()&&a.left();break}}else t.top=e.y,t.left=e.x,t.origin=e.origin?.split(" ")??["left","top"],e.x+o>innerWidth&&(t.left=e.x-o,t.origin[0]="right"),e.y+c>innerHeight&&(t.top=e.y-c,t.origin[1]="bottom");n.style.transformOrigin=t.origin.join(" "),n.style.top=`${Math.max(t.top,0)}px`,n.style.left=`${Math.max(t.left,0)}px`;const x=n.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},h());this.setAttribute("showed",""),x.finished.then(()=>this.dispatchEvent(new Event("showed")))},s=()=>{if(!this.isConnected||!r.open||n.getAnimations().length>0||!this.dispatchEvent(new Event("close",{cancelable:!0})))return;const e=n.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},h());this.removeAttribute("showed"),e.finished.then(()=>{r.close(),this.dispatchEvent(new Event("closed"))})},v=e=>r.open?s():d(e);return l.querySelector("slot[name=trigger]").addEventListener("click",()=>d()),l.querySelector(".scrim").addEventListener("pointerdown",s),{expose:{show:d,toggle:v,close:s},onMounted:()=>addEventListener("resize",s),onUnmounted:()=>removeEventListener("resize",s)}}}){}b.define(E);export{b as Popup}; ++import{useElement as w}from"./core/element.js";import{convertCSSDuration as y}from"./core/utils/CSSUtils.js";const E="s-popup",k={align:"bottom"},S=":host{display:inline-block;vertical-align:middle;text-align:left}dialog{inset:0;width:100%;height:100%;background:none;border:none;padding:0;max-width:none;max-height:none;outline:none;position:relative;overflow:hidden;color:inherit}dialog::backdrop{background:none}.scrim{cursor:default;position:absolute;top:0;left:0;width:100%;height:100%}.container{position:relative;width:fit-content;max-width:100%;max-height:100%}::slotted(:not([slot])){border-radius:4px;max-width:100%;max-height:100%;white-space:nowrap;box-shadow:var(--s-elevation-level2, 0 2px 4px -1px rgba(0, 0, 0, .2), 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12));background:var(--s-color-surface-container, #ECEEF0)}",C='
';class b extends w({style:S,template:C,props:k,setup(l){const r=l.querySelector("dialog"),n=l.querySelector(".container"),p=getComputedStyle(this),h=()=>{const e=p.getPropertyValue("--s-motion-easing-standard")||"cubic-bezier(0.2, 0, 0, 1.0)",t=p.getPropertyValue("--s-motion-duration-medium4")||"400ms";return{easing:e,duration:y(t)}},d=e=>{if(!this.isConnected||r.open)return;const t={top:0,left:0,origin:[]};if(r.showModal(),!this.dispatchEvent(new Event("show",{cancelable:!0})))return r.close();const o=n.offsetWidth,c=n.offsetHeight;if(!e||e instanceof HTMLElement){const g=e??this;if(!g)return;const i=g.getBoundingClientRect(),a={middle(f){t.origin[0]="center",t.left=i.left-(o-i.width)/2;const m=()=>(t.top=i.top+i.height,t.origin[1]="top",t.top+c>innerHeight),u=()=>(t.top=i.top-c,t.origin[1]="bottom",t.top<0);t.left<0&&(t.left=i.left,t.origin[0]="left"),t.left+o>innerWidth&&(t.left=i.left+i.width-o,t.origin[0]="right"),f==="top"&&u()&&m(),f==="bottom"&&m()&&u()},left(){return t.origin=["right","top"],t.left=i.left-o,t.top=i.top,t.left<0},right(){return t.origin=["left","top"],t.left=i.left+i.width,t.top=i.top,t.left+o>innerWidth}};switch(this.align){case"bottom":case"top":a.middle(this.align);break;case"left":a.left()&&a.right();break;case"right":a.right()&&a.left();break}}else t.top=e.y,t.left=e.x,t.origin=e.origin?.split(" ")??["left","top"],e.x+o>innerWidth&&(t.left=e.x-o,t.origin[0]="right"),e.y+c>innerHeight&&(t.top=e.y-c,t.origin[1]="bottom");n.style.transformOrigin=t.origin.join(" "),n.style.top=`${Math.max(t.top,0)}px`,n.style.left=`${Math.max(t.left,0)}px`;const x=n.animate({transform:["scale(.9)","scale(1)"],opacity:[0,1]},h());this.setAttribute("showed",""),x.finished.then(()=>this.dispatchEvent(new Event("showed")))},s=()=>{if(!this.isConnected||!r.open||n.getAnimations().length>0||!this.dispatchEvent(new Event("close",{cancelable:!0})))return;const e=n.animate({transform:["scale(1)","scale(.9)"],opacity:[1,0]},h());this.removeAttribute("showed"),e.finished.then(()=>{r.close(),this.dispatchEvent(new Event("closed"))})},v=e=>r.open?s():d(e);return l.querySelector("slot[name=trigger]").addEventListener("click",()=>d()),l.querySelector(".scrim").addEventListener("pointerdown",s),{expose:{show:d,toggle:v,close:s},onMounted:()=>addEventListener("resize",s),onUnmounted:()=>removeEventListener("resize",s)}}}){}b.define(E);export{b as Popup}; + //# sourceMappingURL=popup.js.map diff --git a/public/fonts/KaTeX_AllInOne.woff2 b/public/fonts/KaTeX_AllInOne.woff2 index 1394c63..2ec5ab4 100644 Binary files a/public/fonts/KaTeX_AllInOne.woff2 and b/public/fonts/KaTeX_AllInOne.woff2 differ diff --git a/public/fonts/KaTeX_AllInOne_Neg.woff2 b/public/fonts/KaTeX_AllInOne_Neg.woff2 new file mode 100644 index 0000000..da8a9ad Binary files /dev/null and b/public/fonts/KaTeX_AllInOne_Neg.woff2 differ diff --git a/src/App.vue b/src/App.vue index 5c14876..3b859bb 100644 --- a/src/App.vue +++ b/src/App.vue @@ -108,15 +108,6 @@ s-page { overflow: hidden; } -.plot-data.add-data { - position: relative; - padding-top: 15px; - padding-bottom: 15px; - margin-bottom: 50px; - display: flex; - gap: 5px; -} - .data-import { position: absolute; bottom: 20px; diff --git a/src/consts.ts b/src/consts.ts index 4f6598e..1bd1491 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -3,7 +3,7 @@ import type { FunctionPlotDatum, FunctionPlotOptions, } from "function-plot"; -import { cloneDeep } from "lodash-es"; +import cloneDeep from "lodash-es/cloneDeep"; export type ValueLabel = { value: string; label: string; default?: boolean }; @@ -75,8 +75,8 @@ export type FnType = { }; export type InternalDatum = Omit & { - fnType: "text" | FunctionPlotDatum["fnType"]; - graphType: FunctionPlotDatum["graphType"]; + fnType: "text" | NonNullable; + graphType: NonNullable; key: number; hidden?: boolean; }; @@ -105,7 +105,8 @@ export function toOriginalDatum(items: InternalDatum[], forExport?: boolean) { const graphType = item.graphType; const graphTypeObj = getAllowedGraphType(fnType).find( (item) => item.value === graphType - )!; + ); + if (!graphTypeObj) throw new Error("graphType not found: " + graphType); if (getFnType(fnType).default) { delete (item).fnType; } @@ -150,10 +151,11 @@ export const getFnType = (fnType: string = "linear") => fnTypeArr.find(({ value }) => value === fnType); /** graphType 字段选项 */ -export const getAllowedGraphType = (fnType?: string) => - fnType - ? (fnTypeArr.find(({ value }) => value === fnType)?.allowedGraphType ?? []) - : []; +export const getAllowedGraphType = (fnType: string) => { + const fnTypeObj = fnTypeArr.find(({ value }) => value === fnType); + if (!fnTypeObj) throw new Error("fnType not found: " + fnType); + return fnTypeObj.allowedGraphType; +}; export const fnTypeArr = [ { diff --git a/src/editor/annotation.vue b/src/editor/annotation.vue index 88f62a7..934bb5b 100644 --- a/src/editor/annotation.vue +++ b/src/editor/annotation.vue @@ -1,10 +1,10 @@ - - diff --git a/src/editor/annotationList.vue b/src/editor/annotationList.vue index 17bef9b..90ec93f 100644 --- a/src/editor/annotationList.vue +++ b/src/editor/annotationList.vue @@ -11,13 +11,13 @@ v-for="(item, index) in profile.annotations" :key="item.key" > - +
- {{ t("buttons.add") }} + {{ t("editor.add") }}
@@ -25,10 +25,11 @@ diff --git a/src/editor/import.vue b/src/editor/import.vue index 6da4afe..271b977 100644 --- a/src/editor/import.vue +++ b/src/editor/import.vue @@ -4,28 +4,31 @@ - {{ t("buttons.import") }} + {{ t("editor.import") }} -
{{ t("title.source") }}
+
+ {{ t("editor.importRelated.title") }} +
- {{ t("buttons.cancel") }} + {{ t("editor.importRelated.cancel") }} - {{ t("buttons.confirm") }} + {{ t("editor.importRelated.confirm") }} - - diff --git a/src/editor/inputs/implicit.vue b/src/editor/inputs/implicit.vue new file mode 100644 index 0000000..50cdd8f --- /dev/null +++ b/src/editor/inputs/implicit.vue @@ -0,0 +1,50 @@ + + + diff --git a/src/editor/inputs/inputs.scss b/src/editor/inputs/inputs.scss new file mode 100644 index 0000000..448d0dd --- /dev/null +++ b/src/editor/inputs/inputs.scss @@ -0,0 +1,83 @@ +.input-inner { + display: flex; + flex-direction: column; + --input-inner-gap: 8px; + gap: var(--input-inner-gap); + + .field.main-fn { + font-size: 25px; + display: flex; + align-items: center; + .label { + margin: 0 0.1em 0 0; + width: 1.8em; + margin-left: 0; + text-align: right; + } + .fn { + font-size: 24px; + width: 0; + flex-grow: 1; + } + } + + & > .fold-shell { + margin: -8px -15px 0 -15px; + } + s-divider { + margin: var(--input-inner-gap) 15px; + padding: var(--input-inner-gap) 0; + } + + .fields { + display: grid; + grid-template-columns: max-content minmax(auto, 18em); + justify-content: space-between; + align-items: center; + row-gap: var(--input-inner-gap); + column-gap: 1.5em; + } + + .input-inner-optional { + font-size: 16px; + padding: 0 15px; + + s-text-field { + width: 100%; + font-size: inherit; + } + .label { + justify-self: start; + display: flex; + } + .input { + justify-self: end; + } + + .switches { + display: flex; + margin-top: var(--input-inner-gap); + column-gap: 2em; + align-items: center; + flex-wrap: wrap; + } + s-checkbox { + margin-left: -10px; + } + s-checkbox[disabled] { + color: var(--s-color-outline); + } + } + + .tuple { + display: flex; + align-items: center; + font-size: 24px; + gap: 0.2em; + } + .tuple-input { + width: 0; + flex-grow: 1; + font-size: 22px; + } +} diff --git a/src/editor/inputs/linear.vue b/src/editor/inputs/linear.vue new file mode 100644 index 0000000..3d4332e --- /dev/null +++ b/src/editor/inputs/linear.vue @@ -0,0 +1,90 @@ + + + diff --git a/src/editor/inputs/optInputs.vue b/src/editor/inputs/optInputs.vue deleted file mode 100644 index cceb367..0000000 --- a/src/editor/inputs/optInputs.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/src/editor/inputs/parametric.vue b/src/editor/inputs/parametric.vue new file mode 100644 index 0000000..cf1d9e3 --- /dev/null +++ b/src/editor/inputs/parametric.vue @@ -0,0 +1,69 @@ + + + diff --git a/src/editor/inputs/points.vue b/src/editor/inputs/points.vue new file mode 100644 index 0000000..dde69da --- /dev/null +++ b/src/editor/inputs/points.vue @@ -0,0 +1,48 @@ + + + diff --git a/src/editor/inputs/polar.vue b/src/editor/inputs/polar.vue new file mode 100644 index 0000000..845abc6 --- /dev/null +++ b/src/editor/inputs/polar.vue @@ -0,0 +1,70 @@ + + + diff --git a/src/editor/inputs/strInputs.vue b/src/editor/inputs/strInputs.vue deleted file mode 100644 index 9b086f4..0000000 --- a/src/editor/inputs/strInputs.vue +++ /dev/null @@ -1,49 +0,0 @@ - - - - - diff --git a/src/editor/inputs/subblocks/coloUtils.ts b/src/editor/inputs/subblocks/coloUtils.ts new file mode 100644 index 0000000..0ad34f7 --- /dev/null +++ b/src/editor/inputs/subblocks/coloUtils.ts @@ -0,0 +1,165 @@ +export function nameToHex(name: string) { + if (name.startsWith("#") || name.startsWith("rgb")) return undefined; + const hex = colorNames[name.toLowerCase() as keyof typeof colorNames]; + if (hex) return hex; + return undefined; +} + +export function hexToRgba(hex: string) { + if (hex.startsWith("#")) { + hex = hex.slice(1); + } + if (hex.length === 3 || hex.length === 4) + hex = [...hex].map((c) => c + c).join(""); + if (hex.length === 6) hex += "FF"; + const bigint = parseInt(hex, 16); + const r = (bigint >> 24) & 255; + const g = (bigint >> 16) & 255; + const b = (bigint >> 8) & 255; + const a = bigint & 255; + if (a === 255) return `rgb(${r}, ${g}, ${b})`; + return `rgba(${r}, ${g}, ${b}, ${a / 255})`; +} + +const colorNames = { + aliceblue: "#f0f8ff", + antiquewhite: "#faebd7", + aqua: "#00ffff", + aquamarine: "#7fffd4", + azure: "#f0ffff", + beige: "#f5f5dc", + bisque: "#ffe4c4", + black: "#000000", + blanchedalmond: "#ffebcd", + blue: "#0000ff", + blueviolet: "#8a2be2", + brown: "#a52a2a", + burlywood: "#deb887", + cadetblue: "#5f9ea0", + chartreuse: "#7fff00", + chocolate: "#d2691e", + coral: "#ff7f50", + cornflowerblue: "#6495ed", + cornsilk: "#fff8dc", + crimson: "#dc143c", + cyan: "#00ffff", + darkblue: "#00008b", + darkcyan: "#008b8b", + darkgoldenrod: "#b8860b", + darkgray: "#a9a9a9", + darkgreen: "#006400", + darkkhaki: "#bdb76b", + darkmagenta: "#8b008b", + darkolivegreen: "#556b2f", + darkorange: "#ff8c00", + darkorchid: "#9932cc", + darkred: "#8b0000", + darksalmon: "#e9967a", + darkseagreen: "#8fbc8f", + darkslateblue: "#483d8b", + darkslategray: "#2f4f4f", + darkturquoise: "#00ced1", + darkviolet: "#9400d3", + deeppink: "#ff1493", + deepskyblue: "#00bfff", + dimgray: "#696969", + dodgerblue: "#1e90ff", + firebrick: "#b22222", + floralwhite: "#fffaf0", + forestgreen: "#228b22", + fuchsia: "#ff00ff", + gainsboro: "#dcdcdc", + ghostwhite: "#f8f8ff", + gold: "#ffd700", + goldenrod: "#daa520", + gray: "#808080", + green: "#008000", + greenyellow: "#adff2f", + honeydew: "#f0fff0", + hotpink: "#ff69b4", + indianred: "#cd5c5c", + indigo: "#4b0082", + ivory: "#fffff0", + khaki: "#f0e68c", + lavender: "#e6e6fa", + lavenderblush: "#fff0f5", + lawngreen: "#7cfc00", + lemonchiffon: "#fffacd", + lightblue: "#add8e6", + lightcoral: "#f08080", + lightcyan: "#e0ffff", + lightgoldenrodyellow: "#fafad2", + lightgray: "#d3d3d3", + lightgreen: "#90ee90", + lightpink: "#ffb6c1", + lightsalmon: "#ffa07a", + lightseagreen: "#20b2aa", + lightskyblue: "#87cefa", + lightslategray: "#778899", + lightsteelblue: "#b0c4de", + lightyellow: "#ffffe0", + lime: "#00ff00", + limegreen: "#32cd32", + linen: "#faf0e6", + magenta: "#ff00ff", + maroon: "#800000", + mediumaquamarine: "#66cdaa", + mediumblue: "#0000cd", + mediumorchid: "#ba55d3", + mediumpurple: "#9370db", + mediumseagreen: "#3cb371", + mediumslateblue: "#7b68ee", + mediumspringgreen: "#00fa9a", + mediumturquoise: "#48d1cc", + mediumvioletred: "#c71585", + midnightblue: "#191970", + mintcream: "#f5fffa", + mistyrose: "#ffe4e1", + moccasin: "#ffe4b5", + navajowhite: "#ffdead", + navy: "#000080", + oldlace: "#fdf5e6", + olive: "#808000", + olivedrab: "#6b8e23", + orange: "#ffa500", + orangered: "#ff4500", + orchid: "#da70d6", + palegoldenrod: "#eee8aa", + palegreen: "#98fb98", + paleturquoise: "#afeeee", + palevioletred: "#db7093", + papayawhip: "#ffefd5", + peachpuff: "#ffdab9", + peru: "#cd853f", + pink: "#ffc0cb", + plum: "#dda0dd", + powderblue: "#b0e0e6", + purple: "#800080", + red: "#ff0000", + rosybrown: "#bc8f8f", + royalblue: "#4169e1", + saddlebrown: "#8b4513", + salmon: "#fa8072", + sandybrown: "#f4a460", + seagreen: "#2e8b57", + seashell: "#fff5ee", + sienna: "#a0522d", + silver: "#c0c0c0", + skyblue: "#87ceeb", + slateblue: "#6a5acd", + slategray: "#708090", + snow: "#fffafa", + springgreen: "#00ff7f", + steelblue: "#4682b4", + tan: "#d2b48c", + teal: "#008080", + thistle: "#d8bfd8", + tomato: "#ff6347", + turquoise: "#40e0d0", + violet: "#ee82ee", + wheat: "#f5deb3", + white: "#ffffff", + whitesmoke: "#f5f5f5", + yellow: "#ffff00", + yellowgreen: "#9acd32", +} as const; diff --git a/src/editor/inputs/subblocks/colorPicker.vue b/src/editor/inputs/subblocks/colorPicker.vue new file mode 100644 index 0000000..033ff58 --- /dev/null +++ b/src/editor/inputs/subblocks/colorPicker.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/editor/inputs/subblocks/derivatePane.vue b/src/editor/inputs/subblocks/derivatePane.vue new file mode 100644 index 0000000..7b103fd --- /dev/null +++ b/src/editor/inputs/subblocks/derivatePane.vue @@ -0,0 +1,357 @@ + + + + + diff --git a/src/editor/inputs/subblocks/domain.vue b/src/editor/inputs/subblocks/domain.vue new file mode 100644 index 0000000..f4f7353 --- /dev/null +++ b/src/editor/inputs/subblocks/domain.vue @@ -0,0 +1,63 @@ + + + + + diff --git a/src/editor/inputs/subblocks/function.vue b/src/editor/inputs/subblocks/function.vue new file mode 100644 index 0000000..5e4958a --- /dev/null +++ b/src/editor/inputs/subblocks/function.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/editor/inputs/subblocks/helpIcon.vue b/src/editor/inputs/subblocks/helpIcon.vue new file mode 100644 index 0000000..3adbf4d --- /dev/null +++ b/src/editor/inputs/subblocks/helpIcon.vue @@ -0,0 +1,39 @@ + + + + + diff --git a/src/editor/inputs/coordArrInputs.vue b/src/editor/inputs/subblocks/pointsInput.vue similarity index 56% rename from src/editor/inputs/coordArrInputs.vue rename to src/editor/inputs/subblocks/pointsInput.vue index 7c448ad..a452196 100644 --- a/src/editor/inputs/coordArrInputs.vue +++ b/src/editor/inputs/subblocks/pointsInput.vue @@ -1,7 +1,6 @@ - diff --git a/src/editor/inputs/text.vue b/src/editor/inputs/text.vue new file mode 100644 index 0000000..385df65 --- /dev/null +++ b/src/editor/inputs/text.vue @@ -0,0 +1,72 @@ + + + + + \ No newline at end of file diff --git a/src/editor/inputs/vector.vue b/src/editor/inputs/vector.vue new file mode 100644 index 0000000..71f2c45 --- /dev/null +++ b/src/editor/inputs/vector.vue @@ -0,0 +1,84 @@ + + + diff --git a/src/editor/options.vue b/src/editor/options.vue index c7abe1b..d675efa 100644 --- a/src/editor/options.vue +++ b/src/editor/options.vue @@ -1,73 +1,75 @@ @@ -48,8 +49,10 @@