diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml new file mode 100644 index 000000000..e976414db --- /dev/null +++ b/.github/workflows/build_release.yml @@ -0,0 +1,23 @@ +name: rust tagged release in main CI + +on: + push: + tags: ['v[0-9].[0-9]+.[0-9]+'] + +jobs: + deploy: + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/main' + timeout-minutes: 60 + + steps: + - name: build and deploy kinode + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.SSH_PROD_API_HOST }} + username: ${{ secrets.SSH_PROD_USER }} + key: ${{ secrets.SSH_PROD_API_ED25519KEY }} + port: ${{ secrets.SSH_PROD_PORT }} + command_timeout: 60m + script: | + curl -X PUT http://localhost:8000/monitor/build-kinode diff --git a/Cargo.lock b/Cargo.lock index 02a8497dc..74b35d70f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -24,7 +24,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d122413f284cf2d62fb1b7db97e02edb8cda96d769b16e443a4f6195e35662b0" dependencies = [ "crypto-common", - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -92,34 +92,35 @@ checksum = "5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264f" [[package]] name = "alloy" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "096bfe5b4ae72138eab21ba5789e74e09f80461352b2261dfde69e7538f0b3f6" dependencies = [ - "alloy-consensus 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-consensus 0.1.3", "alloy-contract", "alloy-core", - "alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-genesis 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-eips 0.1.3", + "alloy-genesis 0.1.3", + "alloy-json-rpc 0.1.3", "alloy-network", "alloy-provider", "alloy-pubsub", "alloy-rpc-client", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-rpc-types 0.1.3", + "alloy-serde 0.1.3", "alloy-signer", - "alloy-signer-wallet", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-signer-local", + "alloy-transport 0.1.3", "alloy-transport-http", "alloy-transport-ws", - "reqwest 0.12.4", + "reqwest 0.12.5", ] [[package]] name = "alloy-chains" -version = "0.1.18" +version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03fd095a9d70f4b1c5c102c84a4c782867a5c6416dbf6dcd42a63e7c7a89d3c8" +checksum = "1752d7d62e2665da650a36d84abbf239f812534475d51f072a49a533513b7cdd" dependencies = [ "num_enum", "strum", @@ -128,34 +129,36 @@ dependencies = [ [[package]] name = "alloy-consensus" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" dependencies = [ - "alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-eips 0.1.0", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-serde 0.1.0", "c-kzg", "serde", + "sha2", ] [[package]] name = "alloy-consensus" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3f63a6c9eb45684a5468536bc55379a2af0f45ffa5d756e4e4964532737e1836" dependencies = [ - "alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-eips 0.1.3", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-serde 0.1.3", "c-kzg", "serde", - "sha2", ] [[package]] name = "alloy-contract" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c26b7d34cb76f826558e9409a010e25257f7bfb5aa5e3dd0042c564664ae159" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -163,9 +166,9 @@ dependencies = [ "alloy-primitives", "alloy-provider", "alloy-pubsub", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-rpc-types-eth", "alloy-sol-types", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-transport 0.1.3", "futures", "futures-util", "thiserror", @@ -173,9 +176,9 @@ dependencies = [ [[package]] name = "alloy-core" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31b8b8d8c4e84449ce8f310ed48e09ce38b8290b163e3d0df68ea445a9ccce3a" +checksum = "5af3faff14c12c8b11037e0a093dd157c3702becb8435577a2408534d0758315" dependencies = [ "alloy-dyn-abi", "alloy-json-abi", @@ -185,9 +188,9 @@ dependencies = [ [[package]] name = "alloy-dyn-abi" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efd2404399cb1b50572758e66e9b4bf088e5a3df9007be7126456c7e50af935f" +checksum = "cb6e6436a9530f25010d13653e206fab4c9feddacf21a54de8d7311b275bc56b" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -197,62 +200,63 @@ dependencies = [ "itoa", "serde", "serde_json", - "winnow 0.6.6", + "winnow 0.6.13", ] [[package]] name = "alloy-eips" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" dependencies = [ "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-serde 0.1.0", "c-kzg", "once_cell", "serde", - "sha2", ] [[package]] name = "alloy-eips" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa4b0fc6a572ef2eebda0a31a5e393d451abda703fec917c75d9615d8c978cf2" dependencies = [ "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-serde 0.1.3", "c-kzg", "once_cell", "serde", + "sha2", ] [[package]] name = "alloy-genesis" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" dependencies = [ "alloy-primitives", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-serde 0.1.0", "serde", - "serde_json", ] [[package]] name = "alloy-genesis" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48450f9c6f0821c1eee00ed912942492ed4f11dd69532825833de23ecc7a2256" dependencies = [ "alloy-primitives", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-serde 0.1.3", "serde", ] [[package]] name = "alloy-json-abi" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c3abf6446a292e19853aaca43590eeb48bf435dfd2c74200259e8f4872f6ce3" +checksum = "aaeaccd50238126e3a0ff9387c7c568837726ad4f4e399b528ca88104d6c25ef" dependencies = [ "alloy-primitives", "alloy-sol-type-parser", @@ -263,7 +267,7 @@ dependencies = [ [[package]] name = "alloy-json-rpc" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" dependencies = [ "alloy-primitives", "serde", @@ -274,8 +278,9 @@ dependencies = [ [[package]] name = "alloy-json-rpc" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d484c2a934d0a4d86f8ad4db8113cb1d607707a6c54f6e78f4f1b4451b47aa70" dependencies = [ "alloy-primitives", "serde", @@ -286,14 +291,16 @@ dependencies = [ [[package]] name = "alloy-network" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7a20eba9bc551037f0626d6d29e191888638d979943fa4e842e9e6fc72bf0565" dependencies = [ - "alloy-consensus 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-consensus 0.1.3", + "alloy-eips 0.1.3", + "alloy-json-rpc 0.1.3", "alloy-primitives", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-rpc-types-eth", + "alloy-serde 0.1.3", "alloy-signer", "alloy-sol-types", "async-trait", @@ -304,9 +311,9 @@ dependencies = [ [[package]] name = "alloy-primitives" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5277af0cbcc483ee6ad2c1e818090b5928d27f04fd6580680f31c1cf8068bcc2" +checksum = "f783611babedbbe90db3478c120fb5f5daacceffc210b39adc0af4fe0da70bad" dependencies = [ "alloy-rlp", "bytes", @@ -326,20 +333,20 @@ dependencies = [ [[package]] name = "alloy-provider" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad5d89acb7339fad13bc69e7b925232f242835bfd91c82fcb9326b36481bd0f0" dependencies = [ "alloy-chains", - "alloy-consensus 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-consensus 0.1.3", + "alloy-eips 0.1.3", + "alloy-json-rpc 0.1.3", "alloy-network", "alloy-primitives", "alloy-pubsub", "alloy-rpc-client", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-rpc-types-trace", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-rpc-types-eth", + "alloy-transport 0.1.3", "alloy-transport-http", "alloy-transport-ws", "async-stream", @@ -350,7 +357,7 @@ dependencies = [ "futures-utils-wasm", "lru", "pin-project", - "reqwest 0.12.4", + "reqwest 0.12.5", "serde", "serde_json", "tokio", @@ -360,12 +367,13 @@ dependencies = [ [[package]] name = "alloy-pubsub" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "034258dfaa51c278e1f7fcc46e587d10079ec9372866fa48c5df9d908fc1f6b1" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-json-rpc 0.1.3", "alloy-primitives", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-transport 0.1.3", "bimap", "futures", "serde", @@ -378,9 +386,9 @@ dependencies = [ [[package]] name = "alloy-rlp" -version = "0.3.4" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d58d9f5da7b40e9bfff0b7e7816700be4019db97d4b6359fe7f94a9e22e42ac" +checksum = "a43b18702501396fa9bcdeecd533bc85fac75150d308fc0f6800a01e6234a003" dependencies = [ "alloy-rlp-derive", "arrayvec", @@ -389,29 +397,30 @@ dependencies = [ [[package]] name = "alloy-rlp-derive" -version = "0.3.4" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a047897373be4bbb0224c1afdabca92648dc57a9c9ef6e7b0be3aff7a859c83" +checksum = "d83524c1f6162fcb5b0decf775498a125066c86dda6066ed609531b0e912f85a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] name = "alloy-rpc-client" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "479ce003e8c74bbbc7d4235131c1d6b7eaf14a533ae850295b90d240340989cb" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-json-rpc 0.1.3", "alloy-primitives", "alloy-pubsub", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-transport 0.1.3", "alloy-transport-http", "alloy-transport-ws", "futures", "pin-project", - "reqwest 0.12.4", + "reqwest 0.12.5", "serde", "serde_json", "tokio", @@ -424,14 +433,14 @@ dependencies = [ [[package]] name = "alloy-rpc-types" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" dependencies = [ - "alloy-consensus 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-genesis 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-consensus 0.1.0", + "alloy-eips 0.1.0", + "alloy-genesis 0.1.0", "alloy-primitives", "alloy-rlp", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-serde 0.1.0", "alloy-sol-types", "itertools 0.12.1", "serde", @@ -441,38 +450,36 @@ dependencies = [ [[package]] name = "alloy-rpc-types" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0dfa1dd3e0bc3a3d89744fba8d1511216e83257160da2cd028a18b7d9c026030" dependencies = [ - "alloy-consensus 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", - "alloy-eips 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", - "alloy-genesis 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", - "alloy-primitives", - "alloy-rlp", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", - "alloy-sol-types", - "itertools 0.12.1", - "serde", - "serde_json", - "thiserror", + "alloy-rpc-types-eth", + "alloy-serde 0.1.3", ] [[package]] -name = "alloy-rpc-types-trace" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +name = "alloy-rpc-types-eth" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "13bd7aa9ff9e67f1ba7ee0dd8cebfc95831d1649b0e4eeefae940dc3681079fa" dependencies = [ + "alloy-consensus 0.1.3", + "alloy-eips 0.1.3", "alloy-primitives", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-serde 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-rlp", + "alloy-serde 0.1.3", + "alloy-sol-types", + "itertools 0.13.0", "serde", "serde_json", + "thiserror", ] [[package]] name = "alloy-serde" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" dependencies = [ "alloy-primitives", "serde", @@ -481,8 +488,9 @@ dependencies = [ [[package]] name = "alloy-serde" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8913f9e825068d77c516188c221c44f78fd814fce8effe550a783295a2757d19" dependencies = [ "alloy-primitives", "serde", @@ -491,8 +499,9 @@ dependencies = [ [[package]] name = "alloy-signer" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f740e13eb4c6a0e4d0e49738f1e86f31ad2d7ef93be499539f492805000f7237" dependencies = [ "alloy-primitives", "async-trait", @@ -503,11 +512,12 @@ dependencies = [ ] [[package]] -name = "alloy-signer-wallet" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +name = "alloy-signer-local" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "87db68d926887393a1d0f9c43833b44446ea29d603291e7b20e5d115f31aa4e3" dependencies = [ - "alloy-consensus 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-consensus 0.1.3", "alloy-network", "alloy-primitives", "alloy-signer", @@ -519,23 +529,23 @@ dependencies = [ [[package]] name = "alloy-sol-macro" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30708a79919b082f2692423c8cc72fc250477e4a2ecb0d4a7244cd3cdb299965" +checksum = "4bad41a7c19498e3f6079f7744656328699f8ea3e783bdd10d85788cd439f572" dependencies = [ "alloy-sol-macro-expander", "alloy-sol-macro-input", "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] name = "alloy-sol-macro-expander" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c7a679ac01774ab7e00a567a918d4231ae692c5c8cedaf4e16956c3116d7896" +checksum = "fd9899da7d011b4fe4c406a524ed3e3f963797dbc93b45479d60341d3a27b252" dependencies = [ "alloy-json-abi", "alloy-sol-macro-input", @@ -545,16 +555,16 @@ dependencies = [ "proc-macro-error", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", "syn-solidity", "tiny-keccak", ] [[package]] name = "alloy-sol-macro-input" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "356da0c2228aa6675a5faaa08a3e4061b967f924753983d72b9a18d9a3fad44e" +checksum = "d32d595768fdc61331a132b6f65db41afae41b9b97d36c21eb1b955c422a7e60" dependencies = [ "alloy-json-abi", "const-hex", @@ -563,24 +573,24 @@ dependencies = [ "proc-macro2", "quote", "serde_json", - "syn 2.0.60", + "syn 2.0.68", "syn-solidity", ] [[package]] name = "alloy-sol-type-parser" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fd4783b0a5840479013e9ce960d2eb7b3be381f722e0fe3d1f7c3bb6bd4ebd" +checksum = "baa2fbd22d353d8685bd9fee11ba2d8b5c3b1d11e56adb3265fcf1f32bfdf404" dependencies = [ - "winnow 0.6.6", + "winnow 0.6.13", ] [[package]] name = "alloy-sol-types" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eb5e6234c0b62514992589fe1578f64d418dbc8ef5cd1ab2d7f2f568f599698" +checksum = "a49042c6d3b66a9fe6b2b5a8bf0d39fc2ae1ee0310a2a26ffedd79fb097878dd" dependencies = [ "alloy-json-abi", "alloy-primitives", @@ -592,10 +602,10 @@ dependencies = [ [[package]] name = "alloy-transport" version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "base64 0.22.0", + "alloy-json-rpc 0.1.0", + "base64 0.22.1", "futures-util", "futures-utils-wasm", "serde", @@ -609,11 +619,12 @@ dependencies = [ [[package]] name = "alloy-transport" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy.git?rev=cad7935#cad7935d69f433e45d190902e58b1c996b35adfa" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd9773e4ec6832346171605c776315544bd06e40f803e7b5b7824b325d5442ca" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", - "base64 0.22.0", + "alloy-json-rpc 0.1.3", + "base64 0.22.1", "futures-util", "futures-utils-wasm", "serde", @@ -622,17 +633,17 @@ dependencies = [ "tokio", "tower", "url", - "wasm-bindgen-futures", ] [[package]] name = "alloy-transport-http" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ff8ef947b901c0d4e97370f9fa25844cf8b63b1a58fd4011ee82342dc8a9fc6b" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "reqwest 0.12.4", + "alloy-json-rpc 0.1.3", + "alloy-transport 0.1.3", + "reqwest 0.12.5", "serde_json", "tower", "tracing", @@ -641,16 +652,18 @@ dependencies = [ [[package]] name = "alloy-transport-ws" -version = "0.1.0" -source = "git+https://github.com/alloy-rs/alloy?rev=05f8162#05f81621e2edd9781e5f95b2fe2489ed979dd0be" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d92049d6642a18c9849ce7659430151e7c92b51552a0cabdc038c1af4cd7308" dependencies = [ "alloy-pubsub", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", + "alloy-transport 0.1.3", "futures", - "http 0.2.12", + "http 1.1.0", + "rustls", "serde_json", "tokio", - "tokio-tungstenite 0.20.1", + "tokio-tungstenite 0.23.1", "tracing", "ws_stream_wasm", ] @@ -678,47 +691,48 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.13" +version = "0.6.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d96bd03f33fe50a863e394ee9718a706f988b9079b20c3784fb726e7678b62fb" +checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.6" +version = "1.0.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bc" +checksum = "038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1b" [[package]] name = "anstyle-parse" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928c" +checksum = "c03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.2" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648" +checksum = "ad186efb764318d35165f1758e7dcef3b10628e26d41a44bc5550652e6804391" dependencies = [ "windows-sys 0.52.0", ] [[package]] name = "anstyle-wincon" -version = "3.0.2" +version = "3.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7" +checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" dependencies = [ "anstyle", "windows-sys 0.52.0", @@ -726,9 +740,9 @@ dependencies = [ [[package]] name = "anyhow" -version = "1.0.82" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519" +checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" [[package]] name = "app_store" @@ -747,7 +761,7 @@ dependencies = [ "url", "urlencoding 2.1.3", "wit-bindgen", - "zip 1.1.1", + "zip 1.1.4", ] [[package]] @@ -883,12 +897,6 @@ dependencies = [ "rand 0.8.5", ] -[[package]] -name = "arrayref" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b4930d2cb77ce62f89ee5d5289b4ac049559b1c45539271f5ed4fdc7db34545" - [[package]] name = "arrayvec" version = "0.7.4" @@ -914,7 +922,7 @@ checksum = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -925,7 +933,7 @@ checksum = "c6fa2087f2753a7da8cc1c0dbfcf89579dd57458e36769de5ac750b4671737ca" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -939,6 +947,12 @@ dependencies = [ "rustc_version 0.4.0", ] +[[package]] +name = "atomic-waker" +version = "1.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" + [[package]] name = "auto_impl" version = "1.2.0" @@ -947,7 +961,7 @@ checksum = "3c87f3f15e7794432337fc718554eaa4dc8f04c9677a950ffe366f20a162ae42" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -956,14 +970,14 @@ version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dde43e75fd43e8a1bf86103336bc699aa8d17ad1be60c76c0bdfd4828e19b78" dependencies = [ - "autocfg 1.2.0", + "autocfg 1.3.0", ] [[package]] name = "autocfg" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1fdabc7756949593fe60f30ec81974b613357de856987752631dea1e3394c80" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" @@ -1000,9 +1014,9 @@ checksum = "9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567" [[package]] name = "base64" -version = "0.22.0" +version = "0.22.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9475866fec1451be56a3c2400fd081ff546538961565ccb5b7142cbd22bc7a51" +checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" [[package]] name = "base64ct" @@ -1031,7 +1045,7 @@ version = "0.69.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a00dc851838a2120612785d195287475a3ac45514741da670b735818822129a0" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cexpr", "clang-sys", "itertools 0.12.1", @@ -1042,7 +1056,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -1068,9 +1082,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1" +checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" [[package]] name = "bitvec" @@ -1093,33 +1107,20 @@ dependencies = [ "digest 0.10.7", ] -[[package]] -name = "blake3" -version = "1.5.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30cca6d3674597c30ddf2c587bf8d9d65c9a84d2326d941cc79c9842dfe0ef52" -dependencies = [ - "arrayref", - "arrayvec", - "cc", - "cfg-if", - "constant_time_eq 0.3.0", -] - [[package]] name = "block-buffer" version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] name = "blst" -version = "0.3.11" +version = "0.3.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c94087b935a822949d3291a9989ad2b2051ea141eda0fd4e478a75f6aa3e604b" +checksum = "62dc83a094a71d43eeadd254b1ec2d24cb6a0bb6cadce00df51f0db594711a32" dependencies = [ "cc", "glob", @@ -1177,9 +1178,9 @@ dependencies = [ [[package]] name = "c-kzg" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3130f3d8717cc02e668a896af24984d5d5d4e8bf12e278e982e0f1bd88a0f9af" +checksum = "cdf100c4cea8f207e883ff91ca886d621d8a166cb04971dfaa9bb8fd99ed95df" dependencies = [ "blst", "cc", @@ -1191,9 +1192,9 @@ dependencies = [ [[package]] name = "cap-fs-ext" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "769f8cd02eb04d57f14e2e371ebb533f96817f9b2525d73a5c72b61ca7973747" +checksum = "2fc2d2954524be4866aaa720f008fba9995de54784957a1b0e0119992d6d5e52" dependencies = [ "cap-primitives", "cap-std", @@ -1203,9 +1204,9 @@ dependencies = [ [[package]] name = "cap-net-ext" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59ff6d3fb274292a9af283417e383afe6ded1fe66f6472d2c781216d3d80c218" +checksum = "799c81d79ea9c71a1438efd417c788214bc9e7986046d3710b6bbe60da4d8275" dependencies = [ "cap-primitives", "cap-std", @@ -1215,9 +1216,9 @@ dependencies = [ [[package]] name = "cap-primitives" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90a0b44fc796b1a84535a63753d50ba3972c4db55c7255c186f79140e63d56d0" +checksum = "00172660727e2d7f808e7cc2bfffd093fdb3ea2ff2ef819289418a3c3ffab5ac" dependencies = [ "ambient-authority", "fs-set-times", @@ -1232,9 +1233,9 @@ dependencies = [ [[package]] name = "cap-rand" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4327f08daac33a99bb03c54ae18c8f32c3ba31c728a33ddf683c6c6a5043de68" +checksum = "270f1d341a2afc62604f8f688bee4e444d052b7a74c1458dd3aa7efb47d4077f" dependencies = [ "ambient-authority", "rand 0.8.5", @@ -1242,9 +1243,9 @@ dependencies = [ [[package]] name = "cap-std" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "266626ce180cf9709f317d0bf9754e3a5006359d87f4bf792f06c9c5f1b63c0f" +checksum = "8cd9187bb3f7478a4c135ea10473a41a5f029d2ac800c1adf64f35ec7d4c8603" dependencies = [ "cap-primitives", "io-extras", @@ -1254,9 +1255,9 @@ dependencies = [ [[package]] name = "cap-time-ext" -version = "3.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e1353421ba83c19da60726e35db0a89abef984b3be183ff6f58c5b8084fcd0c5" +checksum = "91666f31e30c85b1d2ee8432c90987f752c45f5821f5638027b41e73e16a395b" dependencies = [ "ambient-authority", "cap-primitives", @@ -1279,9 +1280,9 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.95" +version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b" +checksum = "74b6a57f98764a267ff415d50a25e6e166f3831a5071af4995296ea97d210490" dependencies = [ "jobserver", "libc", @@ -1332,7 +1333,7 @@ name = "chess" version = "0.2.1" dependencies = [ "anyhow", - "base64 0.22.0", + "base64 0.22.1", "bincode", "kinode_process_lib 0.8.0 (git+https://github.com/kinode-dao/process_lib?tag=v0.8.0)", "pleco", @@ -1369,9 +1370,9 @@ dependencies = [ [[package]] name = "clang-sys" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "67523a3b4be3ce1989d607a828d036249522dd9c1c8de7f4dd2dae43a37369d1" +checksum = "0b023947811758c97c59bf9d1c188fd619ad4718dcaa767947df1cadb14f39f4" dependencies = [ "glob", "libc", @@ -1380,9 +1381,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.4" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0" +checksum = "84b3edb18336f4df585bc9aa31dd99c036dfa5dc5e9a2939a722a188f3a8970d" dependencies = [ "clap_builder", "clap_derive", @@ -1390,9 +1391,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.2" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4" +checksum = "c1c09dd5ada6c6c78075d6fd0da3f90d8080651e2d6cc8eb2f1aaa4034ced708" dependencies = [ "anstream", "anstyle", @@ -1402,21 +1403,21 @@ dependencies = [ [[package]] name = "clap_derive" -version = "4.5.4" +version = "4.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64" +checksum = "2bac35c6dafb060fd4d275d9a4ffae97917c13a6327903a8be2153cd964f7085" dependencies = [ "heck 0.5.0", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] name = "clap_lex" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ce" +checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" [[package]] name = "cloudabi" @@ -1465,15 +1466,15 @@ dependencies = [ [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422" [[package]] name = "const-hex" -version = "1.11.3" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ba00838774b4ab0233e355d26710fbfc8327a05c017f6dc4873f876d1f79f78" +checksum = "94fb8a24a26d37e1ffd45343323dc9fe6654ceea44c12f2fcb3d7ac29e610bc6" dependencies = [ "cfg-if", "cpufeatures", @@ -1563,7 +1564,7 @@ dependencies = [ "cranelift-entity", "cranelift-isle", "gimli", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "log", "regalloc2", "smallvec", @@ -1666,18 +1667,18 @@ checksum = "19d374276b40fb8bbdee95aef7c7fa6b5316ec764510eb64b8dd0e2ed0d7e7f5" [[package]] name = "crc32fast" -version = "1.4.0" +version = "1.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b3855a8a784b474f333699ef2bbca9db2c4a1f6d9088a90a2d25b1eb53111eaa" +checksum = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" dependencies = [ "cfg-if", ] [[package]] name = "crossbeam-channel" -version = "0.5.12" +version = "0.5.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab3db02a9c5b5121e1e42fbdb1aeb65f5e02624cc58c43f2884c6ccac0b82f95" +checksum = "33480d6946193aa8033910124896ca395333cae7e2d1113d1fef6c3272217df2" dependencies = [ "crossbeam-utils", ] @@ -1703,9 +1704,9 @@ dependencies = [ [[package]] name = "crossbeam-utils" -version = "0.8.19" +version = "0.8.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345" +checksum = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" [[package]] name = "crossterm" @@ -1713,12 +1714,12 @@ version = "0.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f476fe445d41c9e991fd07515a6f463074b782242ccf4a5b7b1d1012e70824df" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "crossterm_winapi", "futures-core", "libc", "mio", - "parking_lot", + "parking_lot 0.12.3", "signal-hook", "signal-hook-mio", "winapi", @@ -1745,7 +1746,7 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0dc92fb57ca44df6db8059111ab3af99a63d5d0f8375d9972e319a379c6bab76" dependencies = [ - "generic-array 0.14.7", + "generic-array", "rand_core 0.6.4", "subtle", "zeroize", @@ -1757,7 +1758,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" dependencies = [ - "generic-array 0.14.7", + "generic-array", "rand_core 0.6.4", "typenum", ] @@ -1773,15 +1774,14 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.2" +version = "4.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a677b8922c94e01bdbb12126b0bc852f00447528dee1782229af9c720c3f348" +checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", "cpufeatures", "curve25519-dalek-derive", "fiat-crypto", - "platforms", "rustc_version 0.4.0", "subtle", "zeroize", @@ -1795,7 +1795,7 @@ checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -1840,17 +1840,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856" dependencies = [ "cfg-if", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "lock_api", "once_cell", - "parking_lot_core", + "parking_lot_core 0.9.10", ] [[package]] name = "data-encoding" -version = "2.5.0" +version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e962a19be5cfc3f3bf6dd8f61eb50107f356ad6270fbb3ed41476571db78be5" +checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "debugid" @@ -1905,7 +1905,7 @@ checksum = "67e77553c4162a157adbf834ebae5b415acbecbeafc7a74b0e886657506a7611" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -1935,15 +1935,15 @@ dependencies = [ [[package]] name = "derive_more" -version = "0.99.17" +version = "0.99.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321" +checksum = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" dependencies = [ "convert_case", "proc-macro2", "quote", "rustc_version 0.4.0", - "syn 1.0.109", + "syn 2.0.68", ] [[package]] @@ -1952,7 +1952,7 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -2029,6 +2029,17 @@ dependencies = [ "winapi", ] +[[package]] +name = "displaydoc" +version = "0.2.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.68", +] + [[package]] name = "dns-lookup" version = "1.0.8" @@ -2085,9 +2096,9 @@ dependencies = [ [[package]] name = "either" -version = "1.11.0" +version = "1.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2" +checksum = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" [[package]] name = "elliptic-curve" @@ -2099,9 +2110,8 @@ dependencies = [ "crypto-bigint", "digest 0.10.7", "ff", - "generic-array 0.14.7", + "generic-array", "group", - "hkdf", "pkcs8", "rand_core 0.6.4", "sec1", @@ -2144,9 +2154,9 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.8" +version = "0.3.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +checksum = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" dependencies = [ "libc", "windows-sys 0.52.0", @@ -2176,9 +2186,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fastrand" -version = "2.0.2" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "658bd65b1cf4c852a3cc96f18a8ce7b5640f6b703f905c7d74532294c2a63984" +checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" [[package]] name = "fastrlp" @@ -2214,9 +2224,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.7" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c007b1ae3abe1cb6f85a16305acd418b7ca6343b953633fee2b76d8f108b830f" +checksum = "28dea519a9695b9977216879a3ebfddf92f1c08c05d984f8996aecd6ecdc811d" [[package]] name = "fixed-hash" @@ -2232,9 +2242,9 @@ dependencies = [ [[package]] name = "flate2" -version = "1.0.28" +version = "1.0.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" +checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae" dependencies = [ "crc32fast", "libz-ng-sys", @@ -2277,7 +2287,7 @@ version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" dependencies = [ - "autocfg 1.2.0", + "autocfg 1.3.0", ] [[package]] @@ -2372,7 +2382,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -2426,7 +2436,7 @@ version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "27d12c0aed7f1e24276a241aadc4cb8ea9f83000f34bc062b7cc2d51e3b0fabd" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "debugid", "fxhash", "serde", @@ -2444,15 +2454,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "generic-array" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe739944a5406424e080edccb6add95685130b9f160d5407c639c7df0c5836b0" -dependencies = [ - "typenum", -] - [[package]] name = "get_block" version = "0.1.0" @@ -2465,9 +2466,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.14" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94b22e06ecb0110981051723910cbf0b5f5e09a2062dd7663334ee79a9d1286c" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -2501,7 +2502,7 @@ version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "232e6a7bfe35766bf715e55a88b39a700596c0ccfd88cd3680b4cdb40d66ef70" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "libc", "libgit2-sys", "log", @@ -2548,15 +2549,15 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "816ec7294445779408f36fe57bc5b7fc1cf59664059096c65f905c1c61f58069" +checksum = "fa82e28a107a8cc405f0839610bdc9b15f1e25ec7d696aa5cf173edbcb1486ab" dependencies = [ + "atomic-waker", "bytes", "fnv", "futures-core", "futures-sink", - "futures-util", "http 1.1.0", "indexmap", "slab", @@ -2576,9 +2577,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.3" +version = "0.14.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" +checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" dependencies = [ "ahash", "allocator-api2", @@ -2586,11 +2587,11 @@ dependencies = [ [[package]] name = "hashlink" -version = "0.9.0" +version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "692eaaf7f7607518dd3cef090f1474b61edc5301d8012f09579920df68b725ee" +checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af" dependencies = [ - "hashbrown 0.14.3", + "hashbrown 0.14.5", ] [[package]] @@ -2663,15 +2664,6 @@ dependencies = [ "wit-bindgen", ] -[[package]] -name = "hkdf" -version = "0.12.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7" -dependencies = [ - "hmac", -] - [[package]] name = "hmac" version = "0.12.1" @@ -2738,12 +2730,12 @@ dependencies = [ [[package]] name = "http-body-util" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0475f8b2ac86659c21b64320d5d653f9efe42acd2a4e560073ec61a155a34f1d" +checksum = "793429d76616a256bcb62c2a2ec2bed781c8307e797e2598c50010f2bee2544f" dependencies = [ "bytes", - "futures-core", + "futures-util", "http 1.1.0", "http-body 1.0.0", "pin-project-lite", @@ -2751,9 +2743,9 @@ dependencies = [ [[package]] name = "httparse" -version = "1.8.0" +version = "1.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +checksum = "0fcc0b4a115bf80b728eb8ea024ad5bd707b615bfed49e0665b6e0f86fd082d9" [[package]] name = "httpdate" @@ -2763,9 +2755,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.28" +version = "0.14.29" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" +checksum = "f361cde2f109281a220d4307746cdfd5ee3f410da58a70377762396775634b33" dependencies = [ "bytes", "futures-channel", @@ -2794,7 +2786,7 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.4", + "h2 0.4.5", "http 1.1.0", "http-body 1.0.0", "httparse", @@ -2805,6 +2797,23 @@ dependencies = [ "want", ] +[[package]] +name = "hyper-rustls" +version = "0.27.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" +dependencies = [ + "futures-util", + "http 1.1.0", + "hyper 1.3.1", + "hyper-util", + "rustls", + "rustls-pki-types", + "tokio", + "tokio-rustls", + "tower-service", +] + [[package]] name = "hyper-system-resolver" version = "0.5.0" @@ -2813,7 +2822,7 @@ checksum = "6eea26c5d0b6ab9d72219f65000af310f042a740926f7b2fa3553e774036e2e7" dependencies = [ "derive_builder", "dns-lookup", - "hyper 0.14.28", + "hyper 0.14.29", "tokio", "tower-service", "tracing", @@ -2826,7 +2835,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6183ddfa99b85da61a140bea0efc93fdf56ceaa041b37d553518030827f9905" dependencies = [ "bytes", - "hyper 0.14.28", + "hyper 0.14.29", "native-tls", "tokio", "tokio-native-tls", @@ -2850,9 +2859,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.3" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca38ef113da30126bbff9cd1705f9273e15d45498615d138b0c20279ac7a76aa" +checksum = "7b875924a60b96e5d7b9ae7b066540b1dd1cbd90d1828f54c92e02a283351c56" dependencies = [ "bytes", "futures-channel", @@ -2980,7 +2989,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26" dependencies = [ "equivalent", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "serde", ] @@ -2990,7 +2999,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" dependencies = [ - "generic-array 0.14.7", + "generic-array", ] [[package]] @@ -3004,6 +3013,15 @@ dependencies = [ "wit-bindgen", ] +[[package]] +name = "instant" +version = "0.1.13" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0242819d153cba4b4b05a5a8f2a7e9bbf97b6055b2a002b395c96b5ff3c0222" +dependencies = [ + "cfg-if", +] + [[package]] name = "io-extras" version = "0.18.2" @@ -3045,6 +3063,12 @@ dependencies = [ "once_cell", ] +[[package]] +name = "is_terminal_polyfill" +version = "1.70.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" + [[package]] name = "itertools" version = "0.10.5" @@ -3063,6 +3087,15 @@ dependencies = [ "either", ] +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itoa" version = "1.0.11" @@ -3091,9 +3124,9 @@ dependencies = [ [[package]] name = "jobserver" -version = "0.1.30" +version = "0.1.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "685a7d121ee3f65ae4fddd72b25a04bb36b6af81bc0828f7d5434c0fe60fa3a2" +checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e" dependencies = [ "libc", ] @@ -3146,9 +3179,9 @@ dependencies = [ [[package]] name = "keccak-asm" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb8515fff80ed850aea4a1595f2e519c003e2a00a82fe168ebf5269196caf444" +checksum = "47a3633291834c4fbebf8673acbc1b04ec9d151418ff9b8e26dcd79129928758" dependencies = [ "digest 0.10.7", "sha3-asm", @@ -3179,7 +3212,7 @@ dependencies = [ [[package]] name = "kinode" -version = "0.8.1" +version = "0.8.2" dependencies = [ "aes-gcm", "alloy", @@ -3188,38 +3221,27 @@ dependencies = [ "alloy-sol-types", "anyhow", "async-trait", - "base64 0.22.0", + "base64 0.22.1", "bincode", - "blake3", - "bytes", - "chacha20poly1305", "chrono", "clap", "crossterm", - "curve25519-dalek", "dashmap", - "digest 0.10.7", - "elliptic-curve", - "flate2", "futures", - "generic-array 1.0.0", - "getrandom", + "generic-array", "hex", - "hkdf", "hmac", "http 1.1.0", "jwt", "kit", "lazy_static", "lib", - "log", "nohash-hasher", - "num-traits", "open", "public-ip", "rand 0.8.5", "rayon", - "reqwest 0.12.4", + "reqwest 0.12.5", "ring", "rmp-serde", "rocksdb", @@ -3227,7 +3249,6 @@ dependencies = [ "rusqlite", "serde", "serde_json", - "serde_urlencoded", "sha2", "sha3", "snow", @@ -3237,19 +3258,18 @@ dependencies = [ "tokio", "tokio-tungstenite 0.21.0", "url", - "uuid", "walkdir", "warp", "wasi-common", "wasmtime", "wasmtime-wasi", "zip 0.6.6", - "zip 1.1.1", + "zip 1.1.4", ] [[package]] name = "kinode_lib" -version = "0.8.1" +version = "0.8.2" dependencies = [ "lib", ] @@ -3259,10 +3279,10 @@ name = "kinode_process_lib" version = "0.8.0" source = "git+https://github.com/kinode-dao/process_lib?tag=v0.8.0#95a4b042939b760d58c4c4c4eb92f43e813fc1d2" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-json-rpc 0.1.0", "alloy-primitives", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-rpc-types 0.1.0", + "alloy-transport 0.1.0", "anyhow", "bincode", "http 1.1.0", @@ -3281,10 +3301,10 @@ name = "kinode_process_lib" version = "0.8.0" source = "git+https://github.com/kinode-dao/process_lib.git?rev=7eb3a04#7eb3a04f9be79d1cc3a52fa460faeea7ba3008ed" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-json-rpc 0.1.0", "alloy-primitives", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", - "alloy-transport 0.1.0 (git+https://github.com/alloy-rs/alloy.git?rev=cad7935)", + "alloy-rpc-types 0.1.0", + "alloy-transport 0.1.0", "anyhow", "bincode", "http 1.1.0", @@ -3300,8 +3320,8 @@ dependencies = [ [[package]] name = "kit" -version = "0.4.2" -source = "git+https://github.com/kinode-dao/kit?rev=d319c5b#d319c5b573166e54ead9da47d363e65b9cd47c57" +version = "0.6.2" +source = "git+https://github.com/kinode-dao/kit?tag=v0.6.2#59ca74d4952998753bf5e64404d09f31a4424830" dependencies = [ "anyhow", "base64 0.21.7", @@ -3317,19 +3337,21 @@ dependencies = [ "regex", "reqwest 0.11.27", "rmp-serde", - "semver 1.0.22", + "semver 1.0.23", "serde", "serde_json", "sha2", + "ssh2", "thiserror", "tokio", - "tokio-tungstenite 0.21.0", + "tokio-tungstenite 0.23.1", "toml", "tracing", "tracing-appender", "tracing-error", "tracing-subscriber", "walkdir", + "wit-bindgen", "zip 0.6.6", ] @@ -3351,9 +3373,9 @@ dependencies = [ [[package]] name = "lazy_static" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "lazycell" @@ -3369,15 +3391,12 @@ checksum = "884e2677b40cc8c339eaefcb701c32ef1fd2493d71118dc0ca4b6a736c93bd67" [[package]] name = "lib" -version = "0.8.1" +version = "0.8.2" dependencies = [ - "alloy-json-rpc 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "alloy-rpc-types 0.1.0 (git+https://github.com/alloy-rs/alloy?rev=05f8162)", - "anyhow", + "alloy", "kit", "lazy_static", "rand 0.8.5", - "reqwest 0.12.4", "ring", "rusqlite", "serde", @@ -3389,9 +3408,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.153" +version = "0.2.155" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" +checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" [[package]] name = "libgit2-sys" @@ -3409,9 +3428,9 @@ dependencies = [ [[package]] name = "libloading" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c2a198fb6b0eada2a8df47933734e6d35d350665a33a3593d7164fa52c75c19" +checksum = "e310b3a6b5907f99202fcdb4960ff45b93735d7c7d96b760fcff8db2dc0e103d" dependencies = [ "cfg-if", "windows-targets 0.52.5", @@ -3429,7 +3448,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "libc", ] @@ -3486,9 +3505,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.16" +version = "1.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e143b5e666b2695d28f6bca6497720813f699c9602dd7f5cac91008b8ada7f9" +checksum = "c15da26e5af7e25c90b37a2d75cdbf940cf4a55316de9d84c679c9b8bfabf82e" dependencies = [ "cc", "libc", @@ -3498,25 +3517,31 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.13" +version = "0.4.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539c" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" [[package]] name = "lock_api" -version = "0.4.11" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45" +checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" dependencies = [ - "autocfg 1.2.0", + "autocfg 1.3.0", "scopeguard", ] +[[package]] +name = "lockfree-object-pool" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9374ef4228402d4b7e403e5838cb880d9ee663314b0a900d5a6aabf0c213552e" + [[package]] name = "log" -version = "0.4.21" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c" +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "lru" @@ -3524,14 +3549,14 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3262e75e648fce39813cb56ac41f3c3e3f65217ebf3844d818d1f9398cfb0dc" dependencies = [ - "hashbrown 0.14.3", + "hashbrown 0.14.5", ] [[package]] name = "lz4-sys" -version = "1.9.4" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900" +checksum = "e9764018d143cc854c9f17f0b907de70f14393b1f502da6375dce70f00514eb3" dependencies = [ "cc", "libc", @@ -3592,9 +3617,9 @@ checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4" [[package]] name = "memchr" -version = "2.7.2" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "memfd" @@ -3611,7 +3636,7 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" dependencies = [ - "autocfg 1.2.0", + "autocfg 1.3.0", ] [[package]] @@ -3622,9 +3647,9 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "mime_guess" -version = "2.0.4" +version = "2.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4192263c238a5f0d0c6bfd21f336a313a4ce1c450542449ca191bb657b4642ef" +checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" dependencies = [ "mime", "unicase", @@ -3638,9 +3663,9 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] name = "miniz_oxide" -version = "0.7.2" +version = "0.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d811f3e15f28568be3407c8e7fdb6514c1cda3cb30683f15b6a1a1dc4ea14a7" +checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" dependencies = [ "adler", ] @@ -3693,11 +3718,10 @@ dependencies = [ [[package]] name = "native-tls" -version = "0.2.11" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07226173c32f2926027b63cce4bcd8076c3552846cbe7925f3aaffeac0a3b92e" +checksum = "a8614eb2c83d59d1c8cc974dd3f920198647674a0a035e1af1fa58707e317466" dependencies = [ - "lazy_static", "libc", "log", "openssl", @@ -3734,7 +3758,7 @@ version = "0.27.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cfg-if", "libc", ] @@ -3767,11 +3791,10 @@ dependencies = [ [[package]] name = "num-bigint" -version = "0.4.4" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" dependencies = [ - "autocfg 1.2.0", "num-integer", "num-traits", ] @@ -3793,11 +3816,11 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.18" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517a" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ - "autocfg 1.2.0", + "autocfg 1.3.0", "libm", ] @@ -3826,9 +3849,10 @@ version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "681030a937600a36906c185595136d26abfebb4aa9c65701cefcaf8578bb982b" dependencies = [ + "proc-macro-crate", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -3838,7 +3862,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a6a622008b6e321afc04970976f62ee297fdbaa6f95318ca343e3eebb9648441" dependencies = [ "crc32fast", - "hashbrown 0.14.3", + "hashbrown 0.14.5", "indexmap", "memchr", ] @@ -3857,9 +3881,9 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "open" -version = "5.1.2" +version = "5.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "449f0ff855d85ddbf1edd5b646d65249ead3f5e422aaa86b7d2d0b049b103e32" +checksum = "b5ca541f22b1c46d4bb9801014f234758ab4297e7870b904b6a8415b980a7388" dependencies = [ "is-wsl", "libc", @@ -3872,7 +3896,7 @@ version = "0.10.64" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "95a0481286a310808298130d22dd1fef0fa571e05a8f44ec801801e84b216b1f" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cfg-if", "foreign-types", "libc", @@ -3889,7 +3913,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -3930,9 +3954,9 @@ checksum = "c1b04fb49957986fdce4d6ee7a65027d55d4b6d2265e5848bbb507b58ccfdb6f" [[package]] name = "parity-scale-codec" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" +checksum = "306800abfa29c7f16596b5970a588435e3d5b3149683d00c12b699cc19f895ee" dependencies = [ "arrayvec", "bitvec", @@ -3944,9 +3968,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.9" +version = "3.6.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" +checksum = "d830939c76d294956402033aee57a6da7b438f2294eb94864c37b0569053a42c" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -3956,25 +3980,50 @@ dependencies = [ [[package]] name = "parking_lot" -version = "0.12.1" +version = "0.11.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" dependencies = [ + "instant", "lock_api", - "parking_lot_core", + "parking_lot_core 0.8.6", +] + +[[package]] +name = "parking_lot" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" +dependencies = [ + "lock_api", + "parking_lot_core 0.9.10", ] [[package]] name = "parking_lot_core" -version = "0.9.9" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008e" +checksum = "60a2cfe6f0ad2bfc16aefa463b497d5c7a5ecd44a23efa72aa342d90177356dc" dependencies = [ "cfg-if", + "instant", "libc", - "redox_syscall", + "redox_syscall 0.2.16", "smallvec", - "windows-targets 0.48.5", + "winapi", +] + +[[package]] +name = "parking_lot_core" +version = "0.9.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" +dependencies = [ + "cfg-if", + "libc", + "redox_syscall 0.5.2", + "smallvec", + "windows-targets 0.52.5", ] [[package]] @@ -3990,9 +4039,9 @@ dependencies = [ [[package]] name = "paste" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" [[package]] name = "pathdiff" @@ -4050,9 +4099,9 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.7.9" +version = "2.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "311fb059dee1a7b802f036316d790138c613a4e8b180c822e3925a662e9f0c95" +checksum = "560131c633294438da9f7c4b08189194b20946c8274c6b9e38881a7874dc8ee8" dependencies = [ "memchr", "thiserror", @@ -4086,7 +4135,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -4117,12 +4166,6 @@ version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" -[[package]] -name = "platforms" -version = "3.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db23d408679286588f4d4644f965003d056e3dd5abcaaa938116871d7ce2fee7" - [[package]] name = "pleco" version = "0.5.0" @@ -4185,11 +4228,11 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "2.0.0" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e8366a6159044a37876a2b9817124296703c586a5c92e2c53751fa06d8d43e8" +checksum = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" dependencies = [ - "toml_edit 0.20.7", + "toml_edit 0.21.1", ] [[package]] @@ -4224,9 +4267,9 @@ checksum = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068" [[package]] name = "proc-macro2" -version = "1.0.81" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] @@ -4237,24 +4280,24 @@ version = "0.1.0" source = "git+https://github.com/kinode-dao/process_macros?rev=626e501#626e501d351e3365480ec6f770d474ed4ae339bf" dependencies = [ "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] name = "proptest" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" +checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" dependencies = [ "bit-set", "bit-vec", - "bitflags 2.5.0", + "bitflags 2.6.0", "lazy_static", "num-traits", "rand 0.8.5", "rand_chacha 0.3.1", "rand_xorshift 0.3.0", - "regex-syntax 0.8.3", + "regex-syntax 0.8.4", "rusty-fork", "tempfile", "unarray", @@ -4279,7 +4322,7 @@ dependencies = [ "futures-core", "futures-util", "http 0.2.12", - "hyper 0.14.28", + "hyper 0.14.29", "hyper-system-resolver", "pin-project-lite", "thiserror", @@ -4497,13 +4540,22 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.4.1" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" dependencies = [ "bitflags 1.3.2", ] +[[package]] +name = "redox_syscall" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c82cf8cff14456045f55ec4241383baeff27af886adb72ffb2162f99911de0fd" +dependencies = [ + "bitflags 2.6.0", +] + [[package]] name = "redox_users" version = "0.4.5" @@ -4530,14 +4582,14 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.4" +version = "1.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c" +checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.4.6", - "regex-syntax 0.8.3", + "regex-automata 0.4.7", + "regex-syntax 0.8.4", ] [[package]] @@ -4551,13 +4603,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea" +checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.8.3", + "regex-syntax 0.8.4", ] [[package]] @@ -4568,9 +4620,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56" +checksum = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" [[package]] name = "reqwest" @@ -4586,7 +4638,7 @@ dependencies = [ "h2 0.3.26", "http 0.2.12", "http-body 0.4.6", - "hyper 0.14.28", + "hyper 0.14.29", "hyper-tls 0.5.0", "ipnet", "js-sys", @@ -4600,7 +4652,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 0.1.2", "system-configuration", "tokio", "tokio-native-tls", @@ -4614,21 +4666,21 @@ dependencies = [ [[package]] name = "reqwest" -version = "0.12.4" +version = "0.12.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "566cafdd92868e0939d3fb961bd0dc25fcfaaed179291093b3d43e6b3150ea10" +checksum = "c7d6d2a27d57148378eb5e111173f4276ad26340ecc5c49a4a2152167a2d6a37" dependencies = [ - "base64 0.22.0", + "base64 0.22.1", "bytes", "encoding_rs", - "futures-channel", "futures-core", "futures-util", - "h2 0.4.4", + "h2 0.4.5", "http 1.1.0", "http-body 1.0.0", "http-body-util", "hyper 1.3.1", + "hyper-rustls", "hyper-tls 0.6.0", "hyper-util", "ipnet", @@ -4643,7 +4695,7 @@ dependencies = [ "serde", "serde_json", "serde_urlencoded", - "sync_wrapper", + "sync_wrapper 1.0.1", "system-configuration", "tokio", "tokio-native-tls", @@ -4703,9 +4755,9 @@ dependencies = [ [[package]] name = "rmp-serde" -version = "1.2.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "938a142ab806f18b88a97b0dea523d39e0fd730a064b035726adcfc58a8a5188" +checksum = "52e599a477cf9840e92f2cde9a7189e67b42c57532749bf90aea6ec10facd4db" dependencies = [ "byteorder", "rmp", @@ -4764,7 +4816,7 @@ version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b838eba278d213a8beaf485bd313fd580ca4505a00d5871caeb1457c55322cae" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -4774,9 +4826,9 @@ dependencies = [ [[package]] name = "rustc-demangle" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" [[package]] name = "rustc-hash" @@ -4805,16 +4857,16 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.22", + "semver 1.0.23", ] [[package]] name = "rustix" -version = "0.38.33" +version = "0.38.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e3cc72858054fcff6d7dea32df2aeaee6a7c24227366d7ea429aada2f26b16ad" +checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "errno", "itoa", "libc", @@ -4825,14 +4877,16 @@ dependencies = [ [[package]] name = "rustls" -version = "0.21.11" +version = "0.23.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fecbfb7b1444f477b345853b1fce097a2c6fb637b2bfb87e6bc5db0f043fae4" +checksum = "05cff451f60db80f490f3c182b77c35260baace73209e9cdbbe526bfe3a4d402" dependencies = [ - "log", + "once_cell", "ring", + "rustls-pki-types", "rustls-webpki", - "sct", + "subtle", + "zeroize", ] [[package]] @@ -4850,23 +4904,24 @@ version = "2.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d" dependencies = [ - "base64 0.22.0", + "base64 0.22.1", "rustls-pki-types", ] [[package]] name = "rustls-pki-types" -version = "1.4.1" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd36cc4259e3e4514335c4a138c6b43171a8d61d8f5c9348f9fc7529416f247" +checksum = "976295e77ce332211c0d24d92c0e83e50f5c5f046d11082cea19f3df13a3562d" [[package]] name = "rustls-webpki" -version = "0.101.7" +version = "0.102.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b6275d1ee7a1cd780b64aca7726599a1dbc893b1e64144529e55c3c2f745765" +checksum = "ff448f7e92e913c4b7d4c6d8e4540a1724b319b4152b8aef6d4cf8339712b33e" dependencies = [ "ring", + "rustls-pki-types", "untrusted", ] @@ -4890,9 +4945,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.17" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1" +checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" [[package]] name = "same-file" @@ -4924,16 +4979,6 @@ version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" -[[package]] -name = "sct" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da046153aa2352493d6cb7da4b6e5c0c057d8a1d0a9aa8560baffdd945acd414" -dependencies = [ - "ring", - "untrusted", -] - [[package]] name = "sec1" version = "0.7.3" @@ -4942,7 +4987,7 @@ checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" dependencies = [ "base16ct", "der", - "generic-array 0.14.7", + "generic-array", "pkcs8", "subtle", "zeroize", @@ -4950,11 +4995,11 @@ dependencies = [ [[package]] name = "security-framework" -version = "2.10.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "770452e37cad93e0a50d5abc3990d2bc351c36d0328f86cefec2f2fb206eaef6" +checksum = "c627723fd09706bacdb5cf41499e95098555af3c3c29d014dc3c458ef6be11c0" dependencies = [ - "bitflags 1.3.2", + "bitflags 2.6.0", "core-foundation", "core-foundation-sys", "libc", @@ -4963,9 +5008,9 @@ dependencies = [ [[package]] name = "security-framework-sys" -version = "2.10.0" +version = "2.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41f3cc463c0ef97e11c3461a9d3787412d30e8e7eb907c79180c4a57bf7c04ef" +checksum = "317936bbbd05227752583946b9e66d7ce3b489f84e11a94a510b4437fef407d7" dependencies = [ "core-foundation-sys", "libc", @@ -4982,9 +5027,9 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.22" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "92d43fe69e652f3df9bdc2b85b2854a0825b86e4fb76bc44d945137d053639ca" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "semver-parser" @@ -5003,29 +5048,29 @@ checksum = "cd0b0ec5f1c1ca621c432a25813d8d60c88abe6d3e08a3eb9cf37d97a0fe3d73" [[package]] name = "serde" -version = "1.0.198" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc" +checksum = "7253ab4de971e72fb7be983802300c30b5a7f0c2e56fab8abfc6a214307c0094" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.198" +version = "1.0.203" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9" +checksum = "500cbc0ebeb6f46627f50f3f5811ccf6bf00643be300b4c3eabc0ef55dc5b5ba" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] name = "serde_json" -version = "1.0.116" +version = "1.0.119" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813" +checksum = "e8eddb61f0697cc3989c5d64b452f5488e2b8a60fd7d5076a3045076ffef8cb0" dependencies = [ "itoa", "ryu", @@ -5034,9 +5079,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb3622f419d1296904700073ea6cc23ad690adbd66f13ea683df73298736f0c1" +checksum = "79e674e01f999af37c49f70a6ede167a8a60b2503e56c5599532a65baa5969a0" dependencies = [ "serde", ] @@ -5058,7 +5103,7 @@ name = "settings" version = "0.1.0" dependencies = [ "anyhow", - "base64 0.22.0", + "base64 0.22.1", "bincode", "kinode_process_lib 0.8.0 (git+https://github.com/kinode-dao/process_lib?tag=v0.8.0)", "rmp-serde", @@ -5102,9 +5147,9 @@ dependencies = [ [[package]] name = "sha3-asm" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bac61da6b35ad76b195eb4771210f947734321a8d81d7738e1580d953bc7a15e" +checksum = "a9b57fd861253bff08bb1919e995f90ba8f4889de2726091c8876f3a4e823b40" dependencies = [ "cc", "cfg-if", @@ -5186,7 +5231,7 @@ version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ - "autocfg 1.2.0", + "autocfg 1.3.0", ] [[package]] @@ -5239,9 +5284,9 @@ dependencies = [ [[package]] name = "spdx" -version = "0.10.4" +version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29ef1a0fa1e39ac22972c8db23ff89aea700ab96aa87114e1fb55937a631a0c9" +checksum = "47317bbaf63785b53861e1ae2d11b80d6b624211d42cb20efcd210ee6f8a14bc" dependencies = [ "smallvec", ] @@ -5268,6 +5313,18 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b9b39299b249ad65f3b7e96443bad61c02ca5cd3589f46cb6d610a0fd6c0d6a" +[[package]] +name = "ssh2" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7fe461910559f6d5604c3731d00d2aafc4a83d1665922e280f42f9a168d5455" +dependencies = [ + "bitflags 1.3.2", + "libc", + "libssh2-sys", + "parking_lot 0.11.2", +] + [[package]] name = "stable_deref_trait" version = "1.2.0" @@ -5298,7 +5355,7 @@ checksum = "8286dc044d09abcb8bf85440b94f2c41aee322733a58cd195cf830ee660cadf5" dependencies = [ "headers", "http 0.2.12", - "hyper 0.14.28", + "hyper 0.14.29", "include_dir", "log", "mime_guess", @@ -5321,9 +5378,9 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "strum" -version = "0.26.2" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d8cec3501a5194c432b2b7976db6b7d10ec95c253208b45f83f7136aa985e29" +checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06" dependencies = [ "strum_macros", ] @@ -5338,14 +5395,14 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] name = "subtle" -version = "2.5.0" +version = "2.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" @@ -5360,9 +5417,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.60" +version = "2.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3" +checksum = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9" dependencies = [ "proc-macro2", "quote", @@ -5371,14 +5428,14 @@ dependencies = [ [[package]] name = "syn-solidity" -version = "0.7.5" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6fe08d08d84f2c0a77f1e7c46518789d745c2e87a2721791ed7c3c9bc78df28" +checksum = "8d71e19bca02c807c9faa67b5a47673ff231b6e7449b251695188522f1dc44b2" dependencies = [ "paste", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -5387,6 +5444,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +[[package]] +name = "sync_wrapper" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a7065abeca94b6a8a577f9bd45aa0867a2238b74e8eb67cf10d492bc39351394" + [[package]] name = "system-configuration" version = "0.5.1" @@ -5414,7 +5477,7 @@ version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b858526d22750088a9b3cf2e3c2aacebd5377f13adeec02860c30d09113010a6" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "cap-fs-ext", "cap-std", "fd-lock", @@ -5478,22 +5541,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.59" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0126ad08bff79f29fc3ae6a55cc72352056dfff61e3ff8bb7129476d44b23aa" +checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.59" +version = "1.0.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1cd413b5d558b4c5bf3680e324a6fa5014e7b7c067a51e69dbdf47eb7148b66" +checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -5557,9 +5620,9 @@ dependencies = [ [[package]] name = "tinyvec" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +checksum = "c55115c6fbe2d2bef26eb09ad74bde02d8255476fc0c7b515ef09fbb35742d82" dependencies = [ "tinyvec_macros", ] @@ -5572,9 +5635,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.37.0" +version = "1.38.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1adbebffeca75fcfd058afa480fb6c0b81e165a0323f9c9d39c9697e37c46787" +checksum = "ba4f4a02a7a80d6f274636f0aa95c7e383b912d41fe721a31f29e29698585a4a" dependencies = [ "backtrace", "bytes", @@ -5590,13 +5653,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -5611,11 +5674,12 @@ dependencies = [ [[package]] name = "tokio-rustls" -version = "0.24.1" +version = "0.26.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28327cf380ac148141087fbfb9de9d7bd4e84ab5d2c28fbc911d753de8a7081" +checksum = "0c7bc40d0e5a97695bb96e27995cd3a08538541b0a846f65bba7a359f36700d4" dependencies = [ "rustls", + "rustls-pki-types", "tokio", ] @@ -5633,73 +5697,73 @@ dependencies = [ [[package]] name = "tokio-tungstenite" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "212d5dcb2a1ce06d81107c3d0ffa3121fe974b73f068c8282cb1c32328113b6c" +checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" dependencies = [ "futures-util", "log", - "rustls", + "native-tls", "tokio", - "tokio-rustls", - "tungstenite 0.20.1", - "webpki-roots", + "tokio-native-tls", + "tungstenite 0.21.0", ] [[package]] name = "tokio-tungstenite" -version = "0.21.0" +version = "0.23.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c83b561d025642014097b66e6c1bb422783339e0909e4429cde4749d1990bc38" +checksum = "c6989540ced10490aaf14e6bad2e3d33728a2813310a0c71d1574304c49631cd" dependencies = [ "futures-util", "log", - "native-tls", + "rustls", + "rustls-pki-types", "tokio", - "tokio-native-tls", - "tungstenite 0.21.0", + "tokio-rustls", + "tungstenite 0.23.0", + "webpki-roots", ] [[package]] name = "tokio-util" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +checksum = "9cf6b47b3771c49ac75ad09a6162f53ad4b8088b76ac60e8ec1455b31a189fe1" dependencies = [ "bytes", "futures-core", "futures-sink", "pin-project-lite", "tokio", - "tracing", ] [[package]] name = "toml" -version = "0.8.12" +version = "0.8.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e9dd1545e8208b4a5af1aa9bbd0b4cf7e9ea08fabc5d0a5c67fcaafa17433aa3" +checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335" dependencies = [ "serde", "serde_spanned", "toml_datetime", - "toml_edit 0.22.12", + "toml_edit 0.22.14", ] [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" dependencies = [ "serde", ] [[package]] name = "toml_edit" -version = "0.20.7" +version = "0.21.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70f427fce4d84c72b5b732388bf4a9f4531b53f74e2887e3ecb2481f68f66d81" +checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" dependencies = [ "indexmap", "toml_datetime", @@ -5708,15 +5772,15 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.12" +version = "0.22.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3328d4f68a705b2a4498da1d580585d39a6510f98318a2cec3018a7ec61ddef" +checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38" dependencies = [ "indexmap", "serde", "serde_spanned", "toml_datetime", - "winnow 0.6.6", + "winnow 0.6.13", ] [[package]] @@ -5724,6 +5788,7 @@ name = "top" version = "0.2.0" dependencies = [ "anyhow", + "clap", "kinode_process_lib 0.8.0 (git+https://github.com/kinode-dao/process_lib?tag=v0.8.0)", "serde", "serde_json", @@ -5790,7 +5855,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -5920,18 +5985,18 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tungstenite" -version = "0.20.1" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e3dac10fd62eaf6617d3a904ae222845979aec67c615d1c842b4002c7666fb9" +checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" dependencies = [ "byteorder", "bytes", "data-encoding", - "http 0.2.12", + "http 1.1.0", "httparse", "log", + "native-tls", "rand 0.8.5", - "rustls", "sha1", "thiserror", "url", @@ -5940,9 +6005,9 @@ dependencies = [ [[package]] name = "tungstenite" -version = "0.21.0" +version = "0.23.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ef1a641ea34f399a848dea702823bbecfb4c486f911735368f1f137cb8257e1" +checksum = "6e2e2ce1e47ed2994fd43b04c8f618008d4cabdd5ee34027cf14f9d918edd9c8" dependencies = [ "byteorder", "bytes", @@ -5950,20 +6015,14 @@ dependencies = [ "http 1.1.0", "httparse", "log", - "native-tls", "rand 0.8.5", + "rustls", + "rustls-pki-types", "sha1", "thiserror", - "url", "utf-8", ] -[[package]] -name = "typed-arena" -version = "2.0.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" - [[package]] name = "typenum" version = "1.17.0" @@ -6032,9 +6091,9 @@ checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" [[package]] name = "unicode-width" -version = "0.1.11" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" +checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" [[package]] name = "unicode-xid" @@ -6071,9 +6130,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1" [[package]] name = "url" -version = "2.5.0" +version = "2.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" dependencies = [ "form_urlencoded", "idna 0.5.0", @@ -6100,19 +6159,15 @@ checksum = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.8.0" +version = "1.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a183cf7feeba97b4dd1c0d46788634f6221d87fa961b305bed08c851829efcc0" -dependencies = [ - "getrandom", - "serde", -] +checksum = "5de17fd2f7da591098415cff336e12965a28061ddace43b59cb3c430179c9439" [[package]] name = "valuable" @@ -6171,7 +6226,7 @@ dependencies = [ "futures-util", "headers", "http 0.2.12", - "hyper 0.14.28", + "hyper 0.14.29", "log", "mime", "mime_guess", @@ -6202,7 +6257,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ce39d43366511a954708a80e9e2e1245bf2fed4e37385cc49f8686d7a9c094dc" dependencies = [ "anyhow", - "bitflags 2.5.0", + "bitflags 2.6.0", "cap-fs-ext", "cap-rand", "cap-std", @@ -6242,7 +6297,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", "wasm-bindgen-shared", ] @@ -6276,7 +6331,7 @@ checksum = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -6307,9 +6362,9 @@ dependencies = [ [[package]] name = "wasm-encoder" -version = "0.205.0" +version = "0.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90e95b3563d164f33c1cfb0a7efbd5940c37710019be10cd09f800fdec8b0e5c" +checksum = "501940df4418b8929eb6d52f1aade1fdd15a5b86c92453cb696e3c906bd3fc33" dependencies = [ "leb128", ] @@ -6336,9 +6391,9 @@ version = "0.201.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "84e5df6dba6c0d7fafc63a450f1738451ed7a0b52295d83e868218fa286bf708" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "indexmap", - "semver 1.0.22", + "semver 1.0.23", ] [[package]] @@ -6347,9 +6402,9 @@ version = "0.202.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6998515d3cf3f8b980ef7c11b29a9b1017d4cf86b99ae93b546992df9931413" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "indexmap", - "semver 1.0.22", + "semver 1.0.23", ] [[package]] @@ -6386,7 +6441,7 @@ dependencies = [ "paste", "rayon", "rustix", - "semver 1.0.22", + "semver 1.0.23", "serde", "serde_derive", "serde_json", @@ -6446,7 +6501,7 @@ dependencies = [ "anyhow", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", "wasmtime-component-util", "wasmtime-wit-bindgen", "wit-parser 0.201.0", @@ -6620,7 +6675,7 @@ checksum = "ffaafa5c12355b1a9ee068e9295d50c4ca0a400c721950cdae4f5b54391a2da5" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -6631,7 +6686,7 @@ checksum = "b95961546319d4019625920756967a929879d1d46c4e5f89a74e9f4405655b0c" dependencies = [ "anyhow", "async-trait", - "bitflags 2.5.0", + "bitflags 2.6.0", "bytes", "cap-fs-ext", "cap-net-ext", @@ -6700,24 +6755,24 @@ dependencies = [ [[package]] name = "wast" -version = "205.0.0" +version = "212.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "441a6a195b3b5245e26d450bbcc91366c6b652382a22f63cbe3c73240e13b2bb" +checksum = "4606a05fb0aae5d11dd7d8280a640d88a63ee019360ba9be552da3d294b8d1f5" dependencies = [ "bumpalo", "leb128", "memchr", "unicode-width", - "wasm-encoder 0.205.0", + "wasm-encoder 0.212.0", ] [[package]] name = "wat" -version = "1.205.0" +version = "1.212.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19832624d606e7c6bf3cd4caa73578ecec5eac30c768269256d19c79900beb18" +checksum = "c74ca7f93f11a5d6eed8499f2a8daaad6e225cab0151bc25a091fff3b987532f" dependencies = [ - "wast 205.0.0", + "wast 212.0.0", ] [[package]] @@ -6732,9 +6787,12 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.25.4" +version = "0.26.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f20c57d8d7db6d3b86154206ae5d8fba62dd39573114de97c2cb0578251f8e1" +checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" +dependencies = [ + "rustls-pki-types", +] [[package]] name = "widget" @@ -6757,7 +6815,7 @@ checksum = "899d3fe5fbacd02f114cacdaa1cca9040280c4153c71833a77b9609c60ccf72b" dependencies = [ "anyhow", "async-trait", - "bitflags 2.5.0", + "bitflags 2.6.0", "thiserror", "tracing", "wasmtime", @@ -6775,7 +6833,7 @@ dependencies = [ "proc-macro2", "quote", "shellexpand", - "syn 2.0.60", + "syn 2.0.68", "witx", ] @@ -6787,7 +6845,7 @@ checksum = "acdb12de36507498abaa3a042f895a43ee00a2f6125b6901b9a27edf72bfdbe7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", "wiggle-generate", ] @@ -6809,11 +6867,11 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.6" +version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +checksum = "4d4cc384e1e73b93bafa6fb4f1df8c41695c8a91cf9c4c64358067d15a7b6c6b" dependencies = [ - "winapi", + "windows-sys 0.52.0", ] [[package]] @@ -6997,9 +7055,9 @@ dependencies = [ [[package]] name = "winnow" -version = "0.6.6" +version = "0.6.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0c976aaaa0e1f90dbb21e9587cdaf1d9679a1cde8875c0d6bd83ab96a208352" +checksum = "59b5e5f6c299a3c7890b876a2a587f3115162487e704907d9b6cd29473052ba1" dependencies = [ "memchr", ] @@ -7030,7 +7088,7 @@ version = "0.36.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f9643b83820c0cd246ecabe5fa454dd04ba4fa67996369466d0747472d337346" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", "windows-sys 0.52.0", ] @@ -7060,7 +7118,7 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3b0780cf7046630ed70f689a098cd8d56c5c3b22f2a7379bbdb088879963ff96" dependencies = [ - "bitflags 2.5.0", + "bitflags 2.6.0", ] [[package]] @@ -7086,7 +7144,7 @@ dependencies = [ "anyhow", "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", "wit-bindgen-core", "wit-bindgen-rust", ] @@ -7098,7 +7156,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0c836b1fd9932de0431c1758d8be08212071b6bba0151f7bac826dbc4312a2a9" dependencies = [ "anyhow", - "bitflags 2.5.0", + "bitflags 2.6.0", "indexmap", "log", "serde", @@ -7120,7 +7178,7 @@ dependencies = [ "id-arena", "indexmap", "log", - "semver 1.0.22", + "semver 1.0.23", "serde", "serde_derive", "serde_json", @@ -7138,7 +7196,7 @@ dependencies = [ "id-arena", "indexmap", "log", - "semver 1.0.22", + "semver 1.0.23", "serde", "serde_derive", "serde_json", @@ -7188,29 +7246,29 @@ dependencies = [ [[package]] name = "zerocopy" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +checksum = "ae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.7.32" +version = "0.7.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +checksum = "15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] name = "zeroize" -version = "1.7.0" +version = "1.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" +checksum = "ced3678a2879b30306d323f4542626697a464a97c0a07c9aebf7ebca65cd4dde" dependencies = [ "zeroize_derive", ] @@ -7223,7 +7281,7 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.60", + "syn 2.0.68", ] [[package]] @@ -7248,23 +7306,26 @@ dependencies = [ [[package]] name = "zip" -version = "1.1.1" +version = "1.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2655979068a1f8fa91cb9e8e5b9d3ee54d18e0ddc358f2f4a395afc0929a84b" +checksum = "9cc23c04387f4da0374be4533ad1208cbb091d5c11d070dfef13676ad6497164" dependencies = [ "aes", "arbitrary", - "byteorder", "bzip2", "constant_time_eq 0.3.0", "crc32fast", "crossbeam-utils", "deflate64", + "displaydoc", "flate2", "hmac", + "indexmap", "lzma-rs", + "num_enum", "pbkdf2 0.12.2", "sha1", + "thiserror", "time", "zopfli", "zstd 0.13.1", @@ -7272,14 +7333,16 @@ dependencies = [ [[package]] name = "zopfli" -version = "0.8.0" +version = "0.8.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c1f48f3508a3a3f2faee01629564400bc12260f6214a056d06a3aaaa6ef0736" +checksum = "e5019f391bac5cf252e93bbcc53d039ffd62c7bfb7c150414d61369afe57e946" dependencies = [ + "bumpalo", "crc32fast", + "lockfree-object-pool", "log", + "once_cell", "simd-adler32", - "typed-arena", ] [[package]] @@ -7321,9 +7384,9 @@ dependencies = [ [[package]] name = "zstd-sys" -version = "2.0.10+zstd.1.5.6" +version = "2.0.11+zstd.1.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c253a4914af5bafc8fa8c86ee400827e83cf6ec01195ec1f1ed8441bf00d65aa" +checksum = "75652c55c0b6f3e6f12eb786fe1bc960396bf05a1eb3bf1f3691c3610ac2e6d4" dependencies = [ "cc", "pkg-config", diff --git a/Cargo.toml b/Cargo.toml index 344d2b54c..260f70421 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kinode_lib" authors = ["KinodeDAO"] -version = "0.8.1" +version = "0.8.2" edition = "2021" description = "A general-purpose sovereign cloud computing platform" homepage = "https://kinode.org" diff --git a/README.md b/README.md index 2ffece5c4..b7311aa4a 100644 --- a/README.md +++ b/README.md @@ -120,22 +120,39 @@ The `sys` publisher is not a real node ID, but it's also not a special case valu - UpArrow/DownArrow or CTRL+P/CTRL+N to move up and down through command history - CTRL+R to search history, CTRL+R again to toggle through search results, CTRL+G to cancel search +### Built-in terminal scripts + +The terminal package contains a number of built-in scripts. +Users may also call scripts from other packages in the terminal by entering the (full) ID of the script process followed by any arguments. +In order to call a script with shorthand, a user may apply an *alias* using the terminal `alias` script, like so: +``` +alias +``` +Subsequent use of the shorthand will then be interpolated as the process ID. + +A list of the other terminal scripts included in this distro: + +- `cat `: print the contents of a file in the terminal. + - Example: `cat /terminal:sys/pkg/scripts.json` +- `echo `: print text to the terminal. + - Example: `echo foo` +- `hi `: send a text message to another node's command line. + - Example: `hi ben.os hello world` +- `kfetch`: print system information a la neofetch. No arguments. +- `kill `: terminate a running process. This will bypass any restart behavior–use judiciously. + - Example: `kill chess:chess:sys` - `m
''`: send an inter-process message.
is formatted as @. is formatted as ::. JSON containing spaces must be wrapped in single-quotes (`''`). - Example: `m our@eth:distro:sys "SetPublic" -a 5` - the '-a' flag is used to expect a response with a given timeout - `our` will always be interpolated by the system as your node's name -- `hi `: send a text message to another node's command line. - - Example: `hi ben.os hello world` +- `namehash_to_name `: print the name of a node given its namehash, if we have it indexed. Namehashes are used in the onchain PKI data structure. + - Example: `namehash_to_name 0x46dc6209a66b3a0ef4b72f5d26c0e81c77c7ac146a62e96babf1224484b46fa9` +- `net_diagnostics`: print some useful networking diagnostic data. +- `peer `: print the peer's PKI info, if it exists. +- `peers`: print the peers the node currently hold connections with. - `top `: display kernel debugging info about a process. Leave the process ID blank to display info about all processes and get the total number of running processes. - Example: `top net:distro:sys` - Example: `top` -- `cat `: print the contents of a file in the terminal - - Example: `cat /terminal:sys/pkg/scripts.json` -- `echo `: print `text` to the terminal - - Example: `echo foo` -- `net_diagnostics`: print some useful networking diagnostic data -- `peers`: print the peers the node currently hold connections with -- `peer `: print the peer's PKI info, if it exists ## Running as a Docker container diff --git a/kinode/Cargo.toml b/kinode/Cargo.toml index c036387f5..7ea062d09 100644 --- a/kinode/Cargo.toml +++ b/kinode/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "kinode" authors = ["KinodeDAO"] -version = "0.8.1" +version = "0.8.2" edition = "2021" description = "A general-purpose sovereign cloud computing platform" homepage = "https://kinode.org" @@ -14,9 +14,8 @@ path = "src/main.rs" [build-dependencies] anyhow = "1.0.71" -kit = { git = "https://github.com/kinode-dao/kit", rev = "d319c5b" } +kit = { git = "https://github.com/kinode-dao/kit", tag = "v0.6.2" } rayon = "1.8.1" -sha2 = "0.10" tokio = "1.28" walkdir = "2.4" zip = "0.6" @@ -26,7 +25,7 @@ simulation-mode = [] [dependencies] aes-gcm = "0.10.3" -alloy = { git = "https://github.com/alloy-rs/alloy", rev = "05f8162", features = [ +alloy = { version = "0.1.3", features = [ "consensus", "contract", "json-rpc", @@ -34,46 +33,35 @@ alloy = { git = "https://github.com/alloy-rs/alloy", rev = "05f8162", features = "provider-ws", "providers", "pubsub", - "rpc-client-ws", + "rpc", "rpc-client", - "rpc-types-eth", + "rpc-client-ws", "rpc-types", - "signer-wallet", + "rpc-types-eth", "signers", + "signer-local", ] } - -alloy-primitives = "0.7.5" -alloy-sol-macro = "0.7.5" -alloy-sol-types = "0.7.5" +alloy-primitives = "0.7.6" +alloy-sol-macro = "0.7.6" +alloy-sol-types = "0.7.6" anyhow = "1.0.71" async-trait = "0.1.71" base64 = "0.22.0" bincode = "1.3.3" -blake3 = "1.4.1" -bytes = "1.4.0" -chacha20poly1305 = "0.10.1" chrono = "0.4.31" clap = { version = "4.4", features = ["derive"] } crossterm = { version = "0.27.0", features = ["event-stream", "bracketed-paste"] } -curve25519-dalek = "^4.1.2" dashmap = "5.5.3" -digest = "0.10" -elliptic-curve = { version = "0.13.8", features = ["ecdh"] } -flate2 = "1.0" futures = "0.3" -generic-array = "1.0.0" -getrandom = "0.2.10" +generic-array = "0.14.7" hex = "0.4.3" -hkdf = "0.12.3" hmac = "0.12" http = "1.1.0" jwt = "0.16" lib = { path = "../lib" } lazy_static = "1.4.0" -log = "0.4.20" nohash-hasher = "0.2.0" -num-traits = "0.2" -open = "5.0.0" +open = "5.1.4" public-ip = "0.2.2" rand = "0.8.4" reqwest = "0.12.4" @@ -84,8 +72,7 @@ route-recognizer = "0.3.1" rusqlite = { version = "0.31.0", features = ["bundled"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -serde_urlencoded = "0.7" -sha2 = "0.10" +sha2 = "0.10.8" sha3 = "0.10.8" # snow = { version = "0.9.5", features = ["ring-resolver"] } # unfortunately need to use forked version for async use and in-place encryption @@ -96,7 +83,6 @@ thiserror = "1.0" tokio = { version = "1.28", features = ["fs", "macros", "rt-multi-thread", "signal", "sync"] } tokio-tungstenite = { version = "0.21.0", features = ["native-tls"] } url = "2.4.1" -uuid = { version = "1.1.2", features = ["serde", "v4"] } warp = "0.3.5" wasi-common = "19.0.1" wasmtime = "19.0.1" diff --git a/kinode/build.rs b/kinode/build.rs index 4e416676e..72c43ce35 100644 --- a/kinode/build.rs +++ b/kinode/build.rs @@ -1,4 +1,4 @@ -use rayon::prelude::*; +use rayon::iter::{IntoParallelRefIterator, ParallelIterator}; use std::{ collections::HashSet, fs::{self, File}, @@ -59,7 +59,7 @@ fn build_and_zip_package( ) -> anyhow::Result<(String, String, Vec)> { let rt = tokio::runtime::Runtime::new().unwrap(); rt.block_on(async { - kit::build::execute(&entry_path, true, false, true, features, None, None) // TODO + kit::build::execute(&entry_path, true, false, true, features, None, None, true) .await .map_err(|e| anyhow::anyhow!("{:?}", e))?; diff --git a/kinode/packages/app_store/app_store/src/http_api.rs b/kinode/packages/app_store/app_store/src/http_api.rs index e6c1696ae..f449f589f 100644 --- a/kinode/packages/app_store/app_store/src/http_api.rs +++ b/kinode/packages/app_store/app_store/src/http_api.rs @@ -60,20 +60,79 @@ pub fn init_frontend(our: &Address) { fn make_widget() -> String { return r#" - + -
-
+
- + + diff --git a/kinode/packages/app_store/ui/src/components/AppEntry.tsx b/kinode/packages/app_store/ui/src/components/AppEntry.tsx index 0d6e3dd6b..58deb32f4 100644 --- a/kinode/packages/app_store/ui/src/components/AppEntry.tsx +++ b/kinode/packages/app_store/ui/src/components/AppEntry.tsx @@ -37,12 +37,13 @@ export default function AppEntry({ app, size = "medium", overrideImageSize, show }} > -
- {showMoreActions && } + {showMoreActions && }
); diff --git a/kinode/packages/app_store/ui/src/components/Dropdown.tsx b/kinode/packages/app_store/ui/src/components/Dropdown.tsx index 2cd0dad80..ca4e75028 100644 --- a/kinode/packages/app_store/ui/src/components/Dropdown.tsx +++ b/kinode/packages/app_store/ui/src/components/Dropdown.tsx @@ -13,8 +13,8 @@ export default function Dropdown({ ...props }: DropdownProps) { unmountOnClose={true} className={classNames("relative", props.className)} direction='left' - menuButton={ - + menuButton={ + } > {props.children} diff --git a/kinode/packages/app_store/ui/src/components/Modal.tsx b/kinode/packages/app_store/ui/src/components/Modal.tsx index 97b08349a..c8bf7fc93 100644 --- a/kinode/packages/app_store/ui/src/components/Modal.tsx +++ b/kinode/packages/app_store/ui/src/components/Modal.tsx @@ -1,6 +1,7 @@ import classNames from 'classnames' import React, { MouseEvent } from 'react' import { FaX } from 'react-icons/fa6' +import { isMobileCheck } from '../utils/dimensions' export interface ModalProps extends React.HTMLAttributes { show: boolean @@ -25,10 +26,17 @@ const Modal: React.FC = ({ return null } + const isMobile = isMobileCheck() + return (
diff --git a/kinode/packages/app_store/ui/src/components/MoreActions.tsx b/kinode/packages/app_store/ui/src/components/MoreActions.tsx index e1a5f0476..767417057 100644 --- a/kinode/packages/app_store/ui/src/components/MoreActions.tsx +++ b/kinode/packages/app_store/ui/src/components/MoreActions.tsx @@ -17,13 +17,15 @@ export default function MoreActions({ app, className }: MoreActionsProps) { const navigate = useNavigate(); const downloaded = Boolean(app.state); + const menuClass = "flex flex-col bg-black p-2 rounded-lg relative z-10 border border-orange -mr-[1px]" if (!downloaded) { if (!app.metadata) return <>; + return ( -
+
{app.metadata?.description && (
); diff --git a/kinode/packages/app_store/ui/src/components/UpdateButton.tsx b/kinode/packages/app_store/ui/src/components/UpdateButton.tsx index f58ec7b6a..605cfcd4a 100644 --- a/kinode/packages/app_store/ui/src/components/UpdateButton.tsx +++ b/kinode/packages/app_store/ui/src/components/UpdateButton.tsx @@ -5,7 +5,7 @@ import Modal from "./Modal"; import { getAppName } from "../utils/app"; import Loader from "./Loader"; import classNames from "classnames"; -import { FaU } from "react-icons/fa6"; +import { FaExclamation } from "react-icons/fa6"; interface UpdateButtonProps extends React.HTMLAttributes { app: AppInfo; @@ -61,7 +61,7 @@ export default function UpdateButton({ app, isIcon = false, ...props }: UpdateBu })} onClick={onClick} > - {isIcon ? : 'Update'} + {isIcon ? : 'Update'} setShowModal(false)}> {loading ? ( diff --git a/kinode/packages/app_store/ui/src/pages/MyAppsPage.tsx b/kinode/packages/app_store/ui/src/pages/MyAppsPage.tsx index b350bd5e6..7c004add0 100644 --- a/kinode/packages/app_store/ui/src/pages/MyAppsPage.tsx +++ b/kinode/packages/app_store/ui/src/pages/MyAppsPage.tsx @@ -63,11 +63,11 @@ export default function MyAppsPage() { // eslint-disable-line 'gap-4 max-w-screen': isMobile, 'gap-8 max-w-[900px]': !isMobile, })}> - + {!isMobile && }

My Packages

- diff --git a/kinode/packages/app_store/ui/src/pages/StorePage.tsx b/kinode/packages/app_store/ui/src/pages/StorePage.tsx index 2f3b1d32a..4875a0ff3 100644 --- a/kinode/packages/app_store/ui/src/pages/StorePage.tsx +++ b/kinode/packages/app_store/ui/src/pages/StorePage.tsx @@ -11,6 +11,8 @@ import classNames from 'classnames'; import { FaArrowRotateRight } from "react-icons/fa6"; import { isMobileCheck } from "../utils/dimensions"; import HomeButton from "../components/HomeButton"; +import Modal from "../components/Modal"; +import Loader from "../components/Loader"; interface StorePageProps extends PageProps { } @@ -24,6 +26,7 @@ export default function StorePage() { const [page, setPage] = useState(1); const [tags, setTags] = useState([]) const [launchPaths, setLaunchPaths] = useState<{ [package_name: string]: string }>({}) + const [isRebuildingIndex, setIsRebuildingIndex] = useState(false); const pages = useMemo( () => @@ -97,12 +100,18 @@ export default function StorePage() { ); const tryRebuildIndex = useCallback(async () => { + if (!window.confirm('Are you sure you want to rebuild the app index? This may take a few seconds.')) { + return; + } + + setIsRebuildingIndex(true); try { await rebuildIndex(); - alert("Index rebuilt successfully."); await getListedApps(); } catch (error) { console.error(error); + } finally { + setIsRebuildingIndex(false); } }, [rebuildIndex]); @@ -127,6 +136,7 @@ export default function StorePage() { return (
@@ -174,41 +184,44 @@ export default function StorePage() {
{!searchQuery &&

Featured Apps

{listedApps.filter(app => { return featuredPackageNames.indexOf(app.package) !== -1 }).map((app) => ( ))}
} -

{searchQuery ? 'Search Results' : 'All Apps'}

-
{searchQuery ? 'Search Results' : 'All Apps'} +
{displayedApps .filter(app => searchQuery ? true : featuredPackageNames.indexOf(app.package) === -1) .map(app => )}
{pages.length > 1 &&
@@ -234,6 +247,9 @@ export default function StorePage() {
} + { }}> + +
); } diff --git a/kinode/packages/app_store/ui/vite.config.ts b/kinode/packages/app_store/ui/vite.config.ts index f8c8742c8..5fb5a6401 100644 --- a/kinode/packages/app_store/ui/vite.config.ts +++ b/kinode/packages/app_store/ui/vite.config.ts @@ -82,6 +82,11 @@ export default defineConfig({ target: PROXY_URL, changeOrigin: true, }, + '/api/*': { + target: PROXY_URL, + changeOrigin: true, + rewrite: (path) => path.replace('/api', ''), + }, // '/example': { // target: PROXY_URL, // changeOrigin: true, diff --git a/kinode/packages/chess/chess/Cargo.lock b/kinode/packages/chess/chess/Cargo.lock index b5f3d9b29..f980bbf59 100644 --- a/kinode/packages/chess/chess/Cargo.lock +++ b/kinode/packages/chess/chess/Cargo.lock @@ -222,13 +222,8 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "kinode_process_lib" -<<<<<<< HEAD:modules/chess/chess/Cargo.lock version = "0.5.7" source = "git+https://github.com/kinode-dao/process_lib?tag=v0.5.9-alpha#c1ac7227951fbd8cabf6568704f0ce11e8558c8a" -======= -version = "0.5.6" -source = "git+https://github.com/kinode-dao/process_lib?rev=fccb6a0#fccb6a0c07ebda3e385bff7f76e4984b741f01c7" ->>>>>>> develop:kinode/packages/chess/chess/Cargo.lock dependencies = [ "anyhow", "bincode", diff --git a/kinode/packages/chess/chess/src/lib.rs b/kinode/packages/chess/chess/src/lib.rs index 2e8fac501..d0fdeeec9 100644 --- a/kinode/packages/chess/chess/src/lib.rs +++ b/kinode/packages/chess/chess/src/lib.rs @@ -49,10 +49,14 @@ fn load_chess_state() -> ChessState { games, clients: HashSet::new(), }, - None => ChessState { - games: HashMap::new(), - clients: HashSet::new(), - }, + None => { + let state = ChessState { + games: HashMap::new(), + clients: HashSet::new(), + }; + save_chess_state(&state); + state + } } } diff --git a/kinode/packages/homepage/pkg/ui/assets/index-emIdaXB4.js b/kinode/packages/homepage/pkg/ui/assets/index-BYvZ8GK9.js similarity index 77% rename from kinode/packages/homepage/pkg/ui/assets/index-emIdaXB4.js rename to kinode/packages/homepage/pkg/ui/assets/index-BYvZ8GK9.js index 1c6aeb6be..0966ca8bd 100644 --- a/kinode/packages/homepage/pkg/ui/assets/index-emIdaXB4.js +++ b/kinode/packages/homepage/pkg/ui/assets/index-BYvZ8GK9.js @@ -6,7 +6,7 @@ function am(e,t){for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ca=Object.prototype.hasOwnProperty,Tm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,nc={},ic={};function Am(e){return Ca.call(ic,e)?!0:Ca.call(nc,e)?!1:Tm.test(e)?ic[e]=!0:(nc[e]=!0,!1)}function Lm(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mm(e,t,r,n){if(t===null||typeof t>"u"||Lm(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ie(e,t,r,n,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){he[e]=new Ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];he[t]=new Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){he[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){he[e]=new Ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){he[e]=new Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){he[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){he[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){he[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){he[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ru=/[\-:]([a-z])/g;function ku(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ru,ku);he[t]=new Ie(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ru,ku);he[t]=new Ie(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ru,ku);he[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){he[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});he.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){he[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tu(e,t,r,n){var i=he.hasOwnProperty(t)?he[t]:null;(i!==null?i.type!==0:n||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ca=Object.prototype.hasOwnProperty,Tm=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,nc={},ic={};function Am(e){return Ca.call(ic,e)?!0:Ca.call(nc,e)?!1:Tm.test(e)?ic[e]=!0:(nc[e]=!0,!1)}function Lm(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mm(e,t,r,n){if(t===null||typeof t>"u"||Lm(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ie(e,t,r,n,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var he={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){he[e]=new Ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];he[t]=new Ie(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){he[e]=new Ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){he[e]=new Ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){he[e]=new Ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){he[e]=new Ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){he[e]=new Ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){he[e]=new Ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){he[e]=new Ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ru=/[\-:]([a-z])/g;function ku(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ru,ku);he[t]=new Ie(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ru,ku);he[t]=new Ie(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ru,ku);he[t]=new Ie(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){he[e]=new Ie(e,1,!1,e.toLowerCase(),null,!1,!1)});he.xlinkHref=new Ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){he[e]=new Ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Tu(e,t,r,n){var i=he.hasOwnProperty(t)?he[t]:null;(i!==null?i.type!==0:n||!(2a||i[l]!==o[a]){var u=` -`+i[l].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{zl=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?En(e):""}function Bm(e){switch(e.tag){case 5:return En(e.type);case 16:return En("Lazy");case 13:return En("Suspense");case 19:return En("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function Ia(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ir:return"Fragment";case Pr:return"Portal";case ba:return"Profiler";case Au:return"StrictMode";case Da:return"Suspense";case Pa:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case If:return(e.displayName||"Context")+".Consumer";case Pf:return(e._context.displayName||"Context")+".Provider";case Lu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mu:return t=e.displayName||null,t!==null?t:Ia(e.type)||"Memo";case At:t=e._payload,e=e._init;try{return Ia(e(t))}catch{}}return null}function Fm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ia(t);case 8:return t===Au?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Xt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Of(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jm(e){var t=Of(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){n=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ri(e){e._valueTracker||(e._valueTracker=jm(e))}function Rf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Of(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function uo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Na(e,t){var r=t.checked;return ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function lc(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Xt(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kf(e,t){t=t.checked,t!=null&&Tu(e,"checked",t,!1)}function Oa(e,t){kf(e,t);var r=Xt(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ra(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ra(e,t.type,Xt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ac(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Ra(e,t,r){(t!=="number"||uo(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Cn=Array.isArray;function jr(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ki.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zn(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var In={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},zm=["Webkit","ms","Moz","O"];Object.keys(In).forEach(function(e){zm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),In[t]=In[e]})});function Mf(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||In.hasOwnProperty(e)&&In[e]?(""+t).trim():t+"px"}function Bf(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Mf(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var $m=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Aa(e,t){if(t){if($m[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function La(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ma=null;function Bu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ba=null,zr=null,$r=null;function cc(e){if(e=fi(e)){if(typeof Ba!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Xo(t),Ba(e.stateNode,e.type,t))}}function Ff(e){zr?$r?$r.push(e):$r=[e]:zr=e}function jf(){if(zr){var e=zr,t=$r;if($r=zr=null,cc(e),t)for(e=0;e>>=0,e===0?32:31-(Xm(e)/Zm|0)|0}var Ti=64,Ai=4194304;function bn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function po(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,l=r&268435455;if(l!==0){var a=l&~i;a!==0?n=bn(a):(o&=l,o!==0&&(n=bn(o)))}else l=r&~i,l!==0?n=bn(l):o!==0&&(n=bn(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function ci(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=r}function rh(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=On),wc=" ",Sc=!1;function ip(e,t){switch(e){case"keyup":return Rh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function op(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Nr=!1;function Th(e,t){switch(e){case"compositionend":return op(t);case"keypress":return t.which!==32?null:(Sc=!0,wc);case"textInput":return e=t.data,e===wc&&Sc?null:e;default:return null}}function Ah(e,t){if(Nr)return e==="compositionend"||!Hu&&ip(e,t)?(e=rp(),Zi=Uu=Ft=null,Nr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=bc(r)}}function sp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cp(){for(var e=window,t=uo();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=uo(e.document)}return t}function Vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function _h(e){var t=cp(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&sp(r.ownerDocument.documentElement,r)){if(n!==null&&Vu(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=Dc(r,o);var l=Dc(r,n);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Or=null,_a=null,kn=null,Wa=!1;function Pc(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Wa||Or==null||Or!==uo(n)||(n=Or,"selectionStart"in n&&Vu(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),kn&&Vn(kn,n)||(kn=n,n=mo(_a,"onSelect"),0Tr||(e.current=Ka[Tr],Ka[Tr]=null,Tr--)}function q(e,t){Tr++,Ka[Tr]=e.current,e.current=t}var Zt={},Ee=tr(Zt),Ae=tr(!1),gr=Zt;function Gr(e,t){var r=e.type.contextTypes;if(!r)return Zt;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Le(e){return e=e.childContextTypes,e!=null}function yo(){K(Ae),K(Ee)}function Ac(e,t,r){if(Ee.current!==Zt)throw Error(D(168));q(Ee,t),q(Ae,r)}function wp(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(D(108,Fm(e)||"Unknown",i));return ee({},r,n)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zt,gr=Ee.current,q(Ee,e),q(Ae,Ae.current),!0}function Lc(e,t,r){var n=e.stateNode;if(!n)throw Error(D(169));r?(e=wp(e,t,gr),n.__reactInternalMemoizedMergedChildContext=e,K(Ae),K(Ee),q(Ee,e)):K(Ae),q(Ae,r)}var Ct=null,Zo=!1,ea=!1;function Sp(e){Ct===null?Ct=[e]:Ct.push(e)}function ey(e){Zo=!0,Sp(e)}function rr(){if(!ea&&Ct!==null){ea=!0;var e=0,t=H;try{var r=Ct;for(H=1;e>=l,i-=l,bt=1<<32-ct(t)+i|r<N?(T=P,P=null):T=P.sibling;var k=c(g,P,h[N],S);if(k===null){P===null&&(P=T);break}e&&P&&k.alternate===null&&t(g,P),v=o(k,v,N),C===null?x=k:C.sibling=k,C=k,P=T}if(N===h.length)return r(g,P),X&&ar(g,N),x;if(P===null){for(;NN?(T=P,P=null):T=P.sibling;var F=c(g,P,k.value,S);if(F===null){P===null&&(P=T);break}e&&P&&F.alternate===null&&t(g,P),v=o(F,v,N),C===null?x=F:C.sibling=F,C=F,P=T}if(k.done)return r(g,P),X&&ar(g,N),x;if(P===null){for(;!k.done;N++,k=h.next())k=d(g,k.value,S),k!==null&&(v=o(k,v,N),C===null?x=k:C.sibling=k,C=k);return X&&ar(g,N),x}for(P=n(g,P);!k.done;N++,k=h.next())k=p(P,g,N,k.value,S),k!==null&&(e&&k.alternate!==null&&P.delete(k.key===null?N:k.key),v=o(k,v,N),C===null?x=k:C.sibling=k,C=k);return e&&P.forEach(function(le){return t(g,le)}),X&&ar(g,N),x}function w(g,v,h,S){if(typeof h=="object"&&h!==null&&h.type===Ir&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Oi:e:{for(var x=h.key,C=v;C!==null;){if(C.key===x){if(x=h.type,x===Ir){if(C.tag===7){r(g,C.sibling),v=i(C,h.props.children),v.return=g,g=v;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===At&&Fc(x)===C.type){r(g,C.sibling),v=i(C,h.props),v.ref=mn(g,C,h),v.return=g,g=v;break e}r(g,C);break}else t(g,C);C=C.sibling}h.type===Ir?(v=vr(h.props.children,g.mode,S,h.key),v.return=g,g=v):(S=lo(h.type,h.key,h.props,null,g.mode,S),S.ref=mn(g,v,h),S.return=g,g=S)}return l(g);case Pr:e:{for(C=h.key;v!==null;){if(v.key===C)if(v.tag===4&&v.stateNode.containerInfo===h.containerInfo&&v.stateNode.implementation===h.implementation){r(g,v.sibling),v=i(v,h.children||[]),v.return=g,g=v;break e}else{r(g,v);break}else t(g,v);v=v.sibling}v=ua(h,g.mode,S),v.return=g,g=v}return l(g);case At:return C=h._init,w(g,v,C(h._payload),S)}if(Cn(h))return m(g,v,h,S);if(dn(h))return y(g,v,h,S);$i(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,v!==null&&v.tag===6?(r(g,v.sibling),v=i(v,h),v.return=g,g=v):(r(g,v),v=aa(h,g.mode,S),v.return=g,g=v),l(g)):r(g,v)}return w}var Qr=bp(!0),Dp=bp(!1),Eo=tr(null),Co=null,Mr=null,Ku=null;function Yu(){Ku=Mr=Co=null}function Xu(e){var t=Eo.current;K(Eo),e._currentValue=t}function Za(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function _r(e,t){Co=e,Ku=Mr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ke=!0),e.firstContext=null)}function nt(e){var t=e._currentValue;if(Ku!==e)if(e={context:e,memoizedValue:t,next:null},Mr===null){if(Co===null)throw Error(D(308));Mr=e,Co.dependencies={lanes:0,firstContext:e}}else Mr=Mr.next=e;return t}var dr=null;function Zu(e){dr===null?dr=[e]:dr.push(e)}function Pp(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,Zu(t)):(r.next=i.next,i.next=r),t.interleaved=r,Ot(e,n)}function Ot(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Lt=!1;function Ju(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ip(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ht(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,U&2){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,Ot(e,r)}return i=n.interleaved,i===null?(t.next=t,Zu(n)):(t.next=i.next,i.next=t),n.interleaved=t,Ot(e,r)}function eo(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ju(e,r)}}function jc(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=l:o=o.next=l,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function bo(e,t,r,n){var i=e.updateQueue;Lt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?o=s:l.next=s,l=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(o!==null){var d=i.baseState;l=0,f=s=u=null,a=o;do{var c=a.lane,p=a.eventTime;if((n&c)===c){f!==null&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=e,y=a;switch(c=t,p=r,y.tag){case 1:if(m=y.payload,typeof m=="function"){d=m.call(p,d,c);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=y.payload,c=typeof m=="function"?m.call(p,d,c):m,c==null)break e;d=ee({},d,c);break e;case 2:Lt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,c=i.effects,c===null?i.effects=[a]:c.push(a))}else p={eventTime:p,lane:c,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=p,u=d):f=f.next=p,l|=c;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;c=a,a=c.next,c.next=null,i.lastBaseUpdate=c,i.shared.pending=null}}while(!0);if(f===null&&(u=d),i.baseState=u,i.firstBaseUpdate=s,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);yr|=l,e.lanes=l,e.memoizedState=d}}function zc(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=ra.transition;ra.transition={};try{e(!1),t()}finally{H=r,ra.transition=n}}function Hp(){return it().memoizedState}function iy(e,t,r){var n=Gt(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Vp(e))Gp(t,r);else if(r=Pp(e,t,r,n),r!==null){var i=De();dt(r,e,n,i),qp(r,t,n)}}function oy(e,t,r){var n=Gt(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Vp(e))Gp(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,r);if(i.hasEagerState=!0,i.eagerState=a,ft(a,l)){var u=t.interleaved;u===null?(i.next=i,Zu(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}r=Pp(e,t,i,n),r!==null&&(i=De(),dt(r,e,n,i),qp(r,t,n))}}function Vp(e){var t=e.alternate;return e===J||t!==null&&t===J}function Gp(e,t){Tn=Po=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function qp(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ju(e,r)}}var Io={readContext:nt,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},ly={readContext:nt,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:Uc,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,ro(4194308,4,zp.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ro(4194308,4,e,t)},useInsertionEffect:function(e,t){return ro(4,2,e,t)},useMemo:function(e,t){var r=ht();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ht();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iy.bind(null,J,e),[n.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:$c,useDebugValue:as,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=$c(!1),t=e[0];return e=ny.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=J,i=ht();if(X){if(r===void 0)throw Error(D(407));r=r()}else{if(r=t(),se===null)throw Error(D(349));hr&30||kp(n,t,r)}i.memoizedState=r;var o={value:r,getSnapshot:t};return i.queue=o,Uc(Ap.bind(null,n,o,e),[e]),n.flags|=2048,Jn(9,Tp.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=ht(),t=se.identifierPrefix;if(X){var r=Dt,n=bt;r=(n&~(1<<32-ct(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Xn++,0")&&(u=u.replace("",e.displayName)),u}while(1<=l&&0<=a);break}}}finally{zl=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?En(e):""}function Bm(e){switch(e.tag){case 5:return En(e.type);case 16:return En("Lazy");case 13:return En("Suspense");case 19:return En("SuspenseList");case 0:case 2:case 15:return e=$l(e.type,!1),e;case 11:return e=$l(e.type.render,!1),e;case 1:return e=$l(e.type,!0),e;default:return""}}function Ia(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Pr:return"Fragment";case Dr:return"Portal";case ba:return"Profiler";case Au:return"StrictMode";case Da:return"Suspense";case Pa:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case If:return(e.displayName||"Context")+".Consumer";case Pf:return(e._context.displayName||"Context")+".Provider";case Lu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mu:return t=e.displayName||null,t!==null?t:Ia(e.type)||"Memo";case At:t=e._payload,e=e._init;try{return Ia(e(t))}catch{}}return null}function Fm(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ia(t);case 8:return t===Au?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Xt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Of(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jm(e){var t=Of(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){n=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ri(e){e._valueTracker||(e._valueTracker=jm(e))}function Rf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=Of(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function uo(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Na(e,t){var r=t.checked;return ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function lc(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=Xt(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function kf(e,t){t=t.checked,t!=null&&Tu(e,"checked",t,!1)}function Oa(e,t){kf(e,t);var r=Xt(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ra(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ra(e,t.type,Xt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ac(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Ra(e,t,r){(t!=="number"||uo(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Cn=Array.isArray;function Fr(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ki.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zn(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var In={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},zm=["Webkit","ms","Moz","O"];Object.keys(In).forEach(function(e){zm.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),In[t]=In[e]})});function Mf(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||In.hasOwnProperty(e)&&In[e]?(""+t).trim():t+"px"}function Bf(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=Mf(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var $m=ee({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Aa(e,t){if(t){if($m[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(D(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(D(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(D(61))}if(t.style!=null&&typeof t.style!="object")throw Error(D(62))}}function La(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ma=null;function Bu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ba=null,jr=null,zr=null;function cc(e){if(e=fi(e)){if(typeof Ba!="function")throw Error(D(280));var t=e.stateNode;t&&(t=Xo(t),Ba(e.stateNode,e.type,t))}}function Ff(e){jr?zr?zr.push(e):zr=[e]:jr=e}function jf(){if(jr){var e=jr,t=zr;if(zr=jr=null,cc(e),t)for(e=0;e>>=0,e===0?32:31-(Xm(e)/Zm|0)|0}var Ti=64,Ai=4194304;function bn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function po(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,o=e.pingedLanes,l=r&268435455;if(l!==0){var a=l&~i;a!==0?n=bn(a):(o&=l,o!==0&&(n=bn(o)))}else l=r&~i,l!==0?n=bn(l):o!==0&&(n=bn(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function ci(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ct(t),e[t]=r}function rh(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=On),wc=" ",Sc=!1;function ip(e,t){switch(e){case"keyup":return Rh.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function op(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ir=!1;function Th(e,t){switch(e){case"compositionend":return op(t);case"keypress":return t.which!==32?null:(Sc=!0,wc);case"textInput":return e=t.data,e===wc&&Sc?null:e;default:return null}}function Ah(e,t){if(Ir)return e==="compositionend"||!Hu&&ip(e,t)?(e=rp(),Zi=Uu=Ft=null,Ir=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=bc(r)}}function sp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?sp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function cp(){for(var e=window,t=uo();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=uo(e.document)}return t}function Vu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function _h(e){var t=cp(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&sp(r.ownerDocument.documentElement,r)){if(n!==null&&Vu(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,o=Math.min(n.start,i);n=n.end===void 0?o:Math.min(n.end,i),!e.extend&&o>n&&(i=n,n=o,o=i),i=Dc(r,o);var l=Dc(r,n);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,Nr=null,_a=null,kn=null,Wa=!1;function Pc(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Wa||Nr==null||Nr!==uo(n)||(n=Nr,"selectionStart"in n&&Vu(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),kn&&Vn(kn,n)||(kn=n,n=mo(_a,"onSelect"),0kr||(e.current=Ka[kr],Ka[kr]=null,kr--)}function q(e,t){kr++,Ka[kr]=e.current,e.current=t}var Zt={},Ee=tr(Zt),Ae=tr(!1),vr=Zt;function Vr(e,t){var r=e.type.contextTypes;if(!r)return Zt;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Le(e){return e=e.childContextTypes,e!=null}function yo(){K(Ae),K(Ee)}function Ac(e,t,r){if(Ee.current!==Zt)throw Error(D(168));q(Ee,t),q(Ae,r)}function wp(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(D(108,Fm(e)||"Unknown",i));return ee({},r,n)}function wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zt,vr=Ee.current,q(Ee,e),q(Ae,Ae.current),!0}function Lc(e,t,r){var n=e.stateNode;if(!n)throw Error(D(169));r?(e=wp(e,t,vr),n.__reactInternalMemoizedMergedChildContext=e,K(Ae),K(Ee),q(Ee,e)):K(Ae),q(Ae,r)}var Ct=null,Zo=!1,ea=!1;function Sp(e){Ct===null?Ct=[e]:Ct.push(e)}function ey(e){Zo=!0,Sp(e)}function rr(){if(!ea&&Ct!==null){ea=!0;var e=0,t=H;try{var r=Ct;for(H=1;e>=l,i-=l,bt=1<<32-ct(t)+i|r<N?(T=P,P=null):T=P.sibling;var k=c(g,P,h[N],S);if(k===null){P===null&&(P=T);break}e&&P&&k.alternate===null&&t(g,P),v=o(k,v,N),C===null?x=k:C.sibling=k,C=k,P=T}if(N===h.length)return r(g,P),X&&lr(g,N),x;if(P===null){for(;NN?(T=P,P=null):T=P.sibling;var F=c(g,P,k.value,S);if(F===null){P===null&&(P=T);break}e&&P&&F.alternate===null&&t(g,P),v=o(F,v,N),C===null?x=F:C.sibling=F,C=F,P=T}if(k.done)return r(g,P),X&&lr(g,N),x;if(P===null){for(;!k.done;N++,k=h.next())k=d(g,k.value,S),k!==null&&(v=o(k,v,N),C===null?x=k:C.sibling=k,C=k);return X&&lr(g,N),x}for(P=n(g,P);!k.done;N++,k=h.next())k=p(P,g,N,k.value,S),k!==null&&(e&&k.alternate!==null&&P.delete(k.key===null?N:k.key),v=o(k,v,N),C===null?x=k:C.sibling=k,C=k);return e&&P.forEach(function(le){return t(g,le)}),X&&lr(g,N),x}function w(g,v,h,S){if(typeof h=="object"&&h!==null&&h.type===Pr&&h.key===null&&(h=h.props.children),typeof h=="object"&&h!==null){switch(h.$$typeof){case Oi:e:{for(var x=h.key,C=v;C!==null;){if(C.key===x){if(x=h.type,x===Pr){if(C.tag===7){r(g,C.sibling),v=i(C,h.props.children),v.return=g,g=v;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===At&&Fc(x)===C.type){r(g,C.sibling),v=i(C,h.props),v.ref=mn(g,C,h),v.return=g,g=v;break e}r(g,C);break}else t(g,C);C=C.sibling}h.type===Pr?(v=pr(h.props.children,g.mode,S,h.key),v.return=g,g=v):(S=lo(h.type,h.key,h.props,null,g.mode,S),S.ref=mn(g,v,h),S.return=g,g=S)}return l(g);case Dr:e:{for(C=h.key;v!==null;){if(v.key===C)if(v.tag===4&&v.stateNode.containerInfo===h.containerInfo&&v.stateNode.implementation===h.implementation){r(g,v.sibling),v=i(v,h.children||[]),v.return=g,g=v;break e}else{r(g,v);break}else t(g,v);v=v.sibling}v=ua(h,g.mode,S),v.return=g,g=v}return l(g);case At:return C=h._init,w(g,v,C(h._payload),S)}if(Cn(h))return m(g,v,h,S);if(dn(h))return y(g,v,h,S);$i(g,h)}return typeof h=="string"&&h!==""||typeof h=="number"?(h=""+h,v!==null&&v.tag===6?(r(g,v.sibling),v=i(v,h),v.return=g,g=v):(r(g,v),v=aa(h,g.mode,S),v.return=g,g=v),l(g)):r(g,v)}return w}var qr=bp(!0),Dp=bp(!1),Eo=tr(null),Co=null,Lr=null,Ku=null;function Yu(){Ku=Lr=Co=null}function Xu(e){var t=Eo.current;K(Eo),e._currentValue=t}function Za(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Ur(e,t){Co=e,Ku=Lr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ke=!0),e.firstContext=null)}function nt(e){var t=e._currentValue;if(Ku!==e)if(e={context:e,memoizedValue:t,next:null},Lr===null){if(Co===null)throw Error(D(308));Lr=e,Co.dependencies={lanes:0,firstContext:e}}else Lr=Lr.next=e;return t}var cr=null;function Zu(e){cr===null?cr=[e]:cr.push(e)}function Pp(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,Zu(t)):(r.next=i.next,i.next=r),t.interleaved=r,Ot(e,n)}function Ot(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Lt=!1;function Ju(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ip(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ht(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,U&2){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,Ot(e,r)}return i=n.interleaved,i===null?(t.next=t,Zu(n)):(t.next=i.next,i.next=t),n.interleaved=t,Ot(e,r)}function eo(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ju(e,r)}}function jc(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var l={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=l:o=o.next=l,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function bo(e,t,r,n){var i=e.updateQueue;Lt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var u=a,s=u.next;u.next=null,l===null?o=s:l.next=s,l=u;var f=e.alternate;f!==null&&(f=f.updateQueue,a=f.lastBaseUpdate,a!==l&&(a===null?f.firstBaseUpdate=s:a.next=s,f.lastBaseUpdate=u))}if(o!==null){var d=i.baseState;l=0,f=s=u=null,a=o;do{var c=a.lane,p=a.eventTime;if((n&c)===c){f!==null&&(f=f.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var m=e,y=a;switch(c=t,p=r,y.tag){case 1:if(m=y.payload,typeof m=="function"){d=m.call(p,d,c);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=y.payload,c=typeof m=="function"?m.call(p,d,c):m,c==null)break e;d=ee({},d,c);break e;case 2:Lt=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,c=i.effects,c===null?i.effects=[a]:c.push(a))}else p={eventTime:p,lane:c,tag:a.tag,payload:a.payload,callback:a.callback,next:null},f===null?(s=f=p,u=d):f=f.next=p,l|=c;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;c=a,a=c.next,c.next=null,i.lastBaseUpdate=c,i.shared.pending=null}}while(!0);if(f===null&&(u=d),i.baseState=u,i.firstBaseUpdate=s,i.lastBaseUpdate=f,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);hr|=l,e.lanes=l,e.memoizedState=d}}function zc(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;tr?r:4,e(!0);var n=ra.transition;ra.transition={};try{e(!1),t()}finally{H=r,ra.transition=n}}function Hp(){return it().memoizedState}function iy(e,t,r){var n=Gt(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Vp(e))Gp(t,r);else if(r=Pp(e,t,r,n),r!==null){var i=De();dt(r,e,n,i),qp(r,t,n)}}function oy(e,t,r){var n=Gt(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Vp(e))Gp(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,a=o(l,r);if(i.hasEagerState=!0,i.eagerState=a,ft(a,l)){var u=t.interleaved;u===null?(i.next=i,Zu(t)):(i.next=u.next,u.next=i),t.interleaved=i;return}}catch{}finally{}r=Pp(e,t,i,n),r!==null&&(i=De(),dt(r,e,n,i),qp(r,t,n))}}function Vp(e){var t=e.alternate;return e===J||t!==null&&t===J}function Gp(e,t){Tn=Po=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function qp(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ju(e,r)}}var Io={readContext:nt,useCallback:we,useContext:we,useEffect:we,useImperativeHandle:we,useInsertionEffect:we,useLayoutEffect:we,useMemo:we,useReducer:we,useRef:we,useState:we,useDebugValue:we,useDeferredValue:we,useTransition:we,useMutableSource:we,useSyncExternalStore:we,useId:we,unstable_isNewReconciler:!1},ly={readContext:nt,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:Uc,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,ro(4194308,4,zp.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ro(4194308,4,e,t)},useInsertionEffect:function(e,t){return ro(4,2,e,t)},useMemo:function(e,t){var r=ht();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=ht();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=iy.bind(null,J,e),[n.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:$c,useDebugValue:as,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=$c(!1),t=e[0];return e=ny.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=J,i=ht();if(X){if(r===void 0)throw Error(D(407));r=r()}else{if(r=t(),se===null)throw Error(D(349));mr&30||kp(n,t,r)}i.memoizedState=r;var o={value:r,getSnapshot:t};return i.queue=o,Uc(Ap.bind(null,n,o,e),[e]),n.flags|=2048,Jn(9,Tp.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=ht(),t=se.identifierPrefix;if(X){var r=Dt,n=bt;r=(n&~(1<<32-ct(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=Xn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[yt]=t,e[Qn]=n,nv(e,t,!1,!1),t.stateNode=e;e:{switch(l=La(r,n),r){case"dialog":Q("cancel",e),Q("close",e),i=n;break;case"iframe":case"object":case"embed":Q("load",e),i=n;break;case"video":case"audio":for(i=0;iXr&&(t.flags|=128,n=!0,hn(o,!1),t.lanes=4194304)}else{if(!n)if(e=Do(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),hn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!X)return Se(t),null}else 2*re()-o.renderingStartTime>Xr&&r!==1073741824&&(t.flags|=128,n=!0,hn(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(r=o.last,r!==null?r.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,r=Z.current,q(Z,n?r&1|2:r&1),t):(Se(t),null);case 22:case 23:return ps(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Fe&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function vy(e,t){switch(qu(t),t.tag){case 1:return Le(t.type)&&yo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Kr(),K(Ae),K(Ee),rs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ts(t),null;case 13:if(K(Z),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));qr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(Z),null;case 4:return Kr(),null;case 10:return Xu(t.type._context),null;case 22:case 23:return ps(),null;case 24:return null;default:return null}}var _i=!1,xe=!1,gy=typeof WeakSet=="function"?WeakSet:Set,R=null;function Br(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){te(e,t,n)}else r.current=null}function au(e,t,r){try{r()}catch(n){te(e,t,n)}}var Zc=!1;function my(e,t){if(Ha=vo,e=cp(),Vu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var l=0,a=-1,u=-1,s=0,f=0,d=e,c=null;t:for(;;){for(var p;d!==r||i!==0&&d.nodeType!==3||(a=l+i),d!==o||n!==0&&d.nodeType!==3||(u=l+n),d.nodeType===3&&(l+=d.nodeValue.length),(p=d.firstChild)!==null;)c=d,d=p;for(;;){if(d===e)break t;if(c===r&&++s===i&&(a=l),c===o&&++f===n&&(u=l),(p=d.nextSibling)!==null)break;d=c,c=d.parentNode}d=p}r=a===-1||u===-1?null:{start:a,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Va={focusedElem:e,selectionRange:r},vo=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,w=m.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:lt(t.type,y),w);g.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(S){te(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return m=Zc,Zc=!1,m}function An(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&au(t,r,o)}i=i.next}while(i!==n)}}function tl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function uu(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function lv(e){var t=e.alternate;t!==null&&(e.alternate=null,lv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[Qn],delete t[Qa],delete t[Zh],delete t[Jh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function av(e){return e.tag===5||e.tag===3||e.tag===4}function Jc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||av(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function su(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ho));else if(n!==4&&(e=e.child,e!==null))for(su(e,t,r),e=e.sibling;e!==null;)su(e,t,r),e=e.sibling}function cu(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(cu(e,t,r),e=e.sibling;e!==null;)cu(e,t,r),e=e.sibling}var ve=null,at=!1;function Tt(e,t,r){for(r=r.child;r!==null;)uv(e,t,r),r=r.sibling}function uv(e,t,r){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(qo,r)}catch{}switch(r.tag){case 5:xe||Br(r,t);case 6:var n=ve,i=at;ve=null,Tt(e,t,r),ve=n,at=i,ve!==null&&(at?(e=ve,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ve.removeChild(r.stateNode));break;case 18:ve!==null&&(at?(e=ve,r=r.stateNode,e.nodeType===8?Jl(e.parentNode,r):e.nodeType===1&&Jl(e,r),Wn(e)):Jl(ve,r.stateNode));break;case 4:n=ve,i=at,ve=r.stateNode.containerInfo,at=!0,Tt(e,t,r),ve=n,at=i;break;case 0:case 11:case 14:case 15:if(!xe&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&au(r,t,l),i=i.next}while(i!==n)}Tt(e,t,r);break;case 1:if(!xe&&(Br(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){te(r,t,a)}Tt(e,t,r);break;case 21:Tt(e,t,r);break;case 22:r.mode&1?(xe=(n=xe)||r.memoizedState!==null,Tt(e,t,r),xe=n):Tt(e,t,r);break;default:Tt(e,t,r)}}function ed(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new gy),t.forEach(function(n){var i=Dy.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function ot(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=l),n&=~o}if(n=i,n=re()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yy(n/1960))-n,10e?16:e,jt===null)var n=!1;else{if(e=jt,jt=null,Ro=0,U&6)throw Error(D(331));var i=U;for(U|=4,R=e.current;R!==null;){var o=R,l=o.child;if(R.flags&16){var a=o.deletions;if(a!==null){for(var u=0;ure()-ds?pr(e,0):cs|=r),Me(e,t)}function mv(e,t){t===0&&(e.mode&1?(t=Ai,Ai<<=1,!(Ai&130023424)&&(Ai=4194304)):t=1);var r=De();e=Ot(e,t),e!==null&&(ci(e,t,r),Me(e,r))}function by(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),mv(e,r)}function Dy(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(D(314))}n!==null&&n.delete(t),mv(e,r)}var hv;hv=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ae.current)ke=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ke=!1,fy(e,t,r);ke=!!(e.flags&131072)}else ke=!1,X&&t.flags&1048576&&xp(t,xo,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;no(e,t),e=t.pendingProps;var i=Gr(t,Ee.current);_r(t,r),i=is(null,t,n,e,i,r);var o=os();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Le(n)?(o=!0,wo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ju(t),i.updater=el,t.stateNode=i,i._reactInternals=t,eu(t,n,e,r),t=nu(null,t,n,!0,o,r)):(t.tag=0,X&&o&&Gu(t),be(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(no(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=Iy(n),e=lt(n,e),i){case 0:t=ru(null,t,n,e,r);break e;case 1:t=Kc(null,t,n,e,r);break e;case 11:t=qc(null,t,n,e,r);break e;case 14:t=Qc(null,t,n,lt(n.type,e),r);break e}throw Error(D(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),ru(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),Kc(e,t,n,i,r);case 3:e:{if(ev(t),e===null)throw Error(D(387));n=t.pendingProps,o=t.memoizedState,i=o.element,Ip(e,t),bo(t,n,null,r);var l=t.memoizedState;if(n=l.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Yr(Error(D(423)),t),t=Yc(e,t,n,r,i);break e}else if(n!==i){i=Yr(Error(D(424)),t),t=Yc(e,t,n,r,i);break e}else for(je=Wt(t.stateNode.containerInfo.firstChild),$e=t,X=!0,ut=null,r=Dp(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(qr(),n===i){t=Rt(e,t,r);break e}be(e,t,n,r)}t=t.child}return t;case 5:return Np(t),e===null&&Xa(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Ga(n,i)?l=null:o!==null&&Ga(n,o)&&(t.flags|=32),Jp(e,t),be(e,t,l,r),t.child;case 6:return e===null&&Xa(t),null;case 13:return tv(e,t,r);case 4:return es(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Qr(t,null,n,r):be(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),qc(e,t,n,i,r);case 7:return be(e,t,t.pendingProps,r),t.child;case 8:return be(e,t,t.pendingProps.children,r),t.child;case 12:return be(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,q(Eo,n._currentValue),n._currentValue=l,o!==null)if(ft(o.value,l)){if(o.children===i.children&&!Ae.current){t=Rt(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var u=a.firstContext;u!==null;){if(u.context===n){if(o.tag===1){u=Pt(-1,r&-r),u.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}o.lanes|=r,u=o.alternate,u!==null&&(u.lanes|=r),Za(o.return,r,t),a.lanes|=r;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(D(341));l.lanes|=r,a=l.alternate,a!==null&&(a.lanes|=r),Za(l,r,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}be(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,_r(t,r),i=nt(i),n=n(i),t.flags|=1,be(e,t,n,r),t.child;case 14:return n=t.type,i=lt(n,t.pendingProps),i=lt(n.type,i),Qc(e,t,n,i,r);case 15:return Xp(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),no(e,t),t.tag=1,Le(n)?(e=!0,wo(t)):e=!1,_r(t,r),Qp(t,n,i),eu(t,n,i,r),nu(null,t,n,!0,e,r);case 19:return rv(e,t,r);case 22:return Zp(e,t,r)}throw Error(D(156,t.tag))};function yv(e,t){return Vf(e,t)}function Py(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,t,r,n){return new Py(e,t,r,n)}function gs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Iy(e){if(typeof e=="function")return gs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Lu)return 11;if(e===Mu)return 14}return 2}function qt(e,t){var r=e.alternate;return r===null?(r=Je(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function lo(e,t,r,n,i,o){var l=2;if(n=e,typeof e=="function")gs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Ir:return vr(r.children,i,o,t);case Au:l=8,i|=8;break;case ba:return e=Je(12,r,t,i|2),e.elementType=ba,e.lanes=o,e;case Da:return e=Je(13,r,t,i),e.elementType=Da,e.lanes=o,e;case Pa:return e=Je(19,r,t,i),e.elementType=Pa,e.lanes=o,e;case Nf:return nl(r,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pf:l=10;break e;case If:l=9;break e;case Lu:l=11;break e;case Mu:l=14;break e;case At:l=16,n=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=Je(l,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function vr(e,t,r,n){return e=Je(7,e,n,t),e.lanes=r,e}function nl(e,t,r,n){return e=Je(22,e,n,t),e.elementType=Nf,e.lanes=r,e.stateNode={isHidden:!1},e}function aa(e,t,r){return e=Je(6,e,null,t),e.lanes=r,e}function ua(e,t,r){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ny(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_l(0),this.expirationTimes=_l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_l(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ms(e,t,r,n,i,o,l,a,u){return e=new Ny(e,t,r,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ju(o),e}function Oy(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ev)}catch(e){console.error(e)}}Ev(),Ef.exports=He;var Ss=Ef.exports;const Ly=ui(Ss);var ud=Ss;Ea.createRoot=ud.createRoot,Ea.hydrateRoot=ud.hydrateRoot;const sd=()=>b.jsxs("svg",{width:"289.5",height:"36",viewBox:"0 0 580 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b.jsxs("g",{"clip-path":"url(#clip0_6_641)",children:[b.jsx("path",{d:"M0.824922 1.07031L0.794922 70.0703H14.7949L14.8049 1.07031H0.824922Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M16.5947 36.8803L41.2547 1.07031H58.2447L33.1647 36.8803L61.2447 70.0703H42.9947L16.5947 36.8803Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M119.885 1.07031H105.765V70.0703H119.885V1.07031Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M173.185 1.07031V70.0703H186.775V26.8303L224.045 70.0703H234.825V1.07031H221.325V45.6803L183.445 1.07031H173.185Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M342.465 8.86C333.025 0.15 321.645 0 318.535 0C315.475 0 303.575 0.22 294.005 9.52C283.845 19.4 283.805 32.24 283.795 35.66C283.785 39.3 283.895 49.03 290.805 57.99C300.855 71.02 316.695 71.31 318.535 71.32C321.375 71.32 334.185 71 343.965 60.66C353.065 51.04 353.265 39.4 353.275 35.66C353.275 32.49 353.305 18.86 342.455 8.86H342.465ZM318.435 58.01C307.095 58.01 297.895 47.95 297.895 35.54C297.895 23.13 307.085 13.07 318.435 13.07C329.785 13.07 338.975 23.13 338.975 35.54C338.975 47.95 329.785 58.01 318.435 58.01Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M450.495 12.0802C444.975 5.46023 437.135 0.990234 427.955 0.990234C417.555 0.990234 405.295 1.07023 402.295 1.07023V69.9802C405.285 69.9802 417.555 70.0602 427.955 70.0602C445.525 70.0602 458.445 53.4102 459.065 36.8602C459.395 28.0102 456.185 18.9002 450.495 12.0802ZM440.085 49.9502C436.895 53.8702 432.705 56.6902 427.665 57.5602C424.025 58.1902 420.095 57.8302 416.405 57.8302C416.405 50.4002 416.405 42.9802 416.405 35.5502V13.2202C423.795 13.2202 430.525 12.7002 436.605 17.6002C440.275 20.5602 442.925 24.7102 444.165 29.2402C444.525 30.5402 444.765 31.8802 444.875 33.2302C445.395 39.3702 443.995 45.1402 440.085 49.9502Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M508.135 0.990234V70.0602H552.715V57.9302H522.035V40.4202H547.125V28.0702H521.995V13.3202H552.715V0.990234H508.135Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M574.835 66.0398H572.745L571.015 63.0698H569.845V66.0398H567.805V57.5498H571.765C572.845 57.5498 573.865 57.9298 574.425 58.9398C575.205 60.3698 574.665 62.3798 573.105 63.0298C573.725 64.1198 574.225 64.9498 574.845 66.0398H574.835ZM570.375 61.0798H570.845C571.335 61.0798 572.365 61.0798 572.365 60.2898C572.365 59.5598 571.335 59.5598 570.845 59.5598H570.375V61.0798Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M570.964 69.0002C574.913 69.0002 578.114 65.799 578.114 61.8502C578.114 57.9014 574.913 54.7002 570.964 54.7002C567.016 54.7002 563.814 57.9014 563.814 61.8502C563.814 65.799 567.016 69.0002 570.964 69.0002Z",stroke:"#FFF5D9","stroke-width":"2.2","stroke-miterlimit":"10"})]}),b.jsx("defs",{children:b.jsx("clipPath",{id:"clip0_6_641",children:b.jsx("rect",{width:"578.41",height:"71.32",fill:"white",transform:"translate(0.794922)"})})})]}),cd=()=>b.jsxs("svg",{className:"mt-2",width:"67.5",height:"48",viewBox:"0 0 122 81",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b.jsx("g",{"clip-path":"url(#clip0_6_651)",children:b.jsx("path",{d:"M89.3665 8.06803L121.5 0.35155L66.5111 0.320312L63.7089 7.69502L0.5 5.7032L54.0253 32.9925L36.1529 80.3203L89.3665 8.06803Z",fill:"#FFF5D9"})}),b.jsx("defs",{children:b.jsx("clipPath",{id:"clip0_6_651",children:b.jsx("rect",{width:"121",height:"80",fill:"white",transform:"translate(0.5 0.320312)"})})})]});var My={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const dd=e=>{let t;const r=new Set,n=(f,d)=>{const c=typeof f=="function"?f(t):f;if(!Object.is(c,t)){const p=t;t=d??(typeof c!="object"||c===null)?c:Object.assign({},t,c),r.forEach(m=>m(t,p))}},i=()=>t,u={setState:n,getState:i,getInitialState:()=>s,subscribe:f=>(r.add(f),()=>r.delete(f)),destroy:()=>{(My?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},s=t=e(n,i,u);return u},By=e=>e?dd(e):dd;var Cv={exports:{}},bv={},Dv={exports:{}},Pv={};/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function oa(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function tu(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var sy=typeof WeakMap=="function"?WeakMap:Map;function Kp(e,t,r){r=Pt(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Oo||(Oo=!0,du=n),tu(e,t)},r}function Yp(e,t,r){r=Pt(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){tu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){tu(e,t),typeof n!="function"&&(Vt===null?Vt=new Set([this]):Vt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),r}function Hc(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new sy;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=Cy.bind(null,e,t,r),t.then(e,e))}function Vc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Gc(e,t,r,n,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Pt(-1,1),t.tag=2,Ht(r,t,1))),r.lanes|=1),e)}var cy=kt.ReactCurrentOwner,ke=!1;function be(e,t,r,n){t.child=e===null?Dp(t,null,r,n):qr(t,e.child,r,n)}function qc(e,t,r,n,i){r=r.render;var o=t.ref;return Ur(t,i),n=is(e,t,r,n,o,i),r=os(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Rt(e,t,i)):(X&&r&&Gu(t),t.flags|=1,be(e,t,n,i),t.child)}function Qc(e,t,r,n,i){if(e===null){var o=r.type;return typeof o=="function"&&!gs(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,Xp(e,t,o,n,i)):(e=lo(r.type,null,n,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(r=r.compare,r=r!==null?r:Vn,r(l,n)&&e.ref===t.ref)return Rt(e,t,i)}return t.flags|=1,e=qt(o,n),e.ref=t.ref,e.return=t,t.child=e}function Xp(e,t,r,n,i){if(e!==null){var o=e.memoizedProps;if(Vn(o,n)&&e.ref===t.ref)if(ke=!1,t.pendingProps=n=o,(e.lanes&i)!==0)e.flags&131072&&(ke=!0);else return t.lanes=e.lanes,Rt(e,t,i)}return ru(e,t,r,n,i)}function Zp(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},q(Br,Fe),Fe|=r;else{if(!(r&1073741824))return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,q(Br,Fe),Fe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,q(Br,Fe),Fe|=n}else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,q(Br,Fe),Fe|=n;return be(e,t,i,r),t.child}function Jp(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function ru(e,t,r,n,i){var o=Le(r)?vr:Ee.current;return o=Vr(t,o),Ur(t,i),r=is(e,t,r,n,o,i),n=os(),e!==null&&!ke?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Rt(e,t,i)):(X&&n&&Gu(t),t.flags|=1,be(e,t,r,i),t.child)}function Kc(e,t,r,n,i){if(Le(r)){var o=!0;wo(t)}else o=!1;if(Ur(t,i),t.stateNode===null)no(e,t),Qp(t,r,n),eu(t,r,n,i),n=!0;else if(e===null){var l=t.stateNode,a=t.memoizedProps;l.props=a;var u=l.context,s=r.contextType;typeof s=="object"&&s!==null?s=nt(s):(s=Le(r)?vr:Ee.current,s=Vr(t,s));var f=r.getDerivedStateFromProps,d=typeof f=="function"||typeof l.getSnapshotBeforeUpdate=="function";d||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==n||u!==s)&&Wc(t,l,n,s),Lt=!1;var c=t.memoizedState;l.state=c,bo(t,n,l,i),u=t.memoizedState,a!==n||c!==u||Ae.current||Lt?(typeof f=="function"&&(Ja(t,r,f,n),u=t.memoizedState),(a=Lt||_c(t,r,a,n,c,u,s))?(d||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=u),l.props=n,l.state=u,l.context=s,n=a):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{l=t.stateNode,Ip(e,t),a=t.memoizedProps,s=t.type===t.elementType?a:lt(t.type,a),l.props=s,d=t.pendingProps,c=l.context,u=r.contextType,typeof u=="object"&&u!==null?u=nt(u):(u=Le(r)?vr:Ee.current,u=Vr(t,u));var p=r.getDerivedStateFromProps;(f=typeof p=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(a!==d||c!==u)&&Wc(t,l,n,u),Lt=!1,c=t.memoizedState,l.state=c,bo(t,n,l,i);var m=t.memoizedState;a!==d||c!==m||Ae.current||Lt?(typeof p=="function"&&(Ja(t,r,p,n),m=t.memoizedState),(s=Lt||_c(t,r,s,n,c,m,u)||!1)?(f||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(n,m,u),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(n,m,u)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=m),l.props=n,l.state=m,l.context=u,n=s):(typeof l.componentDidUpdate!="function"||a===e.memoizedProps&&c===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&c===e.memoizedState||(t.flags|=1024),n=!1)}return nu(e,t,r,n,o,i)}function nu(e,t,r,n,i,o){Jp(e,t);var l=(t.flags&128)!==0;if(!n&&!l)return i&&Lc(t,r,!1),Rt(e,t,o);n=t.stateNode,cy.current=t;var a=l&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&l?(t.child=qr(t,e.child,null,o),t.child=qr(t,null,a,o)):be(e,t,a,o),t.memoizedState=n.state,i&&Lc(t,r,!0),t.child}function ev(e){var t=e.stateNode;t.pendingContext?Ac(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Ac(e,t.context,!1),es(e,t.containerInfo)}function Yc(e,t,r,n,i){return Gr(),Qu(i),t.flags|=256,be(e,t,r,n),t.child}var iu={dehydrated:null,treeContext:null,retryLane:0};function ou(e){return{baseLanes:e,cachePool:null,transitions:null}}function tv(e,t,r){var n=t.pendingProps,i=Z.current,o=!1,l=(t.flags&128)!==0,a;if((a=l)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),q(Z,i&1),e===null)return Xa(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=n.children,e=n.fallback,o?(n=t.mode,o=t.child,l={mode:"hidden",children:l},!(n&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=nl(l,n,0,null),e=pr(e,n,r,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=ou(r),t.memoizedState=iu,e):us(t,l));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return dy(e,t,l,n,a,i,r);if(o){o=n.fallback,l=t.mode,i=e.child,a=i.sibling;var u={mode:"hidden",children:n.children};return!(l&1)&&t.child!==i?(n=t.child,n.childLanes=0,n.pendingProps=u,t.deletions=null):(n=qt(i,u),n.subtreeFlags=i.subtreeFlags&14680064),a!==null?o=qt(a,o):(o=pr(o,l,r,null),o.flags|=2),o.return=t,n.return=t,n.sibling=o,t.child=n,n=o,o=t.child,l=e.child.memoizedState,l=l===null?ou(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~r,t.memoizedState=iu,n}return o=e.child,e=o.sibling,n=qt(o,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function us(e,t){return t=nl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ui(e,t,r,n){return n!==null&&Qu(n),qr(t,e.child,null,r),e=us(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function dy(e,t,r,n,i,o,l){if(r)return t.flags&256?(t.flags&=-257,n=oa(Error(D(422))),Ui(e,t,l,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=n.fallback,i=t.mode,n=nl({mode:"visible",children:n.children},i,0,null),o=pr(o,i,l,null),o.flags|=2,n.return=t,o.return=t,n.sibling=o,t.child=n,t.mode&1&&qr(t,e.child,null,l),t.child.memoizedState=ou(l),t.memoizedState=iu,o);if(!(t.mode&1))return Ui(e,t,l,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var a=n.dgst;return n=a,o=Error(D(419)),n=oa(o,n,void 0),Ui(e,t,l,n)}if(a=(l&e.childLanes)!==0,ke||a){if(n=se,n!==null){switch(l&-l){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Ot(e,i),dt(n,e,i,-1))}return vs(),n=oa(Error(D(421))),Ui(e,t,l,n)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=by.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,je=Wt(i.nextSibling),$e=t,X=!0,ut=null,e!==null&&(Xe[Ze++]=bt,Xe[Ze++]=Dt,Xe[Ze++]=gr,bt=e.id,Dt=e.overflow,gr=t),t=us(t,n.children),t.flags|=4096,t)}function Xc(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),Za(e.return,t,r)}function la(e,t,r,n,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=r,o.tailMode=i)}function rv(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(be(e,t,n.children,r),n=Z.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Xc(e,r,t);else if(e.tag===19)Xc(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(q(Z,n),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&Do(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),la(t,!1,i,r,o);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Do(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}la(t,!0,r,null,o);break;case"together":la(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function no(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Rt(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),hr|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(D(153));if(t.child!==null){for(e=t.child,r=qt(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=qt(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function fy(e,t,r){switch(t.tag){case 3:ev(t),Gr();break;case 5:Np(t);break;case 1:Le(t.type)&&wo(t);break;case 4:es(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;q(Eo,n._currentValue),n._currentValue=i;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(q(Z,Z.current&1),t.flags|=128,null):r&t.child.childLanes?tv(e,t,r):(q(Z,Z.current&1),e=Rt(e,t,r),e!==null?e.sibling:null);q(Z,Z.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return rv(e,t,r);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),q(Z,Z.current),n)break;return null;case 22:case 23:return t.lanes=0,Zp(e,t,r)}return Rt(e,t,r)}var nv,lu,iv,ov;nv=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};lu=function(){};iv=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,dr(St.current);var o=null;switch(r){case"input":i=Na(e,i),n=Na(e,n),o=[];break;case"select":i=ee({},i,{value:void 0}),n=ee({},n,{value:void 0}),o=[];break;case"textarea":i=ka(e,i),n=ka(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=ho)}Aa(r,n);var l;r=null;for(s in i)if(!n.hasOwnProperty(s)&&i.hasOwnProperty(s)&&i[s]!=null)if(s==="style"){var a=i[s];for(l in a)a.hasOwnProperty(l)&&(r||(r={}),r[l]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(jn.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in n){var u=n[s];if(a=i!=null?i[s]:void 0,n.hasOwnProperty(s)&&u!==a&&(u!=null||a!=null))if(s==="style")if(a){for(l in a)!a.hasOwnProperty(l)||u&&u.hasOwnProperty(l)||(r||(r={}),r[l]="");for(l in u)u.hasOwnProperty(l)&&a[l]!==u[l]&&(r||(r={}),r[l]=u[l])}else r||(o||(o=[]),o.push(s,r)),r=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,a=a?a.__html:void 0,u!=null&&a!==u&&(o=o||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(jn.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&Q("scroll",e),o||a===u||(o=[])):(o=o||[]).push(s,u))}r&&(o=o||[]).push("style",r);var s=o;(t.updateQueue=s)&&(t.flags|=4)}};ov=function(e,t,r,n){r!==n&&(t.flags|=4)};function hn(e,t){if(!X)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Se(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function py(e,t,r){var n=t.pendingProps;switch(qu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Se(t),null;case 1:return Le(t.type)&&yo(),Se(t),null;case 3:return n=t.stateNode,Qr(),K(Ae),K(Ee),rs(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(zi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,ut!==null&&(vu(ut),ut=null))),lu(e,t),Se(t),null;case 5:ts(t);var i=dr(Yn.current);if(r=t.type,e!==null&&t.stateNode!=null)iv(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(D(166));return Se(t),null}if(e=dr(St.current),zi(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[yt]=t,n[Qn]=o,e=(t.mode&1)!==0,r){case"dialog":Q("cancel",n),Q("close",n);break;case"iframe":case"object":case"embed":Q("load",n);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),r==="select"&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[yt]=t,e[Qn]=n,nv(e,t,!1,!1),t.stateNode=e;e:{switch(l=La(r,n),r){case"dialog":Q("cancel",e),Q("close",e),i=n;break;case"iframe":case"object":case"embed":Q("load",e),i=n;break;case"video":case"audio":for(i=0;iYr&&(t.flags|=128,n=!0,hn(o,!1),t.lanes=4194304)}else{if(!n)if(e=Do(l),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),hn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!X)return Se(t),null}else 2*re()-o.renderingStartTime>Yr&&r!==1073741824&&(t.flags|=128,n=!0,hn(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(r=o.last,r!==null?r.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,r=Z.current,q(Z,n?r&1|2:r&1),t):(Se(t),null);case 22:case 23:return ps(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Fe&1073741824&&(Se(t),t.subtreeFlags&6&&(t.flags|=8192)):Se(t),null;case 24:return null;case 25:return null}throw Error(D(156,t.tag))}function vy(e,t){switch(qu(t),t.tag){case 1:return Le(t.type)&&yo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qr(),K(Ae),K(Ee),rs(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ts(t),null;case 13:if(K(Z),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(D(340));Gr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(Z),null;case 4:return Qr(),null;case 10:return Xu(t.type._context),null;case 22:case 23:return ps(),null;case 24:return null;default:return null}}var _i=!1,xe=!1,gy=typeof WeakSet=="function"?WeakSet:Set,R=null;function Mr(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){te(e,t,n)}else r.current=null}function au(e,t,r){try{r()}catch(n){te(e,t,n)}}var Zc=!1;function my(e,t){if(Ha=vo,e=cp(),Vu(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch{r=null;break e}var l=0,a=-1,u=-1,s=0,f=0,d=e,c=null;t:for(;;){for(var p;d!==r||i!==0&&d.nodeType!==3||(a=l+i),d!==o||n!==0&&d.nodeType!==3||(u=l+n),d.nodeType===3&&(l+=d.nodeValue.length),(p=d.firstChild)!==null;)c=d,d=p;for(;;){if(d===e)break t;if(c===r&&++s===i&&(a=l),c===o&&++f===n&&(u=l),(p=d.nextSibling)!==null)break;d=c,c=d.parentNode}d=p}r=a===-1||u===-1?null:{start:a,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Va={focusedElem:e,selectionRange:r},vo=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var y=m.memoizedProps,w=m.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?y:lt(t.type,y),w);g.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var h=t.stateNode.containerInfo;h.nodeType===1?h.textContent="":h.nodeType===9&&h.documentElement&&h.removeChild(h.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(D(163))}}catch(S){te(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return m=Zc,Zc=!1,m}function An(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&au(t,r,o)}i=i.next}while(i!==n)}}function tl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function uu(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function lv(e){var t=e.alternate;t!==null&&(e.alternate=null,lv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[Qn],delete t[Qa],delete t[Zh],delete t[Jh])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function av(e){return e.tag===5||e.tag===3||e.tag===4}function Jc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||av(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function su(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=ho));else if(n!==4&&(e=e.child,e!==null))for(su(e,t,r),e=e.sibling;e!==null;)su(e,t,r),e=e.sibling}function cu(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(cu(e,t,r),e=e.sibling;e!==null;)cu(e,t,r),e=e.sibling}var ve=null,at=!1;function Tt(e,t,r){for(r=r.child;r!==null;)uv(e,t,r),r=r.sibling}function uv(e,t,r){if(wt&&typeof wt.onCommitFiberUnmount=="function")try{wt.onCommitFiberUnmount(qo,r)}catch{}switch(r.tag){case 5:xe||Mr(r,t);case 6:var n=ve,i=at;ve=null,Tt(e,t,r),ve=n,at=i,ve!==null&&(at?(e=ve,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):ve.removeChild(r.stateNode));break;case 18:ve!==null&&(at?(e=ve,r=r.stateNode,e.nodeType===8?Jl(e.parentNode,r):e.nodeType===1&&Jl(e,r),Wn(e)):Jl(ve,r.stateNode));break;case 4:n=ve,i=at,ve=r.stateNode.containerInfo,at=!0,Tt(e,t,r),ve=n,at=i;break;case 0:case 11:case 14:case 15:if(!xe&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&au(r,t,l),i=i.next}while(i!==n)}Tt(e,t,r);break;case 1:if(!xe&&(Mr(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(a){te(r,t,a)}Tt(e,t,r);break;case 21:Tt(e,t,r);break;case 22:r.mode&1?(xe=(n=xe)||r.memoizedState!==null,Tt(e,t,r),xe=n):Tt(e,t,r);break;default:Tt(e,t,r)}}function ed(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new gy),t.forEach(function(n){var i=Dy.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function ot(e,t){var r=t.deletions;if(r!==null)for(var n=0;ni&&(i=l),n&=~o}if(n=i,n=re()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*yy(n/1960))-n,10e?16:e,jt===null)var n=!1;else{if(e=jt,jt=null,Ro=0,U&6)throw Error(D(331));var i=U;for(U|=4,R=e.current;R!==null;){var o=R,l=o.child;if(R.flags&16){var a=o.deletions;if(a!==null){for(var u=0;ure()-ds?fr(e,0):cs|=r),Me(e,t)}function mv(e,t){t===0&&(e.mode&1?(t=Ai,Ai<<=1,!(Ai&130023424)&&(Ai=4194304)):t=1);var r=De();e=Ot(e,t),e!==null&&(ci(e,t,r),Me(e,r))}function by(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),mv(e,r)}function Dy(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(D(314))}n!==null&&n.delete(t),mv(e,r)}var hv;hv=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ae.current)ke=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ke=!1,fy(e,t,r);ke=!!(e.flags&131072)}else ke=!1,X&&t.flags&1048576&&xp(t,xo,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;no(e,t),e=t.pendingProps;var i=Vr(t,Ee.current);Ur(t,r),i=is(null,t,n,e,i,r);var o=os();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Le(n)?(o=!0,wo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Ju(t),i.updater=el,t.stateNode=i,i._reactInternals=t,eu(t,n,e,r),t=nu(null,t,n,!0,o,r)):(t.tag=0,X&&o&&Gu(t),be(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(no(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=Iy(n),e=lt(n,e),i){case 0:t=ru(null,t,n,e,r);break e;case 1:t=Kc(null,t,n,e,r);break e;case 11:t=qc(null,t,n,e,r);break e;case 14:t=Qc(null,t,n,lt(n.type,e),r);break e}throw Error(D(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),ru(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),Kc(e,t,n,i,r);case 3:e:{if(ev(t),e===null)throw Error(D(387));n=t.pendingProps,o=t.memoizedState,i=o.element,Ip(e,t),bo(t,n,null,r);var l=t.memoizedState;if(n=l.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Kr(Error(D(423)),t),t=Yc(e,t,n,r,i);break e}else if(n!==i){i=Kr(Error(D(424)),t),t=Yc(e,t,n,r,i);break e}else for(je=Wt(t.stateNode.containerInfo.firstChild),$e=t,X=!0,ut=null,r=Dp(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Gr(),n===i){t=Rt(e,t,r);break e}be(e,t,n,r)}t=t.child}return t;case 5:return Np(t),e===null&&Xa(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Ga(n,i)?l=null:o!==null&&Ga(n,o)&&(t.flags|=32),Jp(e,t),be(e,t,l,r),t.child;case 6:return e===null&&Xa(t),null;case 13:return tv(e,t,r);case 4:return es(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=qr(t,null,n,r):be(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),qc(e,t,n,i,r);case 7:return be(e,t,t.pendingProps,r),t.child;case 8:return be(e,t,t.pendingProps.children,r),t.child;case 12:return be(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,q(Eo,n._currentValue),n._currentValue=l,o!==null)if(ft(o.value,l)){if(o.children===i.children&&!Ae.current){t=Rt(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var a=o.dependencies;if(a!==null){l=o.child;for(var u=a.firstContext;u!==null;){if(u.context===n){if(o.tag===1){u=Pt(-1,r&-r),u.tag=2;var s=o.updateQueue;if(s!==null){s=s.shared;var f=s.pending;f===null?u.next=u:(u.next=f.next,f.next=u),s.pending=u}}o.lanes|=r,u=o.alternate,u!==null&&(u.lanes|=r),Za(o.return,r,t),a.lanes|=r;break}u=u.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(D(341));l.lanes|=r,a=l.alternate,a!==null&&(a.lanes|=r),Za(l,r,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}be(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Ur(t,r),i=nt(i),n=n(i),t.flags|=1,be(e,t,n,r),t.child;case 14:return n=t.type,i=lt(n,t.pendingProps),i=lt(n.type,i),Qc(e,t,n,i,r);case 15:return Xp(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:lt(n,i),no(e,t),t.tag=1,Le(n)?(e=!0,wo(t)):e=!1,Ur(t,r),Qp(t,n,i),eu(t,n,i,r),nu(null,t,n,!0,e,r);case 19:return rv(e,t,r);case 22:return Zp(e,t,r)}throw Error(D(156,t.tag))};function yv(e,t){return Vf(e,t)}function Py(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Je(e,t,r,n){return new Py(e,t,r,n)}function gs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Iy(e){if(typeof e=="function")return gs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Lu)return 11;if(e===Mu)return 14}return 2}function qt(e,t){var r=e.alternate;return r===null?(r=Je(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function lo(e,t,r,n,i,o){var l=2;if(n=e,typeof e=="function")gs(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Pr:return pr(r.children,i,o,t);case Au:l=8,i|=8;break;case ba:return e=Je(12,r,t,i|2),e.elementType=ba,e.lanes=o,e;case Da:return e=Je(13,r,t,i),e.elementType=Da,e.lanes=o,e;case Pa:return e=Je(19,r,t,i),e.elementType=Pa,e.lanes=o,e;case Nf:return nl(r,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pf:l=10;break e;case If:l=9;break e;case Lu:l=11;break e;case Mu:l=14;break e;case At:l=16,n=null;break e}throw Error(D(130,e==null?e:typeof e,""))}return t=Je(l,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function pr(e,t,r,n){return e=Je(7,e,n,t),e.lanes=r,e}function nl(e,t,r,n){return e=Je(22,e,n,t),e.elementType=Nf,e.lanes=r,e.stateNode={isHidden:!1},e}function aa(e,t,r){return e=Je(6,e,null,t),e.lanes=r,e}function ua(e,t,r){return t=Je(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ny(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=_l(0),this.expirationTimes=_l(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_l(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function ms(e,t,r,n,i,o,l,a,u){return e=new Ny(e,t,r,a,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Je(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ju(o),e}function Oy(e,t,r){var n=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ev)}catch(e){console.error(e)}}Ev(),Ef.exports=He;var Ss=Ef.exports;const Ly=ui(Ss);var ud=Ss;Ea.createRoot=ud.createRoot,Ea.hydrateRoot=ud.hydrateRoot;const sd=()=>b.jsxs("svg",{width:"289.5",height:"36",viewBox:"0 0 580 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b.jsxs("g",{"clip-path":"url(#clip0_6_641)",children:[b.jsx("path",{d:"M0.824922 1.07031L0.794922 70.0703H14.7949L14.8049 1.07031H0.824922Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M16.5947 36.8803L41.2547 1.07031H58.2447L33.1647 36.8803L61.2447 70.0703H42.9947L16.5947 36.8803Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M119.885 1.07031H105.765V70.0703H119.885V1.07031Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M173.185 1.07031V70.0703H186.775V26.8303L224.045 70.0703H234.825V1.07031H221.325V45.6803L183.445 1.07031H173.185Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M342.465 8.86C333.025 0.15 321.645 0 318.535 0C315.475 0 303.575 0.22 294.005 9.52C283.845 19.4 283.805 32.24 283.795 35.66C283.785 39.3 283.895 49.03 290.805 57.99C300.855 71.02 316.695 71.31 318.535 71.32C321.375 71.32 334.185 71 343.965 60.66C353.065 51.04 353.265 39.4 353.275 35.66C353.275 32.49 353.305 18.86 342.455 8.86H342.465ZM318.435 58.01C307.095 58.01 297.895 47.95 297.895 35.54C297.895 23.13 307.085 13.07 318.435 13.07C329.785 13.07 338.975 23.13 338.975 35.54C338.975 47.95 329.785 58.01 318.435 58.01Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M450.495 12.0802C444.975 5.46023 437.135 0.990234 427.955 0.990234C417.555 0.990234 405.295 1.07023 402.295 1.07023V69.9802C405.285 69.9802 417.555 70.0602 427.955 70.0602C445.525 70.0602 458.445 53.4102 459.065 36.8602C459.395 28.0102 456.185 18.9002 450.495 12.0802ZM440.085 49.9502C436.895 53.8702 432.705 56.6902 427.665 57.5602C424.025 58.1902 420.095 57.8302 416.405 57.8302C416.405 50.4002 416.405 42.9802 416.405 35.5502V13.2202C423.795 13.2202 430.525 12.7002 436.605 17.6002C440.275 20.5602 442.925 24.7102 444.165 29.2402C444.525 30.5402 444.765 31.8802 444.875 33.2302C445.395 39.3702 443.995 45.1402 440.085 49.9502Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M508.135 0.990234V70.0602H552.715V57.9302H522.035V40.4202H547.125V28.0702H521.995V13.3202H552.715V0.990234H508.135Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M574.835 66.0398H572.745L571.015 63.0698H569.845V66.0398H567.805V57.5498H571.765C572.845 57.5498 573.865 57.9298 574.425 58.9398C575.205 60.3698 574.665 62.3798 573.105 63.0298C573.725 64.1198 574.225 64.9498 574.845 66.0398H574.835ZM570.375 61.0798H570.845C571.335 61.0798 572.365 61.0798 572.365 60.2898C572.365 59.5598 571.335 59.5598 570.845 59.5598H570.375V61.0798Z",fill:"#FFF5D9"}),b.jsx("path",{d:"M570.964 69.0002C574.913 69.0002 578.114 65.799 578.114 61.8502C578.114 57.9014 574.913 54.7002 570.964 54.7002C567.016 54.7002 563.814 57.9014 563.814 61.8502C563.814 65.799 567.016 69.0002 570.964 69.0002Z",stroke:"#FFF5D9","stroke-width":"2.2","stroke-miterlimit":"10"})]}),b.jsx("defs",{children:b.jsx("clipPath",{id:"clip0_6_641",children:b.jsx("rect",{width:"578.41",height:"71.32",fill:"white",transform:"translate(0.794922)"})})})]}),cd=()=>b.jsxs("svg",{className:"mt-2",width:"67.5",height:"48",viewBox:"0 0 122 81",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[b.jsx("g",{"clip-path":"url(#clip0_6_651)",children:b.jsx("path",{d:"M89.3665 8.06803L121.5 0.35155L66.5111 0.320312L63.7089 7.69502L0.5 5.7032L54.0253 32.9925L36.1529 80.3203L89.3665 8.06803Z",fill:"#FFF5D9"})}),b.jsx("defs",{children:b.jsx("clipPath",{id:"clip0_6_651",children:b.jsx("rect",{width:"121",height:"80",fill:"white",transform:"translate(0.5 0.320312)"})})})]});var My={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const dd=e=>{let t;const r=new Set,n=(f,d)=>{const c=typeof f=="function"?f(t):f;if(!Object.is(c,t)){const p=t;t=d??(typeof c!="object"||c===null)?c:Object.assign({},t,c),r.forEach(m=>m(t,p))}},i=()=>t,u={setState:n,getState:i,getInitialState:()=>s,subscribe:f=>(r.add(f),()=>r.delete(f)),destroy:()=>{(My?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}},s=t=e(n,i,u);return u},By=e=>e?dd(e):dd;var Cv={exports:{}},bv={},Dv={exports:{}},Pv={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -45,7 +45,7 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Zr=E;function Fy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jy=typeof Object.is=="function"?Object.is:Fy,zy=Zr.useState,$y=Zr.useEffect,Uy=Zr.useLayoutEffect,_y=Zr.useDebugValue;function Wy(e,t){var r=t(),n=zy({inst:{value:r,getSnapshot:t}}),i=n[0].inst,o=n[1];return Uy(function(){i.value=r,i.getSnapshot=t,sa(i)&&o({inst:i})},[e,r,t]),$y(function(){return sa(i)&&o({inst:i}),e(function(){sa(i)&&o({inst:i})})},[e]),_y(r),r}function sa(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!jy(e,r)}catch{return!0}}function Hy(e,t){return t()}var Vy=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Hy:Wy;Pv.useSyncExternalStore=Zr.useSyncExternalStore!==void 0?Zr.useSyncExternalStore:Vy;Dv.exports=Pv;var Gy=Dv.exports;/** + */var Xr=E;function Fy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var jy=typeof Object.is=="function"?Object.is:Fy,zy=Xr.useState,$y=Xr.useEffect,Uy=Xr.useLayoutEffect,_y=Xr.useDebugValue;function Wy(e,t){var r=t(),n=zy({inst:{value:r,getSnapshot:t}}),i=n[0].inst,o=n[1];return Uy(function(){i.value=r,i.getSnapshot=t,sa(i)&&o({inst:i})},[e,r,t]),$y(function(){return sa(i)&&o({inst:i}),e(function(){sa(i)&&o({inst:i})})},[e]),_y(r),r}function sa(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!jy(e,r)}catch{return!0}}function Hy(e,t){return t()}var Vy=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Hy:Wy;Pv.useSyncExternalStore=Xr.useSyncExternalStore!==void 0?Xr.useSyncExternalStore:Vy;Dv.exports=Pv;var Gy=Dv.exports;/** * @license React * use-sync-external-store-shim/with-selector.production.min.js * @@ -53,29 +53,29 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ul=E,qy=Gy;function Qy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ky=typeof Object.is=="function"?Object.is:Qy,Yy=qy.useSyncExternalStore,Xy=ul.useRef,Zy=ul.useEffect,Jy=ul.useMemo,e0=ul.useDebugValue;bv.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=Xy(null);if(o.current===null){var l={hasValue:!1,value:null};o.current=l}else l=o.current;o=Jy(function(){function u(p){if(!s){if(s=!0,f=p,p=n(p),i!==void 0&&l.hasValue){var m=l.value;if(i(m,p))return d=m}return d=p}if(m=d,Ky(f,p))return m;var y=n(p);return i!==void 0&&i(m,y)?m:(f=p,d=y)}var s=!1,f,d,c=r===void 0?null:r;return[function(){return u(t())},c===null?void 0:function(){return u(c())}]},[t,r,n,i]);var a=Yy(e,o[0],o[1]);return Zy(function(){l.hasValue=!0,l.value=a},[a]),e0(a),a};Cv.exports=bv;var t0=Cv.exports;const r0=ui(t0);var Iv={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:n0}=z,{useSyncExternalStoreWithSelector:i0}=r0;let fd=!1;const o0=e=>e;function l0(e,t=o0,r){(Iv?"production":void 0)!=="production"&&r&&!fd&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),fd=!0);const n=i0(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return n0(n),n}const a0=e=>{(Iv?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?By(e):e,r=(n,i)=>l0(t,n,i);return Object.assign(r,t),r},Nv=e=>a0;var u0={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function xs(e,t){let r;try{r=e()}catch{return}return{getItem:i=>{var o;const l=u=>u===null?null:JSON.parse(u,void 0),a=(o=r.getItem(i))!=null?o:null;return a instanceof Promise?a.then(l):l(a)},setItem:(i,o)=>r.setItem(i,JSON.stringify(o,void 0)),removeItem:i=>r.removeItem(i)}}const ti=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then(n){return ti(n)(r)},catch(n){return this}}}catch(r){return{then(n){return this},catch(n){return ti(n)(r)}}}},s0=(e,t)=>(r,n,i)=>{let o={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:w=>w,version:0,merge:(w,g)=>({...g,...w}),...t},l=!1;const a=new Set,u=new Set;let s;try{s=o.getStorage()}catch{}if(!s)return e((...w)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),r(...w)},n,i);const f=ti(o.serialize),d=()=>{const w=o.partialize({...n()});let g;const v=f({state:w,version:o.version}).then(h=>s.setItem(o.name,h)).catch(h=>{g=h});if(g)throw g;return v},c=i.setState;i.setState=(w,g)=>{c(w,g),d()};const p=e((...w)=>{r(...w),d()},n,i);let m;const y=()=>{var w;if(!s)return;l=!1,a.forEach(v=>v(n()));const g=((w=o.onRehydrateStorage)==null?void 0:w.call(o,n()))||void 0;return ti(s.getItem.bind(s))(o.name).then(v=>{if(v)return o.deserialize(v)}).then(v=>{if(v)if(typeof v.version=="number"&&v.version!==o.version){if(o.migrate)return o.migrate(v.state,v.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return v.state}).then(v=>{var h;return m=o.merge(v,(h=n())!=null?h:p),r(m,!0),d()}).then(()=>{g==null||g(m,void 0),l=!0,u.forEach(v=>v(m))}).catch(v=>{g==null||g(void 0,v)})};return i.persist={setOptions:w=>{o={...o,...w},w.getStorage&&(s=w.getStorage())},clearStorage:()=>{s==null||s.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>y(),hasHydrated:()=>l,onHydrate:w=>(a.add(w),()=>{a.delete(w)}),onFinishHydration:w=>(u.add(w),()=>{u.delete(w)})},y(),m||p},c0=(e,t)=>(r,n,i)=>{let o={storage:xs(()=>localStorage),partialize:y=>y,version:0,merge:(y,w)=>({...w,...y}),...t},l=!1;const a=new Set,u=new Set;let s=o.storage;if(!s)return e((...y)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),r(...y)},n,i);const f=()=>{const y=o.partialize({...n()});return s.setItem(o.name,{state:y,version:o.version})},d=i.setState;i.setState=(y,w)=>{d(y,w),f()};const c=e((...y)=>{r(...y),f()},n,i);i.getInitialState=()=>c;let p;const m=()=>{var y,w;if(!s)return;l=!1,a.forEach(v=>{var h;return v((h=n())!=null?h:c)});const g=((w=o.onRehydrateStorage)==null?void 0:w.call(o,(y=n())!=null?y:c))||void 0;return ti(s.getItem.bind(s))(o.name).then(v=>{if(v)if(typeof v.version=="number"&&v.version!==o.version){if(o.migrate)return o.migrate(v.state,v.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return v.state}).then(v=>{var h;return p=o.merge(v,(h=n())!=null?h:c),r(p,!0),f()}).then(()=>{g==null||g(p,void 0),p=n(),l=!0,u.forEach(v=>v(p))}).catch(v=>{g==null||g(void 0,v)})};return i.persist={setOptions:y=>{o={...o,...y},y.storage&&(s=y.storage)},clearStorage:()=>{s==null||s.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>l,onHydrate:y=>(a.add(y),()=>{a.delete(y)}),onFinishHydration:y=>(u.add(y),()=>{u.delete(y)})},o.skipHydration||m(),p||c},d0=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((u0?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),s0(e,t)):c0(e,t),Ov=d0,ln=Nv()(Ov((e,t)=>({get:t,set:e,apps:[],setApps:r=>e({apps:r}),showWidgetsSettings:!1,setShowWidgetsSettings:r=>e({showWidgetsSettings:r}),isHosted:!1,setIsHosted:r=>e({isHosted:r}),fetchHostedStatus:async r=>{let n=!1;try{n=(await fetch(`https://${r.replace(".os","")}.hosting.kinode.net/`)).status===200}catch{}finally{e({isHosted:n})}}}),{name:"homepage_store",storage:xs(()=>sessionStorage)}));var Rv={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},pd=z.createContext&&z.createContext(Rv),f0=["attr","size","title"];function p0(e,t){if(e==null)return{};var r=v0(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function v0(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o=0)&&(r[i]=e[i]);return r}function Ao(){return Ao=Object.assign?Object.assign.bind():function(e){for(var t=1;tz.createElement(t.tag,Lo({key:r},t.attr),kv(t.child)))}function nr(e){return t=>z.createElement(y0,Ao({attr:Lo({},e.attr)},t),kv(e.child))}function y0(e){var t=r=>{var{attr:n,size:i,title:o}=e,l=p0(e,f0),a=i||r.size||"1em",u;return r.className&&(u=r.className),e.className&&(u=(u?u+" ":"")+e.className),z.createElement("svg",Ao({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,l,{className:u,style:Lo(Lo({color:e.color||r.color},r.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&z.createElement("title",null,o),e.children)};return pd!==void 0?z.createElement(pd.Consumer,null,r=>t(r)):t(Rv)}function w0(e){return nr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"},child:[]}]})(e)}function S0(e){return nr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"},child:[]}]})(e)}function x0(e){return nr({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z"},child:[]}]})(e)}function E0(e){return nr({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"},child:[]}]})(e)}function C0(e){return nr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"},child:[]}]})(e)}function b0(e){return nr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"},child:[]}]})(e)}function D0(e){return nr({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"},child:[]}]})(e)}function P0(e){return nr({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8v-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5v3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20c0 0-.1-.1-.1-.1c0 0 0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5v3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2v-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"},child:[]}]})(e)}var Tv={exports:{}};/*! + */var ul=E,qy=Gy;function Qy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ky=typeof Object.is=="function"?Object.is:Qy,Yy=qy.useSyncExternalStore,Xy=ul.useRef,Zy=ul.useEffect,Jy=ul.useMemo,e0=ul.useDebugValue;bv.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var o=Xy(null);if(o.current===null){var l={hasValue:!1,value:null};o.current=l}else l=o.current;o=Jy(function(){function u(p){if(!s){if(s=!0,f=p,p=n(p),i!==void 0&&l.hasValue){var m=l.value;if(i(m,p))return d=m}return d=p}if(m=d,Ky(f,p))return m;var y=n(p);return i!==void 0&&i(m,y)?m:(f=p,d=y)}var s=!1,f,d,c=r===void 0?null:r;return[function(){return u(t())},c===null?void 0:function(){return u(c())}]},[t,r,n,i]);var a=Yy(e,o[0],o[1]);return Zy(function(){l.hasValue=!0,l.value=a},[a]),e0(a),a};Cv.exports=bv;var t0=Cv.exports;const r0=ui(t0);var Iv={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const{useDebugValue:n0}=z,{useSyncExternalStoreWithSelector:i0}=r0;let fd=!1;const o0=e=>e;function l0(e,t=o0,r){(Iv?"production":void 0)!=="production"&&r&&!fd&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),fd=!0);const n=i0(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return n0(n),n}const a0=e=>{(Iv?"production":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?By(e):e,r=(n,i)=>l0(t,n,i);return Object.assign(r,t),r},Nv=e=>a0;var u0={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function xs(e,t){let r;try{r=e()}catch{return}return{getItem:i=>{var o;const l=u=>u===null?null:JSON.parse(u,void 0),a=(o=r.getItem(i))!=null?o:null;return a instanceof Promise?a.then(l):l(a)},setItem:(i,o)=>r.setItem(i,JSON.stringify(o,void 0)),removeItem:i=>r.removeItem(i)}}const ti=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then(n){return ti(n)(r)},catch(n){return this}}}catch(r){return{then(n){return this},catch(n){return ti(n)(r)}}}},s0=(e,t)=>(r,n,i)=>{let o={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:w=>w,version:0,merge:(w,g)=>({...g,...w}),...t},l=!1;const a=new Set,u=new Set;let s;try{s=o.getStorage()}catch{}if(!s)return e((...w)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),r(...w)},n,i);const f=ti(o.serialize),d=()=>{const w=o.partialize({...n()});let g;const v=f({state:w,version:o.version}).then(h=>s.setItem(o.name,h)).catch(h=>{g=h});if(g)throw g;return v},c=i.setState;i.setState=(w,g)=>{c(w,g),d()};const p=e((...w)=>{r(...w),d()},n,i);let m;const y=()=>{var w;if(!s)return;l=!1,a.forEach(v=>v(n()));const g=((w=o.onRehydrateStorage)==null?void 0:w.call(o,n()))||void 0;return ti(s.getItem.bind(s))(o.name).then(v=>{if(v)return o.deserialize(v)}).then(v=>{if(v)if(typeof v.version=="number"&&v.version!==o.version){if(o.migrate)return o.migrate(v.state,v.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return v.state}).then(v=>{var h;return m=o.merge(v,(h=n())!=null?h:p),r(m,!0),d()}).then(()=>{g==null||g(m,void 0),l=!0,u.forEach(v=>v(m))}).catch(v=>{g==null||g(void 0,v)})};return i.persist={setOptions:w=>{o={...o,...w},w.getStorage&&(s=w.getStorage())},clearStorage:()=>{s==null||s.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>y(),hasHydrated:()=>l,onHydrate:w=>(a.add(w),()=>{a.delete(w)}),onFinishHydration:w=>(u.add(w),()=>{u.delete(w)})},y(),m||p},c0=(e,t)=>(r,n,i)=>{let o={storage:xs(()=>localStorage),partialize:y=>y,version:0,merge:(y,w)=>({...w,...y}),...t},l=!1;const a=new Set,u=new Set;let s=o.storage;if(!s)return e((...y)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),r(...y)},n,i);const f=()=>{const y=o.partialize({...n()});return s.setItem(o.name,{state:y,version:o.version})},d=i.setState;i.setState=(y,w)=>{d(y,w),f()};const c=e((...y)=>{r(...y),f()},n,i);i.getInitialState=()=>c;let p;const m=()=>{var y,w;if(!s)return;l=!1,a.forEach(v=>{var h;return v((h=n())!=null?h:c)});const g=((w=o.onRehydrateStorage)==null?void 0:w.call(o,(y=n())!=null?y:c))||void 0;return ti(s.getItem.bind(s))(o.name).then(v=>{if(v)if(typeof v.version=="number"&&v.version!==o.version){if(o.migrate)return o.migrate(v.state,v.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return v.state}).then(v=>{var h;return p=o.merge(v,(h=n())!=null?h:c),r(p,!0),f()}).then(()=>{g==null||g(p,void 0),p=n(),l=!0,u.forEach(v=>v(p))}).catch(v=>{g==null||g(void 0,v)})};return i.persist={setOptions:y=>{o={...o,...y},y.storage&&(s=y.storage)},clearStorage:()=>{s==null||s.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>l,onHydrate:y=>(a.add(y),()=>{a.delete(y)}),onFinishHydration:y=>(u.add(y),()=>{u.delete(y)})},o.skipHydration||m(),p||c},d0=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((u0?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),s0(e,t)):c0(e,t),Ov=d0,on=Nv()(Ov((e,t)=>({get:t,set:e,apps:[],setApps:r=>e({apps:r}),showWidgetsSettings:!1,setShowWidgetsSettings:r=>e({showWidgetsSettings:r}),isHosted:!1,setIsHosted:r=>e({isHosted:r}),fetchHostedStatus:async r=>{let n=!1;try{n=(await fetch(`https://${r.replace(".os","")}.hosting.kinode.net/`)).status===200}catch{}finally{e({isHosted:n})}}}),{name:"homepage_store",storage:xs(()=>sessionStorage)}));var Rv={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},pd=z.createContext&&z.createContext(Rv),f0=["attr","size","title"];function p0(e,t){if(e==null)return{};var r=v0(e,t),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function v0(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o=0)&&(r[i]=e[i]);return r}function Ao(){return Ao=Object.assign?Object.assign.bind():function(e){for(var t=1;tz.createElement(t.tag,Lo({key:r},t.attr),kv(t.child)))}function ln(e){return t=>z.createElement(y0,Ao({attr:Lo({},e.attr)},t),kv(e.child))}function y0(e){var t=r=>{var{attr:n,size:i,title:o}=e,l=p0(e,f0),a=i||r.size||"1em",u;return r.className&&(u=r.className),e.className&&(u=(u?u+" ":"")+e.className),z.createElement("svg",Ao({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,l,{className:u,style:Lo(Lo({color:e.color||r.color},r.style),e.style),height:a,width:a,xmlns:"http://www.w3.org/2000/svg"}),o&&z.createElement("title",null,o),e.children)};return pd!==void 0?z.createElement(pd.Consumer,null,r=>t(r)):t(Rv)}function w0(e){return ln({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"},child:[]}]})(e)}function S0(e){return ln({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"},child:[]}]})(e)}function x0(e){return ln({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M47.6 300.4L228.3 469.1c7.5 7 17.4 10.9 27.7 10.9s20.2-3.9 27.7-10.9L464.4 300.4c30.4-28.3 47.6-68 47.6-109.5v-5.8c0-69.9-50.5-129.5-119.4-141C347 36.5 300.6 51.4 268 84L256 96 244 84c-32.6-32.6-79-47.5-124.6-39.9C50.5 55.6 0 115.2 0 185.1v5.8c0 41.5 17.2 81.2 47.6 109.5z"},child:[]}]})(e)}function E0(e){return ln({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M78.6 5C69.1-2.4 55.6-1.5 47 7L7 47c-8.5 8.5-9.4 22-2.1 31.6l80 104c4.5 5.9 11.6 9.4 19 9.4h54.1l109 109c-14.7 29-10 65.4 14.3 89.6l112 112c12.5 12.5 32.8 12.5 45.3 0l64-64c12.5-12.5 12.5-32.8 0-45.3l-112-112c-24.2-24.2-60.6-29-89.6-14.3l-109-109V104c0-7.5-3.5-14.5-9.4-19L78.6 5zM19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L233.7 374.3c-7.8-20.9-9-43.6-3.6-65.1l-61.7-61.7L19.9 396.1zM512 144c0-10.5-1.1-20.7-3.2-30.5c-2.4-11.2-16.1-14.1-24.2-6l-63.9 63.9c-3 3-7.1 4.7-11.3 4.7H352c-8.8 0-16-7.2-16-16V102.6c0-4.2 1.7-8.3 4.7-11.3l63.9-63.9c8.1-8.1 5.2-21.8-6-24.2C388.7 1.1 378.5 0 368 0C288.5 0 224 64.5 224 144l0 .8 85.3 85.3c36-9.1 75.8 .5 104 28.7L429 274.5c49-23 83-72.8 83-130.5zM56 432a24 24 0 1 1 48 0 24 24 0 1 1 -48 0z"},child:[]}]})(e)}function C0(e){return ln({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M376.6 84.5c11.3-13.6 9.5-33.8-4.1-45.1s-33.8-9.5-45.1 4.1L192 206 56.6 43.5C45.3 29.9 25.1 28.1 11.5 39.4S-3.9 70.9 7.4 84.5L150.3 256 7.4 427.5c-11.3 13.6-9.5 33.8 4.1 45.1s33.8 9.5 45.1-4.1L192 306 327.4 468.5c11.3 13.6 31.5 15.4 45.1 4.1s15.4-31.5 4.1-45.1L233.7 256 376.6 84.5z"},child:[]}]})(e)}function b0(e){return ln({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M225.8 468.2l-2.5-2.3L48.1 303.2C17.4 274.7 0 234.7 0 192.8v-3.3c0-70.4 50-130.8 119.2-144C158.6 37.9 198.9 47 231 69.6c9 6.4 17.4 13.8 25 22.3c4.2-4.8 8.7-9.2 13.5-13.3c3.7-3.2 7.5-6.2 11.5-9c0 0 0 0 0 0C313.1 47 353.4 37.9 392.8 45.4C462 58.6 512 119.1 512 189.5v3.3c0 41.9-17.4 81.9-48.1 110.4L288.7 465.9l-2.5 2.3c-8.2 7.6-19 11.9-30.2 11.9s-22-4.2-30.2-11.9zM239.1 145c-.4-.3-.7-.7-1-1.1l-17.8-20c0 0-.1-.1-.1-.1c0 0 0 0 0 0c-23.1-25.9-58-37.7-92-31.2C81.6 101.5 48 142.1 48 189.5v3.3c0 28.5 11.9 55.8 32.8 75.2L256 430.7 431.2 268c20.9-19.4 32.8-46.7 32.8-75.2v-3.3c0-47.3-33.6-88-80.1-96.9c-34-6.5-69 5.4-92 31.2c0 0 0 0-.1 .1s0 0-.1 .1l-17.8 20c-.3 .4-.7 .7-1 1.1c-4.5 4.5-10.6 7-16.9 7s-12.4-2.5-16.9-7z"},child:[]}]})(e)}var Tv={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",l=0;l({get:t,set:e,widgetSettings:{},favoriteApps:{},setWidgetSettings:r=>e({widgetSettings:r}),setFavoriteApps:r=>e({favoriteApps:r}),toggleWidgetVisibility:r=>{var i;const{widgetSettings:n}=t();e({widgetSettings:{...n,[r]:{...n[r],hide:!((i=n[r])!=null&&i.hide)}}})},setWidgetSize:(r,n)=>{const{widgetSettings:i}=t();e({widgetSettings:{...i,[r]:{...i[r],size:n}}})},favoriteApp:async r=>{var i;const{favoriteApps:n}=t();e({favoriteApps:{...n,[r]:{...n[r],favorite:!((i=n[r])!=null&&i.favorite)}}})}}),{name:"homepage_persistent_store",storage:xs(()=>localStorage)})),ir=()=>window.innerWidth<=600,N0=({text:e,className:t,size:r})=>{var l;const i=`/icons/${((l=e.split("").pop())==null?void 0:l.toUpperCase())||"0"}`;if(!i)return null;const o=ir();return b.jsx("img",{src:i,className:Te("m-0 align-self-center rounded-full",{"h-32 w-32":!o&&r==="large","h-18 w-18":!o&&r==="medium","h-12 w-12":o||r==="small"},t)})},Av=({app:e})=>{var l,a;const{favoriteApp:t,favoriteApps:r}=vi(),[n,i]=E.useState(!1),o=ir();return b.jsxs("a",{className:Te("flex-col-center gap-2 relative hover:opacity-90 transition-opacity",{"cursor-pointer":e==null?void 0:e.path,"cursor-not-allowed":!(e!=null&&e.path)}),id:e==null?void 0:e.package_name,href:e==null?void 0:e.path,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[e!=null&&e.base64_icon?b.jsx("img",{src:e.base64_icon,className:Te("rounded",{"h-8 w-8":o,"h-16 w-16":!o})}):b.jsx(N0,{text:((l=e==null?void 0:e.state)==null?void 0:l.our_version)||"0",size:"small",className:"h-16 w-16"}),b.jsx("h6",{children:e==null?void 0:e.label}),(e==null?void 0:e.path)&&n&&b.jsx("button",{className:"absolute p-2 -top-2 -right-2 clear text-sm",onClick:u=>{u.preventDefault(),t(e.package_name)},children:(a=r[e.package_name])!=null&&a.favorite?b.jsx(C0,{}):b.jsx(P0,{})})]})};function gu(e,t){return gu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},gu(e,t)}function Lv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gu(e,t)}function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Oe(1));return r(Mv)(e,t)}if(typeof e!="function")throw new Error(Oe(2));var i=e,o=t,l=[],a=l,u=!1;function s(){a===l&&(a=l.slice())}function f(){if(u)throw new Error(Oe(3));return o}function d(y){if(typeof y!="function")throw new Error(Oe(4));if(u)throw new Error(Oe(5));var w=!0;return s(),a.push(y),function(){if(w){if(u)throw new Error(Oe(6));w=!1,s();var v=a.indexOf(y);a.splice(v,1),l=null}}}function c(y){if(!T0(y))throw new Error(Oe(7));if(typeof y.type>"u")throw new Error(Oe(8));if(u)throw new Error(Oe(9));try{u=!0,o=i(o,y)}finally{u=!1}for(var w=l=a,g=0;g=0)continue;r[n]=e[n]}return r}var Uv={exports:{}},V={};/** @license React v16.13.1 +*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var o="",l=0;l({get:t,set:e,widgetSettings:{},favoriteApps:{},setWidgetSettings:r=>e({widgetSettings:r}),setFavoriteApps:r=>e({favoriteApps:r}),toggleWidgetVisibility:r=>{var i;const{widgetSettings:n}=t();e({widgetSettings:{...n,[r]:{...n[r],hide:!((i=n[r])!=null&&i.hide)}}})},setWidgetSize:(r,n)=>{const{widgetSettings:i}=t();e({widgetSettings:{...i,[r]:{...i[r],size:n}}})},favoriteApp:async r=>{var i;const{favoriteApps:n}=t();e({favoriteApps:{...n,[r]:{...n[r],favorite:!((i=n[r])!=null&&i.favorite)}}})}}),{name:"homepage_persistent_store",storage:xs(()=>localStorage)})),nr=()=>window.innerWidth<=600,P0=({text:e,className:t,size:r})=>{var l;const i=`/icons/${((l=e.split("").pop())==null?void 0:l.toUpperCase())||"0"}`;if(!i)return null;const o=nr();return b.jsx("img",{src:i,className:Te("m-0 align-self-center rounded-full",{"h-32 w-32":!o&&r==="large","h-18 w-18":!o&&r==="medium","h-12 w-12":o||r==="small"},t)})},Av=({app:e})=>{var l,a;const{favoriteApp:t,favoriteApps:r}=vi(),[n,i]=E.useState(!1),o=nr();return b.jsxs("a",{className:Te("flex-col-center gap-2 relative hover:opacity-90 transition-opacity",{"cursor-pointer":e==null?void 0:e.path,"cursor-not-allowed":!(e!=null&&e.path)}),id:e==null?void 0:e.package_name,href:e==null?void 0:e.path,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[e!=null&&e.base64_icon?b.jsx("img",{src:e.base64_icon,className:Te("rounded",{"h-8 w-8":o,"h-16 w-16":!o})}):b.jsx(P0,{text:((l=e==null?void 0:e.state)==null?void 0:l.our_version)||"0",size:"small",className:"h-16 w-16"}),b.jsx("h6",{children:(e==null?void 0:e.label)||(e==null?void 0:e.package_name)}),(e==null?void 0:e.path)&&n&&b.jsx("button",{className:"absolute p-2 -top-2 -right-2 clear text-sm",onClick:u=>{u.preventDefault(),t(e.package_name)},children:(a=r[e.package_name])!=null&&a.favorite?b.jsx(x0,{}):b.jsx(b0,{})})]})};function gu(e,t){return gu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},gu(e,t)}function Lv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,gu(e,t)}function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(Oe(1));return r(Mv)(e,t)}if(typeof e!="function")throw new Error(Oe(2));var i=e,o=t,l=[],a=l,u=!1;function s(){a===l&&(a=l.slice())}function f(){if(u)throw new Error(Oe(3));return o}function d(y){if(typeof y!="function")throw new Error(Oe(4));if(u)throw new Error(Oe(5));var w=!0;return s(),a.push(y),function(){if(w){if(u)throw new Error(Oe(6));w=!1,s();var v=a.indexOf(y);a.splice(v,1),l=null}}}function c(y){if(!R0(y))throw new Error(Oe(7));if(typeof y.type>"u")throw new Error(Oe(8));if(u)throw new Error(Oe(9));try{u=!0,o=i(o,y)}finally{u=!1}for(var w=l=a,g=0;g=0)continue;r[n]=e[n]}return r}var Uv={exports:{}},V={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var fe=typeof Symbol=="function"&&Symbol.for,Es=fe?Symbol.for("react.element"):60103,Cs=fe?Symbol.for("react.portal"):60106,sl=fe?Symbol.for("react.fragment"):60107,cl=fe?Symbol.for("react.strict_mode"):60108,dl=fe?Symbol.for("react.profiler"):60114,fl=fe?Symbol.for("react.provider"):60109,pl=fe?Symbol.for("react.context"):60110,bs=fe?Symbol.for("react.async_mode"):60111,vl=fe?Symbol.for("react.concurrent_mode"):60111,gl=fe?Symbol.for("react.forward_ref"):60112,ml=fe?Symbol.for("react.suspense"):60113,z0=fe?Symbol.for("react.suspense_list"):60120,hl=fe?Symbol.for("react.memo"):60115,yl=fe?Symbol.for("react.lazy"):60116,$0=fe?Symbol.for("react.block"):60121,U0=fe?Symbol.for("react.fundamental"):60117,_0=fe?Symbol.for("react.responder"):60118,W0=fe?Symbol.for("react.scope"):60119;function Ge(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Es:switch(e=e.type,e){case bs:case vl:case sl:case dl:case cl:case ml:return e;default:switch(e=e&&e.$$typeof,e){case pl:case gl:case yl:case hl:case fl:return e;default:return t}}case Cs:return t}}}function _v(e){return Ge(e)===vl}V.AsyncMode=bs;V.ConcurrentMode=vl;V.ContextConsumer=pl;V.ContextProvider=fl;V.Element=Es;V.ForwardRef=gl;V.Fragment=sl;V.Lazy=yl;V.Memo=hl;V.Portal=Cs;V.Profiler=dl;V.StrictMode=cl;V.Suspense=ml;V.isAsyncMode=function(e){return _v(e)||Ge(e)===bs};V.isConcurrentMode=_v;V.isContextConsumer=function(e){return Ge(e)===pl};V.isContextProvider=function(e){return Ge(e)===fl};V.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Es};V.isForwardRef=function(e){return Ge(e)===gl};V.isFragment=function(e){return Ge(e)===sl};V.isLazy=function(e){return Ge(e)===yl};V.isMemo=function(e){return Ge(e)===hl};V.isPortal=function(e){return Ge(e)===Cs};V.isProfiler=function(e){return Ge(e)===dl};V.isStrictMode=function(e){return Ge(e)===cl};V.isSuspense=function(e){return Ge(e)===ml};V.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===sl||e===vl||e===dl||e===cl||e===ml||e===z0||typeof e=="object"&&e!==null&&(e.$$typeof===yl||e.$$typeof===hl||e.$$typeof===fl||e.$$typeof===pl||e.$$typeof===gl||e.$$typeof===U0||e.$$typeof===_0||e.$$typeof===W0||e.$$typeof===$0)};V.typeOf=Ge;Uv.exports=V;var H0=Uv.exports,Ds=H0,V0={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},G0={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},q0={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Wv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ps={};Ps[Ds.ForwardRef]=q0;Ps[Ds.Memo]=Wv;function Ed(e){return Ds.isMemo(e)?Wv:Ps[e.$$typeof]||V0}var Q0=Object.defineProperty,K0=Object.getOwnPropertyNames,Cd=Object.getOwnPropertySymbols,Y0=Object.getOwnPropertyDescriptor,X0=Object.getPrototypeOf,bd=Object.prototype;function Hv(e,t,r){if(typeof t!="string"){if(bd){var n=X0(t);n&&n!==bd&&Hv(e,n,r)}var i=K0(t);Cd&&(i=i.concat(Cd(t)));for(var o=Ed(e),l=Ed(t),a=0;a=0;n--){var i=t[n](e);if(i)return i}return function(o,l){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+l.wrappedComponentName+".")}}function F1(e,t){return e===t}function j1(e){var t={},r=t.connectHOC,n=r===void 0?y1:r,i=t.mapStateToPropsFactories,o=i===void 0?P1:i,l=t.mapDispatchToPropsFactories,a=l===void 0?C1:l,u=t.mergePropsFactories,s=u===void 0?k1:u,f=t.selectorFactory,d=f===void 0?M1:f;return function(p,m,y,w){w===void 0&&(w={});var g=w,v=g.pure,h=v===void 0?!0:v,S=g.areStatesEqual,x=S===void 0?F1:S,C=g.areOwnPropsEqual,P=C===void 0?da:C,N=g.areStatePropsEqual,T=N===void 0?da:N,k=g.areMergedPropsEqual,F=k===void 0?da:k,le=Mo(g,B1),ae=fa(p,o,"mapStateToProps"),Y=fa(m,a,"mapDispatchToProps"),Ne=fa(y,s,"mergeProps");return n(d,L({methodName:"connect",getDisplayName:function(vt){return"Connect("+vt+")"},shouldHandleStateChanges:!!p,initMapStateToProps:ae,initMapDispatchToProps:Y,initMergeProps:Ne,pure:h,areStatesEqual:x,areOwnPropsEqual:P,areStatePropsEqual:T,areMergedPropsEqual:F},le))}}const Zv=j1();M0(Ss.unstable_batchedUpdates);function z1(e,t){if(e.length!==t.length)return!1;for(var r=0;r");return n.callbacks},n.setCallbacks=function(a){n.callbacks=a},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=et(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof jo){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t}(z.Component),Y1=` + */var wl=60103,Sl=60106,gi=60107,mi=60108,hi=60114,yi=60109,wi=60110,Si=60112,xi=60113,Is=60120,Ei=60115,Ci=60116,Gv=60121,qv=60122,Qv=60117,Kv=60129,Yv=60131;if(typeof Symbol=="function"&&Symbol.for){var pe=Symbol.for;wl=pe("react.element"),Sl=pe("react.portal"),gi=pe("react.fragment"),mi=pe("react.strict_mode"),hi=pe("react.profiler"),yi=pe("react.provider"),wi=pe("react.context"),Si=pe("react.forward_ref"),xi=pe("react.suspense"),Is=pe("react.suspense_list"),Ei=pe("react.memo"),Ci=pe("react.lazy"),Gv=pe("react.block"),qv=pe("react.server.block"),Qv=pe("react.fundamental"),Kv=pe("react.debug_trace_mode"),Yv=pe("react.legacy_hidden")}function pt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case wl:switch(e=e.type,e){case gi:case hi:case mi:case xi:case Is:return e;default:switch(e=e&&e.$$typeof,e){case wi:case Si:case Ci:case Ei:case yi:return e;default:return t}}case Sl:return t}}}var X0=yi,Z0=wl,J0=Si,e1=gi,t1=Ci,r1=Ei,n1=Sl,i1=hi,o1=mi,l1=xi;G.ContextConsumer=wi;G.ContextProvider=X0;G.Element=Z0;G.ForwardRef=J0;G.Fragment=e1;G.Lazy=t1;G.Memo=r1;G.Portal=n1;G.Profiler=i1;G.StrictMode=o1;G.Suspense=l1;G.isAsyncMode=function(){return!1};G.isConcurrentMode=function(){return!1};G.isContextConsumer=function(e){return pt(e)===wi};G.isContextProvider=function(e){return pt(e)===yi};G.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===wl};G.isForwardRef=function(e){return pt(e)===Si};G.isFragment=function(e){return pt(e)===gi};G.isLazy=function(e){return pt(e)===Ci};G.isMemo=function(e){return pt(e)===Ei};G.isPortal=function(e){return pt(e)===Sl};G.isProfiler=function(e){return pt(e)===hi};G.isStrictMode=function(e){return pt(e)===mi};G.isSuspense=function(e){return pt(e)===xi};G.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gi||e===hi||e===Kv||e===mi||e===xi||e===Is||e===Yv||typeof e=="object"&&e!==null&&(e.$$typeof===Ci||e.$$typeof===Ei||e.$$typeof===yi||e.$$typeof===wi||e.$$typeof===Si||e.$$typeof===Qv||e.$$typeof===Gv||e[0]===qv)};G.typeOf=pt;Vv.exports=G;var a1=Vv.exports,u1=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],s1=["reactReduxForwardedRef"],c1=[],d1=[null,null];function f1(e,t){var r=e[1];return[t.payload,r+1]}function Pd(e,t,r){$v(function(){return e.apply(void 0,t)},r)}function p1(e,t,r,n,i,o,l){e.current=n,t.current=i,r.current=!1,o.current&&(o.current=null,l())}function v1(e,t,r,n,i,o,l,a,u,s){if(e){var f=!1,d=null,c=function(){if(!f){var y=t.getState(),w,g;try{w=n(y,i.current)}catch(v){g=v,d=v}g||(d=null),w===o.current?l.current||u():(o.current=w,a.current=w,l.current=!0,s({type:"STORE_UPDATED",payload:{error:g}}))}};r.onStateChange=c,r.trySubscribe(),c();var p=function(){if(f=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d};return p}}var g1=function(){return[null,0]};function m1(e,t){t===void 0&&(t={});var r=t,n=r.getDisplayName,i=n===void 0?function(h){return"ConnectAdvanced("+h+")"}:n,o=r.methodName,l=o===void 0?"connectAdvanced":o,a=r.renderCountProp,u=a===void 0?void 0:a,s=r.shouldHandleStateChanges,f=s===void 0?!0:s,d=r.storeKey,c=d===void 0?"store":d;r.withRef;var p=r.forwardRef,m=p===void 0?!1:p,y=r.context,w=y===void 0?Fv:y,g=Mo(r,u1),v=w;return function(S){var x=S.displayName||S.name||"Component",C=i(x),P=L({},g,{getDisplayName:i,methodName:l,renderCountProp:u,shouldHandleStateChanges:f,storeKey:c,displayName:C,wrappedComponentName:x,WrappedComponent:S}),N=g.pure;function T(Y){return e(Y.dispatch,P)}var k=N?E.useMemo:function(Y){return Y()};function F(Y){var Ne=E.useMemo(function(){var cn=Y.reactReduxForwardedRef,Bl=Mo(Y,s1);return[Y.context,cn,Bl]},[Y]),ye=Ne[0],vt=Ne[1],O=Ne[2],B=E.useMemo(function(){return ye&&ye.Consumer&&a1.isContextConsumer(z.createElement(ye.Consumer,null))?ye:v},[ye,v]),M=E.useContext(B),W=!!Y.store&&!!Y.store.getState&&!!Y.store.dispatch;M&&M.store;var _=W?Y.store:M.store,gt=E.useMemo(function(){return T(_)},[_]),qe=E.useMemo(function(){if(!f)return d1;var cn=zv(_,W?null:M.subscription),Bl=cn.notifyNestedSubs.bind(cn);return[cn,Bl]},[_,W,M]),Qe=qe[0],Ke=qe[1],xt=E.useMemo(function(){return W?M:L({},M,{subscription:Qe})},[W,M,Qe]),Pi=E.useReducer(f1,c1,g1),kl=Pi[0],Er=kl[0],Tl=Pi[1];if(Er&&Er.error)throw Er.error;var Zs=E.useRef(),Al=E.useRef(O),Ii=E.useRef(),Js=E.useRef(!1),Ll=k(function(){return Ii.current&&O===Al.current?Ii.current:gt(_.getState(),O)},[_,Er,O]);Pd(p1,[Al,Zs,Js,O,Ll,Ii,Ke]),Pd(v1,[f,_,Qe,gt,Al,Zs,Js,Ii,Ke,Tl],[_,Qe,gt]);var Ml=E.useMemo(function(){return z.createElement(S,L({},Ll,{ref:vt}))},[vt,S,Ll]),lm=E.useMemo(function(){return f?z.createElement(B.Provider,{value:xt},Ml):Ml},[B,Ml,xt]);return lm}var le=N?z.memo(F):F;if(le.WrappedComponent=S,le.displayName=F.displayName=C,m){var ae=z.forwardRef(function(Ne,ye){return z.createElement(le,L({},Ne,{reactReduxForwardedRef:ye}))});return ae.displayName=C,ae.WrappedComponent=S,Dd(ae,S)}return Dd(le,S)}}function Id(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function da(e,t){if(Id(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var i=0;i=0;n--){var i=t[n](e);if(i)return i}return function(o,l){throw new Error("Invalid value of type "+typeof e+" for "+r+" argument when connecting component "+l.wrappedComponentName+".")}}function M1(e,t){return e===t}function B1(e){var t={},r=t.connectHOC,n=r===void 0?m1:r,i=t.mapStateToPropsFactories,o=i===void 0?b1:i,l=t.mapDispatchToPropsFactories,a=l===void 0?x1:l,u=t.mergePropsFactories,s=u===void 0?O1:u,f=t.selectorFactory,d=f===void 0?A1:f;return function(p,m,y,w){w===void 0&&(w={});var g=w,v=g.pure,h=v===void 0?!0:v,S=g.areStatesEqual,x=S===void 0?M1:S,C=g.areOwnPropsEqual,P=C===void 0?da:C,N=g.areStatePropsEqual,T=N===void 0?da:N,k=g.areMergedPropsEqual,F=k===void 0?da:k,le=Mo(g,L1),ae=fa(p,o,"mapStateToProps"),Y=fa(m,a,"mapDispatchToProps"),Ne=fa(y,s,"mergeProps");return n(d,L({methodName:"connect",getDisplayName:function(vt){return"Connect("+vt+")"},shouldHandleStateChanges:!!p,initMapStateToProps:ae,initMapDispatchToProps:Y,initMergeProps:Ne,pure:h,areStatesEqual:x,areOwnPropsEqual:P,areStatePropsEqual:T,areMergedPropsEqual:F},le))}}const Zv=B1();A0(Ss.unstable_batchedUpdates);function F1(e,t){if(e.length!==t.length)return!1;for(var r=0;r");return n.callbacks},n.setCallbacks=function(a){n.callbacks=a},n}var r=t.prototype;return r.componentDidMount=function(){this.unbind=et(window,[{eventName:"error",fn:this.onWindowError}])},r.componentDidCatch=function(i){if(i instanceof jo){this.setState({});return}throw i},r.componentWillUnmount=function(){this.unbind()},r.render=function(){return this.props.children(this.setCallbacks)},t}(z.Component),Q1=` Press space bar to start a drag. When dragging you can use the arrow keys to move the item around and escape to cancel. Some screen readers may require you to be in focus mode or to use your pass through key -`,zo=function(t){return t+1},X1=function(t){return` +`,zo=function(t){return t+1},K1=function(t){return` You have lifted an item in position `+zo(t.source.index)+` `},ng=function(t,r){var n=t.droppableId===r.droppableId,i=zo(t.index),o=zo(r.index);return n?` You have moved the item from position `+i+` @@ -92,10 +92,10 @@ Error generating stack: `+o.message+` in list `+r.droppableId+` has been combined with `+n.draggableId+` in list `+n.droppableId+` - `},Z1=function(t){var r=t.destination;if(r)return ng(t.source,r);var n=t.combine;return n?ig(t.draggableId,t.source,n):"You are over an area that cannot be dropped on"},kd=function(t){return` + `},Y1=function(t){var r=t.destination;if(r)return ng(t.source,r);var n=t.combine;return n?ig(t.draggableId,t.source,n):"You are over an area that cannot be dropped on"},kd=function(t){return` The item has returned to its starting position of `+zo(t.index)+` -`},J1=function(t){if(t.reason==="CANCEL")return` +`},X1=function(t){if(t.reason==="CANCEL")return` Movement cancelled. `+kd(t.source)+` `;var r=t.destination,n=t.combine;return r?` @@ -107,16 +107,16 @@ Error generating stack: `+o.message+` `:` The item has been dropped while not over a drop area. `+kd(t.source)+` - `},ao={dragHandleUsageInstructions:Y1,onDragStart:X1,onDragUpdate:Z1,onDragEnd:J1},de={x:0,y:0},ge=function(t,r){return{x:t.x+r.x,y:t.y+r.y}},ze=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},Kt=function(t,r){return t.x===r.x&&t.y===r.y},an=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},Sr=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},ii=function(t,r){return Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2))},Td=function(t,r){return Math.min.apply(Math,r.map(function(n){return ii(t,n)}))},og=function(t){return function(r){return{x:t(r.x),y:t(r.y)}}},ew=function(e,t){var r=st({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r},bi=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},Ad=function(t){return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}]},tw={top:0,right:0,bottom:0,left:0},rw=function(t,r){return r?bi(t,r.scroll.diff.displacement):t},nw=function(t,r,n){if(n&&n.increasedBy){var i;return L({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},iw=function(t,r){return r&&r.shouldClipSubject?ew(r.pageMarginBox,t):st(t)},Jr=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,o=rw(t.marginBox,i),l=nw(o,n,r),a=iw(l,i);return{page:t,withPlaceholder:r,active:a}},ks=function(e,t){e.frame||I();var r=e.frame,n=ze(t,r.scroll.initial),i=an(n),o=L({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}}),l=Jr({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o}),a=L({},e,{frame:o,subject:l});return a};function $o(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function Ts(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;re.bottom,s=n.lefte.right,f=u&&s;if(f)return!0;var d=u&&l||s&&o;return d}},uw=function(e){var t=rt(e.top,e.bottom),r=rt(e.left,e.right);return function(n){var i=t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right);return i}},Ls={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},dg={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},sw=function(e){return function(t){var r=rt(t.top,t.bottom),n=rt(t.left,t.right);return function(i){return e===Ls?r(i.top)&&r(i.bottom):n(i.left)&&n(i.right)}}},cw=function(t,r){var n=r.frame?r.frame.scroll.diff.displacement:de;return bi(t,n)},dw=function(t,r,n){return r.subject.active?n(r.subject.active)(t):!1},fw=function(t,r,n){return n(r)(t)},Ms=function(t){var r=t.target,n=t.destination,i=t.viewport,o=t.withDroppableDisplacement,l=t.isVisibleThroughFrameFn,a=o?cw(r,n):r;return dw(a,n,l)&&fw(a,i,l)},pw=function(t){return Ms(L({},t,{isVisibleThroughFrameFn:cg}))},fg=function(t){return Ms(L({},t,{isVisibleThroughFrameFn:uw}))},vw=function(t){return Ms(L({},t,{isVisibleThroughFrameFn:sw(t.destination.axis)}))},gw=function(t,r,n){if(typeof n=="boolean")return n;if(!r)return!0;var i=r.invisible,o=r.visible;if(i[t])return!1;var l=o[t];return l?l.shouldAnimate:!0};function mw(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return st(Os(r,n))}function li(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,l=e.last;return t.reduce(function(u,s){var f=mw(s,n),d=s.descriptor.id;u.all.push(d);var c=pw({target:f,destination:r,viewport:i,withDroppableDisplacement:!0});if(!c)return u.invisible[s.descriptor.id]=!0,u;var p=gw(d,l,o),m={draggableId:d,shouldAnimate:p};return u.visible[d]=m,u},{all:[],visible:{},invisible:{}})}function hw(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}function Ld(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,o=hw(t,{inHomeList:r});return{displaced:oi,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Uo(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,o=e.displacedBy,l=e.last,a=e.index,u=e.forceShouldAnimate,s=sn(t,n);if(a==null)return Ld({insideDestination:r,inHomeList:s,displacedBy:o,destination:n});var f=or(r,function(y){return y.descriptor.index===a});if(!f)return Ld({insideDestination:r,inHomeList:s,displacedBy:o,destination:n});var d=Cl(t,r),c=r.indexOf(f),p=d.slice(c),m=li({afterDragging:p,destination:n,displacedBy:o,last:l,viewport:i.frame,forceShouldAnimate:u});return{displaced:m,displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:a}}}}function Jt(e,t){return!!t.effected[e]}var yw=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,o=e.afterCritical;if(!r.isCombineEnabled)return null;var l=i.draggableId,a=n[l],u=a.descriptor.index,s=Jt(l,o);return s?t?u:u-1:t?u+1:u},ww=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var o=i.index,l=t?o+1:o-1,a=n[0].descriptor.index,u=n[n.length-1].descriptor.index,s=r?u:u+1;return ls?null:l},Sw=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,o=e.destination,l=e.insideDestination,a=e.previousImpact,u=e.viewport,s=e.afterCritical,f=a.at;if(f||I(),f.type==="REORDER"){var d=ww({isMovingForward:t,isInHomeList:r,location:f.destination,insideDestination:l});return d==null?null:Uo({draggable:n,insideDestination:l,destination:o,viewport:u,last:a.displaced,displacedBy:a.displacedBy,index:d})}var c=yw({isMovingForward:t,destination:o,displaced:a.displaced,draggables:i,combine:f.combine,afterCritical:s});return c==null?null:Uo({draggable:n,insideDestination:l,destination:o,viewport:u,last:a.displaced,displacedBy:a.displacedBy,index:c})},xw=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,o=!!(t.visible[n]||t.invisible[n]);return Jt(n,r)?o?de:an(i.point):o?i.point:de},Ew=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=El(r);i||I();var o=i.draggableId,l=n[o].page.borderBox.center,a=xw({displaced:r.displaced,afterCritical:t,combineWith:o,displacedBy:r.displacedBy});return ge(l,a)},pg=function(t,r){return r.margin[t.start]+r.borderBox[t.size]/2},Cw=function(t,r){return r.margin[t.end]+r.borderBox[t.size]/2},Bs=function(t,r,n){return r[t.crossAxisStart]+n.margin[t.crossAxisStart]+n.borderBox[t.crossAxisSize]/2},Md=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return Sr(r.line,n.marginBox[r.end]+pg(r,i),Bs(r,n.marginBox,i))},Bd=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return Sr(r.line,n.marginBox[r.start]-Cw(r,i),Bs(r,n.marginBox,i))},bw=function(t){var r=t.axis,n=t.moveInto,i=t.isMoving;return Sr(r.line,n.contentBox[r.start]+pg(r,i),Bs(r,n.contentBox,i))},Dw=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,o=e.afterCritical,l=un(i.descriptor.id,n),a=r.page,u=i.axis;if(!l.length)return bw({axis:u,moveInto:i.page,isMoving:a});var s=t.displaced,f=t.displacedBy,d=s.all[0];if(d){var c=n[d];if(Jt(d,o))return Bd({axis:u,moveRelativeTo:c.page,isMoving:a});var p=Bo(c.page,f.point);return Bd({axis:u,moveRelativeTo:p,isMoving:a})}var m=l[l.length-1];if(m.descriptor.id===r.descriptor.id)return a.borderBox.center;if(Jt(m.descriptor.id,o)){var y=Bo(m.page,an(o.displacedBy.point));return Md({axis:u,moveRelativeTo:y,isMoving:a})}return Md({axis:u,moveRelativeTo:m.page,isMoving:a})},mu=function(e,t){var r=e.frame;return r?ge(t,r.scroll.diff.displacement):t},Pw=function(t){var r=t.impact,n=t.draggable,i=t.droppable,o=t.draggables,l=t.afterCritical,a=n.page.borderBox.center,u=r.at;return!i||!u?a:u.type==="REORDER"?Dw({impact:r,draggable:n,draggables:o,droppable:i,afterCritical:l}):Ew({impact:r,draggables:o,afterCritical:l})},bl=function(e){var t=Pw(e),r=e.droppable,n=r?mu(r,t):t;return n},vg=function(e,t){var r=ze(t,e.scroll.initial),n=an(r),i=st({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),o={frame:i,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}};return o};function Fd(e,t){return e.map(function(r){return t[r]})}function Iw(e,t){for(var r=0;r1?f.sort(function(d,c){return Ce(d)[a.start]-Ce(c)[a.start]})[0]:s.sort(function(d,c){var p=Td(r,Ad(Ce(d))),m=Td(r,Ad(Ce(c)));return p!==m?p-m:Ce(d)[a.start]-Ce(c)[a.start]})[0]},jd=function(t,r){var n=t.page.borderBox.center;return Jt(t.descriptor.id,r)?ze(n,r.displacedBy.point):n},Tw=function(t,r){var n=t.page.borderBox;return Jt(t.descriptor.id,r)?bi(n,an(r.displacedBy.point)):n},Aw=function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,o=e.afterCritical,l=i.filter(function(a){return fg({target:Tw(a,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})}).sort(function(a,u){var s=ii(t,mu(n,jd(a,o))),f=ii(t,mu(n,jd(u,o)));return st.left&&e.topt.top}function Uw(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,o=n.map(function(l){var a=l.axis,u=Sr(l.axis.line,t.center[a.line],l.page.borderBox.center[a.crossAxisLine]);return{id:l.descriptor.id,distance:ii(i,u)}}).sort(function(l,a){return a.distance-l.distance});return o[0]?o[0].id:null}function _w(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=xl(n).filter(function(o){if(!o.isEnabled)return!1;var l=o.subject.active;if(!l||!$w(t,l))return!1;if(yg(l)(t.center))return!0;var a=o.axis,u=l.center[a.crossAxisLine],s=t[a.crossAxisStart],f=t[a.crossAxisEnd],d=rt(l[a.crossAxisStart],l[a.crossAxisEnd]),c=d(s),p=d(f);return!c&&!p?!0:c?su});return i.length?i.length===1?i[0].descriptor.id:Uw({pageBorderBox:t,draggable:r,candidates:i}):null}var wg=function(t,r){return st(bi(t,r))},Ww=function(e,t){var r=e.frame;return r?wg(t,r.scroll.diff.value):t};function Sg(e){var t=e.displaced,r=e.id;return!!(t.visible[r]||t.invisible[r])}function Hw(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}var Vw=function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.last,l=e.viewport,a=e.afterCritical,u=n.axis,s=Di(n.axis,r.displaceBy),f=s.value,d=t[u.start],c=t[u.end],p=Cl(r,i),m=or(p,function(w){var g=w.descriptor.id,v=w.page.borderBox.center[u.line],h=Jt(g,a),S=Sg({displaced:o,id:g});return h?S?c<=v:dg[a.start]+h&&dg[a.start]-s+h&&fg[a.start]+s+h&&dg[a.start]+h&&f=Ud)return Og;var o=i/Ud,l=wu+ES*o,a=n==="CANCEL"?l*CS:l;return Number(a.toFixed(2))},DS=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,o=e.afterCritical,l=n.draggables,a=n.droppables,u=Ue(t),s=u?a[u]:null,f=a[r.descriptor.droppableId],d=Cg({impact:t,draggable:r,draggables:l,afterCritical:o,droppable:s||f,viewport:i}),c=ze(d,r.client.borderBox.center);return c},PS=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,l=e.onLiftImpact;if(!n.at||r!=="DROP"){var a=Eg({draggables:t,impact:l,destination:i,viewport:o,forceShouldAnimate:!0});return{impact:a,didDropInsideDroppable:!1}}if(n.at.type==="REORDER")return{impact:n,didDropInsideDroppable:!0};var u=L({},n,{displaced:oi});return{impact:u,didDropInsideDroppable:!0}},IS=function(e){var t=e.getState,r=e.dispatch;return function(n){return function(i){if(i.type!=="DROP"){n(i);return}var o=t(),l=i.payload.reason;if(o.phase==="COLLECTING"){r(wS({reason:l}));return}if(o.phase!=="IDLE"){var a=o.phase==="DROP_PENDING"&&o.isWaiting;a&&I(),o.phase==="DRAGGING"||o.phase==="DROP_PENDING"||I();var u=o.critical,s=o.dimensions,f=s.draggables[o.critical.draggable.id],d=PS({reason:l,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),c=d.impact,p=d.didDropInsideDroppable,m=p?As(c):null,y=p?El(c):null,w={index:u.draggable.index,droppableId:u.droppable.id},g={draggableId:f.descriptor.id,type:f.descriptor.type,source:w,reason:l,mode:o.movementMode,destination:m,combine:y},v=DS({impact:c,draggable:f,dimensions:s,viewport:o.viewport,afterCritical:o.afterCritical}),h={critical:o.critical,afterCritical:o.afterCritical,result:g,impact:c},S=!Kt(o.current.client.offset,v)||!!g.combine;if(!S){r($s({completed:h}));return}var x=bS({current:o.current.client.offset,destination:v,reason:l}),C={newHomeClientOffset:v,dropDuration:x,completed:h};r(yS(C))}}}},Rg=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function NS(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(r){r.target!==window&&r.target!==window.document||e()}}}function OS(e){var t=e.onWindowScroll;function r(){t(Rg())}var n=ni(r),i=NS(n),o=Qt;function l(){return o!==Qt}function a(){l()&&I(),o=et(window,[i])}function u(){l()||I(),n.cancel(),o(),o=Qt}return{start:a,stop:u,isActive:l}}var RS=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},kS=function(e){var t=OS({onWindowScroll:function(n){e.dispatch(fS({newScroll:n}))}});return function(r){return function(n){!t.isActive()&&n.type==="INITIAL_PUBLISH"&&t.start(),t.isActive()&&RS(n)&&t.stop(),r(n)}}},TS=function(e){var t=!1,r=!1,n=setTimeout(function(){r=!0}),i=function(l){t||r||(t=!0,e(l),clearTimeout(n))};return i.wasCalled=function(){return t},i},AS=function(){var e=[],t=function(o){var l=Ts(e,function(s){return s.timerId===o});l===-1&&I();var a=e.splice(l,1),u=a[0];u.callback()},r=function(o){var l=setTimeout(function(){return t(l)}),a={timerId:l,callback:o};e.push(a)},n=function(){if(e.length){var o=[].concat(e);e.length=0,o.forEach(function(l){clearTimeout(l.timerId),l.callback()})}};return{add:r,flush:n}},LS=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.droppableId===r.droppableId&&t.index===r.index},MS=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.draggableId===r.draggableId&&t.droppableId===r.droppableId},BS=function(t,r){if(t===r)return!0;var n=t.draggable.id===r.draggable.id&&t.draggable.droppableId===r.draggable.droppableId&&t.draggable.type===r.draggable.type&&t.draggable.index===r.draggable.index,i=t.droppable.id===r.droppable.id&&t.droppable.type===r.droppable.type;return n&&i},wn=function(t,r){r()},Vi=function(t,r){return{draggableId:t.draggable.id,type:t.droppable.type,source:{droppableId:t.droppable.id,index:t.draggable.index},mode:r}},ma=function(t,r,n,i){if(!t){n(i(r));return}var o=TS(n),l={announce:o};t(r,l),o.wasCalled()||n(i(r))},FS=function(e,t){var r=AS(),n=null,i=function(c,p){n&&I(),wn("onBeforeCapture",function(){var m=e().onBeforeCapture;if(m){var y={draggableId:c,mode:p};m(y)}})},o=function(c,p){n&&I(),wn("onBeforeDragStart",function(){var m=e().onBeforeDragStart;m&&m(Vi(c,p))})},l=function(c,p){n&&I();var m=Vi(c,p);n={mode:p,lastCritical:c,lastLocation:m.source,lastCombine:null},r.add(function(){wn("onDragStart",function(){return ma(e().onDragStart,m,t,ao.onDragStart)})})},a=function(c,p){var m=As(p),y=El(p);n||I();var w=!BS(c,n.lastCritical);w&&(n.lastCritical=c);var g=!LS(n.lastLocation,m);g&&(n.lastLocation=m);var v=!MS(n.lastCombine,y);if(v&&(n.lastCombine=y),!(!w&&!g&&!v)){var h=L({},Vi(c,n.mode),{combine:y,destination:m});r.add(function(){wn("onDragUpdate",function(){return ma(e().onDragUpdate,h,t,ao.onDragUpdate)})})}},u=function(){n||I(),r.flush()},s=function(c){n||I(),n=null,wn("onDragEnd",function(){return ma(e().onDragEnd,c,t,ao.onDragEnd)})},f=function(){if(n){var c=L({},Vi(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});s(c)}};return{beforeCapture:i,beforeStart:o,start:l,update:a,flush:u,drop:s,abort:f}},jS=function(e,t){var r=FS(e,t);return function(n){return function(i){return function(o){if(o.type==="BEFORE_INITIAL_CAPTURE"){r.beforeCapture(o.payload.draggableId,o.payload.movementMode);return}if(o.type==="INITIAL_PUBLISH"){var l=o.payload.critical;r.beforeStart(l,o.payload.movementMode),i(o),r.start(l,o.payload.movementMode);return}if(o.type==="DROP_COMPLETE"){var a=o.payload.completed.result;r.flush(),i(o),r.drop(a);return}if(i(o),o.type==="FLUSH"){r.abort();return}var u=n.getState();u.phase==="DRAGGING"&&r.update(u.critical,u.impact)}}}},zS=function(e){return function(t){return function(r){if(r.type!=="DROP_ANIMATION_FINISHED"){t(r);return}var n=e.getState();n.phase!=="DROP_ANIMATING"&&I(),e.dispatch($s({completed:n.completed}))}}},$S=function(e){var t=null,r=null;function n(){r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)}return function(i){return function(o){if((o.type==="FLUSH"||o.type==="DROP_COMPLETE"||o.type==="DROP_ANIMATION_FINISHED")&&n(),i(o),o.type==="DROP_ANIMATE"){var l={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var u=e.getState();u.phase==="DROP_ANIMATING"&&e.dispatch(Ng())}};r=requestAnimationFrame(function(){r=null,t=et(window,[l])})}}}},US=function(e){return function(){return function(t){return function(r){(r.type==="DROP_COMPLETE"||r.type==="FLUSH"||r.type==="DROP_ANIMATE")&&e.stopPublishing(),t(r)}}}},_S=function(e){var t=!1;return function(){return function(r){return function(n){if(n.type==="INITIAL_PUBLISH"){t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),e.tryRestoreFocusRecorded();return}if(r(n),!!t){if(n.type==="FLUSH"){t=!1,e.tryRestoreFocusRecorded();return}if(n.type==="DROP_COMPLETE"){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},WS=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},HS=function(e){return function(t){return function(r){return function(n){if(WS(n)){e.stop(),r(n);return}if(n.type==="INITIAL_PUBLISH"){r(n);var i=t.getState();i.phase!=="DRAGGING"&&I(),e.start(i);return}r(n),e.scroll(t.getState())}}}},VS=function(e){return function(t){return function(r){if(t(r),r.type==="PUBLISH_WHILE_DRAGGING"){var n=e.getState();n.phase==="DROP_PENDING"&&(n.isWaiting||e.dispatch(Ig({reason:n.reason})))}}}},GS=Bv,qS=function(e){var t=e.dimensionMarshal,r=e.focusMarshal,n=e.styleMarshal,i=e.getResponders,o=e.announce,l=e.autoScroller;return Mv(nS,GS(A0(xS(n),US(t),SS(t),IS,zS,$S,VS,HS(l),kS,_S(r),jS(i,o))))},ha=function(){return{additions:{},removals:{},modified:{}}};function QS(e){var t=e.registry,r=e.callbacks,n=ha(),i=null,o=function(){i||(r.collectionStarting(),i=requestAnimationFrame(function(){i=null;var f=n,d=f.additions,c=f.removals,p=f.modified,m=Object.keys(d).map(function(g){return t.draggable.getById(g).getDimension(de)}).sort(function(g,v){return g.descriptor.index-v.descriptor.index}),y=Object.keys(p).map(function(g){var v=t.droppable.getById(g),h=v.callbacks.getScrollWhileDragging();return{droppableId:g,scroll:h}}),w={additions:m,removals:Object.keys(c),modified:y};n=ha(),r.publish(w)}))},l=function(f){var d=f.descriptor.id;n.additions[d]=f,n.modified[f.descriptor.droppableId]=!0,n.removals[d]&&delete n.removals[d],o()},a=function(f){var d=f.descriptor;n.removals[d.id]=!0,n.modified[d.droppableId]=!0,n.additions[d.id]&&delete n.additions[d.id],o()},u=function(){i&&(cancelAnimationFrame(i),i=null,n=ha())};return{add:l,remove:a,stop:u}}var kg=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,o=ze({x:r,y:t},{x:i,y:n}),l={x:Math.max(0,o.x),y:Math.max(0,o.y)};return l},Tg=function(){var e=document.documentElement;return e||I(),e},Ag=function(){var e=Tg(),t=kg({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t},KS=function(){var e=Rg(),t=Ag(),r=e.y,n=e.x,i=Tg(),o=i.clientWidth,l=i.clientHeight,a=n+o,u=r+l,s=st({top:r,left:n,right:a,bottom:u}),f={frame:s,scroll:{initial:e,current:e,max:t,diff:{value:de,displacement:de}}};return f},YS=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry,i=KS(),o=i.scroll.current,l=t.droppable,a=n.droppable.getAllByType(l.type).map(function(d){return d.callbacks.getDimensionAndWatchScroll(o,r)}),u=n.draggable.getAllByType(t.draggable.type).map(function(d){return d.getDimension(o)}),s={draggables:ug(u),droppables:ag(a)},f={dimensions:s,critical:t,viewport:i};return f};function _d(e,t,r){if(r.descriptor.id===t.id||r.descriptor.type!==t.type)return!1;var n=e.droppable.getById(r.descriptor.droppableId);return n.descriptor.mode==="virtual"}var XS=function(e,t){var r=null,n=QS({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(p,m){e.droppable.exists(p)||I(),r&&t.updateDroppableIsEnabled({id:p,isEnabled:m})},o=function(p,m){r&&(e.droppable.exists(p)||I(),t.updateDroppableIsCombineEnabled({id:p,isCombineEnabled:m}))},l=function(p,m){r&&(e.droppable.exists(p)||I(),t.updateDroppableScroll({id:p,newScroll:m}))},a=function(p,m){r&&e.droppable.getById(p).callbacks.scroll(m)},u=function(){if(r){n.stop();var p=r.critical.droppable;e.droppable.getAllByType(p.type).forEach(function(m){return m.callbacks.dragStopped()}),r.unsubscribe(),r=null}},s=function(p){r||I();var m=r.critical.draggable;p.type==="ADDITION"&&_d(e,m,p.value)&&n.add(p.value),p.type==="REMOVAL"&&_d(e,m,p.value)&&n.remove(p.value)},f=function(p){r&&I();var m=e.draggable.getById(p.draggableId),y=e.droppable.getById(m.descriptor.droppableId),w={draggable:m.descriptor,droppable:y.descriptor},g=e.subscribe(s);return r={critical:w,unsubscribe:g},YS({critical:w,registry:e,scrollOptions:p.scrollOptions})},d={updateDroppableIsEnabled:i,updateDroppableIsCombineEnabled:o,scrollDroppable:a,updateDroppableScroll:l,startPublishing:f,stopPublishing:u};return d},Lg=function(e,t){return e.phase==="IDLE"?!0:e.phase!=="DROP_ANIMATING"||e.completed.result.draggableId===t?!1:e.completed.result.reason==="DROP"},ZS=function(e){window.scrollBy(e.x,e.y)},JS=ce(function(e){return xl(e).filter(function(t){return!(!t.isEnabled||!t.frame)})}),e2=function(t,r){var n=or(JS(r),function(i){return i.frame||I(),yg(i.frame.pageMarginBox)(t)});return n},t2=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}var o=e2(t,n);return o},Yt={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(t){return Math.pow(t,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},r2=function(e,t){var r=e[t.size]*Yt.startFromPercentage,n=e[t.size]*Yt.maxScrollAtPercentage,i={startScrollingFrom:r,maxScrollValueAt:n};return i},Mg=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;if(i===0)return 0;var o=n-t,l=o/i;return l},Ws=1,n2=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Yt.maxPixelScroll;if(e===t.startScrollingFrom)return Ws;var r=Mg({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=1-r,i=Yt.maxPixelScroll*Yt.ease(n);return Math.ceil(i)},Wd=Yt.durationDampening.accelerateAt,Hd=Yt.durationDampening.stopDampeningAt,i2=function(e,t){var r=t,n=Hd,i=Date.now(),o=i-r;if(o>=Hd)return e;if(ot.height,o=r.width>t.width;return!o&&!i?n:o&&i?null:{x:o?0:n.x,y:i?0:n.y}},l2=og(function(e){return e===0?0:e}),Bg=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,o=e.shouldUseTimeDampening,l={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},a=Gd({container:r,distanceToEdges:l,dragStartTime:t,axis:Ls,shouldUseTimeDampening:o}),u=Gd({container:r,distanceToEdges:l,dragStartTime:t,axis:dg,shouldUseTimeDampening:o}),s=l2({x:u,y:a});if(Kt(s,de))return null;var f=o2({container:r,subject:n,proposedScroll:s});return f?Kt(f,de)?null:f:null},a2=og(function(e){return e===0?0:e>0?1:-1}),Hs=function(){var e=function(r,n){return r<0?r:r>n?r-n:0};return function(t){var r=t.current,n=t.max,i=t.change,o=ge(r,i),l={x:e(o.x,n.x),y:e(o.y,n.y)};return Kt(l,de)?null:l}}(),Fg=function(t){var r=t.max,n=t.current,i=t.change,o={x:Math.max(n.x,r.x),y:Math.max(n.y,r.y)},l=a2(i),a=Hs({max:o,current:n,change:l});return!a||l.x!==0&&a.x===0||l.y!==0&&a.y===0},Vs=function(t,r){return Fg({current:t.scroll.current,max:t.scroll.max,change:r})},u2=function(t,r){if(!Vs(t,r))return null;var n=t.scroll.max,i=t.scroll.current;return Hs({current:i,max:n,change:r})},Gs=function(t,r){var n=t.frame;return n?Fg({current:n.scroll.current,max:n.scroll.max,change:r}):!1},s2=function(t,r){var n=t.frame;return!n||!Gs(t,r)?null:Hs({current:n.scroll.current,max:n.scroll.max,change:r})},c2=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,l=Bg({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return l&&Vs(t,l)?l:null},d2=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,l=t.frame;if(!l)return null;var a=Bg({dragStartTime:i,container:l.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:o});return a&&Gs(t,a)?a:null},qd=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,l=t.current.page.borderBoxCenter,a=t.dimensions.draggables[t.critical.draggable.id],u=a.page.marginBox;if(t.isWindowScrollAllowed){var s=t.viewport,f=c2({dragStartTime:r,viewport:s,subject:u,center:l,shouldUseTimeDampening:n});if(f){i(f);return}}var d=t2({center:l,destination:Ue(t.impact),droppables:t.dimensions.droppables});if(d){var c=d2({dragStartTime:r,droppable:d,subject:u,center:l,shouldUseTimeDampening:n});c&&o(d.descriptor.id,c)}},f2=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=ni(t),i=ni(r),o=null,l=function(f){o||I();var d=o,c=d.shouldUseTimeDampening,p=d.dragStartTime;qd({state:f,scrollWindow:n,scrollDroppable:i,dragStartTime:p,shouldUseTimeDampening:c})},a=function(f){o&&I();var d=Date.now(),c=!1,p=function(){c=!0};qd({state:f,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:p,scrollDroppable:p}),o={dragStartTime:d,shouldUseTimeDampening:c},c&&l(f)},u=function(){o&&(n.cancel(),i.cancel(),o=null)};return{start:a,stop:u,scroll:l}},p2=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(s,f){var d=ge(s.current.client.selection,f);t({client:d})},o=function(s,f){if(!Gs(s,f))return f;var d=s2(s,f);if(!d)return r(s.descriptor.id,f),null;var c=ze(f,d);r(s.descriptor.id,c);var p=ze(f,c);return p},l=function(s,f,d){if(!s||!Vs(f,d))return d;var c=u2(f,d);if(!c)return n(d),null;var p=ze(d,c);n(p);var m=ze(d,p);return m},a=function(s){var f=s.scrollJumpRequest;if(f){var d=Ue(s.impact);d||I();var c=o(s.dimensions.droppables[d],f);if(c){var p=s.viewport,m=l(s.isWindowScrollAllowed,p,c);m&&i(s,m)}}};return a},v2=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=f2({scrollWindow:r,scrollDroppable:t}),o=p2({move:n,scrollWindow:r,scrollDroppable:t}),l=function(s){if(s.phase==="DRAGGING"){if(s.movementMode==="FLUID"){i.scroll(s);return}s.scrollJumpRequest&&o(s)}},a={scroll:l,start:i.start,stop:i.stop};return a},en="data-rbd",tn=function(){var e=en+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Su=function(){var e=en+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),g2=function(){var e=en+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Qd={contextId:en+"-scroll-container-context-id"},m2=function(t){return function(r){return"["+r+'="'+t+'"]'}},Sn=function(t,r){return t.map(function(n){var i=n.styles[r];return i?n.selector+" { "+i+" }":""}).join(" ")},h2="pointer-events: none;",y2=function(e){var t=m2(e),r=function(){var a=` + `},ao={dragHandleUsageInstructions:Q1,onDragStart:K1,onDragUpdate:Y1,onDragEnd:X1},de={x:0,y:0},ge=function(t,r){return{x:t.x+r.x,y:t.y+r.y}},ze=function(t,r){return{x:t.x-r.x,y:t.y-r.y}},Kt=function(t,r){return t.x===r.x&&t.y===r.y},an=function(t){return{x:t.x!==0?-t.x:0,y:t.y!==0?-t.y:0}},wr=function(t,r,n){var i;return n===void 0&&(n=0),i={},i[t]=r,i[t==="x"?"y":"x"]=n,i},ii=function(t,r){return Math.sqrt(Math.pow(r.x-t.x,2)+Math.pow(r.y-t.y,2))},Td=function(t,r){return Math.min.apply(Math,r.map(function(n){return ii(t,n)}))},og=function(t){return function(r){return{x:t(r.x),y:t(r.y)}}},Z1=function(e,t){var r=st({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return r.width<=0||r.height<=0?null:r},bi=function(t,r){return{top:t.top+r.y,left:t.left+r.x,bottom:t.bottom+r.y,right:t.right+r.x}},Ad=function(t){return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}]},J1={top:0,right:0,bottom:0,left:0},ew=function(t,r){return r?bi(t,r.scroll.diff.displacement):t},tw=function(t,r,n){if(n&&n.increasedBy){var i;return L({},t,(i={},i[r.end]=t[r.end]+n.increasedBy[r.line],i))}return t},rw=function(t,r){return r&&r.shouldClipSubject?Z1(r.pageMarginBox,t):st(t)},Zr=function(e){var t=e.page,r=e.withPlaceholder,n=e.axis,i=e.frame,o=ew(t.marginBox,i),l=tw(o,n,r),a=rw(l,i);return{page:t,withPlaceholder:r,active:a}},ks=function(e,t){e.frame||I();var r=e.frame,n=ze(t,r.scroll.initial),i=an(n),o=L({},r,{scroll:{initial:r.scroll.initial,current:t,diff:{value:n,displacement:i},max:r.scroll.max}}),l=Zr({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o}),a=L({},e,{frame:o,subject:l});return a};function $o(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})}function Ts(e,t){if(e.findIndex)return e.findIndex(t);for(var r=0;re.bottom,s=n.lefte.right,f=u&&s;if(f)return!0;var d=u&&l||s&&o;return d}},lw=function(e){var t=rt(e.top,e.bottom),r=rt(e.left,e.right);return function(n){var i=t(n.top)&&t(n.bottom)&&r(n.left)&&r(n.right);return i}},Ls={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},dg={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},aw=function(e){return function(t){var r=rt(t.top,t.bottom),n=rt(t.left,t.right);return function(i){return e===Ls?r(i.top)&&r(i.bottom):n(i.left)&&n(i.right)}}},uw=function(t,r){var n=r.frame?r.frame.scroll.diff.displacement:de;return bi(t,n)},sw=function(t,r,n){return r.subject.active?n(r.subject.active)(t):!1},cw=function(t,r,n){return n(r)(t)},Ms=function(t){var r=t.target,n=t.destination,i=t.viewport,o=t.withDroppableDisplacement,l=t.isVisibleThroughFrameFn,a=o?uw(r,n):r;return sw(a,n,l)&&cw(a,i,l)},dw=function(t){return Ms(L({},t,{isVisibleThroughFrameFn:cg}))},fg=function(t){return Ms(L({},t,{isVisibleThroughFrameFn:lw}))},fw=function(t){return Ms(L({},t,{isVisibleThroughFrameFn:aw(t.destination.axis)}))},pw=function(t,r,n){if(typeof n=="boolean")return n;if(!r)return!0;var i=r.invisible,o=r.visible;if(i[t])return!1;var l=o[t];return l?l.shouldAnimate:!0};function vw(e,t){var r=e.page.marginBox,n={top:t.point.y,right:0,bottom:0,left:t.point.x};return st(Os(r,n))}function li(e){var t=e.afterDragging,r=e.destination,n=e.displacedBy,i=e.viewport,o=e.forceShouldAnimate,l=e.last;return t.reduce(function(u,s){var f=vw(s,n),d=s.descriptor.id;u.all.push(d);var c=dw({target:f,destination:r,viewport:i,withDroppableDisplacement:!0});if(!c)return u.invisible[s.descriptor.id]=!0,u;var p=pw(d,l,o),m={draggableId:d,shouldAnimate:p};return u.visible[d]=m,u},{all:[],visible:{},invisible:{}})}function gw(e,t){if(!e.length)return 0;var r=e[e.length-1].descriptor.index;return t.inHomeList?r:r+1}function Ld(e){var t=e.insideDestination,r=e.inHomeList,n=e.displacedBy,i=e.destination,o=gw(t,{inHomeList:r});return{displaced:oi,displacedBy:n,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:o}}}}function Uo(e){var t=e.draggable,r=e.insideDestination,n=e.destination,i=e.viewport,o=e.displacedBy,l=e.last,a=e.index,u=e.forceShouldAnimate,s=sn(t,n);if(a==null)return Ld({insideDestination:r,inHomeList:s,displacedBy:o,destination:n});var f=ir(r,function(y){return y.descriptor.index===a});if(!f)return Ld({insideDestination:r,inHomeList:s,displacedBy:o,destination:n});var d=Cl(t,r),c=r.indexOf(f),p=d.slice(c),m=li({afterDragging:p,destination:n,displacedBy:o,last:l,viewport:i.frame,forceShouldAnimate:u});return{displaced:m,displacedBy:o,at:{type:"REORDER",destination:{droppableId:n.descriptor.id,index:a}}}}function Jt(e,t){return!!t.effected[e]}var mw=function(e){var t=e.isMovingForward,r=e.destination,n=e.draggables,i=e.combine,o=e.afterCritical;if(!r.isCombineEnabled)return null;var l=i.draggableId,a=n[l],u=a.descriptor.index,s=Jt(l,o);return s?t?u:u-1:t?u+1:u},hw=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.insideDestination,i=e.location;if(!n.length)return null;var o=i.index,l=t?o+1:o-1,a=n[0].descriptor.index,u=n[n.length-1].descriptor.index,s=r?u:u+1;return ls?null:l},yw=function(e){var t=e.isMovingForward,r=e.isInHomeList,n=e.draggable,i=e.draggables,o=e.destination,l=e.insideDestination,a=e.previousImpact,u=e.viewport,s=e.afterCritical,f=a.at;if(f||I(),f.type==="REORDER"){var d=hw({isMovingForward:t,isInHomeList:r,location:f.destination,insideDestination:l});return d==null?null:Uo({draggable:n,insideDestination:l,destination:o,viewport:u,last:a.displaced,displacedBy:a.displacedBy,index:d})}var c=mw({isMovingForward:t,destination:o,displaced:a.displaced,draggables:i,combine:f.combine,afterCritical:s});return c==null?null:Uo({draggable:n,insideDestination:l,destination:o,viewport:u,last:a.displaced,displacedBy:a.displacedBy,index:c})},ww=function(e){var t=e.displaced,r=e.afterCritical,n=e.combineWith,i=e.displacedBy,o=!!(t.visible[n]||t.invisible[n]);return Jt(n,r)?o?de:an(i.point):o?i.point:de},Sw=function(e){var t=e.afterCritical,r=e.impact,n=e.draggables,i=El(r);i||I();var o=i.draggableId,l=n[o].page.borderBox.center,a=ww({displaced:r.displaced,afterCritical:t,combineWith:o,displacedBy:r.displacedBy});return ge(l,a)},pg=function(t,r){return r.margin[t.start]+r.borderBox[t.size]/2},xw=function(t,r){return r.margin[t.end]+r.borderBox[t.size]/2},Bs=function(t,r,n){return r[t.crossAxisStart]+n.margin[t.crossAxisStart]+n.borderBox[t.crossAxisSize]/2},Md=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return wr(r.line,n.marginBox[r.end]+pg(r,i),Bs(r,n.marginBox,i))},Bd=function(t){var r=t.axis,n=t.moveRelativeTo,i=t.isMoving;return wr(r.line,n.marginBox[r.start]-xw(r,i),Bs(r,n.marginBox,i))},Ew=function(t){var r=t.axis,n=t.moveInto,i=t.isMoving;return wr(r.line,n.contentBox[r.start]+pg(r,i),Bs(r,n.contentBox,i))},Cw=function(e){var t=e.impact,r=e.draggable,n=e.draggables,i=e.droppable,o=e.afterCritical,l=un(i.descriptor.id,n),a=r.page,u=i.axis;if(!l.length)return Ew({axis:u,moveInto:i.page,isMoving:a});var s=t.displaced,f=t.displacedBy,d=s.all[0];if(d){var c=n[d];if(Jt(d,o))return Bd({axis:u,moveRelativeTo:c.page,isMoving:a});var p=Bo(c.page,f.point);return Bd({axis:u,moveRelativeTo:p,isMoving:a})}var m=l[l.length-1];if(m.descriptor.id===r.descriptor.id)return a.borderBox.center;if(Jt(m.descriptor.id,o)){var y=Bo(m.page,an(o.displacedBy.point));return Md({axis:u,moveRelativeTo:y,isMoving:a})}return Md({axis:u,moveRelativeTo:m.page,isMoving:a})},mu=function(e,t){var r=e.frame;return r?ge(t,r.scroll.diff.displacement):t},bw=function(t){var r=t.impact,n=t.draggable,i=t.droppable,o=t.draggables,l=t.afterCritical,a=n.page.borderBox.center,u=r.at;return!i||!u?a:u.type==="REORDER"?Cw({impact:r,draggable:n,draggables:o,droppable:i,afterCritical:l}):Sw({impact:r,draggables:o,afterCritical:l})},bl=function(e){var t=bw(e),r=e.droppable,n=r?mu(r,t):t;return n},vg=function(e,t){var r=ze(t,e.scroll.initial),n=an(r),i=st({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),o={frame:i,scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:r,displacement:n}}};return o};function Fd(e,t){return e.map(function(r){return t[r]})}function Dw(e,t){for(var r=0;r1?f.sort(function(d,c){return Ce(d)[a.start]-Ce(c)[a.start]})[0]:s.sort(function(d,c){var p=Td(r,Ad(Ce(d))),m=Td(r,Ad(Ce(c)));return p!==m?p-m:Ce(d)[a.start]-Ce(c)[a.start]})[0]},jd=function(t,r){var n=t.page.borderBox.center;return Jt(t.descriptor.id,r)?ze(n,r.displacedBy.point):n},Rw=function(t,r){var n=t.page.borderBox;return Jt(t.descriptor.id,r)?bi(n,an(r.displacedBy.point)):n},kw=function(e){var t=e.pageBorderBoxCenter,r=e.viewport,n=e.destination,i=e.insideDestination,o=e.afterCritical,l=i.filter(function(a){return fg({target:Rw(a,o),destination:n,viewport:r.frame,withDroppableDisplacement:!0})}).sort(function(a,u){var s=ii(t,mu(n,jd(a,o))),f=ii(t,mu(n,jd(u,o)));return st.left&&e.topt.top}function zw(e){var t=e.pageBorderBox,r=e.draggable,n=e.candidates,i=r.page.borderBox.center,o=n.map(function(l){var a=l.axis,u=wr(l.axis.line,t.center[a.line],l.page.borderBox.center[a.crossAxisLine]);return{id:l.descriptor.id,distance:ii(i,u)}}).sort(function(l,a){return a.distance-l.distance});return o[0]?o[0].id:null}function $w(e){var t=e.pageBorderBox,r=e.draggable,n=e.droppables,i=xl(n).filter(function(o){if(!o.isEnabled)return!1;var l=o.subject.active;if(!l||!jw(t,l))return!1;if(yg(l)(t.center))return!0;var a=o.axis,u=l.center[a.crossAxisLine],s=t[a.crossAxisStart],f=t[a.crossAxisEnd],d=rt(l[a.crossAxisStart],l[a.crossAxisEnd]),c=d(s),p=d(f);return!c&&!p?!0:c?su});return i.length?i.length===1?i[0].descriptor.id:zw({pageBorderBox:t,draggable:r,candidates:i}):null}var wg=function(t,r){return st(bi(t,r))},Uw=function(e,t){var r=e.frame;return r?wg(t,r.scroll.diff.value):t};function Sg(e){var t=e.displaced,r=e.id;return!!(t.visible[r]||t.invisible[r])}function _w(e){var t=e.draggable,r=e.closest,n=e.inHomeList;return r?n&&r.descriptor.index>t.descriptor.index?r.descriptor.index-1:r.descriptor.index:null}var Ww=function(e){var t=e.pageBorderBoxWithDroppableScroll,r=e.draggable,n=e.destination,i=e.insideDestination,o=e.last,l=e.viewport,a=e.afterCritical,u=n.axis,s=Di(n.axis,r.displaceBy),f=s.value,d=t[u.start],c=t[u.end],p=Cl(r,i),m=ir(p,function(w){var g=w.descriptor.id,v=w.page.borderBox.center[u.line],h=Jt(g,a),S=Sg({displaced:o,id:g});return h?S?c<=v:dg[a.start]+h&&dg[a.start]-s+h&&fg[a.start]+s+h&&dg[a.start]+h&&f=Ud)return Og;var o=i/Ud,l=wu+SS*o,a=n==="CANCEL"?l*xS:l;return Number(a.toFixed(2))},CS=function(e){var t=e.impact,r=e.draggable,n=e.dimensions,i=e.viewport,o=e.afterCritical,l=n.draggables,a=n.droppables,u=Ue(t),s=u?a[u]:null,f=a[r.descriptor.droppableId],d=Cg({impact:t,draggable:r,draggables:l,afterCritical:o,droppable:s||f,viewport:i}),c=ze(d,r.client.borderBox.center);return c},bS=function(e){var t=e.draggables,r=e.reason,n=e.lastImpact,i=e.home,o=e.viewport,l=e.onLiftImpact;if(!n.at||r!=="DROP"){var a=Eg({draggables:t,impact:l,destination:i,viewport:o,forceShouldAnimate:!0});return{impact:a,didDropInsideDroppable:!1}}if(n.at.type==="REORDER")return{impact:n,didDropInsideDroppable:!0};var u=L({},n,{displaced:oi});return{impact:u,didDropInsideDroppable:!0}},DS=function(e){var t=e.getState,r=e.dispatch;return function(n){return function(i){if(i.type!=="DROP"){n(i);return}var o=t(),l=i.payload.reason;if(o.phase==="COLLECTING"){r(hS({reason:l}));return}if(o.phase!=="IDLE"){var a=o.phase==="DROP_PENDING"&&o.isWaiting;a&&I(),o.phase==="DRAGGING"||o.phase==="DROP_PENDING"||I();var u=o.critical,s=o.dimensions,f=s.draggables[o.critical.draggable.id],d=bS({reason:l,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),c=d.impact,p=d.didDropInsideDroppable,m=p?As(c):null,y=p?El(c):null,w={index:u.draggable.index,droppableId:u.droppable.id},g={draggableId:f.descriptor.id,type:f.descriptor.type,source:w,reason:l,mode:o.movementMode,destination:m,combine:y},v=CS({impact:c,draggable:f,dimensions:s,viewport:o.viewport,afterCritical:o.afterCritical}),h={critical:o.critical,afterCritical:o.afterCritical,result:g,impact:c},S=!Kt(o.current.client.offset,v)||!!g.combine;if(!S){r($s({completed:h}));return}var x=ES({current:o.current.client.offset,destination:v,reason:l}),C={newHomeClientOffset:v,dropDuration:x,completed:h};r(mS(C))}}}},Rg=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function PS(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(r){r.target!==window&&r.target!==window.document||e()}}}function IS(e){var t=e.onWindowScroll;function r(){t(Rg())}var n=ni(r),i=PS(n),o=Qt;function l(){return o!==Qt}function a(){l()&&I(),o=et(window,[i])}function u(){l()||I(),n.cancel(),o(),o=Qt}return{start:a,stop:u,isActive:l}}var NS=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},OS=function(e){var t=IS({onWindowScroll:function(n){e.dispatch(cS({newScroll:n}))}});return function(r){return function(n){!t.isActive()&&n.type==="INITIAL_PUBLISH"&&t.start(),t.isActive()&&NS(n)&&t.stop(),r(n)}}},RS=function(e){var t=!1,r=!1,n=setTimeout(function(){r=!0}),i=function(l){t||r||(t=!0,e(l),clearTimeout(n))};return i.wasCalled=function(){return t},i},kS=function(){var e=[],t=function(o){var l=Ts(e,function(s){return s.timerId===o});l===-1&&I();var a=e.splice(l,1),u=a[0];u.callback()},r=function(o){var l=setTimeout(function(){return t(l)}),a={timerId:l,callback:o};e.push(a)},n=function(){if(e.length){var o=[].concat(e);e.length=0,o.forEach(function(l){clearTimeout(l.timerId),l.callback()})}};return{add:r,flush:n}},TS=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.droppableId===r.droppableId&&t.index===r.index},AS=function(t,r){return t==null&&r==null?!0:t==null||r==null?!1:t.draggableId===r.draggableId&&t.droppableId===r.droppableId},LS=function(t,r){if(t===r)return!0;var n=t.draggable.id===r.draggable.id&&t.draggable.droppableId===r.draggable.droppableId&&t.draggable.type===r.draggable.type&&t.draggable.index===r.draggable.index,i=t.droppable.id===r.droppable.id&&t.droppable.type===r.droppable.type;return n&&i},wn=function(t,r){r()},Vi=function(t,r){return{draggableId:t.draggable.id,type:t.droppable.type,source:{droppableId:t.droppable.id,index:t.draggable.index},mode:r}},ma=function(t,r,n,i){if(!t){n(i(r));return}var o=RS(n),l={announce:o};t(r,l),o.wasCalled()||n(i(r))},MS=function(e,t){var r=kS(),n=null,i=function(c,p){n&&I(),wn("onBeforeCapture",function(){var m=e().onBeforeCapture;if(m){var y={draggableId:c,mode:p};m(y)}})},o=function(c,p){n&&I(),wn("onBeforeDragStart",function(){var m=e().onBeforeDragStart;m&&m(Vi(c,p))})},l=function(c,p){n&&I();var m=Vi(c,p);n={mode:p,lastCritical:c,lastLocation:m.source,lastCombine:null},r.add(function(){wn("onDragStart",function(){return ma(e().onDragStart,m,t,ao.onDragStart)})})},a=function(c,p){var m=As(p),y=El(p);n||I();var w=!LS(c,n.lastCritical);w&&(n.lastCritical=c);var g=!TS(n.lastLocation,m);g&&(n.lastLocation=m);var v=!AS(n.lastCombine,y);if(v&&(n.lastCombine=y),!(!w&&!g&&!v)){var h=L({},Vi(c,n.mode),{combine:y,destination:m});r.add(function(){wn("onDragUpdate",function(){return ma(e().onDragUpdate,h,t,ao.onDragUpdate)})})}},u=function(){n||I(),r.flush()},s=function(c){n||I(),n=null,wn("onDragEnd",function(){return ma(e().onDragEnd,c,t,ao.onDragEnd)})},f=function(){if(n){var c=L({},Vi(n.lastCritical,n.mode),{combine:null,destination:null,reason:"CANCEL"});s(c)}};return{beforeCapture:i,beforeStart:o,start:l,update:a,flush:u,drop:s,abort:f}},BS=function(e,t){var r=MS(e,t);return function(n){return function(i){return function(o){if(o.type==="BEFORE_INITIAL_CAPTURE"){r.beforeCapture(o.payload.draggableId,o.payload.movementMode);return}if(o.type==="INITIAL_PUBLISH"){var l=o.payload.critical;r.beforeStart(l,o.payload.movementMode),i(o),r.start(l,o.payload.movementMode);return}if(o.type==="DROP_COMPLETE"){var a=o.payload.completed.result;r.flush(),i(o),r.drop(a);return}if(i(o),o.type==="FLUSH"){r.abort();return}var u=n.getState();u.phase==="DRAGGING"&&r.update(u.critical,u.impact)}}}},FS=function(e){return function(t){return function(r){if(r.type!=="DROP_ANIMATION_FINISHED"){t(r);return}var n=e.getState();n.phase!=="DROP_ANIMATING"&&I(),e.dispatch($s({completed:n.completed}))}}},jS=function(e){var t=null,r=null;function n(){r&&(cancelAnimationFrame(r),r=null),t&&(t(),t=null)}return function(i){return function(o){if((o.type==="FLUSH"||o.type==="DROP_COMPLETE"||o.type==="DROP_ANIMATION_FINISHED")&&n(),i(o),o.type==="DROP_ANIMATE"){var l={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){var u=e.getState();u.phase==="DROP_ANIMATING"&&e.dispatch(Ng())}};r=requestAnimationFrame(function(){r=null,t=et(window,[l])})}}}},zS=function(e){return function(){return function(t){return function(r){(r.type==="DROP_COMPLETE"||r.type==="FLUSH"||r.type==="DROP_ANIMATE")&&e.stopPublishing(),t(r)}}}},$S=function(e){var t=!1;return function(){return function(r){return function(n){if(n.type==="INITIAL_PUBLISH"){t=!0,e.tryRecordFocus(n.payload.critical.draggable.id),r(n),e.tryRestoreFocusRecorded();return}if(r(n),!!t){if(n.type==="FLUSH"){t=!1,e.tryRestoreFocusRecorded();return}if(n.type==="DROP_COMPLETE"){t=!1;var i=n.payload.completed.result;i.combine&&e.tryShiftRecord(i.draggableId,i.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}},US=function(t){return t.type==="DROP_COMPLETE"||t.type==="DROP_ANIMATE"||t.type==="FLUSH"},_S=function(e){return function(t){return function(r){return function(n){if(US(n)){e.stop(),r(n);return}if(n.type==="INITIAL_PUBLISH"){r(n);var i=t.getState();i.phase!=="DRAGGING"&&I(),e.start(i);return}r(n),e.scroll(t.getState())}}}},WS=function(e){return function(t){return function(r){if(t(r),r.type==="PUBLISH_WHILE_DRAGGING"){var n=e.getState();n.phase==="DROP_PENDING"&&(n.isWaiting||e.dispatch(Ig({reason:n.reason})))}}}},HS=Bv,VS=function(e){var t=e.dimensionMarshal,r=e.focusMarshal,n=e.styleMarshal,i=e.getResponders,o=e.announce,l=e.autoScroller;return Mv(tS,HS(k0(wS(n),zS(t),yS(t),DS,FS,jS,WS,_S(l),OS,$S(r),BS(i,o))))},ha=function(){return{additions:{},removals:{},modified:{}}};function GS(e){var t=e.registry,r=e.callbacks,n=ha(),i=null,o=function(){i||(r.collectionStarting(),i=requestAnimationFrame(function(){i=null;var f=n,d=f.additions,c=f.removals,p=f.modified,m=Object.keys(d).map(function(g){return t.draggable.getById(g).getDimension(de)}).sort(function(g,v){return g.descriptor.index-v.descriptor.index}),y=Object.keys(p).map(function(g){var v=t.droppable.getById(g),h=v.callbacks.getScrollWhileDragging();return{droppableId:g,scroll:h}}),w={additions:m,removals:Object.keys(c),modified:y};n=ha(),r.publish(w)}))},l=function(f){var d=f.descriptor.id;n.additions[d]=f,n.modified[f.descriptor.droppableId]=!0,n.removals[d]&&delete n.removals[d],o()},a=function(f){var d=f.descriptor;n.removals[d.id]=!0,n.modified[d.droppableId]=!0,n.additions[d.id]&&delete n.additions[d.id],o()},u=function(){i&&(cancelAnimationFrame(i),i=null,n=ha())};return{add:l,remove:a,stop:u}}var kg=function(e){var t=e.scrollHeight,r=e.scrollWidth,n=e.height,i=e.width,o=ze({x:r,y:t},{x:i,y:n}),l={x:Math.max(0,o.x),y:Math.max(0,o.y)};return l},Tg=function(){var e=document.documentElement;return e||I(),e},Ag=function(){var e=Tg(),t=kg({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight});return t},qS=function(){var e=Rg(),t=Ag(),r=e.y,n=e.x,i=Tg(),o=i.clientWidth,l=i.clientHeight,a=n+o,u=r+l,s=st({top:r,left:n,right:a,bottom:u}),f={frame:s,scroll:{initial:e,current:e,max:t,diff:{value:de,displacement:de}}};return f},QS=function(e){var t=e.critical,r=e.scrollOptions,n=e.registry,i=qS(),o=i.scroll.current,l=t.droppable,a=n.droppable.getAllByType(l.type).map(function(d){return d.callbacks.getDimensionAndWatchScroll(o,r)}),u=n.draggable.getAllByType(t.draggable.type).map(function(d){return d.getDimension(o)}),s={draggables:ug(u),droppables:ag(a)},f={dimensions:s,critical:t,viewport:i};return f};function _d(e,t,r){if(r.descriptor.id===t.id||r.descriptor.type!==t.type)return!1;var n=e.droppable.getById(r.descriptor.droppableId);return n.descriptor.mode==="virtual"}var KS=function(e,t){var r=null,n=GS({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),i=function(p,m){e.droppable.exists(p)||I(),r&&t.updateDroppableIsEnabled({id:p,isEnabled:m})},o=function(p,m){r&&(e.droppable.exists(p)||I(),t.updateDroppableIsCombineEnabled({id:p,isCombineEnabled:m}))},l=function(p,m){r&&(e.droppable.exists(p)||I(),t.updateDroppableScroll({id:p,newScroll:m}))},a=function(p,m){r&&e.droppable.getById(p).callbacks.scroll(m)},u=function(){if(r){n.stop();var p=r.critical.droppable;e.droppable.getAllByType(p.type).forEach(function(m){return m.callbacks.dragStopped()}),r.unsubscribe(),r=null}},s=function(p){r||I();var m=r.critical.draggable;p.type==="ADDITION"&&_d(e,m,p.value)&&n.add(p.value),p.type==="REMOVAL"&&_d(e,m,p.value)&&n.remove(p.value)},f=function(p){r&&I();var m=e.draggable.getById(p.draggableId),y=e.droppable.getById(m.descriptor.droppableId),w={draggable:m.descriptor,droppable:y.descriptor},g=e.subscribe(s);return r={critical:w,unsubscribe:g},QS({critical:w,registry:e,scrollOptions:p.scrollOptions})},d={updateDroppableIsEnabled:i,updateDroppableIsCombineEnabled:o,scrollDroppable:a,updateDroppableScroll:l,startPublishing:f,stopPublishing:u};return d},Lg=function(e,t){return e.phase==="IDLE"?!0:e.phase!=="DROP_ANIMATING"||e.completed.result.draggableId===t?!1:e.completed.result.reason==="DROP"},YS=function(e){window.scrollBy(e.x,e.y)},XS=ce(function(e){return xl(e).filter(function(t){return!(!t.isEnabled||!t.frame)})}),ZS=function(t,r){var n=ir(XS(r),function(i){return i.frame||I(),yg(i.frame.pageMarginBox)(t)});return n},JS=function(e){var t=e.center,r=e.destination,n=e.droppables;if(r){var i=n[r];return i.frame?i:null}var o=ZS(t,n);return o},Yt={startFromPercentage:.25,maxScrollAtPercentage:.05,maxPixelScroll:28,ease:function(t){return Math.pow(t,2)},durationDampening:{stopDampeningAt:1200,accelerateAt:360}},ex=function(e,t){var r=e[t.size]*Yt.startFromPercentage,n=e[t.size]*Yt.maxScrollAtPercentage,i={startScrollingFrom:r,maxScrollValueAt:n};return i},Mg=function(e){var t=e.startOfRange,r=e.endOfRange,n=e.current,i=r-t;if(i===0)return 0;var o=n-t,l=o/i;return l},Ws=1,tx=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return Yt.maxPixelScroll;if(e===t.startScrollingFrom)return Ws;var r=Mg({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),n=1-r,i=Yt.maxPixelScroll*Yt.ease(n);return Math.ceil(i)},Wd=Yt.durationDampening.accelerateAt,Hd=Yt.durationDampening.stopDampeningAt,rx=function(e,t){var r=t,n=Hd,i=Date.now(),o=i-r;if(o>=Hd)return e;if(ot.height,o=r.width>t.width;return!o&&!i?n:o&&i?null:{x:o?0:n.x,y:i?0:n.y}},ix=og(function(e){return e===0?0:e}),Bg=function(e){var t=e.dragStartTime,r=e.container,n=e.subject,i=e.center,o=e.shouldUseTimeDampening,l={top:i.y-r.top,right:r.right-i.x,bottom:r.bottom-i.y,left:i.x-r.left},a=Gd({container:r,distanceToEdges:l,dragStartTime:t,axis:Ls,shouldUseTimeDampening:o}),u=Gd({container:r,distanceToEdges:l,dragStartTime:t,axis:dg,shouldUseTimeDampening:o}),s=ix({x:u,y:a});if(Kt(s,de))return null;var f=nx({container:r,subject:n,proposedScroll:s});return f?Kt(f,de)?null:f:null},ox=og(function(e){return e===0?0:e>0?1:-1}),Hs=function(){var e=function(r,n){return r<0?r:r>n?r-n:0};return function(t){var r=t.current,n=t.max,i=t.change,o=ge(r,i),l={x:e(o.x,n.x),y:e(o.y,n.y)};return Kt(l,de)?null:l}}(),Fg=function(t){var r=t.max,n=t.current,i=t.change,o={x:Math.max(n.x,r.x),y:Math.max(n.y,r.y)},l=ox(i),a=Hs({max:o,current:n,change:l});return!a||l.x!==0&&a.x===0||l.y!==0&&a.y===0},Vs=function(t,r){return Fg({current:t.scroll.current,max:t.scroll.max,change:r})},lx=function(t,r){if(!Vs(t,r))return null;var n=t.scroll.max,i=t.scroll.current;return Hs({current:i,max:n,change:r})},Gs=function(t,r){var n=t.frame;return n?Fg({current:n.scroll.current,max:n.scroll.max,change:r}):!1},ax=function(t,r){var n=t.frame;return!n||!Gs(t,r)?null:Hs({current:n.scroll.current,max:n.scroll.max,change:r})},ux=function(e){var t=e.viewport,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,l=Bg({dragStartTime:i,container:t.frame,subject:r,center:n,shouldUseTimeDampening:o});return l&&Vs(t,l)?l:null},sx=function(e){var t=e.droppable,r=e.subject,n=e.center,i=e.dragStartTime,o=e.shouldUseTimeDampening,l=t.frame;if(!l)return null;var a=Bg({dragStartTime:i,container:l.pageMarginBox,subject:r,center:n,shouldUseTimeDampening:o});return a&&Gs(t,a)?a:null},qd=function(e){var t=e.state,r=e.dragStartTime,n=e.shouldUseTimeDampening,i=e.scrollWindow,o=e.scrollDroppable,l=t.current.page.borderBoxCenter,a=t.dimensions.draggables[t.critical.draggable.id],u=a.page.marginBox;if(t.isWindowScrollAllowed){var s=t.viewport,f=ux({dragStartTime:r,viewport:s,subject:u,center:l,shouldUseTimeDampening:n});if(f){i(f);return}}var d=JS({center:l,destination:Ue(t.impact),droppables:t.dimensions.droppables});if(d){var c=sx({dragStartTime:r,droppable:d,subject:u,center:l,shouldUseTimeDampening:n});c&&o(d.descriptor.id,c)}},cx=function(e){var t=e.scrollWindow,r=e.scrollDroppable,n=ni(t),i=ni(r),o=null,l=function(f){o||I();var d=o,c=d.shouldUseTimeDampening,p=d.dragStartTime;qd({state:f,scrollWindow:n,scrollDroppable:i,dragStartTime:p,shouldUseTimeDampening:c})},a=function(f){o&&I();var d=Date.now(),c=!1,p=function(){c=!0};qd({state:f,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:p,scrollDroppable:p}),o={dragStartTime:d,shouldUseTimeDampening:c},c&&l(f)},u=function(){o&&(n.cancel(),i.cancel(),o=null)};return{start:a,stop:u,scroll:l}},dx=function(e){var t=e.move,r=e.scrollDroppable,n=e.scrollWindow,i=function(s,f){var d=ge(s.current.client.selection,f);t({client:d})},o=function(s,f){if(!Gs(s,f))return f;var d=ax(s,f);if(!d)return r(s.descriptor.id,f),null;var c=ze(f,d);r(s.descriptor.id,c);var p=ze(f,c);return p},l=function(s,f,d){if(!s||!Vs(f,d))return d;var c=lx(f,d);if(!c)return n(d),null;var p=ze(d,c);n(p);var m=ze(d,p);return m},a=function(s){var f=s.scrollJumpRequest;if(f){var d=Ue(s.impact);d||I();var c=o(s.dimensions.droppables[d],f);if(c){var p=s.viewport,m=l(s.isWindowScrollAllowed,p,c);m&&i(s,m)}}};return a},fx=function(e){var t=e.scrollDroppable,r=e.scrollWindow,n=e.move,i=cx({scrollWindow:r,scrollDroppable:t}),o=dx({move:n,scrollWindow:r,scrollDroppable:t}),l=function(s){if(s.phase==="DRAGGING"){if(s.movementMode==="FLUID"){i.scroll(s);return}s.scrollJumpRequest&&o(s)}},a={scroll:l,start:i.start,stop:i.stop};return a},Jr="data-rbd",en=function(){var e=Jr+"-drag-handle";return{base:e,draggableId:e+"-draggable-id",contextId:e+"-context-id"}}(),Su=function(){var e=Jr+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),px=function(){var e=Jr+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),Qd={contextId:Jr+"-scroll-container-context-id"},vx=function(t){return function(r){return"["+r+'="'+t+'"]'}},Sn=function(t,r){return t.map(function(n){var i=n.styles[r];return i?n.selector+" { "+i+" }":""}).join(" ")},gx="pointer-events: none;",mx=function(e){var t=vx(e),r=function(){var a=` cursor: -webkit-grab; cursor: grab; - `;return{selector:t(tn.contextId),styles:{always:` + `;return{selector:t(en.contextId),styles:{always:` -webkit-touch-callout: none; -webkit-tap-highlight-color: rgba(0,0,0,0); touch-action: manipulation; - `,resting:a,dragging:h2,dropAnimating:a}}}(),n=function(){var a=` + `,resting:a,dragging:gx,dropAnimating:a}}}(),n=function(){var a=` transition: `+Fn.outOfTheWay+`; - `;return{selector:t(Su.contextId),styles:{dragging:a,dropAnimating:a,userCancel:a}}}(),i={selector:t(g2.contextId),styles:{always:"overflow-anchor: none;"}},o={selector:"body",styles:{dragging:` + `;return{selector:t(Su.contextId),styles:{dragging:a,dropAnimating:a,userCancel:a}}}(),i={selector:t(px.contextId),styles:{always:"overflow-anchor: none;"}},o={selector:"body",styles:{dragging:` cursor: grabbing; cursor: -webkit-grabbing; user-select: none; @@ -124,7 +124,7 @@ Error generating stack: `+o.message+` -moz-user-select: none; -ms-user-select: none; overflow-anchor: none; - `}},l=[n,r,i,o];return{always:Sn(l,"always"),resting:Sn(l,"resting"),dragging:Sn(l,"dragging"),dropAnimating:Sn(l,"dropAnimating"),userCancel:Sn(l,"userCancel")}},_e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?E.useLayoutEffect:E.useEffect,ya=function(){var t=document.querySelector("head");return t||I(),t},Kd=function(t){var r=document.createElement("style");return t&&r.setAttribute("nonce",t),r.type="text/css",r};function w2(e,t){var r=$(function(){return y2(e)},[e]),n=E.useRef(null),i=E.useRef(null),o=A(ce(function(d){var c=i.current;c||I(),c.textContent=d}),[]),l=A(function(d){var c=n.current;c||I(),c.textContent=d},[]);_e(function(){!n.current&&!i.current||I();var d=Kd(t),c=Kd(t);return n.current=d,i.current=c,d.setAttribute(en+"-always",e),c.setAttribute(en+"-dynamic",e),ya().appendChild(d),ya().appendChild(c),l(r.always),o(r.resting),function(){var p=function(y){var w=y.current;w||I(),ya().removeChild(w),y.current=null};p(n),p(i)}},[t,l,o,r.always,r.resting,e]);var a=A(function(){return o(r.dragging)},[o,r.dragging]),u=A(function(d){if(d==="DROP"){o(r.dropAnimating);return}o(r.userCancel)},[o,r.dropAnimating,r.userCancel]),s=A(function(){i.current&&o(r.resting)},[o,r.resting]),f=$(function(){return{dragging:a,dropping:u,resting:s}},[a,u,s]);return f}var jg=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Dl(e){return e instanceof jg(e).HTMLElement}function S2(e,t){var r="["+tn.contextId+'="'+e+'"]',n=lg(document.querySelectorAll(r));if(!n.length)return null;var i=or(n,function(o){return o.getAttribute(tn.draggableId)===t});return!i||!Dl(i)?null:i}function x2(e){var t=E.useRef({}),r=E.useRef(null),n=E.useRef(null),i=E.useRef(!1),o=A(function(c,p){var m={id:c,focus:p};return t.current[c]=m,function(){var w=t.current,g=w[c];g!==m&&delete w[c]}},[]),l=A(function(c){var p=S2(e,c);p&&p!==document.activeElement&&p.focus()},[e]),a=A(function(c,p){r.current===c&&(r.current=p)},[]),u=A(function(){n.current||i.current&&(n.current=requestAnimationFrame(function(){n.current=null;var c=r.current;c&&l(c)}))},[l]),s=A(function(c){r.current=null;var p=document.activeElement;p&&p.getAttribute(tn.draggableId)===c&&(r.current=c)},[]);_e(function(){return i.current=!0,function(){i.current=!1;var c=n.current;c&&cancelAnimationFrame(c)}},[]);var f=$(function(){return{register:o,tryRecordFocus:s,tryRestoreFocusRecorded:u,tryShiftRecord:a}},[o,s,u,a]);return f}function E2(){var e={draggables:{},droppables:{}},t=[];function r(d){return t.push(d),function(){var p=t.indexOf(d);p!==-1&&t.splice(p,1)}}function n(d){t.length&&t.forEach(function(c){return c(d)})}function i(d){return e.draggables[d]||null}function o(d){var c=i(d);return c||I(),c}var l={register:function(c){e.draggables[c.descriptor.id]=c,n({type:"ADDITION",value:c})},update:function(c,p){var m=e.draggables[p.descriptor.id];m&&m.uniqueId===c.uniqueId&&(delete e.draggables[p.descriptor.id],e.draggables[c.descriptor.id]=c)},unregister:function(c){var p=c.descriptor.id,m=i(p);m&&c.uniqueId===m.uniqueId&&(delete e.draggables[p],n({type:"REMOVAL",value:c}))},getById:o,findById:i,exists:function(c){return!!i(c)},getAllByType:function(c){return $o(e.draggables).filter(function(p){return p.descriptor.type===c})}};function a(d){return e.droppables[d]||null}function u(d){var c=a(d);return c||I(),c}var s={register:function(c){e.droppables[c.descriptor.id]=c},unregister:function(c){var p=a(c.descriptor.id);p&&c.uniqueId===p.uniqueId&&delete e.droppables[c.descriptor.id]},getById:u,findById:a,exists:function(c){return!!a(c)},getAllByType:function(c){return $o(e.droppables).filter(function(p){return p.descriptor.type===c})}};function f(){e.draggables={},e.droppables={},t.length=0}return{draggable:l,droppable:s,subscribe:r,clean:f}}function C2(){var e=$(E2,[]);return E.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var qs=z.createContext(null),_o=function(){var e=document.body;return e||I(),e},b2={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},D2=function(t){return"rbd-announcement-"+t};function P2(e){var t=$(function(){return D2(e)},[e]),r=E.useRef(null);E.useEffect(function(){var o=document.createElement("div");return r.current=o,o.id=t,o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true"),L(o.style,b2),_o().appendChild(o),function(){setTimeout(function(){var u=_o();u.contains(o)&&u.removeChild(o),o===r.current&&(r.current=null)})}},[t]);var n=A(function(i){var o=r.current;if(o){o.textContent=i;return}},[]);return n}var I2=0,N2={separator:"::"};function Qs(e,t){return t===void 0&&(t=N2),$(function(){return""+e+t.separator+I2++},[t.separator,e])}function O2(e){var t=e.contextId,r=e.uniqueId;return"rbd-hidden-text-"+t+"-"+r}function R2(e){var t=e.contextId,r=e.text,n=Qs("hidden-text",{separator:"-"}),i=$(function(){return O2({contextId:t,uniqueId:n})},[n,t]);return E.useEffect(function(){var l=document.createElement("div");return l.id=i,l.textContent=r,l.style.display="none",_o().appendChild(l),function(){var u=_o();u.contains(l)&&u.removeChild(l)}},[i,r]),i}var Pl=z.createContext(null);function zg(e){var t=E.useRef(e);return E.useEffect(function(){t.current=e}),t}function k2(){var e=null;function t(){return!!e}function r(l){return l===e}function n(l){e&&I();var a={abandon:l};return e=a,a}function i(){e||I(),e=null}function o(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:r,claim:n,release:i,tryAbandon:o}}var T2=9,A2=13,Ks=27,$g=32,L2=33,M2=34,B2=35,F2=36,j2=37,z2=38,$2=39,U2=40,Gi,_2=(Gi={},Gi[A2]=!0,Gi[T2]=!0,Gi),Ug=function(e){_2[e.keyCode]&&e.preventDefault()},Il=function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=or(t,function(n){return"on"+n in document});return r||e}(),_g=0,Yd=5;function W2(e,t){return Math.abs(t.x-e.x)>=Yd||Math.abs(t.y-e.y)>=Yd}var Xd={type:"IDLE"};function H2(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(l){var a=l.button,u=l.clientX,s=l.clientY;if(a===_g){var f={x:u,y:s},d=n();if(d.type==="DRAGGING"){l.preventDefault(),d.actions.move(f);return}d.type!=="PENDING"&&I();var c=d.point;if(W2(c,f)){l.preventDefault();var p=d.actions.fluidLift(f);i({type:"DRAGGING",actions:p})}}}},{eventName:"mouseup",fn:function(l){var a=n();if(a.type!=="DRAGGING"){t();return}l.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"mousedown",fn:function(l){n().type==="DRAGGING"&&l.preventDefault(),t()}},{eventName:"keydown",fn:function(l){var a=n();if(a.type==="PENDING"){t();return}if(l.keyCode===Ks){l.preventDefault(),t();return}Ug(l)}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){n().type==="PENDING"&&t()}},{eventName:"webkitmouseforcedown",fn:function(l){var a=n();if(a.type==="IDLE"&&I(),a.actions.shouldRespectForcePress()){t();return}l.preventDefault()}},{eventName:Il,fn:t}]}function V2(e){var t=E.useRef(Xd),r=E.useRef(Qt),n=$(function(){return{eventName:"mousedown",fn:function(d){if(!d.defaultPrevented&&d.button===_g&&!(d.ctrlKey||d.metaKey||d.shiftKey||d.altKey)){var c=e.findClosestDraggableId(d);if(c){var p=e.tryGetLock(c,l,{sourceEvent:d});if(p){d.preventDefault();var m={x:d.clientX,y:d.clientY};r.current(),s(p,m)}}}}}},[e]),i=$(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(d){if(!d.defaultPrevented){var c=e.findClosestDraggableId(d);if(c){var p=e.findOptionsForDraggable(c);p&&(p.shouldRespectForcePress||e.canGetLock(c)&&d.preventDefault())}}}}},[e]),o=A(function(){var d={passive:!1,capture:!0};r.current=et(window,[i,n],d)},[i,n]),l=A(function(){var f=t.current;f.type!=="IDLE"&&(t.current=Xd,r.current(),o())},[o]),a=A(function(){var f=t.current;l(),f.type==="DRAGGING"&&f.actions.cancel({shouldBlockNextClick:!0}),f.type==="PENDING"&&f.actions.abort()},[l]),u=A(function(){var d={capture:!0,passive:!1},c=H2({cancel:a,completed:l,getPhase:function(){return t.current},setPhase:function(m){t.current=m}});r.current=et(window,c,d)},[a,l]),s=A(function(d,c){t.current.type!=="IDLE"&&I(),t.current={type:"PENDING",point:c,actions:d},u()},[u]);_e(function(){return o(),function(){r.current()}},[o])}var Dr;function G2(){}var q2=(Dr={},Dr[M2]=!0,Dr[L2]=!0,Dr[F2]=!0,Dr[B2]=!0,Dr);function Q2(e,t){function r(){t(),e.cancel()}function n(){t(),e.drop()}return[{eventName:"keydown",fn:function(o){if(o.keyCode===Ks){o.preventDefault(),r();return}if(o.keyCode===$g){o.preventDefault(),n();return}if(o.keyCode===U2){o.preventDefault(),e.moveDown();return}if(o.keyCode===z2){o.preventDefault(),e.moveUp();return}if(o.keyCode===$2){o.preventDefault(),e.moveRight();return}if(o.keyCode===j2){o.preventDefault(),e.moveLeft();return}if(q2[o.keyCode]){o.preventDefault();return}Ug(o)}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:Il,fn:r}]}function K2(e){var t=E.useRef(G2),r=$(function(){return{eventName:"keydown",fn:function(o){if(o.defaultPrevented||o.keyCode!==$g)return;var l=e.findClosestDraggableId(o);if(!l)return;var a=e.tryGetLock(l,f,{sourceEvent:o});if(!a)return;o.preventDefault();var u=!0,s=a.snapLift();t.current();function f(){u||I(),u=!1,t.current(),n()}t.current=et(window,Q2(s,f),{capture:!0,passive:!1})}}},[e]),n=A(function(){var o={passive:!1,capture:!0};t.current=et(window,[r],o)},[r]);_e(function(){return n(),function(){t.current()}},[n])}var wa={type:"IDLE"},Y2=120,X2=.15;function Z2(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(i){i.preventDefault()}},{eventName:"keydown",fn:function(i){if(r().type!=="DRAGGING"){t();return}i.keyCode===Ks&&i.preventDefault(),t()}},{eventName:Il,fn:t}]}function J2(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(o){var l=n();if(l.type!=="DRAGGING"){t();return}l.hasMoved=!0;var a=o.touches[0],u=a.clientX,s=a.clientY,f={x:u,y:s};o.preventDefault(),l.actions.move(f)}},{eventName:"touchend",fn:function(o){var l=n();if(l.type!=="DRAGGING"){t();return}o.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"touchcancel",fn:function(o){if(n().type!=="DRAGGING"){t();return}o.preventDefault(),t()}},{eventName:"touchforcechange",fn:function(o){var l=n();l.type==="IDLE"&&I();var a=o.touches[0];if(a){var u=a.force>=X2;if(u){var s=l.actions.shouldRespectForcePress();if(l.type==="PENDING"){s&&t();return}if(s){if(l.hasMoved){o.preventDefault();return}t();return}o.preventDefault()}}}},{eventName:Il,fn:t}]}function ex(e){var t=E.useRef(wa),r=E.useRef(Qt),n=A(function(){return t.current},[]),i=A(function(p){t.current=p},[]),o=$(function(){return{eventName:"touchstart",fn:function(p){if(!p.defaultPrevented){var m=e.findClosestDraggableId(p);if(m){var y=e.tryGetLock(m,a,{sourceEvent:p});if(y){var w=p.touches[0],g=w.clientX,v=w.clientY,h={x:g,y:v};r.current(),d(y,h)}}}}}},[e]),l=A(function(){var p={capture:!0,passive:!1};r.current=et(window,[o],p)},[o]),a=A(function(){var c=t.current;c.type!=="IDLE"&&(c.type==="PENDING"&&clearTimeout(c.longPressTimerId),i(wa),r.current(),l())},[l,i]),u=A(function(){var c=t.current;a(),c.type==="DRAGGING"&&c.actions.cancel({shouldBlockNextClick:!0}),c.type==="PENDING"&&c.actions.abort()},[a]),s=A(function(){var p={capture:!0,passive:!1},m={cancel:u,completed:a,getPhase:n},y=et(window,J2(m),p),w=et(window,Z2(m),p);r.current=function(){y(),w()}},[u,n,a]),f=A(function(){var p=n();p.type!=="PENDING"&&I();var m=p.actions.fluidLift(p.point);i({type:"DRAGGING",actions:m,hasMoved:!1})},[n,i]),d=A(function(p,m){n().type!=="IDLE"&&I();var y=setTimeout(f,Y2);i({type:"PENDING",point:m,actions:p,longPressTimerId:y}),s()},[s,n,i,f]);_e(function(){return l(),function(){r.current();var m=n();m.type==="PENDING"&&(clearTimeout(m.longPressTimerId),i(wa))}},[n,l,i]),_e(function(){var p=et(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return p},[])}var tx={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Wg(e,t){if(t==null)return!1;var r=!!tx[t.tagName.toLowerCase()];if(r)return!0;var n=t.getAttribute("contenteditable");return n==="true"||n===""?!0:t===e?!1:Wg(e,t.parentElement)}function rx(e,t){var r=t.target;return Dl(r)?Wg(e,r):!1}var nx=function(e){return st(e.getBoundingClientRect()).center};function ix(e){return e instanceof jg(e).Element}var ox=function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=or(t,function(n){return n in Element.prototype});return r||e}();function Hg(e,t){return e==null?null:e[ox](t)?e:Hg(e.parentElement,t)}function lx(e,t){return e.closest?e.closest(t):Hg(e,t)}function ax(e){return"["+tn.contextId+'="'+e+'"]'}function ux(e,t){var r=t.target;if(!ix(r))return null;var n=ax(e),i=lx(r,n);return!i||!Dl(i)?null:i}function sx(e,t){var r=ux(e,t);return r?r.getAttribute(tn.draggableId):null}function cx(e,t){var r="["+Su.contextId+'="'+e+'"]',n=lg(document.querySelectorAll(r)),i=or(n,function(o){return o.getAttribute(Su.id)===t});return!i||!Dl(i)?null:i}function dx(e){e.preventDefault()}function qi(e){var t=e.expected,r=e.phase,n=e.isLockActive;return e.shouldWarn,!(!n()||t!==r)}function Vg(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=n.draggable.findById(i);return!(!o||!o.options.isEnabled||!Lg(r.getState(),i))}function fx(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,o=e.draggableId,l=e.forceSensorStop,a=e.sourceEvent,u=Vg({lockAPI:t,store:n,registry:i,draggableId:o});if(!u)return null;var s=i.draggable.getById(o),f=cx(r,s.descriptor.id);if(!f||a&&!s.options.canDragInteractiveElements&&rx(f,a))return null;var d=t.claim(l||Qt),c="PRE_DRAG";function p(){return s.options.shouldRespectForcePress}function m(){return t.isActive(d)}function y(C,P){qi({expected:C,phase:c,isLockActive:m,shouldWarn:!0})&&n.dispatch(P())}var w=y.bind(null,"DRAGGING");function g(C){function P(){t.release(),c="COMPLETED"}c!=="PRE_DRAG"&&(P(),c!=="PRE_DRAG"&&I()),n.dispatch(oS(C.liftActionArgs)),c="DRAGGING";function N(T,k){if(k===void 0&&(k={shouldBlockNextClick:!1}),C.cleanup(),k.shouldBlockNextClick){var F=et(window,[{eventName:"click",fn:dx,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(F)}P(),n.dispatch(Ig({reason:T}))}return L({isActive:function(){return qi({expected:"DRAGGING",phase:c,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(k){return N("DROP",k)},cancel:function(k){return N("CANCEL",k)}},C.actions)}function v(C){var P=ni(function(T){w(function(){return Pg({client:T})})}),N=g({liftActionArgs:{id:o,clientSelection:C,movementMode:"FLUID"},cleanup:function(){return P.cancel()},actions:{move:P}});return L({},N,{move:P})}function h(){var C={moveUp:function(){return w(vS)},moveRight:function(){return w(mS)},moveDown:function(){return w(gS)},moveLeft:function(){return w(hS)}};return g({liftActionArgs:{id:o,clientSelection:nx(f),movementMode:"SNAP"},cleanup:Qt,actions:C})}function S(){var C=qi({expected:"PRE_DRAG",phase:c,isLockActive:m,shouldWarn:!0});C&&t.release()}var x={isActive:function(){return qi({expected:"PRE_DRAG",phase:c,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:v,snapLift:h,abort:S};return x}var px=[V2,K2,ex];function vx(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,o=e.enableDefaultSensors,l=[].concat(o?px:[],i||[]),a=E.useState(function(){return k2()})[0],u=A(function(v,h){v.isDragging&&!h.isDragging&&a.tryAbandon()},[a]);_e(function(){var v=r.getState(),h=r.subscribe(function(){var S=r.getState();u(v,S),v=S});return h},[a,r,u]),_e(function(){return a.tryAbandon},[a.tryAbandon]);for(var s=A(function(g){return Vg({lockAPI:a,registry:n,store:r,draggableId:g})},[a,n,r]),f=A(function(g,v,h){return fx({lockAPI:a,registry:n,contextId:t,store:r,draggableId:g,forceSensorStop:v,sourceEvent:h&&h.sourceEvent?h.sourceEvent:null})},[t,a,n,r]),d=A(function(g){return sx(t,g)},[t]),c=A(function(g){var v=n.draggable.findById(g);return v?v.options:null},[n.draggable]),p=A(function(){a.isClaimed()&&(a.tryAbandon(),r.getState().phase!=="IDLE"&&r.dispatch(zs()))},[a,r]),m=A(a.isClaimed,[a]),y=$(function(){return{canGetLock:s,tryGetLock:f,findClosestDraggableId:d,findOptionsForDraggable:c,tryReleaseLock:p,isLockClaimed:m}},[s,f,d,c,p,m]),w=0;w{const{apps:e}=ln(),{favoriteApps:t,setFavoriteApps:r}=vi(),[n,i]=E.useState([]);E.useEffect(()=>{let u=[];const s=Object.entries(t).filter(([c,{favorite:p}])=>p).map(([c,{order:p}])=>({...e.find(m=>m.package_name===c),order:p})).filter(c=>c),f=s.filter(c=>c.order!==void 0&&c.order!==null),d=s.filter(c=>c.order===void 0||c.order===null);for(let c=0;cc),d.forEach(c=>u.push(c)),i(u)},[e,t]);const o=ir(),l=(u,s,f)=>{const d=Array.from(u),[c]=d.splice(s,1);return d.splice(f,0,c),d},a=u=>{if(!u.destination)return;const f=l(n,u.source.index,u.destination.index).map(c=>c.package_name),d={...t};f.forEach((c,p)=>{d[c].order=p}),r(d),console.log({favoriteApps:t}),fetch(Pn("/order"),{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(f)}).catch(c=>console.error(c))};return b.jsx(wx,{onDragEnd:a,children:b.jsx(Xg,{droppableId:"droppable",direction:"horizontal",children:(u,s)=>b.jsxs("div",{ref:u.innerRef,...u.droppableProps,className:Te("flex-center flex-wrap border border-orange bg-orange/25 p-2 rounded !rounded-xl",{"gap-8":!o&&n.length>0,"gap-4":!o&&n.length===0,"mb-4":!o,"gap-4 mb-2":o,"flex-col":n.length===0}),children:[n.map(f=>b.jsx(rE,{draggableId:f.package_name,index:n.indexOf(f),children:(d,c)=>b.jsx("div",{ref:d.innerRef,...d.draggableProps,...d.dragHandleProps,children:b.jsx(Av,{app:f})})},f.package_name)),u.placeholder,n.length===0&&b.jsx("div",{children:"Favorite an app to pin it to your dock."})]})})})},sE=({expanded:e})=>{const{apps:t}=ln(),r=ir();return b.jsx("div",{className:Te("flex-center flex-wrap overflow-y-auto fixed h-screen w-screen backdrop-blur-md transition transition-all ease-in-out duration-500",{"top-[100vh]":!e,"top-0":e,"gap-4 p-8":r,"gap-8 p-16":!r}),children:t.length===0?b.jsx("div",{children:"Loading apps..."}):t.map(n=>b.jsx(Av,{app:n},n.package_name))})},cE=({package_name:e,widget:t,forceLarge:r})=>{var d,c,p,m,y;const{apps:n}=ln(),{widgetSettings:i,toggleWidgetVisibility:o}=vi(),[l,a]=E.useState(!1),u=ir(),s=r||((d=i[e])==null?void 0:d.size)==="large",f=!((c=i[e])!=null&&c.size)||((p=i[e])==null?void 0:p.size)==="small";return b.jsxs("div",{className:Te("self-stretch flex-col-center shadow-lg rounded-lg relative",{"max-w-1/2 min-w-1/2":s&&!u,"max-w-1/4 min-w-1/4":f&&!u,"w-full":u}),onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),children:[b.jsx("h6",{className:"flex-center my-2",children:((m=n.find(w=>w.package_name===e))==null?void 0:m.label)||e}),b.jsx("iframe",{srcDoc:t||"",className:"grow self-stretch","data-widget-code":t}),l&&b.jsx("button",{className:"absolute top-0 left-0 icon",onClick:()=>o(e),children:(y=i[e])!=null&&y.hide?b.jsx(E0,{}):b.jsx(x0,{})})]})},dE=()=>{const{apps:e}=ln(),{widgetSettings:t}=vi(),r=ir();return b.jsx("div",{className:Te("flex-center flex-wrap flex-grow self-stretch",{"gap-2 m-2":r,"gap-4 m-4":!r}),children:e.filter(n=>n.widget).map(({widget:n,package_name:i},o,l)=>{var a;return!((a=t[i])!=null&&a.hide)&&b.jsx(cE,{package_name:i,widget:n,forceLarge:l.length===1},i)})})},fE=({title:e,onClose:t,children:r})=>{const n=ir();return b.jsx("div",{className:"flex fixed top-0 left-0 w-full h-full bg-black bg-opacity-50 place-items-center place-content-center backdrop-blur-md",children:b.jsxs("div",{className:Te("flex flex-col rounded-lg bg-black py-4 shadow-lg max-h-screen overflow-y-auto",{"min-w-[500px] px-8 w-1/2":!n,"px-4 w-full":n}),children:[b.jsxs("div",{className:"flex",children:[b.jsx("h1",{className:"grow",children:e}),b.jsx("button",{className:"icon self-start",onClick:t,children:b.jsx(D0,{})})]}),r]})})},pE=()=>{const{apps:e,setShowWidgetsSettings:t}=ln(),{widgetSettings:r,toggleWidgetVisibility:n,setWidgetSize:i}=vi();return b.jsx(fE,{title:"Widget Settings",onClose:()=>t(!1),children:b.jsxs("div",{className:"flex-col-center gap-4 mt-4",children:[e.filter(o=>o.widget).map(({label:o,package_name:l})=>{var a,u,s,f;return b.jsxs("div",{className:"flex items-start bg-white/10 rounded p-2 self-stretch",children:[b.jsx("h4",{className:"mr-4 grow",children:o}),b.jsxs("div",{className:"flex flex-col gap-4 grow",children:[b.jsxs("div",{className:"flex-center gap-2",children:[b.jsx("span",{children:"Show widget"}),b.jsxs("div",{className:"flex relative grow",children:[b.jsx("input",{type:"checkbox",checked:!((a=r[l])!=null&&a.hide),onChange:()=>n(l),autoFocus:!0}),!((u=r[l])!=null&&u.hide)&&b.jsx("span",{onClick:()=>n(l),className:"checkmark",children:"✓"})]})]}),b.jsxs("div",{className:"flex-center gap-2",children:[b.jsx("span",{children:"Widget size"}),b.jsxs("div",{className:"flex-center grow",children:[b.jsx("button",{className:Te({clear:((s=r[l])==null?void 0:s.size)==="large"}),onClick:()=>i(l,"small"),children:"Small"}),b.jsx("button",{className:Te({clear:((f=r[l])==null?void 0:f.size)!=="large"}),onClick:()=>i(l,"large"),children:"Large"})]})]})]})]})}),b.jsx("button",{className:"clear",onClick:()=>window.location.href="/settings:settings:sys",children:"Looking for system settings?"})]})})},vE="/assets/valet-icon-COgctyxf.png";function gE(){const[e,t]=E.useState(""),[r,n]=E.useState(""),[i,o]=E.useState(!1),{setApps:l,isHosted:a,fetchHostedStatus:u,showWidgetsSettings:s,setShowWidgetsSettings:f}=ln(),d=ir(),c=()=>{Promise.all([fetch(Pn("/apps"),{credentials:"include"}).then(p=>p.json()).catch(()=>[]),fetch(Pn("/main:app_store:sys/apps"),{credentials:"include"}).then(p=>p.json()).catch(()=>[]),fetch(Pn("/version"),{credentials:"include"}).then(p=>p.text()).catch(()=>"")]).then(([p,m,y])=>{n(y);const w=p.map(g=>({...g,is_favorite:!1}));m.forEach(g=>{const v=w.findIndex(h=>h.package_name===g.package);v===-1?w.push({package_name:g.package,path:"",label:g.package,state:g.state,is_favorite:!1}):w[v]={...w[v],state:g.state}}),l(w);for(let g=0;g<5&&w.find(v=>v.package_name==="app_store"&&!v.base64_icon);g++)c()})};return E.useEffect(()=>{c()},[e]),E.useEffect(()=>{fetch(Pn("/our"),{credentials:"include"}).then(p=>p.text()).then(p=>{p.match(/^[a-zA-Z0-9\-\.]+\.[a-zA-Z]+$/)&&(t(p),u(p))})},[e]),b.jsxs("div",{className:Te("flex-col-center relative w-screen overflow-hidden special-bg-homepage min-h-screen",{}),children:[b.jsxs("h5",{className:Te("absolute flex gap-4 c",{"top-8 left-8 right-8":!d,"top-2 left-2 right-2":d}),children:[a&&b.jsx("img",{src:vE,className:"!w-12 !h-12 !p-1 button icon object-cover",onClick:()=>window.location.href="https://valet.kinode.org/"}),b.jsx("span",{children:e}),b.jsxs("span",{className:"bg-white/10 rounded p-1",children:["v",r]}),b.jsx("button",{className:"icon ml-auto",onClick:()=>f(!0),children:b.jsx(b0,{})})]}),d?b.jsxs("div",{className:"flex-center gap-4 p-8 mt-8 max-w-screen",children:[b.jsx(cd,{}),b.jsx(sd,{})]}):b.jsxs("div",{className:Te("flex-col-center mx-0 gap-4 mt-8 mb-4"),children:[b.jsx("h3",{className:"text-center",children:"Welcome to"}),b.jsx(sd,{}),b.jsx(cd,{})]}),b.jsx(uE,{}),b.jsx(dE,{}),b.jsxs("button",{className:Te("fixed alt clear flex-center self-center z-20",{"bottom-2 right-2":d,"bottom-8 right-8":!d}),onClick:()=>o(!i),children:[i?b.jsx(w0,{}):b.jsx(S0,{}),b.jsx("span",{className:"ml-2",children:i?"Collapse":"All apps"})]}),b.jsx(sE,{expanded:i}),s&&b.jsx(pE,{})]})}/** + `}},l=[n,r,i,o];return{always:Sn(l,"always"),resting:Sn(l,"resting"),dragging:Sn(l,"dragging"),dropAnimating:Sn(l,"dropAnimating"),userCancel:Sn(l,"userCancel")}},_e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?E.useLayoutEffect:E.useEffect,ya=function(){var t=document.querySelector("head");return t||I(),t},Kd=function(t){var r=document.createElement("style");return t&&r.setAttribute("nonce",t),r.type="text/css",r};function hx(e,t){var r=$(function(){return mx(e)},[e]),n=E.useRef(null),i=E.useRef(null),o=A(ce(function(d){var c=i.current;c||I(),c.textContent=d}),[]),l=A(function(d){var c=n.current;c||I(),c.textContent=d},[]);_e(function(){!n.current&&!i.current||I();var d=Kd(t),c=Kd(t);return n.current=d,i.current=c,d.setAttribute(Jr+"-always",e),c.setAttribute(Jr+"-dynamic",e),ya().appendChild(d),ya().appendChild(c),l(r.always),o(r.resting),function(){var p=function(y){var w=y.current;w||I(),ya().removeChild(w),y.current=null};p(n),p(i)}},[t,l,o,r.always,r.resting,e]);var a=A(function(){return o(r.dragging)},[o,r.dragging]),u=A(function(d){if(d==="DROP"){o(r.dropAnimating);return}o(r.userCancel)},[o,r.dropAnimating,r.userCancel]),s=A(function(){i.current&&o(r.resting)},[o,r.resting]),f=$(function(){return{dragging:a,dropping:u,resting:s}},[a,u,s]);return f}var jg=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Dl(e){return e instanceof jg(e).HTMLElement}function yx(e,t){var r="["+en.contextId+'="'+e+'"]',n=lg(document.querySelectorAll(r));if(!n.length)return null;var i=ir(n,function(o){return o.getAttribute(en.draggableId)===t});return!i||!Dl(i)?null:i}function wx(e){var t=E.useRef({}),r=E.useRef(null),n=E.useRef(null),i=E.useRef(!1),o=A(function(c,p){var m={id:c,focus:p};return t.current[c]=m,function(){var w=t.current,g=w[c];g!==m&&delete w[c]}},[]),l=A(function(c){var p=yx(e,c);p&&p!==document.activeElement&&p.focus()},[e]),a=A(function(c,p){r.current===c&&(r.current=p)},[]),u=A(function(){n.current||i.current&&(n.current=requestAnimationFrame(function(){n.current=null;var c=r.current;c&&l(c)}))},[l]),s=A(function(c){r.current=null;var p=document.activeElement;p&&p.getAttribute(en.draggableId)===c&&(r.current=c)},[]);_e(function(){return i.current=!0,function(){i.current=!1;var c=n.current;c&&cancelAnimationFrame(c)}},[]);var f=$(function(){return{register:o,tryRecordFocus:s,tryRestoreFocusRecorded:u,tryShiftRecord:a}},[o,s,u,a]);return f}function Sx(){var e={draggables:{},droppables:{}},t=[];function r(d){return t.push(d),function(){var p=t.indexOf(d);p!==-1&&t.splice(p,1)}}function n(d){t.length&&t.forEach(function(c){return c(d)})}function i(d){return e.draggables[d]||null}function o(d){var c=i(d);return c||I(),c}var l={register:function(c){e.draggables[c.descriptor.id]=c,n({type:"ADDITION",value:c})},update:function(c,p){var m=e.draggables[p.descriptor.id];m&&m.uniqueId===c.uniqueId&&(delete e.draggables[p.descriptor.id],e.draggables[c.descriptor.id]=c)},unregister:function(c){var p=c.descriptor.id,m=i(p);m&&c.uniqueId===m.uniqueId&&(delete e.draggables[p],n({type:"REMOVAL",value:c}))},getById:o,findById:i,exists:function(c){return!!i(c)},getAllByType:function(c){return $o(e.draggables).filter(function(p){return p.descriptor.type===c})}};function a(d){return e.droppables[d]||null}function u(d){var c=a(d);return c||I(),c}var s={register:function(c){e.droppables[c.descriptor.id]=c},unregister:function(c){var p=a(c.descriptor.id);p&&c.uniqueId===p.uniqueId&&delete e.droppables[c.descriptor.id]},getById:u,findById:a,exists:function(c){return!!a(c)},getAllByType:function(c){return $o(e.droppables).filter(function(p){return p.descriptor.type===c})}};function f(){e.draggables={},e.droppables={},t.length=0}return{draggable:l,droppable:s,subscribe:r,clean:f}}function xx(){var e=$(Sx,[]);return E.useEffect(function(){return function(){requestAnimationFrame(e.clean)}},[e]),e}var qs=z.createContext(null),_o=function(){var e=document.body;return e||I(),e},Ex={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Cx=function(t){return"rbd-announcement-"+t};function bx(e){var t=$(function(){return Cx(e)},[e]),r=E.useRef(null);E.useEffect(function(){var o=document.createElement("div");return r.current=o,o.id=t,o.setAttribute("aria-live","assertive"),o.setAttribute("aria-atomic","true"),L(o.style,Ex),_o().appendChild(o),function(){setTimeout(function(){var u=_o();u.contains(o)&&u.removeChild(o),o===r.current&&(r.current=null)})}},[t]);var n=A(function(i){var o=r.current;if(o){o.textContent=i;return}},[]);return n}var Dx=0,Px={separator:"::"};function Qs(e,t){return t===void 0&&(t=Px),$(function(){return""+e+t.separator+Dx++},[t.separator,e])}function Ix(e){var t=e.contextId,r=e.uniqueId;return"rbd-hidden-text-"+t+"-"+r}function Nx(e){var t=e.contextId,r=e.text,n=Qs("hidden-text",{separator:"-"}),i=$(function(){return Ix({contextId:t,uniqueId:n})},[n,t]);return E.useEffect(function(){var l=document.createElement("div");return l.id=i,l.textContent=r,l.style.display="none",_o().appendChild(l),function(){var u=_o();u.contains(l)&&u.removeChild(l)}},[i,r]),i}var Pl=z.createContext(null);function zg(e){var t=E.useRef(e);return E.useEffect(function(){t.current=e}),t}function Ox(){var e=null;function t(){return!!e}function r(l){return l===e}function n(l){e&&I();var a={abandon:l};return e=a,a}function i(){e||I(),e=null}function o(){e&&(e.abandon(),i())}return{isClaimed:t,isActive:r,claim:n,release:i,tryAbandon:o}}var Rx=9,kx=13,Ks=27,$g=32,Tx=33,Ax=34,Lx=35,Mx=36,Bx=37,Fx=38,jx=39,zx=40,Gi,$x=(Gi={},Gi[kx]=!0,Gi[Rx]=!0,Gi),Ug=function(e){$x[e.keyCode]&&e.preventDefault()},Il=function(){var e="visibilitychange";if(typeof document>"u")return e;var t=[e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],r=ir(t,function(n){return"on"+n in document});return r||e}(),_g=0,Yd=5;function Ux(e,t){return Math.abs(t.x-e.x)>=Yd||Math.abs(t.y-e.y)>=Yd}var Xd={type:"IDLE"};function _x(e){var t=e.cancel,r=e.completed,n=e.getPhase,i=e.setPhase;return[{eventName:"mousemove",fn:function(l){var a=l.button,u=l.clientX,s=l.clientY;if(a===_g){var f={x:u,y:s},d=n();if(d.type==="DRAGGING"){l.preventDefault(),d.actions.move(f);return}d.type!=="PENDING"&&I();var c=d.point;if(Ux(c,f)){l.preventDefault();var p=d.actions.fluidLift(f);i({type:"DRAGGING",actions:p})}}}},{eventName:"mouseup",fn:function(l){var a=n();if(a.type!=="DRAGGING"){t();return}l.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"mousedown",fn:function(l){n().type==="DRAGGING"&&l.preventDefault(),t()}},{eventName:"keydown",fn:function(l){var a=n();if(a.type==="PENDING"){t();return}if(l.keyCode===Ks){l.preventDefault(),t();return}Ug(l)}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){n().type==="PENDING"&&t()}},{eventName:"webkitmouseforcedown",fn:function(l){var a=n();if(a.type==="IDLE"&&I(),a.actions.shouldRespectForcePress()){t();return}l.preventDefault()}},{eventName:Il,fn:t}]}function Wx(e){var t=E.useRef(Xd),r=E.useRef(Qt),n=$(function(){return{eventName:"mousedown",fn:function(d){if(!d.defaultPrevented&&d.button===_g&&!(d.ctrlKey||d.metaKey||d.shiftKey||d.altKey)){var c=e.findClosestDraggableId(d);if(c){var p=e.tryGetLock(c,l,{sourceEvent:d});if(p){d.preventDefault();var m={x:d.clientX,y:d.clientY};r.current(),s(p,m)}}}}}},[e]),i=$(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(d){if(!d.defaultPrevented){var c=e.findClosestDraggableId(d);if(c){var p=e.findOptionsForDraggable(c);p&&(p.shouldRespectForcePress||e.canGetLock(c)&&d.preventDefault())}}}}},[e]),o=A(function(){var d={passive:!1,capture:!0};r.current=et(window,[i,n],d)},[i,n]),l=A(function(){var f=t.current;f.type!=="IDLE"&&(t.current=Xd,r.current(),o())},[o]),a=A(function(){var f=t.current;l(),f.type==="DRAGGING"&&f.actions.cancel({shouldBlockNextClick:!0}),f.type==="PENDING"&&f.actions.abort()},[l]),u=A(function(){var d={capture:!0,passive:!1},c=_x({cancel:a,completed:l,getPhase:function(){return t.current},setPhase:function(m){t.current=m}});r.current=et(window,c,d)},[a,l]),s=A(function(d,c){t.current.type!=="IDLE"&&I(),t.current={type:"PENDING",point:c,actions:d},u()},[u]);_e(function(){return o(),function(){r.current()}},[o])}var br;function Hx(){}var Vx=(br={},br[Ax]=!0,br[Tx]=!0,br[Mx]=!0,br[Lx]=!0,br);function Gx(e,t){function r(){t(),e.cancel()}function n(){t(),e.drop()}return[{eventName:"keydown",fn:function(o){if(o.keyCode===Ks){o.preventDefault(),r();return}if(o.keyCode===$g){o.preventDefault(),n();return}if(o.keyCode===zx){o.preventDefault(),e.moveDown();return}if(o.keyCode===Fx){o.preventDefault(),e.moveUp();return}if(o.keyCode===jx){o.preventDefault(),e.moveRight();return}if(o.keyCode===Bx){o.preventDefault(),e.moveLeft();return}if(Vx[o.keyCode]){o.preventDefault();return}Ug(o)}},{eventName:"mousedown",fn:r},{eventName:"mouseup",fn:r},{eventName:"click",fn:r},{eventName:"touchstart",fn:r},{eventName:"resize",fn:r},{eventName:"wheel",fn:r,options:{passive:!0}},{eventName:Il,fn:r}]}function qx(e){var t=E.useRef(Hx),r=$(function(){return{eventName:"keydown",fn:function(o){if(o.defaultPrevented||o.keyCode!==$g)return;var l=e.findClosestDraggableId(o);if(!l)return;var a=e.tryGetLock(l,f,{sourceEvent:o});if(!a)return;o.preventDefault();var u=!0,s=a.snapLift();t.current();function f(){u||I(),u=!1,t.current(),n()}t.current=et(window,Gx(s,f),{capture:!0,passive:!1})}}},[e]),n=A(function(){var o={passive:!1,capture:!0};t.current=et(window,[r],o)},[r]);_e(function(){return n(),function(){t.current()}},[n])}var wa={type:"IDLE"},Qx=120,Kx=.15;function Yx(e){var t=e.cancel,r=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(i){i.preventDefault()}},{eventName:"keydown",fn:function(i){if(r().type!=="DRAGGING"){t();return}i.keyCode===Ks&&i.preventDefault(),t()}},{eventName:Il,fn:t}]}function Xx(e){var t=e.cancel,r=e.completed,n=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(o){var l=n();if(l.type!=="DRAGGING"){t();return}l.hasMoved=!0;var a=o.touches[0],u=a.clientX,s=a.clientY,f={x:u,y:s};o.preventDefault(),l.actions.move(f)}},{eventName:"touchend",fn:function(o){var l=n();if(l.type!=="DRAGGING"){t();return}o.preventDefault(),l.actions.drop({shouldBlockNextClick:!0}),r()}},{eventName:"touchcancel",fn:function(o){if(n().type!=="DRAGGING"){t();return}o.preventDefault(),t()}},{eventName:"touchforcechange",fn:function(o){var l=n();l.type==="IDLE"&&I();var a=o.touches[0];if(a){var u=a.force>=Kx;if(u){var s=l.actions.shouldRespectForcePress();if(l.type==="PENDING"){s&&t();return}if(s){if(l.hasMoved){o.preventDefault();return}t();return}o.preventDefault()}}}},{eventName:Il,fn:t}]}function Zx(e){var t=E.useRef(wa),r=E.useRef(Qt),n=A(function(){return t.current},[]),i=A(function(p){t.current=p},[]),o=$(function(){return{eventName:"touchstart",fn:function(p){if(!p.defaultPrevented){var m=e.findClosestDraggableId(p);if(m){var y=e.tryGetLock(m,a,{sourceEvent:p});if(y){var w=p.touches[0],g=w.clientX,v=w.clientY,h={x:g,y:v};r.current(),d(y,h)}}}}}},[e]),l=A(function(){var p={capture:!0,passive:!1};r.current=et(window,[o],p)},[o]),a=A(function(){var c=t.current;c.type!=="IDLE"&&(c.type==="PENDING"&&clearTimeout(c.longPressTimerId),i(wa),r.current(),l())},[l,i]),u=A(function(){var c=t.current;a(),c.type==="DRAGGING"&&c.actions.cancel({shouldBlockNextClick:!0}),c.type==="PENDING"&&c.actions.abort()},[a]),s=A(function(){var p={capture:!0,passive:!1},m={cancel:u,completed:a,getPhase:n},y=et(window,Xx(m),p),w=et(window,Yx(m),p);r.current=function(){y(),w()}},[u,n,a]),f=A(function(){var p=n();p.type!=="PENDING"&&I();var m=p.actions.fluidLift(p.point);i({type:"DRAGGING",actions:m,hasMoved:!1})},[n,i]),d=A(function(p,m){n().type!=="IDLE"&&I();var y=setTimeout(f,Qx);i({type:"PENDING",point:m,actions:p,longPressTimerId:y}),s()},[s,n,i,f]);_e(function(){return l(),function(){r.current();var m=n();m.type==="PENDING"&&(clearTimeout(m.longPressTimerId),i(wa))}},[n,l,i]),_e(function(){var p=et(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}]);return p},[])}var Jx={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Wg(e,t){if(t==null)return!1;var r=!!Jx[t.tagName.toLowerCase()];if(r)return!0;var n=t.getAttribute("contenteditable");return n==="true"||n===""?!0:t===e?!1:Wg(e,t.parentElement)}function e2(e,t){var r=t.target;return Dl(r)?Wg(e,r):!1}var t2=function(e){return st(e.getBoundingClientRect()).center};function r2(e){return e instanceof jg(e).Element}var n2=function(){var e="matches";if(typeof document>"u")return e;var t=[e,"msMatchesSelector","webkitMatchesSelector"],r=ir(t,function(n){return n in Element.prototype});return r||e}();function Hg(e,t){return e==null?null:e[n2](t)?e:Hg(e.parentElement,t)}function i2(e,t){return e.closest?e.closest(t):Hg(e,t)}function o2(e){return"["+en.contextId+'="'+e+'"]'}function l2(e,t){var r=t.target;if(!r2(r))return null;var n=o2(e),i=i2(r,n);return!i||!Dl(i)?null:i}function a2(e,t){var r=l2(e,t);return r?r.getAttribute(en.draggableId):null}function u2(e,t){var r="["+Su.contextId+'="'+e+'"]',n=lg(document.querySelectorAll(r)),i=ir(n,function(o){return o.getAttribute(Su.id)===t});return!i||!Dl(i)?null:i}function s2(e){e.preventDefault()}function qi(e){var t=e.expected,r=e.phase,n=e.isLockActive;return e.shouldWarn,!(!n()||t!==r)}function Vg(e){var t=e.lockAPI,r=e.store,n=e.registry,i=e.draggableId;if(t.isClaimed())return!1;var o=n.draggable.findById(i);return!(!o||!o.options.isEnabled||!Lg(r.getState(),i))}function c2(e){var t=e.lockAPI,r=e.contextId,n=e.store,i=e.registry,o=e.draggableId,l=e.forceSensorStop,a=e.sourceEvent,u=Vg({lockAPI:t,store:n,registry:i,draggableId:o});if(!u)return null;var s=i.draggable.getById(o),f=u2(r,s.descriptor.id);if(!f||a&&!s.options.canDragInteractiveElements&&e2(f,a))return null;var d=t.claim(l||Qt),c="PRE_DRAG";function p(){return s.options.shouldRespectForcePress}function m(){return t.isActive(d)}function y(C,P){qi({expected:C,phase:c,isLockActive:m,shouldWarn:!0})&&n.dispatch(P())}var w=y.bind(null,"DRAGGING");function g(C){function P(){t.release(),c="COMPLETED"}c!=="PRE_DRAG"&&(P(),c!=="PRE_DRAG"&&I()),n.dispatch(nS(C.liftActionArgs)),c="DRAGGING";function N(T,k){if(k===void 0&&(k={shouldBlockNextClick:!1}),C.cleanup(),k.shouldBlockNextClick){var F=et(window,[{eventName:"click",fn:s2,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(F)}P(),n.dispatch(Ig({reason:T}))}return L({isActive:function(){return qi({expected:"DRAGGING",phase:c,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(k){return N("DROP",k)},cancel:function(k){return N("CANCEL",k)}},C.actions)}function v(C){var P=ni(function(T){w(function(){return Pg({client:T})})}),N=g({liftActionArgs:{id:o,clientSelection:C,movementMode:"FLUID"},cleanup:function(){return P.cancel()},actions:{move:P}});return L({},N,{move:P})}function h(){var C={moveUp:function(){return w(fS)},moveRight:function(){return w(vS)},moveDown:function(){return w(pS)},moveLeft:function(){return w(gS)}};return g({liftActionArgs:{id:o,clientSelection:t2(f),movementMode:"SNAP"},cleanup:Qt,actions:C})}function S(){var C=qi({expected:"PRE_DRAG",phase:c,isLockActive:m,shouldWarn:!0});C&&t.release()}var x={isActive:function(){return qi({expected:"PRE_DRAG",phase:c,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:v,snapLift:h,abort:S};return x}var d2=[Wx,qx,Zx];function f2(e){var t=e.contextId,r=e.store,n=e.registry,i=e.customSensors,o=e.enableDefaultSensors,l=[].concat(o?d2:[],i||[]),a=E.useState(function(){return Ox()})[0],u=A(function(v,h){v.isDragging&&!h.isDragging&&a.tryAbandon()},[a]);_e(function(){var v=r.getState(),h=r.subscribe(function(){var S=r.getState();u(v,S),v=S});return h},[a,r,u]),_e(function(){return a.tryAbandon},[a.tryAbandon]);for(var s=A(function(g){return Vg({lockAPI:a,registry:n,store:r,draggableId:g})},[a,n,r]),f=A(function(g,v,h){return c2({lockAPI:a,registry:n,contextId:t,store:r,draggableId:g,forceSensorStop:v,sourceEvent:h&&h.sourceEvent?h.sourceEvent:null})},[t,a,n,r]),d=A(function(g){return a2(t,g)},[t]),c=A(function(g){var v=n.draggable.findById(g);return v?v.options:null},[n.draggable]),p=A(function(){a.isClaimed()&&(a.tryAbandon(),r.getState().phase!=="IDLE"&&r.dispatch(zs()))},[a,r]),m=A(a.isClaimed,[a]),y=$(function(){return{canGetLock:s,tryGetLock:f,findClosestDraggableId:d,findOptionsForDraggable:c,tryReleaseLock:p,isLockClaimed:m}},[s,f,d,c,p,m]),w=0;w{const{apps:e}=on(),{favoriteApps:t,setFavoriteApps:r}=vi(),[n,i]=E.useState([]);E.useEffect(()=>{let u=[];const s=Object.entries(t).filter(([c,{favorite:p}])=>p).map(([c,{order:p}])=>({...e.find(m=>m.package_name===c),order:p})).filter(c=>c),f=s.filter(c=>c.order!==void 0&&c.order!==null),d=s.filter(c=>c.order===void 0||c.order===null);for(let c=0;cc),d.forEach(c=>u.push(c)),i(u)},[e,t]);const o=nr(),l=(u,s,f)=>{const d=Array.from(u),[c]=d.splice(s,1);return d.splice(f,0,c),d},a=u=>{if(!u.destination)return;const f=l(n,u.source.index,u.destination.index).map(c=>c.package_name),d={...t};f.forEach((c,p)=>{d[c].order=p}),r(d),console.log({favoriteApps:t}),fetch(Pn("/order"),{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify(f)}).catch(c=>console.error(c))};return b.jsx(h2,{onDragEnd:a,children:b.jsx(Xg,{droppableId:"droppable",direction:"horizontal",children:(u,s)=>b.jsxs("div",{ref:u.innerRef,...u.droppableProps,className:Te("flex-center flex-wrap border border-orange bg-orange/25 p-2 rounded !rounded-xl",{"gap-8":!o&&n.length>0,"gap-4":!o&&n.length===0,"mb-4":!o,"gap-4 mb-2":o,"flex-col":n.length===0}),children:[n.map(f=>b.jsx(eE,{draggableId:f.package_name,index:n.indexOf(f),children:(d,c)=>b.jsx("div",{ref:d.innerRef,...d.draggableProps,...d.dragHandleProps,children:b.jsx(Av,{app:f})})},f.package_name)),u.placeholder,n.length===0&&b.jsx("div",{children:"Favorite an app to pin it to your dock."})]})})})},aE=({expanded:e})=>{const{apps:t}=on(),r=nr();return b.jsx("div",{className:Te("flex-center flex-wrap overflow-y-auto fixed h-screen w-screen backdrop-blur-md transition transition-all ease-in-out duration-500",{"top-[100vh]":!e,"top-0":e,"gap-4 p-8":r,"gap-8 p-16":!r}),children:t.length===0?b.jsx("div",{children:"Loading apps..."}):t.map(n=>b.jsx(Av,{app:n},n.package_name))})},uE=({package_name:e,widget:t,forceLarge:r})=>{var f,d,c,p;const{apps:n}=on(),{widgetSettings:i}=vi(),o=nr(),l=r||((f=i[e])==null?void 0:f.size)==="large",a=!((d=i[e])!=null&&d.size)||((c=i[e])==null?void 0:c.size)==="small",[u,s]=E.useState(window.innerHeight>window.innerWidth);return E.useEffect(()=>{s(window.innerHeight>window.innerWidth)},[window.innerHeight,window.innerWidth]),b.jsxs("div",{className:Te("self-stretch flex-col-center shadow-lg rounded-lg relative",{"max-w-1/2 min-w-1/2":l&&!o,"min-w-1/4":a&&!o,"max-w-1/4":a&&!u,"w-full":o}),children:[b.jsx("h6",{className:"flex-center my-2",children:((p=n.find(m=>m.package_name===e))==null?void 0:p.label)||e}),b.jsx("iframe",{srcDoc:t||"",className:"grow self-stretch","data-widget-code":t})]})},sE=()=>{const{apps:e}=on(),{widgetSettings:t}=vi(),r=nr();return b.jsx("div",{className:Te("flex-center flex-wrap flex-grow self-stretch",{"gap-2 m-2":r,"gap-4 m-4":!r}),children:e.filter(n=>n.widget).map(({widget:n,package_name:i},o,l)=>{var a;return!((a=t[i])!=null&&a.hide)&&b.jsx(uE,{package_name:i,widget:n,forceLarge:l.length===1},i)})})},cE=({title:e,onClose:t,children:r})=>{const n=nr();return b.jsx("div",{className:"flex fixed top-0 left-0 w-full h-full bg-black bg-opacity-50 place-items-center place-content-center backdrop-blur-md",children:b.jsxs("div",{className:Te("flex flex-col rounded-lg bg-black py-4 shadow-lg max-h-screen overflow-y-auto",{"min-w-[500px] px-8 w-1/2":!n,"px-4 w-full":n}),children:[b.jsxs("div",{className:"flex",children:[b.jsx("h1",{className:"grow",children:e}),b.jsx("button",{className:"icon self-start",onClick:t,children:b.jsx(C0,{})})]}),r]})})},dE=()=>{const{apps:e,setShowWidgetsSettings:t}=on(),{widgetSettings:r,toggleWidgetVisibility:n,setWidgetSize:i}=vi();return b.jsx(cE,{title:"Widget Settings",onClose:()=>t(!1),children:b.jsxs("div",{className:"flex-col-center gap-4 mt-4",children:[e.filter(o=>o.widget).map(({label:o,package_name:l})=>{var a,u,s,f;return b.jsxs("div",{className:"flex items-start bg-white/10 rounded p-2 self-stretch",children:[b.jsx("h4",{className:"mr-4 grow",children:o}),b.jsxs("div",{className:"flex flex-col gap-4 grow",children:[b.jsxs("div",{className:"flex-center gap-2",children:[b.jsx("span",{children:"Show widget"}),b.jsxs("div",{className:"flex relative grow",children:[b.jsx("input",{type:"checkbox",checked:!((a=r[l])!=null&&a.hide),onChange:()=>n(l),autoFocus:!0}),!((u=r[l])!=null&&u.hide)&&b.jsx("span",{onClick:()=>n(l),className:"checkmark",children:"✓"})]})]}),b.jsxs("div",{className:"flex-center gap-2",children:[b.jsx("span",{children:"Widget size"}),b.jsxs("div",{className:"flex-center grow",children:[b.jsx("button",{className:Te({clear:((s=r[l])==null?void 0:s.size)==="large"}),onClick:()=>i(l,"small"),children:"Small"}),b.jsx("button",{className:Te({clear:((f=r[l])==null?void 0:f.size)!=="large"}),onClick:()=>i(l,"large"),children:"Large"})]})]})]})]})}),b.jsx("button",{className:"clear",onClick:()=>window.location.href="/settings:settings:sys",children:"Looking for system settings?"})]})})},fE="/assets/valet-icon-COgctyxf.png";function pE(){const[e,t]=E.useState(""),[r,n]=E.useState(""),[i,o]=E.useState(!1),{setApps:l,isHosted:a,fetchHostedStatus:u,showWidgetsSettings:s,setShowWidgetsSettings:f}=on(),d=nr(),c=()=>{Promise.all([fetch(Pn("/apps"),{credentials:"include"}).then(p=>p.json()).catch(()=>[]),fetch(Pn("/main:app_store:sys/apps"),{credentials:"include"}).then(p=>p.json()).catch(()=>[]),fetch(Pn("/version"),{credentials:"include"}).then(p=>p.text()).catch(()=>"")]).then(([p,m,y])=>{n(y);const w=p.map(g=>({...g,is_favorite:!1}));m.forEach(g=>{const v=w.findIndex(h=>h.package_name===g.package);v===-1?w.push({package_name:g.package,path:"",label:g.package,state:g.state,is_favorite:!1}):w[v]={...w[v],state:g.state}}),l(w);for(let g=0;g<5&&w.find(v=>v.package_name==="app_store"&&!v.base64_icon);g++)c()})};return E.useEffect(()=>{c()},[e]),E.useEffect(()=>{fetch(Pn("/our"),{credentials:"include"}).then(p=>p.text()).then(p=>{p.match(/^[a-zA-Z0-9\-\.]+\.[a-zA-Z]+$/)&&(t(p),u(p))})},[e]),b.jsxs("div",{className:Te("flex-col-center relative w-screen overflow-hidden special-bg-homepage min-h-screen",{}),children:[b.jsxs("h5",{className:Te("absolute flex gap-4 c",{"top-8 left-8 right-8":!d,"top-2 left-2 right-2":d}),children:[a&&b.jsx("img",{src:fE,className:"!w-12 !h-12 !p-1 button icon object-cover",onClick:()=>window.location.href="https://valet.kinode.org/"}),b.jsx("span",{children:e}),b.jsxs("span",{className:"bg-white/10 rounded p-1",children:["v",r]}),b.jsx("button",{className:"icon ml-auto",onClick:()=>f(!0),children:b.jsx(E0,{})})]}),d?b.jsxs("div",{className:"flex-center gap-4 p-8 mt-8 max-w-screen",children:[b.jsx(cd,{}),b.jsx(sd,{})]}):b.jsxs("div",{className:Te("flex-col-center mx-0 gap-4 mt-8 mb-4"),children:[b.jsx("h3",{className:"text-center",children:"Welcome to"}),b.jsx(sd,{}),b.jsx(cd,{})]}),b.jsx(lE,{}),b.jsx(sE,{}),b.jsxs("button",{className:Te("fixed alt clear flex-center self-center z-20",{"bottom-2 right-2":d,"bottom-8 right-8":!d}),onClick:()=>o(!i),children:[i?b.jsx(w0,{}):b.jsx(S0,{}),b.jsx("span",{className:"ml-2",children:i?"Collapse":"All apps"})]}),b.jsx(aE,{expanded:i}),s&&b.jsx(dE,{})]})}/** * @remix-run/router v1.16.0 * * Copyright (c) Remix Software Inc. @@ -133,7 +133,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ho(){return Ho=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Zg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function hE(){return Math.random().toString(36).substr(2,8)}function of(e,t){return{usr:e.state,key:e.key,idx:t}}function Eu(e,t,r,n){return r===void 0&&(r=null),Ho({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Nl(t):t,{state:r,key:t&&t.key||n||hE()})}function Jg(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Nl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function yE(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:o=!1}=n,l=i.history,a=zt.Pop,u=null,s=f();s==null&&(s=0,l.replaceState(Ho({},l.state,{idx:s}),""));function f(){return(l.state||{idx:null}).idx}function d(){a=zt.Pop;let w=f(),g=w==null?null:w-s;s=w,u&&u({action:a,location:y.location,delta:g})}function c(w,g){a=zt.Push;let v=Eu(y.location,w,g);s=f()+1;let h=of(v,s),S=y.createHref(v);try{l.pushState(h,"",S)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(S)}o&&u&&u({action:a,location:y.location,delta:1})}function p(w,g){a=zt.Replace;let v=Eu(y.location,w,g);s=f();let h=of(v,s),S=y.createHref(v);l.replaceState(h,"",S),o&&u&&u({action:a,location:y.location,delta:0})}function m(w){let g=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof w=="string"?w:Jg(w);return v=v.replace(/ $/,"%20"),Be(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let y={get action(){return a},get location(){return e(i,l)},listen(w){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(nf,d),u=w,()=>{i.removeEventListener(nf,d),u=null}},createHref(w){return t(i,w)},createURL:m,encodeLocation(w){let g=m(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:c,replace:p,go(w){return l.go(w)}};return y}var lf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(lf||(lf={}));function wE(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Nl(t):t,i=rm(n.pathname||"/",r);if(i==null)return null;let o=em(e);SE(o);let l=null;for(let a=0;l==null&&a{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};u.relativePath.startsWith("/")&&(Be(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let s=Hr([n,u.relativePath]),f=r.concat(u);o.children&&o.children.length>0&&(Be(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),em(o.children,t,f,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:IE(s,o.index),routesMeta:f})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let u of tm(o.path))i(o,l,u)}),t}function tm(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return i?[o,""]:[o];let l=tm(n.join("/")),a=[];return a.push(...l.map(u=>u===""?o:[o,u].join("/"))),i&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function SE(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:NE(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const xE=/^:[\w-]+$/,EE=3,CE=2,bE=1,DE=10,PE=-2,af=e=>e==="*";function IE(e,t){let r=e.split("/"),n=r.length;return r.some(af)&&(n+=PE),t&&(n+=CE),r.filter(i=>!af(i)).reduce((i,o)=>i+(xE.test(o)?EE:o===""?bE:DE),n)}function NE(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function OE(e,t){let{routesMeta:r}=e,n={},i="/",o=[];for(let l=0;l{let{paramName:c,isOptional:p}=f;if(c==="*"){let y=a[d]||"";l=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const m=a[d];return p&&!m?s[c]=void 0:s[c]=(m||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:l,pattern:e}}function kE(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Zg(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,u)=>(n.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function TE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zg(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function rm(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}const Hr=e=>e.join("/").replace(/\/\/+/g,"/"),AE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function LE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const nm=["post","put","patch","delete"];new Set(nm);const ME=["get",...nm];new Set(ME);/** + */function Ho(){return Ho=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Zg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function gE(){return Math.random().toString(36).substr(2,8)}function of(e,t){return{usr:e.state,key:e.key,idx:t}}function Eu(e,t,r,n){return r===void 0&&(r=null),Ho({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Nl(t):t,{state:r,key:t&&t.key||n||gE()})}function Jg(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Nl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function mE(e,t,r,n){n===void 0&&(n={});let{window:i=document.defaultView,v5Compat:o=!1}=n,l=i.history,a=zt.Pop,u=null,s=f();s==null&&(s=0,l.replaceState(Ho({},l.state,{idx:s}),""));function f(){return(l.state||{idx:null}).idx}function d(){a=zt.Pop;let w=f(),g=w==null?null:w-s;s=w,u&&u({action:a,location:y.location,delta:g})}function c(w,g){a=zt.Push;let v=Eu(y.location,w,g);s=f()+1;let h=of(v,s),S=y.createHref(v);try{l.pushState(h,"",S)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(S)}o&&u&&u({action:a,location:y.location,delta:1})}function p(w,g){a=zt.Replace;let v=Eu(y.location,w,g);s=f();let h=of(v,s),S=y.createHref(v);l.replaceState(h,"",S),o&&u&&u({action:a,location:y.location,delta:0})}function m(w){let g=i.location.origin!=="null"?i.location.origin:i.location.href,v=typeof w=="string"?w:Jg(w);return v=v.replace(/ $/,"%20"),Be(g,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,g)}let y={get action(){return a},get location(){return e(i,l)},listen(w){if(u)throw new Error("A history only accepts one active listener");return i.addEventListener(nf,d),u=w,()=>{i.removeEventListener(nf,d),u=null}},createHref(w){return t(i,w)},createURL:m,encodeLocation(w){let g=m(w);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:c,replace:p,go(w){return l.go(w)}};return y}var lf;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(lf||(lf={}));function hE(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Nl(t):t,i=rm(n.pathname||"/",r);if(i==null)return null;let o=em(e);yE(o);let l=null;for(let a=0;l==null&&a{let u={relativePath:a===void 0?o.path||"":a,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};u.relativePath.startsWith("/")&&(Be(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let s=Wr([n,u.relativePath]),f=r.concat(u);o.children&&o.children.length>0&&(Be(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+s+'".')),em(o.children,t,f,s)),!(o.path==null&&!o.index)&&t.push({path:s,score:DE(s,o.index),routesMeta:f})};return e.forEach((o,l)=>{var a;if(o.path===""||!((a=o.path)!=null&&a.includes("?")))i(o,l);else for(let u of tm(o.path))i(o,l,u)}),t}function tm(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return i?[o,""]:[o];let l=tm(n.join("/")),a=[];return a.push(...l.map(u=>u===""?o:[o,u].join("/"))),i&&a.push(...l),a.map(u=>e.startsWith("/")&&u===""?"/":u)}function yE(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:PE(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const wE=/^:[\w-]+$/,SE=3,xE=2,EE=1,CE=10,bE=-2,af=e=>e==="*";function DE(e,t){let r=e.split("/"),n=r.length;return r.some(af)&&(n+=bE),t&&(n+=xE),r.filter(i=>!af(i)).reduce((i,o)=>i+(wE.test(o)?SE:o===""?EE:CE),n)}function PE(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function IE(e,t){let{routesMeta:r}=e,n={},i="/",o=[];for(let l=0;l{let{paramName:c,isOptional:p}=f;if(c==="*"){let y=a[d]||"";l=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const m=a[d];return p&&!m?s[c]=void 0:s[c]=(m||"").replace(/%2F/g,"/"),s},{}),pathname:o,pathnameBase:l,pattern:e}}function OE(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Zg(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,a,u)=>(n.push({paramName:a,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function RE(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zg(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function rm(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}const Wr=e=>e.join("/").replace(/\/\/+/g,"/"),kE=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/");function TE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const nm=["post","put","patch","delete"];new Set(nm);const AE=["get",...nm];new Set(AE);/** * React Router v6.23.0 * * Copyright (c) Remix Software Inc. @@ -142,7 +142,7 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Vo(){return Vo=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},a,w.params),pathname:Hr([u,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:Hr([u,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r,n);return t&&y?E.createElement(Ol.Provider,{value:{location:Vo({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:zt.Pop}},y):y}function UE(){let e=KE(),t=LE(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),r?E.createElement("pre",{style:i},r):null,null)}const _E=E.createElement(UE,null);class WE extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?E.createElement(Rl.Provider,{value:this.props.routeContext},E.createElement(om.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function HE(e){let{routeContext:t,match:r,children:n}=e,i=E.useContext(BE);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),E.createElement(Rl.Provider,{value:t},n)}function VE(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let l=e,a=(i=r)==null?void 0:i.errors;if(a!=null){let f=l.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);f>=0||Be(!1),l=l.slice(0,Math.min(l.length,f+1))}let u=!1,s=-1;if(r&&n&&n.v7_partialHydration)for(let f=0;f=0?l=l.slice(0,s+1):l=[l[0]];break}}}return l.reduceRight((f,d,c)=>{let p,m=!1,y=null,w=null;r&&(p=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||_E,u&&(s<0&&c===0?(m=!0,w=null):s===c&&(m=!0,w=d.route.hydrateFallbackElement||null)));let g=t.concat(l.slice(0,c+1)),v=()=>{let h;return p?h=y:m?h=w:d.route.Component?h=E.createElement(d.route.Component,null):d.route.element?h=d.route.element:h=f,E.createElement(HE,{match:d,routeContext:{outlet:f,matches:g,isDataRoute:r!=null},children:h})};return r&&(d.route.ErrorBoundary||d.route.errorElement||c===0)?E.createElement(WE,{location:r.location,revalidation:r.revalidation,component:y,error:p,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()},null)}var Cu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Cu||{});function GE(e){let t=E.useContext(FE);return t||Be(!1),t}function qE(e){let t=E.useContext(Rl);return t||Be(!1),t}function QE(e){let t=qE(),r=t.matches[t.matches.length-1];return r.route.id||Be(!1),r.route.id}function KE(){var e;let t=E.useContext(om),r=GE(Cu.UseRouteError),n=QE(Cu.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function bu(e){Be(!1)}function YE(e){let{basename:t="/",children:r=null,location:n,navigationType:i=zt.Pop,navigator:o,static:l=!1,future:a}=e;Xs()&&Be(!1);let u=t.replace(/^\/*/,"/"),s=E.useMemo(()=>({basename:u,navigator:o,static:l,future:Vo({v7_relativeSplatPath:!1},a)}),[u,a,o,l]);typeof n=="string"&&(n=Nl(n));let{pathname:f="/",search:d="",hash:c="",state:p=null,key:m="default"}=n,y=E.useMemo(()=>{let w=rm(f,u);return w==null?null:{location:{pathname:w,search:d,hash:c,state:p,key:m},navigationType:i}},[u,f,d,c,p,m,i]);return y==null?null:E.createElement(im.Provider,{value:s},E.createElement(Ol.Provider,{children:r,value:y}))}function XE(e){let{children:t,location:r}=e;return zE(Du(t),r)}new Promise(()=>{});function Du(e,t){t===void 0&&(t=[]);let r=[];return E.Children.forEach(e,(n,i)=>{if(!E.isValidElement(n))return;let o=[...t,i];if(n.type===E.Fragment){r.push.apply(r,Du(n.props.children,o));return}n.type!==bu&&Be(!1),!n.props.index||!n.props.children||Be(!1);let l={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=Du(n.props.children,o)),r.push(l)}),r}/** + */function Vo(){return Vo=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},a,w.params),pathname:Wr([u,i.encodeLocation?i.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:Wr([u,i.encodeLocation?i.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r,n);return t&&y?E.createElement(Ol.Provider,{value:{location:Vo({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:zt.Pop}},y):y}function zE(){let e=qE(),t=TE(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),r?E.createElement("pre",{style:i},r):null,null)}const $E=E.createElement(zE,null);class UE extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?E.createElement(Rl.Provider,{value:this.props.routeContext},E.createElement(om.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function _E(e){let{routeContext:t,match:r,children:n}=e,i=E.useContext(LE);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),E.createElement(Rl.Provider,{value:t},n)}function WE(e,t,r,n){var i;if(t===void 0&&(t=[]),r===void 0&&(r=null),n===void 0&&(n=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let l=e,a=(i=r)==null?void 0:i.errors;if(a!=null){let f=l.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);f>=0||Be(!1),l=l.slice(0,Math.min(l.length,f+1))}let u=!1,s=-1;if(r&&n&&n.v7_partialHydration)for(let f=0;f=0?l=l.slice(0,s+1):l=[l[0]];break}}}return l.reduceRight((f,d,c)=>{let p,m=!1,y=null,w=null;r&&(p=a&&d.route.id?a[d.route.id]:void 0,y=d.route.errorElement||$E,u&&(s<0&&c===0?(m=!0,w=null):s===c&&(m=!0,w=d.route.hydrateFallbackElement||null)));let g=t.concat(l.slice(0,c+1)),v=()=>{let h;return p?h=y:m?h=w:d.route.Component?h=E.createElement(d.route.Component,null):d.route.element?h=d.route.element:h=f,E.createElement(_E,{match:d,routeContext:{outlet:f,matches:g,isDataRoute:r!=null},children:h})};return r&&(d.route.ErrorBoundary||d.route.errorElement||c===0)?E.createElement(UE,{location:r.location,revalidation:r.revalidation,component:y,error:p,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):v()},null)}var Cu=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Cu||{});function HE(e){let t=E.useContext(ME);return t||Be(!1),t}function VE(e){let t=E.useContext(Rl);return t||Be(!1),t}function GE(e){let t=VE(),r=t.matches[t.matches.length-1];return r.route.id||Be(!1),r.route.id}function qE(){var e;let t=E.useContext(om),r=HE(Cu.UseRouteError),n=GE(Cu.UseRouteError);return t!==void 0?t:(e=r.errors)==null?void 0:e[n]}function bu(e){Be(!1)}function QE(e){let{basename:t="/",children:r=null,location:n,navigationType:i=zt.Pop,navigator:o,static:l=!1,future:a}=e;Xs()&&Be(!1);let u=t.replace(/^\/*/,"/"),s=E.useMemo(()=>({basename:u,navigator:o,static:l,future:Vo({v7_relativeSplatPath:!1},a)}),[u,a,o,l]);typeof n=="string"&&(n=Nl(n));let{pathname:f="/",search:d="",hash:c="",state:p=null,key:m="default"}=n,y=E.useMemo(()=>{let w=rm(f,u);return w==null?null:{location:{pathname:w,search:d,hash:c,state:p,key:m},navigationType:i}},[u,f,d,c,p,m,i]);return y==null?null:E.createElement(im.Provider,{value:s},E.createElement(Ol.Provider,{children:r,value:y}))}function KE(e){let{children:t,location:r}=e;return FE(Du(t),r)}new Promise(()=>{});function Du(e,t){t===void 0&&(t=[]);let r=[];return E.Children.forEach(e,(n,i)=>{if(!E.isValidElement(n))return;let o=[...t,i];if(n.type===E.Fragment){r.push.apply(r,Du(n.props.children,o));return}n.type!==bu&&Be(!1),!n.props.index||!n.props.children||Be(!1);let l={id:n.props.id||o.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=Du(n.props.children,o)),r.push(l)}),r}/** * React Router DOM v6.23.0 * * Copyright (c) Remix Software Inc. @@ -151,4 +151,4 @@ Error generating stack: `+o.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */const ZE="6";try{window.__reactRouterVersion=ZE}catch{}const JE="startTransition",uf=Cm[JE];function eC(e){let{basename:t,children:r,future:n,window:i}=e,o=E.useRef();o.current==null&&(o.current=mE({window:i,v5Compat:!0}));let l=o.current,[a,u]=E.useState({action:l.action,location:l.location}),{v7_startTransition:s}=n||{},f=E.useCallback(d=>{s&&uf?uf(()=>u(d)):u(d)},[u,s]);return E.useLayoutEffect(()=>l.listen(f),[l,f]),E.createElement(YE,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:l,future:n})}var sf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(sf||(sf={}));var cf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cf||(cf={}));const tC=()=>b.jsx("div",{children:"Settings go here!"});Ea.createRoot(document.getElementById("root")).render(b.jsx(z.StrictMode,{children:b.jsx(eC,{children:b.jsxs(XE,{children:[b.jsx(bu,{path:"/",element:b.jsx(gE,{})}),b.jsx(bu,{path:"/settings",element:b.jsx(tC,{})})]})})})); + */const YE="6";try{window.__reactRouterVersion=YE}catch{}const XE="startTransition",uf=Cm[XE];function ZE(e){let{basename:t,children:r,future:n,window:i}=e,o=E.useRef();o.current==null&&(o.current=vE({window:i,v5Compat:!0}));let l=o.current,[a,u]=E.useState({action:l.action,location:l.location}),{v7_startTransition:s}=n||{},f=E.useCallback(d=>{s&&uf?uf(()=>u(d)):u(d)},[u,s]);return E.useLayoutEffect(()=>l.listen(f),[l,f]),E.createElement(QE,{basename:t,children:r,location:a.location,navigationType:a.action,navigator:l,future:n})}var sf;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(sf||(sf={}));var cf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(cf||(cf={}));const JE=()=>b.jsx("div",{children:"Settings go here!"});Ea.createRoot(document.getElementById("root")).render(b.jsx(z.StrictMode,{children:b.jsx(ZE,{children:b.jsxs(KE,{children:[b.jsx(bu,{path:"/",element:b.jsx(pE,{})}),b.jsx(bu,{path:"/settings",element:b.jsx(JE,{})})]})})})); diff --git a/kinode/packages/homepage/pkg/ui/index.html b/kinode/packages/homepage/pkg/ui/index.html index fbbe1d72e..4f4913415 100644 --- a/kinode/packages/homepage/pkg/ui/index.html +++ b/kinode/packages/homepage/pkg/ui/index.html @@ -9,7 +9,7 @@ - + diff --git a/kinode/packages/homepage/ui/dist/index.html b/kinode/packages/homepage/ui/dist/index.html index fbbe1d72e..4f4913415 100644 --- a/kinode/packages/homepage/ui/dist/index.html +++ b/kinode/packages/homepage/ui/dist/index.html @@ -9,7 +9,7 @@ - + diff --git a/kinode/packages/homepage/ui/src/components/AppDisplay.tsx b/kinode/packages/homepage/ui/src/components/AppDisplay.tsx index cd38a731e..05749cbcf 100644 --- a/kinode/packages/homepage/ui/src/components/AppDisplay.tsx +++ b/kinode/packages/homepage/ui/src/components/AppDisplay.tsx @@ -38,7 +38,7 @@ const AppDisplay: React.FC = ({ app }) => { size={'small'} className="h-16 w-16" />} -
{app?.label}
+
{app?.label || app?.package_name}
{app?.path && isHovered && }
} diff --git a/kinode/packages/kino_updates/widget/src/lib.rs b/kinode/packages/kino_updates/widget/src/lib.rs index 08f3c040a..b12093897 100644 --- a/kinode/packages/kino_updates/widget/src/lib.rs +++ b/kinode/packages/kino_updates/widget/src/lib.rs @@ -33,7 +33,7 @@ fn init(_our: Address) { serde_json::json!({ "Add": { "label": "KinoUpdates", - "widget": create_widget(fetch_most_recent_blog_posts(6)), + "widget": create_widget(fetch_most_recent_blog_posts(12)), } }) .to_string(), @@ -49,41 +49,87 @@ fn create_widget(posts: Vec) -> String { return format!( r#" - + - +
+ "> {}
@@ -105,7 +151,10 @@ fn fetch_most_recent_blog_posts(n: usize) -> Vec { ) { Ok(response) => serde_json::from_slice::>(response.body()) .expect("Invalid UTF-8 from kinode.org"), - Err(e) => panic!("Failed to fetch blog posts: {:?}", e), + Err(e) => { + println!("Failed to fetch blog posts: {e:?}"); + vec![] + } }; blog_posts.into_iter().rev().take(n as usize).collect() @@ -123,17 +172,17 @@ fn trim_content(content: &str) -> String { fn post_to_html_string(post: KinodeBlogPost) -> String { format!( - r#"
-