diff --git a/CHANGELOG.md b/CHANGELOG.md index c5326a3..51e4eee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## UNRELEASED +## v0.5.0 - All internal dependencies have been bumped to the latest stable version. - If you don't need the `listen_notify` feature for remote clusters, you can now choose to only used @@ -10,6 +10,7 @@ case during local development. This greatly improves the DX. - `hiqlite::Client::query_raw_not_empty()` has been removed as it was redundant. `query_raw_one()` behaves in the same way. +- MSRV has been bumped to `1.82.0` ## v0.4.0 diff --git a/Cargo.toml b/Cargo.toml index d73c3cf..7a67080 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = ["hiqlite"] exclude = ["examples"] [workspace.package] -version = "0.4.0" +version = "0.5.0" edition = "2021" license = "Apache-2.0" authors = ["Sebastian Dobe =18.13" }, "peerDependencies": { - "@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1", + "@sveltejs/vite-plugin-svelte": "^3.0.0 || ^4.0.0-next.1 || ^5.0.0", "svelte": "^4.0.0 || ^5.0.0-next.0", - "vite": "^5.0.3" + "vite": "^5.0.3 || ^6.0.0" } }, "node_modules/@sveltejs/vite-plugin-svelte": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-4.0.2.tgz", - "integrity": "sha512-Y9r/fWy539XlAC7+5wfNJ4zH6TygUYoQ0Eegzp0zDDqhJ54+92gOyOX1l4MO1cJSx0O+Gp13YePT5XEa3+kX0w==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@sveltejs/vite-plugin-svelte/-/vite-plugin-svelte-4.0.4.tgz", + "integrity": "sha512-0ba1RQ/PHen5FGpdSrW7Y3fAMQjrXantECALeOiOdBdzR5+5vPP6HVZRLmZaQL+W8m++o+haIAKq5qT+MiZ7VA==", "dev": true, "license": "MIT", "dependencies": { @@ -1122,9 +1134,9 @@ } }, "node_modules/chokidar": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", - "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, "license": "MIT", "dependencies": { @@ -1137,6 +1149,16 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, "node_modules/cookie": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", @@ -1148,9 +1170,9 @@ } }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "license": "MIT", "dependencies": { @@ -1222,27 +1244,26 @@ } }, "node_modules/esm-env": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.2.1.tgz", - "integrity": "sha512-U9JedYYjCnadUlXk7e1Kr+aENQhtUaoaV9+gZm1T8LC/YBAPJx3NSPIAurFOC0U5vrdSevnUJS2/wUVxGwPhng==", + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/esm-env/-/esm-env-1.2.2.tgz", + "integrity": "sha512-Epxrv+Nr/CaL4ZcFGPJIYLWFom+YeV1DqMLHJoEd9SYRxNbaFruBwfEX/kkHUJf55j2+TUbmDcmuilbP1TmXHA==", "dev": true, "license": "MIT" }, "node_modules/esrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/esrap/-/esrap-1.2.3.tgz", - "integrity": "sha512-ZlQmCCK+n7SGoqo7DnfKaP1sJZa49P01/dXzmjCASSo04p72w8EksT2NMK8CEX8DhKsfJXANioIw8VyHNsBfvQ==", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/esrap/-/esrap-1.4.3.tgz", + "integrity": "sha512-Xddc1RsoFJ4z9nR7W7BFaEPIp4UXoeQ0+077UdWLxbafMQFyU79sQJMk7kxNgRwQ9/aVgaKacCHC2pUACGwmYw==", "dev": true, "license": "MIT", "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.15", - "@types/estree": "^1.0.1" + "@jridgewell/sourcemap-codec": "^1.4.15" } }, "node_modules/fdir": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.2.tgz", - "integrity": "sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==", + "version": "6.4.3", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz", + "integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1269,20 +1290,6 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/globalyzer": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz", - "integrity": "sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==", - "dev": true, - "license": "MIT" - }, - "node_modules/globrex": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz", - "integrity": "sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==", - "dev": true, - "license": "MIT" - }, "node_modules/import-meta-resolve": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", @@ -1322,9 +1329,9 @@ "license": "MIT" }, "node_modules/magic-string": { - "version": "0.30.14", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.14.tgz", - "integrity": "sha512-5c99P1WKTed11ZC0HMJOj6CDIue6F8ySu+bJL+85q1zBEIY8IklrJ1eiKC2NDRh3Ct3FcvmJPyQHb9erXMTJNw==", + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", "dev": true, "license": "MIT", "dependencies": { @@ -1385,9 +1392,9 @@ "license": "ISC" }, "node_modules/postcss": { - "version": "8.4.49", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", - "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.1.tgz", + "integrity": "sha512-6oz2beyjc5VMn/KV1pPw8fliQkhBXrVn1Z3TVyqZxU8kZpzEKhBdmCFqI6ZbmGtamQvQGuU1sgPTk8ZrXDD7jQ==", "dev": true, "funding": [ { @@ -1405,7 +1412,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.7", + "nanoid": "^3.3.8", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -1414,13 +1421,13 @@ } }, "node_modules/readdirp": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", - "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.1.tgz", + "integrity": "sha512-h80JrZu/MHUZCyHu5ciuoI0+WxsCxzxJTILn6Fs8rxSnFPh+UVHYfeIxK1nVGugMqkfC4vJcBOYbkfkwYK0+gw==", "dev": true, "license": "MIT", "engines": { - "node": ">= 14.16.0" + "node": ">= 14.18.0" }, "funding": { "type": "individual", @@ -1428,9 +1435,9 @@ } }, "node_modules/rollup": { - "version": "4.27.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.27.4.tgz", - "integrity": "sha512-RLKxqHEMjh/RGLsDxAEsaLO3mWgyoU6x9w6n1ikAzet4B3gI2/3yP6PWY2p9QzRTh6MfEIXB3MwsOY0Iv3vNrw==", + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.31.0.tgz", + "integrity": "sha512-9cCE8P4rZLx9+PjoyqHLs31V9a9Vpvfo4qNcs6JCiGWYhw2gijSetFbH6SSy1whnkgcefnUwr8sad7tgqsGvnw==", "dev": true, "license": "MIT", "dependencies": { @@ -1444,24 +1451,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.27.4", - "@rollup/rollup-android-arm64": "4.27.4", - "@rollup/rollup-darwin-arm64": "4.27.4", - "@rollup/rollup-darwin-x64": "4.27.4", - "@rollup/rollup-freebsd-arm64": "4.27.4", - "@rollup/rollup-freebsd-x64": "4.27.4", - "@rollup/rollup-linux-arm-gnueabihf": "4.27.4", - "@rollup/rollup-linux-arm-musleabihf": "4.27.4", - "@rollup/rollup-linux-arm64-gnu": "4.27.4", - "@rollup/rollup-linux-arm64-musl": "4.27.4", - "@rollup/rollup-linux-powerpc64le-gnu": "4.27.4", - "@rollup/rollup-linux-riscv64-gnu": "4.27.4", - "@rollup/rollup-linux-s390x-gnu": "4.27.4", - "@rollup/rollup-linux-x64-gnu": "4.27.4", - "@rollup/rollup-linux-x64-musl": "4.27.4", - "@rollup/rollup-win32-arm64-msvc": "4.27.4", - "@rollup/rollup-win32-ia32-msvc": "4.27.4", - "@rollup/rollup-win32-x64-msvc": "4.27.4", + "@rollup/rollup-android-arm-eabi": "4.31.0", + "@rollup/rollup-android-arm64": "4.31.0", + "@rollup/rollup-darwin-arm64": "4.31.0", + "@rollup/rollup-darwin-x64": "4.31.0", + "@rollup/rollup-freebsd-arm64": "4.31.0", + "@rollup/rollup-freebsd-x64": "4.31.0", + "@rollup/rollup-linux-arm-gnueabihf": "4.31.0", + "@rollup/rollup-linux-arm-musleabihf": "4.31.0", + "@rollup/rollup-linux-arm64-gnu": "4.31.0", + "@rollup/rollup-linux-arm64-musl": "4.31.0", + "@rollup/rollup-linux-loongarch64-gnu": "4.31.0", + "@rollup/rollup-linux-powerpc64le-gnu": "4.31.0", + "@rollup/rollup-linux-riscv64-gnu": "4.31.0", + "@rollup/rollup-linux-s390x-gnu": "4.31.0", + "@rollup/rollup-linux-x64-gnu": "4.31.0", + "@rollup/rollup-linux-x64-musl": "4.31.0", + "@rollup/rollup-win32-arm64-msvc": "4.31.0", + "@rollup/rollup-win32-ia32-msvc": "4.31.0", + "@rollup/rollup-win32-x64-msvc": "4.31.0", "fsevents": "~2.3.2" } }, @@ -1511,9 +1519,9 @@ } }, "node_modules/svelte": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.3.1.tgz", - "integrity": "sha512-Y6PXppQhIZZ0HLZKj6UMV/VZPJbHiK98K8A5M7mJ+PGrz4erUmuDRUa8l7aw4La++Vl51YWzLUuuB0FZ7JPfnw==", + "version": "5.19.1", + "resolved": "https://registry.npmjs.org/svelte/-/svelte-5.19.1.tgz", + "integrity": "sha512-H/Vs2O51bwILZbaNUSdr4P1NbLpOGsxl4jJAjd88ELjzRgeRi1BHqexcVGannDr7D1pmTYWWajzHOM7bMbtB9Q==", "dev": true, "license": "MIT", "dependencies": { @@ -1524,8 +1532,9 @@ "acorn-typescript": "^1.4.13", "aria-query": "^5.3.1", "axobject-query": "^4.1.0", + "clsx": "^2.1.1", "esm-env": "^1.2.1", - "esrap": "^1.2.3", + "esrap": "^1.4.3", "is-reference": "^3.0.3", "locate-character": "^3.0.0", "magic-string": "^0.30.11", @@ -1536,9 +1545,9 @@ } }, "node_modules/svelte-check": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.0.5.tgz", - "integrity": "sha512-icBTBZ3ibBaywbXUat3cK6hB5Du+Kq9Z8CRuyLmm64XIe2/r+lQcbuBx/IQgsbrC+kT2jQ0weVpZSSRIPwB6jQ==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-4.1.4.tgz", + "integrity": "sha512-v0j7yLbT29MezzaQJPEDwksybTE2Ups9rUxEXy92T06TiA0cbqcO8wAOwNUVkFW6B0hsYHA+oAX3BS8b/2oHtw==", "dev": true, "license": "MIT", "dependencies": { @@ -1559,17 +1568,6 @@ "typescript": ">=5.0.0" } }, - "node_modules/tiny-glob": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz", - "integrity": "sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==", - "dev": true, - "license": "MIT", - "dependencies": { - "globalyzer": "0.1.0", - "globrex": "^0.1.2" - } - }, "node_modules/totalist": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/totalist/-/totalist-3.0.1.tgz", @@ -1581,9 +1579,9 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "5.7.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz", + "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==", "dev": true, "license": "Apache-2.0", "bin": { @@ -1609,9 +1607,9 @@ } }, "node_modules/vite": { - "version": "5.4.11", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz", - "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==", + "version": "5.4.14", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.14.tgz", + "integrity": "sha512-EK5cY7Q1D8JNhSaPKVK4pwBFvaTmZxEnoKXLG/U9gmdDcihQGNzFlgIvaxezFR4glP1LsuiedwMBqCXH3wZccA==", "dev": true, "license": "MIT", "dependencies": { @@ -1694,9 +1692,9 @@ } }, "node_modules/vitefu": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.0.4.tgz", - "integrity": "sha512-y6zEE3PQf6uu/Mt6DTJ9ih+kyJLr4XcSgHR2zUkM8SWDhuixEJxfJ6CZGMHh1Ec3vPLoEA0IHU5oWzVqw8ulow==", + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.0.5.tgz", + "integrity": "sha512-h4Vflt9gxODPFNGPwp4zAMZRpZR7eslzwH2c5hn5kNZ5rhnKyRJ50U+yGCdc2IRaBs8O4haIgLNGrV5CrpMsCA==", "dev": true, "license": "MIT", "workspaces": [ diff --git a/examples/bench/Cargo.lock b/examples/bench/Cargo.lock index 0b6544d..1746a94 100644 --- a/examples/bench/Cargo.lock +++ b/examples/bench/Cargo.lock @@ -270,13 +270,13 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.9" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" +checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" dependencies = [ - "async-trait", "axum-core", "bytes", + "form_urlencoded", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -294,9 +294,9 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", - "tower 0.5.1", + "tower 0.5.2", "tower-layer", "tower-service", "tracing", @@ -304,11 +304,10 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.4.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" +checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" dependencies = [ - "async-trait", "bytes", "futures-util", "http 1.1.0", @@ -317,7 +316,7 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper 1.0.2", + "sync_wrapper", "tower-layer", "tower-service", "tracing", @@ -762,9 +761,9 @@ dependencies = [ [[package]] name = "cron" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe58904b68d95ad2c69a2e9607ffc70ce196c1910f83a340029c1448e06ed65" +checksum = "5877d3fbf742507b66bc2a1945106bd30dd8504019d596901ddd012a4dd01740" dependencies = [ "chrono", "once_cell", @@ -964,9 +963,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fastwebsockets" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5574849ef5c007a399f8426b9254bcf2d8a6d739039c08c739d95f47ce46c0a3" +checksum = "305d3ba574508e27190906d11707dad683e0494e6b85eae9b044cb2734a5e422" dependencies = [ "async-trait", "axum-core", @@ -1003,6 +1002,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1210,14 +1215,17 @@ name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "foldhash", +] [[package]] name = "hashlink" -version = "0.9.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.2", ] [[package]] @@ -1240,7 +1248,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hiqlite" -version = "0.4.0" +version = "0.5.0" dependencies = [ "axum", "axum-server", @@ -1813,9 +1821,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.30.1" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" +checksum = "ad8935b44e7c13394a179a438e0cebba0fe08fe01b54f152e29a93b5cf993fd4" dependencies = [ "cc", "pkg-config", @@ -1888,9 +1896,9 @@ dependencies = [ [[package]] name = "matchit" -version = "0.7.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" +checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "md5" @@ -2410,7 +2418,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", "tokio-rustls 0.26.0", "tokio-util", @@ -2486,9 +2494,9 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.32.1" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e" +checksum = "1c6d5e5acb6f6129fe3f7ba0a7fc77bca1942cb568535e18e7bc40262baf3110" dependencies = [ "bitflags", "chrono", @@ -2824,9 +2832,9 @@ dependencies = [ [[package]] name = "serde_rusqlite" -version = "0.36.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b741cc5ef185cd96157e762c3bba743c4e94c8dc6af0edb053c48d2b3c27e691" +checksum = "d1c7e71c56bd6ca8caa221b987112592a404db2895d9010c0ce0615b0148497f" dependencies = [ "rusqlite", "serde", @@ -2864,16 +2872,6 @@ dependencies = [ "cfg-if", "cpufeatures", "digest", - "sha2-asm", -] - -[[package]] -name = "sha2-asm" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b845214d6175804686b2bd482bcffe96651bb2d1200742b712003504a2dac1ab" -dependencies = [ - "cc", ] [[package]] @@ -2993,12 +2991,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - [[package]] name = "sync_wrapper" version = "1.0.2" @@ -3236,14 +3228,14 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" dependencies = [ "futures-core", "futures-util", "pin-project-lite", - "sync_wrapper 0.1.2", + "sync_wrapper", "tokio", "tower-layer", "tower-service", diff --git a/examples/cache-only/Cargo.lock b/examples/cache-only/Cargo.lock index c6ff377..bae9c27 100644 --- a/examples/cache-only/Cargo.lock +++ b/examples/cache-only/Cargo.lock @@ -173,13 +173,13 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.9" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" +checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" dependencies = [ - "async-trait", "axum-core", "bytes", + "form_urlencoded", "futures-util", "http", "http-body", @@ -197,9 +197,9 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", - "tower 0.5.1", + "tower 0.5.2", "tower-layer", "tower-service", "tracing", @@ -207,11 +207,10 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.4.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" +checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" dependencies = [ - "async-trait", "bytes", "futures-util", "http", @@ -220,7 +219,7 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper 1.0.2", + "sync_wrapper", "tower-layer", "tower-service", "tracing", @@ -638,9 +637,9 @@ dependencies = [ [[package]] name = "fastwebsockets" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5574849ef5c007a399f8426b9254bcf2d8a6d739039c08c739d95f47ce46c0a3" +checksum = "305d3ba574508e27190906d11707dad683e0494e6b85eae9b044cb2734a5e422" dependencies = [ "async-trait", "axum-core", @@ -876,7 +875,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hiqlite" -version = "0.4.0" +version = "0.5.0" dependencies = [ "axum", "axum-server", @@ -1339,9 +1338,9 @@ dependencies = [ [[package]] name = "matchit" -version = "0.7.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" +checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "memchr" @@ -1770,7 +1769,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", "tokio-rustls", "tower-service", @@ -2066,16 +2065,6 @@ dependencies = [ "cfg-if", "cpufeatures", "digest", - "sha2-asm", -] - -[[package]] -name = "sha2-asm" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b845214d6175804686b2bd482bcffe96651bb2d1200742b712003504a2dac1ab" -dependencies = [ - "cc", ] [[package]] @@ -2195,12 +2184,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - [[package]] name = "sync_wrapper" version = "1.0.2" @@ -2387,14 +2370,14 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" dependencies = [ "futures-core", "futures-util", "pin-project-lite", - "sync_wrapper 0.1.2", + "sync_wrapper", "tokio", "tower-layer", "tower-service", diff --git a/examples/sqlite-only/Cargo.lock b/examples/sqlite-only/Cargo.lock index c3679b6..9bcd3ed 100644 --- a/examples/sqlite-only/Cargo.lock +++ b/examples/sqlite-only/Cargo.lock @@ -270,13 +270,13 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.9" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" +checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" dependencies = [ - "async-trait", "axum-core", "bytes", + "form_urlencoded", "futures-util", "http", "http-body", @@ -294,9 +294,9 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", - "tower 0.5.1", + "tower 0.5.2", "tower-layer", "tower-service", "tracing", @@ -304,11 +304,10 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.4.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" +checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" dependencies = [ - "async-trait", "bytes", "futures-util", "http", @@ -317,7 +316,7 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper 1.0.2", + "sync_wrapper", "tower-layer", "tower-service", "tracing", @@ -736,9 +735,9 @@ dependencies = [ [[package]] name = "cron" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe58904b68d95ad2c69a2e9607ffc70ce196c1910f83a340029c1448e06ed65" +checksum = "5877d3fbf742507b66bc2a1945106bd30dd8504019d596901ddd012a4dd01740" dependencies = [ "chrono", "once_cell", @@ -922,9 +921,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fastwebsockets" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5574849ef5c007a399f8426b9254bcf2d8a6d739039c08c739d95f47ce46c0a3" +checksum = "305d3ba574508e27190906d11707dad683e0494e6b85eae9b044cb2734a5e422" dependencies = [ "async-trait", "axum-core", @@ -961,6 +960,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1149,14 +1154,17 @@ name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "foldhash", +] [[package]] name = "hashlink" -version = "0.9.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.2", ] [[package]] @@ -1179,7 +1187,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hiqlite" -version = "0.4.0" +version = "0.5.0" dependencies = [ "axum", "axum-server", @@ -1676,9 +1684,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.30.1" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" +checksum = "ad8935b44e7c13394a179a438e0cebba0fe08fe01b54f152e29a93b5cf993fd4" dependencies = [ "cc", "pkg-config", @@ -1751,9 +1759,9 @@ dependencies = [ [[package]] name = "matchit" -version = "0.7.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" +checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "md5" @@ -2267,7 +2275,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", "tokio-rustls", "tokio-util", @@ -2343,9 +2351,9 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.32.1" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e" +checksum = "1c6d5e5acb6f6129fe3f7ba0a7fc77bca1942cb568535e18e7bc40262baf3110" dependencies = [ "bitflags", "chrono", @@ -2596,9 +2604,9 @@ dependencies = [ [[package]] name = "serde_rusqlite" -version = "0.36.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b741cc5ef185cd96157e762c3bba743c4e94c8dc6af0edb053c48d2b3c27e691" +checksum = "d1c7e71c56bd6ca8caa221b987112592a404db2895d9010c0ce0615b0148497f" dependencies = [ "rusqlite", "serde", @@ -2636,16 +2644,6 @@ dependencies = [ "cfg-if", "cpufeatures", "digest", - "sha2-asm", -] - -[[package]] -name = "sha2-asm" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b845214d6175804686b2bd482bcffe96651bb2d1200742b712003504a2dac1ab" -dependencies = [ - "cc", ] [[package]] @@ -2777,12 +2775,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - [[package]] name = "sync_wrapper" version = "1.0.2" @@ -3000,14 +2992,14 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" dependencies = [ "futures-core", "futures-util", "pin-project-lite", - "sync_wrapper 0.1.2", + "sync_wrapper", "tokio", "tower-layer", "tower-service", diff --git a/examples/walkthrough/Cargo.lock b/examples/walkthrough/Cargo.lock index a37baff..d0fff7e 100644 --- a/examples/walkthrough/Cargo.lock +++ b/examples/walkthrough/Cargo.lock @@ -270,13 +270,13 @@ dependencies = [ [[package]] name = "axum" -version = "0.7.9" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "edca88bc138befd0323b20752846e6587272d3b03b0343c8ea28a6f819e6e71f" +checksum = "6d6fd624c75e18b3b4c6b9caf42b1afe24437daaee904069137d8bab077be8b8" dependencies = [ - "async-trait", "axum-core", "bytes", + "form_urlencoded", "futures-util", "http 1.1.0", "http-body 1.0.1", @@ -294,9 +294,9 @@ dependencies = [ "serde_json", "serde_path_to_error", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", - "tower 0.5.1", + "tower 0.5.2", "tower-layer", "tower-service", "tracing", @@ -304,11 +304,10 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.4.5" +version = "0.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09f2bd6146b97ae3359fa0cc6d6b376d9539582c7b4220f041a33ec24c226199" +checksum = "df1362f362fd16024ae199c1970ce98f9661bf5ef94b9808fee734bc3698b733" dependencies = [ - "async-trait", "bytes", "futures-util", "http 1.1.0", @@ -317,7 +316,7 @@ dependencies = [ "mime", "pin-project-lite", "rustversion", - "sync_wrapper 1.0.2", + "sync_wrapper", "tower-layer", "tower-service", "tracing", @@ -746,9 +745,9 @@ dependencies = [ [[package]] name = "cron" -version = "0.14.0" +version = "0.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbe58904b68d95ad2c69a2e9607ffc70ce196c1910f83a340029c1448e06ed65" +checksum = "5877d3fbf742507b66bc2a1945106bd30dd8504019d596901ddd012a4dd01740" dependencies = [ "chrono", "once_cell", @@ -948,9 +947,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fastwebsockets" -version = "0.9.0" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5574849ef5c007a399f8426b9254bcf2d8a6d739039c08c739d95f47ce46c0a3" +checksum = "305d3ba574508e27190906d11707dad683e0494e6b85eae9b044cb2734a5e422" dependencies = [ "async-trait", "axum-core", @@ -987,6 +986,12 @@ version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +[[package]] +name = "foldhash" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0d2fde1f7b3d48b8395d5f2de76c18a528bd6a9cdde438df747bfcba3e05d6f" + [[package]] name = "form_urlencoded" version = "1.2.1" @@ -1194,14 +1199,17 @@ name = "hashbrown" version = "0.15.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289" +dependencies = [ + "foldhash", +] [[package]] name = "hashlink" -version = "0.9.1" +version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" +checksum = "7382cf6263419f2d8df38c55d7da83da5c18aef87fc7a7fc1fb1e344edfe14c1" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.2", ] [[package]] @@ -1224,7 +1232,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hiqlite" -version = "0.4.0" +version = "0.5.0" dependencies = [ "axum", "axum-server", @@ -1797,9 +1805,9 @@ dependencies = [ [[package]] name = "libsqlite3-sys" -version = "0.30.1" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" +checksum = "ad8935b44e7c13394a179a438e0cebba0fe08fe01b54f152e29a93b5cf993fd4" dependencies = [ "cc", "pkg-config", @@ -1872,9 +1880,9 @@ dependencies = [ [[package]] name = "matchit" -version = "0.7.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" +checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "md5" @@ -2394,7 +2402,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper 1.0.2", + "sync_wrapper", "tokio", "tokio-rustls 0.26.0", "tokio-util", @@ -2470,9 +2478,9 @@ dependencies = [ [[package]] name = "rusqlite" -version = "0.32.1" +version = "0.33.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e" +checksum = "1c6d5e5acb6f6129fe3f7ba0a7fc77bca1942cb568535e18e7bc40262baf3110" dependencies = [ "bitflags", "chrono", @@ -2808,9 +2816,9 @@ dependencies = [ [[package]] name = "serde_rusqlite" -version = "0.36.0" +version = "0.37.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b741cc5ef185cd96157e762c3bba743c4e94c8dc6af0edb053c48d2b3c27e691" +checksum = "d1c7e71c56bd6ca8caa221b987112592a404db2895d9010c0ce0615b0148497f" dependencies = [ "rusqlite", "serde", @@ -2848,16 +2856,6 @@ dependencies = [ "cfg-if", "cpufeatures", "digest", - "sha2-asm", -] - -[[package]] -name = "sha2-asm" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b845214d6175804686b2bd482bcffe96651bb2d1200742b712003504a2dac1ab" -dependencies = [ - "cc", ] [[package]] @@ -2977,12 +2975,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "sync_wrapper" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" - [[package]] name = "sync_wrapper" version = "1.0.2" @@ -3220,14 +3212,14 @@ dependencies = [ [[package]] name = "tower" -version = "0.5.1" +version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2873938d487c3cfb9aed7546dc9f2711d867c9f90c46b889989a2cb84eba6b4f" +checksum = "d039ad9159c98b70ecfd540b2573b97f7f52c3e8d9f8ad57a24b916a536975f9" dependencies = [ "futures-core", "futures-util", "pin-project-lite", - "sync_wrapper 0.1.2", + "sync_wrapper", "tokio", "tower-layer", "tower-service", diff --git a/hiqlite/Cargo.toml b/hiqlite/Cargo.toml index e4f4bd1..3432398 100644 --- a/hiqlite/Cargo.toml +++ b/hiqlite/Cargo.toml @@ -4,7 +4,7 @@ version.workspace = true edition.workspace = true authors.workspace = true license.workspace = true -rust-version = "1.80.0" +rust-version = "1.82.0" categories = ["database", "caching"] keywords = ["database", "sql", "sqlite", "raft", "cache"] description = "Hiqlite - highly-available, embeddable, raft-based SQLite + cache" diff --git a/hiqlite/src/client/mgmt.rs b/hiqlite/src/client/mgmt.rs index 09d96c1..6bef505 100644 --- a/hiqlite/src/client/mgmt.rs +++ b/hiqlite/src/client/mgmt.rs @@ -195,6 +195,7 @@ impl Client { #[cfg(feature = "sqlite")] tx_client_db: &flume::Sender, tx_shutdown: &Option>, ) -> Result<(), Error> { + #[allow(unused_mut)] let mut is_single_instance: bool; #[cfg(feature = "cache")] diff --git a/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css.br b/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css.br deleted file mode 100644 index af625d9..0000000 Binary files a/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css.gz b/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css.gz deleted file mode 100644 index 50c5753..0000000 Binary files a/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css b/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css similarity index 57% rename from hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css rename to hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css index 2f1756c..8f60702 100644 --- a/hiqlite/static/_app/immutable/assets/2.DlvN4sRK.css +++ b/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css @@ -1 +1 @@ -a.svelte-a0xtvp,a.svelte-a0xtvp:link,a.svelte-a0xtvp:visited{color:hsl(var(--text));transition:all .15s ease-in-out}.hideUnderline.svelte-a0xtvp{text-decoration:none}a.svelte-a0xtvp:hover,a.svelte-a0xtvp:active{color:hsl(var(--action));text-decoration:underline}a[aria-current=page].svelte-a0xtvp,a[aria-current=step].svelte-a0xtvp{text-decoration:underline}.popover.svelte-1au8ouo{position:absolute;background:hsla(var(--bg),.98);margin:0;padding:0;border:1px solid hsl(var(--bg-high));border-radius:var(--border-radius);box-shadow:1px 1px 1px hsl(var(--bg-high))}.inner.svelte-1au8ouo{color:hsl(var(--text))}.popover.svelte-1au8ouo:popover-open{animation:var(--animate-zoom)}input.svelte-13lxusw{padding-right:1.9rem;border:none;margin:0}datalist.svelte-13lxusw{display:block}.btnDelete.svelte-13lxusw{top:-.9rem;right:.3rem;opacity:.8}.btnSearch.svelte-13lxusw{margin:2px 2px 2px 0;padding:0 .25rem;background:hsl(var(--bg-high));border-left:1px solid hsl(var(--bg-high));border-radius:0 2px 2px 0}.magnify.svelte-13lxusw{transform:translateY(.25rem)}.container.svelte-13lxusw{border-radius:var(--border-radius);overflow:clip}.options.svelte-13lxusw{margin:2px 0 2px 2px;padding:0 .25rem;background:hsl(var(--bg-high));border-right:1px solid hsl(var(--bg-high));border-radius:2px 0 0 2px}select.svelte-1j5gmms{padding:2px 1px 5px 9px;color:hsl(var(--text));font-size:.95rem;cursor:pointer;border-radius:var(--border-radius);border:1px solid hsl(var(--bg-high));outline:none;background:transparent;transition:all 125ms ease-in-out}select.svelte-1j5gmms:hover{color:hsl(var(--action));border:1px solid hsl(var(--action))}.borderless.svelte-1j5gmms,.borderless.svelte-1j5gmms:hover{border:none}.btn.svelte-1j5gmms{display:inline-flex;gap:.25rem;color:hsl(var(--text));border-radius:var(--border-radius);font-weight:400;font-size:.9rem;transition:all .15s}.btn[data-border=true].svelte-1j5gmms{padding:.15rem .33rem .3rem .5rem;border:1px solid hsl(var(--bg-high))}.btn.svelte-1j5gmms:hover{color:hsl(var(--action))}.chevron.svelte-1j5gmms{transform:rotate(90deg)}.opt.svelte-1j5gmms{color:hsl(var(--text));cursor:pointer}.optPopover.svelte-1j5gmms{text-align:left;padding:.1rem .5rem;color:hsl(var(--text));font-size:.95rem;font-weight:400;cursor:pointer;transition:all .15s}.optPopover[aria-selected=true].svelte-1j5gmms{color:hsl(var(--text-high))}.optPopover.svelte-1j5gmms:hover{color:hsl(var(--action))}.optPopover[data-focus=true].svelte-1j5gmms{color:hsl(var(--action));background:hsl(var(--bg-high))}.popover.svelte-1j5gmms{display:flex;flex-direction:column;align-items:flex-start}.popoverOptions.svelte-1j5gmms{height:100%;display:flex;flex-direction:column;overflow-y:auto}nav.svelte-1bye1t3{display:flex;margin:0 .8rem 0 .25rem}ul.svelte-1bye1t3{list-style-type:none;margin:0;padding:0;display:inline-flex}li[aria-current=step].svelte-1bye1t3 div:where(.svelte-1bye1t3){color:hsla(var(--action),.65);font-weight:700;text-decoration:underline}.chunkSize.svelte-1bye1t3{margin-left:10px}.container.svelte-1bye1t3{display:flex;align-items:center;padding:.25rem .5rem}.iconLeft.svelte-1bye1t3,.iconRight.svelte-1bye1t3{position:relative;bottom:-.1rem;color:hsla(var(--action),.7)}.iconLeft[data-disabled=true].svelte-1bye1t3,.iconRight[data-disabled=true].svelte-1bye1t3{color:hsl(var(--bg-high))}.iconLeft.svelte-1bye1t3{margin:-5px 0 0;transform:rotate(180deg)}.iconRight.svelte-1bye1t3{margin:0 0 -3px -8px}.link.svelte-1bye1t3{width:1.2rem;margin:2px;padding:2px;cursor:pointer;color:hsla(var(--action),.5)}.total.svelte-1bye1t3{transform:translateY(.05rem);text-wrap:nowrap}label.svelte-1supmpl{display:grid;grid-template-columns:1rem auto;gap:.66rem}input[type=checkbox].svelte-1supmpl{display:grid;place-content:center;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.25rem;height:1.25rem;background:hsl(var(--bg));border:.15rem solid hsl(var(--bg-high));border-radius:.2rem;transform:translateY(.1rem);cursor:pointer}input[type=checkbox].svelte-1supmpl:before{content:"";width:.8rem;height:.8rem;border-radius:2px;transform:scale(0);background:hsl(var(--action));transition:.15s transform ease-in-out;transform-origin:bottom left;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}input[type=checkbox].svelte-1supmpl:checked:before{transform:scale(1)}input[type=checkbox].svelte-1supmpl:focus-visible{outline:2px solid hsl(var(--accent));outline-offset:2px}input[type=checkbox].svelte-1supmpl:disabled:before{background:hsl(var(--text))}input[type=checkbox].svelte-1supmpl:disabled{cursor:not-allowed}label.svelte-1supmpl>span:where(.svelte-1supmpl){transform:translateY(.05rem)}caption.svelte-12u4ifk{padding-right:.5rem;caption-side:bottom;text-align:left;border-top:1px solid hsla(var(--bg-high),.25);overflow:clip}table.svelte-12u4ifk{height:100%;display:grid;grid-template-rows:2.2rem auto 2rem;overflow-x:auto;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}thead.svelte-12u4ifk{display:block;overflow:clip}thead.svelte-12u4ifk tr:where(.svelte-12u4ifk){margin-top:-1px;background:hsl(var(--bg-high));border-radius:var(--border-radius) var(--border-radius) 0 0}tbody.svelte-12u4ifk{display:block;overflow-y:auto}tbody tr.svelte-12u4ifk:last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}tr.svelte-12u4ifk{margin:1px 0;display:grid;overflow:clip}tbody tr.svelte-12u4ifk{height:2.1rem;transition:background .15s}td.svelte-12u4ifk,th.svelte-12u4ifk{text-align:left;padding:.1rem .5rem}th.svelte-12u4ifk{position:relative;bottom:-.15rem;display:flex;color:hsl(var(--text-high));font-weight:400}th.svelte-12u4ifk .label:where(.svelte-12u4ifk){overflow-x:scroll}tbody td.svelte-12u4ifk{text-wrap:wrap;word-wrap:break-word;vertical-align:text-top;overflow-x:scroll;overflow-y:clip}tbody tr.svelte-12u4ifk:nth-child(2n){background:hsla(var(--bg-high),.2)}tbody tr.svelte-12u4ifk:hover{background:hsla(var(--accent),.33)}.btnOptions.svelte-12u4ifk{color:hsl(var(--text));transition:color .15s}.btnOptions.svelte-12u4ifk:hover{color:hsl(var(--action))}.btnSelect.svelte-12u4ifk{color:hsl(var(--action));transition:color .15s}.btnSelect[data-disabled=true].svelte-12u4ifk{color:hsla(var(--text),.5)}.caption.svelte-12u4ifk{transform:translateY(-.3rem)}.checkbox.svelte-12u4ifk{transform:translateY(.22rem)}.checkIcon.svelte-12u4ifk{position:relative;bottom:-.1rem}.columnsSelect.svelte-12u4ifk{padding:.5rem}.columnSelect.svelte-12u4ifk{height:1.4rem;overflow:clip}.copyToClip.svelte-12u4ifk{position:relative;bottom:.3rem;color:hsl(var(--text));font-size:1rem;font-weight:400;cursor:copy;overflow:scroll}.eye.svelte-12u4ifk{margin:0 .5rem;color:hsla(var(--text),.5);transition:all .15s}.eye.svelte-12u4ifk:hover{color:hsl(var(--action))}.headerCheckbox.svelte-12u4ifk{display:grid;grid-template-columns:1.3rem 1rem;transform:translateY(.06rem)}.headerOptions.svelte-12u4ifk{height:100%;padding:0;justify-content:center;color:hsla(var(--text),.66);transform:translateY(-.1rem)}.highlight.svelte-12u4ifk{background:hsla(var(--accent),.25)!important}.iconOrder.svelte-12u4ifk{position:relative;bottom:.15rem;color:hsla(var(--text),.7);transition:all .15s}.iconOrder.svelte-12u4ifk:hover{color:hsl(var(--action))}.nowrap.svelte-12u4ifk{text-wrap:nowrap}.linkText.svelte-12u4ifk{position:relative;bottom:-.05rem}.muted.svelte-12u4ifk{color:hsla(var(--text),.7)}.onclick.svelte-12u4ifk{position:relative;top:-.5rem;color:hsl(var(--text));font-weight:400;transition:color .15s}.onclick.svelte-12u4ifk:hover{color:hsl(var(--action))}.options.svelte-12u4ifk{margin:0;padding:0;text-align:center}.orderText.svelte-12u4ifk{position:relative;top:-.3rem}.rawText.svelte-12u4ifk{position:relative;bottom:-.15rem}.sizeable.svelte-12u4ifk{left:4px;height:100%;width:8px;background:transparent;cursor:col-resize;transition:all .15s;border-right:1px solid hsla(var(--text),.15)}.sizeable.svelte-12u4ifk:hover{background:hsla(var(--text),.33)}#query-results.svelte-1o8x9h5{border-top:1px solid hsla(var(--bg-high),.66)}.query.svelte-1o8x9h5{padding:.25rem .5rem;height:100%;background:hsla(var(--bg-high),.2);overflow:auto}.row.svelte-1ml8s23{display:flex}.tab.svelte-1ml8s23{padding-left:5px;padding-right:20px;color:hsl(var(--action));background:hsl(var(--bg-high));border-bottom:2px solid hsl(var(--bg-high));text-align:center;cursor:pointer}.tab.svelte-1ml8s23:hover{border-bottom:2px solid hsl(var(--action))}.selected.svelte-1ml8s23{background:hsl(var(--action));color:hsl(var(--bg));border-bottom:2px solid hsl(var(--action));cursor:text}.close.svelte-1ml8s23{position:relative}.close-inner.svelte-1ml8s23{position:absolute;top:0;right:0;cursor:pointer}#tabs.svelte-ko98zn{display:flex;align-items:center;flex-wrap:wrap;background:hsl(var(--bg-high))}.ctrl.svelte-ko98zn{cursor:pointer}.add-new.svelte-ko98zn{margin-bottom:-4px;color:hsl(var(--action))} +a.svelte-a0xtvp,a.svelte-a0xtvp:link,a.svelte-a0xtvp:visited{color:hsl(var(--text));transition:all .15s ease-in-out}.hideUnderline.svelte-a0xtvp{text-decoration:none}a.svelte-a0xtvp:hover,a.svelte-a0xtvp:active{color:hsl(var(--action));text-decoration:underline}a[aria-current=page].svelte-a0xtvp,a[aria-current=step].svelte-a0xtvp{text-decoration:underline}.popover.svelte-1au8ouo{position:absolute;background:hsla(var(--bg),.98);margin:0;padding:0;border:1px solid hsl(var(--bg-high));border-radius:var(--border-radius);box-shadow:1px 1px 1px hsl(var(--bg-high))}.inner.svelte-1au8ouo{color:hsl(var(--text))}.popover.svelte-1au8ouo:popover-open{animation:var(--animate-zoom)}input.svelte-13lxusw{padding-right:1.9rem;border:none;margin:0}datalist.svelte-13lxusw{display:block}.btnDelete.svelte-13lxusw{top:-.9rem;right:.3rem;opacity:.8}.btnSearch.svelte-13lxusw{margin:2px 2px 2px 0;padding:0 .25rem;background:hsl(var(--bg-high));border-left:1px solid hsl(var(--bg-high));border-radius:0 2px 2px 0}.magnify.svelte-13lxusw{transform:translateY(.25rem)}.container.svelte-13lxusw{border-radius:var(--border-radius);overflow:clip}.options.svelte-13lxusw{margin:2px 0 2px 2px;padding:0 .25rem;background:hsl(var(--bg-high));border-right:1px solid hsl(var(--bg-high));border-radius:2px 0 0 2px}select.svelte-1j5gmms{padding:2px 1px 5px 9px;color:hsl(var(--text));font-size:.95rem;cursor:pointer;border-radius:var(--border-radius);border:1px solid hsl(var(--bg-high));outline:none;background:transparent;transition:all 125ms ease-in-out}select.svelte-1j5gmms:hover{color:hsl(var(--action));border:1px solid hsl(var(--action))}.borderless.svelte-1j5gmms,.borderless.svelte-1j5gmms:hover{border:none}.btn.svelte-1j5gmms{display:inline-flex;gap:.25rem;color:hsl(var(--text));border-radius:var(--border-radius);font-weight:400;font-size:.9rem;transition:all .15s}.btn[data-border=true].svelte-1j5gmms{padding:.15rem .33rem .3rem .5rem;border:1px solid hsl(var(--bg-high))}.btn.svelte-1j5gmms:hover{color:hsl(var(--action))}.chevron.svelte-1j5gmms{transform:rotate(90deg)}.opt.svelte-1j5gmms{color:hsl(var(--text));cursor:pointer}.optPopover.svelte-1j5gmms{text-align:left;padding:.1rem .5rem;color:hsl(var(--text));font-size:.95rem;font-weight:400;cursor:pointer;transition:all .15s}.optPopover[aria-selected=true].svelte-1j5gmms{color:hsl(var(--text-high))}.optPopover.svelte-1j5gmms:hover{color:hsl(var(--action))}.optPopover[data-focus=true].svelte-1j5gmms{color:hsl(var(--action));background:hsl(var(--bg-high))}.popover.svelte-1j5gmms{display:flex;flex-direction:column;align-items:flex-start}.popoverOptions.svelte-1j5gmms{height:100%;display:flex;flex-direction:column;overflow-y:auto}nav.svelte-1bye1t3{display:flex;margin:0 .8rem 0 .25rem}ul.svelte-1bye1t3{list-style-type:none;margin:0;padding:0;display:inline-flex}li[aria-current=step].svelte-1bye1t3 div:where(.svelte-1bye1t3){color:hsla(var(--action),.65);font-weight:700;text-decoration:underline}.chunkSize.svelte-1bye1t3{margin-left:10px}.container.svelte-1bye1t3{display:flex;align-items:center;padding:.25rem .5rem}.iconLeft.svelte-1bye1t3,.iconRight.svelte-1bye1t3{position:relative;bottom:-.1rem;color:hsla(var(--action),.7)}.iconLeft[data-disabled=true].svelte-1bye1t3,.iconRight[data-disabled=true].svelte-1bye1t3{color:hsl(var(--bg-high))}.iconLeft.svelte-1bye1t3{margin:-5px 0 0;transform:rotate(180deg)}.iconRight.svelte-1bye1t3{margin:0 0 -3px -8px}.link.svelte-1bye1t3{width:1.2rem;margin:2px;padding:2px;cursor:pointer;color:hsla(var(--action),.5)}.total.svelte-1bye1t3{transform:translateY(.05rem);text-wrap:nowrap}label.svelte-1supmpl{display:grid;grid-template-columns:1rem auto;gap:.66rem}input[type=checkbox].svelte-1supmpl{display:grid;place-content:center;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;width:1.25rem;height:1.25rem;background:hsl(var(--bg));border:.15rem solid hsl(var(--bg-high));border-radius:.2rem;transform:translateY(.1rem);cursor:pointer}input[type=checkbox].svelte-1supmpl:before{content:"";width:.8rem;height:.8rem;border-radius:2px;transform:scale(0);background:hsl(var(--action));transition:.15s transform ease-in-out;transform-origin:bottom left;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}input[type=checkbox].svelte-1supmpl:checked:before{transform:scale(1)}input[type=checkbox].svelte-1supmpl:focus-visible{outline:2px solid hsl(var(--accent));outline-offset:2px}input[type=checkbox].svelte-1supmpl:disabled:before{background:hsl(var(--text))}input[type=checkbox].svelte-1supmpl:disabled{cursor:not-allowed}label.svelte-1supmpl>span:where(.svelte-1supmpl){transform:translateY(.05rem)}caption.svelte-12u4ifk{padding-right:.5rem;caption-side:bottom;text-align:left;border-top:1px solid hsla(var(--bg-high),.25);overflow:clip}table.svelte-12u4ifk{height:100%;display:grid;grid-template-rows:2.2rem auto 2rem;overflow-x:auto;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}thead.svelte-12u4ifk{display:block;overflow:clip}thead.svelte-12u4ifk tr:where(.svelte-12u4ifk){margin-top:-1px;background:hsl(var(--bg-high));border-radius:var(--border-radius) var(--border-radius) 0 0}tbody.svelte-12u4ifk{display:block;overflow-y:auto}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk):last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}tr.svelte-12u4ifk{margin:1px 0;display:grid;overflow:clip}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk){height:2.1rem;transition:background .15s}td.svelte-12u4ifk,th.svelte-12u4ifk{text-align:left;padding:.1rem .5rem}th.svelte-12u4ifk{position:relative;bottom:-.15rem;display:flex;color:hsl(var(--text-high));font-weight:400}th.svelte-12u4ifk .label:where(.svelte-12u4ifk){overflow-x:scroll}tbody.svelte-12u4ifk td:where(.svelte-12u4ifk){text-wrap:wrap;word-wrap:break-word;vertical-align:text-top;overflow-x:scroll;overflow-y:clip}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk):nth-child(2n){background:hsla(var(--bg-high),.2)}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk):hover{background:hsla(var(--accent),.33)}.btnOptions.svelte-12u4ifk{color:hsl(var(--text));transition:color .15s}.btnOptions.svelte-12u4ifk:hover{color:hsl(var(--action))}.btnSelect.svelte-12u4ifk{color:hsl(var(--action));transition:color .15s}.btnSelect[data-disabled=true].svelte-12u4ifk{color:hsla(var(--text),.5)}.caption.svelte-12u4ifk{transform:translateY(-.3rem)}.checkbox.svelte-12u4ifk{transform:translateY(.22rem)}.checkIcon.svelte-12u4ifk{position:relative;bottom:-.1rem}.columnsSelect.svelte-12u4ifk{padding:.5rem}.columnSelect.svelte-12u4ifk{height:1.4rem;overflow:clip}.copyToClip.svelte-12u4ifk{position:relative;bottom:.3rem;color:hsl(var(--text));font-size:1rem;font-weight:400;cursor:copy;overflow:scroll}.eye.svelte-12u4ifk{margin:0 .5rem;color:hsla(var(--text),.5);transition:all .15s}.eye.svelte-12u4ifk:hover{color:hsl(var(--action))}.headerCheckbox.svelte-12u4ifk{display:grid;grid-template-columns:1.3rem 1rem;transform:translateY(.06rem)}.headerOptions.svelte-12u4ifk{height:100%;padding:0;justify-content:center;color:hsla(var(--text),.66);transform:translateY(-.1rem)}.highlight.svelte-12u4ifk{background:hsla(var(--accent),.25)!important}.iconOrder.svelte-12u4ifk{position:relative;bottom:.15rem;color:hsla(var(--text),.7);transition:all .15s}.iconOrder.svelte-12u4ifk:hover{color:hsl(var(--action))}.nowrap.svelte-12u4ifk{text-wrap:nowrap}.linkText.svelte-12u4ifk{position:relative;bottom:-.05rem}.muted.svelte-12u4ifk{color:hsla(var(--text),.7)}.onclick.svelte-12u4ifk{position:relative;top:-.5rem;color:hsl(var(--text));font-weight:400;transition:color .15s}.onclick.svelte-12u4ifk:hover{color:hsl(var(--action))}.options.svelte-12u4ifk{margin:0;padding:0;text-align:center}.orderText.svelte-12u4ifk{position:relative;top:-.3rem}.rawText.svelte-12u4ifk{position:relative;bottom:-.15rem}.sizeable.svelte-12u4ifk{left:4px;height:100%;width:8px;background:transparent;cursor:col-resize;transition:all .15s;border-right:1px solid hsla(var(--text),.15)}.sizeable.svelte-12u4ifk:hover{background:hsla(var(--text),.33)}#query-results.svelte-1o8x9h5{border-top:1px solid hsla(var(--bg-high),.66)}.query.svelte-1o8x9h5{padding:.25rem .5rem;height:100%;background:hsla(var(--bg-high),.2);overflow:auto}.row.svelte-1ml8s23{display:flex}.tab.svelte-1ml8s23{padding-left:5px;padding-right:20px;color:hsl(var(--action));background:hsl(var(--bg-high));border-bottom:2px solid hsl(var(--bg-high));text-align:center;cursor:pointer}.tab.svelte-1ml8s23:hover{border-bottom:2px solid hsl(var(--action))}.selected.svelte-1ml8s23{background:hsl(var(--action));color:hsl(var(--bg));border-bottom:2px solid hsl(var(--action));cursor:text}.close.svelte-1ml8s23{position:relative}.close-inner.svelte-1ml8s23{position:absolute;top:0;right:0;cursor:pointer}#tabs.svelte-ko98zn{display:flex;align-items:center;flex-wrap:wrap;background:hsl(var(--bg-high))}.ctrl.svelte-ko98zn{cursor:pointer}.add-new.svelte-ko98zn{margin-bottom:-4px;color:hsl(var(--action))} diff --git a/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css.br b/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css.br new file mode 100644 index 0000000..4000ba4 Binary files /dev/null and b/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css.br differ diff --git a/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css.gz b/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css.gz new file mode 100644 index 0000000..1d3db43 Binary files /dev/null and b/hiqlite/static/_app/immutable/assets/2.Dvor9Abp.css.gz differ diff --git a/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css b/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css similarity index 57% rename from hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css rename to hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css index ab6356d..b252d65 100644 --- a/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css +++ b/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css @@ -1 +1 @@ -a.svelte-a0xtvp,a.svelte-a0xtvp:link,a.svelte-a0xtvp:visited{color:hsl(var(--text));transition:all .15s ease-in-out}.hideUnderline.svelte-a0xtvp{text-decoration:none}a.svelte-a0xtvp:hover,a.svelte-a0xtvp:active{color:hsl(var(--action));text-decoration:underline}a[aria-current=page].svelte-a0xtvp,a[aria-current=step].svelte-a0xtvp{text-decoration:underline}.popover.svelte-1au8ouo{position:absolute;background:hsla(var(--bg),.98);margin:0;padding:0;border:1px solid hsl(var(--bg-high));border-radius:var(--border-radius);box-shadow:1px 1px 1px hsl(var(--bg-high))}.inner.svelte-1au8ouo{color:hsl(var(--text))}.popover.svelte-1au8ouo:popover-open{animation:var(--animate-zoom)}input.svelte-13lxusw{padding-right:1.9rem;border:none;margin:0}datalist.svelte-13lxusw{display:block}.btnDelete.svelte-13lxusw{top:-.9rem;right:.3rem;opacity:.8}.btnSearch.svelte-13lxusw{margin:2px 2px 2px 0;padding:0 .25rem;background:hsl(var(--bg-high));border-left:1px solid hsl(var(--bg-high));border-radius:0 2px 2px 0}.magnify.svelte-13lxusw{transform:translateY(.25rem)}.container.svelte-13lxusw{border-radius:var(--border-radius);overflow:clip}.options.svelte-13lxusw{margin:2px 0 2px 2px;padding:0 .25rem;background:hsl(var(--bg-high));border-right:1px solid hsl(var(--bg-high));border-radius:2px 0 0 2px}select.svelte-1j5gmms{padding:2px 1px 5px 9px;color:hsl(var(--text));font-size:.95rem;cursor:pointer;border-radius:var(--border-radius);border:1px solid hsl(var(--bg-high));outline:none;background:transparent;transition:all 125ms ease-in-out}select.svelte-1j5gmms:hover{color:hsl(var(--action));border:1px solid hsl(var(--action))}.borderless.svelte-1j5gmms,.borderless.svelte-1j5gmms:hover{border:none}.btn.svelte-1j5gmms{display:inline-flex;gap:.25rem;color:hsl(var(--text));border-radius:var(--border-radius);font-weight:400;font-size:.9rem;transition:all .15s}.btn[data-border=true].svelte-1j5gmms{padding:.15rem .33rem .3rem .5rem;border:1px solid hsl(var(--bg-high))}.btn.svelte-1j5gmms:hover{color:hsl(var(--action))}.chevron.svelte-1j5gmms{transform:rotate(90deg)}.opt.svelte-1j5gmms{color:hsl(var(--text));cursor:pointer}.optPopover.svelte-1j5gmms{text-align:left;padding:.1rem .5rem;color:hsl(var(--text));font-size:.95rem;font-weight:400;cursor:pointer;transition:all .15s}.optPopover[aria-selected=true].svelte-1j5gmms{color:hsl(var(--text-high))}.optPopover.svelte-1j5gmms:hover{color:hsl(var(--action))}.optPopover[data-focus=true].svelte-1j5gmms{color:hsl(var(--action));background:hsl(var(--bg-high))}.popover.svelte-1j5gmms{display:flex;flex-direction:column;align-items:flex-start}.popoverOptions.svelte-1j5gmms{height:100%;display:flex;flex-direction:column;overflow-y:auto}nav.svelte-1bye1t3{display:flex;margin:0 .8rem 0 .25rem}ul.svelte-1bye1t3{list-style-type:none;margin:0;padding:0;display:inline-flex}li[aria-current=step].svelte-1bye1t3 div:where(.svelte-1bye1t3){color:hsla(var(--action),.65);font-weight:700;text-decoration:underline}.chunkSize.svelte-1bye1t3{margin-left:10px}.container.svelte-1bye1t3{display:flex;align-items:center;padding:.25rem .5rem}.iconLeft.svelte-1bye1t3,.iconRight.svelte-1bye1t3{position:relative;bottom:-.1rem;color:hsla(var(--action),.7)}.iconLeft[data-disabled=true].svelte-1bye1t3,.iconRight[data-disabled=true].svelte-1bye1t3{color:hsl(var(--bg-high))}.iconLeft.svelte-1bye1t3{margin:-5px 0 0;transform:rotate(180deg)}.iconRight.svelte-1bye1t3{margin:0 0 -3px -8px}.link.svelte-1bye1t3{width:1.2rem;margin:2px;padding:2px;cursor:pointer;color:hsla(var(--action),.5)}.total.svelte-1bye1t3{transform:translateY(.05rem);text-wrap:nowrap}label.svelte-1supmpl{display:grid;grid-template-columns:1rem auto;gap:.66rem}input[type=checkbox].svelte-1supmpl{display:grid;place-content:center;margin:0;appearance:none;width:1.25rem;height:1.25rem;background:hsl(var(--bg));border:.15rem solid hsl(var(--bg-high));border-radius:.2rem;transform:translateY(.1rem);cursor:pointer}input[type=checkbox].svelte-1supmpl:before{content:"";width:.8rem;height:.8rem;border-radius:2px;transform:scale(0);background:hsl(var(--action));transition:.15s transform ease-in-out;transform-origin:bottom left;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}input[type=checkbox].svelte-1supmpl:checked:before{transform:scale(1)}input[type=checkbox].svelte-1supmpl:focus-visible{outline:2px solid hsl(var(--accent));outline-offset:2px}input[type=checkbox].svelte-1supmpl:disabled:before{background:hsl(var(--text))}input[type=checkbox].svelte-1supmpl:disabled{cursor:not-allowed}label.svelte-1supmpl>span:where(.svelte-1supmpl){transform:translateY(.05rem)}caption.svelte-12u4ifk{padding-right:.5rem;caption-side:bottom;text-align:left;border-top:1px solid hsla(var(--bg-high),.25);overflow:clip}table.svelte-12u4ifk{height:100%;display:grid;grid-template-rows:2.2rem auto 2rem;overflow-x:auto;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}thead.svelte-12u4ifk{display:block;overflow:clip}thead.svelte-12u4ifk tr:where(.svelte-12u4ifk){margin-top:-1px;background:hsl(var(--bg-high));border-radius:var(--border-radius) var(--border-radius) 0 0}tbody.svelte-12u4ifk{display:block;overflow-y:auto}tbody tr.svelte-12u4ifk:last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}tr.svelte-12u4ifk{margin:1px 0;display:grid;overflow:clip}tbody tr.svelte-12u4ifk{height:2.1rem;transition:background .15s}td.svelte-12u4ifk,th.svelte-12u4ifk{text-align:left;padding:.1rem .5rem}th.svelte-12u4ifk{position:relative;bottom:-.15rem;display:flex;color:hsl(var(--text-high));font-weight:400}th.svelte-12u4ifk .label:where(.svelte-12u4ifk){overflow-x:scroll}tbody td.svelte-12u4ifk{text-wrap:wrap;word-wrap:break-word;vertical-align:text-top;overflow-x:scroll;overflow-y:clip}tbody tr.svelte-12u4ifk:nth-child(2n){background:hsla(var(--bg-high),.2)}tbody tr.svelte-12u4ifk:hover{background:hsla(var(--accent),.33)}.btnOptions.svelte-12u4ifk{color:hsl(var(--text));transition:color .15s}.btnOptions.svelte-12u4ifk:hover{color:hsl(var(--action))}.btnSelect.svelte-12u4ifk{color:hsl(var(--action));transition:color .15s}.btnSelect[data-disabled=true].svelte-12u4ifk{color:hsla(var(--text),.5)}.caption.svelte-12u4ifk{transform:translateY(-.3rem)}.checkbox.svelte-12u4ifk{transform:translateY(.22rem)}.checkIcon.svelte-12u4ifk{position:relative;bottom:-.1rem}.columnsSelect.svelte-12u4ifk{padding:.5rem}.columnSelect.svelte-12u4ifk{height:1.4rem;overflow:clip}.copyToClip.svelte-12u4ifk{position:relative;bottom:.3rem;color:hsl(var(--text));font-size:1rem;font-weight:400;cursor:copy;overflow:scroll}.eye.svelte-12u4ifk{margin:0 .5rem;color:hsla(var(--text),.5);transition:all .15s}.eye.svelte-12u4ifk:hover{color:hsl(var(--action))}.headerCheckbox.svelte-12u4ifk{display:grid;grid-template-columns:1.3rem 1rem;transform:translateY(.06rem)}.headerOptions.svelte-12u4ifk{height:100%;padding:0;justify-content:center;color:hsla(var(--text),.66);transform:translateY(-.1rem)}.highlight.svelte-12u4ifk{background:hsla(var(--accent),.25)!important}.iconOrder.svelte-12u4ifk{position:relative;bottom:.15rem;color:hsla(var(--text),.7);transition:all .15s}.iconOrder.svelte-12u4ifk:hover{color:hsl(var(--action))}.nowrap.svelte-12u4ifk{text-wrap:nowrap}.linkText.svelte-12u4ifk{position:relative;bottom:-.05rem}.muted.svelte-12u4ifk{color:hsla(var(--text),.7)}.onclick.svelte-12u4ifk{position:relative;top:-.5rem;color:hsl(var(--text));font-weight:400;transition:color .15s}.onclick.svelte-12u4ifk:hover{color:hsl(var(--action))}.options.svelte-12u4ifk{margin:0;padding:0;text-align:center}.orderText.svelte-12u4ifk{position:relative;top:-.3rem}.rawText.svelte-12u4ifk{position:relative;bottom:-.15rem}.sizeable.svelte-12u4ifk{left:4px;height:100%;width:8px;background:transparent;cursor:col-resize;transition:all .15s;border-right:1px solid hsla(var(--text),.15)}.sizeable.svelte-12u4ifk:hover{background:hsla(var(--text),.33)}#query-results.svelte-1o8x9h5{border-top:1px solid hsla(var(--bg-high),.66)}.query.svelte-1o8x9h5{padding:.25rem .5rem;height:100%;background:hsla(var(--bg-high),.2);overflow:auto}.row.svelte-1ml8s23{display:flex}.tab.svelte-1ml8s23{padding-left:5px;padding-right:20px;color:hsl(var(--action));background:hsl(var(--bg-high));border-bottom:2px solid hsl(var(--bg-high));text-align:center;cursor:pointer}.tab.svelte-1ml8s23:hover{border-bottom:2px solid hsl(var(--action))}.selected.svelte-1ml8s23{background:hsl(var(--action));color:hsl(var(--bg));border-bottom:2px solid hsl(var(--action));cursor:text}.close.svelte-1ml8s23{position:relative}.close-inner.svelte-1ml8s23{position:absolute;top:0;right:0;cursor:pointer}#tabs.svelte-ko98zn{display:flex;align-items:center;flex-wrap:wrap;background:hsl(var(--bg-high))}.ctrl.svelte-ko98zn{cursor:pointer}.add-new.svelte-ko98zn{margin-bottom:-4px;color:hsl(var(--action))} +a.svelte-a0xtvp,a.svelte-a0xtvp:link,a.svelte-a0xtvp:visited{color:hsl(var(--text));transition:all .15s ease-in-out}.hideUnderline.svelte-a0xtvp{text-decoration:none}a.svelte-a0xtvp:hover,a.svelte-a0xtvp:active{color:hsl(var(--action));text-decoration:underline}a[aria-current=page].svelte-a0xtvp,a[aria-current=step].svelte-a0xtvp{text-decoration:underline}.popover.svelte-1au8ouo{position:absolute;background:hsla(var(--bg),.98);margin:0;padding:0;border:1px solid hsl(var(--bg-high));border-radius:var(--border-radius);box-shadow:1px 1px 1px hsl(var(--bg-high))}.inner.svelte-1au8ouo{color:hsl(var(--text))}.popover.svelte-1au8ouo:popover-open{animation:var(--animate-zoom)}input.svelte-13lxusw{padding-right:1.9rem;border:none;margin:0}datalist.svelte-13lxusw{display:block}.btnDelete.svelte-13lxusw{top:-.9rem;right:.3rem;opacity:.8}.btnSearch.svelte-13lxusw{margin:2px 2px 2px 0;padding:0 .25rem;background:hsl(var(--bg-high));border-left:1px solid hsl(var(--bg-high));border-radius:0 2px 2px 0}.magnify.svelte-13lxusw{transform:translateY(.25rem)}.container.svelte-13lxusw{border-radius:var(--border-radius);overflow:clip}.options.svelte-13lxusw{margin:2px 0 2px 2px;padding:0 .25rem;background:hsl(var(--bg-high));border-right:1px solid hsl(var(--bg-high));border-radius:2px 0 0 2px}select.svelte-1j5gmms{padding:2px 1px 5px 9px;color:hsl(var(--text));font-size:.95rem;cursor:pointer;border-radius:var(--border-radius);border:1px solid hsl(var(--bg-high));outline:none;background:transparent;transition:all 125ms ease-in-out}select.svelte-1j5gmms:hover{color:hsl(var(--action));border:1px solid hsl(var(--action))}.borderless.svelte-1j5gmms,.borderless.svelte-1j5gmms:hover{border:none}.btn.svelte-1j5gmms{display:inline-flex;gap:.25rem;color:hsl(var(--text));border-radius:var(--border-radius);font-weight:400;font-size:.9rem;transition:all .15s}.btn[data-border=true].svelte-1j5gmms{padding:.15rem .33rem .3rem .5rem;border:1px solid hsl(var(--bg-high))}.btn.svelte-1j5gmms:hover{color:hsl(var(--action))}.chevron.svelte-1j5gmms{transform:rotate(90deg)}.opt.svelte-1j5gmms{color:hsl(var(--text));cursor:pointer}.optPopover.svelte-1j5gmms{text-align:left;padding:.1rem .5rem;color:hsl(var(--text));font-size:.95rem;font-weight:400;cursor:pointer;transition:all .15s}.optPopover[aria-selected=true].svelte-1j5gmms{color:hsl(var(--text-high))}.optPopover.svelte-1j5gmms:hover{color:hsl(var(--action))}.optPopover[data-focus=true].svelte-1j5gmms{color:hsl(var(--action));background:hsl(var(--bg-high))}.popover.svelte-1j5gmms{display:flex;flex-direction:column;align-items:flex-start}.popoverOptions.svelte-1j5gmms{height:100%;display:flex;flex-direction:column;overflow-y:auto}nav.svelte-1bye1t3{display:flex;margin:0 .8rem 0 .25rem}ul.svelte-1bye1t3{list-style-type:none;margin:0;padding:0;display:inline-flex}li[aria-current=step].svelte-1bye1t3 div:where(.svelte-1bye1t3){color:hsla(var(--action),.65);font-weight:700;text-decoration:underline}.chunkSize.svelte-1bye1t3{margin-left:10px}.container.svelte-1bye1t3{display:flex;align-items:center;padding:.25rem .5rem}.iconLeft.svelte-1bye1t3,.iconRight.svelte-1bye1t3{position:relative;bottom:-.1rem;color:hsla(var(--action),.7)}.iconLeft[data-disabled=true].svelte-1bye1t3,.iconRight[data-disabled=true].svelte-1bye1t3{color:hsl(var(--bg-high))}.iconLeft.svelte-1bye1t3{margin:-5px 0 0;transform:rotate(180deg)}.iconRight.svelte-1bye1t3{margin:0 0 -3px -8px}.link.svelte-1bye1t3{width:1.2rem;margin:2px;padding:2px;cursor:pointer;color:hsla(var(--action),.5)}.total.svelte-1bye1t3{transform:translateY(.05rem);text-wrap:nowrap}label.svelte-1supmpl{display:grid;grid-template-columns:1rem auto;gap:.66rem}input[type=checkbox].svelte-1supmpl{display:grid;place-content:center;margin:0;appearance:none;width:1.25rem;height:1.25rem;background:hsl(var(--bg));border:.15rem solid hsl(var(--bg-high));border-radius:.2rem;transform:translateY(.1rem);cursor:pointer}input[type=checkbox].svelte-1supmpl:before{content:"";width:.8rem;height:.8rem;border-radius:2px;transform:scale(0);background:hsl(var(--action));transition:.15s transform ease-in-out;transform-origin:bottom left;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}input[type=checkbox].svelte-1supmpl:checked:before{transform:scale(1)}input[type=checkbox].svelte-1supmpl:focus-visible{outline:2px solid hsl(var(--accent));outline-offset:2px}input[type=checkbox].svelte-1supmpl:disabled:before{background:hsl(var(--text))}input[type=checkbox].svelte-1supmpl:disabled{cursor:not-allowed}label.svelte-1supmpl>span:where(.svelte-1supmpl){transform:translateY(.05rem)}caption.svelte-12u4ifk{padding-right:.5rem;caption-side:bottom;text-align:left;border-top:1px solid hsla(var(--bg-high),.25);overflow:clip}table.svelte-12u4ifk{height:100%;display:grid;grid-template-rows:2.2rem auto 2rem;overflow-x:auto;-webkit-border-horizontal-spacing:0;-webkit-border-vertical-spacing:0}thead.svelte-12u4ifk{display:block;overflow:clip}thead.svelte-12u4ifk tr:where(.svelte-12u4ifk){margin-top:-1px;background:hsl(var(--bg-high));border-radius:var(--border-radius) var(--border-radius) 0 0}tbody.svelte-12u4ifk{display:block;overflow-y:auto}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk):last-child{border-radius:0 0 var(--border-radius) var(--border-radius)}tr.svelte-12u4ifk{margin:1px 0;display:grid;overflow:clip}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk){height:2.1rem;transition:background .15s}td.svelte-12u4ifk,th.svelte-12u4ifk{text-align:left;padding:.1rem .5rem}th.svelte-12u4ifk{position:relative;bottom:-.15rem;display:flex;color:hsl(var(--text-high));font-weight:400}th.svelte-12u4ifk .label:where(.svelte-12u4ifk){overflow-x:scroll}tbody.svelte-12u4ifk td:where(.svelte-12u4ifk){text-wrap:wrap;word-wrap:break-word;vertical-align:text-top;overflow-x:scroll;overflow-y:clip}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk):nth-child(2n){background:hsla(var(--bg-high),.2)}tbody.svelte-12u4ifk tr:where(.svelte-12u4ifk):hover{background:hsla(var(--accent),.33)}.btnOptions.svelte-12u4ifk{color:hsl(var(--text));transition:color .15s}.btnOptions.svelte-12u4ifk:hover{color:hsl(var(--action))}.btnSelect.svelte-12u4ifk{color:hsl(var(--action));transition:color .15s}.btnSelect[data-disabled=true].svelte-12u4ifk{color:hsla(var(--text),.5)}.caption.svelte-12u4ifk{transform:translateY(-.3rem)}.checkbox.svelte-12u4ifk{transform:translateY(.22rem)}.checkIcon.svelte-12u4ifk{position:relative;bottom:-.1rem}.columnsSelect.svelte-12u4ifk{padding:.5rem}.columnSelect.svelte-12u4ifk{height:1.4rem;overflow:clip}.copyToClip.svelte-12u4ifk{position:relative;bottom:.3rem;color:hsl(var(--text));font-size:1rem;font-weight:400;cursor:copy;overflow:scroll}.eye.svelte-12u4ifk{margin:0 .5rem;color:hsla(var(--text),.5);transition:all .15s}.eye.svelte-12u4ifk:hover{color:hsl(var(--action))}.headerCheckbox.svelte-12u4ifk{display:grid;grid-template-columns:1.3rem 1rem;transform:translateY(.06rem)}.headerOptions.svelte-12u4ifk{height:100%;padding:0;justify-content:center;color:hsla(var(--text),.66);transform:translateY(-.1rem)}.highlight.svelte-12u4ifk{background:hsla(var(--accent),.25)!important}.iconOrder.svelte-12u4ifk{position:relative;bottom:.15rem;color:hsla(var(--text),.7);transition:all .15s}.iconOrder.svelte-12u4ifk:hover{color:hsl(var(--action))}.nowrap.svelte-12u4ifk{text-wrap:nowrap}.linkText.svelte-12u4ifk{position:relative;bottom:-.05rem}.muted.svelte-12u4ifk{color:hsla(var(--text),.7)}.onclick.svelte-12u4ifk{position:relative;top:-.5rem;color:hsl(var(--text));font-weight:400;transition:color .15s}.onclick.svelte-12u4ifk:hover{color:hsl(var(--action))}.options.svelte-12u4ifk{margin:0;padding:0;text-align:center}.orderText.svelte-12u4ifk{position:relative;top:-.3rem}.rawText.svelte-12u4ifk{position:relative;bottom:-.15rem}.sizeable.svelte-12u4ifk{left:4px;height:100%;width:8px;background:transparent;cursor:col-resize;transition:all .15s;border-right:1px solid hsla(var(--text),.15)}.sizeable.svelte-12u4ifk:hover{background:hsla(var(--text),.33)}#query-results.svelte-1o8x9h5{border-top:1px solid hsla(var(--bg-high),.66)}.query.svelte-1o8x9h5{padding:.25rem .5rem;height:100%;background:hsla(var(--bg-high),.2);overflow:auto}.row.svelte-1ml8s23{display:flex}.tab.svelte-1ml8s23{padding-left:5px;padding-right:20px;color:hsl(var(--action));background:hsl(var(--bg-high));border-bottom:2px solid hsl(var(--bg-high));text-align:center;cursor:pointer}.tab.svelte-1ml8s23:hover{border-bottom:2px solid hsl(var(--action))}.selected.svelte-1ml8s23{background:hsl(var(--action));color:hsl(var(--bg));border-bottom:2px solid hsl(var(--action));cursor:text}.close.svelte-1ml8s23{position:relative}.close-inner.svelte-1ml8s23{position:absolute;top:0;right:0;cursor:pointer}#tabs.svelte-ko98zn{display:flex;align-items:center;flex-wrap:wrap;background:hsl(var(--bg-high))}.ctrl.svelte-ko98zn{cursor:pointer}.add-new.svelte-ko98zn{margin-bottom:-4px;color:hsl(var(--action))} diff --git a/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css.br b/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css.br new file mode 100644 index 0000000..d490aee Binary files /dev/null and b/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css.br differ diff --git a/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css.gz b/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css.gz new file mode 100644 index 0000000..3ffcc07 Binary files /dev/null and b/hiqlite/static/_app/immutable/assets/_page.17V21Kr1.css.gz differ diff --git a/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css.br b/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css.br deleted file mode 100644 index 1d31a53..0000000 Binary files a/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css.gz b/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css.gz deleted file mode 100644 index 9fb4c68..0000000 Binary files a/hiqlite/static/_app/immutable/assets/_page.YbrcqOdT.css.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js b/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js new file mode 100644 index 0000000..892e22a --- /dev/null +++ b/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js @@ -0,0 +1,3 @@ +var Ht=t=>{throw TypeError(t)};var Oe=(t,e,r)=>e.has(t)||Ht("Cannot "+r);var S=(t,e,r)=>(Oe(t,e,"read from private field"),r?r.call(t):e.get(t)),j=(t,e,r)=>e.has(t)?Ht("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var Le,Ce,tt,et,rt,nt,at,ot,st,it,Pe,ct,je,lt,$e;import{aP as Ut,ab as Kt,ad as $,g as O,v as T,ac as Te}from"./WH8gHp3S.js";new URL("sveltekit-internal://");function Ie(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Ne(t){return t.split("%25").map(decodeURI).join("%25")}function De(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function _t({href:t}){return t.split("#")[0]}function Be(t,e,r,n=!1){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(i,s){if(s==="get"||s==="getAll"||s==="has")return u=>(r(u),i[s](u));e();const c=Reflect.get(i,s);return typeof c=="function"?c.bind(i):c}}),enumerable:!0,configurable:!0});const o=["href","pathname","search","toString","toJSON"];n&&o.push("hash");for(const i of o)Object.defineProperty(a,i,{get(){return e(),t[i]},enumerable:!0,configurable:!0});return a}const Ve="/__data.json",Fe=".html__data.json";function qe(t){return t.endsWith(".html")?t.replace(/\.html$/,Fe):t.replace(/\/$/,"")+Ve}function We(...t){let e=5381;for(const r of t)if(typeof r=="string"){let n=r.length;for(;n;)e=e*33^r.charCodeAt(--n)}else if(ArrayBuffer.isView(r)){const n=new Uint8Array(r.buffer,r.byteOffset,r.byteLength);let a=n.length;for(;a;)e=e*33^n[--a]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}function Me(t){const e=atob(t),r=new Uint8Array(e.length);for(let n=0;n((t instanceof Request?t.method:(e==null?void 0:e.method)||"GET")!=="GET"&&M.delete(xt(t)),Je(t,e));const M=new Map;function Ge(t,e){const r=xt(t,e),n=document.querySelector(r);if(n!=null&&n.textContent){let{body:a,...o}=JSON.parse(n.textContent);const i=n.getAttribute("data-ttl");return i&&M.set(r,{body:a,init:o,ttl:1e3*Number(i)}),n.getAttribute("data-b64")!==null&&(a=Me(a)),Promise.resolve(new Response(a,o))}return window.fetch(t,e)}function He(t,e,r){if(M.size>0){const n=xt(t,r),a=M.get(n);if(a){if(performance.now(){const n=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(n)return e.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(a)return e.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((i,s)=>{if(s%2){if(i.startsWith("x+"))return Lt(String.fromCharCode(parseInt(i.slice(2),16)));if(i.startsWith("u+"))return Lt(String.fromCharCode(...i.slice(2).split("-").map(d=>parseInt(d,16))));const c=Ke.exec(i),[,u,f,p,h]=c;return e.push({name:p,matcher:h,optional:!!u,rest:!!f,chained:f?s===1&&o[0]==="":!1}),f?"(.*?)":u?"([^/]*)?":"([^/]+?)"}return Lt(i)}).join("")}).join("")}/?$`),params:e}}function Xe(t){return!/^\([^)]+\)$/.test(t)}function Ye(t){return t.slice(1).split("/").filter(Xe)}function Qe(t,e,r){const n={},a=t.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;sf).join("/"),i=0),u===void 0){c.rest&&(n[c.name]="");continue}if(!c.matcher||r[c.matcher](u)){n[c.name]=u;const f=e[s+1],p=a[s+1];f&&!f.rest&&f.optional&&p&&c.chained&&(i=0),!f&&!p&&Object.keys(n).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return n}function Lt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ze({nodes:t,server_loads:e,dictionary:r,matchers:n}){const a=new Set(e);return Object.entries(r).map(([s,[c,u,f]])=>{const{pattern:p,params:h}=ze(s),d={id:s,exec:y=>{const l=p.exec(y);if(l)return Qe(l,h,n)},errors:[1,...f||[]].map(y=>t[y]),layouts:[0,...u||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[a.has(s),t[s]]}}function zt(t,e=JSON.parse){try{return e(sessionStorage[t])}catch{}}function Xt(t,e,r=JSON.stringify){const n=r(e);try{sessionStorage[t]=n}catch{}}const L=((Le=globalThis.__sveltekit_1869c4b)==null?void 0:Le.base)??"/dashboard",tr=((Ce=globalThis.__sveltekit_1869c4b)==null?void 0:Ce.assets)??L,er="1737463378256",Yt="sveltekit:snapshot",Qt="sveltekit:scroll",Zt="sveltekit:states",rr="sveltekit:pageurl",V="sveltekit:history",J="sveltekit:navigation",ut={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},G=location.origin;function te(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const r=document.getElementsByTagName("base");e=r.length?r[0].href:document.URL}return new URL(t,e)}function Ct(){return{x:pageXOffset,y:pageYOffset}}function F(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const ee={...ut,"":ut.hover};function re(t){let e=t.assignedSlot??t.parentNode;return(e==null?void 0:e.nodeType)===11&&(e=e.host),e}function ne(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=re(t)}}function Pt(t,e,r){let n;try{if(n=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),r&&n.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";n.hash=`#${s}${n.hash}`}}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,o=!n||!!a||dt(n,e,r)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(n==null?void 0:n.origin)===G&&t.hasAttribute("download");return{url:n,external:o,target:a,download:i}}function ft(t){let e=null,r=null,n=null,a=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)n===null&&(n=F(s,"preload-code")),a===null&&(a=F(s,"preload-data")),e===null&&(e=F(s,"keepfocus")),r===null&&(r=F(s,"noscroll")),o===null&&(o=F(s,"reload")),i===null&&(i=F(s,"replacestate")),s=re(s);function c(u){switch(u){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:ee[n??"off"],preload_data:ee[a??"off"],keepfocus:c(e),noscroll:c(r),reload:c(o),replace_state:c(i)}}function ae(t){const e=Ut(t);let r=!0;function n(){r=!0,e.update(i=>i)}function a(i){r=!1,e.set(i)}function o(i){let s;return e.subscribe(c=>{(s===void 0||r&&c!==s)&&i(s=c)})}return{notify:n,set:a,subscribe:o}}const oe={v:()=>{}};function nr(){const{set:t,subscribe:e}=Ut(!1);let r;async function n(){clearTimeout(r);try{const a=await fetch(`${tr}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==er;return o&&(t(!0),oe.v(),clearTimeout(r)),o}catch{return!1}}return{subscribe:e,check:n}}function dt(t,e,r){return t.origin!==G||!t.pathname.startsWith(e)?!0:r?!(t.pathname===e+"/"||t.pathname===e+"/index.html"||t.protocol==="file:"&&t.pathname.replace(/\/[^/]+\.html?$/,"")===e):!1}function se(t){const e=or(t),r=new ArrayBuffer(e.length),n=new DataView(r);for(let a=0;a>16),e+=String.fromCharCode((r&65280)>>8),e+=String.fromCharCode(r&255),r=n=0);return n===12?(r>>=4,e+=String.fromCharCode(r)):n===18&&(r>>=2,e+=String.fromCharCode((r&65280)>>8),e+=String.fromCharCode(r&255)),e}const sr=-1,ir=-2,cr=-3,lr=-4,ur=-5,fr=-6;function dr(t,e){if(typeof t=="number")return a(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const r=t,n=Array(r.length);function a(o,i=!1){if(o===sr)return;if(o===cr)return NaN;if(o===lr)return 1/0;if(o===ur)return-1/0;if(o===fr)return-0;if(i)throw new Error("Invalid input");if(o in n)return n[o];const s=r[o];if(!s||typeof s!="object")n[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],u=e==null?void 0:e[c];if(u)return n[o]=u(a(s[1]));switch(c){case"Date":n[o]=new Date(s[1]);break;case"Set":const f=new Set;n[o]=f;for(let d=1;de!=null)}class pt{constructor(e,r){this.status=e,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}}class jt{constructor(e,r){this.status=e,this.location=r}}class $t extends Error{constructor(e,r,n){super(n),this.status=e,this.text=r}}const mr="x-sveltekit-invalidated",gr="x-sveltekit-trailing-slash";function ht(t){return t instanceof pt||t instanceof $t?t.status:500}function yr(t){return t instanceof $t?t.text:"Internal Error"}let x,H,mt;const wr=Kt.toString().includes("$$")||/function \w+\(\) \{\}/.test(Kt.toString());wr?(x={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},H={current:null},mt={current:!1}):(x=new(Pe=class{constructor(){j(this,tt,$({}));j(this,et,$(null));j(this,rt,$(null));j(this,nt,$({}));j(this,at,$({id:null}));j(this,ot,$({}));j(this,st,$(-1));j(this,it,$(new URL("https://example.com")))}get data(){return O(S(this,tt))}set data(t){T(S(this,tt),t)}get form(){return O(S(this,et))}set form(t){T(S(this,et),t)}get error(){return O(S(this,rt))}set error(t){T(S(this,rt),t)}get params(){return O(S(this,nt))}set params(t){T(S(this,nt),t)}get route(){return O(S(this,at))}set route(t){T(S(this,at),t)}get state(){return O(S(this,ot))}set state(t){T(S(this,ot),t)}get status(){return O(S(this,st))}set status(t){T(S(this,st),t)}get url(){return O(S(this,it))}set url(t){T(S(this,it),t)}},tt=new WeakMap,et=new WeakMap,rt=new WeakMap,nt=new WeakMap,at=new WeakMap,ot=new WeakMap,st=new WeakMap,it=new WeakMap,Pe),H=new(je=class{constructor(){j(this,ct,$(null))}get current(){return O(S(this,ct))}set current(t){T(S(this,ct),t)}},ct=new WeakMap,je),mt=new($e=class{constructor(){j(this,lt,$(!1))}get current(){return O(S(this,lt))}set current(t){T(S(this,lt),t)}},lt=new WeakMap,$e),oe.v=()=>mt.current=!0);function vr(t){Object.assign(x,t)}const br=new Set(["icon","shortcut icon","apple-touch-icon"]),B=zt(Qt)??{},K=zt(Yt)??{},N={url:ae({}),page:ae({}),navigating:Ut(null),updated:nr()};function Ot(t){B[t]=Ct()}function kr(t,e){let r=t+1;for(;B[r];)delete B[r],r+=1;for(r=e+1;K[r];)delete K[r],r+=1}function q(t){return location.href=t.href,new Promise(()=>{})}async function ce(){if("serviceWorker"in navigator){const t=await navigator.serviceWorker.getRegistration(L||"/");t&&await t.update()}}function le(){}let gt,Tt,yt,D,It,R;const wt=[],vt=[];let C=null;const ue=new Set,Sr=new Set,z=new Set;let v={branch:[],error:null,url:null},Nt=!1,bt=!1,fe=!0,X=!1,Y=!1,de=!1,Dt=!1,pe,_,P,kt;const Q=new Set;async function Rr(t,e,r){var a,o,i,s;document.URL!==location.href&&(location.href=location.href),R=t,await((o=(a=t.hooks).init)==null?void 0:o.call(a)),gt=Ze(t),D=document.documentElement,It=e,Tt=t.nodes[0],yt=t.nodes[1],Tt(),yt(),_=(i=history.state)==null?void 0:i[V],P=(s=history.state)==null?void 0:s[J],_||(_=P=Date.now(),history.replaceState({...history.state,[V]:_,[J]:P},""));const n=B[_];n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y)),r?await jr(It,r):Lr(R.hash?xe(new URL(location.href)):location.href,{replaceState:!0}),Pr()}function Ar(){wt.length=0,Dt=!1}function he(t){vt.some(e=>e==null?void 0:e.snapshot)&&(K[t]=vt.map(e=>{var r;return(r=e==null?void 0:e.snapshot)==null?void 0:r.capture()}))}function me(t){var e;(e=K[t])==null||e.forEach((r,n)=>{var a,o;(o=(a=vt[n])==null?void 0:a.snapshot)==null||o.restore(r)})}function ge(){Ot(_),Xt(Qt,B),he(P),Xt(Yt,K)}async function Bt(t,e,r,n){return Z({type:"goto",url:te(t),keepfocus:e.keepFocus,noscroll:e.noScroll,replace_state:e.replaceState,state:e.state,redirect_count:r,nav_token:n,accept:()=>{e.invalidateAll&&(Dt=!0),e.invalidate&&e.invalidate.forEach(Cr)}})}async function Er(t){if(t.id!==(C==null?void 0:C.id)){const e={};Q.add(e),C={id:t.id,token:e,promise:be({...t,preload:e}).then(r=>(Q.delete(e),r.type==="loaded"&&r.state.error&&(C=null),r))}}return C.promise}async function Vt(t){const e=ke(t);if(!e)return;const r=gt.find(n=>n.exec(Se(e)));r&&await Promise.all([...r.layouts,r.leaf].map(n=>n==null?void 0:n[1]()))}function ye(t,e,r){var o;v=t.state;const n=document.querySelector("style[data-sveltekit]");n&&n.remove(),Object.assign(x,t.props.page),pe=new R.root({target:e,props:{...t.props,stores:N,components:vt},hydrate:r,sync:!1}),me(P);const a={from:null,to:{params:v.params,route:{id:((o=v.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};z.forEach(i=>i(a)),bt=!0}function St({url:t,params:e,branch:r,status:n,error:a,route:o,form:i}){let s="never";if(L&&(t.pathname===L||t.pathname===L+"/"))s="always";else for(const h of r)(h==null?void 0:h.slash)!==void 0&&(s=h.slash);t.pathname=Ie(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:e,branch:r,error:a,route:o},props:{constructors:hr(r).map(h=>h.node.component),page:Mt(x)}};i!==void 0&&(c.props.form=i);let u={},f=!x,p=0;for(let h=0;h(s&&(c.route=!0),l[g])}),params:new Proxy(n,{get:(l,g)=>(s&&c.params.add(g),l[g])}),data:(o==null?void 0:o.data)??null,url:Be(r,()=>{s&&(c.url=!0)},l=>{s&&c.search_params.add(l)},R.hash),async fetch(l,g){let w;l instanceof Request?(w=l.url,g={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:[...l.headers].length?l.headers:void 0,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...g}):w=l;const U=new URL(w,r);return s&&d(U.href),U.origin===r.origin&&(w=U.href.slice(r.origin.length)),bt?He(w,U.href,g):Ge(w,g)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),e()},untrack(l){s=!1;try{return l()}finally{s=!0}}};i=await u.universal.load.call(null,y)??null}return{node:u,loader:t,server:o,universal:(p=u.universal)!=null&&p.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((h=u.universal)==null?void 0:h.trailingSlash)??(o==null?void 0:o.slash)}}function we(t,e,r,n,a,o){if(Dt)return!0;if(!a)return!1;if(a.parent&&t||a.route&&e||a.url&&r)return!0;for(const i of a.search_params)if(n.has(i))return!0;for(const i of a.params)if(o[i]!==v.params[i])return!0;for(const i of a.dependencies)if(wt.some(s=>s(new URL(i))))return!0;return!1}function qt(t,e){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?e??null:null}function Ur(t,e){if(!t)return new Set(e.searchParams.keys());const r=new Set([...t.searchParams.keys(),...e.searchParams.keys()]);for(const n of r){const a=t.searchParams.getAll(n),o=e.searchParams.getAll(n);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&r.delete(n)}return r}function ve({error:t,url:e,route:r,params:n}){return{type:"loaded",state:{error:t,url:e,route:r,params:n,branch:[]},props:{page:Mt(x),constructors:[]}}}async function be({id:t,invalidating:e,url:r,params:n,route:a,preload:o}){if((C==null?void 0:C.id)===t)return Q.delete(C.token),C.promise;const{errors:i,layouts:s,leaf:c}=a,u=[...s,c];i.forEach(m=>m==null?void 0:m().catch(()=>{})),u.forEach(m=>m==null?void 0:m[1]().catch(()=>{}));let f=null;const p=v.url?t!==At(v.url):!1,h=v.route?a.id!==v.route.id:!1,d=Ur(v.url,r);let y=!1;const l=u.map((m,b)=>{var I;const A=v.branch[b],E=!!(m!=null&&m[0])&&((A==null?void 0:A.loader)!==m[1]||we(y,h,p,d,(I=A.server)==null?void 0:I.uses,n));return E&&(y=!0),E});if(l.some(Boolean)){try{f=await Ee(r,l)}catch(m){const b=await W(m,{url:r,params:n,route:{id:t}});return Q.has(o)?ve({error:b,url:r,params:n,route:a}):Rt({status:ht(m),error:b,url:r,route:a})}if(f.type==="redirect")return f}const g=f==null?void 0:f.nodes;let w=!1;const U=u.map(async(m,b)=>{var I;if(!m)return;const A=v.branch[b],E=g==null?void 0:g[b];if((!E||E.type==="skip")&&m[1]===(A==null?void 0:A.loader)&&!we(w,h,p,d,(I=A.universal)==null?void 0:I.uses,n))return A;if(w=!0,(E==null?void 0:E.type)==="error")throw E;return Ft({loader:m[1],url:r,params:n,route:a,parent:async()=>{var Gt;const Jt={};for(let Et=0;Et{});const k=[];for(let m=0;mPromise.resolve({}),server_data_node:qt(o)}),s={node:await yt(),loader:yt,universal:null,server:null,data:null};return St({url:r,params:a,branch:[i,s],status:t,error:e,route:null})}catch(i){if(i instanceof jt)return Bt(new URL(i.location,location.href),{},0);throw i}}function ke(t){let e;try{if(e=R.hooks.reroute({url:new URL(t)})??t,typeof e=="string"){const r=new URL(t);R.hash?r.hash=e:r.pathname=e,e=r}}catch{return}return e}function Wt(t,e){if(!t||dt(t,L,R.hash))return;const r=ke(t);if(!r)return;const n=Se(r);for(const a of gt){const o=a.exec(n);if(o)return{id:At(t),invalidating:e,route:a,params:De(o),url:t}}}function Se(t){return Ne(R.hash?t.hash.replace(/^#/,"").replace(/[?#].+/,""):t.pathname.slice(L.length))||"/"}function At(t){return(R.hash?t.hash.replace(/^#/,""):t.pathname)+t.search}function Re({url:t,type:e,intent:r,delta:n}){let a=!1;const o=_e(v,r,t,e);n!==void 0&&(o.navigation.delta=n);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return X||ue.forEach(s=>s(i)),a?null:o}async function Z({type:t,url:e,popped:r,keepfocus:n,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:u=le,block:f=le}){const p=Wt(e,!1),h=Re({url:e,type:t,delta:r==null?void 0:r.delta,intent:p});if(!h){f();return}const d=_,y=P;u(),X=!0,bt&&N.navigating.set(H.current=h.navigation),kt=c;let l=p&&await be(p);if(!l){if(dt(e,L,R.hash))return await q(e);l=await Ae(e,{id:null},await W(new $t(404,"Not Found",`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(p==null?void 0:p.url)||e,kt!==c)return h.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(s>=20)l=await Rt({status:500,error:await W(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return Bt(new URL(l.location,e).href,{},s+1,c),!1;else l.props.page.status>=400&&await N.updated.check()&&(await ce(),await q(e));if(Ar(),Ot(d),he(y),l.props.page.url.pathname!==e.pathname&&(e.pathname=l.props.page.url.pathname),i=r?r.state:i,!r){const k=o?0:1,m={[V]:_+=k,[J]:P+=k,[Zt]:i};(o?history.replaceState:history.pushState).call(history,m,"",e),o||kr(_,P)}if(C=null,l.props.page.state=i,bt){v=l.state,l.props.page&&(l.props.page.url=e);const k=(await Promise.all(Array.from(Sr,m=>m(h.navigation)))).filter(m=>typeof m=="function");if(k.length>0){let m=function(){k.forEach(b=>{z.delete(b)})};k.push(m),k.forEach(b=>{z.add(b)})}pe.$set(l.props),vr(l.props.page),de=!0}else ye(l,It,!1);const{activeElement:g}=document;await Te();const w=r?r.scroll:a?Ct():null;if(fe){const k=e.hash&&document.getElementById(decodeURIComponent(R.hash?e.hash.split("#")[2]??"":e.hash.slice(1)));w?scrollTo(w.x,w.y):k?k.scrollIntoView():scrollTo(0,0)}const U=document.activeElement!==g&&document.activeElement!==document.body;!n&&!U&&$r(),fe=!0,l.props.page&&Object.assign(x,l.props.page),X=!1,t==="popstate"&&me(P),h.fulfil(void 0),z.forEach(k=>k(h.navigation)),N.navigating.set(H.current=null)}async function Ae(t,e,r,n){return t.origin===G&&t.pathname===location.pathname&&!Nt?await Rt({status:n,error:r,url:t,route:e}):await q(t)}function xr(){let t;D.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{n(i,2)},20)});function e(o){o.defaultPrevented||n(o.composedPath()[0],1)}D.addEventListener("mousedown",e),D.addEventListener("touchstart",e,{passive:!0});const r=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(Vt(new URL(i.target.href)),r.unobserve(i.target))},{threshold:0});function n(o,i){const s=ne(o,D);if(!s)return;const{url:c,external:u,download:f}=Pt(s,L,R.hash);if(u||f)return;const p=ft(s),h=c&&At(v.url)===At(c);if(!p.reload&&!h)if(i<=p.preload_data){const d=Wt(c,!1);d&&Er(d)}else i<=p.preload_code&&Vt(c)}function a(){r.disconnect();for(const o of D.querySelectorAll("a")){const{url:i,external:s,download:c}=Pt(o,L,R.hash);if(s||c)continue;const u=ft(o);u.reload||(u.preload_code===ut.viewport&&r.observe(o),u.preload_code===ut.eager&&Vt(i))}}z.add(a),a()}function W(t,e){if(t instanceof pt)return t.body;const r=ht(t),n=yr(t);return R.hooks.handleError({error:t,event:e,status:r,message:n})??{message:n}}function Lr(t,e={}){return t=new URL(te(t)),t.origin!==G?Promise.reject(new Error("goto: invalid URL")):Bt(t,e,0)}function Cr(t){if(typeof t=="function")wt.push(t);else{const{href:e}=new URL(t,location.href);wt.push(r=>r.href===e)}}function Pr(){var e;history.scrollRestoration="manual",addEventListener("beforeunload",r=>{let n=!1;if(ge(),!X){const a=_e(v,void 0,null,"leave"),o={...a.navigation,cancel:()=>{n=!0,a.reject(new Error("navigation cancelled"))}};ue.forEach(i=>i(o))}n?(r.preventDefault(),r.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ge()}),(e=navigator.connection)!=null&&e.saveData||xr(),D.addEventListener("click",async r=>{if(r.button||r.which!==1||r.metaKey||r.ctrlKey||r.shiftKey||r.altKey||r.defaultPrevented)return;const n=ne(r.composedPath()[0],D);if(!n)return;const{url:a,external:o,target:i,download:s}=Pt(n,L,R.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=ft(n);if(!(n instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;const[u,f]=(R.hash?a.hash.replace(/^#/,""):a.href).split("#"),p=u===_t(location);if(o||c.reload&&(!p||!f)){Re({url:a,type:"link"})?X=!0:r.preventDefault();return}if(f!==void 0&&p){const[,h]=v.url.href.split("#");if(h===f){if(r.preventDefault(),f===""||f==="top"&&n.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const d=n.ownerDocument.getElementById(decodeURIComponent(f));d&&(d.scrollIntoView(),d.focus())}return}if(Y=!0,Ot(_),t(a),!c.replace_state)return;Y=!1}r.preventDefault(),await new Promise(h=>{requestAnimationFrame(()=>{setTimeout(h,0)}),setTimeout(h,100)}),Z({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),D.addEventListener("submit",r=>{if(r.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(r.target),a=r.submitter;if(((a==null?void 0:a.formTarget)||n.target)==="_blank"||((a==null?void 0:a.formMethod)||n.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||n.action);if(dt(o,L,!1))return;const i=r.target,s=ft(i);if(s.reload)return;r.preventDefault(),r.stopPropagation();const c=new FormData(i),u=a==null?void 0:a.getAttribute("name");u&&c.append(u,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(c).toString(),Z({type:"form",url:o,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??o.href===location.href})}),addEventListener("popstate",async r=>{var n;if((n=r.state)!=null&&n[V]){const a=r.state[V];if(kt={},a===_)return;const o=B[a],i=r.state[Zt]??{},s=new URL(r.state[rr]??location.href),c=r.state[J],u=v.url?_t(location)===_t(v.url):!1;if(c===P&&(de||u)){i!==x.state&&(x.state=i),t(s),B[_]=Ct(),o&&scrollTo(o.x,o.y),_=a;return}const f=a-_;await Z({type:"popstate",url:s,popped:{state:i,scroll:o,delta:f},accept:()=>{_=a,P=c},block:()=>{history.go(-f)},nav_token:kt})}else if(!Y){const a=new URL(location.href);t(a)}}),addEventListener("hashchange",()=>{Y?(Y=!1,history.replaceState({...history.state,[V]:++_,[J]:P},"",location.href)):R.hash&&v.url.hash===location.hash&&Z({type:"goto",url:xe(v.url)})});for(const r of document.querySelectorAll("link"))br.has(r.rel)&&(r.href=r.href);addEventListener("pageshow",r=>{r.persisted&&N.navigating.set(H.current=null)});function t(r){v.url=x.url=r,N.page.set(Mt(x)),N.page.notify()}}async function jr(t,{status:e=200,error:r,node_ids:n,params:a,route:o,data:i,form:s}){Nt=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Wt(c,!1)||{});let u,f=!0;try{const p=n.map(async(y,l)=>{const g=i[l];return g!=null&&g.uses&&(g.uses=Ue(g.uses)),Ft({loader:R.nodes[y],url:c,params:a,route:o,parent:async()=>{const w={};for(let U=0;Uy===o.id);if(d){const y=d.layouts;for(let l=0;li?"1":"0").join(""));const n=window.fetch,a=await n(r.href,{});if(!a.ok){let i;throw(o=a.headers.get("content-type"))!=null&&o.includes("application/json")?i=await a.json():a.status===404?i="Not Found":a.status===500&&(i="Internal Error"),new pt(a.status,i)}return new Promise(async i=>{var h;const s=new Map,c=a.body.getReader(),u=new TextDecoder;function f(d){return dr(d,{...R.decoders,Promise:y=>new Promise((l,g)=>{s.set(y,{fulfil:l,reject:g})})})}let p="";for(;;){const{done:d,value:y}=await c.read();if(d&&!p)break;for(p+=!y&&p?` +`:u.decode(y,{stream:!0});;){const l=p.indexOf(` +`);if(l===-1)break;const g=JSON.parse(p.slice(0,l));if(p=p.slice(l+1),g.type==="redirect")return i(g);if(g.type==="data")(h=g.nodes)==null||h.forEach(w=>{(w==null?void 0:w.type)==="data"&&(w.uses=Ue(w.uses),w.data=f(w.data))}),i(g);else if(g.type==="chunk"){const{id:w,data:U,error:k}=g,m=s.get(w);s.delete(w),k?m.reject(f(k)):m.fulfil(f(U))}}}})}function Ue(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function $r(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const e=document.body,r=e.getAttribute("tabindex");e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),r!==null?e.setAttribute("tabindex",r):e.removeAttribute("tabindex");const n=getSelection();if(n&&n.type!=="None"){const a=[];for(let o=0;o{if(n.rangeCount===a.length){for(let o=0;o{a=u,o=f});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((s=t.route)==null?void 0:s.id)??null},url:t.url},to:r&&{params:(e==null?void 0:e.params)??null,route:{id:((c=e==null?void 0:e.route)==null?void 0:c.id)??null},url:r},willUnload:!e,type:n,complete:i},fulfil:a,reject:o}}function Mt(t){return{data:t.data,error:t.error,form:t.form,params:t.params,route:t.route,state:t.state,status:t.status,url:t.url}}function xe(t){const e=new URL(t);return e.hash=decodeURIComponent(t.hash),e}export{Rr as a,x as p,N as s,mt as u}; diff --git a/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js.br b/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js.br new file mode 100644 index 0000000..39b10d0 Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js.br differ diff --git a/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js.gz b/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js.gz new file mode 100644 index 0000000..b7b898e Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/B1VMp0bd.js.gz differ diff --git a/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js b/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js new file mode 100644 index 0000000..77d48b5 --- /dev/null +++ b/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js @@ -0,0 +1 @@ +import{e as m}from"./WH8gHp3S.js";m(); diff --git a/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js.br b/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js.br new file mode 100644 index 0000000..69fabbb --- /dev/null +++ b/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js.br @@ -0,0 +1,2 @@ + €import{e as m}from"./WH8gHp3S.js";m(); + \ No newline at end of file diff --git a/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js.gz b/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js.gz new file mode 100644 index 0000000..0cac7cd Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/CZNW28Sq.js.gz differ diff --git a/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js b/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js new file mode 100644 index 0000000..455b510 --- /dev/null +++ b/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js @@ -0,0 +1 @@ +import{P as q,W as A,ae as T,a2 as N,af as B,x as L,X as U,A as Y,ag as E,B as ee,ah as ne,C as f,ai as I,aj as j,I as g,G as k,M as i,ak as y,al as te,am as re,D as F,an as x,ao as P,ap as oe,aq as ae,ar as ue,as as se,at as ie,au as ce,K as le,p as de,j as fe,d as ve}from"./WH8gHp3S.js";function pe(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const me=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function he(e){return me.includes(e)}const _e={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject"};function we(e){return e=e.toLowerCase(),_e[e]??e}const ge=["touchstart","touchmove"];function ye(e){return ge.includes(e)}function be(e,n){if(n){const t=document.body;e.autofocus=!0,q(()=>{document.activeElement===t&&e.focus()})}}let G=!1;function H(){G||(G=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var n;if(!e.defaultPrevented)for(const t of e.target.elements)(n=t.__on_r)==null||n.call(t)})},{capture:!0}))}function Le(e,n,t,a=!0){a&&t();for(var o of n)e.addEventListener(o,t);A(()=>{for(var r of n)e.removeEventListener(r,t)})}function S(e){var n=B,t=L;T(null),N(null);try{return e()}finally{T(n),N(t)}}function Ee(e,n,t,a=t){e.addEventListener(n,()=>S(t));const o=e.__on_r;o?e.__on_r=()=>{o(),a(!0)}:e.__on_r=()=>a(!0),H()}const K=new Set,O=new Set;function R(e,n,t,a){function o(r){if(a.capture||C.call(n,r),!r.cancelBubble)return S(()=>t.call(this,r))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?q(()=>{n.addEventListener(e,o,a)}):n.addEventListener(e,o,a),o}function ke(e,n,t,a,o){var r={capture:a,passive:o},u=R(e,n,t,r);(n===document.body||n===window||n===document)&&A(()=>{n.removeEventListener(e,u,r)})}function Ce(e){for(var n=0;n{throw M});throw s}}finally{e.__root=n,delete e.currentTarget,T(W),N(p)}}}let d;function Me(){d=void 0}function Te(e){let n=null,t=f;var a;if(f){for(n=i,d===void 0&&(d=y(document.head));d!==null&&(d.nodeType!==8||d.data!==I);)d=j(d);d===null?g(!1):d=k(j(d))}f||(a=document.head.appendChild(E()));try{ee(()=>e(a),ne)}finally{t&&(g(!0),d=i,k(n))}}function X(e){var n=document.createElement("template");return n.innerHTML=e,n.content}function m(e,n){var t=L;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=n)}function Ne(e,n){var t=(n&te)!==0,a=(n&re)!==0,o,r=!e.startsWith("");return()=>{if(f)return m(i,null),i;o===void 0&&(o=X(r?e:""+e),t||(o=y(o)));var u=a?document.importNode(o,!0):o.cloneNode(!0);if(t){var v=y(u),l=u.lastChild;m(v,l)}else m(u,u);return u}}function We(e,n,t="svg"){var a=!e.startsWith(""),o=`<${t}>${a?e:""+e}`,r;return()=>{if(f)return m(i,null),i;if(!r){var u=X(o),v=y(u);r=y(v)}var l=r.cloneNode(!0);return m(l,l),l}}function je(e=""){if(!f){var n=E(e+"");return m(n,n),n}var t=i;return t.nodeType!==3&&(t.before(t=E()),k(t)),m(t,t),t}function xe(){if(f)return m(i,null),i;var e=document.createDocumentFragment(),n=document.createComment(""),t=E();return e.append(n,t),m(n,t),e}function Pe(e,n){if(f){L.nodes_end=i,F();return}e!==null&&e.before(n)}let V=!0;function Se(e,n){var t=n==null?"":typeof n=="object"?n+"":n;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t==null?"":t+"")}function z(e,n){return J(e,n)}function Oe(e,n){x(),n.intro=n.intro??!1;const t=n.target,a=f,o=i;try{for(var r=y(t);r&&(r.nodeType!==8||r.data!==I);)r=j(r);if(!r)throw P;g(!0),k(r),F();const u=J(e,{...n,anchor:r});if(i===null||i.nodeType!==8||i.data!==oe)throw ae(),P;return g(!1),u}catch(u){if(u===P)return n.recover===!1&&ue(),x(),se(t),g(!1),z(e,n);throw u}finally{g(a),k(o),Me()}}const b=new Map;function J(e,{target:n,anchor:t,props:a={},events:o,context:r,intro:u=!0}){x();var v=new Set,l=p=>{for(var s=0;s{var p=t??n.appendChild(E());return le(()=>{if(r){de({});var s=ve;s.c=r}o&&(a.$$events=o),f&&m(p,null),V=u,w=e(p,a)||{},V=!0,f&&(L.nodes_end=i),r&&fe()}),()=>{var h;for(var s of v){n.removeEventListener(s,C);var c=b.get(s);--c===0?(document.removeEventListener(s,C),b.delete(s)):b.set(s,c)}O.delete(l),p!==t&&((h=p.parentNode)==null||h.removeChild(p))}});return $.set(w,W),w}let $=new WeakMap;function Ve(e,n){const t=$.get(e);return t?($.delete(e),t(n)):Promise.resolve()}const $e="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add($e);export{Pe as a,je as b,xe as c,H as d,R as e,Ce as f,be as g,Oe as h,pe as i,he as j,V as k,Ee as l,z as m,we as n,We as o,ke as p,Te as q,Le as r,Se as s,Ne as t,Ve as u,S as w}; diff --git a/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js.br b/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js.br new file mode 100644 index 0000000..64ee191 Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js.br differ diff --git a/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js.gz b/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js.gz new file mode 100644 index 0000000..411fa80 Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/DJmSGhnc.js.gz differ diff --git a/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js b/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js new file mode 100644 index 0000000..4923f92 --- /dev/null +++ b/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js @@ -0,0 +1,8 @@ +import{B as be,C as L,D as et,g as A,H as tt,F as we,G as te,I as ae,M as I,av as G,J as ye,K as ne,L as at,at as ke,x as K,aw as $e,ax as nt,as as rt,ay as it,az as xe,a8 as st,ap as ot,af as _e,Q as lt,n as Ee,aA as re,ak as ut,ag as ct,A as dt,aB as Ce,P as Le,aC as ie,aD as ft,aj as vt,aE as pt,E as Ae,R as U,z as ht,aF as gt,aG as mt,aH as bt,aI as wt,aJ as yt,N as kt,b as V,aK as $t,aL as xt,aM as _t,aN as Et,ae as qe,a2 as Me,O as Ne,aO as Ct,k as N,s as J,l as R,t as Q,p as Re,ad as W,a as Se,j as Be,v as S,i as Lt,h as Y,aP as At}from"./WH8gHp3S.js";import{d as qt,i as Mt,e as Nt,f as ze,g as Rt,n as St,j as Bt,k as zt,l as Fe,a as B,t as D,c as Ft,o as Pt}from"./DJmSGhnc.js";import{p as C,i as X,b as Pe,r as Tt,a as O}from"./UlN6PZgr.js";import"./CZNW28Sq.js";function jt(t,e){return e}function Dt(t,e,a,n){for(var r=[],i=e.length,d=0;d0&&r.length===0&&a!==null;if(f){var w=a.parentNode;rt(w),w.append(a),n.clear(),T(t,e[0].prev,e[i-1].next)}it(r,()=>{for(var g=0;g{var s=a();return dt(s)?s:s==null?[]:ke(s)});be(()=>{var s=A(y),v=s.length;if(x&&v===0)return;x=v===0;let u=!1;if(L){var k=d.data===tt;k!==(v===0)&&(d=we(),te(d),ae(!1),u=!0)}if(L){for(var l=null,p,m=0;m0&&te(we())}if(!L){var o=_e;It(s,f,d,r,e,(o.f&G)!==0,n)}i!==null&&(v===0?c?ye(c):c=ne(()=>i(d)):c!==null&&at(c,()=>{c=null})),u&&ae(!0),A(y)}),L&&(d=I)}function It(t,e,a,n,r,i,d,f){var ve,pe,he,ge;var w=(r&pt)!==0,g=(r&(ie|re))!==0,c=t.length,x=e.items,y=e.first,s=y,v,u=null,k,l=[],p=[],m,$,h,o;if(w)for(o=0;o0){var Ze=r&Ce&&c===0?a:null;if(w){for(o=0;o{var me;if(k!==void 0)for(h of k)(me=h.a)==null||me.apply()}),K.first=e.first&&e.first.e,K.last=u&&u.e}function Ut(t,e,a,n){n&ie&&$e(t.v,e),n&re?$e(t.i,a):t.i=a}function Te(t,e,a,n,r,i,d,f,w,g){var c=(w&ie)!==0,x=(w&ft)===0,y=c?x?lt(r):Ee(r):r,s=w&re?Ee(d):d,v={i:s,v:y,k:i,a:null,e:null,prev:a,next:n};try{return v.e=ne(()=>f(t,y,s),L),v.e.prev=a&&a.e,v.e.next=n&&n.e,a===null?e.first=v:(a.next=v,a.e.next=v.e),n!==null&&(n.prev=v,n.e.prev=v.e),v}finally{}}function je(t,e,a){for(var n=t.next?t.next.e.nodes_start:a,r=e?e.e.nodes_start:a,i=t.e.nodes_start;i!==n;){var d=vt(i);r.before(i),i=d}}function T(t,e,a){e===null?t.first=a:(e.next=a,e.e.next=a&&a.e),a!==null&&(a.prev=e,a.e.prev=e&&e.e)}function se(t,e,...a){var n=t,r=U,i;be(()=>{r!==(r=e())&&(i&&(xe(i),i=null),i=ne(()=>r(n,...a)))},Ae),L&&(n=I)}function De(t){var e,a,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e{if(!e){if(e=!0,t.hasAttribute("value")){var n=t.value;z(t,"value",null),t.value=n}if(t.hasAttribute("checked")){var r=t.checked;z(t,"checked",null),t.checked=r}}};t.__on_r=a,mt(a),qt()}}function Ie(t,e){e?t.hasAttribute("selected")||t.setAttribute("selected",""):t.removeAttribute("selected")}function z(t,e,a,n){var r=t.__attributes??(t.__attributes={});L&&(r[e]=t.getAttribute(e),e==="src"||e==="srcset"||e==="href"&&t.nodeName==="LINK")||r[e]!==(r[e]=a)&&(e==="style"&&"__styles"in t&&(t.__styles={}),e==="loading"&&(t[bt]=a),a==null?t.removeAttribute(e):typeof a!="string"&&Ve(t).includes(e)?t[e]=a:t.setAttribute(e,a))}function Ht(t,e,a,n,r=!1,i=!1,d=!1){var f=e||{},w=t.tagName==="OPTION";for(var g in e)g in a||(a[g]=null);a.class&&(a.class=Oe(a.class)),a.class=a.class?a.class+" "+n:n;var c=Ve(t),x=t.__attributes??(t.__attributes={});for(const l in a){let p=a[l];if(w&&l==="value"&&p==null){t.value=t.__value="",f[l]=p;continue}var y=f[l];if(p!==y){f[l]=p;var s=l[0]+l[1];if(s!=="$$"){if(s==="on"){const m={},$="$$"+l;let h=l.slice(2);var v=Bt(h);if(Mt(h)&&(h=h.slice(0,-7),m.capture=!0),!v&&y){if(p!=null)continue;t.removeEventListener(h,f[$],m),f[$]=null}if(p!=null)if(v)t[`__${h}`]=p,ze([h]);else{let o=function(b){f[l].call(this,b)};f[$]=Nt(h,t,o,m)}else v&&(t[`__${h}`]=void 0)}else if(l==="style"&&p!=null)t.style.cssText=p+"";else if(l==="autofocus")Rt(t,!!p);else if(l==="__value"||l==="value"&&p!=null)t.value=t[l]=t.__value=p;else if(l==="selected"&&w)Ie(t,p);else{var u=l;r||(u=St(u));var k=u==="defaultValue"||u==="defaultChecked";if(p==null&&!i&&!k)if(x[l]=null,u==="value"||u==="checked"){let m=t;if(u==="value"){let $=m.defaultValue;m.removeAttribute(u),m.defaultValue=$}else{let $=m.defaultChecked;m.removeAttribute(u),m.defaultChecked=$}}else t.removeAttribute(l);else k||c.includes(u)&&(i||typeof p!="string")?t[u]=p:typeof p!="function"&&(L&&(u==="src"||u==="href"||u==="srcset")||z(t,u,p))}l==="style"&&"__styles"in t&&(t.__styles={})}}}return f}var Ue=new Map;function Ve(t){var e=Ue.get(t.nodeName);if(e)return e;Ue.set(t.nodeName,e=[]);for(var a,n=t,r=Element.prototype;r!==n;){a=gt(n);for(var i in a)a[i].set&&e.push(i);n=ht(n)}return e}function Gt(t,e,a){var n=t.__className,r=Kt(e,a);L&&t.className===r?t.__className=r:(n!==r||L&&t.className!==r)&&(e==null&&!a?t.removeAttribute("class"):t.className=r,t.__className=r)}function Kt(t,e){return(t??"")+(e?" "+e:"")}function H(t,e,a){if(a){if(t.classList.contains(e))return;t.classList.add(e)}else{if(!t.classList.contains(e))return;t.classList.remove(e)}}function F(t,e,a,n){var r=t.__styles??(t.__styles={});r[e]!==a&&(r[e]=a,a==null?t.style.removeProperty(e):t.style.setProperty(e,a,""))}const Jt=()=>performance.now(),P={tick:t=>requestAnimationFrame(t),now:()=>Jt(),tasks:new Set};function We(){const t=P.now();P.tasks.forEach(e=>{e.c(t)||(P.tasks.delete(e),e.f())}),P.tasks.size!==0&&P.tick(We)}function Qt(t){let e;return P.tasks.size===0&&P.tick(We),{promise:new Promise(a=>{P.tasks.add(e={c:t,f:a})}),abort(){P.tasks.delete(e)}}}function Z(t,e){t.dispatchEvent(new CustomEvent(e))}function Yt(t){if(t==="float")return"cssFloat";if(t==="offset")return"cssOffset";if(t.startsWith("--"))return t;const e=t.split("-");return e.length===1?e[0]:e[0]+e.slice(1).map(a=>a[0].toUpperCase()+a.slice(1)).join("")}function He(t){const e={},a=t.split(";");for(const n of a){const[r,i]=n.split(":");if(!r||i===void 0)break;const d=Yt(r.trim());e[d]=i.trim()}return e}const Xt=t=>t;function oe(t,e,a,n){var r=(t&$t)!==0,i=(t&_t)!==0,d=r&&i,f=(t&Et)!==0,w=d?"both":r?"in":"out",g,c=e.inert,x=e.style.overflow,y,s;function v(){var m=_e,$=K;qe(null),Me(null);try{return g??(g=a()(e,(n==null?void 0:n())??{},{direction:w}))}finally{qe(m),Me($)}}var u={is_global:f,in(){var m;if(e.inert=c,!r){s==null||s.abort(),(m=s==null?void 0:s.reset)==null||m.call(s);return}i||(y==null||y.abort()),Z(e,"introstart"),y=le(e,v(),s,1,()=>{Z(e,"introend"),y==null||y.abort(),y=g=void 0,e.style.overflow=x})},out(m){if(!i){m==null||m(),g=void 0;return}e.inert=!0,Z(e,"outrostart"),s=le(e,v(),y,0,()=>{Z(e,"outroend"),m==null||m()})},stop:()=>{y==null||y.abort(),s==null||s.abort()}},k=K;if((k.transitions??(k.transitions=[])).push(u),r&&zt){var l=f;if(!l){for(var p=k.parent;p&&p.f&Ae;)for(;(p=p.parent)&&!(p.f&wt););l=!p||(p.f&yt)!==0}l&&kt(()=>{V(()=>u.in())})}}function le(t,e,a,n,r){var i=n===1;if(xt(e)){var d,f=!1;return Le(()=>{if(!f){var k=e({direction:i?"in":"out"});d=le(t,k,a,n,r)}}),{abort:()=>{f=!0,d==null||d.abort()},deactivate:()=>d.deactivate(),reset:()=>d.reset(),t:()=>d.t()}}if(a==null||a.deactivate(),!(e!=null&&e.duration))return r(),{abort:U,deactivate:U,reset:U,t:()=>n};const{delay:w=0,css:g,tick:c,easing:x=Xt}=e;var y=[];if(i&&a===void 0&&(c&&c(0,1),g)){var s=He(g(0,1));y.push(s,s)}var v=()=>1-n,u=t.animate(y,{duration:w});return u.onfinish=()=>{var k=(a==null?void 0:a.t())??1-n;a==null||a.abort();var l=n-k,p=e.duration*Math.abs(l),m=[];if(p>0){var $=!1;if(g)for(var h=Math.ceil(p/16.666666666666668),o=0;o<=h;o+=1){var b=k+l*x(o/h),_=He(g(b,1-b));m.push(_),$||($=_.overflow==="hidden")}$&&(t.style.overflow="hidden"),v=()=>{var E=u.currentTime;return k+l*x(E/p)},c&&Qt(()=>{if(u.playState!=="running")return!1;var E=v();return c(E,1-E),!0})}u=t.animate(m,{duration:p,fill:"forwards"}),u.onfinish=()=>{v=()=>n,c==null||c(n,1-n),r()}},{abort:()=>{u&&(u.cancel(),u.effect=null,u.onfinish=U)},deactivate:()=>{r=U},reset:()=>{n===0&&(c==null||c(1,0))},t:()=>v()}}function Zt(t,e,a=e){var n=Ct();Fe(t,"input",r=>{var i=r?t.defaultValue:t.value;if(i=ue(t)?ce(i):i,a(i),n&&i!==(i=e())){var d=t.selectionStart,f=t.selectionEnd;t.value=i??"",f!==null&&(t.selectionStart=d,t.selectionEnd=Math.min(f,t.value.length))}}),(L&&t.defaultValue!==t.value||V(e)==null&&t.value)&&a(ue(t)?ce(t.value):t.value),Ne(()=>{var r=e();ue(t)&&r===ce(t.value)||t.type==="date"&&!r&&!t.value||r!==t.value&&(t.value=r??"")})}function ea(t,e,a=e){Fe(t,"change",n=>{var r=n?t.defaultChecked:t.checked;a(r)}),(L&&t.defaultChecked!==t.checked||V(e)==null)&&a(t.checked),Ne(()=>{var n=e();t.checked=!!n})}function ue(t){var e=t.type;return e==="number"||e==="range"}function ce(t){return t===""?null:+t}const ta=t=>t;function Ge(t){const e=t-1;return e*e*e+1}function Ke(t,{delay:e=0,duration:a=400,easing:n=ta}={}){const r=+getComputedStyle(t).opacity;return{delay:e,duration:a,easing:n,css:i=>`opacity: ${i*r}`}}function aa(t,{delay:e=0,duration:a=400,easing:n=Ge,axis:r="y"}={}){const i=getComputedStyle(t),d=+i.opacity,f=r==="y"?"height":"width",w=parseFloat(i[f]),g=r==="y"?["top","bottom"]:["left","right"],c=g.map(l=>`${l[0].toUpperCase()}${l.slice(1)}`),x=parseFloat(i[`padding${c[0]}`]),y=parseFloat(i[`padding${c[1]}`]),s=parseFloat(i[`margin${c[0]}`]),v=parseFloat(i[`margin${c[1]}`]),u=parseFloat(i[`border${c[0]}Width`]),k=parseFloat(i[`border${c[1]}Width`]);return{delay:e,duration:a,easing:n,css:l=>`overflow: hidden;opacity: ${Math.min(l*20,1)*d};${f}: ${l*w}px;padding-${g[0]}: ${l*x}px;padding-${g[1]}: ${l*y}px;margin-${g[0]}: ${l*s}px;margin-${g[1]}: ${l*v}px;border-${g[0]}-width: ${l*u}px;border-${g[1]}-width: ${l*k}px;min-${f}: 0`}}function Je(t,e){for(const a in e)t[a]=e[a];return t}function na({fallback:t,...e}){const a=new Map,n=new Map;function r(d,f,w){const{delay:g=0,duration:c=o=>Math.sqrt(o)*30,easing:x=Ge}=Je(Je({},e),w),y=d.getBoundingClientRect(),s=f.getBoundingClientRect(),v=y.left-s.left,u=y.top-s.top,k=y.width/s.width,l=y.height/s.height,p=Math.sqrt(v*v+u*u),m=getComputedStyle(f),$=m.transform==="none"?"":m.transform,h=+m.opacity;return{delay:g,duration:typeof c=="function"?c(p):c,easing:x,css:(o,b)=>` + opacity: ${o*h}; + transform-origin: top left; + transform: ${$} translate(${b*v}px,${b*u}px) scale(${o+(1-o)*k}, ${o+(1-o)*l}); + `}}function i(d,f,w){return(g,c)=>(d.set(c.key,g),()=>{if(f.has(c.key)){const x=f.get(c.key);return f.delete(c.key),r(x,g,c)}return d.delete(c.key),t&&t(g,c,w)})}return[i(n,a,!1),i(a,n,!0)]}var ra=D('
');function ia(t,e){let a=C(e,"background",3,!1),n=C(e,"color",3,"var(--col-text)"),r=C(e,"global",3,!1),i=C(e,"offset",3,0);var d=ra(),f=N(d),w=N(f),g=J(w,2),c=J(g,2);R(f),R(d),Q(()=>{H(d,"global",r()),H(d,"local",!r()),H(d,"background",a()),z(f,"style",`margin-top: ${i()??""}px;`),F(w,"background",n()),F(g,"background",n()),F(c,"background",n())}),oe(3,d,()=>Ke,()=>({duration:100})),B(t,d)}var sa=D('
'),oa=D('
'),la=D("");function ua(t,e){Re(e,!0);let a=C(e,"type",3,"button"),n=C(e,"role",3,"button"),r=C(e,"ref",15),i=C(e,"level",3,2),d=C(e,"isDisabled",3,!1),f=C(e,"isLoading",3,!1),w=C(e,"destructive",3,!1),g=C(e,"invisible",3,!1),c=C(e,"invisibleOutline",3,!1),x=Tt(e,["$$slots","$$events","$$legacy","type","role","ref","id","ariaLabel","ariaControls","ariaCurrent","level","width","isDisabled","isLoading","destructive","invisible","invisibleOutline","popovertarget","popovertargetaction","onclick","onLeft","onRight","onUp","onDown","children"]),y=Y(()=>{if(g())return"invisible";if(w())return"destructive";switch(i()){case 2:return"l2";case 3:return"l3";default:return"l1"}}),s=W(!f()),v=Y(()=>d()||f());Se(()=>{f()?setTimeout(()=>{S(s,!1)},120):setTimeout(()=>{S(s,!0)},120)});function u(){if(w())return"var(--btn-text)";switch(i()){case 2:return"hsl(var(--action))";case 3:return"hsl(var(--action))";default:return"var(--btn-text)"}}function k(o){var b,_,E,q,M;switch(o.code){case"Enter":(b=e.onclick)==null||b.call(e,o);break;case"ArrowLeft":(_=e.onLeft)==null||_.call(e);break;case"ArrowRight":(E=e.onRight)==null||E.call(e);break;case"ArrowUp":(q=e.onUp)==null||q.call(e);break;case"ArrowDown":(M=e.onDown)==null||M.call(e);break}}var l=la();let p;var m=N(l);{var $=o=>{var b=sa(),_=N(b);const E=Y(u);var q=Y(()=>A(E));ia(_,{background:!1,get color(){return A(q)}}),R(b),B(o,b)},h=o=>{var b=Ft(),_=Lt(b);{var E=q=>{var M=oa(),j=N(M);se(j,()=>e.children),R(M),oe(1,M,()=>Ke),B(q,M)};X(_,q=>{A(s)&&q(E)},!0)}B(o,b)};X(m,o=>{f()?o($):o(h,!1)})}R(l),Pe(l,o=>r(o),()=>r()),Q(()=>{p=Ht(l,p,{role:n(),type:a(),id:e.id,"aria-label":e.ariaLabel,"aria-controls":e.ariaControls,"aria-current":e.ariaCurrent,class:A(y),"data-isloading":f(),onclick:e.onclick,onkeydown:k,disabled:A(v),"aria-disabled":A(v),popovertarget:e.popovertarget,popovertargetaction:e.popovertargetaction,...x},"svelte-1m0mzre"),H(l,"invisibleOutline",c()),F(l,"width",e.width)}),B(t,l),Be()}const Qe=At(void 0),de="/dashboard/api";async function ca(t){let e=await fetch(`${de}${t}`,{method:"GET"});return fe(e)}async function da(t,e){let a=await fetch(`${de}${t}`,{method:"POST",body:e});return fe(a)}function fe(t){return t.status===401&&Qe.set(void 0),t}var fa=Pt(``);function va(t,e){let a=C(e,"color",8,"var(--col-ok)"),n=C(e,"opacity",8,.9),r=C(e,"width",8,"1.5rem");var i=fa();z(i,"stroke-width",2),Q(()=>{z(i,"width",r()),z(i,"color",a()),z(i,"opacity",n())}),B(t,i)}const Ye=`-- comments will be ignored but only a single query is allowed +-- press CTRL + Enter to execute +SELECT 1`,Xe={id:"SELECT 1",query:Ye},pa="--!auto-query";let ha=O([Xe]);const ga=t=>{let e="";const a=t||8;for(let n=0;n57&&r<65||r>90&&r<97;)r=Math.floor(Math.random()*74)+48;e=e.concat(String.fromCharCode(r))}return e};function ma(t,e,a,n){e(),window.addEventListener("mousemove",a),window.addEventListener("mouseup",n,{once:!0})}function ba(t,e,a,n){e(),window.addEventListener("mousemove",a),window.addEventListener("mouseup",n,{once:!0})}var wa=D('
'),ya=D('
'),ka=D('
');function $a(t,e){Re(e,!0);let a=C(e,"minWidthPx",3,50),n=C(e,"minHeightPx",3,50),r,i=W(void 0),d=W(void 0),f=W(O(V(()=>e.initialWidthPx))),w=W(O(V(()=>e.initialHeightPx)));Se(()=>{g()});function g(){var o;if(r){let b=r.getBoundingClientRect();e.resizeRight&&(S(d,O(b.left)),S(f,O(b.width))),e.resizeBottom&&(S(i,O(b.top)),S(w,O(b.height))),(o=e.onResizeBottom)==null||o.call(e,b.bottom)}}function c(){window.removeEventListener("mousemove",x),g()}function x(o){let b=window.scrollX+o.x-(A(d)||0);be.children),R(k);var p=J(k,2);{var m=o=>{var b=wa(),_=N(b);_.__mousedown=[ma,g,x,c],R(b),B(o,b)};X(p,o=>{e.resizeRight&&o(m)})}R(u);var $=J(u,2);{var h=o=>{var b=ya(),_=N(b);_.__mousedown=[ba,g,s,y],R(b),B(o,b)};X($,o=>{e.resizeBottom&&o(h)})}R(v),Pe(v,o=>r=o,()=>r),Q(()=>{F(v,"width",A(f)&&`${A(f)}px`),F(v,"height",A(w)&&`${A(w)}px`),F(v,"border",e.border),F(v,"padding",e.padding)}),B(t,v),Be()}ze(["mousedown"]);export{de as A,ua as B,Xe as D,va as I,ha as Q,$a as R,z as a,Zt as b,na as c,F as d,aa as e,Qe as f,Ot as g,fe as h,jt as i,Gt as j,Oe as k,ca as l,ga as m,pa as n,H as o,Ie as p,ea as q,Wt as r,se as s,oe as t,da as u,Ye as v}; diff --git a/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js.br b/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js.br new file mode 100644 index 0000000..1b89d3a Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js.br differ diff --git a/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js.gz b/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js.gz new file mode 100644 index 0000000..08d4863 Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/Dzdjl--S.js.gz differ diff --git a/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js b/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js deleted file mode 100644 index 6a8f5e7..0000000 --- a/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js +++ /dev/null @@ -1,8 +0,0 @@ -import{F as mt,J as L,K as Ut,E as Zt,as as bt,M as Jt,N as wt,O as Z,P as J,Q as D,au as G,G as yt,H as tt,I as te,B as K,av as kt,aw as ee,ar as ae,ax as ne,ay as xt,aj as re,af as ie,ao as se,ae as $t,V as _t,az as et,aA as at,a6 as oe,x as Ct,aB as Lt,aC as le,aD as ue,ai as ce,L as qt,n as O,D as zt,aE as de,aF as ve,aG as fe,aH as pe,aI as ge,R as he,b as nt,aJ as me,aK as be,aL as we,aM as ye,ad as Et,a0 as Mt,aN as ke,T as Nt,t as Y,m as z,q as H,o as E,p as Rt,ab as W,u as Bt,k as St,z as M,j as xe,g as q,i as rt}from"./runtime.Zcp02Le-.js";import{g as $e,i as _e,j as Ce,k as Tt,l as Le,n as qe,o as ze,p as Ee,q as Ft,a as N,t as P,e as Me,r as Ne}from"./disclose-version.BkQuOugj.js";import{p as _,i as Q,b as At,r as Re,a as R}from"./props.CzCUhsmr.js";import{w as Be}from"./index.CLvOz1r1.js";import"./legacy.AuFFchOy.js";function Se(e,t){return t}function Te(e,t,a,n){for(var r=[],i=t.length,v=0;v0&&r.length===0&&a!==null;if(d){var y=a.parentNode;ae(y),y.append(a),n.clear(),T(e,t[0].prev,t[i-1].next)}ne(r,()=>{for(var g=0;g{var u=a(),h=Zt(u)?u:u==null?[]:bt(u),f=h.length;if(w&&f===0)return;w=f===0;let m=!1;if(L){var p=v.data===Jt;p!==(f===0)&&(v=wt(),Z(v),J(!1),m=!0)}if(L){for(var o=null,b,k=0;k0&&Z(wt())}if(!L){var x=$t;Ae(h,d,v,r,t,(x.f&G)!==0,n)}i!==null&&(f===0?c?yt(c):c=tt(()=>i(v)):c!==null&&te(c,()=>{c=null})),m&&J(!0),a()}),L&&(v=D)}function Ae(e,t,a,n,r,i,v){var vt,ft,pt,gt;var d=(r&le)!==0,y=(r&(et|at))!==0,g=e.length,c=t.items,w=t.first,u=w,h,f=null,m,p=[],o=[],b,k,s,l;if(d)for(l=0;l0){var Xt=r&Lt&&g===0?a:null;if(d){for(l=0;l{var ht;if(m!==void 0)for(s of m)(ht=s.a)==null||ht.apply()}),K.first=t.first&&t.first.e,K.last=f&&f.e}function Pe(e,t,a,n){n&et&&kt(e.v,t),n&at?kt(e.i,a):e.i=a}function Pt(e,t,a,n,r,i,v,d,y){var g=(y&et)!==0,c=(y&ue)===0,w=g?c?oe(r):Ct(r):r,u=y&at?Ct(v):v,h={i:u,v:w,k:i,a:null,e:null,prev:a,next:n};try{return h.e=tt(()=>d(e,w,u),L),h.e.prev=a&&a.e,h.e.next=n&&n.e,a===null?t.first=h:(a.next=h,a.e.next=h.e),n!==null&&(n.prev=h,n.e.prev=h.e),h}finally{}}function Dt(e,t,a){for(var n=e.next?e.next.e.nodes_start:a,r=t?t.e.nodes_start:a,i=e.e.nodes_start;i!==n;){var v=ce(i);r.before(i),i=v}}function T(e,t,a){t===null?e.first=a:(t.next=a,t.e.next=a&&a.e),a!==null&&(a.prev=t,a.e.prev=t&&t.e)}function it(e,t,...a){var n=e,r=O,i;mt(()=>{r!==(r=t())&&(i&&(xt(i),i=null),i=tt(()=>r(n,...a)))},qt),L&&(n=D)}function De(e){if(L){var t=!1,a=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;B(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var r=e.checked;B(e,"checked",null),e.checked=r}}};e.__on_r=a,fe(a),$e()}}function B(e,t,a,n){var r=e.__attributes??(e.__attributes={});L&&(r[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")||r[t]!==(r[t]=a)&&(t==="style"&&"__styles"in e&&(e.__styles={}),t==="loading"&&(e[de]=a),a==null?e.removeAttribute(t):typeof a!="string"&&It(e).includes(t)?e[t]=a:e.setAttribute(t,a))}function Oe(e,t,a,n,r=!1,i=!1,v=!1){var d=t||{},y=e.tagName==="OPTION";for(var g in t)g in a||(a[g]=null);a.class=a.class?a.class+" "+n:n;var c=It(e),w=e.__attributes??(e.__attributes={});for(const p in a){let o=a[p];if(y&&p==="value"&&o==null){e.value=e.__value="",d[p]=o;continue}var u=d[p];if(o!==u){d[p]=o;var h=p[0]+p[1];if(h!=="$$"){if(h==="on"){const b={},k="$$"+p;let s=p.slice(2);var f=ze(s);if(_e(s)&&(s=s.slice(0,-7),b.capture=!0),!f&&u){if(o!=null)continue;e.removeEventListener(s,d[k],b),d[k]=null}if(o!=null)if(f)e[`__${s}`]=o,Tt([s]);else{let l=function(x){d[p].call(this,x)};d[k]=Ce(s,e,l,b)}}else if(p==="style"&&o!=null)e.style.cssText=o+"";else if(p==="autofocus")Le(e,!!o);else if(p==="__value"||p==="value"&&o!=null)e.value=e[p]=e.__value=o;else{var m=p;r||(m=qe(m)),o==null&&!i?(w[p]=null,e.removeAttribute(p)):c.includes(m)&&(i||typeof o!="string")?e[m]=o:typeof o!="function"&&(L&&(m==="src"||m==="href"||m==="srcset")||B(e,m,o))}p==="style"&&"__styles"in e&&(e.__styles={})}}}return d}var Ot=new Map;function It(e){var t=Ot.get(e.nodeName);if(t)return t;Ot.set(e.nodeName,t=[]);for(var a,n=zt(e),r=Element.prototype;r!==n;){a=ve(n);for(var i in a)a[i].set&&t.push(i);n=zt(n)}return t}function Ie(e,t){var a=e.__className,n=We(t);L&&e.className===n?e.__className=n:(a!==n||L&&e.className!==n)&&(t==null?e.removeAttribute("class"):e.className=n,e.__className=n)}function We(e){return e??""}function j(e,t,a){if(a){if(e.classList.contains(t))return;e.classList.add(t)}else{if(!e.classList.contains(t))return;e.classList.remove(t)}}function S(e,t,a,n){var r=e.__styles??(e.__styles={});r[t]!==a&&(r[t]=a,a==null?e.style.removeProperty(t):e.style.setProperty(t,a,""))}const je=()=>performance.now(),F={tick:e=>requestAnimationFrame(e),now:()=>je(),tasks:new Set};function Wt(e){F.tasks.forEach(t=>{t.c(e)||(F.tasks.delete(t),t.f())}),F.tasks.size!==0&&F.tick(Wt)}function Ge(e){let t;return F.tasks.size===0&&F.tick(Wt),{promise:new Promise(a=>{F.tasks.add(t={c:e,f:a})}),abort(){F.tasks.delete(t)}}}function V(e,t){e.dispatchEvent(new CustomEvent(t))}function Ke(e){if(e==="float")return"cssFloat";if(e==="offset")return"cssOffset";if(e.startsWith("--"))return e;const t=e.split("-");return t.length===1?t[0]:t[0]+t.slice(1).map(a=>a[0].toUpperCase()+a.slice(1)).join("")}function jt(e){const t={},a=e.split(";");for(const n of a){const[r,i]=n.split(":");if(!r||i===void 0)break;const v=Ke(r.trim());t[v]=i.trim()}return t}const Ye=e=>e;function st(e,t,a,n){var r=(e&me)!==0,i=(e&we)!==0,v=r&&i,d=(e&ye)!==0,y=v?"both":r?"in":"out",g,c=t.inert,w,u;function h(){var b=$t,k=K;Et(null),Mt(null);try{return g??(g=a()(t,(n==null?void 0:n())??{},{direction:y}))}finally{Et(b),Mt(k)}}var f={is_global:d,in(){var b;if(t.inert=c,!r){u==null||u.abort(),(b=u==null?void 0:u.reset)==null||b.call(u);return}i||(w==null||w.abort()),V(t,"introstart"),w=ot(t,h(),u,1,()=>{V(t,"introend"),w==null||w.abort(),w=g=void 0})},out(b){if(!i){b==null||b(),g=void 0;return}t.inert=!0,V(t,"outrostart"),u=ot(t,h(),w,0,()=>{V(t,"outroend"),b==null||b()})},stop:()=>{w==null||w.abort(),u==null||u.abort()}},m=K;if((m.transitions??(m.transitions=[])).push(f),r&&Ee){var p=d;if(!p){for(var o=m.parent;o&&o.f&qt;)for(;(o=o.parent)&&!(o.f&pe););p=!o||(o.f&ge)!==0}p&&he(()=>{nt(()=>f.in())})}}function ot(e,t,a,n,r){var i=n===1;if(be(t)){var v,d=!1;return _t(()=>{if(!d){var p=t({direction:i?"in":"out"});v=ot(e,p,a,n,r)}}),{abort:()=>{d=!0,v==null||v.abort()},deactivate:()=>v.deactivate(),reset:()=>v.reset(),t:()=>v.t()}}if(a==null||a.deactivate(),!(t!=null&&t.duration))return r(),{abort:O,deactivate:O,reset:O,t:()=>n};const{delay:y=0,css:g,tick:c,easing:w=Ye}=t;var u=[];if(i&&a===void 0&&(c&&c(0,1),g)){var h=jt(g(0,1));u.push(h,h)}var f=()=>1-n,m=e.animate(u,{duration:y});return m.onfinish=()=>{var p=(a==null?void 0:a.t())??1-n;a==null||a.abort();var o=n-p,b=t.duration*Math.abs(o),k=[];if(b>0){if(g)for(var s=Math.ceil(b/16.666666666666668),l=0;l<=s;l+=1){var x=p+o*w(l/s),C=g(x,1-x);k.push(jt(C))}f=()=>{var $=m.currentTime;return p+o*w($/b)},c&&Ge(()=>{if(m.playState!=="running")return!1;var $=f();return c($,1-$),!0})}m=e.animate(k,{duration:b,fill:"forwards"}),m.onfinish=()=>{f=()=>n,c==null||c(n,1-n),r()}},{abort:()=>{m&&(m.cancel(),m.effect=null,m.onfinish=O)},deactivate:()=>{r=O},reset:()=>{n===0&&(c==null||c(1,0))},t:()=>f()}}function He(e,t,a=t){var n=ke();Ft(e,"input",()=>{var r=lt(e)?ut(e.value):e.value;a(r),n&&r!==(r=t())&&(e.value=r??"")}),Nt(()=>{var r=t();if(L&&e.defaultValue!==e.value){a(lt(e)?ut(e.value):e.value);return}lt(e)&&r===ut(e.value)||e.type==="date"&&!r&&!e.value||r!==e.value&&(e.value=r??"")})}function Qe(e,t,a=t){Ft(e,"change",()=>{var n=e.checked;a(n)}),t()==null&&a(!1),Nt(()=>{var n=t();e.checked=!!n})}function lt(e){var t=e.type;return t==="number"||t==="range"}function ut(e){return e===""?null:+e}const Ve=e=>e;function Gt(e){const t=e-1;return t*t*t+1}function Kt(e,{delay:t=0,duration:a=400,easing:n=Ve}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:a,easing:n,css:i=>`opacity: ${i*r}`}}function Xe(e,{delay:t=0,duration:a=400,easing:n=Gt,axis:r="y"}={}){const i=getComputedStyle(e),v=+i.opacity,d=r==="y"?"height":"width",y=parseFloat(i[d]),g=r==="y"?["top","bottom"]:["left","right"],c=g.map(o=>`${o[0].toUpperCase()}${o.slice(1)}`),w=parseFloat(i[`padding${c[0]}`]),u=parseFloat(i[`padding${c[1]}`]),h=parseFloat(i[`margin${c[0]}`]),f=parseFloat(i[`margin${c[1]}`]),m=parseFloat(i[`border${c[0]}Width`]),p=parseFloat(i[`border${c[1]}Width`]);return{delay:t,duration:a,easing:n,css:o=>`overflow: hidden;opacity: ${Math.min(o*20,1)*v};${d}: ${o*y}px;padding-${g[0]}: ${o*w}px;padding-${g[1]}: ${o*u}px;margin-${g[0]}: ${o*h}px;margin-${g[1]}: ${o*f}px;border-${g[0]}-width: ${o*m}px;border-${g[1]}-width: ${o*p}px;`}}function Yt(e,t){for(const a in t)e[a]=t[a];return e}function Ue({fallback:e,...t}){const a=new Map,n=new Map;function r(v,d,y){const{delay:g=0,duration:c=x=>Math.sqrt(x)*30,easing:w=Gt}=Yt(Yt({},t),y),u=v.getBoundingClientRect(),h=d.getBoundingClientRect(),f=u.left-h.left,m=u.top-h.top,p=u.width/h.width,o=u.height/h.height,b=Math.sqrt(f*f+m*m),k=getComputedStyle(d),s=k.transform==="none"?"":k.transform,l=+k.opacity;return{delay:g,duration:typeof c=="function"?c(b):c,easing:w,css:(x,C)=>` - opacity: ${x*l}; - transform-origin: top left; - transform: ${s} translate(${C*f}px,${C*m}px) scale(${x+(1-x)*p}, ${x+(1-x)*o}); - `}}function i(v,d,y){return(g,c)=>(v.set(c.key,g),()=>{if(d.has(c.key)){const w=d.get(c.key);return d.delete(c.key),r(w,g,c)}return v.delete(c.key),e&&e(g,c,y)})}return[i(n,a,!1),i(a,n,!0)]}var Ze=P('
');function Je(e,t){let a=_(t,"background",3,!1),n=_(t,"color",3,"var(--col-text)"),r=_(t,"global",3,!1),i=_(t,"offset",3,0);var v=Ze(),d=z(v),y=z(d),g=H(y,2),c=H(g,2);E(d),E(v),Y(()=>{j(v,"global",r()),j(v,"local",!r()),j(v,"background",a()),B(d,"style",`margin-top: ${i()??""}px;`),S(y,"background",n()),S(g,"background",n()),S(c,"background",n())}),st(3,v,()=>Kt,()=>({duration:100})),N(e,v)}var ta=P('
'),ea=P('
'),aa=P("");function na(e,t){Rt(t,!0);let a=_(t,"type",3,"button"),n=_(t,"role",3,"button"),r=_(t,"ref",15),i=_(t,"level",3,2),v=_(t,"isDisabled",3,!1),d=_(t,"isLoading",3,!1),y=_(t,"destructive",3,!1),g=_(t,"invisible",3,!1),c=_(t,"invisibleOutline",3,!1),w=Re(t,["$$slots","$$events","$$legacy","type","role","ref","id","ariaLabel","ariaControls","ariaCurrent","level","width","isDisabled","isLoading","destructive","invisible","invisibleOutline","popovertarget","popovertargetaction","onclick","onLeft","onRight","onUp","onDown","children"]),u=rt(()=>{if(g())return"invisible";if(y())return"destructive";switch(i()){case 2:return"l2";case 3:return"l3";default:return"l1"}}),h=W(!d()),f=rt(()=>v()||d());Bt(()=>{d()?setTimeout(()=>{M(h,!1)},120):setTimeout(()=>{M(h,!0)},120)});function m(){if(y())return"var(--btn-text)";switch(i()){case 2:return"hsl(var(--action))";case 3:return"hsl(var(--action))";default:return"var(--btn-text)"}}function p(s){var l,x,C,$,A;switch(s.code){case"Enter":(l=t.onclick)==null||l.call(t,s);break;case"ArrowLeft":(x=t.onLeft)==null||x.call(t);break;case"ArrowRight":(C=t.onRight)==null||C.call(t);break;case"ArrowUp":($=t.onUp)==null||$.call(t);break;case"ArrowDown":(A=t.onDown)==null||A.call(t);break}}var o=aa();let b;var k=z(o);Q(k,d,s=>{var l=ta(),x=z(l),C=rt(m);Je(x,{background:!1,get color(){return q(C)}}),E(l),N(s,l)},s=>{var l=Me(),x=xe(l);Q(x,()=>q(h),C=>{var $=ea(),A=z($);it(A,()=>t.children),E($),st(1,$,()=>Kt),N(C,$)},null,!0),N(s,l)}),E(o),At(o,s=>r(s),()=>r()),Y(()=>{b=Oe(o,b,{role:n(),type:a(),id:t.id,"aria-label":t.ariaLabel,"aria-controls":t.ariaControls,"aria-current":t.ariaCurrent,class:q(u),"data-isloading":d(),onclick:t.onclick,onkeydown:p,disabled:q(f),"aria-disabled":q(f),popovertarget:t.popovertarget,popovertargetaction:t.popovertargetaction,...w},"svelte-1m0mzre"),j(o,"invisibleOutline",c()),S(o,"width",t.width)}),N(e,o),St()}const Ht=Be(void 0),ct="/dashboard/api";async function ra(e){let t=await fetch(`${ct}${e}`,{method:"GET"});return dt(t)}async function ia(e,t){let a=await fetch(`${ct}${e}`,{method:"POST",body:t});return dt(a)}function dt(e){return e.status===401&&Ht.set(void 0),e}var sa=Ne(``);function oa(e,t){let a=_(t,"color",8,"var(--col-ok)"),n=_(t,"opacity",8,.9),r=_(t,"width",8,"1.5rem");var i=sa();B(i,"stroke-width",2),Y(()=>{B(i,"width",r()),B(i,"color",a()),B(i,"opacity",n())}),N(e,i)}const Qt=`-- comments will be ignored but only a single query is allowed --- press CTRL + Enter to execute -SELECT 1`,Vt={id:"SELECT 1",query:Qt},la="--!auto-query";let ua=R([Vt]);const ca=e=>{let t="";const a=e||8;for(let n=0;n57&&r<65||r>90&&r<97;)r=Math.floor(Math.random()*74)+48;t=t.concat(String.fromCharCode(r))}return t};function da(e,t,a,n){t(),window.addEventListener("mousemove",a),window.addEventListener("mouseup",n,{once:!0})}function va(e,t,a,n){t(),window.addEventListener("mousemove",a),window.addEventListener("mouseup",n,{once:!0})}var fa=P('
'),pa=P('
'),ga=P('
');function ha(e,t){Rt(t,!0);let a=_(t,"minWidthPx",3,50),n=_(t,"minHeightPx",3,50),r,i=W(void 0),v=W(void 0),d=W(R(nt(()=>t.initialWidthPx))),y=W(R(nt(()=>t.initialHeightPx)));Bt(()=>{g()});function g(){var s;if(r){let l=r.getBoundingClientRect();t.resizeRight&&(M(v,R(l.left)),M(d,R(l.width))),t.resizeBottom&&(M(i,R(l.top)),M(y,R(l.height))),(s=t.onResizeBottom)==null||s.call(t,l.bottom)}}function c(){window.removeEventListener("mousemove",w),g()}function w(s){let l=window.scrollX+s.x-(q(v)||0);lt.children),E(p);var b=H(p,2);Q(b,()=>t.resizeRight,s=>{var l=fa(),x=z(l);x.__mousedown=[da,g,w,c],E(l),N(s,l)}),E(m);var k=H(m,2);Q(k,()=>t.resizeBottom,s=>{var l=pa(),x=z(l);x.__mousedown=[va,g,h,u],E(l),N(s,l)}),E(f),At(f,s=>r=s,()=>r),Y(()=>{S(f,"width",q(d)&&`${q(d)}px`),S(f,"height",q(y)&&`${q(y)}px`),S(f,"border",t.border),S(f,"padding",t.padding)}),N(e,f),St()}Tt(["mousedown"]);export{ct as A,na as B,Vt as D,oa as I,ua as Q,ha as R,B as a,He as b,Ue as c,S as d,Xe as e,Ht as f,Fe as g,dt as h,Se as i,Ie as j,ra as k,ca as l,la as m,j as n,Qe as o,ia as p,Qt as q,De as r,it as s,st as t}; diff --git a/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js.br b/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js.br deleted file mode 100644 index 51a9c77..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js.gz b/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js.gz deleted file mode 100644 index 3b0041d..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/Resizable.BoQ8IQFb.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js b/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js new file mode 100644 index 0000000..e063432 --- /dev/null +++ b/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js @@ -0,0 +1 @@ +import{S as P,o as k,m as Q,n as m,q as T,v as y,w as j,U as g,g as w,x as $,y as ee,z as re,A as te,B as ae,C as A,D as ne,E as se,H as ie,F as ue,G as oe,I as L,J as U,K as z,L as G,M as le,N as ve,O as fe,b as B,P as ce,Q as H,R as J,T as de,V as ge,W as pe,X as be,Y as ye,Z as we,_ as he,$ as me,a0 as xe,a1 as Pe,a2 as V,a3 as Ne,a4 as De,a5 as Oe,a6 as Re,a7 as qe,h as W,a8 as Ke,a9 as je}from"./WH8gHp3S.js";function N(e,r=null,v){if(typeof e!="object"||e===null||P in e)return e;const u=re(e);if(u!==k&&u!==Q)return e;var s=new Map,l=te(e),p=m(0);l&&s.set("length",m(e.length));var h;return new Proxy(e,{defineProperty(o,t,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&T();var i=s.get(t);return i===void 0?(i=m(a.value),s.set(t,i)):y(i,N(a.value,h)),!0},deleteProperty(o,t){var a=s.get(t);if(a===void 0)t in o&&s.set(t,m(g));else{if(l&&typeof t=="string"){var i=s.get("length"),n=Number(t);Number.isInteger(n)&&n=R.v&&y(R,q+1)}X(p)}return!0},ownKeys(o){w(p);var t=Reflect.ownKeys(o).filter(n=>{var f=s.get(n);return f===void 0||f.v!==g});for(var[a,i]of s)i.v!==g&&!(a in o)&&t.push(a);return t},setPrototypeOf(){ee()}})}function X(e,r=1){y(e,e.v+r)}function Y(e){return e!==null&&typeof e=="object"&&P in e?e[P]:e}function Ie(e,r){return Object.is(Y(e),Y(r))}function Me(e,r,v=!1){A&&ne();var u=e,s=null,l=null,p=g,h=v?se:0,o=!1;const t=(i,n=!0)=>{o=!0,a(n,i)},a=(i,n)=>{if(p===(p=i))return;let f=!1;if(A){const d=u.data===ie;!!p===d&&(u=ue(),oe(u),L(!1),f=!0)}p?(s?U(s):n&&(s=z(()=>n(u))),l&&G(l,()=>{l=null})):(l?U(l):n&&(l=z(()=>n(u))),s&&G(s,()=>{s=null})),f&&L(!0)};ae(()=>{o=!1,r(t),o||a(null,null)},h),A&&(u=le)}function Z(e,r){return e===r||(e==null?void 0:e[P])===r}function Se(e={},r,v,u){return ve(()=>{var s,l;return fe(()=>{s=l,l=(u==null?void 0:u())||[],B(()=>{e!==v(...l)&&(r(e,...l),s&&Z(v(...s),e)&&r(null,...s))})}),()=>{ce(()=>{l&&Z(v(...l),e)&&r(null,...l)})}}),e}let I=!1,C=Symbol();function $e(e,r,v){const u=v[r]??(v[r]={store:null,source:H(void 0),unsubscribe:J});if(u.store!==e&&!(C in v))if(u.unsubscribe(),u.store=e,e==null)u.source.v=void 0,u.unsubscribe=J;else{var s=!0;u.unsubscribe=de(e,l=>{s?u.source.v=l:y(u.source,l)}),s=!1}return C in v?ge(e):w(u.source)}function Ae(){const e={};function r(){pe(()=>{for(var v in e)e[v].unsubscribe();be(e,C,{enumerable:!1,value:!0})})}return[e,r]}function Be(e){var r=I;try{return I=!1,[e(),I]}finally{I=r}}const Ce={get(e,r){if(!e.exclude.includes(r))return e.props[r]},set(e,r){return!1},getOwnPropertyDescriptor(e,r){if(!e.exclude.includes(r)&&r in e.props)return{enumerable:!0,configurable:!0,value:e.props[r]}},has(e,r){return e.exclude.includes(r)?!1:r in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(r=>!e.exclude.includes(r))}};function Ee(e,r,v){return new Proxy({props:e,exclude:r},Ce)}function _(e){for(var r=$,v=$;r!==null&&!(r.f&(xe|Pe));)r=r.parent;try{return V(r),e()}finally{V(v)}}function Fe(e,r,v,u){var F;var s=(v&Ne)!==0,l=!De||(v&Oe)!==0,p=(v&Re)!==0,h=(v&je)!==0,o=!1,t;p?[t,o]=Be(()=>e[r]):t=e[r];var a=P in e||qe in e,i=p&&(((F=j(e,r))==null?void 0:F.set)??(a&&r in e&&(c=>e[r]=c)))||void 0,n=u,f=!0,d=!1,x=()=>(d=!0,f&&(f=!1,h?n=B(u):n=u),n);t===void 0&&u!==void 0&&(i&&l&&ye(),t=x(),i&&i(t));var b;if(l)b=()=>{var c=e[r];return c===void 0?x():(f=!0,d=!1,c)};else{var R=_(()=>(s?W:Ke)(()=>e[r]));R.f|=we,b=()=>{var c=w(R);return c!==void 0&&(n=void 0),c===void 0?n:c}}if(!(v&he))return b;if(i){var q=e.$$legacy;return function(c,O){return arguments.length>0?((!l||!O||q||o)&&i(O?b():c),c):b()}}var D=!1,E=!1,M=H(t),K=_(()=>W(()=>{var c=b(),O=w(M);return D?(D=!1,E=!0,O):(E=!1,M.v=c)}));return s||(K.equals=me),function(c,O){if(arguments.length>0){const S=O?w(K):l&&p?N(c):c;return K.equals(S)||(D=!0,y(M,S),d&&n!==void 0&&(n=S),B(()=>w(K))),c}return w(K)}}export{N as a,Se as b,Ie as c,$e as d,Me as i,Fe as p,Ee as r,Ae as s}; diff --git a/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js.br b/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js.br new file mode 100644 index 0000000..db7ccbc Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js.br differ diff --git a/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js.gz b/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js.gz new file mode 100644 index 0000000..bcf2f66 Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/UlN6PZgr.js.gz differ diff --git a/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js b/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js new file mode 100644 index 0000000..ede7078 --- /dev/null +++ b/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js @@ -0,0 +1 @@ +var qe=Array.isArray,Ee=Array.prototype.indexOf,Oe=Array.from,Te=Object.defineProperty,vn=Object.getOwnPropertyDescriptor,Pn=Object.getOwnPropertyDescriptors,Ae=Object.prototype,Se=Array.prototype,Dn=Object.getPrototypeOf;function ke(n){return typeof n=="function"}const K=()=>{};function Ce(n){return n()}function pn(n){for(var e=0;enew Promise(r=>{t.outro?ue(e,()=>{A(e),r(void 0)}):(A(e),r(void 0))})}function xn(n){return G(Mn,n,!1)}function ne(n){return G(L,n,!0)}function At(n,e=[],t=_n){const r=e.map(t);return ee(()=>n(...r.map(me)))}function ee(n,e=0){return G(L|Z|e,n,!0)}function St(n,e=!0){return G(L|m,n,!0,e)}function te(n){var e=n.teardown;if(e!==null){const t=En,r=s;de(!0),$(null);try{e.call(null)}finally{de(t),$(r)}}}function re(n){var e=n.deriveds;if(e!==null){n.deriveds=null;for(var t=0;t{A(n),e&&e()})}function fe(n,e){var t=n.length;if(t>0){var r=()=>--t||e();for(var l of n)l.out(r)}else e()}function mn(n,e,t){if(!(n.f&C)){if(n.f^=C,n.transitions!==null)for(const u of n.transitions)(u.is_global||t)&&e.push(u);for(var r=n.first;r!==null;){var l=r.next,a=(r.f&dn)!==0||(r.f&m)!==0;mn(r,e,a?t:!1),r=l}}}function Ct(n){oe(n,!0)}function oe(n,e){if(n.f&C){n.f^=C,n.f&h||(n.f^=h),X(n)&&(b(n,E),cn(n));for(var t=n.first;t!==null;){var r=t.next,l=(t.f&dn)!==0||(t.f&m)!==0;oe(t,l?e:!1),t=r}if(n.transitions!==null)for(const a of n.transitions)(a.is_global||e)&&a.in()}}const Pt=typeof requestIdleCallback>"u"?n=>setTimeout(n,1):requestIdleCallback;let ln=!1,an=!1,jn=[],qn=[];function ie(){ln=!1;const n=jn.slice();jn=[],pn(n)}function se(){an=!1;const n=qn.slice();qn=[],pn(n)}function Dt(n){ln||(ln=!0,queueMicrotask(ie)),jn.push(n)}function Mt(n){an||(an=!0,Pt(se)),qn.push(n)}function Nt(){ln&&ie(),an&&se()}function ce(n){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}const ve=0,zt=1;let un=!1,fn=ve,R=!1,U=null,H=!1,En=!1;function pe(n){H=n}function de(n){En=n}let D=[],I=0,s=null,S=!1;function $(n){s=n}let v=null;function V(n){v=n}let j=null;function Bt(n){j=n}let y=null,_=0,q=null;function Ft(n){q=n}let he=1,on=0,M=!1,i=null;function ye(){return++he}function W(){return!F||i!==null&&i.l===null}function X(n){var o;var e=n.f;if(e&E)return!0;if(e&z){var t=n.deps,r=(e&k)!==0;if(t!==null){var l,a,u=(e&en)!==0,f=r&&v!==null&&!M,c=t.length;if(u||f){for(l=0;ln.wv)return!0}(!r||v!==null&&!M)&&b(n,h)}return!1}function Gt(n,e){for(var t=e;t!==null;){if(t.f&nn)try{t.fn(n);return}catch{t.f^=nn}t=t.parent}throw un=!1,n}function Ht(n){return(n.f&B)===0&&(n.parent===null||(n.parent.f&nn)===0)}function sn(n,e,t,r){if(un){if(t===null&&(un=!1),Ht(e))throw n;return}t!==null&&(un=!0);{Gt(n,e);return}}function we(n,e,t=0){var r=n.reactions;if(r!==null)for(var l=0;l0)for(d.length=_+y.length,w=0;w1e3){I=0;try{Fe()}catch(n){if(U!==null)sn(n,U,null);else throw n}}I++}function be(n){var e=n.length;if(e!==0){_e();var t=H;H=!0;try{for(var r=0;r1001)return;const n=D;D=[],be(n),R||(I=0,U=null)}function cn(n){fn===ve&&(R||(R=!0,queueMicrotask(Kt))),U=n;for(var e=n;e.parent!==null;){e=e.parent;var t=e.f;if(t&(N|m)){if(!(t&h))return;e.f^=h}}D.push(e)}function xe(n,e){var t=n.first,r=[];n:for(;t!==null;){var l=t.f,a=(l&m)!==0,u=a&&(l&h)!==0,f=t.next;if(!u&&!(l&C))if(l&L){if(a)t.f^=h;else try{X(t)&&On(t)}catch(d){sn(d,t,null,t.ctx)}var c=t.first;if(c!==null){t=c;continue}}else l&Mn&&r.push(t);if(f===null){let d=t.parent;for(;d!==null;){if(n===d)break n;var o=d.next;if(o!==null){t=o;continue n}d=d.parent}}t=f}for(var x=0;x0||l.length>0)&&Tn(),I=0,U=null,r}finally{fn=e,D=t}}async function Lt(){await Promise.resolve(),Tn()}function me(n){var x;var e=n.f,t=(e&g)!==0;if(t&&e&B){var r=Wn(n);return bn(n),r}if(s!==null&&!S){j!==null&&j.includes(n)&&Ke();var l=s.deps;n.rvn.subscribe(e,t));return r.unsubscribe?()=>r.unsubscribe():r}const J=[];function Zt(n,e=K){let t=null;const r=new Set;function l(f){if(Gn(n,f)&&(n=f,t)){const c=!J.length;for(const o of r)o[1](),J.push(o,n);if(c){for(let o=0;o{r.delete(o),r.size===0&&t&&(t(),t=null)}}return{set:l,update:a,subscribe:u}}function nr(n){let e;return je(n,t=>e=t)(),e}function er(n){i===null&&ce(),F&&i.l!==null?tr(i).m.push(n):Zn(()=>{const e=An(n);if(typeof e=="function")return e})}function tr(n){var e=n.l;return e.u??(e.u={a:[],b:[],m:[]})}export{yn as $,qe as A,ee as B,O as C,pt as D,dn as E,yt as F,P as G,In as H,vt as I,Ct as J,St as K,ue as L,p as M,xn as N,ne as O,Dt as P,it as Q,K as R,hn as S,je as T,ft as U,nr as V,Et as W,Te as X,He as Y,Pe as Z,Ze as _,Zn as a,m as a0,N as a1,V as a2,Xe as a3,F as a4,Ye as a5,nt as a6,De as a7,mt as a8,et as a9,Ue as aA,$e as aB,Re as aC,We as aD,Ve as aE,Pn as aF,Mt as aG,Me as aH,Z as aI,Nn as aJ,tt as aK,ke as aL,rt as aM,lt as aN,W as aO,Zt as aP,Rn as aQ,ht as aR,$t as aS,Rt as aT,Ut as aU,Tn as aa,er as ab,Lt as ac,ot as ad,$ as ae,s as af,Q as ag,zn as ah,Hn as ai,T as aj,rn as ak,at as al,ut as am,wt as an,wn as ao,Jn as ap,gn as aq,Ge as ar,xt as as,Oe as at,Tt as au,C as av,Kn as aw,mn as ax,fe as ay,A as az,An as b,pn as c,i as d,Qe as e,Yt as f,me as g,_n as h,_t as i,Xt as j,gt as k,dt as l,Se as m,tn as n,Ae as o,Wt as p,Ie as q,Ce as r,bt as s,At as t,Ot as u,ct as v,vn as w,v as x,Je as y,Dn as z}; diff --git a/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js.br b/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js.br new file mode 100644 index 0000000..42fed15 Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js.br differ diff --git a/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js.gz b/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js.gz new file mode 100644 index 0000000..c0a6c5b Binary files /dev/null and b/hiqlite/static/_app/immutable/chunks/WH8gHp3S.js.gz differ diff --git a/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js b/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js deleted file mode 100644 index 95fbdb2..0000000 --- a/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js +++ /dev/null @@ -1 +0,0 @@ -import{V as H,ac as j,ad as C,a0 as M,ae as I,B as E,a9 as ee,E as ne,af as L,F as te,ag as re,J as f,ah as z,ai as O,P as y,O as k,Q as i,aj as w,ak as oe,al as ae,K as A,am as S,an as $,ao as se,ap as ue,aq as ie,ar as ce,as as le,at as de,H as fe,p as ve,k as pe,c as me,n as P,b as he,a6 as _e,g as be,z as ye}from"./runtime.Zcp02Le-.js";function we(e,n){if(n){const t=document.body;e.autofocus=!0,H(()=>{document.activeElement===t&&e.focus()})}}let K=!1;function Q(){K||(K=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var n;if(!e.defaultPrevented)for(const t of e.target.elements)(n=t.__on_r)==null||n.call(t)})},{capture:!0}))}function ge(e,n,t,o=!0){o&&t();for(var a of n)e.addEventListener(a,t);j(()=>{for(var r of n)e.removeEventListener(r,t)})}function V(e){var n=I,t=E;C(null),M(null);try{return e()}finally{C(n),M(t)}}function Ee(e,n,t,o=t){e.addEventListener(n,()=>V(t));const a=e.__on_r;a?e.__on_r=()=>{a(),o()}:e.__on_r=o,Q()}const R=new Set,q=new Set;function U(e,n,t,o){function a(r){if(o.capture||T.call(n,r),!r.cancelBubble)return V(()=>t.call(this,r))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?H(()=>{n.addEventListener(e,a,o)}):n.addEventListener(e,a,o),a}function Le(e,n,t,o,a){var r={capture:o,passive:a},s=U(e,n,t,r);(n===document.body||n===window||n===document)&&j(()=>{n.removeEventListener(e,s,r)})}function ke(e){for(var n=0;n{throw x});throw u}}finally{e.__root=n,delete e.currentTarget,C(W),M(p)}}}let d;function Te(){d=void 0}function xe(e){let n=null,t=f;var o;if(f){for(n=i,d===void 0&&(d=w(document.head));d!==null&&(d.nodeType!==8||d.data!==z);)d=O(d);d===null?y(!1):d=k(O(d))}f||(o=document.head.appendChild(L()));try{te(()=>e(o),re)}finally{t&&(y(!0),d=i,k(n))}}function Y(e){var n=document.createElement("template");return n.innerHTML=e,n.content}function m(e,n){var t=E;t.nodes_start===null&&(t.nodes_start=e,t.nodes_end=n)}function Ce(e,n){var t=(n&oe)!==0,o=(n&ae)!==0,a,r=!e.startsWith("");return()=>{if(f)return m(i,null),i;a===void 0&&(a=Y(r?e:""+e),t||(a=w(a)));var s=o?document.importNode(a,!0):a.cloneNode(!0);if(t){var v=w(s),l=s.lastChild;m(v,l)}else m(s,s);return s}}function Me(e,n,t="svg"){var o=!e.startsWith(""),a=`<${t}>${o?e:""+e}`,r;return()=>{if(f)return m(i,null),i;if(!r){var s=Y(a),v=w(s);r=w(v)}var l=r.cloneNode(!0);return m(l,l),l}}function Ne(e=""){if(!f){var n=L(e+"");return m(n,n),n}var t=i;return t.nodeType!==3&&(t.before(t=L()),k(t)),m(t,t),t}function We(){if(f)return m(i,null),i;var e=document.createDocumentFragment(),n=document.createComment(""),t=L();return e.append(n,t),m(n,t),e}function je(e,n){if(f){E.nodes_end=i,A();return}e!==null&&e.before(n)}function Oe(e){return e.endsWith("capture")&&e!=="gotpointercapture"&&e!=="lostpointercapture"}const Se=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function $e(e){return Se.includes(e)}const Pe={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",srcobject:"srcObject"};function Ve(e){return e=e.toLowerCase(),Pe[e]??e}const qe=["touchstart","touchmove"];function Be(e){return qe.includes(e)}let B=!0;function De(e,n){var t=n==null?"":typeof n=="object"?n+"":n;t!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=t,e.nodeValue=t==null?"":t+"")}function J(e,n){return X(e,n)}function Fe(e,n){S(),n.intro=n.intro??!1;const t=n.target,o=f,a=i;try{for(var r=w(t);r&&(r.nodeType!==8||r.data!==z);)r=O(r);if(!r)throw $;y(!0),k(r),A();const s=X(e,{...n,anchor:r});if(i===null||i.nodeType!==8||i.data!==se)throw ue(),$;return y(!1),s}catch(s){if(s===$)return n.recover===!1&&ie(),S(),ce(t),y(!1),J(e,n);throw s}finally{y(o),k(a),Te()}}const g=new Map;function X(e,{target:n,anchor:t,props:o={},events:a,context:r,intro:s=!0}){S();var v=new Set,l=p=>{for(var u=0;u{var p=t??n.appendChild(L());return fe(()=>{if(r){ve({});var u=me;u.c=r}a&&(o.$$events=a),f&&m(p,null),B=s,_=e(p,o)||{},B=!0,f&&(E.nodes_end=i),r&&pe()}),()=>{var h;for(var u of v){n.removeEventListener(u,T);var c=g.get(u);--c===0?(document.removeEventListener(u,T),g.delete(u)):g.set(u,c)}q.delete(l),D.delete(_),p!==t&&((h=p.parentNode)==null||h.removeChild(p))}});return D.set(_,W),_}let D=new WeakMap;function He(e){const n=D.get(e);n&&n()}function Ie(e,n,t){if(e==null)return n(void 0),P;const o=he(()=>e.subscribe(n,t));return o.unsubscribe?()=>o.unsubscribe():o}let N=!1;function ze(e,n,t){const o=t[n]??(t[n]={store:null,source:_e(void 0),unsubscribe:P});if(o.store!==e)if(o.unsubscribe(),o.store=e??null,e==null)o.source.v=void 0,o.unsubscribe=P;else{var a=!0;o.unsubscribe=Ie(e,r=>{a?o.source.v=r:ye(o.source,r)}),a=!1}return be(o.source)}function Ae(){const e={};return j(()=>{for(var n in e)e[n].unsubscribe()}),e}function Ke(e){var n=N;try{return N=!1,[e(),N]}finally{N=n}}const Qe="5";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Qe);export{je as a,De as b,ze as c,Ke as d,We as e,Ne as f,Q as g,Fe as h,Oe as i,U as j,ke as k,we as l,J as m,Ve as n,$e as o,B as p,Ee as q,Me as r,Ae as s,Ce as t,He as u,Le as v,xe as w,ge as x,V as y}; diff --git a/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js.br b/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js.br deleted file mode 100644 index 499e739..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js.gz b/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js.gz deleted file mode 100644 index 1107bdb..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/disclose-version.BkQuOugj.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js b/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js deleted file mode 100644 index a16a8e9..0000000 --- a/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js +++ /dev/null @@ -1,3 +0,0 @@ -var st,it;import{aa as lt}from"./runtime.Zcp02Le-.js";import{w as ie}from"./index.CLvOz1r1.js";new URL("sveltekit-internal://");function ct(e,r){return e==="/"||r==="ignore"?e:r==="never"?e.endsWith("/")?e.slice(0,-1):e:r==="always"&&!e.endsWith("/")?e+"/":e}function ut(e){return e.split("%25").map(decodeURI).join("%25")}function ft(e){for(const r in e)e[r]=decodeURIComponent(e[r]);return e}function le({href:e}){return e.split("#")[0]}const dt=["href","pathname","search","toString","toJSON"];function pt(e,r,t){const n=new URL(e);Object.defineProperty(n,"searchParams",{value:new Proxy(n.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(t(s),a[o](s));r();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of dt)Object.defineProperty(n,a,{get(){return r(),e[a]},enumerable:!0,configurable:!0});return n}const ht="/__data.json",mt=".html__data.json";function gt(e){return e.endsWith(".html")?e.replace(/\.html$/,mt):e.replace(/\/$/,"")+ht}function yt(...e){let r=5381;for(const t of e)if(typeof t=="string"){let n=t.length;for(;n;)r=r*33^t.charCodeAt(--n)}else if(ArrayBuffer.isView(t)){const n=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let a=n.length;for(;a;)r=r*33^n[--a]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}function wt(e){const r=atob(e),t=new Uint8Array(r.length);for(let n=0;n((e instanceof Request?e.method:(r==null?void 0:r.method)||"GET")!=="GET"&&V.delete(ce(e)),xe(e,r));const V=new Map;function vt(e,r){const t=ce(e,r),n=document.querySelector(t);if(n!=null&&n.textContent){let{body:a,...o}=JSON.parse(n.textContent);const i=n.getAttribute("data-ttl");return i&&V.set(t,{body:a,init:o,ttl:1e3*Number(i)}),n.getAttribute("data-b64")!==null&&(a=wt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,r)}function bt(e,r,t){if(V.size>0){const n=ce(e,t),a=V.get(n);if(a){if(performance.now(){const n=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(t);if(n)return r.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(t);if(a)return r.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!t)return;const o=t.split(/\[(.+?)\](?!\])/);return"/"+o.map((i,s)=>{if(s%2){if(i.startsWith("x+"))return ue(String.fromCharCode(parseInt(i.slice(2),16)));if(i.startsWith("u+"))return ue(String.fromCharCode(...i.slice(2).split("-").map(d=>parseInt(d,16))));const l=kt.exec(i),[,u,f,h,p]=l;return r.push({name:h,matcher:p,optional:!!u,rest:!!f,chained:f?s===1&&o[0]==="":!1}),f?"(.*?)":u?"([^/]*)?":"([^/]+?)"}return ue(i)}).join("")}).join("")}/?$`),params:r}}function At(e){return!/^\([^)]+\)$/.test(e)}function Et(e){return e.slice(1).split("/").filter(At)}function Rt(e,r,t){const n={},a=e.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;sf).join("/"),i=0),u===void 0){l.rest&&(n[l.name]="");continue}if(!l.matcher||t[l.matcher](u)){n[l.name]=u;const f=r[s+1],h=a[s+1];f&&!f.rest&&f.optional&&h&&l.chained&&(i=0),!f&&!h&&Object.keys(n).length===o.length&&(i=0);continue}if(l.optional&&l.chained){i++;continue}return}if(!i)return n}function ue(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function xt({nodes:e,server_loads:r,dictionary:t,matchers:n}){const a=new Set(r);return Object.entries(t).map(([s,[l,u,f]])=>{const{pattern:h,params:p}=St(s),d={id:s,exec:y=>{const c=h.exec(y);if(c)return Rt(c,p,n)},errors:[1,...f||[]].map(y=>e[y]),layouts:[0,...u||[]].map(i),leaf:o(l)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const l=s<0;return l&&(s=~s),[l,e[s]]}function i(s){return s===void 0?s:[a.has(s),e[s]]}}function Ue(e,r=JSON.parse){try{return r(sessionStorage[e])}catch{}}function _e(e,r,t=JSON.stringify){const n=t(r);try{sessionStorage[e]=n}catch{}}const x=((st=globalThis.__sveltekit_igjhq7)==null?void 0:st.base)??"/dashboard",Ut=((it=globalThis.__sveltekit_igjhq7)==null?void 0:it.assets)??x,_t="1733993314339",Ce="sveltekit:snapshot",Pe="sveltekit:scroll",je="sveltekit:states",Ct="sveltekit:pageurl",I="sveltekit:history",q="sveltekit:navigation",H={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},F=location.origin;function Le(e){if(e instanceof URL)return e;let r=document.baseURI;if(!r){const t=document.getElementsByTagName("base");r=t.length?t[0].href:document.URL}return new URL(e,r)}function fe(){return{x:pageXOffset,y:pageYOffset}}function O(e,r){return e.getAttribute(`data-sveltekit-${r}`)}const Te={...H,"":H.hover};function Ie(e){let r=e.assignedSlot??e.parentNode;return(r==null?void 0:r.nodeType)===11&&(r=r.host),r}function Oe(e,r){for(;e&&e!==r;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ie(e)}}function de(e,r){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const n=e instanceof SVGAElement?e.target.baseVal:e.target,a=!t||!!n||z(t,r)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===F&&e.hasAttribute("download");return{url:t,external:a,target:n,download:o}}function K(e){let r=null,t=null,n=null,a=null,o=null,i=null,s=e;for(;s&&s!==document.documentElement;)n===null&&(n=O(s,"preload-code")),a===null&&(a=O(s,"preload-data")),r===null&&(r=O(s,"keepfocus")),t===null&&(t=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Ie(s);function l(u){switch(u){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Te[n??"off"],preload_data:Te[a??"off"],keepfocus:l(r),noscroll:l(t),reload:l(o),replace_state:l(i)}}function $e(e){const r=ie(e);let t=!0;function n(){t=!0,r.update(i=>i)}function a(i){t=!1,r.set(i)}function o(i){let s;return r.subscribe(l=>{(s===void 0||t&&l!==s)&&i(s=l)})}return{notify:n,set:a,subscribe:o}}function Pt(){const{set:e,subscribe:r}=ie(!1);let t;async function n(){clearTimeout(t);try{const a=await fetch(`${Ut}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==_t;return o&&(e(!0),clearTimeout(t)),o}catch{return!1}}return{subscribe:r,check:n}}function z(e,r){return e.origin!==F||!e.pathname.startsWith(r)}function Ne(e){const r=Lt(e),t=new ArrayBuffer(r.length),n=new DataView(t);for(let a=0;a>16),r+=String.fromCharCode((t&65280)>>8),r+=String.fromCharCode(t&255),t=n=0);return n===12?(t>>=4,r+=String.fromCharCode(t)):n===18&&(t>>=2,r+=String.fromCharCode((t&65280)>>8),r+=String.fromCharCode(t&255)),r}const Tt=-1,It=-2,Ot=-3,$t=-4,Nt=-5,Dt=-6;function Bt(e,r){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,n=Array(t.length);function a(o,i=!1){if(o===Tt)return;if(o===Ot)return NaN;if(o===$t)return 1/0;if(o===Nt)return-1/0;if(o===Dt)return-0;if(i)throw new Error("Invalid input");if(o in n)return n[o];const s=t[o];if(!s||typeof s!="object")n[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const l=s[0],u=r==null?void 0:r[l];if(u)return n[o]=u(a(s[1]));switch(l){case"Date":n[o]=new Date(s[1]);break;case"Set":const f=new Set;n[o]=f;for(let d=1;dr!=null)}class X{constructor(r,t){this.status=r,typeof t=="string"?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class Be{constructor(r,t){this.status=r,this.location=t}}class pe extends Error{constructor(r,t,n){super(n),this.status=r,this.text=t}}const Ft="x-sveltekit-invalidated",Wt="x-sveltekit-trailing-slash";function Y(e){return e instanceof X||e instanceof pe?e.status:500}function Mt(e){return e instanceof pe?e.text:"Internal Error"}const T=Ue(Pe)??{},W=Ue(Ce)??{},j={url:$e({}),page:$e({}),navigating:ie(null),updated:Pt()};function he(e){T[e]=fe()}function Jt(e,r){let t=e+1;for(;T[t];)delete T[t],t+=1;for(t=r+1;W[t];)delete W[t],t+=1}function $(e){return location.href=e.href,new Promise(()=>{})}async function Ve(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function qe(){}let Z,me,Q,L,ge,N;const Fe=[],ee=[];let U=null;const We=[],Gt=[];let D=[],w={branch:[],error:null,url:null},ye=!1,te=!1,Me=!0,M=!1,J=!1,Je=!1,we=!1,ve,R,_,C,re;const G=new Set;async function Ht(e,r,t){var a,o;document.URL!==location.href&&(location.href=location.href),N=e,Z=xt(e),L=document.documentElement,ge=r,me=e.nodes[0],Q=e.nodes[1],me(),Q(),R=(a=history.state)==null?void 0:a[I],_=(o=history.state)==null?void 0:o[q],R||(R=_=Date.now(),history.replaceState({...history.state,[I]:R,[q]:_},""));const n=T[R];n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y)),t?await tr(ge,t):Qt(location.href,{replaceState:!0}),er()}function Kt(){Fe.length=0,we=!1}function Ge(e){ee.some(r=>r==null?void 0:r.snapshot)&&(W[e]=ee.map(r=>{var t;return(t=r==null?void 0:r.snapshot)==null?void 0:t.capture()}))}function He(e){var r;(r=W[e])==null||r.forEach((t,n)=>{var a,o;(o=(a=ee[n])==null?void 0:a.snapshot)==null||o.restore(t)})}function Ke(){he(R),_e(Pe,T),Ge(_),_e(Ce,W)}async function ze(e,r,t,n){return oe({type:"goto",url:Le(e),keepfocus:r.keepFocus,noscroll:r.noScroll,replace_state:r.replaceState,state:r.state,redirect_count:t,nav_token:n,accept:()=>{r.invalidateAll&&(we=!0)}})}async function zt(e){if(e.id!==(U==null?void 0:U.id)){const r={};G.add(r),U={id:e.id,token:r,promise:Qe({...e,preload:r}).then(t=>(G.delete(r),t.type==="loaded"&&t.state.error&&(U=null),t))}}return U.promise}async function be(e){const r=Z.find(t=>t.exec(et(e)));r&&await Promise.all([...r.layouts,r.leaf].map(t=>t==null?void 0:t[1]()))}function Xe(e,r,t){var o;w=e.state;const n=document.querySelector("style[data-sveltekit]");n&&n.remove(),C=e.props.page,ve=new N.root({target:r,props:{...e.props,stores:j,components:ee},hydrate:t,sync:!1}),He(_);const a={from:null,to:{params:w.params,route:{id:((o=w.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};D.forEach(i=>i(a)),te=!0}function ne({url:e,params:r,branch:t,status:n,error:a,route:o,form:i}){let s="never";if(x&&(e.pathname===x||e.pathname===x+"/"))s="always";else for(const p of t)(p==null?void 0:p.slash)!==void 0&&(s=p.slash);e.pathname=ct(e.pathname,s),e.search=e.search;const l={type:"loaded",state:{url:e,params:r,branch:t,error:a,route:o},props:{constructors:qt(t).map(p=>p.node.component),page:C}};i!==void 0&&(l.props.form=i);let u={},f=!C,h=0;for(let p=0;p(s&&(l.route=!0),c[m])}),params:new Proxy(n,{get:(c,m)=>(s&&l.params.add(m),c[m])}),data:(o==null?void 0:o.data)??null,url:pt(t,()=>{s&&(l.url=!0)},c=>{s&&l.search_params.add(c)}),async fetch(c,m){let k;c instanceof Request?(k=c.url,m={body:c.method==="GET"||c.method==="HEAD"?void 0:await c.blob(),cache:c.cache,credentials:c.credentials,headers:[...c.headers].length?c.headers:void 0,integrity:c.integrity,keepalive:c.keepalive,method:c.method,mode:c.mode,redirect:c.redirect,referrer:c.referrer,referrerPolicy:c.referrerPolicy,signal:c.signal,...m}):k=c;const A=new URL(k,t);return s&&d(A.href),A.origin===t.origin&&(k=A.href.slice(t.origin.length)),te?bt(k,A.href,m):vt(k,m)},setHeaders:()=>{},depends:d,parent(){return s&&(l.parent=!0),r()},untrack(c){s=!1;try{return c()}finally{s=!0}}};i=await u.universal.load.call(null,y)??null}return{node:u,loader:e,server:o,universal:(h=u.universal)!=null&&h.load?{type:"data",data:i,uses:l}:null,data:i??(o==null?void 0:o.data)??null,slash:((p=u.universal)==null?void 0:p.trailingSlash)??(o==null?void 0:o.slash)}}function Ye(e,r,t,n,a,o){if(we)return!0;if(!a)return!1;if(a.parent&&e||a.route&&r||a.url&&t)return!0;for(const i of a.search_params)if(n.has(i))return!0;for(const i of a.params)if(o[i]!==w.params[i])return!0;for(const i of a.dependencies)if(Fe.some(s=>s(new URL(i))))return!0;return!1}function Se(e,r){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?r??null:null}function Xt(e,r){if(!e)return new Set(r.searchParams.keys());const t=new Set([...e.searchParams.keys(),...r.searchParams.keys()]);for(const n of t){const a=e.searchParams.getAll(n),o=r.searchParams.getAll(n);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&t.delete(n)}return t}function Ze({error:e,url:r,route:t,params:n}){return{type:"loaded",state:{error:e,url:r,route:t,params:n,branch:[]},props:{page:C,constructors:[]}}}async function Qe({id:e,invalidating:r,url:t,params:n,route:a,preload:o}){if((U==null?void 0:U.id)===e)return G.delete(U.token),U.promise;const{errors:i,layouts:s,leaf:l}=a,u=[...s,l];i.forEach(g=>g==null?void 0:g().catch(()=>{})),u.forEach(g=>g==null?void 0:g[1]().catch(()=>{}));let f=null;const h=w.url?e!==w.url.pathname+w.url.search:!1,p=w.route?a.id!==w.route.id:!1,d=Xt(w.url,t);let y=!1;const c=u.map((g,b)=>{var P;const S=w.branch[b],E=!!(g!=null&&g[0])&&((S==null?void 0:S.loader)!==g[1]||Ye(y,p,h,d,(P=S.server)==null?void 0:P.uses,n));return E&&(y=!0),E});if(c.some(Boolean)){try{f=await nt(t,c)}catch(g){const b=await B(g,{url:t,params:n,route:{id:e}});return G.has(o)?Ze({error:b,url:t,params:n,route:a}):ae({status:Y(g),error:b,url:t,route:a})}if(f.type==="redirect")return f}const m=f==null?void 0:f.nodes;let k=!1;const A=u.map(async(g,b)=>{var P;if(!g)return;const S=w.branch[b],E=m==null?void 0:m[b];if((!E||E.type==="skip")&&g[1]===(S==null?void 0:S.loader)&&!Ye(k,p,h,d,(P=S.universal)==null?void 0:P.uses,n))return S;if(k=!0,(E==null?void 0:E.type)==="error")throw E;return ke({loader:g[1],url:t,params:n,route:a,parent:async()=>{var Re;const Ee={};for(let se=0;se{});const v=[];for(let g=0;gPromise.resolve({}),server_data_node:Se(o)}),s={node:await Q(),loader:Q,universal:null,server:null,data:null};return ne({url:t,params:a,branch:[i,s],status:e,error:r,route:null})}function Ae(e,r){if(!e||z(e,x))return;let t;try{t=N.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const n=et(t);for(const a of Z){const o=a.exec(n);if(o)return{id:e.pathname+e.search,invalidating:r,route:a,params:ft(o),url:e}}}function et(e){return ut(e.slice(x.length)||"/")}function tt({url:e,type:r,intent:t,delta:n}){let a=!1;const o=ot(w,t,e,r);n!==void 0&&(o.navigation.delta=n);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return M||We.forEach(s=>s(i)),a?null:o}async function oe({type:e,url:r,popped:t,keepfocus:n,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:l={},accept:u=qe,block:f=qe}){const h=Ae(r,!1),p=tt({url:r,type:e,delta:t==null?void 0:t.delta,intent:h});if(!p){f();return}const d=R,y=_;u(),M=!0,te&&j.navigating.set(p.navigation),re=l;let c=h&&await Qe(h);if(!c){if(z(r,x))return await $(r);c=await rt(r,{id:null},await B(new pe(404,"Not Found",`Not found: ${r.pathname}`),{url:r,params:{},route:{id:null}}),404)}if(r=(h==null?void 0:h.url)||r,re!==l)return p.reject(new Error("navigation aborted")),!1;if(c.type==="redirect")if(s>=20)c=await ae({status:500,error:await B(new Error("Redirect loop"),{url:r,params:{},route:{id:null}}),url:r,route:{id:null}});else return ze(new URL(c.location,r).href,{},s+1,l),!1;else c.props.page.status>=400&&await j.updated.check()&&(await Ve(),await $(r));if(Kt(),he(d),Ge(y),c.props.page.url.pathname!==r.pathname&&(r.pathname=c.props.page.url.pathname),i=t?t.state:i,!t){const v=o?0:1,g={[I]:R+=v,[q]:_+=v,[je]:i};(o?history.replaceState:history.pushState).call(history,g,"",r),o||Jt(R,_)}if(U=null,c.props.page.state=i,te){w=c.state,c.props.page&&(c.props.page.url=r);const v=(await Promise.all(Gt.map(g=>g(p.navigation)))).filter(g=>typeof g=="function");if(v.length>0){let g=function(){D=D.filter(b=>!v.includes(b))};v.push(g),D.push(...v)}ve.$set(c.props),Je=!0}else Xe(c,ge,!1);const{activeElement:m}=document;await lt();const k=t?t.scroll:a?fe():null;if(Me){const v=r.hash&&document.getElementById(decodeURIComponent(r.hash.slice(1)));k?scrollTo(k.x,k.y):v?v.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!n&&!A&&rr(),Me=!0,c.props.page&&(C=c.props.page),M=!1,e==="popstate"&&He(_),p.fulfil(void 0),D.forEach(v=>v(p.navigation)),j.navigating.set(null)}async function rt(e,r,t,n){return e.origin===F&&e.pathname===location.pathname&&!ye?await ae({status:n,error:t,url:e,route:r}):await $(e)}function Zt(){let e;L.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(e),e=setTimeout(()=>{n(i,2)},20)});function r(o){o.defaultPrevented||n(o.composedPath()[0],1)}L.addEventListener("mousedown",r),L.addEventListener("touchstart",r,{passive:!0});const t=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(be(i.target.href),t.unobserve(i.target))},{threshold:0});function n(o,i){const s=Oe(o,L);if(!s)return;const{url:l,external:u,download:f}=de(s,x);if(u||f)return;const h=K(s),p=l&&w.url.pathname+w.url.search===l.pathname+l.search;if(!h.reload&&!p)if(i<=h.preload_data){const d=Ae(l,!1);d&&zt(d)}else i<=h.preload_code&&be(l.pathname)}function a(){t.disconnect();for(const o of L.querySelectorAll("a")){const{url:i,external:s,download:l}=de(o,x);if(s||l)continue;const u=K(o);u.reload||(u.preload_code===H.viewport&&t.observe(o),u.preload_code===H.eager&&be(i.pathname))}}D.push(a),a()}function B(e,r){if(e instanceof X)return e.body;const t=Y(e),n=Mt(e);return N.hooks.handleError({error:e,event:r,status:t,message:n})??{message:n}}function Qt(e,r={}){return e=Le(e),e.origin!==F?Promise.reject(new Error("goto: invalid URL")):ze(e,r,0)}function er(){var r;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Ke(),!M){const a=ot(w,void 0,null,"leave"),o={...a.navigation,cancel:()=>{n=!0,a.reject(new Error("navigation cancelled"))}};We.forEach(i=>i(o))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ke()}),(r=navigator.connection)!=null&&r.saveData||Zt(),L.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Oe(t.composedPath()[0],L);if(!n)return;const{url:a,external:o,target:i,download:s}=de(n,x);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const l=K(n);if(!(n instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;const[u,f]=a.href.split("#"),h=u===le(location);if(o||l.reload&&(!h||!f)){tt({url:a,type:"link"})?M=!0:t.preventDefault();return}if(f!==void 0&&h){const[,p]=w.url.href.split("#");if(p===f){if(t.preventDefault(),f===""||f==="top"&&n.ownerDocument.getElementById("top")===null)window.scrollTo({top:0});else{const d=n.ownerDocument.getElementById(decodeURIComponent(f));d&&(d.scrollIntoView(),d.focus())}return}if(J=!0,he(R),e(a),!l.replace_state)return;J=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),oe({type:"link",url:a,keepfocus:l.keepfocus,noscroll:l.noscroll,replace_state:l.replace_state??a.href===location.href})}),L.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formTarget)||n.target)==="_blank"||((a==null?void 0:a.formMethod)||n.method)!=="get")return;const o=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||n.action);if(z(o,x))return;const i=t.target,s=K(i);if(s.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(i),u=a==null?void 0:a.getAttribute("name");u&&l.append(u,(a==null?void 0:a.getAttribute("value"))??""),o.search=new URLSearchParams(l).toString(),oe({type:"form",url:o,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??o.href===location.href})}),addEventListener("popstate",async t=>{var n;if((n=t.state)!=null&&n[I]){const a=t.state[I];if(re={},a===R)return;const o=T[a],i=t.state[je]??{},s=new URL(t.state[Ct]??location.href),l=t.state[q],u=le(location)===le(w.url);if(l===_&&(Je||u)){e(s),T[R]=fe(),o&&scrollTo(o.x,o.y),i!==C.state&&(C={...C,state:i},ve.$set({page:C})),R=a;return}const f=a-R;await oe({type:"popstate",url:s,popped:{state:i,scroll:o,delta:f},accept:()=>{R=a,_=l},block:()=>{history.go(-f)},nav_token:re})}else if(!J){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[I]:++R,[q]:_},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&j.navigating.set(null)});function e(t){w.url=t,j.page.set({...C,url:t}),j.page.notify()}}async function tr(e,{status:r=200,error:t,node_ids:n,params:a,route:o,data:i,form:s}){ye=!0;const l=new URL(location.href);({params:a={},route:o={id:null}}=Ae(l,!1)||{});let u,f=!0;try{const h=n.map(async(y,c)=>{const m=i[c];return m!=null&&m.uses&&(m.uses=at(m.uses)),ke({loader:N.nodes[y],url:l,params:a,route:o,parent:async()=>{const k={};for(let A=0;Ay===o.id);if(d){const y=d.layouts;for(let c=0;co?"1":"0").join(""));const n=await xe(t.href);if(!n.ok){let o;throw(a=n.headers.get("content-type"))!=null&&a.includes("application/json")?o=await n.json():n.status===404?o="Not Found":n.status===500&&(o="Internal Error"),new X(n.status,o)}return new Promise(async o=>{var h;const i=new Map,s=n.body.getReader(),l=new TextDecoder;function u(p){return Bt(p,{Promise:d=>new Promise((y,c)=>{i.set(d,{fulfil:y,reject:c})})})}let f="";for(;;){const{done:p,value:d}=await s.read();if(p&&!f)break;for(f+=!d&&f?` -`:l.decode(d,{stream:!0});;){const y=f.indexOf(` -`);if(y===-1)break;const c=JSON.parse(f.slice(0,y));if(f=f.slice(y+1),c.type==="redirect")return o(c);if(c.type==="data")(h=c.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=at(m.uses),m.data=u(m.data))}),o(c);else if(c.type==="chunk"){const{id:m,data:k,error:A}=c,v=i.get(m);i.delete(m),A?v.reject(u(A)):v.fulfil(u(k))}}}})}function at(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function rr(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const r=document.body,t=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),t!==null?r.setAttribute("tabindex",t):r.removeAttribute("tabindex");const n=getSelection();if(n&&n.type!=="None"){const a=[];for(let o=0;o{if(n.rangeCount===a.length){for(let o=0;o{a=u,o=f});return i.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((s=e.route)==null?void 0:s.id)??null},url:e.url},to:t&&{params:(r==null?void 0:r.params)??null,route:{id:((l=r==null?void 0:r.route)==null?void 0:l.id)??null},url:t},willUnload:!r,type:n,complete:i},fulfil:a,reject:o}}export{Ht as a,j as s}; diff --git a/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js.br b/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js.br deleted file mode 100644 index 1424c7e..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js.gz b/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js.gz deleted file mode 100644 index 4c65e8f..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/entry.BCaYY7Xo.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js b/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js deleted file mode 100644 index 61d4f53..0000000 --- a/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js +++ /dev/null @@ -1 +0,0 @@ -import{c as o,l as t,a,u as l,b as r}from"./runtime.Zcp02Le-.js";function f(n){o===null&&t(),a&&o.l!==null?s(o).m.push(n):l(()=>{const u=r(n);if(typeof u=="function")return u})}function s(n){var u=n.l;return u.u??(u.u={a:[],b:[],m:[]})}export{f as o}; diff --git a/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js.br b/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js.br deleted file mode 100644 index 8bad196..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js.gz b/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js.gz deleted file mode 100644 index 492fed1..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/index-client.BrnsO-iP.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js b/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js deleted file mode 100644 index dfc7b19..0000000 --- a/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js +++ /dev/null @@ -1 +0,0 @@ -import{n as i,s as h}from"./runtime.Zcp02Le-.js";const n=[];function p(s,r=i){let o=null;const u=new Set;function c(e){if(h(s,e)&&(s=e,o)){const f=!n.length;for(const t of u)t[1](),n.push(t,s);if(f){for(let t=0;t{u.delete(t),u.size===0&&o&&(o(),o=null)}}return{set:c,update:l,subscribe:a}}export{p as w}; diff --git a/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js.br b/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js.br deleted file mode 100644 index 582a8b5..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js.gz b/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js.gz deleted file mode 100644 index 3b3a947..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/index.CLvOz1r1.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js b/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js deleted file mode 100644 index a78037c..0000000 --- a/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js +++ /dev/null @@ -1 +0,0 @@ -import{e as m}from"./runtime.Zcp02Le-.js";m(); diff --git a/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js.br b/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js.br deleted file mode 100644 index 2ece20e..0000000 --- a/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js.br +++ /dev/null @@ -1,2 +0,0 @@ - €import{e as m}from"./runtime.Zcp02Le-.js";m(); - \ No newline at end of file diff --git a/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js.gz b/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js.gz deleted file mode 100644 index 441419c..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/legacy.AuFFchOy.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js b/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js deleted file mode 100644 index d7b935d..0000000 --- a/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js +++ /dev/null @@ -1 +0,0 @@ -import{S as x,v as X,w as Y,x as h,y as Z,z as m,A as I,U as p,g as b,B as A,C as k,D as T,E as S,F as _,G as C,H as F,I as G,J as E,K as ee,L as re,M as te,N as ae,O as ne,P as H,Q as ie,R as se,T as ue,b as M,V as oe,W as le,X as ve,Y as fe,Z as ce,_ as de,$ as ge,a0 as J,a1 as pe,a as we,a2 as ye,a3 as me,a4 as be,i as L,a5 as he,a6 as Pe,a7 as xe}from"./runtime.Zcp02Le-.js";import{d as Oe}from"./disclose-version.BkQuOugj.js";function O(e,t=null,f){if(typeof e!="object"||e===null||x in e)return e;const c=T(e);if(c!==X&&c!==Y)return e;var s=new Map,o=S(e),d=h(0);o&&s.set("length",h(e.length));var g;return new Proxy(e,{defineProperty(u,r,a){(!("value"in a)||a.configurable===!1||a.enumerable===!1||a.writable===!1)&&Z();var n=s.get(r);return n===void 0?(n=h(a.value),s.set(r,n)):m(n,O(a.value,g)),!0},deleteProperty(u,r){var a=s.get(r);if(a===void 0)r in u&&s.set(r,h(p));else{if(o&&typeof r=="string"){var n=s.get("length"),i=Number(r);Number.isInteger(i)&&i=K.v&&m(K,R+1)}Q(d)}return!0},ownKeys(u){b(d);var r=Reflect.ownKeys(u).filter(i=>{var l=s.get(i);return l===void 0||l.v!==p});for(var[a,n]of s)n.v!==p&&!(a in u)&&r.push(a);return r},setPrototypeOf(){k()}})}function Q(e,t=1){m(e,e.v+t)}function U(e){return e!==null&&typeof e=="object"&&x in e?e[x]:e}function Ne(e,t){return Object.is(U(e),U(t))}function De(e,t,f,c=null,s=!1){E&&ee();var o=e,d=null,g=null,u=null,r=s?re:0;_(()=>{if(u===(u=!!t()))return;let a=!1;if(E){const n=o.data===te;u===n&&(o=ae(),ne(o),H(!1),a=!0)}u?(d?C(d):d=F(()=>f(o)),g&&G(g,()=>{g=null})):(g?C(g):c&&(g=F(()=>c(o))),d&&G(d,()=>{d=null})),a&&H(!0)},r),E&&(o=ie)}function V(e,t){return e===t||(e==null?void 0:e[x])===t}function Ke(e={},t,f,c){return se(()=>{var s,o;return ue(()=>{s=o,o=(c==null?void 0:c())||[],M(()=>{e!==f(...o)&&(t(e,...o),s&&V(f(...s),e)&&t(null,...s))})}),()=>{oe(()=>{o&&V(f(...o),e)&&t(null,...o)})}}),e}const Re={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function je(e,t,f){return new Proxy({props:e,exclude:t},Re)}function W(e){for(var t=A,f=A;t!==null&&!(t.f&(de|ge));)t=t.parent;try{return J(t),e()}finally{J(f)}}function Ie(e,t,f,c){var B;var s=(f&pe)!==0,o=!we||(f&ye)!==0,d=(f&me)!==0,g=(f&xe)!==0,u=!1,r;d?[r,u]=Oe(()=>e[t]):r=e[t];var a=x in e||be in e,n=((B=I(e,t))==null?void 0:B.set)??(a&&d&&t in e?v=>e[t]=v:void 0),i=c,l=!0,w=!1,P=()=>(w=!0,l&&(l=!1,g?i=M(c):i=c),i);r===void 0&&c!==void 0&&(n&&o&&le(),r=P(),n&&n(r));var y;if(o)y=()=>{var v=e[t];return v===void 0?P():(l=!0,w=!1,v)};else{var K=W(()=>(s?L:he)(()=>e[t]));K.f|=ve,y=()=>{var v=b(K);return v!==void 0&&(i=void 0),v===void 0?i:v}}if(!(f&fe))return y;if(n){var R=e.$$legacy;return function(v,D){return arguments.length>0?((!o||!D||R||u)&&n(D?y():v),v):y()}}var N=!1,z=!1,$=Pe(r),j=W(()=>L(()=>{var v=y(),D=b($);return N?(N=!1,z=!0,D):(z=!1,$.v=v)}));return s||(j.equals=ce),function(v,D){if(arguments.length>0){const q=D?b(j):o&&d?O(v):v;return j.equals(q)||(N=!0,m($,q),w&&i!==void 0&&(i=q),M(()=>b(j))),v}return b(j)}}export{O as a,Ke as b,Ne as c,De as i,Ie as p,je as r}; diff --git a/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js.br b/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js.br deleted file mode 100644 index 3764c6f..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js.gz b/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js.gz deleted file mode 100644 index d92ddbd..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/props.CzCUhsmr.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/runtime.Zcp02Le-.js b/hiqlite/static/_app/immutable/chunks/runtime.Zcp02Le-.js deleted file mode 100644 index 76410a8..0000000 --- a/hiqlite/static/_app/immutable/chunks/runtime.Zcp02Le-.js +++ /dev/null @@ -1 +0,0 @@ -var vt=Array.isArray,pt=Array.from,dt=Object.defineProperty,en=Object.getOwnPropertyDescriptor,jn=Object.getOwnPropertyDescriptors,ht=Object.prototype,yt=Array.prototype,qn=Object.getPrototypeOf;function wt(n){return typeof n=="function"}const _t=()=>{};function gt(n){return n()}function an(n){for(var t=0;t{C(t)}}function dn(n){return M(On,n,!1)}function Un(n){return M(F,n,!0)}function wr(n){return Yn(n)}function Yn(n,t=0){return M(F|Y|t,n,!0)}function _r(n,t=!0){return M(F|x,n,!0,t)}function $n(n){var t=n.teardown;if(t!==null){const r=_n,l=f;at(!0),J(null);try{t.call(null)}finally{at(r),J(l)}}}function Vn(n){var t=n.deriveds;if(t!==null){n.deriveds=null;for(var r=0;r{C(n),t&&t()})}function Zn(n,t){var r=n.length;if(r>0){var l=()=>--r||t();for(var e of n)e.out(l)}else t()}function hn(n,t,r){if(!(n.f&k)){if(n.f^=k,n.transitions!==null)for(const u of n.transitions)(u.is_global||r)&&t.push(u);for(var l=n.first;l!==null;){var e=l.next,a=(l.f&on)!==0||(l.f&x)!==0;hn(l,t,a?r:!1),l=e}}}function br(n){An(n,!0)}function An(n,t){if(n.f&k){Q(n)&&rn(n),n.f^=k;for(var r=n.first;r!==null;){var l=r.next,e=(r.f&on)!==0||(r.f&x)!==0;An(r,e?t:!1),r=l}if(n.transitions!==null)for(const a of n.transitions)(a.is_global||t)&&a.in()}}const mr=typeof requestIdleCallback>"u"?n=>setTimeout(n,1):requestIdleCallback;let X=!1,Z=!1,yn=[],wn=[];function nt(){X=!1;const n=yn.slice();yn=[],an(n)}function tt(){Z=!1;const n=wn.slice();wn=[],an(n)}function Er(n){X||(X=!0,queueMicrotask(nt)),yn.push(n)}function jr(n){Z||(Z=!0,mr(tt)),wn.push(n)}function qr(){X&&nt(),Z&&tt()}function rt(n){throw new Error("lifecycle_outside_component")}const lt=0,Or=1;let A=!1,nn=lt,G=!1,N=!1,_n=!1;function et(n){N=n}function at(n){_n=n}let P=[],I=0,f=null;function J(n){f=n}let o=null;function K(n){o=n}let b=null;function Tr(n){b=n}let d=null,_=0,O=null;function kr(n){O=n}let ut=0,B=!1,i=null;function ot(){return++ut}function tn(){return!R||i!==null&&i.l===null}function Q(n){var u,s;var t=n.f;if(t&E)return!0;if(t&L){var r=n.deps,l=(t&T)!==0;if(r!==null){var e;if(t&$){for(e=0;en.version)return!0}}l||m(n,y)}return!1}function Sr(n,t){for(var r=t;r!==null;){if(r.f&un)try{r.fn(n);return}catch{r.f^=un}r=r.parent}throw A=!1,n}function Cr(n){return(n.f&D)===0&&(n.parent===null||(n.parent.f&un)===0)}function gn(n,t,r,l){if(A){if(r===null&&(A=!1),Cr(t))throw n;return}r!==null&&(A=!0);{Sr(n,t);return}}function ft(n){var En;var t=d,r=_,l=O,e=f,a=B,u=b,s=i,h=n.f;d=null,_=0,O=null,f=h&(x|H)?null:n,B=!N&&(h&T)!==0,b=null,i=n.ctx;try{var w=(0,n.fn)(),c=n.deps;if(d!==null){var p;if(U(n,_),c!==null&&_>0)for(c.length=_+d.length,p=0;p1e3&&(I=0,Ot()),I++}function st(n){var t=n.length;if(t!==0){it();var r=N;N=!0;try{for(var l=0;l1001)return;const n=P;P=[],st(n),G||(I=0)}function ln(n){nn===lt&&(G||(G=!0,queueMicrotask(Mr)));for(var t=n;t.parent!==null;){t=t.parent;var r=t.f;if(r&(H|x)){if(!(r&y))return;t.f^=y}}P.push(t)}function ct(n,t){var r=n.first,l=[];n:for(;r!==null;){var e=r.f,a=(e&x)!==0,u=a&&(e&y)!==0,s=r.next;if(!u&&!(e&k))if(e&F){if(a)r.f^=y;else try{Q(r)&&rn(r)}catch(p){gn(p,r,null,r.ctx)}var h=r.first;if(h!==null){r=h;continue}}else e&On&&l.push(r);if(s===null){let p=r.parent;for(;p!==null;){if(n===p)break n;var w=p.next;if(w!==null){r=w;continue n}p=p.parent}}r=s}for(var c=0;c0||e.length>0)&&xn(),I=0,l}finally{nn=t,P=r}}async function Nr(){await Promise.resolve(),xn()}function Ir(n){var c;var t=n.f,r=(t&g)!==0;if(r&&t&D){var l=Jn(n);return pn(n),l}if(f!==null){b!==null&&b.includes(n)&&Pt();var e=f.deps;d===null&&e!==null&&e[_]===n?_++:d===null?d=[n]:d.push(n),O!==null&&o!==null&&o.f&y&&!(o.f&x)&&O.includes(n)&&(m(o,E),ln(o))}else if(r&&n.deps===null)for(var a=n,u=a.parent,s=a;u!==null;)if(u.f&g){var h=u;s=h,u=h.parent}else{var w=u;(c=w.deriveds)!=null&&c.includes(s)||(w.deriveds??(w.deriveds=[])).push(s);break}return r&&(a=n,Q(a)&&Kn(a)),n.v}function Br(n){const t=f;try{return f=null,n()}finally{f=t}}const Fr=~(E|L|y);function m(n,t){n.f=n.f&Fr|t}function Hr(n){return bn().get(n)}function Lr(n,t){return bn().set(n,t),t}function Rr(n){return bn().has(n)}function bn(n){return i===null&&rt(),i.c??(i.c=new Map(zr(i)||void 0))}function zr(n){let t=n.p;for(;t!==null;){const r=t.c;if(r!==null)return r;t=t.p}return null}function Gr(n,t=!1,r){i={p:i,c:null,e:null,m:!1,s:n,x:null,l:null},R&&!t&&(i.l={s:null,u:null,r1:[],r2:V(!1)})}function Jr(n){const t=i;if(t!==null){const u=t.e;if(u!==null){var r=o,l=f;t.e=null;try{for(var e=0;e{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/hiqlite/static/_app/immutable/chunks/stores.WsFAVpRw.js.br b/hiqlite/static/_app/immutable/chunks/stores.WsFAVpRw.js.br deleted file mode 100644 index d45a6a3..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/stores.WsFAVpRw.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/chunks/stores.WsFAVpRw.js.gz b/hiqlite/static/_app/immutable/chunks/stores.WsFAVpRw.js.gz deleted file mode 100644 index d72480f..0000000 Binary files a/hiqlite/static/_app/immutable/chunks/stores.WsFAVpRw.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js b/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js deleted file mode 100644 index ffc0d97..0000000 --- a/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CMw3RIvb.js","../chunks/disclose-version.BkQuOugj.js","../chunks/runtime.Zcp02Le-.js","../chunks/props.CzCUhsmr.js","../chunks/Resizable.BoQ8IQFb.js","../chunks/index.CLvOz1r1.js","../chunks/legacy.AuFFchOy.js","../assets/Resizable.CL-26DXk.css","../chunks/index-client.BrnsO-iP.js","../assets/0.B_IxWWsT.css","../nodes/1.BPPONmgD.js","../chunks/stores.WsFAVpRw.js","../chunks/entry.BCaYY7Xo.js","../nodes/2.CK3l_6Np.js","../assets/2.DlvN4sRK.css"])))=>i.map(i=>d[i]); -var J=s=>{throw TypeError(s)};var K=(s,l,p)=>l.has(s)||J("Cannot "+p);var h=(s,l,p)=>(K(s,l,"read from private field"),p?p.call(s):l.get(s)),I=(s,l,p)=>l.has(s)?J("Cannot add the same private member more than once"):l instanceof WeakSet?l.add(s):l.set(s,p),T=(s,l,p,b)=>(K(s,l,"write to private field"),b?b.call(s,p):l.set(s,p),p);import{J as M,K as at,F as nt,L as ct,H as it,Q as lt,I as ut,g as _,a4 as ht,z as A,a8 as dt,a9 as pt,a6 as mt,p as ft,d as vt,u as gt,aa as yt,j as O,k as _t,ab as V,q as $t,m as Et,t as wt,o as bt,i as q}from"../chunks/runtime.Zcp02Le-.js";import{h as Pt,m as xt,u as Lt,e as C,a as w,t as N,f as kt,b as Rt}from"../chunks/disclose-version.BkQuOugj.js";import{p as D,a as At,i as U,b as z}from"../chunks/props.CzCUhsmr.js";import{o as Ot}from"../chunks/index-client.BrnsO-iP.js";let Q,W,B,G,X,Y,St=(async()=>{var y,m;function s(f,t,o){M&&at();var i=f,n,a;nt(()=>{n!==(n=t())&&(a&&(ut(a),a=null),n&&(a=it(()=>o(i,n))))},ct),M&&(i=lt)}function l(f){return class extends p{constructor(t){super({component:f,...t})}}}class p{constructor(t){I(this,y);I(this,m);var a;var o=new Map,i=(e,r)=>{var c=mt(r);return o.set(e,c),c};const n=new Proxy({...t.props||{},$$events:{}},{get(e,r){return _(o.get(r)??i(r,Reflect.get(e,r)))},has(e,r){return r===ht?!0:(_(o.get(r)??i(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,c){return A(o.get(r)??i(r,c),c),Reflect.set(e,r,c)}});T(this,m,(t.hydrate?Pt:xt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((a=t==null?void 0:t.props)!=null&&a.$$host)||t.sync===!1)&&dt(),T(this,y,n.$$events);for(const e of Object.keys(h(this,m)))e==="$set"||e==="$destroy"||e==="$on"||pt(this,e,{get(){return h(this,m)[e]},set(r){h(this,m)[e]=r},enumerable:!0});h(this,m).$set=e=>{Object.assign(n,e)},h(this,m).$destroy=()=>{Lt(h(this,m))}}$set(t){h(this,m).$set(t)}$on(t,o){h(this,y)[t]=h(this,y)[t]||[];const i=(...n)=>o.call(this,...n);return h(this,y)[t].push(i),()=>{h(this,y)[t]=h(this,y)[t].filter(n=>n!==i)}}$destroy(){h(this,m).$destroy()}}y=new WeakMap,m=new WeakMap;let b,F,S,L;b="modulepreload",F=function(f,t){return new URL(f,t).href},S={},L=function(f,t,o){let i=Promise.resolve();if(t&&t.length>0){const a=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),r=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));i=Promise.allSettled(t.map(c=>{if(c=F(c,o),c in S)return;S[c]=!0;const $=c.endsWith(".css"),k=$?'[rel="stylesheet"]':"";if(o)for(let d=a.length-1;d>=0;d--){const u=a[d];if(u.href===c&&(!$||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${k}`))return;const g=document.createElement("link");if(g.rel=$?"stylesheet":b,$||(g.as="script"),g.crossOrigin="",g.href=c,r&&g.setAttribute("nonce",r),document.head.appendChild(g),$)return new Promise((d,u)=>{g.addEventListener("load",d),g.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${c}`)))})}))}function n(a){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=a,window.dispatchEvent(e),!e.defaultPrevented)throw a}return i.then(a=>{for(const e of a||[])e.status==="rejected"&&n(e.reason);return f().catch(n)})},B={};var Z=N('
'),tt=N(" ",1);function et(f,t){ft(t,!0);let o=D(t,"components",23,()=>[]),i=D(t,"data_0",3,null),n=D(t,"data_1",3,null);vt(()=>t.stores.page.set(t.page)),gt(()=>{t.stores,t.page,t.constructors,o(),t.form,i(),n(),t.stores.page.notify()});let a=V(!1),e=V(!1),r=V(null);Ot(()=>{const d=t.stores.page.subscribe(()=>{_(a)&&(A(e,!0),yt().then(()=>{A(r,At(document.title||"untitled page"))}))});return A(a,!0),d});const c=q(()=>t.constructors[1]);var $=tt(),k=O($);U(k,()=>t.constructors[1],d=>{var u=C();const P=q(()=>t.constructors[0]);var x=O(u);s(x,()=>_(P),(E,j)=>{z(j(E,{get data(){return i()},get form(){return t.form},children:(v,jt)=>{var H=C(),rt=O(H);s(rt,()=>_(c),(st,ot)=>{z(ot(st,{get data(){return n()},get form(){return t.form}}),R=>o()[1]=R,()=>{var R;return(R=o())==null?void 0:R[1]})}),w(v,H)},$$slots:{default:!0}}),v=>o()[0]=v,()=>{var v;return(v=o())==null?void 0:v[0]})}),w(d,u)},d=>{var u=C();const P=q(()=>t.constructors[0]);var x=O(u);s(x,()=>_(P),(E,j)=>{z(j(E,{get data(){return i()},get form(){return t.form}}),v=>o()[0]=v,()=>{var v;return(v=o())==null?void 0:v[0]})}),w(d,u)});var g=$t(k,2);U(g,()=>_(a),d=>{var u=Z(),P=Et(u);U(P,()=>_(e),x=>{var E=kt();wt(()=>Rt(E,_(r))),w(x,E)}),bt(u),w(d,u)}),w(f,$),_t()}X=l(et),G=[()=>L(()=>import("../nodes/0.CMw3RIvb.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),()=>L(()=>import("../nodes/1.BPPONmgD.js"),__vite__mapDeps([10,1,2,6,11,12,5]),import.meta.url),()=>L(()=>import("../nodes/2.CK3l_6Np.js"),__vite__mapDeps([13,1,2,6,4,3,5,7,11,12,14]),import.meta.url)],Y=[],Q={"/":[2]},W={handleError:({error:f})=>{console.error(f)},reroute:()=>{}}})();export{St as __tla,Q as dictionary,W as hooks,B as matchers,G as nodes,X as root,Y as server_loads}; diff --git a/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js.br b/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js.br deleted file mode 100644 index fbe6886..0000000 Binary files a/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js.gz b/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js.gz deleted file mode 100644 index a89b5e3..0000000 Binary files a/hiqlite/static/_app/immutable/entry/app.BFLoiWgp.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js b/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js new file mode 100644 index 0000000..13a66fa --- /dev/null +++ b/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CdaRn5WA.js","../chunks/DJmSGhnc.js","../chunks/WH8gHp3S.js","../chunks/UlN6PZgr.js","../chunks/Dzdjl--S.js","../chunks/CZNW28Sq.js","../assets/Resizable.CL-26DXk.css","../assets/0.B_IxWWsT.css","../nodes/1.CoAgpLdX.js","../chunks/B1VMp0bd.js","../nodes/2.nneC3ew4.js","../assets/2.Dvor9Abp.css"])))=>i.map(i=>d[i]); +var z=s=>{throw TypeError(s)};var G=(s,u,h)=>u.has(s)||z("Cannot "+h);var d=(s,u,h)=>(G(s,u,"read from private field"),h?h.call(s):u.get(s)),C=(s,u,h)=>u.has(s)?z("Cannot add the same private member more than once"):u instanceof WeakSet?u.add(s):u.set(s,h),I=(s,u,h,R)=>(G(s,u,"write to private field"),R?R.call(s,h):u.set(s,h),h);import{C as H,D as dt,B as ht,E as pt,K as ft,M as mt,L as vt,g as $,a7 as gt,v as S,aa as yt,X as $t,Q as _t,p as bt,u as Et,a as wt,ab as Pt,ac as Ot,i as T,j as Rt,ad as B,s as Lt,k as jt,l as kt,t as xt,h as M}from"../chunks/WH8gHp3S.js";import{h as At,m as St,u as Tt,a as O,t as J,c as U,b as Dt,s as Ct}from"../chunks/DJmSGhnc.js";import{p as V,a as It,i as q,b as K}from"../chunks/UlN6PZgr.js";let Y,N,Z,F,Q,tt,et,rt,st,Bt=(async()=>{var g,p;function s(i,t,a){H&&dt();var l=i,n,o;ht(()=>{n!==(n=t())&&(o&&(vt(o),o=null),n&&(o=ft(()=>a(l,n))))},pt),H&&(l=mt)}function u(i){return class extends h{constructor(t){super({component:i,...t})}}}class h{constructor(t){C(this,g);C(this,p);var o;var a=new Map,l=(e,r)=>{var c=_t(r);return a.set(e,c),c};const n=new Proxy({...t.props||{},$$events:{}},{get(e,r){return $(a.get(r)??l(r,Reflect.get(e,r)))},has(e,r){return r===gt?!0:($(a.get(r)??l(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,c){return S(a.get(r)??l(r,c),c),Reflect.set(e,r,c)}});I(this,p,(t.hydrate?At:St)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover})),(!((o=t==null?void 0:t.props)!=null&&o.$$host)||t.sync===!1)&&yt(),I(this,g,n.$$events);for(const e of Object.keys(d(this,p)))e==="$set"||e==="$destroy"||e==="$on"||$t(this,e,{get(){return d(this,p)[e]},set(r){d(this,p)[e]=r},enumerable:!0});d(this,p).$set=e=>{Object.assign(n,e)},d(this,p).$destroy=()=>{Tt(d(this,p))}}$set(t){d(this,p).$set(t)}$on(t,a){d(this,g)[t]=d(this,g)[t]||[];const l=(...n)=>a.call(this,...n);return d(this,g)[t].push(l),()=>{d(this,g)[t]=d(this,g)[t].filter(n=>n!==l)}}$destroy(){d(this,p).$destroy()}}g=new WeakMap,p=new WeakMap;let R,W,D,k;R="modulepreload",W=function(i,t){return new URL(i,t).href},D={},k=function(i,t,a){let l=Promise.resolve();if(t&&t.length>0){const o=document.getElementsByTagName("link"),e=document.querySelector("meta[property=csp-nonce]"),r=(e==null?void 0:e.nonce)||(e==null?void 0:e.getAttribute("nonce"));l=Promise.allSettled(t.map(c=>{if(c=W(c,a),c in D)return;D[c]=!0;const _=c.endsWith(".css"),x=_?'[rel="stylesheet"]':"";if(a)for(let b=o.length-1;b>=0;b--){const w=o[b];if(w.href===c&&(!_||w.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${x}`))return;const v=document.createElement("link");if(v.rel=_?"stylesheet":R,_||(v.as="script"),v.crossOrigin="",v.href=c,r&&v.setAttribute("nonce",r),document.head.appendChild(v),_)return new Promise((b,w)=>{v.addEventListener("load",b),v.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${c}`)))})}))}function n(o){const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=o,window.dispatchEvent(e),!e.defaultPrevented)throw o}return l.then(o=>{for(const e of o||[])e.status==="rejected"&&n(e.reason);return i().catch(n)})},tt={};var at=J('
'),ot=J(" ",1);function nt(i,t){bt(t,!0);let a=V(t,"components",23,()=>[]),l=V(t,"data_0",3,null),n=V(t,"data_1",3,null);Et(()=>t.stores.page.set(t.page)),wt(()=>{t.stores,t.page,t.constructors,a(),t.form,l(),n(),t.stores.page.notify()});let o=B(!1),e=B(!1),r=B(null);Pt(()=>{const f=t.stores.page.subscribe(()=>{$(o)&&(S(e,!0),Ot().then(()=>{S(r,It(document.title||"untitled page"))}))});return S(o,!0),f});const c=M(()=>t.constructors[1]);var _=ot(),x=T(_);{var v=f=>{var y=U();const L=M(()=>t.constructors[0]);var j=T(y);s(j,()=>$(L),(E,P)=>{K(P(E,{get data(){return l()},get form(){return t.form},children:(m,Mt)=>{var X=U(),it=T(X);s(it,()=>$(c),(lt,ut)=>{K(ut(lt,{get data(){return n()},get form(){return t.form}}),A=>a()[1]=A,()=>{var A;return(A=a())==null?void 0:A[1]})}),O(m,X)},$$slots:{default:!0}}),m=>a()[0]=m,()=>{var m;return(m=a())==null?void 0:m[0]})}),O(f,y)},b=f=>{var y=U();const L=M(()=>t.constructors[0]);var j=T(y);s(j,()=>$(L),(E,P)=>{K(P(E,{get data(){return l()},get form(){return t.form}}),m=>a()[0]=m,()=>{var m;return(m=a())==null?void 0:m[0]})}),O(f,y)};q(x,f=>{t.constructors[1]?f(v):f(b,!1)})}var w=Lt(x,2);{var ct=f=>{var y=at(),L=jt(y);{var j=E=>{var P=Dt();xt(()=>Ct(P,$(r))),O(E,P)};q(L,E=>{$(e)&&E(j)})}kt(y),O(f,y)};q(w,f=>{$(o)&&f(ct)})}O(i,_),Rt()}rt=u(nt),et=[()=>k(()=>import("../nodes/0.CdaRn5WA.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),()=>k(()=>import("../nodes/1.CoAgpLdX.js"),__vite__mapDeps([8,1,2,5,9]),import.meta.url),()=>k(()=>import("../nodes/2.nneC3ew4.js"),__vite__mapDeps([10,1,2,5,4,3,6,9,11]),import.meta.url)],st=[],Z={"/":[2]},Q={handleError:({error:i})=>{console.error(i)},reroute:()=>{},transport:{}},N=Object.fromEntries(Object.entries(Q.transport).map(([i,t])=>[i,t.decode])),F=!1,Y=(i,t)=>N[i](t)})();export{Bt as __tla,Y as decode,N as decoders,Z as dictionary,F as hash,Q as hooks,tt as matchers,et as nodes,rt as root,st as server_loads}; diff --git a/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js.br b/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js.br new file mode 100644 index 0000000..4b03f65 Binary files /dev/null and b/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js.br differ diff --git a/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js.gz b/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js.gz new file mode 100644 index 0000000..7f92a6a Binary files /dev/null and b/hiqlite/static/_app/immutable/entry/app.CbE_6k6R.js.gz differ diff --git a/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js b/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js deleted file mode 100644 index b1b6ba9..0000000 --- a/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.BCaYY7Xo.js";export{t as start}; diff --git a/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js.br b/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js.br deleted file mode 100644 index f6d966e..0000000 --- a/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js.br +++ /dev/null @@ -1,2 +0,0 @@ -‹!€import{a as t}from"../chunks/entry.BCaYY7Xo.js";export{t as start}; - \ No newline at end of file diff --git a/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js.gz b/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js.gz deleted file mode 100644 index f2ac92a..0000000 Binary files a/hiqlite/static/_app/immutable/entry/start.BAbzYkc5.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js b/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js new file mode 100644 index 0000000..b3dfa46 --- /dev/null +++ b/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/B1VMp0bd.js";export{t as start}; diff --git a/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js.br b/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js.br new file mode 100644 index 0000000..7025ddd Binary files /dev/null and b/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js.br differ diff --git a/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js.gz b/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js.gz new file mode 100644 index 0000000..446015e Binary files /dev/null and b/hiqlite/static/_app/immutable/entry/start.D0dFsjAM.js.gz differ diff --git a/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js b/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js deleted file mode 100644 index 0d02ab9..0000000 --- a/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js +++ /dev/null @@ -1,22 +0,0 @@ -import{a as l,t as y,v as ae,r as ie,k as re,b as A,w as le,f as R,e as ne}from"../chunks/disclose-version.BkQuOugj.js";import{p as Q,u as de,k as F,g as i,z as M,j as O,ab as z,q as b,m as g,o as m,t as C,aO as je,aP as D,i as ve,aQ as xe,aR as Se,aS as Ce}from"../chunks/runtime.Zcp02Le-.js";import{a as V,i as B,p as j}from"../chunks/props.CzCUhsmr.js";import{B as ce,t as Z,c as Le,s as se,a as $,h as Me,I as qe,b as Ae,r as Pe,d as ue,e as Ve,A as pe,f as oe,g as me,i as He,j as he,k as we,R as Ie,l as Te,m as ze,Q as Be,D as De}from"../chunks/Resizable.BoQ8IQFb.js";import{o as fe}from"../chunks/index-client.BrnsO-iP.js";import"../chunks/legacy.AuFFchOy.js";const Oe=!0,Re=Object.freeze(Object.defineProperty({__proto__:null,prerender:Oe},Symbol.toStringTag,{value:"Module"}));var Ee=y(`
`),Qe=y(`
`),Fe=y(" ",1);function Ne(a,e){Q(e,!0);const t="darkMode",[s,r]=Le({});let o=z(void 0);de(()=>{var n,k,p;const d=((k=(n=window==null?void 0:window.matchMedia)==null?void 0:n.call(window,"(prefers-color-scheme:dark)"))==null?void 0:k.matches)??!1;if(i(o)===void 0){const h=(p=window==null?void 0:window.localStorage)==null?void 0:p.getItem(t);if(h){let _=h==="true";i(o)===d&&localStorage.removeItem(t),M(o,_)}else M(o,V(d))}else i(o)?(document.body.classList.remove("light-theme"),document.body.classList.add("dark-theme")):(document.body.classList.remove("dark-theme"),document.body.classList.add("light-theme"));d===i(o)?localStorage.removeItem(t):localStorage.setItem(t,i(o).toString())});function L(){M(o,!i(o))}ce(a,{ariaLabel:"Change color theme",invisible:!0,onclick:L,children:(d,n)=>{var k=Fe(),p=O(k);B(p,()=>i(o)===!0,_=>{var x=Ee();Z(1,x,()=>r,()=>({key:"dark"})),Z(2,x,()=>s,()=>({key:"light"})),l(_,x)});var h=b(p,2);B(h,()=>i(o)===!1,_=>{var x=Qe();Z(1,x,()=>r,()=>({key:"light"})),Z(2,x,()=>s,()=>({key:"dark"})),l(_,x)}),l(d,k)},$$slots:{default:!0}}),F()}var Ue=y('
');function Ge(a){var e=Ue(),t=g(e);Ne(t,{}),m(e),l(a,e)}var Je=y("
");function We(a,e){Q(e,!0);let t=j(e,"method",3,"POST"),s=j(e,"isError",15);async function r(d){d.preventDefault();const n=d.currentTarget;if(n.reportValidity())s(!1);else{s(!0);return}const k=new FormData(n);let p=new URLSearchParams;if(k.forEach((_,x)=>{p.append(x,_.toString())}),e.onSubmit){e.onSubmit(n,p);return}const h=await fetch(n.action,{method:n.method,headers:{"Content-type":"application/x-www-form-urlencoded"},body:p});Me(h),e.onResponse&&(e.onResponse(h),h.ok&&n.reset())}var o=Je(),L=g(o);se(L,()=>e.children),m(o),C(()=>{$(o,"action",e.action),$(o,"method",t())}),ae("submit",o,r),l(a,o),F()}var Ye=ie(``);function Ke(a,e){let t=j(e,"opacity",8,.9),s=j(e,"width",8,"1.5rem");var r=Ye();$(r,"stroke-width",2),C(()=>{$(r,"width",s()),$(r,"opacity",t())}),l(a,r)}var Xe=ie(``);function Ze(a,e){let t=j(e,"color",8,"var(--col-err)"),s=j(e,"opacity",8,.9),r=j(e,"width",8,"1.5rem");var o=Xe();$(o,"stroke-width",2),C(()=>{$(o,"width",r()),$(o,"color",t()),$(o,"opacity",s())}),l(a,o)}function be(a,e){navigator.clipboard?navigator.clipboard.writeText(e()):console.error("Copy to clipboard is only available in secure contexts")}function ge(a,e){e()==="password"?e("text"):e("password")}function et(a){}function tt(a){a.code}var at=y('
'),it=y('
'),rt=y('
'),st=y('
',1);function ot(a,e){let t=j(e,"type",7,"password"),s=j(e,"name",3,"password"),r=j(e,"value",7,""),o=j(e,"label",3,"Password"),L=j(e,"autocomplete",3,"current-password"),d=j(e,"placeholder",3,"Password"),n=j(e,"title",3,"Password"),k=j(e,"disabled",3,!1),p=j(e,"min",3,"14"),h=j(e,"max",3,"128"),_=j(e,"required",3,!0),x=j(e,"width",3,"inherit"),c=j(e,"showCopy",3,!1),P=z(!1);function v(q){var J;const H=(J=q==null?void 0:q.currentTarget)==null?void 0:J.reportValidity();M(P,!H)}function w(q){q.preventDefault(),M(P,!0)}var I=st(),u=O(I),S=g(u),f=g(S);Pe(f),f.__input=[et],f.__keydown=[tt];var U=b(f,2),W=g(U);B(W,c,q=>{var H=at();H.__click=[be,r],H.__keydown=[be,r];var J=g(H);Ke(J,{}),m(H),l(q,H)});var T=b(W,2);T.__click=[ge,t],T.__keydown=[ge,t];var E=g(T);B(E,()=>t()==="password",q=>{Ze(q,{width:22})},q=>{qe(q,{width:22})}),m(T),m(U),m(S),m(u);var Y=b(u,2),G=g(Y),te=g(G,!0);m(G);var K=b(G,2);B(K,()=>i(P),q=>{var H=rt(),J=g(H);B(J,()=>!o(),_e=>{var $e=it();l(_e,$e)});var ye=b(J);m(H),C(()=>A(ye,` ${n()??""}`)),Z(3,H,()=>Ve),l(q,H)}),m(Y),C(()=>{ue(u,"width",x()),$(f,"type",t()),$(f,"id",e.id),$(f,"name",s()),$(f,"title",n()),$(f,"aria-label",n()),$(f,"autocomplete",L()),$(f,"placeholder",d()),f.disabled=k(),f.required=_()||void 0,$(f,"maxlength",e.maxLength||void 0),$(f,"min",p()||void 0),$(f,"max",h()||void 0),$(f,"pattern",e.pattern||void 0),ue(f,"padding-right",c()?"55px":"30px"),$(G,"for",e.id),$(G,"data-required",_()),A(te,o())}),ae("invalid",f,w),ae("blur",f,v),Ae(f,r),l(a,I)}re(["input","keydown","click"]);var lt=y(''),nt=y('
'),dt=y(" ",1),vt=y('
');function ct(a,e){Q(e,!0);const t=`${pe}/session`;let s=z(""),r=z(!1);async function o(k,p){M(s,""),M(r,!0),p.append("pow","NoPowUntilSvelte5ErrorFixed");const h=await fetch(t,{method:"POST",headers:{"Content-type":"application/x-www-form-urlencoded"},body:p});let _=await h.json();h.status===200?oe.set(_):M(s,V(Object.values(_)[0])),M(r,!1)}var L=vt();le(k=>{var p=lt();je.title="Login",l(k,p)});var d=g(L),n=g(d);We(n,{action:t,onSubmit:o,children:(k,p)=>{var h=dt(),_=O(h);ot(_,{id:"password",name:"password",autocomplete:"current-password",placeholder:"Password",title:"Valid Dashboard Password",required:!0});var x=b(_,2);ce(x,{type:"submit",level:1,get isLoading(){return i(r)},children:(P,v)=>{D();var w=R("Login");l(P,w)},$$slots:{default:!0}});var c=b(x,2);B(c,()=>i(s),P=>{var v=nt(),w=g(v,!0);m(v),C(()=>A(w,i(s))),l(P,v)}),l(k,h)},$$slots:{default:!0}}),m(d),m(L),l(a,L),F()}var X=(a=>(a.Table="table",a.Index="index",a.Trigger="view",a.View="trigger",a))(X||{}),ut=y("
",1),pt=y('

');function mt(a,e){Q(e,!0);let t=ve(()=>{var n;return(n=e.table.sql)==null?void 0:n.split(` -`)});var s=pt(),r=g(s),o=g(r,!0),L=b(o,2);m(r);var d=b(r,2);me(d,21,()=>i(t),He,(n,k)=>{D();var p=ut(),h=O(p,!0);D(),C(()=>A(h,i(k))),l(n,p)}),m(d),m(s),C(()=>{A(o,e.table.name),A(L,` ${e.table.typ??""}: ${e.table.tbl_name??""}`)}),l(a,s),F()}function ke(a,e,t){e(t.view)}var ht=y('
');function ee(a,e){let t=j(e,"viewSelected",15);var s=ht();s.__click=[ke,t,e],s.__keydown=[ke,t,e];var r=g(s,!0);m(s),C(()=>{he(s,`${(t()===e.view?"selected":"")??""} svelte-13ofdkm`),A(r,e.view)}),l(a,s)}re(["click","keydown"]);var wt=ie('');function ft(a,e){let t=j(e,"opacity",8,.9),s=j(e,"width",8,"1.5rem");var r=wt();$(r,"stroke-width",2),C(()=>{$(r,"width",s()),$(r,"opacity",t())}),l(a,r)}var bt=y('
'),gt=(a,e,t)=>e(i(t).name),kt=(a,e,t)=>e(i(t).name),yt=(a,e,t)=>e(i(t).name),_t=(a,e,t)=>e(i(t).name),$t=y('
'),jt=y('
'),xt=y('
',1);function St(a,e){Q(e,!0);let t=z(V([])),s=z(void 0),r=z(V(X.Table)),o=z(void 0);de(()=>{L(i(r))});async function L(u){let S=await we(`/tables/${u}`);S.status===200?M(t,V(await S.json())):M(o,V(await S.json()))}function d(u){M(s,V(i(t).filter(S=>S.name===u)[0]))}function n(u){let S={id:`${u}_${Te(4)}`,query:`${ze} -PRAGMA table_info(${u})`};Be.push(S),d(u)}var k=xt(),p=O(k);B(p,()=>i(o),u=>{var S=bt(),f=g(S,!0);m(S),C(()=>A(f,i(o))),l(u,S)});var h=b(p,2),_=g(h);ee(_,{get view(){return X.Table},get viewSelected(){return i(r)},set viewSelected(u){M(r,V(u))}});var x=b(_,2);ee(x,{get view(){return X.Index},get viewSelected(){return i(r)},set viewSelected(u){M(r,V(u))}});var c=b(x,2);ee(c,{get view(){return X.Trigger},get viewSelected(){return i(r)},set viewSelected(u){M(r,V(u))}});var P=b(c,2);ee(P,{get view(){return X.View},get viewSelected(){return i(r)},set viewSelected(u){M(r,V(u))}}),m(h);var v=b(h,2),w=g(v);Ie(w,{resizeBottom:!0,initialHeightPx:window?window.innerHeight-400:600,minHeightPx:120,children:(u,S)=>{var f=ne(),U=O(f);me(U,17,()=>i(t),W=>W.name,(W,T)=>{var E=jt();E.__click=[gt,d,T],E.__keydown=[kt,d,T];var Y=g(E),G=g(Y,!0);m(Y);var te=b(Y,2);B(te,()=>i(T).typ==="table",K=>{var q=$t();q.__click=[yt,n,T],q.__keydown=[_t,n,T];var H=g(q);ft(H,{}),m(q),l(K,q)}),m(E),C(()=>{var K;he(E,`${(((K=i(s))==null?void 0:K.name)===i(T).name?"entry selected":"entry")??""} svelte-trjj59`),A(G,i(T).name)}),l(W,E)}),l(u,f)},$$slots:{default:!0}});var I=b(w,2);B(I,()=>i(s),u=>{mt(u,{get table(){return i(s)}})}),m(v),l(a,k),F()}re(["click","keydown"]);var Ct=y('
');function N(a,e){Q(e,!0);var t=Ct(),s=g(t),r=g(s,!0);m(s);var o=b(s,2),L=g(o);se(L,()=>e.children),m(o),m(t),C(()=>A(r,e.label)),l(a,t),F()}var Lt=y('Metrics
',1);function Mt(a,e){Q(e,!0);let t=z(void 0),s=ve(()=>{var c;return(c=i(t))==null?void 0:c.membership_config.membership.configs.join(", ")});setInterval(()=>{r()},1e4),fe(()=>{r()});async function r(){let c=await we("/metrics");c.status===200?M(t,V(await c.json())):console.error(await c.json())}var o=Lt(),L=b(O(o),4);N(L,{label:"This Node",children:(c,P)=>{D();var v=R();C(()=>{var w,I;return A(v,`${((w=i(t))==null?void 0:w.id)??""} - ${((I=i(t))==null?void 0:I.state)??""}`)}),l(c,v)},$$slots:{default:!0}});var d=b(L,2);N(d,{label:"Current Leader",children:(c,P)=>{D();var v=R();C(()=>{var w;return A(v,(w=i(t))==null?void 0:w.current_leader)}),l(c,v)},$$slots:{default:!0}});var n=b(d,2);N(n,{label:"Vote Leader",children:(c,P)=>{D();var v=R();C(()=>{var w;return A(v,(w=i(t))==null?void 0:w.vote.leader_id.node_id)}),l(c,v)},$$slots:{default:!0}});var k=b(n,2);N(k,{label:"Last Log Index",children:(c,P)=>{D();var v=R();C(()=>{var w;return A(v,(w=i(t))==null?void 0:w.last_log_index)}),l(c,v)},$$slots:{default:!0}});var p=b(k,2);N(p,{label:"Last Applied Log",children:(c,P)=>{D();var v=R();C(()=>{var w,I,u,S,f,U;return A(v,`${((I=(w=i(t))==null?void 0:w.last_applied)==null?void 0:I.leader_id.node_id)??""} - - - ${((S=(u=i(t))==null?void 0:u.last_applied)==null?void 0:S.leader_id.term)??""} - - - ${((U=(f=i(t))==null?void 0:f.last_applied)==null?void 0:U.index)??""}`)}),l(c,v)},$$slots:{default:!0}});var h=b(p,2);N(h,{label:"Last Snapshot",children:(c,P)=>{D();var v=R();C(()=>{var w,I,u,S;return A(v,`${((I=(w=i(t))==null?void 0:w.snapshot)==null?void 0:I.leader_id)??""} - - - ${((S=(u=i(t))==null?void 0:u.snapshot)==null?void 0:S.index)??""}`)}),l(c,v)},$$slots:{default:!0}});var _=b(h,2);N(_,{label:"Members",children:(c,P)=>{D();var v=R();C(()=>A(v,i(s))),l(c,v)},$$slots:{default:!0}});var x=b(_,2);N(x,{label:"Millis Quorum Ack",children:(c,P)=>{D();var v=R();C(()=>{var w;return A(v,(w=i(t))==null?void 0:w.millis_since_quorum_ack)}),l(c,v)},$$slots:{default:!0}}),l(a,o),F()}var qt=y('');function At(a){var e=qt(),t=g(e);Mt(t,{}),m(e),l(a,e)}const Pt=(a,e,t)=>{if(xe(a))return Se(a);const s=e(t);return Ce(a,s),s},Vt=(a,e)=>Pt(a,Ht,e),Ht=a=>{let e=z(V(a));return{get value(){return i(e)},set value(t){M(e,V(t))}}};var It=y(''),Tt=y('
',1),zt=y(" ",1);function Bt(a,e){Q(e,!0);let t=z(void 0),s=z(!1);Vt("queries",[De]),oe.subscribe(d=>{M(t,V(d))}),fe(async()=>{let d=await fetch(`${pe}/session`);d.status===200&&oe.set(await d.json()),M(s,!0)});var r=zt();le(d=>{var n=It();l(d,n)});var o=O(r);B(o,()=>i(t),d=>{var n=Tt(),k=O(n),p=g(k);St(p,{}),m(k);var h=b(k,2),_=g(h),x=g(_);se(x,()=>e.children),m(_),m(h);var c=b(h,2);At(c),l(d,n)},d=>{var n=ne(),k=O(n);B(k,()=>i(s),p=>{ct(p,{})},null,!0),l(d,n)});var L=b(o,2);Ge(L),l(a,r),F()}export{Bt as component,Re as universal}; diff --git a/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js.br b/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js.br deleted file mode 100644 index ab3f166..0000000 Binary files a/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js.gz b/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js.gz deleted file mode 100644 index 6a36ccf..0000000 Binary files a/hiqlite/static/_app/immutable/nodes/0.CMw3RIvb.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js b/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js new file mode 100644 index 0000000..f4d9772 --- /dev/null +++ b/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js @@ -0,0 +1,22 @@ +import{a as v,t as k,p as ne,o as le,f as ve,s as T,q as ue,b as U,c as pe}from"../chunks/DJmSGhnc.js";import{p as F,a as we,j as N,g as s,v as M,i as O,ad as I,s as b,k as g,l as w,t as L,aQ as qe,aR as B,h as me,ab as he,aS as Pe,aT as Te,aU as Ae}from"../chunks/WH8gHp3S.js";import{a as A,i as R,p as j}from"../chunks/UlN6PZgr.js";import{B as be,t as te,c as Ve,s as de,a as $,h as He,r as Ie,b as Re,I as Be,d as ge,e as De,A as fe,f as ce,g as ke,i as Oe,j as _e,k as ye,l as $e,R as Ee,m as Ue,n as Ge,Q as Qe,D as ze}from"../chunks/Dzdjl--S.js";import"../chunks/CZNW28Sq.js";const Fe=!0,Ne=Object.freeze(Object.defineProperty({__proto__:null,prerender:Fe},Symbol.toStringTag,{value:"Module"}));var Xe=k(`
`),Ke=k(`
`),Ye=k(" ",1);function Je(a,e){F(e,!0);const t="darkMode",[o,i]=Ve({});let n=I(void 0);we(()=>{var m,d,u;const _=((d=(m=window==null?void 0:window.matchMedia)==null?void 0:m.call(window,"(prefers-color-scheme:dark)"))==null?void 0:d.matches)??!1;if(s(n)===void 0){const h=(u=window==null?void 0:window.localStorage)==null?void 0:u.getItem(t);if(h){let y=h==="true";s(n)===_&&localStorage.removeItem(t),M(n,y)}else M(n,A(_))}else s(n)?(document.body.classList.remove("light-theme"),document.body.classList.add("dark-theme")):(document.body.classList.remove("dark-theme"),document.body.classList.add("light-theme"));_===s(n)?localStorage.removeItem(t):localStorage.setItem(t,s(n).toString())});function C(){M(n,!s(n))}be(a,{ariaLabel:"Change color theme",invisible:!0,onclick:C,children:(_,m)=>{var d=Ye(),u=O(d);{var h=l=>{var f=Xe();te(1,f,()=>i,()=>({key:"dark"})),te(2,f,()=>o,()=>({key:"light"})),v(l,f)};R(u,l=>{s(n)===!0&&l(h)})}var y=b(u,2);{var S=l=>{var f=Ke();te(1,f,()=>i,()=>({key:"light"})),te(2,f,()=>o,()=>({key:"dark"})),v(l,f)};R(y,l=>{s(n)===!1&&l(S)})}v(_,d)},$$slots:{default:!0}}),N()}var We=k('
');function Ze(a){var e=We(),t=g(e);Je(t,{}),w(e),v(a,e)}var et=k("
");function tt(a,e){F(e,!0);let t=j(e,"method",3,"POST"),o=j(e,"isError",15);async function i(_){_.preventDefault();const m=_.currentTarget;if(m.reportValidity())o(!1);else{o(!0);return}const d=new FormData(m);let u=new URLSearchParams;if(d.forEach((y,S)=>{u.append(S,y.toString())}),e.onSubmit){e.onSubmit(m,u);return}const h=await fetch(m.action,{method:m.method,headers:{"Content-type":"application/x-www-form-urlencoded"},body:u});He(h),e.onResponse&&(e.onResponse(h),h.ok&&m.reset())}var n=et(),C=g(n);de(C,()=>e.children),w(n),L(()=>{$(n,"action",e.action),$(n,"method",t())}),ne("submit",n,i),v(a,n),N()}var at=le(``);function rt(a,e){let t=j(e,"opacity",8,.9),o=j(e,"width",8,"1.5rem");var i=at();$(i,"stroke-width",2),L(()=>{$(i,"width",o()),$(i,"opacity",t())}),v(a,i)}var st=le(``);function it(a,e){let t=j(e,"color",8,"var(--col-err)"),o=j(e,"opacity",8,.9),i=j(e,"width",8,"1.5rem");var n=st();$(n,"stroke-width",2),L(()=>{$(n,"width",i()),$(n,"color",t()),$(n,"opacity",o())}),v(a,n)}function je(a,e){navigator.clipboard?navigator.clipboard.writeText(e()):console.error("Copy to clipboard is only available in secure contexts")}function xe(a,e){e()==="password"?e("text"):e("password")}function ot(a){}function nt(a){a.code}var lt=k('
'),vt=k('
'),dt=k('
'),ct=k('
',1);function ut(a,e){let t=j(e,"type",7,"password"),o=j(e,"name",3,"password"),i=j(e,"value",7,""),n=j(e,"label",3,"Password"),C=j(e,"autocomplete",3,"current-password"),_=j(e,"placeholder",3,"Password"),m=j(e,"title",3,"Password"),d=j(e,"disabled",3,!1),u=j(e,"min",3,"14"),h=j(e,"max",3,"128"),y=j(e,"required",3,!0),S=j(e,"width",3,"inherit"),l=j(e,"showCopy",3,!1),f=I(!1);function c(x){var W;const H=(W=x==null?void 0:x.currentTarget)==null?void 0:W.reportValidity();M(f,!H)}function p(x){x.preventDefault(),M(f,!0)}var q=ct(),V=O(q),D=g(V),r=g(D);Ie(r),r.__input=[ot],r.__keydown=[nt];var P=b(r,2),K=g(P);{var se=x=>{var H=lt();H.__click=[je,i],H.__keydown=[je,i];var W=g(H);rt(W,{}),w(H),v(x,H)};R(K,x=>{l()&&x(se)})}var G=b(K,2);G.__click=[xe,t],G.__keydown=[xe,t];var E=g(G);{var Q=x=>{it(x,{width:22})},ee=x=>{Be(x,{width:22})};R(E,x=>{t()==="password"?x(Q):x(ee,!1)})}w(G),w(P),w(D),w(V);var ae=b(V,2),Y=g(ae),ie=g(Y,!0);w(Y);var z=b(Y,2);{var J=x=>{var H=dt(),W=g(H);{var Le=oe=>{var Me=vt();v(oe,Me)};R(W,oe=>{n()||oe(Le)})}var Ce=b(W);w(H),L(()=>T(Ce,` ${m()??""}`)),te(3,H,()=>De),v(x,H)};R(z,x=>{s(f)&&x(J)})}w(ae),L(()=>{ge(V,"width",S()),$(r,"type",t()),$(r,"id",e.id),$(r,"name",o()),$(r,"title",m()),$(r,"aria-label",m()),$(r,"autocomplete",C()),$(r,"placeholder",_()),r.disabled=d(),r.required=y()||void 0,$(r,"maxlength",e.maxLength||void 0),$(r,"min",u()||void 0),$(r,"max",h()||void 0),$(r,"pattern",e.pattern||void 0),ge(r,"padding-right",l()?"55px":"30px"),$(Y,"for",e.id),$(Y,"data-required",y()),T(ie,n())}),ne("invalid",r,p),ne("blur",r,c),Re(r,i),v(a,q)}ve(["input","keydown","click"]);var pt=k(''),wt=k('
'),mt=k(" ",1),ht=k('
');function bt(a,e){F(e,!0);const t=`${fe}/session`;let o=I(""),i=I(!1);async function n(d,u){M(o,""),M(i,!0),u.append("pow","NoPowUntilSvelte5ErrorFixed");const h=await fetch(t,{method:"POST",headers:{"Content-type":"application/x-www-form-urlencoded"},body:u});let y=await h.json();h.status===200?ce.set(y):M(o,A(Object.values(y)[0])),M(i,!1)}var C=ht();ue(d=>{var u=pt();qe.title="Login",v(d,u)});var _=g(C),m=g(_);tt(m,{action:t,onSubmit:n,children:(d,u)=>{var h=mt(),y=O(h);ut(y,{id:"password",name:"password",autocomplete:"current-password",placeholder:"Password",title:"Valid Dashboard Password",required:!0});var S=b(y,2);be(S,{type:"submit",level:1,get isLoading(){return s(i)},children:(c,p)=>{B();var q=U("Login");v(c,q)},$$slots:{default:!0}});var l=b(S,2);{var f=c=>{var p=wt(),q=g(p,!0);w(p),L(()=>T(q,s(o))),v(c,p)};R(l,c=>{s(o)&&c(f)})}v(d,h)},$$slots:{default:!0}}),w(_),w(C),v(a,C),N()}var Z=(a=>(a.Table="table",a.Index="index",a.Trigger="view",a.View="trigger",a))(Z||{}),gt=k("
",1),ft=k('

');function kt(a,e){F(e,!0);let t=me(()=>{var m;return(m=e.table.sql)==null?void 0:m.split(` +`)});var o=ft(),i=g(o),n=g(i,!0),C=b(n,2);w(i);var _=b(i,2);ke(_,21,()=>s(t),Oe,(m,d)=>{B();var u=gt(),h=O(u,!0);B(),L(()=>T(h,s(d))),v(m,u)}),w(_),w(o),L(()=>{T(n,e.table.name),T(C,` ${e.table.typ??""}: ${e.table.tbl_name??""}`)}),v(a,o),N()}function Se(a,e,t){e(t.view)}var _t=k('
');function re(a,e){let t=j(e,"viewSelected",15);var o=_t();o.__click=[Se,t,e],o.__keydown=[Se,t,e];var i=g(o,!0);w(o),L(()=>{_e(o,ye(t()===e.view?"selected":""),"svelte-13ofdkm"),T(i,e.view)}),v(a,o)}ve(["click","keydown"]);var yt=le('');function $t(a,e){let t=j(e,"opacity",8,.9),o=j(e,"width",8,"1.5rem");var i=yt();$(i,"stroke-width",2),L(()=>{$(i,"width",o()),$(i,"opacity",t())}),v(a,i)}var jt=k('
'),xt=(a,e,t)=>e(s(t).name),St=(a,e,t)=>e(s(t).name),Lt=(a,e,t)=>e(s(t).name),Ct=(a,e,t)=>e(s(t).name),Mt=k('
'),qt=k('
'),Pt=k('
',1);function Tt(a,e){F(e,!0);let t=I(A([])),o=I(void 0),i=I(A(Z.Table)),n=I(void 0);we(()=>{C(s(i))});async function C(r){let P=await $e(`/tables/${r}`);P.status===200?M(t,A(await P.json())):M(n,A(await P.json()))}function _(r){M(o,A(s(t).filter(P=>P.name===r)[0]))}function m(r){let P={id:`${r}_${Ue(4)}`,query:`${Ge} +PRAGMA table_info(${r})`};Qe.push(P),_(r)}var d=Pt(),u=O(d);{var h=r=>{var P=jt(),K=g(P,!0);w(P),L(()=>T(K,s(n))),v(r,P)};R(u,r=>{s(n)&&r(h)})}var y=b(u,2),S=g(y);re(S,{get view(){return Z.Table},get viewSelected(){return s(i)},set viewSelected(r){M(i,A(r))}});var l=b(S,2);re(l,{get view(){return Z.Index},get viewSelected(){return s(i)},set viewSelected(r){M(i,A(r))}});var f=b(l,2);re(f,{get view(){return Z.Trigger},get viewSelected(){return s(i)},set viewSelected(r){M(i,A(r))}});var c=b(f,2);re(c,{get view(){return Z.View},get viewSelected(){return s(i)},set viewSelected(r){M(i,A(r))}}),w(y);var p=b(y,2),q=g(p);Ee(q,{resizeBottom:!0,initialHeightPx:window?window.innerHeight-400:600,minHeightPx:120,children:(r,P)=>{var K=pe(),se=O(K);ke(se,17,()=>s(t),G=>G.name,(G,E)=>{var Q=qt();Q.__click=[xt,_,E],Q.__keydown=[St,_,E];var ee=g(Q),ae=g(ee,!0);w(ee);var Y=b(ee,2);{var ie=z=>{var J=Mt();J.__click=[Lt,m,E],J.__keydown=[Ct,m,E];var x=g(J);$t(x,{}),w(J),v(z,J)};R(Y,z=>{s(E).typ==="table"&&z(ie)})}w(Q),L(()=>{var z;_e(Q,ye(((z=s(o))==null?void 0:z.name)===s(E).name?"entry selected":"entry"),"svelte-trjj59"),T(ae,s(E).name)}),v(G,Q)}),v(r,K)},$$slots:{default:!0}});var V=b(q,2);{var D=r=>{kt(r,{get table(){return s(o)}})};R(V,r=>{s(o)&&r(D)})}w(p),v(a,d),N()}ve(["click","keydown"]);var At=k('
');function X(a,e){F(e,!0);var t=At(),o=g(t),i=g(o,!0);w(o);var n=b(o,2),C=g(n);de(C,()=>e.children),w(n),w(t),L(()=>T(i,e.label)),v(a,t),N()}var Vt=k('Metrics
',1);function Ht(a,e){F(e,!0);let t=I(void 0),o=me(()=>{var l;return(l=s(t))==null?void 0:l.membership_config.membership.configs.join(", ")});setInterval(()=>{i()},1e4),he(()=>{i()});async function i(){let l=await $e("/metrics");l.status===200?M(t,A(await l.json())):console.error(await l.json())}var n=Vt(),C=b(O(n),4);X(C,{label:"This Node",children:(l,f)=>{B();var c=U();L(()=>{var p,q;return T(c,`${((p=s(t))==null?void 0:p.id)??""} + ${((q=s(t))==null?void 0:q.state)??""}`)}),v(l,c)},$$slots:{default:!0}});var _=b(C,2);X(_,{label:"Current Leader",children:(l,f)=>{B();var c=U();L(()=>{var p;return T(c,(p=s(t))==null?void 0:p.current_leader)}),v(l,c)},$$slots:{default:!0}});var m=b(_,2);X(m,{label:"Vote Leader",children:(l,f)=>{B();var c=U();L(()=>{var p;return T(c,(p=s(t))==null?void 0:p.vote.leader_id.node_id)}),v(l,c)},$$slots:{default:!0}});var d=b(m,2);X(d,{label:"Last Log Index",children:(l,f)=>{B();var c=U();L(()=>{var p;return T(c,(p=s(t))==null?void 0:p.last_log_index)}),v(l,c)},$$slots:{default:!0}});var u=b(d,2);X(u,{label:"Last Applied Log",children:(l,f)=>{B();var c=U();L(()=>{var p,q,V,D,r,P;return T(c,`${((q=(p=s(t))==null?void 0:p.last_applied)==null?void 0:q.leader_id.node_id)??""} + - + ${((D=(V=s(t))==null?void 0:V.last_applied)==null?void 0:D.leader_id.term)??""} + - + ${((P=(r=s(t))==null?void 0:r.last_applied)==null?void 0:P.index)??""}`)}),v(l,c)},$$slots:{default:!0}});var h=b(u,2);X(h,{label:"Last Snapshot",children:(l,f)=>{B();var c=U();L(()=>{var p,q,V,D;return T(c,`${((q=(p=s(t))==null?void 0:p.snapshot)==null?void 0:q.leader_id)??""} + - + ${((D=(V=s(t))==null?void 0:V.snapshot)==null?void 0:D.index)??""}`)}),v(l,c)},$$slots:{default:!0}});var y=b(h,2);X(y,{label:"Members",children:(l,f)=>{B();var c=U();L(()=>T(c,s(o))),v(l,c)},$$slots:{default:!0}});var S=b(y,2);X(S,{label:"Millis Quorum Ack",children:(l,f)=>{B();var c=U();L(()=>{var p;return T(c,(p=s(t))==null?void 0:p.millis_since_quorum_ack)}),v(l,c)},$$slots:{default:!0}}),v(a,n),N()}var It=k('');function Rt(a){var e=It(),t=g(e);Ht(t,{}),w(e),v(a,e)}const Bt=(a,e,t)=>{if(Pe(a))return Te(a);const o=e(t);return Ae(a,o),o},Dt=(a,e)=>Bt(a,Ot,e),Ot=a=>{let e=I(A(a));return{get value(){return s(e)},set value(t){M(e,A(t))}}};var Et=k(''),Ut=k('
',1),Gt=k(" ",1);function Qt(a,e){F(e,!0);let t=I(void 0),o=I(!1);Dt("queries",[ze]),ce.subscribe(d=>{M(t,A(d))}),he(async()=>{let d=await fetch(`${fe}/session`);d.status===200&&ce.set(await d.json()),M(o,!0)});var i=Gt();ue(d=>{var u=Et();v(d,u)});var n=O(i);{var C=d=>{var u=Ut(),h=O(u),y=g(h);Tt(y,{}),w(h);var S=b(h,2),l=g(S),f=g(l);de(f,()=>e.children),w(l),w(S);var c=b(S,2);Rt(c),v(d,u)},_=d=>{var u=pe(),h=O(u);{var y=S=>{bt(S,{})};R(h,S=>{s(o)&&S(y)},!0)}v(d,u)};R(n,d=>{s(t)?d(C):d(_,!1)})}var m=b(n,2);Ze(m),v(a,i),N()}export{Qt as component,Ne as universal}; diff --git a/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js.br b/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js.br new file mode 100644 index 0000000..05dee15 Binary files /dev/null and b/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js.br differ diff --git a/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js.gz b/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js.gz new file mode 100644 index 0000000..d1cfa55 Binary files /dev/null and b/hiqlite/static/_app/immutable/nodes/0.CdaRn5WA.js.gz differ diff --git a/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js b/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js deleted file mode 100644 index d86c3ac..0000000 --- a/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js +++ /dev/null @@ -1 +0,0 @@ -import{s as v,a as d,t as j,b as p,c as k}from"../chunks/disclose-version.BkQuOugj.js";import"../chunks/legacy.AuFFchOy.js";import{d as q,u as m,b as x,r as y,f as u,g as l,c as $,h as w,i as z,p as A,j as B,t as C,k as D,m as g,o as h,q as E}from"../chunks/runtime.Zcp02Le-.js";import{p as F}from"../chunks/stores.WsFAVpRw.js";function G(r=!1){const a=$,s=a.l.u;if(!s)return;let f=()=>w(a.s);if(r){let o=0,t={};const i=z(()=>{let e=!1;const c=a.s;for(const n in c)c[n]!==t[n]&&(t[n]=c[n],e=!0);return e&&o++,o});f=()=>l(i)}s.b.length&&q(()=>{b(a,f),u(s.b)}),m(()=>{const o=x(()=>s.m.map(y));return()=>{for(const t of o)typeof t=="function"&&t()}}),s.a.length&&m(()=>{b(a,f),u(s.a)})}function b(r,a){if(r.l.s)for(const s of r.l.s)l(s);a()}var L=j("

",1);function _(r,a){A(a,!1);const s=v(),f=()=>k(F,"$page",s);G();var o=L(),t=B(o),i=g(t,!0);h(t);var e=E(t,2),c=g(e,!0);h(e),C(()=>{var n;p(i,f().status),p(c,(n=f().error)==null?void 0:n.message)}),d(r,o),D()}export{_ as component}; diff --git a/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js.br b/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js.br deleted file mode 100644 index b86abe9..0000000 Binary files a/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js.gz b/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js.gz deleted file mode 100644 index 8a3d014..0000000 Binary files a/hiqlite/static/_app/immutable/nodes/1.BPPONmgD.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js b/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js new file mode 100644 index 0000000..b3534e7 --- /dev/null +++ b/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js @@ -0,0 +1 @@ +import{a as k,t as j,s as p}from"../chunks/DJmSGhnc.js";import"../chunks/CZNW28Sq.js";import{u as x,a as i,b as y,r as q,c as g,g as l,d as w,f as z,h as A,p as B,i as C,t as D,j as E,k as h,l as d,s as F}from"../chunks/WH8gHp3S.js";import{s as G,p as a}from"../chunks/B1VMp0bd.js";function H(o=!1){const r=w,t=r.l.u;if(!t)return;let e=()=>z(r.s);if(o){let n=0,s={};const c=A(()=>{let u=!1;const m=r.s;for(const f in m)m[f]!==s[f]&&(s[f]=m[f],u=!0);return u&&n++,n});e=()=>l(c)}t.b.length&&x(()=>{b(r,e),g(t.b)}),i(()=>{const n=y(()=>t.m.map(q));return()=>{for(const s of n)typeof s=="function"&&s()}}),t.a.length&&i(()=>{b(r,e),g(t.a)})}function b(o,r){if(o.l.s)for(const t of o.l.s)l(t);r()}const I={get data(){return a.data},get error(){return a.error},get form(){return a.form},get params(){return a.params},get route(){return a.route},get state(){return a.state},get status(){return a.status},get url(){return a.url}};G.updated.check;const v=I;var N=j("

",1);function _(o,r){B(r,!1),H();var t=N(),e=C(t),n=h(e,!0);d(e);var s=F(e,2),c=h(s,!0);d(s),D(()=>{var u;p(n,v.status),p(c,(u=v.error)==null?void 0:u.message)}),k(o,t),E()}export{_ as component}; diff --git a/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js.br b/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js.br new file mode 100644 index 0000000..7baba73 Binary files /dev/null and b/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js.br differ diff --git a/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js.gz b/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js.gz new file mode 100644 index 0000000..6ad9736 Binary files /dev/null and b/hiqlite/static/_app/immutable/nodes/1.CoAgpLdX.js.gz differ diff --git a/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js b/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js deleted file mode 100644 index d7ccf91..0000000 --- a/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js +++ /dev/null @@ -1,12 +0,0 @@ -import{q as Lt,x as St,y as Ct,s as Tt,a as n,t as b,c as _t,e as te,v as rt,r as he,k as Me,b as ne,f as Xe,w as Bt}from"../chunks/disclose-version.BkQuOugj.js";import"../chunks/legacy.AuFFchOy.js";import{R as ct,T as Dt,p as pe,m as v,o as i,t as C,g as t,k as fe,i as re,u as se,j as F,ab as E,q,z as w,b as Ue,n as Ye,aP as Je,aO as jt}from"../chunks/runtime.Zcp02Le-.js";import{s as xe,a as d,n as $e,l as Ee,B as ge,r as vt,g as be,i as Le,d as me,b as Ot,o as zt,I as Mt,R as At,m as dt,p as It,j as qt,Q as le,q as Rt,D as Ut}from"../chunks/Resizable.BoQ8IQFb.js";import{c as Et,p,i as P,b as Ae,a as x}from"../chunks/props.CzCUhsmr.js";import{p as Wt}from"../chunks/stores.WsFAVpRw.js";function ut(o,e,r){if(o.multiple)return Qt(o,e);for(var s of o.options){var a=We(s);if(Et(a,e)){s.selected=!0;return}}(!r||e!==void 0)&&(o.selectedIndex=-1)}function Pt(o,e){ct(()=>{var r=new MutationObserver(()=>{var s=o.__value;ut(o,s)});return r.observe(o,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{r.disconnect()}})}function Ht(o,e,r=e){var s=!0;Lt(o,"change",()=>{var a;if(o.multiple)a=[].map.call(o.querySelectorAll(":checked"),We);else{var l=o.querySelector(":checked");a=l&&We(l)}r(a)}),ct(()=>{var a=e();if(ut(o,a,s),s&&a===void 0){var l=o.querySelector(":checked");l!==null&&(a=We(l),r(a))}o.__value=a,s=!1}),Pt(o)}function Qt(o,e){for(var r of o.options)r.selected=~e.indexOf(We(r))}function We(o){return"__value"in o?o.__value:o.value}function Vt(o,e,r,s=r){e.addEventListener("input",()=>{s(e[o])}),Dt(()=>{var a=r();if(e[o]!==a)if(a==null){var l=e[o];s(l)}else e[o]=a+""})}function Xt(o,e){St(window,["resize"],()=>Ct(()=>e(window[o])))}var Yt=b('');function ht(o,e){pe(e,!0);const r=Tt(),s=()=>_t(Wt,"$page",r);let a=p(e,"selectedStep",3,!1),l=p(e,"hideUnderline",3,!1),y=re(()=>{if(a())return"step";if(s().route.id===e.href.split("?")[0])return"page"});var f=Yt(),B=v(f),c=v(B);xe(c,()=>e.children),i(B),i(f),C(()=>{d(B,"href",e.href),d(B,"target",e.target),d(B,"aria-current",t(y)),$e(B,"hideUnderline",l())}),n(o,f),fe()}var Jt=b('
',1);function Fe(o,e){pe(e,!0);let r=p(e,"ref",15),s=p(e,"roleButton",3,"button"),a=p(e,"offsetLeft",3,"0px"),l=p(e,"offsetTop",3,"0px"),y=p(e,"close",15);const f=Ee(8),B=Ee(8);let c=E(void 0),A=E(!1);se(()=>{y(g)});function k(){if(r()&&t(c))if(e.absolute)t(c).style.top=l(),t(c).style.left=a();else{let M=r().getBoundingClientRect();t(c).style.top=`calc(${M.bottom+window.scrollY}px + ${l()})`,t(c).style.left=`calc(${M.left+window.scrollX}px + ${a()})`}else console.error("button and popover ref missing")}function g(){var M;(M=t(c))==null||M.hidePopover()}function z(M){var R;let T=M.newState;w(A,T==="open"),(R=e.onToggle)==null||R.call(e,T)}var D=Jt(),j=F(D);ge(j,{get ref(){return r()},set ref(M){r(M)},get role(){return s()},id:f,ariaControls:B,popovertarget:B,onclick:k,get invisible(){return e.btnInvisible},get isDisabled(){return e.btnDisabled},get onLeft(){return e.onLeft},get onRight(){return e.onRight},get onUp(){return e.onUp},get onDown(){return e.onDown},children:(M,T)=>{var R=te(),O=F(R);xe(O,()=>e.button),n(M,R)},$$slots:{default:!0}});var W=q(j,2);d(W,"id",B),d(W,"aria-labelledby",f);var H=v(W),N=v(H);P(N,()=>e.lazy,M=>{var T=te(),R=F(T);P(R,()=>t(A),O=>{var $=te(),S=F($);xe(S,()=>e.children),n(O,$)}),n(M,T)},M=>{var T=te(),R=F(T);xe(R,()=>e.children),n(M,T)}),i(H),i(W),Ae(W,M=>w(c,M),()=>t(c)),C(()=>d(W,"aria-label",e.ariaLabel)),rt("toggle",W,z),n(o,D),fe()}var Ft=he('');function Gt(o,e){let r=p(e,"color",8,"currentColor"),s=p(e,"opacity",8,.9),a=p(e,"width",8,"1.5rem");var l=Ft();d(l,"stroke-width",2),C(()=>{d(l,"stroke",r()),d(l,"width",a()),d(l,"opacity",s())}),n(o,l)}var Zt=he('');function Kt(o,e){let r=p(e,"opacity",8,.9),s=p(e,"width",8,"1.5rem");var a=Zt();d(a,"stroke-width",2),C(()=>{d(a,"width",s()),d(a,"opacity",r())}),n(o,a)}function Nt(o,e,r,s){var a,l,y;switch(o.code){case"Enter":e();break;case"Tab":(a=r.onTab)==null||a.call(r,s());break;case"ArrowUp":(l=r.onUp)==null||l.call(r,s());break;case"ArrowDown":(y=r.onDown)==null||y.call(r,s());break}}var er=b('
'),tr=b(""),rr=b(''),lr=b('
'),or=b('
'),ar=b('
');function nr(o,e){pe(e,!0);let r=p(e,"value",15,""),s=p(e,"option",15),a=p(e,"focus",15),l=p(e,"width",3,"100%");const y=Ee(8),f=Ee(8);let B=E(void 0),c=re(()=>e.datalist&&e.datalist.length>0?f:void 0);se(()=>{a(k)});function A(){var T;(T=e.onSearch)==null||T.call(e,r())}function k(){var T;(T=t(B))==null||T.focus()}var g=ar(),z=v(g);P(z,()=>e.options,T=>{var R=er(),O=v(R);pt(O,{ariaLabel:"Search Options",get options(){return e.options},get value(){return s()},set value($){s($)},borderless:!0}),i(R),n(T,R)});var D=q(z,2);vt(D),d(D,"id",y),D.__keydown=[Nt,A,e,r],Ae(D,T=>w(B,T),()=>t(B));var j=q(D,2);P(j,()=>e.datalist,T=>{var R=rr();d(R,"id",f),be(R,21,()=>e.datalist,Le,(O,$)=>{var S=tr(),L={};C(()=>{L!==(L=t($))&&(S.value=(S.__value=t($))==null?"":t($))}),n(O,S)}),i(R),n(T,R)});var W=q(j,2),H=v(W),N=v(H);ge(N,{ariaLabel:"Delete Search Input",invisible:!0,onclick:()=>r(""),children:(T,R)=>{Gt(T,{color:"hsl(var(--bg-high))",width:24})},$$slots:{default:!0}}),i(H),i(W);var M=q(W,2);P(M,()=>e.onSearch,T=>{var R=or(),O=v(R);ge(O,{ariaLabel:"Search",invisible:!0,onclick:A,children:($,S)=>{var L=lr(),m=v(L);Kt(m,{}),i(L),n($,L)},$$slots:{default:!0}}),i(R),n(T,R)}),i(g),C(()=>{me(g,"border",e.borderless?void 0:"1px solid hsl(var(--bg-high))"),me(g,"width",l()),d(D,"list",t(c))}),rt("focus",D,()=>{var T;return(T=e.onFocus)==null?void 0:T.call(e)}),Ot(D,r),n(o,g),fe()}Me(["keydown"]);var sr=he('');function lt(o,e){let r=p(e,"opacity",8,.9),s=p(e,"width",8,"1.5rem");var a=sr();d(a,"stroke-width",2),C(()=>{d(a,"width",s()),d(a,"opacity",r())}),n(o,a)}function ir(o,e,r,s,a){let l=o.code;l==="ArrowDown"?(o.preventDefault(),e()&&w(r,t(r)+1)):l==="ArrowUp"?(o.preventDefault(),e()&&w(r,t(r)-1)):l==="Enter"&&t(r)>-1?s(t(a)[t(r)]):l==="Enter"&&t(r)===-1&&t(a).length===1&&s(t(a)[0])}var cr=b('
'),vr=b('
'),dr=b('
'),ur=b(''),hr=b('');function pt(o,e){pe(e,!0);let r=p(e,"ref",15),s=p(e,"options",19,()=>[]),a=p(e,"value",15),l=p(e,"asPopover",3,!0),y=p(e,"borderless",3,!1),f=p(e,"withSearch",3,!1),B=p(e,"fallbackOptions",3,!1),c=E(void 0),A=E(x(B()?!1:l())),k=E(void 0),g=E(x(f()?-1:0)),z=E(void 0),D=E(""),j=re(()=>{if(!f())return s();if(typeof a()=="string")return s().filter($=>$.toLowerCase().includes(t(D).toLowerCase()));let O=Number.parseInt(t(D))||a();return s().filter($=>$===O)});se(()=>{t(A)!==l()&&w(A,x(l()))}),se(()=>{var O,$;if(t(g)===-1&&((O=t(c))==null||O.scrollTo({top:0,behavior:"smooth"})),f()){if(t(g)<0||t(g)>t(j).length-1){w(g,-1),($=t(z))==null||$();return}}else t(g)<0?w(g,t(j).length-1):t(g)>t(j).length-1&&w(g,0),W()});function W(){if(t(c)){let O=t(c).getElementsByTagName("button")[t(g)];O.scrollIntoView({behavior:"smooth",block:"center"}),O.focus()}else console.error("refOptions is undefined")}function H(O){var $;O==="open"&&(f()?(w(g,-1),($=t(z))==null||$()):(w(g,x(s().findIndex(S=>S===a())||0)),W()))}function N(){return t(j).length>0?!0:(w(g,-1),!1)}function M(O){a(O),w(D,""),setTimeout(()=>{var $;($=t(k))==null||$()},20)}var T=te(),R=F(T);P(R,()=>t(A),O=>{Fe(O,{get ref(){return r()},set ref($){r($)},get ariaLabel(){return e.ariaLabel},roleButton:"combobox",btnInvisible:!0,get close(){return t(k)},set close($){w(k,x($))},get offsetTop(){return e.offsetTop},get offsetLeft(){return e.offsetLeft},onToggle:H,get onLeft(){return e.onLeft},get onRight(){return e.onRight},get onUp(){return e.onUp},get onDown(){return e.onDown},button:$=>{var S=cr(),L=v(S),m=q(L),G=v(m);lt(G,{width:14}),i(m),i(S),C(()=>{d(S,"data-border",!y()),ne(L,`${a()??""} `)}),n($,S)},children:($,S)=>{var L=dr();L.__keydown=[ir,N,g,M,j];var m=v(L);P(m,f,oe=>{nr(oe,{get value(){return t(D)},set value(Z){w(D,x(Z))},get focus(){return t(z)},set focus(Z){w(z,x(Z))},onFocus:()=>w(g,-1)})});var G=q(m,2);be(G,21,()=>t(j),Le,(oe,Z,Te)=>{ge(oe,{invisible:!0,invisibleOutline:!0,onclick:()=>M(t(Z)),children:(_e,He)=>{var ie=vr(),ve=v(ie,!0);i(ie),C(()=>{d(ie,"aria-selected",a()===t(Z)),d(ie,"data-focus",t(g)===Te),ne(ve,t(Z))}),n(_e,ie)},$$slots:{default:!0}})}),i(G),Ae(G,oe=>w(c,oe),()=>t(c)),i(L),C(()=>me(L,"max-height",e.maxHeight)),n($,L)},$$slots:{button:!0,default:!0}})},O=>{var $=hr();be($,21,()=>t(j),Le,(S,L)=>{var m=ur(),G={},oe=v(m,!0);i(m),C(()=>{G!==(G=t(L))&&(m.value=(m.__value=t(L))==null?"":t(L)),m.selected=a()===t(L),ne(oe,t(L))}),n(S,m)}),i($),C(()=>{d($,"name",e.name),d($,"aria-label",e.ariaLabel),$e($,"borderless",y())}),Ht($,a),n(O,$)}),n(o,T),fe()}Me(["keydown"]);var pr=b(''),fr=b('
  • '),gr=b(''),br=b('
    Entries
    '),mr=b('
    '),wr=b('
    '),kr=b('
    ');function yr(o,e){pe(e,!0);const r=S=>{var L=gr(),m=v(L);be(m,21,()=>t(g),Le,(G,oe)=>{var Z=fr(),Te=v(Z);ge(Te,{invisible:!0,onclick:()=>j(t(oe)),onLeft:z,onRight:D,children:(_e,He)=>{var ie=pr(),ve=v(ie,!0);i(ie),C(()=>ne(ve,t(oe))),n(_e,ie)},$$slots:{default:!0}}),i(Z),C(()=>{d(Z,"aria-label",`go to page number: ${t(oe)}`),d(Z,"aria-current",y()===t(oe)?"step":void 0)}),n(G,Z)}),i(m),i(L),n(S,L)},s=S=>{var L=br(),m=v(L),G=q(v(m),2),oe=v(G);pt(oe,{ariaLabel:"Page Count",get value(){return f()},set value(_e){f(_e)},options:a,offsetTop:"-17rem",borderless:!0}),i(G),i(m);var Z=q(m,2),Te=v(Z);i(Z),i(L),C(()=>ne(Te,`Total: ${e.items.length??""}`)),n(S,L)},a=[5,7,10,15,20,30,50,100];let l=p(e,"itemsPaginated",15),y=p(e,"page",15,1),f=p(e,"pageSize",31,()=>x(a[0])),B=p(e,"compact",3,!1);const c=16;let A=Ue(()=>f()),k=E(x([])),g=E(x([]));se(()=>{f()!==A&&(A=Ue(()=>f()),y(1))}),se(()=>{let S=[];for(let L=0;L{W()});function z(){y()>1&&j(y()-1)}function D(){y()t(k).length-L-1)for(let m=t(k).length-f();m<=t(k).length-1;(m+=1)-1)S.push(m+1);else for(let m=y()-L;my()===1);ge(N,{onclick:z,invisible:!0,get isDisabled(){return t(M)},children:(S,L)=>{var m=mr(),G=v(m);lt(G,{width:c}),i(m),C(()=>d(m,"data-disabled",y()===1)),n(S,m)},$$slots:{default:!0}});var T=q(N,2);r(T);var R=q(T,2),O=re(()=>y()===t(k).length);ge(R,{onclick:D,invisible:!0,get isDisabled(){return t(O)},children:(S,L)=>{var m=wr(),G=v(m);lt(G,{width:c}),i(m),C(()=>d(m,"data-disabled",y()===t(k).length)),n(S,m)},$$slots:{default:!0}});var $=q(R,2);P($,()=>!B(),S=>{s(S)}),i(H),n(o,H),fe()}function xr(o,e){console.log(o.code),o.code==="Enter"&&e()}var $r=b('');function Pe(o,e){pe(e,!0);let r=p(e,"checked",15,!1),s=p(e,"ariaLabel",3,""),a=p(e,"borderColor",3,"hsl(var(--bg-high))");function l(){r(!r())}var y=$r(),f=v(y);vt(f),f.__click=l,f.__keydown=[xr,l];var B=q(f,2),c=v(B);xe(c,()=>e.children??Ye),i(B),i(y),C(()=>{d(f,"name",e.name),f.disabled=e.disabled,d(f,"aria-disabled",e.disabled),d(f,"aria-checked",r()),d(f,"aria-label",s()),me(f,"border-color",a())}),zt(f,r),n(o,y),fe()}Me(["click","keydown"]);var Lr=he(''),Sr=he('');function Cr(o,e){var r=te(),s=F(r);P(s,()=>e.checked,a=>{var l=Lr();d(l,"stroke-width",2),d(l,"width",20),d(l,"opacity",.9),n(a,l)},a=>{var l=Sr();d(l,"stroke-width",2),d(l,"width",20),d(l,"opacity",.9),n(a,l)}),n(o,r)}var Tr=he('');function _r(o,e){let r=p(e,"color",8,"currentColor"),s=p(e,"opacity",8,.9),a=p(e,"width",8,"1.5rem");var l=Tr();d(l,"stroke-width",2),C(()=>{d(l,"width",a()),d(l,"color",r()),d(l,"opacity",s())}),n(o,l)}var Br=he('');function Dr(o,e){let r=p(e,"color",8,"currentColor"),s=p(e,"opacity",8,.9),a=p(e,"width",8,"1.5rem");var l=Br();d(l,"stroke-width",2),C(()=>{d(l,"stroke",r()),d(l,"width",a()),d(l,"opacity",s())}),n(o,l)}var jr=he(``);function Or(o,e){let r=p(e,"color",8,"currentColor"),s=p(e,"opacity",8,.9),a=p(e,"width",8,"1.5rem");var l=jr();d(l,"stroke-width",2),C(()=>{d(l,"stroke",r()),d(l,"width",a()),d(l,"opacity",s())}),n(o,l)}async function zr(o){var e;await((e=navigator==null?void 0:navigator.clipboard)==null?void 0:e.writeText(o))}var Mr=he(``);function Ar(o,e){let r=p(e,"color",8,"currentColor"),s=p(e,"opacity",8,.9),a=p(e,"width",8,"1.5rem");var l=Mr();d(l,"stroke-width",2),C(()=>{d(l,"stroke",r()),d(l,"width",a()),d(l,"opacity",s())}),n(o,l)}var Ir=b(''),qr=b(' '),Rr=b(''),Ur=b(' ',1),Er=b(' '),Wr=b(' '),Pr=b(''),Hr=b(''),Qr=b(' '),Vr=b(' '),Xr=b(' '),Yr=b(''),Jr=b(' '),Fr=b(' '),Gr=b(''),Zr=b(''),Kr=b(''),Nr=b(''),el=b('
    '),tl=b('
    '),rl=b('
    '),ll=b('
    '),ol=b('
    '),al=b("
    "),nl=b('
    ');function sl(o,e){pe(e,!0);let r=p(e,"showColumns",31,()=>x(Array(e.columns.length).fill(!0))),s=p(e,"paginationCompact",3,!1),a=p(e,"paginationPageSize",3,15),l=p(e,"selectInitHide",3,!1),y=p(e,"minWidthColPx",3,50);const f="3rem",B="2rem";let c=x(m()),A=E(x(Ue(()=>c))),k=E(1),g=E(x(Ue(()=>a()))),z=E(!1),D=E(x(Array(e.rows.length).fill(!1))),j=re(()=>t(D).find(h=>h===!0)),W=E(void 0),H=E(x([])),N=E("up"),M=E(x([])),T=re(()=>e.paginationDisabled!==void 0?e.paginationDisabled:e.rows.lengthe.paginationDisabled||t(T)?e.rows.length:t(M)&&t(M).length?t(M).length:(t(k)!=1&&w(k,1),0)),O=x(Array(Ue(()=>c.length)).fill(void 0)),$=E(void 0),S=0,L=E(void 0);se(()=>{setTimeout(()=>{for(let h=1;h{let h=Array(e.rows.length).fill(!1);if(t(z)){let u;t(k)===1?u=0:u=(t(k)-1)*t(g);let _=Math.min(t(k)*t(g),e.rows.length);for(let U=u;U<_;(U+=1)-1)h[U]=!0}w(D,x(h))}),se(()=>{let h=e.paginationDisabled||t(T)?e.rows.length:t(M).length||0;w(H,x(Array(h).fill(()=>console.error("un-initialized popover close option"))))}),se(()=>{let h=[];for(let u=0;u{if(e.highlight!==void 0&&t($)){let h=e.highlight;!t(T)&&t(k)>1&&(h=e.highlight-(t(k)-1)*t(g)),w(L,x(h)),setTimeout(()=>{var u,_;(_=(u=t($))==null?void 0:u.getElementsByClassName("highlight")[0])==null||_.scrollIntoView({behavior:"smooth",block:"center"})},250)}else w(L,void 0)});function m(){let h=e.columns.map(_=>_.initialWidth),u=[...r()];return e.select&&(h=[f,...h],u=[!l(),...u]),e.options&&(h=[...h,B],u=[...u,!0]),r(u),h}function G(){return t(A).join(" ")}function oe(h,u){w(D,x(Array(e.rows.length).fill(!1)));let _=1;t(N)==="up"?(_=-1,w(N,"down")):w(N,"up"),u==="string"?e.rows.sort((U,K)=>U[h].content.localeCompare(K[h].content)*_):u==="number"&&e.rows.sort((U,K)=>(U[h].content-K[h].content)*_)}function Z(h){return!t(T)&&t(k)>1?(t(k)-1)*t(g)+h:h}function Te(h){S=h;let u=O[h];u?(ie(u.getBoundingClientRect().width),window.addEventListener("mousemove",He),window.addEventListener("mouseup",_e,{once:!0})):console.error("invalid ref from refCols in onMouseDown")}function _e(){window.removeEventListener("mousemove",He)}function He(h){let u=O[S];if(u){let _=u.getBoundingClientRect().left,U=window.scrollX+h.x-_;ie(U)}else console.error("invalid ref from refCols in onMove")}function ie(h){h=Math.ceil(h),hme(Ze,"grid-template-columns",t(bt)));var ot=v(Ze);P(ot,()=>e.select&&r()[0],h=>{var u=qr(),_=v(u);Pe(_,{ariaLabel:"Select All",get checked(){return t(z)},set checked(ee){w(z,x(ee))},borderColor:"hsla(var(--text), .4)"});var U=q(_,2),K=re(()=>!t(j));Fe(U,{ariaLabel:"Selected Options",get close(){return t(W)},set close(ee){w(W,x(ee))},get btnDisabled(){return t(K)},btnInvisible:!0,button:ee=>{var X=Ir(),Q=v(X);_r(Q,{width:"1rem"}),i(X),C(()=>d(X,"data-disabled",!t(j))),n(ee,X)},children:(ee,X)=>{var Q=te(),ae=F(Q);xe(ae,()=>e.select,()=>t(D),()=>t(W)),n(ee,Q)},$$slots:{button:!0,default:!0}}),i(u),n(h,u)});var at=q(ot);be(at,17,()=>e.columns,Le,(h,u,_)=>{var U=te(),K=F(U);P(K,()=>r()[e.select?_+1:_],ee=>{var X=Wr(),Q=v(X),ae=v(Q);P(ae,()=>t(u).orderType,V=>{var Y=Ur(),ce=F(Y),de=v(ce,!0);i(ce);var Be=q(ce,2);ge(Be,{invisible:!0,onclick:()=>oe(_,t(u).orderType),children:(Ne,De)=>{var Se=Rr(),Ie=v(Se);Dr(Ie,{width:"1rem"}),i(Se),n(Ne,Se)},$$slots:{default:!0}}),C(()=>ne(de,t(u).content)),n(V,Y)},V=>{var Y=Er(),ce=v(Y,!0);i(Y),C(()=>ne(ce,t(u).content)),n(V,Y)}),i(Q);var J=q(Q,2),I=v(J);I.__mousedown=()=>Te(_),i(J),i(X),Ae(X,(V,Y)=>O[Y]=V,V=>O==null?void 0:O[V],()=>[_]),n(ee,X)}),n(h,U)});var mt=q(at);P(mt,()=>e.options&&r()[r().length-1],h=>{var u=Pr(),_=v(u);Or(_,{width:"1.2rem"}),i(u),n(h,u)}),i(Ze),i(Ge);var Qe=q(Ge);{const h=(u,_=Ye,U=Ye)=>{var K=Nr();const ee=re(G);C(()=>me(K,"grid-template-columns",t(ee)));var X=v(K);P(X,()=>e.select&&r()[0],J=>{var I=Hr(),V=v(I);Pe(V,{ariaLabel:"Select Row",get checked(){return t(D)[Z(U())]},set checked(Y){t(D)[Z(U())]=Y}}),i(I),n(J,I)});var Q=q(X);be(Q,17,_,Le,(J,I,V)=>{var Y=te(),ce=F(Y);P(ce,()=>r()[e.select?V+1:V],de=>{var Be=Gr(),Ne=v(Be);P(Ne,()=>{var De;return((De=e.columns[V])==null?void 0:De.showAs)==="a"},De=>{var Se=re(()=>t(I).href||"");ht(De,{get href(){return t(Se)},children:(Ie,je)=>{var we=Qr(),qe=v(we,!0);i(we),C(()=>{$e(we,"muted",t(I).muted),ne(qe,t(I).content)}),n(Ie,we)},$$slots:{default:!0}})},De=>{var Se=te(),Ie=F(Se);P(Ie,()=>{var je;return((je=e.columns[V])==null?void 0:je.showAs)==="a_blank"},je=>{var we=re(()=>t(I).href||"");ht(je,{get href(){return t(we)},target:"_blank",children:(qe,Oe)=>{var ke=Vr(),Ve=v(ke,!0);i(ke),C(()=>{$e(ke,"muted",t(I).muted),ne(Ve,t(I).content)}),n(qe,ke)},$$slots:{default:!0}})},je=>{var we=te(),qe=F(we);P(qe,()=>{var Oe;return((Oe=e.columns[V])==null?void 0:Oe.showAs)==="copyToClip"},Oe=>{ge(Oe,{invisible:!0,onclick:()=>zr(t(I).content.toString()),children:(ke,Ve)=>{var ue=Xr(),ye=v(ue,!0);i(ue),C(()=>{$e(ue,"muted",t(I).muted),ne(ye,t(I).content)}),n(ke,ue)},$$slots:{default:!0}})},Oe=>{var ke=te(),Ve=F(ke);P(Ve,()=>{var ue;return((ue=e.columns[V])==null?void 0:ue.showAs)==="check"},ue=>{var ye=Yr(),et=v(ye);Cr(et,{get checked(){return t(I).content}}),i(ye),C(()=>$e(ye,"muted",t(I).muted)),n(ue,ye)},ue=>{var ye=te(),et=F(ye);P(et,()=>t(I).onClick,tt=>{ge(tt,{invisible:!0,onclick:Ce=>{var Re,ze;return(ze=(Re=t(I)).onClick)==null?void 0:ze.call(Re,Ce,Z(U()))},children:(Ce,Re)=>{var ze=Jr(),$t=v(ze,!0);i(ze),C(()=>{$e(ze,"muted",t(I).muted),ne($t,t(I).content)}),n(Ce,ze)},$$slots:{default:!0}})},tt=>{var Ce=Fr(),Re=v(Ce,!0);i(Ce),C(()=>{$e(Ce,"muted",t(I).muted),ne(Re,t(I).content)}),n(tt,Ce)},!0),n(ue,ye)},!0),n(Oe,ke)},!0),n(je,we)},!0),n(De,Se)}),i(Be),n(de,Be)}),n(J,Y)});var ae=q(Q);P(ae,()=>e.options&&r()[r().length-1],J=>{var I=Kr(),V=v(I);Fe(V,{ariaLabel:"Options",get close(){return t(H)[U()]},set close(Y){t(H)[U()]=Y},btnInvisible:!0,get offsetLeft(){return e.offsetLeftOptions},get offsetTop(){return e.offsetTopOptions},button:Y=>{var ce=Zr(),de=v(ce);Ar(de,{}),i(ce),n(Y,ce)},children:(Y,ce)=>{var de=te(),Be=F(de);xe(Be,()=>e.options,_,()=>t(H)[U()]),n(Y,de)},$$slots:{button:!0,default:!0}}),i(I),n(J,I)}),i(K),C(()=>$e(K,"highlight",t(L)===U())),n(u,K)};var wt=v(Qe);P(wt,()=>t(T),u=>{var _=te(),U=F(_);P(U,()=>t(D).length===e.rows.length,K=>{var ee=te(),X=F(ee);be(X,17,()=>e.rows,Le,(Q,ae,J)=>{h(Q,()=>t(ae),()=>J)}),n(K,ee)}),n(u,_)},u=>{var _=te(),U=F(_);be(U,17,()=>t(M),Le,(K,ee,X)=>{h(K,()=>t(ee),()=>X)}),n(u,_)}),i(Qe),Ae(Qe,u=>w($,u),()=>t($))}var nt=q(Qe),st=v(nt),it=v(st),kt=re(()=>`-${c.length*1.4+3}rem`);Fe(it,{ariaLabel:"Select Columns",get offsetTop(){return t(kt)},btnInvisible:!0,button:h=>{var u=el(),_=v(u);Mt(_,{}),i(u),n(h,u)},children:(h,u)=>{var _=ol(),U=v(_);P(U,()=>e.select,X=>{var Q=tl(),ae=v(Q);Pe(ae,{ariaLabel:"Select Column: Select",get checked(){return r()[0]},set checked(J){r(r()[0]=J,!0)},children:(J,I)=>{Je();var V=Xe("Select");n(J,V)},$$slots:{default:!0}}),i(Q),n(X,Q)});var K=q(U,2);be(K,17,()=>e.columns,Le,(X,Q,ae)=>{var J=rl(),I=v(J),V=re(()=>`Select Column: ${t(Q).content}`);Pe(I,{get ariaLabel(){return t(V)},get checked(){return r()[e.select?ae+1:ae]},set checked(Y){r(r()[e.select?ae+1:ae]=Y,!0)},children:(Y,ce)=>{Je();var de=Xe();C(()=>ne(de,t(Q).content)),n(Y,de)},$$slots:{default:!0}}),i(J),n(X,J)});var ee=q(K,2);P(ee,()=>e.options,X=>{var Q=ll(),ae=v(Q);Pe(ae,{ariaLabel:"Select Column: Options",get checked(){return r()[r().length-1]},set checked(J){r(r()[r().length-1]=J,!0)},children:(J,I)=>{Je();var V=Xe("Options");n(J,V)},$$slots:{default:!0}}),i(Q),n(X,Q)}),i(_),n(h,_)},$$slots:{button:!0,default:!0}});var Ke=q(it,2),yt=v(Ke);xe(yt,()=>e.caption??Ye),i(Ke);var xt=q(Ke,2);P(xt,()=>t(T),h=>{var u=al();n(h,u)},h=>{yr(h,{get items(){return e.rows},get itemsPaginated(){return t(M)},set itemsPaginated(u){w(M,x(u))},get page(){return t(k)},set page(u){w(k,x(u))},get pageSize(){return t(g)},set pageSize(u){w(g,x(u))},get compact(){return s()}})}),i(st),i(nt),i(ve),C(()=>{d(ve,"aria-colcount",c.length),d(ve,"aria-rowcount",t(R)),me(ve,"width",e.width),me(ve,"max-width",e.maxWidth)}),n(o,ve),fe()}Me(["mousedown"]);var il=b("

    no results

    ");function cl(o,e){pe(e,!0);let r=E(x([])),s=E(x([]));se(()=>{let c=[],A=[];if(e.rows.length>0){for(let k of e.rows[0].columns)c.push({content:k.name,initialWidth:"12rem",orderType:l(k.value)});for(let k of e.rows){let g=[];for(let z of k.columns)g.push({content:y(z.value)});A.push(g)}}w(r,x(c)),w(s,x(A))});function a(c){return[...new Uint8Array(c)].map(A=>A.toString(16).padStart(2,"0")).join("")}function l(c){return c.hasOwnProperty("Integer")||c.hasOwnProperty("Real")?"number":"string"}function y(c){return c.hasOwnProperty("Integer")?c.Integer:c.hasOwnProperty("Real")?c.Real:c.hasOwnProperty("Text")?c.Text:c.hasOwnProperty("Blob")?`x'${a(c.Blob)}'`:"NULL"}var f=te(),B=F(f);P(B,()=>t(r).length>0&&t(s).length>0,c=>{sl(c,{get columns(){return t(r)},get rows(){return t(s)},set rows(A){w(s,x(A))},paginationPageSize:100})},c=>{var A=il();n(c,A)}),n(o,f),fe()}function vl(o,e){o.ctrlKey&&o.code==="Enter"&&e()}var dl=b('
    '),ul=b('
    '),hl=b('
    ',1);function pl(o,e){pe(e,!0);let r=p(e,"query",7),s=E(x([])),a=E(""),l=E(void 0),y=E(void 0),f=re(()=>t(l)&&t(y)?`${t(l)-t(y)}px`:"100%");se(()=>{r().query.startsWith(dt)&&(r().query=r().query.replace(`${dt} -`,""),B())});async function B(){w(s,x([])),w(a,"");let j=[];for(let N of r().query.split(/\r?\n/))N.startsWith("--")||j.push(N);let W=j.join(` -`),H=await It("/query",W);if(H.status===200)w(s,x(await H.json()));else{let N=await H.json();w(a,x(Object.values(N)[0]))}}async function c(j){w(y,x(j))}var A=hl(),k=F(A);At(k,{resizeBottom:!0,minHeightPx:100,initialHeightPx:300,onResizeBottom:c,children:(j,W)=>{var H=dl();H.__keydown=[vl,B],Vt("innerText",H,()=>r().query,N=>r().query=N),n(j,H)},$$slots:{default:!0}});var g=q(k,2);P(g,()=>t(a),j=>{var W=ul(),H=v(W,!0);i(W),C(()=>ne(H,t(a))),n(j,W)});var z=q(g,2),D=v(z);cl(D,{get rows(){return t(s)},set rows(j){w(s,x(j))}}),i(z),C(()=>{me(z,"height",t(f)),me(z,"max-height",t(f))}),Xt("innerHeight",j=>w(l,x(j))),n(o,A),fe()}Me(["keydown"]);var fl=he('');function gl(o,e){let r=p(e,"color",8,"var(--col-err)"),s=p(e,"opacity",8,.9),a=p(e,"width",8,"1.5rem");var l=fl();d(l,"stroke-width",2),C(()=>{d(l,"width",a()),d(l,"color",r()),d(l,"opacity",s())}),n(o,l)}function bl(o,e,r,s){t(e)?o.code==="Enter"&&(o.preventDefault(),r()):s()}function ft(o,e,r){e.onClose(r())}var ml=b('
    ');function wl(o,e){pe(e,!0);let r=p(e,"tab",15),s=p(e,"tabSelected",15),a,l=re(()=>s()===r());function y(){let D=a.innerText;r(D),s(D)}function f(){t(l)||s(r())}var B=ml(),c=v(B);c.__click=f,c.__keydown=[bl,l,y,f];var A=v(c);xe(A,()=>e.children),i(c),Ae(c,D=>a=D,()=>a);var k=q(c,2),g=v(k);g.__click=[ft,e,r],g.__keydown=[ft,e,r];var z=v(g);gl(z,{color:"hsl(var(--error))",width:"1.2rem"}),i(g),i(k),i(B),C(()=>{qt(c,`${(t(l)?"tab selected":"tab")??""} svelte-1ml8s23`),d(c,"contenteditable",t(l))}),rt("blur",c,y),n(o,B),fe()}Me(["click","keydown"]);var kl=he('');function yl(o,e){let r=p(e,"opacity",8,.9),s=p(e,"width",8,"1.5rem");var a=kl();d(a,"stroke-width",2),C(()=>{d(a,"width",s()),d(a,"opacity",r())}),n(o,a)}function gt(){le.push({id:Ee(6),query:Rt})}var xl=b('
    ',1);function $l(o,e){pe(e,!0);let r=E(x(le[0].id)),s=re(()=>le.filter(k=>k.id===t(r))[0]);se(()=>{le.length>0?w(r,x(le[le.length-1].id)):w(r,"")});function a(k){let g=le.map(z=>z.id).indexOf(k);t(r)===k?le.length===1?(le.push(Ut),le.shift(),w(r,x(le[0].id))):g===0?(le.shift(),w(r,x(le[0].id))):(le.splice(g,1),w(r,x(le[g-1].id))):le.splice(g,1)}var l=xl(),y=F(l),f=v(y);be(f,17,()=>le,k=>k.id,(k,g)=>{wl(k,{get tab(){return t(g).id},set tab(z){t(g).id=z},get tabSelected(){return t(r)},set tabSelected(z){w(r,x(z))},onClose:a,children:(z,D)=>{Je();var j=Xe();C(()=>ne(j,t(g).id)),n(z,j)},$$slots:{default:!0}})});var B=q(f,2);B.__click=[gt],B.__keydown=[gt];var c=v(B);yl(c,{}),i(B),i(y);var A=q(y,2);pl(A,{get query(){return t(s)}}),n(o,l),fe()}Me(["click","keydown"]);var Ll=b('');function Sl(o){Bt(e=>{var r=Ll();jt.title="Hiqlite",n(e,r)}),$l(o,{})}export{Sl as component}; diff --git a/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js.br b/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js.br deleted file mode 100644 index 807cf15..0000000 Binary files a/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js.br and /dev/null differ diff --git a/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js.gz b/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js.gz deleted file mode 100644 index 83ca287..0000000 Binary files a/hiqlite/static/_app/immutable/nodes/2.CK3l_6Np.js.gz and /dev/null differ diff --git a/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js b/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js new file mode 100644 index 0000000..128f5ea --- /dev/null +++ b/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js @@ -0,0 +1,12 @@ +import{l as Et,r as Ht,w as Ft,a as l,t as y,c as te,p as ct,o as ge,f as je,s as ve,b as Qe,q as Yt}from"../chunks/DJmSGhnc.js";import"../chunks/CZNW28Sq.js";import{N as mt,O as Vt,p as be,k as d,l as i,t as T,g as t,j as we,h as ce,a as de,i as Z,s as z,v as x,ad as q,b as We,R as Ie,aR as et,aQ as Wt}from"../chunks/WH8gHp3S.js";import{s as Se,a as p,o as _e,m as Ze,B as ye,r as kt,d as xe,b as Zt,g as $e,i as Te,p as Xt,q as Kt,I as Gt,R as Jt,n as yt,u as Qt,j as It,k as ea,Q as re,v as ta,D as aa}from"../chunks/Dzdjl--S.js";import{c as ra,p as m,s as oa,d as la,i as N,b as Fe,a as $}from"../chunks/UlN6PZgr.js";import{s as na}from"../chunks/B1VMp0bd.js";function xt(r,e,a){if(r.multiple)return ca(r,e);for(var s of r.options){var o=Xe(s);if(ra(o,e)){s.selected=!0;return}}(!a||e!==void 0)&&(r.selectedIndex=-1)}function sa(r,e){mt(()=>{var a=new MutationObserver(()=>{var s=r.__value;xt(r,s)});return a.observe(r,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),()=>{a.disconnect()}})}function ia(r,e,a=e){var s=!0;Et(r,"change",o=>{var n=o?"[selected]":":checked",g;if(r.multiple)g=[].map.call(r.querySelectorAll(n),Xe);else{var h=r.querySelector(n)??r.querySelector("option:not([disabled])");g=h&&Xe(h)}a(g)}),mt(()=>{var o=e();if(xt(r,o,s),s&&o===void 0){var n=r.querySelector(":checked");n!==null&&(o=Xe(n),a(o))}r.__value=o,s=!1}),sa(r)}function ca(r,e){for(var a of r.options)a.selected=~e.indexOf(Xe(a))}function Xe(r){return"__value"in r?r.__value:r.value}function va(r,e,a,s=a){e.addEventListener("input",()=>{s(e[r])}),Vt(()=>{var o=a();if(e[r]!==o)if(o==null){var n=e[r];s(n)}else e[r]=o+""})}function da(r,e){Ht(window,["resize"],()=>Ft(()=>e(window[r])))}const ua=()=>{const r=na;return{page:{subscribe:r.page.subscribe},navigating:{subscribe:r.navigating.subscribe},updated:r.updated}},fa={subscribe(r){return ua().page.subscribe(r)}};var ha=y('');function $t(r,e){be(e,!0);const[a,s]=oa(),o=()=>la(fa,"$page",a);let n=m(e,"selectedStep",3,!1),g=m(e,"hideUnderline",3,!1),h=ce(()=>{if(n())return"step";if(o().route.id===e.href.split("?")[0])return"page"});var B=ha(),k=d(B),E=d(k);Se(E,()=>e.children),i(k),i(B),T(()=>{p(k,"href",e.href),p(k,"target",e.target),p(k,"aria-current",t(h)),_e(k,"hideUnderline",g())}),l(r,B),we(),s()}var pa=y('
    ',1);function tt(r,e){be(e,!0);let a=m(e,"ref",15),s=m(e,"roleButton",3,"button"),o=m(e,"offsetLeft",3,"0px"),n=m(e,"offsetTop",3,"0px"),g=m(e,"close",15);const h=Ze(8),B=Ze(8);let k=q(void 0),E=q(!1);de(()=>{g(b)});function v(){if(a()&&t(k))if(e.absolute)t(k).style.top=n(),t(k).style.left=o();else{let A=a().getBoundingClientRect();t(k).style.top=`calc(${A.bottom+window.scrollY}px + ${n()})`,t(k).style.left=`calc(${A.left+window.scrollX}px + ${o()})`}else console.error("button and popover ref missing")}function b(){var A;(A=t(k))==null||A.hidePopover()}function U(A){var C;let V=A.newState;x(E,V==="open"),(C=e.onToggle)==null||C.call(e,V)}var _=pa(),P=Z(_);ye(P,{get role(){return s()},id:h,ariaControls:B,popovertarget:B,onclick:v,get invisible(){return e.btnInvisible},get isDisabled(){return e.btnDisabled},get onLeft(){return e.onLeft},get onRight(){return e.onRight},get onUp(){return e.onUp},get onDown(){return e.onDown},get ref(){return a()},set ref(A){a(A)},children:(A,V)=>{var C=te(),L=Z(C);Se(L,()=>e.button),l(A,C)},$$slots:{default:!0}});var O=z(P,2);p(O,"id",B),p(O,"aria-labelledby",h);var W=d(O),H=d(W);{var F=A=>{var V=te(),C=Z(V);{var L=u=>{var S=te(),w=Z(S);Se(w,()=>e.children),l(u,S)};N(C,u=>{t(E)&&u(L)})}l(A,V)},oe=A=>{var V=te(),C=Z(V);Se(C,()=>e.children),l(A,V)};N(H,A=>{e.lazy?A(F):A(oe,!1)})}i(W),i(O),Fe(O,A=>x(k,A),()=>t(k)),T(()=>p(O,"aria-label",e.ariaLabel)),ct("toggle",O,U),l(r,_),we()}var ga=ge('');function ba(r,e){let a=m(e,"color",8,"currentColor"),s=m(e,"opacity",8,.9),o=m(e,"width",8,"1.5rem");var n=ga();p(n,"stroke-width",2),T(()=>{p(n,"stroke",a()),p(n,"width",o()),p(n,"opacity",s())}),l(r,n)}var wa=ge('');function ma(r,e){let a=m(e,"opacity",8,.9),s=m(e,"width",8,"1.5rem");var o=wa();p(o,"stroke-width",2),T(()=>{p(o,"width",s()),p(o,"opacity",a())}),l(r,o)}function ka(r,e,a,s){var o,n,g;switch(r.code){case"Enter":e();break;case"Tab":(o=a.onTab)==null||o.call(a,s());break;case"ArrowUp":(n=a.onUp)==null||n.call(a,s());break;case"ArrowDown":(g=a.onDown)==null||g.call(a,s());break}}var ya=y('
    '),xa=y(""),$a=y(''),La=y('
    '),Ca=y('
    '),Sa=y('
    ');function _a(r,e){be(e,!0);let a=m(e,"value",15,""),s=m(e,"option",15),o=m(e,"focus",15),n=m(e,"width",3,"100%");const g=Ze(8),h=Ze(8);let B=q(void 0),k=ce(()=>e.datalist&&e.datalist.length>0?h:void 0);de(()=>{o(v)});function E(){var C;(C=e.onSearch)==null||C.call(e,a())}function v(){var C;(C=t(B))==null||C.focus()}var b=Sa(),U=d(b);{var _=C=>{var L=ya(),u=d(L);Lt(u,{ariaLabel:"Search Options",get options(){return e.options},borderless:!0,get value(){return s()},set value(S){s(S)}}),i(L),l(C,L)};N(U,C=>{e.options&&C(_)})}var P=z(U,2);kt(P),p(P,"id",g),P.__keydown=[ka,E,e,a],Fe(P,C=>x(B,C),()=>t(B));var O=z(P,2);{var W=C=>{var L=$a();p(L,"id",h),$e(L,21,()=>e.datalist,Te,(u,S)=>{var w=xa(),j={};T(()=>{j!==(j=t(S))&&(w.value=(w.__value=t(S))==null?"":t(S))}),l(u,w)}),i(L),l(C,L)};N(O,C=>{e.datalist&&C(W)})}var H=z(O,2),F=d(H),oe=d(F);ye(oe,{ariaLabel:"Delete Search Input",invisible:!0,onclick:()=>a(""),children:(C,L)=>{ba(C,{color:"hsl(var(--bg-high))",width:24})},$$slots:{default:!0}}),i(F),i(H);var A=z(H,2);{var V=C=>{var L=Ca(),u=d(L);ye(u,{ariaLabel:"Search",invisible:!0,onclick:E,children:(S,w)=>{var j=La(),G=d(j);ma(G,{}),i(j),l(S,j)},$$slots:{default:!0}}),i(L),l(C,L)};N(A,C=>{e.onSearch&&C(V)})}i(b),T(()=>{xe(b,"border",e.borderless?void 0:"1px solid hsl(var(--bg-high))"),xe(b,"width",n()),p(P,"list",t(k))}),ct("focus",P,()=>{var C;return(C=e.onFocus)==null?void 0:C.call(e)}),Zt(P,a),l(r,b),we()}je(["keydown"]);var Ta=ge('');function vt(r,e){let a=m(e,"opacity",8,.9),s=m(e,"width",8,"1.5rem");var o=Ta();p(o,"stroke-width",2),T(()=>{p(o,"width",s()),p(o,"opacity",a())}),l(r,o)}function Ma(r,e,a,s,o){let n=r.code;n==="ArrowDown"?(r.preventDefault(),e()&&x(a,t(a)+1)):n==="ArrowUp"?(r.preventDefault(),e()&&x(a,t(a)-1)):n==="Enter"&&t(a)>-1?s(t(o)[t(a)]):n==="Enter"&&t(a)===-1&&t(o).length===1&&s(t(o)[0])}var Oa=y('
    '),Da=y('
    '),Ba=y('
    '),Pa=y(''),za=y('');function Lt(r,e){be(e,!0);let a=m(e,"ref",15),s=m(e,"options",19,()=>[]),o=m(e,"value",15),n=m(e,"asPopover",3,!0),g=m(e,"borderless",3,!1),h=m(e,"withSearch",3,!1),B=m(e,"fallbackOptions",3,!1),k=q(void 0),E=q($(B()?!1:n())),v=q(void 0),b=q($(h()?-1:0)),U=q(void 0),_=q(""),P=ce(()=>{if(!h())return s();if(typeof o()=="string")return s().filter(u=>u.toLowerCase().includes(t(_).toLowerCase()));let L=Number.parseInt(t(_))||o();return s().filter(u=>u===L)});de(()=>{t(E)!==n()&&x(E,n())}),de(()=>{var L,u;if(t(b)===-1&&((L=t(k))==null||L.scrollTo({top:0,behavior:"smooth"})),h()){if(t(b)<0||t(b)>t(P).length-1){x(b,-1),(u=t(U))==null||u();return}}else t(b)<0?x(b,t(P).length-1):t(b)>t(P).length-1&&x(b,0),O()});function O(){if(t(k)){let L=t(k).getElementsByTagName("button")[t(b)];L.scrollIntoView({behavior:"smooth",block:"center"}),L.focus()}else console.error("refOptions is undefined")}function W(L){var u;L==="open"&&(h()?(x(b,-1),(u=t(U))==null||u()):(x(b,$(s().findIndex(S=>S===o())||0)),O()))}function H(){return t(P).length>0?!0:(x(b,-1),!1)}function F(L){o(L),x(_,""),setTimeout(()=>{var u;(u=t(v))==null||u()},20)}var oe=te(),A=Z(oe);{var V=L=>{tt(L,{get ariaLabel(){return e.ariaLabel},roleButton:"combobox",btnInvisible:!0,get offsetTop(){return e.offsetTop},get offsetLeft(){return e.offsetLeft},onToggle:W,get onLeft(){return e.onLeft},get onRight(){return e.onRight},get onUp(){return e.onUp},get onDown(){return e.onDown},get ref(){return a()},set ref(u){a(u)},get close(){return t(v)},set close(u){x(v,$(u))},button:u=>{var S=Oa(),w=d(S),j=z(w),G=d(j);vt(G,{width:14}),i(j),i(S),T(()=>{p(S,"data-border",!g()),ve(w,`${o()??""} `)}),l(u,S)},children:(u,S)=>{var w=Ba();w.__keydown=[Ma,H,b,F,P];var j=d(w);{var G=he=>{_a(he,{onFocus:()=>x(b,-1),get value(){return t(_)},set value(ue){x(_,$(ue))},get focus(){return t(U)},set focus(ue){x(U,$(ue))}})};N(j,he=>{h()&&he(G)})}var le=z(j,2);$e(le,21,()=>t(P),Te,(he,ue,Ae)=>{ye(he,{invisible:!0,invisibleOutline:!0,onclick:()=>F(t(ue)),children:(pe,Re)=>{var Le=Da(),Ge=d(Le,!0);i(Le),T(()=>{p(Le,"aria-selected",o()===t(ue)),p(Le,"data-focus",t(b)===Ae),ve(Ge,t(ue))}),l(pe,Le)},$$slots:{default:!0}})}),i(le),Fe(le,he=>x(k,he),()=>t(k)),i(w),T(()=>xe(w,"max-height",e.maxHeight)),l(u,w)},$$slots:{button:!0,default:!0}})},C=L=>{var u=za();$e(u,21,()=>t(P),Te,(S,w)=>{var j=Pa(),G={},le=d(j,!0);i(j),T(()=>{G!==(G=t(w))&&(j.value=(j.__value=t(w))==null?"":t(w)),Xt(j,o()===t(w)),ve(le,t(w))}),l(S,j)}),i(u),T(()=>{p(u,"name",e.name),p(u,"aria-label",e.ariaLabel),_e(u,"borderless",g())}),ia(u,o),l(L,u)};N(A,L=>{t(E)?L(V):L(C,!1)})}l(r,oe),we()}je(["keydown"]);var ja=y(''),Aa=y('
  • '),Ra=y(''),qa=y('
    Entries
    '),Ua=y('
    '),Na=y('
    '),Ea=y('
    ');function Ha(r,e){be(e,!0);const a=u=>{var S=Ra(),w=d(S);$e(w,21,()=>t(b),Te,(j,G)=>{var le=Aa(),he=d(le);ye(he,{invisible:!0,onclick:()=>P(t(G)),onLeft:U,onRight:_,children:(ue,Ae)=>{var pe=ja(),Re=d(pe,!0);i(pe),T(()=>ve(Re,t(G))),l(ue,pe)},$$slots:{default:!0}}),i(le),T(()=>{p(le,"aria-label",`go to page number: ${t(G)}`),p(le,"aria-current",g()===t(G)?"step":void 0)}),l(j,le)}),i(w),i(S),l(u,S)},s=u=>{var S=qa(),w=d(S),j=z(d(w),2),G=d(j);Lt(G,{ariaLabel:"Page Count",options:o,offsetTop:"-17rem",borderless:!0,get value(){return h()},set value(ue){h(ue)}}),i(j),i(w);var le=z(w,2),he=d(le);i(le),i(S),T(()=>ve(he,`Total: ${e.items.length??""}`)),l(u,S)},o=[5,7,10,15,20,30,50,100];let n=m(e,"itemsPaginated",15),g=m(e,"page",15,1),h=m(e,"pageSize",31,()=>$(o[0])),B=m(e,"compact",3,!1);const k=16;let E=We(()=>h()),v=q($([])),b=q($([]));de(()=>{h()!==E&&(E=We(()=>h()),g(1))}),de(()=>{let u=[];for(let S=0;S{O()});function U(){g()>1&&P(g()-1)}function _(){g()t(v).length-S-1)for(let w=t(v).length-h();w<=t(v).length-1;w++)u.push(w+1);else for(let w=g()-S;wg()===1);ye(H,{onclick:U,invisible:!0,get isDisabled(){return t(F)},children:(u,S)=>{var w=Ua(),j=d(w);vt(j,{width:k}),i(w),T(()=>p(w,"data-disabled",g()===1)),l(u,w)},$$slots:{default:!0}});var oe=z(H,2);a(oe);var A=z(oe,2),V=ce(()=>g()===t(v).length);ye(A,{onclick:_,invisible:!0,get isDisabled(){return t(V)},children:(u,S)=>{var w=Na(),j=d(w);vt(j,{width:k}),i(w),T(()=>p(w,"data-disabled",g()===t(v).length)),l(u,w)},$$slots:{default:!0}});var C=z(A,2);{var L=u=>{s(u)};N(C,u=>{B()||u(L)})}i(W),l(r,W),we()}function Fa(r,e){console.log(r.code),r.code==="Enter"&&e()}var Ya=y('');function Ke(r,e){be(e,!0);let a=m(e,"checked",15,!1),s=m(e,"ariaLabel",3,""),o=m(e,"borderColor",3,"hsl(var(--bg-high))");function n(){a(!a())}var g=Ya(),h=d(g);kt(h),h.__click=n,h.__keydown=[Fa,n];var B=z(h,2),k=d(B);Se(k,()=>e.children??Ie),i(B),i(g),T(()=>{p(h,"name",e.name),h.disabled=e.disabled,p(h,"aria-disabled",e.disabled),p(h,"aria-checked",a()),p(h,"aria-label",s()),xe(h,"border-color",o())}),Kt(h,a),l(r,g),we()}je(["click","keydown"]);var Va=ge(''),Wa=ge('');function Za(r,e){var a=te(),s=Z(a);{var o=g=>{var h=Va();p(h,"stroke-width",2),p(h,"width",20),p(h,"opacity",.9),l(g,h)},n=g=>{var h=Wa();p(h,"stroke-width",2),p(h,"width",20),p(h,"opacity",.9),l(g,h)};N(s,g=>{e.checked?g(o):g(n,!1)})}l(r,a)}var Xa=ge('');function Ka(r,e){let a=m(e,"color",8,"currentColor"),s=m(e,"opacity",8,.9),o=m(e,"width",8,"1.5rem");var n=Xa();p(n,"stroke-width",2),T(()=>{p(n,"width",o()),p(n,"color",a()),p(n,"opacity",s())}),l(r,n)}var Ga=ge('');function Ja(r,e){let a=m(e,"color",8,"currentColor"),s=m(e,"opacity",8,.9),o=m(e,"width",8,"1.5rem");var n=Ga();p(n,"stroke-width",2),T(()=>{p(n,"stroke",a()),p(n,"width",o()),p(n,"opacity",s())}),l(r,n)}var Qa=ge(``);function Ia(r,e){let a=m(e,"color",8,"currentColor"),s=m(e,"opacity",8,.9),o=m(e,"width",8,"1.5rem");var n=Qa();p(n,"stroke-width",2),T(()=>{p(n,"stroke",a()),p(n,"width",o()),p(n,"opacity",s())}),l(r,n)}async function er(r){var e;await((e=navigator==null?void 0:navigator.clipboard)==null?void 0:e.writeText(r))}var tr=ge(``);function ar(r,e){let a=m(e,"color",8,"currentColor"),s=m(e,"opacity",8,.9),o=m(e,"width",8,"1.5rem");var n=tr();p(n,"stroke-width",2),T(()=>{p(n,"stroke",a()),p(n,"width",o()),p(n,"opacity",s())}),l(r,n)}var rr=y(''),or=y(' '),lr=y(''),nr=y(' ',1),sr=y(' '),ir=y(' '),cr=y(''),vr=y(''),dr=y(' '),ur=y(' '),fr=y(' '),hr=y(''),pr=y(' '),gr=y(' '),br=y(''),wr=y(''),mr=y(''),kr=y(''),yr=y('
    '),xr=y('
    '),$r=y('
    '),Lr=y('
    '),Cr=y('
    '),Sr=y("
    "),_r=y('
    ');function Tr(r,e){be(e,!0);let a=m(e,"showColumns",31,()=>$(Array(e.columns.length).fill(!0))),s=m(e,"paginationCompact",3,!1),o=m(e,"paginationPageSize",3,15),n=m(e,"selectInitHide",3,!1),g=m(e,"minWidthColPx",3,50);const h="3rem",B="2rem";let k=$(S()),E=q($(We(()=>k))),v=q(1),b=q($(We(()=>o()))),U=q(!1),_=q($(Array(e.rows.length).fill(!1))),P=ce(()=>t(_).find(c=>c===!0)),O=q(void 0),W=q($([])),H=q("up"),F=q($([])),oe=ce(()=>e.paginationDisabled!==void 0?e.paginationDisabled:e.rows.lengthe.paginationDisabled||t(oe)?e.rows.length:t(F)&&t(F).length?t(F).length:(t(v)!=1&&x(v,1),0)),V=$(Array(We(()=>k.length)).fill(void 0)),C=q(void 0),L=0,u=q(void 0);de(()=>{setTimeout(()=>{for(let c=1;c{let c=Array(e.rows.length).fill(!1);if(t(U)){let f;t(v)===1?f=0:f=(t(v)-1)*t(b);let D=Math.min(t(v)*t(b),e.rows.length);for(let R=f;R{let c=e.paginationDisabled||t(oe)?e.rows.length:t(F).length||0;x(W,$(Array(c).fill(()=>console.error("un-initialized popover close option"))))}),de(()=>{let c=[];for(let f=0;f{if(e.highlight!==void 0&&t(C)){let c=e.highlight;!t(oe)&&t(v)>1&&(c=e.highlight-(t(v)-1)*t(b)),x(u,$(c)),setTimeout(()=>{var f,D;(D=(f=t(C))==null?void 0:f.getElementsByClassName("highlight")[0])==null||D.scrollIntoView({behavior:"smooth",block:"center"})},250)}else x(u,void 0)});function S(){let c=e.columns.map(D=>D.initialWidth),f=[...a()];return e.select&&(c=[h,...c],f=[!n(),...f]),e.options&&(c=[...c,B],f=[...f,!0]),a(f),c}function w(){return t(E).join(" ")}function j(c,f){x(_,$(Array(e.rows.length).fill(!1)));let D=1;t(H)==="up"?(D=-1,x(H,"down")):x(H,"up"),f==="string"?e.rows.sort((R,J)=>R[c].content.localeCompare(J[c].content)*D):f==="number"&&e.rows.sort((R,J)=>(R[c].content-J[c].content)*D)}function G(c){return!t(oe)&&t(v)>1?(t(v)-1)*t(b)+c:c}function le(c){L=c;let f=V[c];f?(Ae(f.getBoundingClientRect().width),window.addEventListener("mousemove",ue),window.addEventListener("mouseup",he,{once:!0})):console.error("invalid ref from refCols in onMouseDown")}function he(){window.removeEventListener("mousemove",ue)}function ue(c){let f=V[L];if(f){let D=f.getBoundingClientRect().left,R=window.scrollX+c.x-D;Ae(R)}else console.error("invalid ref from refCols in onMove")}function Ae(c){c=Math.ceil(c),c{var f=or(),D=d(f);Ke(D,{ariaLabel:"Select All",borderColor:"hsla(var(--text), .4)",get checked(){return t(U)},set checked(X){x(U,$(X))}});var R=z(D,2),J=ce(()=>!t(P));tt(R,{ariaLabel:"Selected Options",get btnDisabled(){return t(J)},btnInvisible:!0,get close(){return t(O)},set close(X){x(O,$(X))},button:X=>{var I=rr(),ne=d(I);Ka(ne,{width:"1rem"}),i(I),T(()=>p(I,"data-disabled",!t(P))),l(X,I)},children:(X,I)=>{var ne=te(),Q=Z(ne);Se(Q,()=>e.select,()=>t(_),()=>t(O)),l(X,ne)},$$slots:{button:!0,default:!0}}),i(f),l(c,f)};N(Ge,c=>{e.select&&a()[0]&&c(_t)})}var dt=z(Ge);$e(dt,17,()=>e.columns,Te,(c,f,D)=>{var R=te(),J=Z(R);{var X=I=>{var ne=ir(),Q=d(ne),se=d(Q);{var Y=K=>{var ie=nr(),fe=Z(ie),Ye=d(fe,!0);i(fe);var rt=z(fe,2);ye(rt,{invisible:!0,onclick:()=>j(D,t(f).orderType),children:(ot,pt)=>{var me=lr(),Ce=d(me);Ja(Ce,{width:"1rem"}),i(me),l(ot,me)},$$slots:{default:!0}}),T(()=>ve(Ye,t(f).content)),l(K,ie)},M=K=>{var ie=sr(),fe=d(ie,!0);i(ie),T(()=>ve(fe,t(f).content)),l(K,ie)};N(se,K=>{t(f).orderType?K(Y):K(M,!1)})}i(Q);var ae=z(Q,2),ee=d(ae);ee.__mousedown=()=>le(D),i(ae),i(ne),Fe(ne,(K,ie)=>V[ie]=K,K=>V==null?void 0:V[K],()=>[D]),l(I,ne)};N(J,I=>{a()[e.select?D+1:D]&&I(X)})}l(c,R)});var Tt=z(dt);{var Mt=c=>{var f=cr(),D=d(f);Ia(D,{width:"1.2rem"}),i(f),l(c,f)};N(Tt,c=>{e.options&&a()[a().length-1]&&c(Mt)})}i(Le),i(Re);var Je=z(Re);{const c=(f,D=Ie,R=Ie)=>{var J=kr(),X=d(J);{var I=Y=>{var M=vr(),ae=d(M);Ke(ae,{ariaLabel:"Select Row",get checked(){return t(_)[G(R())]},set checked(ee){t(_)[G(R())]=ee}}),i(M),l(Y,M)};N(X,Y=>{e.select&&a()[0]&&Y(I)})}var ne=z(X);$e(ne,17,D,Te,(Y,M,ae)=>{var ee=te(),K=Z(ee);{var ie=fe=>{var Ye=br(),rt=d(Ye);{var ot=me=>{var Ce=ce(()=>t(M).href||"");$t(me,{get href(){return t(Ce)},children:(lt,gt)=>{var qe=dr(),Me=d(qe,!0);i(qe),T(()=>{_e(qe,"muted",t(M).muted),ve(Me,t(M).content)}),l(lt,qe)},$$slots:{default:!0}})},pt=me=>{var Ce=te(),lt=Z(Ce);{var gt=Me=>{var Be=ce(()=>t(M).href||"");$t(Me,{get href(){return t(Be)},target:"_blank",children:(nt,bt)=>{var Ue=ur(),Oe=d(Ue,!0);i(Ue),T(()=>{_e(Ue,"muted",t(M).muted),ve(Oe,t(M).content)}),l(nt,Ue)},$$slots:{default:!0}})},qe=Me=>{var Be=te(),nt=Z(Be);{var bt=Oe=>{ye(Oe,{invisible:!0,onclick:()=>er(t(M).content.toString()),children:(Pe,wt)=>{var Ne=fr(),st=d(Ne,!0);i(Ne),T(()=>{_e(Ne,"muted",t(M).muted),ve(st,t(M).content)}),l(Pe,Ne)},$$slots:{default:!0}})},Ue=Oe=>{var Pe=te(),wt=Z(Pe);{var Ne=Ee=>{var ke=hr(),it=d(ke);Za(it,{get checked(){return t(M).content}}),i(ke),T(()=>_e(ke,"muted",t(M).muted)),l(Ee,ke)},st=Ee=>{var ke=te(),it=Z(ke);{var qt=He=>{ye(He,{invisible:!0,onclick:De=>{var Ve,ze;return(ze=(Ve=t(M)).onClick)==null?void 0:ze.call(Ve,De,G(R()))},children:(De,Ve)=>{var ze=pr(),Nt=d(ze,!0);i(ze),T(()=>{_e(ze,"muted",t(M).muted),ve(Nt,t(M).content)}),l(De,ze)},$$slots:{default:!0}})},Ut=He=>{var De=gr(),Ve=d(De,!0);i(De),T(()=>{_e(De,"muted",t(M).muted),ve(Ve,t(M).content)}),l(He,De)};N(it,He=>{t(M).onClick?He(qt):He(Ut,!1)},!0)}l(Ee,ke)};N(wt,Ee=>{var ke;((ke=e.columns[ae])==null?void 0:ke.showAs)==="check"?Ee(Ne):Ee(st,!1)},!0)}l(Oe,Pe)};N(nt,Oe=>{var Pe;((Pe=e.columns[ae])==null?void 0:Pe.showAs)==="copyToClip"?Oe(bt):Oe(Ue,!1)},!0)}l(Me,Be)};N(lt,Me=>{var Be;((Be=e.columns[ae])==null?void 0:Be.showAs)==="a_blank"?Me(gt):Me(qe,!1)},!0)}l(me,Ce)};N(rt,me=>{var Ce;((Ce=e.columns[ae])==null?void 0:Ce.showAs)==="a"?me(ot):me(pt,!1)})}i(Ye),l(fe,Ye)};N(K,fe=>{a()[e.select?ae+1:ae]&&fe(ie)})}l(Y,ee)});var Q=z(ne);{var se=Y=>{var M=mr(),ae=d(M);tt(ae,{ariaLabel:"Options",btnInvisible:!0,get offsetLeft(){return e.offsetLeftOptions},get offsetTop(){return e.offsetTopOptions},get close(){return t(W)[R()]},set close(ee){t(W)[R()]=ee},button:ee=>{var K=wr(),ie=d(K);ar(ie,{}),i(K),l(ee,K)},children:(ee,K)=>{var ie=te(),fe=Z(ie);Se(fe,()=>e.options,D,()=>t(W)[R()]),l(ee,ie)},$$slots:{button:!0,default:!0}}),i(M),l(Y,M)};N(Q,Y=>{e.options&&a()[a().length-1]&&Y(se)})}i(J),T(Y=>{_e(J,"highlight",t(u)===R()),xe(J,"grid-template-columns",Y)},[w]),l(f,J)};var Ot=d(Je);{var Dt=f=>{var D=te(),R=Z(D);{var J=X=>{var I=te(),ne=Z(I);$e(ne,17,()=>e.rows,Te,(Q,se,Y)=>{c(Q,()=>t(se),()=>Y)}),l(X,I)};N(R,X=>{t(_).length===e.rows.length&&X(J)})}l(f,D)},Bt=f=>{var D=te(),R=Z(D);$e(R,17,()=>t(F),Te,(J,X,I)=>{c(J,()=>t(X),()=>I)}),l(f,D)};N(Ot,f=>{t(oe)?f(Dt):f(Bt,!1)})}i(Je),Fe(Je,f=>x(C,f),()=>t(C))}var ut=z(Je),ft=d(ut),ht=d(ft),Pt=ce(()=>`-${k.length*1.4+3}rem`);tt(ht,{ariaLabel:"Select Columns",get offsetTop(){return t(Pt)},btnInvisible:!0,button:c=>{var f=yr(),D=d(f);Gt(D,{}),i(f),l(c,f)},children:(c,f)=>{var D=Cr(),R=d(D);{var J=Q=>{var se=xr(),Y=d(se);Ke(Y,{ariaLabel:"Select Column: Select",get checked(){return a()[0]},set checked(M){a(a()[0]=M,!0)},children:(M,ae)=>{et();var ee=Qe("Select");l(M,ee)},$$slots:{default:!0}}),i(se),l(Q,se)};N(R,Q=>{e.select&&Q(J)})}var X=z(R,2);$e(X,17,()=>e.columns,Te,(Q,se,Y)=>{var M=$r(),ae=d(M),ee=ce(()=>`Select Column: ${t(se).content}`);Ke(ae,{get ariaLabel(){return t(ee)},get checked(){return a()[e.select?Y+1:Y]},set checked(K){a(a()[e.select?Y+1:Y]=K,!0)},children:(K,ie)=>{et();var fe=Qe();T(()=>ve(fe,t(se).content)),l(K,fe)},$$slots:{default:!0}}),i(M),l(Q,M)});var I=z(X,2);{var ne=Q=>{var se=Lr(),Y=d(se);Ke(Y,{ariaLabel:"Select Column: Options",get checked(){return a()[a().length-1]},set checked(M){a(a()[a().length-1]=M,!0)},children:(M,ae)=>{et();var ee=Qe("Options");l(M,ee)},$$slots:{default:!0}}),i(se),l(Q,se)};N(I,Q=>{e.options&&Q(ne)})}i(D),l(c,D)},$$slots:{button:!0,default:!0}});var at=z(ht,2),zt=d(at);Se(zt,()=>e.caption??Ie),i(at);var jt=z(at,2);{var At=c=>{var f=Sr();l(c,f)},Rt=c=>{Ha(c,{get items(){return e.rows},get compact(){return s()},get itemsPaginated(){return t(F)},set itemsPaginated(f){x(F,$(f))},get page(){return t(v)},set page(f){x(v,$(f))},get pageSize(){return t(b)},set pageSize(f){x(b,$(f))}})};N(jt,c=>{t(oe)?c(At):c(Rt,!1)})}i(ft),i(ut),i(pe),T(c=>{p(pe,"aria-colcount",k.length),p(pe,"aria-rowcount",t(A)),xe(pe,"width",e.width),xe(pe,"max-width",e.maxWidth),xe(Le,"grid-template-columns",c)},[w]),l(r,pe),we()}je(["mousedown"]);var Mr=y("

    no results

    ");function Or(r,e){be(e,!0);let a=q($([])),s=q($([]));de(()=>{let v=[],b=[];if(e.rows.length>0){for(let U of e.rows[0].columns)v.push({content:U.name,initialWidth:"12rem",orderType:n(U.value)});for(let U of e.rows){let _=[];for(let P of U.columns)_.push({content:g(P.value)});b.push(_)}}x(a,$(v)),x(s,$(b))});function o(v){return[...new Uint8Array(v)].map(b=>b.toString(16).padStart(2,"0")).join("")}function n(v){return v.hasOwnProperty("Integer")||v.hasOwnProperty("Real")?"number":"string"}function g(v){return v.hasOwnProperty("Integer")?v.Integer:v.hasOwnProperty("Real")?v.Real:v.hasOwnProperty("Text")?v.Text:v.hasOwnProperty("Blob")?`x'${o(v.Blob)}'`:"NULL"}var h=te(),B=Z(h);{var k=v=>{Tr(v,{get columns(){return t(a)},paginationPageSize:100,get rows(){return t(s)},set rows(b){x(s,$(b))}})},E=v=>{var b=Mr();l(v,b)};N(B,v=>{t(a).length>0&&t(s).length>0?v(k):v(E,!1)})}l(r,h),we()}function Dr(r,e){r.ctrlKey&&r.code==="Enter"&&e()}var Br=y('
    '),Pr=y('
    '),zr=y('
    ',1);function jr(r,e){be(e,!0);let a=m(e,"query",7),s=q($([])),o=q(""),n=q(void 0),g=q(void 0),h=ce(()=>t(n)&&t(g)?`${t(n)-t(g)}px`:"100%");de(()=>{a().query.startsWith(yt)&&(a().query=a().query.replace(`${yt} +`,""),B())});async function B(){x(s,$([])),x(o,"");let O=[];for(let F of a().query.split(/\r?\n/))F.startsWith("--")||O.push(F);let W=O.join(` +`),H=await Qt("/query",W);if(H.status===200)x(s,$(await H.json()));else{let F=await H.json();x(o,$(Object.values(F)[0]))}}async function k(O){x(g,$(O))}var E=zr(),v=Z(E);Jt(v,{resizeBottom:!0,minHeightPx:100,initialHeightPx:300,onResizeBottom:k,children:(O,W)=>{var H=Br();H.__keydown=[Dr,B],va("innerText",H,()=>a().query,F=>a().query=F),l(O,H)},$$slots:{default:!0}});var b=z(v,2);{var U=O=>{var W=Pr(),H=d(W,!0);i(W),T(()=>ve(H,t(o))),l(O,W)};N(b,O=>{t(o)&&O(U)})}var _=z(b,2),P=d(_);Or(P,{get rows(){return t(s)},set rows(O){x(s,$(O))}}),i(_),T(()=>{xe(_,"height",t(h)),xe(_,"max-height",t(h))}),da("innerHeight",O=>x(n,$(O))),l(r,E),we()}je(["keydown"]);var Ar=ge('');function Rr(r,e){let a=m(e,"color",8,"var(--col-err)"),s=m(e,"opacity",8,.9),o=m(e,"width",8,"1.5rem");var n=Ar();p(n,"stroke-width",2),T(()=>{p(n,"width",o()),p(n,"color",a()),p(n,"opacity",s())}),l(r,n)}function qr(r,e,a,s){t(e)?r.code==="Enter"&&(r.preventDefault(),a()):s()}function Ct(r,e,a){e.onClose(a())}var Ur=y('
    ');function Nr(r,e){be(e,!0);let a=m(e,"tab",15),s=m(e,"tabSelected",15),o,n=ce(()=>s()===a());function g(){let _=o.innerText;a(_),s(_)}function h(){t(n)||s(a())}var B=Ur(),k=d(B);k.__click=h,k.__keydown=[qr,n,g,h];var E=d(k);Se(E,()=>e.children),i(k),Fe(k,_=>o=_,()=>o);var v=z(k,2),b=d(v);b.__click=[Ct,e,a],b.__keydown=[Ct,e,a];var U=d(b);Rr(U,{color:"hsl(var(--error))",width:"1.2rem"}),i(b),i(v),i(B),T(()=>{It(k,ea(t(n)?"tab selected":"tab"),"svelte-1ml8s23"),p(k,"contenteditable",t(n))}),ct("blur",k,g),l(r,B),we()}je(["click","keydown"]);var Er=ge('');function Hr(r,e){let a=m(e,"opacity",8,.9),s=m(e,"width",8,"1.5rem");var o=Er();p(o,"stroke-width",2),T(()=>{p(o,"width",s()),p(o,"opacity",a())}),l(r,o)}function St(){re.push({id:Ze(6),query:ta})}var Fr=y('
    ',1);function Yr(r,e){be(e,!0);let a=q($(re[0].id)),s=ce(()=>re.filter(v=>v.id===t(a))[0]);de(()=>{re.length>0?x(a,$(re[re.length-1].id)):x(a,"")});function o(v){let b=re.map(U=>U.id).indexOf(v);t(a)===v?re.length===1?(re.push(aa),re.shift(),x(a,$(re[0].id))):b===0?(re.shift(),x(a,$(re[0].id))):(re.splice(b,1),x(a,$(re[b-1].id))):re.splice(b,1)}var n=Fr(),g=Z(n),h=d(g);$e(h,17,()=>re,v=>v.id,(v,b,U)=>{Nr(v,{onClose:o,get tab(){return t(b).id},set tab(_){t(b).id=_},get tabSelected(){return t(a)},set tabSelected(_){x(a,$(_))},children:(_,P)=>{et();var O=Qe();T(()=>ve(O,t(b).id)),l(_,O)},$$slots:{default:!0}})});var B=z(h,2);B.__click=[St],B.__keydown=[St];var k=d(B);Hr(k,{}),i(B),i(g);var E=z(g,2);jr(E,{get query(){return t(s)}}),l(r,n),we()}je(["click","keydown"]);var Vr=y('');function Wr(r){Yt(e=>{var a=Vr();Wt.title="Hiqlite",l(e,a)}),Yr(r,{})}export{Wr as component}; diff --git a/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js.br b/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js.br new file mode 100644 index 0000000..ee11f5b Binary files /dev/null and b/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js.br differ diff --git a/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js.gz b/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js.gz new file mode 100644 index 0000000..a85781a Binary files /dev/null and b/hiqlite/static/_app/immutable/nodes/2.nneC3ew4.js.gz differ diff --git a/hiqlite/static/_app/version.json b/hiqlite/static/_app/version.json index ade2ee5..6198805 100644 --- a/hiqlite/static/_app/version.json +++ b/hiqlite/static/_app/version.json @@ -1 +1 @@ -{"version":"1733993314339"} \ No newline at end of file +{"version":"1737463378256"} \ No newline at end of file diff --git a/hiqlite/static/_app/version.json.br b/hiqlite/static/_app/version.json.br index c422a02..67e2547 100644 Binary files a/hiqlite/static/_app/version.json.br and b/hiqlite/static/_app/version.json.br differ diff --git a/hiqlite/static/_app/version.json.gz b/hiqlite/static/_app/version.json.gz index 0ec3752..3b3c645 100644 Binary files a/hiqlite/static/_app/version.json.gz and b/hiqlite/static/_app/version.json.gz differ diff --git a/hiqlite/static/index.html b/hiqlite/static/index.html index 49e29a9..ea8a338 100644 --- a/hiqlite/static/index.html +++ b/hiqlite/static/index.html @@ -5,45 +5,40 @@ - + - - - - - - - - - - - - - - + + + + + + + + + + + -
    +