filecat 6.8.2 → 6.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/1060.198d91e2dfc174317c3a.js +1 -0
- package/build/dist/1080.fb10ff15aa5eeecfedf1.js +1 -0
- package/build/dist/1455.26a021eb94e5bdd5bec2.js +1 -0
- package/build/dist/1636.30468729d36c207a8ef4.js +1 -0
- package/build/dist/2055.cb159742ee5a05e75046.js +1 -0
- package/build/dist/219aa9140e099e6c72ed.woff2 +0 -0
- package/build/dist/2286.cbd71319c6939820a1b9.js +2 -0
- package/build/dist/{5663.170c94f41ff3ee2759cb.js.LICENSE.txt → 2286.cbd71319c6939820a1b9.js.LICENSE.txt} +0 -7
- package/build/dist/239.f570f06d4b9c020f1013.js +1 -0
- package/build/dist/2502.7ab964160936d22d06dd.js +1 -0
- package/build/dist/2542.0e99091dcaba3d4146f7.js +1 -0
- package/build/dist/2674.c14dd535cfec77ea8cf5.js +1 -0
- package/build/dist/2851.1a65e336550d234e96ee.js +1 -0
- package/build/dist/302.d87fee87db0907af0acb.js +1 -0
- package/build/dist/3233.38e5f88a83da3f8c98a9.js +1 -0
- package/build/dist/3402.4defd531d6033f4e0f0b.js +1 -0
- package/build/dist/3457.bb4fd1927c4640717aef.js +1 -0
- package/build/dist/3471.ef3b5dcfe37963034187.js +1 -0
- package/build/dist/3679.414c4e1291c46aa9671e.js +1 -0
- package/build/dist/397.19bbedd5e9d5ed0c6790.js +2 -0
- package/build/dist/397.19bbedd5e9d5ed0c6790.js.LICENSE.txt +6 -0
- package/build/dist/3a4004a46a653d4b2166.woff +0 -0
- package/build/dist/3baa5b8f3469222b822d.woff +0 -0
- package/build/dist/4091.9aa2af51cb608f24eb8f.js +1 -0
- package/build/dist/4273.b5a75d7edaf3213e5bbf.js +1 -0
- package/build/dist/4488.b56bfd5c6a6875215517.js +1 -0
- package/build/dist/4903.dca0624a3a0428b2b2b6.js +1 -0
- package/build/dist/4ef4218c522f1eb6b5b1.woff2 +0 -0
- package/build/dist/5308.31253eddce7e10dce433.js +1 -0
- package/build/dist/5469.f628db3da67d37774e6b.js +1 -0
- package/build/dist/5516.0e466536ea6d801f3d3d.js +1 -0
- package/build/dist/5614.38e5f88a83da3f8c98a9.js +1 -0
- package/build/dist/5838.1d57a1ebe1d439a635b2.js +1 -0
- package/build/dist/5937.088e5a04adbf7f7f643e.js +1 -0
- package/build/dist/5d681e2edae8c60630db.woff +0 -0
- package/build/dist/6010.957f57d29fdd2751f5fd.js +1 -0
- package/build/dist/6084.6c144a4d692d003cfca0.js +1 -0
- package/build/dist/6247.5ecfb4df2e65874e8bc8.js +1 -0
- package/build/dist/6322.552511b5cb12cd0c821c.js +1 -0
- package/build/dist/6723.faaa06f224af3b03127a.js +2 -0
- package/build/dist/6723.faaa06f224af3b03127a.js.LICENSE.txt +39 -0
- package/build/dist/6892.b69dd001a41b08ad47cd.js +1 -0
- package/build/dist/6f420cf17cc0d7676fad.woff2 +0 -0
- package/build/dist/7133.f410be5e4708966bae6b.js +1 -0
- package/build/dist/7181.007bb70eb8aea53994a6.js +1 -0
- package/build/dist/7209.4b92fb384d0b34b7d7f1.js +1 -0
- package/build/dist/7274.fcf2dbbd07cfa34c700a.js +1 -0
- package/build/dist/7795.62b518fc1550f5ab95c9.js +2 -0
- package/build/dist/{4943.553df30402cc2c86f2ca.js.LICENSE.txt → 7795.62b518fc1550f5ab95c9.js.LICENSE.txt} +2 -2
- package/build/dist/8090.a6ad12a3a30434ea59f8.js +1 -0
- package/build/dist/8302.6050fe41a9ef875b0809.js +1 -0
- package/build/dist/8435.e4b8583eacf333c4a4a5.js +1 -0
- package/build/dist/8603.6e6c9abec3bad08e3a59.js +1 -0
- package/build/dist/8714.175a417afd060b64a554.js +1 -0
- package/build/dist/8765.0ec7ea96da8a1984b061.js +1 -0
- package/build/dist/9782.5984f63466577298f116.js +1 -0
- package/build/dist/c380809fd3677d7d6903.woff2 +0 -0
- package/build/dist/f882956fd323fd322f31.woff +0 -0
- package/build/dist/fonts/Assistant/Assistant-Bold.woff2 +0 -0
- package/build/dist/fonts/Assistant/Assistant-Medium.woff2 +0 -0
- package/build/dist/fonts/Assistant/Assistant-Regular.woff2 +0 -0
- package/build/dist/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
- package/build/dist/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
- package/build/dist/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
- package/build/dist/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
- package/build/dist/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
- package/build/dist/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
- package/build/dist/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
- package/build/dist/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
- package/build/dist/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
- package/build/dist/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
- package/build/dist/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
- package/build/dist/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
- package/build/dist/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
- package/build/dist/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
- package/build/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
- package/build/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
- package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
- package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
- package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
- package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
- package/build/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
- package/build/dist/fonts/Virgil/Virgil-Regular.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
- package/build/dist/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
- package/build/dist/index.html +1 -1
- package/build/dist/main.12ddefef82e64616c63b.js +1 -0
- package/build/dist/npm.ace-builds.22bc4a169f166b733c0f.js +2 -0
- package/build/dist/npm.axios.5550ce6331dd7babbcfe.js +1 -0
- package/build/dist/npm.chart.js.0ad4e9e20981e48dca13.js +2 -0
- package/build/dist/npm.chart.js.0ad4e9e20981e48dca13.js.LICENSE.txt +6 -0
- package/build/dist/npm.cytoscape-fcose.d4154179517c9b555387.js +1 -0
- package/build/dist/npm.cytoscape.1ab5ad8eeddb40b22777.js +2 -0
- package/build/dist/npm.cytoscape.1ab5ad8eeddb40b22777.js.LICENSE.txt +9 -0
- package/build/dist/npm.d3-selection.d95fb47c647ef6e93798.js +1 -0
- package/build/dist/npm.d3-shape.a087932c2fb242e67aa2.js +1 -0
- package/build/dist/npm.d3-transition.1ffb934268fd02aa8a55.js +1 -0
- package/build/dist/npm.dagre-d3-es.328111eca4fe01fedd69.js +1 -0
- package/build/dist/npm.dompurify.8985dbe483915146cb24.js +2 -0
- package/build/dist/npm.dompurify.8985dbe483915146cb24.js.LICENSE.txt +1 -0
- package/build/dist/npm.entities.ba34149d7478c9b47dfc.js +1 -0
- package/build/dist/npm.es-toolkit.6e2def85c642c1ae121c.js +1 -0
- package/build/dist/npm.excalidraw.1b06762da5042714467a.js +1 -0
- package/build/dist/npm.floating-ui.c75a64cadcbaaebc0082.js +1 -0
- package/build/dist/npm.flv.js.0840f00f39de4a7462e5.js +2 -0
- package/build/dist/npm.github-markdown-css.a3ce76a1172b0aa3ee39.js +1 -0
- package/build/dist/npm.highlight.js.630038518d374f6e2cc8.js +1 -0
- package/build/dist/npm.i18next.e437a4832af06db950c4.js +1 -0
- package/build/dist/npm.image-blob-reduce.973825a3b7c5a1605a78.js +2 -0
- package/build/dist/npm.image-blob-reduce.973825a3b7c5a1605a78.js.LICENSE.txt +6 -0
- package/build/dist/npm.jotai.720ac6e33cb359ba1534.js +1 -0
- package/build/dist/npm.katex.4d2cff2fcf336ed7197a.js +1 -0
- package/build/dist/npm.khroma.7ab89b0e2068439dcb74.js +1 -0
- package/build/dist/npm.layout-base.083bcbb66eb2ac0710e0.js +1 -0
- package/build/dist/npm.linkify-it.d73b59412cd4f58014e2.js +1 -0
- package/build/dist/npm.lodash-es.caed1cb74816cb0ed085.js +1 -0
- package/build/dist/{2543.c1df37b86fd6b03c3976.js → npm.lodash.1a54ae8897dec515cba5.js} +2 -2
- package/build/dist/npm.m3u8-parser.bd32edfbb4624453cab1.js +2 -0
- package/build/dist/npm.m3u8-parser.bd32edfbb4624453cab1.js.LICENSE.txt +1 -0
- package/build/dist/npm.markdown-it.81994f1b0a64619b892a.js +1 -0
- package/build/dist/npm.marked.eca56da17ee2f6971db4.js +1 -0
- package/build/dist/npm.mermaid.92be56e14ee41c57413e.js +1 -0
- package/build/dist/npm.mpd-parser.8d49860cde5e4ba98bce.js +1 -0
- package/build/dist/npm.noty.9c23b429c58905300317.js +2 -0
- package/build/dist/npm.noty.9c23b429c58905300317.js.LICENSE.txt +15 -0
- package/build/dist/npm.pako.d09a10c87f3ff6430db5.js +1 -0
- package/build/dist/npm.pica.0221586fdf149794321d.js +2 -0
- package/build/dist/npm.pica.0221586fdf149794321d.js.LICENSE.txt +12 -0
- package/build/dist/npm.radix-ui.b72ef3f2fc48abef7f2e.js +1 -0
- package/build/dist/npm.react-dom.04d94d5c22972617b52b.js +2 -0
- package/build/dist/npm.react-dom.04d94d5c22972617b52b.js.LICENSE.txt +19 -0
- package/build/dist/npm.react-i18next.099c4c3b0901000f1e77.js +1 -0
- package/build/dist/npm.react-router.6294ae9e93aa01cece06.js +2 -0
- package/build/dist/npm.react-router.6294ae9e93aa01cece06.js.LICENSE.txt +10 -0
- package/build/dist/npm.roughjs.cbb6e04fb936a07e9362.js +1 -0
- package/build/dist/npm.upsetjs.31a298e7d4856837d68e.js +1 -0
- package/build/dist/npm.video.js.a61b7ba57d10b9b3e56d.js +2 -0
- package/build/dist/{2859.b88c9b76c79cf21a2f33.js.LICENSE.txt → npm.video.js.a61b7ba57d10b9b3e56d.js.LICENSE.txt} +0 -2
- package/build/dist/npm.videojs-vtt.js.2b4769f05d44fad4469c.js +1 -0
- package/build/dist/npm.videojs.230d2e05e6e419773044.js +1 -0
- package/build/dist/npm.xmldom.28c23d613c92dc7511ad.js +1 -0
- package/build/dist/npm.xterm.757ab099dce39da3f542.js +1 -0
- package/build/main.js +1 -1
- package/build/main.js.LICENSE.txt +1 -1
- package/package.json +17 -16
- package/shell/build.js +7 -1
- package/shell/config/.babelrc +8 -3
- package/shell/config/base.webpack.config.js +1 -1
- package/shell/config/webpack.web.config.js +33 -11
- package/build/dist/1428.c1308782e0dd008f4519.js +0 -2
- package/build/dist/1428.c1308782e0dd008f4519.js.LICENSE.txt +0 -1
- package/build/dist/1501.d256469be37a8cd806b3.js +0 -1
- package/build/dist/1595.bdd63fb3c8d57d2be430.js +0 -1
- package/build/dist/1636.e1d7c49ddd45515d9687.js +0 -2
- package/build/dist/1636.e1d7c49ddd45515d9687.js.LICENSE.txt +0 -1
- package/build/dist/1962.b4a08debb34d1a840aaf.js +0 -2
- package/build/dist/1962.b4a08debb34d1a840aaf.js.LICENSE.txt +0 -1
- package/build/dist/2502.192a426e2e244b430f09.js +0 -2
- package/build/dist/2502.192a426e2e244b430f09.js.LICENSE.txt +0 -1
- package/build/dist/2542.7c6602fb9248bbea6b3a.js +0 -2
- package/build/dist/2542.7c6602fb9248bbea6b3a.js.LICENSE.txt +0 -1
- package/build/dist/2685.61dbbdf62ad2f9e0a64e.js +0 -1
- package/build/dist/27.de4dc0ae94f30cf51809.js +0 -2
- package/build/dist/27.de4dc0ae94f30cf51809.js.LICENSE.txt +0 -1
- package/build/dist/2811.f658fc8d54cf29b556f0.js +0 -2
- package/build/dist/2811.f658fc8d54cf29b556f0.js.LICENSE.txt +0 -1
- package/build/dist/2851.f71dcc00200781834a71.js +0 -2
- package/build/dist/2851.f71dcc00200781834a71.js.LICENSE.txt +0 -1
- package/build/dist/2859.b88c9b76c79cf21a2f33.js +0 -2
- package/build/dist/296.f48b259b30afc0f99ecc.js +0 -2
- package/build/dist/296.f48b259b30afc0f99ecc.js.LICENSE.txt +0 -1
- package/build/dist/3029.7ea224397135b1f3799d.js +0 -2
- package/build/dist/3029.7ea224397135b1f3799d.js.LICENSE.txt +0 -1
- package/build/dist/3402.7ce43d6229d0d1619983.js +0 -2
- package/build/dist/3402.7ce43d6229d0d1619983.js.LICENSE.txt +0 -1
- package/build/dist/3441.394e6e800b831102e646.js +0 -2
- package/build/dist/3441.394e6e800b831102e646.js.LICENSE.txt +0 -1
- package/build/dist/3659.19dee47c9e6420d42615.js +0 -2
- package/build/dist/3659.19dee47c9e6420d42615.js.LICENSE.txt +0 -1
- package/build/dist/4091.ef98e6988f74de1e2a68.js +0 -1
- package/build/dist/4273.1fae62a68bc0efc4b277.js +0 -2
- package/build/dist/4273.1fae62a68bc0efc4b277.js.LICENSE.txt +0 -1
- package/build/dist/4377.41dfd26b8fdc5a907910.js +0 -2
- package/build/dist/4377.41dfd26b8fdc5a907910.js.LICENSE.txt +0 -1
- package/build/dist/4488.0286e323a8d8d0b8b309.js +0 -2
- package/build/dist/4488.0286e323a8d8d0b8b309.js.LICENSE.txt +0 -1
- package/build/dist/4627.b7cf5db19fa4f419c364.js +0 -1
- package/build/dist/4903.a989ea7286fbf2b5ee92.js +0 -1
- package/build/dist/4943.553df30402cc2c86f2ca.js +0 -2
- package/build/dist/4944.8aa281623c3a18166f32.js +0 -2
- package/build/dist/4944.8aa281623c3a18166f32.js.LICENSE.txt +0 -1
- package/build/dist/5308.c6ab18267e2069911f58.js +0 -2
- package/build/dist/5308.c6ab18267e2069911f58.js.LICENSE.txt +0 -1
- package/build/dist/5614.16ffba6ad4e5eb2f43ff.js +0 -1
- package/build/dist/5663.170c94f41ff3ee2759cb.js +0 -2
- package/build/dist/5937.f4e395163bc8c10570e5.js +0 -2
- package/build/dist/5937.f4e395163bc8c10570e5.js.LICENSE.txt +0 -1
- package/build/dist/6010.5bf83729de7de98e2a5a.js +0 -1
- package/build/dist/6100.a1b2afcf964d9cc6372d.js +0 -2
- package/build/dist/6100.a1b2afcf964d9cc6372d.js.LICENSE.txt +0 -1
- package/build/dist/6247.43d441a43d72c3d47e7a.js +0 -2
- package/build/dist/6247.43d441a43d72c3d47e7a.js.LICENSE.txt +0 -1
- package/build/dist/654.cd0fcc3cc803a01a8b4d.js +0 -1
- package/build/dist/7133.f6e2a6ce9b6fc624e379.js +0 -1
- package/build/dist/7181.4425a8eb977ce399d5fd.js +0 -2
- package/build/dist/7181.4425a8eb977ce399d5fd.js.LICENSE.txt +0 -1
- package/build/dist/7690.67d847e6334eb943855d.js +0 -2
- package/build/dist/7690.67d847e6334eb943855d.js.LICENSE.txt +0 -1
- package/build/dist/7759.43ef649c1c6572b236ba.js +0 -2
- package/build/dist/7759.43ef649c1c6572b236ba.js.LICENSE.txt +0 -1
- package/build/dist/7856.d79f40a4e2bc2ea456dc.js +0 -1
- package/build/dist/8257.a3638cdabf90d573a941.js +0 -2
- package/build/dist/8301.8fb463ed19b485a8651e.js +0 -2
- package/build/dist/8435.c0341d033aaa1e1e9d9a.js +0 -1
- package/build/dist/8603.dc7a76ac96b34ca323a9.js +0 -2
- package/build/dist/8603.dc7a76ac96b34ca323a9.js.LICENSE.txt +0 -1
- package/build/dist/8714.3b4b50b388e5c41fb3e0.js +0 -2
- package/build/dist/8714.3b4b50b388e5c41fb3e0.js.LICENSE.txt +0 -1
- package/build/dist/8931.13c1dd9bfa6012882257.js +0 -2
- package/build/dist/8931.13c1dd9bfa6012882257.js.LICENSE.txt +0 -1
- package/build/dist/9165.c3aaa776269f39dd213c.js +0 -1
- package/build/dist/9213.51e739fc3528f771d1c9.js +0 -2
- package/build/dist/9213.51e739fc3528f771d1c9.js.LICENSE.txt +0 -1
- package/build/dist/9214.0c111594426d1aebc37f.js +0 -2
- package/build/dist/9214.0c111594426d1aebc37f.js.LICENSE.txt +0 -1
- package/build/dist/9591.eadf1ed92eb9aa0610ea.js +0 -2
- package/build/dist/9591.eadf1ed92eb9aa0610ea.js.LICENSE.txt +0 -1
- package/build/dist/9704.6a9c86824be21b5c272c.js +0 -2
- package/build/dist/9704.6a9c86824be21b5c272c.js.LICENSE.txt +0 -1
- package/build/dist/9923.daf10bf91ceb54e9920c.js +0 -1
- package/build/dist/excalidraw-assets/Cascadia.woff2 +0 -0
- package/build/dist/excalidraw-assets/Virgil.woff2 +0 -0
- package/build/dist/excalidraw-assets/locales/zh-CN-json-069c304b5011429be615.js +0 -1
- package/build/dist/excalidraw-assets/vendor-677e88ca78c86bddf13d.js +0 -2
- package/build/dist/main.b1e351571e78cd7caca5.js +0 -2
- package/build/dist/main.b1e351571e78cd7caca5.js.LICENSE.txt +0 -80
- /package/build/dist/{excalidraw-assets/Assistant-Medium.woff2 → 0196e01373538d8ddd9b.woff2} +0 -0
- /package/build/dist/{excalidraw-assets/Assistant-Bold.woff2 → 14280543a73d6738a929.woff2} +0 -0
- /package/build/dist/{excalidraw-assets/Assistant-SemiBold.woff2 → 590ad9e4bfdad16dca50.woff2} +0 -0
- /package/build/dist/{excalidraw-assets/Assistant-Regular.woff2 → 667df7ca125d6b63b135.woff2} +0 -0
- /package/build/dist/{8301.8fb463ed19b485a8651e.js.LICENSE.txt → npm.ace-builds.22bc4a169f166b733c0f.js.LICENSE.txt} +0 -0
- /package/build/dist/{8257.a3638cdabf90d573a941.js.LICENSE.txt → npm.flv.js.0840f00f39de4a7462e5.js.LICENSE.txt} +0 -0
- /package/build/dist/{2543.c1df37b86fd6b03c3976.js.LICENSE.txt → npm.lodash.1a54ae8897dec515cba5.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 6723.faaa06f224af3b03127a.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[6723],{40085(t,e,n){"use strict";function i(t){let e,n,i,r=!1;return function(o){void 0===e?(e=o,n=0,i=-1):e=function(t,e){const n=new Uint8Array(t.length+e.length);return n.set(t),n.set(e,t.length),n}(e,o);const s=e.length;let a=0;for(;n<s;){r&&(10===e[n]&&(a=++n),r=!1);let o=-1;for(;n<s&&-1===o;++n)switch(e[n]){case 58:-1===i&&(i=n-a);break;case 13:r=!0;case 10:o=n}if(-1===o)break;t(e.subarray(a,o),i),a=n,i=-1}a===s?e=void 0:0!==a&&(e=e.subarray(a),n-=a)}}n.d(e,{y:()=>a});var r=function(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n};const o="text/event-stream",s="last-event-id";function a(t,e){var{signal:n,headers:a,onopen:u,onmessage:c,onclose:f,onerror:d,openWhenHidden:p,fetch:h}=e,m=r(e,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((e,r)=>{const b=Object.assign({},a);let y;function g(){y.abort(),document.hidden||_()}b.accept||(b.accept=o),p||document.addEventListener("visibilitychange",g);let v=1e3,w=0;function x(){document.removeEventListener("visibilitychange",g),window.clearTimeout(w),y.abort()}null==n||n.addEventListener("abort",()=>{x(),e()});const k=null!=h?h:window.fetch,E=null!=u?u:l;async function _(){var n;y=new AbortController;try{const n=await k(t,Object.assign(Object.assign({},m),{headers:b,signal:y.signal}));await E(n),await async function(t,e){const n=t.getReader();let i;for(;!(i=await n.read()).done;)e(i.value)}(n.body,i(function(t,e,n){let i={data:"",event:"",id:"",retry:void 0};const r=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(i),i={data:"",event:"",id:"",retry:void 0};else if(s>0){const n=r.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=r.decode(o.subarray(a));switch(n){case"data":i.data=i.data?i.data+"\n"+l:l;break;case"event":i.event=l;break;case"id":t(i.id=l);break;case"retry":const n=parseInt(l,10);isNaN(n)||e(i.retry=n)}}}}(t=>{t?b[s]=t:delete b[s]},t=>{v=t},c))),null==f||f(),x(),e()}catch(t){if(!y.signal.aborted)try{const e=null!==(n=null==d?void 0:d(t))&&void 0!==n?n:v;window.clearTimeout(w),w=window.setTimeout(_,e)}catch(t){x(),r(t)}}}_()})}function l(t){const e=t.headers.get("content-type");if(!(null==e?void 0:e.startsWith(o)))throw new Error(`Expected content-type to be ${o}, Actual: ${e}`)}},95219(t){!function(){var e=function(t,n){var i=this;e.count=(e.count||0)+1,this.count=e.count,this.isOpened=!1,this.input=r(t),this.input.setAttribute("autocomplete","off"),this.input.setAttribute("aria-autocomplete","list"),this.input.setAttribute("aria-expanded","false"),this.input.setAttribute("aria-controls","awesomplete_list_"+this.count),this.input.setAttribute("aria-owns","awesomplete_list_"+this.count),this.input.setAttribute("role","combobox"),this.options=n=n||{},function(t,e,n){for(var i in e){var r=e[i],o=t.input.getAttribute("data-"+i.toLowerCase());t[i]="number"==typeof r?parseInt(o):!1===r?null!==o:r instanceof Function?null:o,t[i]||0===t[i]||(t[i]=i in n?n[i]:r)}}(this,{minChars:2,maxItems:10,autoFirst:!1,data:e.DATA,filter:e.FILTER_CONTAINS,sort:!1!==n.sort&&e.SORT_BYLENGTH,container:e.CONTAINER,item:e.ITEM,replace:e.REPLACE,tabSelect:!1,listLabel:"Results List",statusNoResults:"No results found",statusXResults:"{0} results found",statusTypeXChar:"Type {0} or more characters for results"},n),this.index=-1,this.container=this.container(t),this.ul=r.create("ul",{hidden:"hidden",role:"listbox",id:"awesomplete_list_"+this.count,inside:this.container,"aria-label":this.listLabel}),this.status=r.create("span",{className:"visually-hidden",role:"status","aria-live":"assertive","aria-atomic":!0,inside:this.container,textContent:""}),this._events={input:{input:this.evaluate.bind(this),blur:this.close.bind(this,{reason:"blur"}),keydown:function(t){var e=t.keyCode;i.opened&&(13===e&&i.selected||9===e&&i.selected&&i.tabSelect?(t.preventDefault(),i.select(void 0,void 0,t)):27===e?i.close({reason:"esc"}):38!==e&&40!==e||(t.preventDefault(),i[38===e?"previous":"next"]()))}},form:{submit:this.close.bind(this,{reason:"submit"})},ul:{mousedown:function(t){t.preventDefault()},click:function(t){var e=t.target;if(e!==this){for(;e&&!/li/i.test(e.nodeName);)e=e.parentNode;e&&0===t.button&&(t.preventDefault(),i.select(e,t.target,t))}}}},r.bind(this.input,this._events.input),r.bind(this.input.form,this._events.form),r.bind(this.ul,this._events.ul),this.input.hasAttribute("list")?(this.list="#"+this.input.getAttribute("list"),this.input.removeAttribute("list")):this.list=this.input.getAttribute("data-list")||n.list||[],e.all.push(this)};function n(t){var e=Array.isArray(t)?{label:t[0],value:t[1]}:"object"==typeof t&&"label"in t&&"value"in t?t:{label:t,value:t};this.label=e.label||e.value,this.value=e.value}e.prototype={set list(t){if(Array.isArray(t))this._list=t;else if("string"==typeof t&&t.indexOf(",")>-1)this._list=t.split(/\s*,\s*/);else if((t=r(t))&&t.children){var e=[];i.apply(t.children).forEach(function(t){if(!t.disabled){var n=t.textContent.trim(),i=t.value||n,r=t.label||n;""!==i&&e.push({label:r,value:i})}}),this._list=e}document.activeElement===this.input&&this.evaluate()},get selected(){return this.index>-1},get opened(){return this.isOpened},close:function(t){this.opened&&(this.input.setAttribute("aria-expanded","false"),this.ul.setAttribute("hidden",""),this.isOpened=!1,this.index=-1,this.status.setAttribute("hidden",""),this.input.setAttribute("aria-activedescendant",""),r.fire(this.input,"awesomplete-close",t||{}))},open:function(){this.input.setAttribute("aria-expanded","true"),this.ul.removeAttribute("hidden"),this.isOpened=!0,this.status.removeAttribute("hidden"),this.autoFirst&&-1===this.index&&this.goto(0),r.fire(this.input,"awesomplete-open")},destroy:function(){if(r.unbind(this.input,this._events.input),r.unbind(this.input.form,this._events.form),!this.options.container){var t=this.container.parentNode;t.insertBefore(this.input,this.container),t.removeChild(this.container)}this.input.removeAttribute("autocomplete"),this.input.removeAttribute("aria-autocomplete"),this.input.removeAttribute("aria-expanded"),this.input.removeAttribute("aria-controls"),this.input.removeAttribute("aria-owns"),this.input.removeAttribute("role");var n=e.all.indexOf(this);-1!==n&&e.all.splice(n,1)},next:function(){var t=this.ul.children.length;this.goto(this.index<t-1?this.index+1:t?0:-1)},previous:function(){var t=this.ul.children.length,e=this.index-1;this.goto(this.selected&&-1!==e?e:t-1)},goto:function(t){var e=this.ul.children;this.selected&&e[this.index].setAttribute("aria-selected","false"),this.index=t,t>-1&&e.length>0&&(e[t].setAttribute("aria-selected","true"),this.input.setAttribute("aria-activedescendant",this.ul.id+"_item_"+this.index),this.ul.scrollTop=e[t].offsetTop-this.ul.clientHeight+e[t].clientHeight,r.fire(this.input,"awesomplete-highlight",{text:this.suggestions[this.index]}))},select:function(t,e,n){if(t?this.index=r.siblingIndex(t):t=this.ul.children[this.index],t){var i=this.suggestions[this.index];r.fire(this.input,"awesomplete-select",{text:i,origin:e||t,originalEvent:n})&&(this.replace(i),this.close({reason:"select"}),r.fire(this.input,"awesomplete-selectcomplete",{text:i,originalEvent:n}))}},evaluate:function(){var t=this,e=this.input.value;e.length>=this.minChars&&this._list&&this._list.length>0?(this.index=-1,this.ul.innerHTML="",this.suggestions=this._list.map(function(i){return new n(t.data(i,e))}).filter(function(n){return t.filter(n,e)}),!1!==this.sort&&(this.suggestions=this.suggestions.sort(this.sort)),this.suggestions=this.suggestions.slice(0,this.maxItems),this.suggestions.forEach(function(n,i){t.ul.appendChild(t.item(n,e,i))}),0===this.ul.children.length?(this.status.textContent=this.statusNoResults,this.close({reason:"nomatches"})):(this.input.setAttribute("aria-activedescendant",""),this.open(),this.status.textContent=this.statusXResults.replaceAll("{0}",this.ul.children.length))):(this.close({reason:"nomatches"}),this.minChar<=1||e.length>=this.minChars?this.status.textContent=this.statusNoResults:this.status.textContent=this.statusTypeXChar.replaceAll("{0}",this.minChars))}},e.all=[],e.FILTER_CONTAINS=function(t,e){return RegExp(r.regExpEscape(e.trim()),"i").test(t)},e.FILTER_STARTSWITH=function(t,e){return RegExp("^"+r.regExpEscape(e.trim()),"i").test(t)},e.SORT_BYLENGTH=function(t,e){return t.length!==e.length?t.length-e.length:t<e?-1:1},e.CONTAINER=function(t){return r.create("div",{className:"awesomplete",around:t})},e.ITEM=function(t,e,n){var i=""===e.trim()?t:t.replace(RegExp(r.regExpEscape(e.trim()),"gi"),"<mark>$&</mark>");return r.create("li",{innerHTML:i,role:"option","aria-selected":"false",tabindex:"-1",id:"awesomplete_list_"+this.count+"_item_"+n})},e.REPLACE=function(t){this.input.value=t.value},e.DATA=function(t){return t},Object.defineProperty(n.prototype=Object.create(String.prototype),"length",{get:function(){return this.label.length}}),n.prototype.toString=n.prototype.valueOf=function(){return""+this.label};var i=Array.prototype.slice;function r(t,e){return"string"==typeof t?(e||document).querySelector(t):t||null}function o(t,e){return i.call((e||document).querySelectorAll(t))}function s(){o("input.awesomplete").forEach(function(t){new e(t)})}r.create=function(t,e){var n=document.createElement(t);for(var i in e){var o=e[i];if("inside"===i)r(o).appendChild(n);else if("around"===i){var s=r(o);s.parentNode.insertBefore(n,s),n.appendChild(s),null!=s.getAttribute("autofocus")&&s.focus()}else i in n?n[i]=o:n.setAttribute(i,o)}return n},r.bind=function(t,e){if(t)for(var n in e){var i=e[n];n.split(/\s+/).forEach(function(e){t.addEventListener(e,i)})}},r.unbind=function(t,e){if(t)for(var n in e){var i=e[n];n.split(/\s+/).forEach(function(e){t.removeEventListener(e,i)})}},r.fire=function(t,e,n){var i=document.createEvent("HTMLEvents");for(var r in i.initEvent(e,!0,!0),n)i[r]=n[r];return t.dispatchEvent(i)},r.regExpEscape=function(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")},r.siblingIndex=function(t){for(var e=0;t=t.previousElementSibling;e++);return e},"undefined"!=typeof self&&(self.Awesomplete=e),"undefined"!=typeof Document&&("loading"!==document.readyState?s():document.addEventListener("DOMContentLoaded",s)),e.$=r,e.$$=o,t.exports&&(t.exports=e)}()},81028(t,e,n){"use strict";n.d(e,{A:()=>a});var i=n(31601),r=n.n(i),o=n(76314),s=n.n(o)()(r());s.push([t.id,'.awesomplete [hidden] {\n display: none;\n}\n\n.awesomplete .visually-hidden {\n position: absolute;\n clip: rect(0, 0, 0, 0);\n}\n\n.awesomplete {\n display: inline-block;\n position: relative;\n}\n\n.awesomplete > input {\n display: block;\n}\n\n.awesomplete > ul {\n position: absolute;\n left: 0;\n z-index: 1;\n min-width: 100%;\n box-sizing: border-box;\n list-style: none;\n padding: 0;\n margin: 0;\n background: #fff;\n}\n\n.awesomplete > ul:empty {\n display: none;\n}\n\n.awesomplete > ul {\n\tborder-radius: .3em;\n\tmargin: .2em 0 0;\n\tbackground: hsla(0,0%,100%,.9);\n\tbackground: linear-gradient(to bottom right, white, hsla(0,0%,100%,.8));\n\tborder: 1px solid rgba(0,0,0,.3);\n\tbox-shadow: .05em .2em .6em rgba(0,0,0,.2);\n\ttext-shadow: none;\n}\n\n@supports (transform: scale(0)) {\n\t.awesomplete > ul {\n\t\ttransition: .3s cubic-bezier(.4,.2,.5,1.4);\n\t\ttransform-origin: 1.43em -.43em;\n\t}\n\t\n\t.awesomplete > ul[hidden],\n\t.awesomplete > ul:empty {\n\t\topacity: 0;\n\t\ttransform: scale(0);\n\t\tdisplay: block;\n\t\tvisibility: hidden;\n\t\ttransition-timing-function: ease;\n\t}\n}\n\n\t/* Pointer */\n\t.awesomplete > ul:before {\n\t\tcontent: "";\n\t\tposition: absolute;\n\t\ttop: -.43em;\n\t\tleft: 1em;\n\t\twidth: 0; height: 0;\n\t\tpadding: .4em;\n\t\tbackground: white;\n\t\tborder: inherit;\n\t\tborder-right: 0;\n\t\tborder-bottom: 0;\n\t\t-webkit-transform: rotate(45deg);\n\t\ttransform: rotate(45deg);\n\t}\n\n\t.awesomplete > ul > li {\n\t\tposition: relative;\n\t\tpadding: .2em .5em;\n\t\tcursor: pointer;\n\t}\n\t\n\t.awesomplete > ul > li:hover {\n\t\tbackground: hsl(200, 40%, 80%);\n\t\tcolor: black;\n\t}\n\t\n\t.awesomplete > ul > li[aria-selected="true"] {\n\t\tbackground: hsl(205, 40%, 40%);\n\t\tcolor: white;\n\t}\n\t\n\t\t.awesomplete mark {\n\t\t\tbackground: hsl(65, 100%, 50%);\n\t\t}\n\t\t\n\t\t.awesomplete li:hover mark {\n\t\t\tbackground: hsl(68, 100%, 41%);\n\t\t}\n\t\t\n\t\t.awesomplete li[aria-selected="true"] mark {\n\t\t\tbackground: hsl(86, 100%, 21%);\n\t\t\tcolor: inherit;\n\t\t}\n',""]);const a=s},14913(t,e,n){"use strict";n.d(e,{A:()=>h});var i=n(31601),r=n.n(i),o=n(76314),s=n.n(o),a=n(4417),l=n.n(a),u=new URL(n(30574),n.b),c=new URL(n(54564),n.b),f=s()(r()),d=l()(u),p=l()(c);f.push([t.id,`@font-face {\n font-family: "Material Icons";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(${d}) format("woff2"), url(${p}) format("woff");\n}\n.material-icons {\n font-family: "Material Icons";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: "liga";\n}\n`,""]);const h=f},93911(t,e,n){"use strict";n.d(e,{A:()=>T});var i=n(31601),r=n.n(i),o=n(76314),s=n.n(o),a=n(4417),l=n.n(a),u=new URL(n(30574),n.b),c=new URL(n(54564),n.b),f=new URL(n(64429),n.b),d=new URL(n(43957),n.b),p=new URL(n(62221),n.b),h=new URL(n(88981),n.b),m=new URL(n(95621),n.b),b=new URL(n(15261),n.b),y=new URL(n(52704),n.b),g=new URL(n(7286),n.b),v=s()(r()),w=l()(u),x=l()(c),k=l()(f),E=l()(d),_=l()(p),S=l()(h),A=l()(m),C=l()(b),I=l()(y),R=l()(g);v.push([t.id,`@font-face {\n font-family: "Material Icons";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(${w}) format("woff2"), url(${x}) format("woff");\n}\n.material-icons {\n font-family: "Material Icons";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: "liga";\n}\n\n@font-face {\n font-family: "Material Icons Outlined";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(${k}) format("woff2"), url(${E}) format("woff");\n}\n.material-icons-outlined {\n font-family: "Material Icons Outlined";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: "liga";\n}\n\n@font-face {\n font-family: "Material Icons Round";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(${_}) format("woff2"), url(${S}) format("woff");\n}\n.material-icons-round {\n font-family: "Material Icons Round";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: "liga";\n}\n\n@font-face {\n font-family: "Material Icons Sharp";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(${A}) format("woff2"), url(${C}) format("woff");\n}\n.material-icons-sharp {\n font-family: "Material Icons Sharp";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: "liga";\n}\n\n@font-face {\n font-family: "Material Icons Two Tone";\n font-style: normal;\n font-weight: 400;\n font-display: block;\n src: url(${I}) format("woff2"), url(${R}) format("woff");\n}\n.material-icons-two-tone {\n font-family: "Material Icons Two Tone";\n font-weight: normal;\n font-style: normal;\n font-size: 24px;\n line-height: 1;\n letter-spacing: normal;\n text-transform: none;\n display: inline-block;\n white-space: nowrap;\n word-wrap: normal;\n direction: ltr;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-rendering: optimizeLegibility;\n font-feature-settings: "liga";\n}\n`,""]);const T=v},51719(t,e,n){"use strict";n.d(e,{A:()=>a});var i=n(31601),r=n.n(i),o=n(76314),s=n.n(o)()(r());s.push([t.id,'/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type="button"],\n[type="reset"],\n[type="submit"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type="button"]::-moz-focus-inner,\n[type="reset"]::-moz-focus-inner,\n[type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type="button"]:-moz-focusring,\n[type="reset"]:-moz-focusring,\n[type="submit"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type="checkbox"],\n[type="radio"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type="number"]::-webkit-inner-spin-button,\n[type="number"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type="search"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n',""]);const a=s},76314(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n="",i=void 0!==e[5];return e[4]&&(n+="@supports (".concat(e[4],") {")),e[2]&&(n+="@media ".concat(e[2]," {")),i&&(n+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),n+=t(e),i&&(n+="}"),e[2]&&(n+="}"),e[4]&&(n+="}"),n}).join("")},e.i=function(t,n,i,r,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(i)for(var a=0;a<this.length;a++){var l=this[a][0];null!=l&&(s[l]=!0)}for(var u=0;u<t.length;u++){var c=[].concat(t[u]);i&&s[c[0]]||(void 0!==o&&(void 0===c[5]||(c[1]="@layer".concat(c[5].length>0?" ".concat(c[5]):""," {").concat(c[1],"}")),c[5]=o),n&&(c[2]?(c[1]="@media ".concat(c[2]," {").concat(c[1],"}"),c[2]=n):c[2]=n),r&&(c[4]?(c[1]="@supports (".concat(c[4],") {").concat(c[1],"}"),c[4]=r):c[4]="".concat(r)),e.push(c))}},e}},4417(t){"use strict";t.exports=function(t,e){return e||(e={}),t?(t=String(t.__esModule?t.default:t),/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]|(%20)/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t):t}},31601(t){"use strict";t.exports=function(t){return t[1]}},23804(t,e,n){"use strict";n(34915);Object.create(null)},79240(t,e){"use strict";function n(t){const e=t.lastIndexOf(".");return-1===e||0===e?"":t.slice(e)}function i(t){let e="\\";for(const n of t)if("/"===n||"\\"===n){e=n;break}return e}e.Jn=function(t,e){let n=i(t);if("."===e)return t;if(".."===e){if(t.length>1){let e=t[t.length-1]===n?1:0;for(let i=t.length-1-e;i>=0;i--)if(t[i]===n)return t.substring(0,i+1)}return t}return t.endsWith(n)&&e.startsWith(n)?t.slice(0,-1)+e:t.endsWith(n)||e.startsWith(n)?t+e:t+n+e},e.Z1=function(t){if("string"!=typeof t)return!1;return/^[a-zA-Z]:[\\\/]/.test(t)||/^\//.test(t)};const r={".com":4,".exe":3,".bat":2,".cmd":1}},29698(t,e){"use strict";var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function r(t,e,i){var r=null;if(void 0!==i&&(r=""+i),void 0!==e.key&&(r=""+e.key),"key"in e)for(var o in i={},e)"key"!==o&&(i[o]=e[o]);else i=e;return e=i.ref,{$$typeof:n,type:t,key:r,ref:void 0!==e?e:null,props:i}}e.Fragment=i,e.jsx=r,e.jsxs=r},29869(t,e){"use strict";var n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.activity"),h=Symbol.iterator;var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,y={};function g(t,e,n){this.props=t,this.context=e,this.refs=y,this.updater=n||m}function v(){}function w(t,e,n){this.props=t,this.context=e,this.refs=y,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},g.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},v.prototype=g.prototype;var x=w.prototype=new v;x.constructor=w,b(x,g.prototype),x.isPureReactComponent=!0;var k=Array.isArray;function E(){}var _={H:null,A:null,T:null,S:null},S=Object.prototype.hasOwnProperty;function A(t,e,i){var r=i.ref;return{$$typeof:n,type:t,key:e,ref:void 0!==r?r:null,props:i}}function C(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var I=/\/+/g;function R(t,e){return"object"==typeof t&&null!==t&&null!=t.key?(n=""+t.key,i={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,function(t){return i[t]})):e.toString(36);var n,i}function T(t,e,r,o,s){var a=typeof t;"undefined"!==a&&"boolean"!==a||(t=null);var l,u,c=!1;if(null===t)c=!0;else switch(a){case"bigint":case"string":case"number":c=!0;break;case"object":switch(t.$$typeof){case n:case i:c=!0;break;case d:return T((c=t._init)(t._payload),e,r,o,s)}}if(c)return s=s(t),c=""===o?"."+R(t,0):o,k(s)?(r="",null!=c&&(r=c.replace(I,"$&/")+"/"),T(s,e,r,"",function(t){return t})):null!=s&&(C(s)&&(l=s,u=r+(null==s.key||t&&t.key===s.key?"":(""+s.key).replace(I,"$&/")+"/")+c,s=A(l.type,u,l.props)),e.push(s)),1;c=0;var f,p=""===o?".":o+":";if(k(t))for(var m=0;m<t.length;m++)c+=T(o=t[m],e,r,a=p+R(o,m),s);else if("function"==typeof(m=null===(f=t)||"object"!=typeof f?null:"function"==typeof(f=h&&f[h]||f["@@iterator"])?f:null))for(t=m.call(t),m=0;!(o=t.next()).done;)c+=T(o=o.value,e,r,a=p+R(o,m++),s);else if("object"===a){if("function"==typeof t.then)return T(function(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch("string"==typeof t.status?t.then(E,E):(t.status="pending",t.then(function(e){"pending"===t.status&&(t.status="fulfilled",t.value=e)},function(e){"pending"===t.status&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}(t),e,r,o,s);throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return c}function z(t,e,n){if(null==t)return t;var i=[],r=0;return T(t,i,"","",function(t){return e.call(n,t,r++)}),i}function O(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var L="function"==typeof reportError?reportError:function(t){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof t&&null!==t&&"string"==typeof t.message?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",t);console.error(t)},j={map:z,forEach:function(t,e,n){z(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return z(t,function(){e++}),e},toArray:function(t){return z(t,function(t){return t})||[]},only:function(t){if(!C(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};e.Activity=p,e.Children=j,e.Component=g,e.Fragment=r,e.Profiler=s,e.PureComponent=w,e.StrictMode=o,e.Suspense=c,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=_,e.__COMPILER_RUNTIME={__proto__:null,c:function(t){return _.H.useMemoCache(t)}},e.cache=function(t){return function(){return t.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(t,e,n){if(null==t)throw Error("The argument must be a React element, but you passed "+t+".");var i=b({},t.props),r=t.key;if(null!=e)for(o in void 0!==e.key&&(r=""+e.key),e)!S.call(e,o)||"key"===o||"__self"===o||"__source"===o||"ref"===o&&void 0===e.ref||(i[o]=e[o]);var o=arguments.length-2;if(1===o)i.children=n;else if(1<o){for(var s=Array(o),a=0;a<o;a++)s[a]=arguments[a+2];i.children=s}return A(t.type,r,i)},e.createContext=function(t){return(t={$$typeof:l,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null}).Provider=t,t.Consumer={$$typeof:a,_context:t},t},e.createElement=function(t,e,n){var i,r={},o=null;if(null!=e)for(i in void 0!==e.key&&(o=""+e.key),e)S.call(e,i)&&"key"!==i&&"__self"!==i&&"__source"!==i&&(r[i]=e[i]);var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){for(var a=Array(s),l=0;l<s;l++)a[l]=arguments[l+2];r.children=a}if(t&&t.defaultProps)for(i in s=t.defaultProps)void 0===r[i]&&(r[i]=s[i]);return A(t,o,r)},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:u,render:t}},e.isValidElement=C,e.lazy=function(t){return{$$typeof:d,_payload:{_status:-1,_result:t},_init:O}},e.memo=function(t,e){return{$$typeof:f,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=_.T,n={};_.T=n;try{var i=t(),r=_.S;null!==r&&r(n,i),"object"==typeof i&&null!==i&&"function"==typeof i.then&&i.then(E,L)}catch(t){L(t)}finally{null!==e&&null!==n.types&&(e.types=n.types),_.T=e}},e.unstable_useCacheRefresh=function(){return _.H.useCacheRefresh()},e.use=function(t){return _.H.use(t)},e.useActionState=function(t,e,n){return _.H.useActionState(t,e,n)},e.useCallback=function(t,e){return _.H.useCallback(t,e)},e.useContext=function(t){return _.H.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t,e){return _.H.useDeferredValue(t,e)},e.useEffect=function(t,e){return _.H.useEffect(t,e)},e.useEffectEvent=function(t){return _.H.useEffectEvent(t)},e.useId=function(){return _.H.useId()},e.useImperativeHandle=function(t,e,n){return _.H.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return _.H.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return _.H.useLayoutEffect(t,e)},e.useMemo=function(t,e){return _.H.useMemo(t,e)},e.useOptimistic=function(t,e){return _.H.useOptimistic(t,e)},e.useReducer=function(t,e,n){return _.H.useReducer(t,e,n)},e.useRef=function(t){return _.H.useRef(t)},e.useState=function(t){return _.H.useState(t)},e.useSyncExternalStore=function(t,e,n){return _.H.useSyncExternalStore(t,e,n)},e.useTransition=function(){return _.H.useTransition()},e.version="19.2.7"},96540(t,e,n){"use strict";t.exports=n(29869)},74848(t,e,n){"use strict";t.exports=n(29698)},4477(t,e){"use strict";function n(t,e){var n=t.length;t.push(e);t:for(;0<n;){var i=n-1>>>1,r=t[i];if(!(0<o(r,e)))break t;t[i]=e,t[n]=r,n=i}}function i(t){return 0===t.length?null:t[0]}function r(t){if(0===t.length)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var i=0,r=t.length,s=r>>>1;i<s;){var a=2*(i+1)-1,l=t[a],u=a+1,c=t[u];if(0>o(l,n))u<r&&0>o(c,l)?(t[i]=c,t[u]=n,i=u):(t[i]=l,t[a]=n,i=a);else{if(!(u<r&&0>o(c,n)))break t;t[i]=c,t[u]=n,i=u}}}return e}function o(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var s=performance;e.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var u=[],c=[],f=1,d=null,p=3,h=!1,m=!1,b=!1,y=!1,g="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,w="undefined"!=typeof setImmediate?setImmediate:null;function x(t){for(var e=i(c);null!==e;){if(null===e.callback)r(c);else{if(!(e.startTime<=t))break;r(c),e.sortIndex=e.expirationTime,n(u,e)}e=i(c)}}function k(t){if(b=!1,x(t),!m)if(null!==i(u))m=!0,_||(_=!0,E());else{var e=i(c);null!==e&&O(k,e.startTime-t)}}var E,_=!1,S=-1,A=5,C=-1;function I(){return!!y||!(e.unstable_now()-C<A)}function R(){if(y=!1,_){var t=e.unstable_now();C=t;var n=!0;try{t:{m=!1,b&&(b=!1,v(S),S=-1),h=!0;var o=p;try{e:{for(x(t),d=i(u);null!==d&&!(d.expirationTime>t&&I());){var s=d.callback;if("function"==typeof s){d.callback=null,p=d.priorityLevel;var a=s(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof a){d.callback=a,x(t),n=!0;break e}d===i(u)&&r(u),x(t)}else r(u);d=i(u)}if(null!==d)n=!0;else{var l=i(c);null!==l&&O(k,l.startTime-t),n=!1}}break t}finally{d=null,p=o,h=!1}n=void 0}}finally{n?E():_=!1}}}if("function"==typeof w)E=function(){w(R)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,z=T.port2;T.port1.onmessage=R,E=function(){z.postMessage(null)}}else E=function(){g(R,0)};function O(t,n){S=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_next=function(t){switch(p){case 1:case 2:case 3:var e=3;break;default:e=p}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_requestPaint=function(){y=!0},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_scheduleCallback=function(t,r,o){var s=e.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?s+o:s:o=s,t){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return t={id:f++,callback:r,priorityLevel:t,startTime:o,expirationTime:a=o+a,sortIndex:-1},o>s?(t.sortIndex=o,n(c,t),null===i(u)&&t===i(c)&&(b?(v(S),S=-1):b=!0,O(k,o-s))):(t.sortIndex=a,n(u,t),m||h||(m=!0,_||(_=!0,E()))),t},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(t){var e=p;return function(){var n=p;p=e;try{return t.apply(this,arguments)}finally{p=n}}}},69982(t,e,n){"use strict";t.exports=n(4477)},79145(t,e,n){"use strict";var i=n(85072),r=n.n(i),o=n(97825),s=n.n(o),a=n(77659),l=n.n(a),u=n(55056),c=n.n(u),f=n(10540),d=n.n(f),p=n(41113),h=n.n(p),m=n(81028),b={};b.styleTagTransform=h(),b.setAttributes=c(),b.insert=l().bind(null,"head"),b.domAPI=s(),b.insertStyleElement=d();r()(m.A,b),m.A&&m.A.locals&&m.A.locals},30576(t,e,n){"use strict";var i=n(85072),r=n.n(i),o=n(97825),s=n.n(o),a=n(77659),l=n.n(a),u=n(55056),c=n.n(u),f=n(10540),d=n.n(f),p=n(41113),h=n.n(p),m=n(93911),b={};b.styleTagTransform=h(),b.setAttributes=c(),b.insert=l().bind(null,"head"),b.domAPI=s(),b.insertStyleElement=d();r()(m.A,b),m.A&&m.A.locals&&m.A.locals},85072(t){"use strict";var e=[];function n(t){for(var n=-1,i=0;i<e.length;i++)if(e[i].identifier===t){n=i;break}return n}function i(t,i){for(var o={},s=[],a=0;a<t.length;a++){var l=t[a],u=i.base?l[0]+i.base:l[0],c=o[u]||0,f="".concat(u," ").concat(c);o[u]=c+1;var d=n(f),p={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)e[d].references++,e[d].updater(p);else{var h=r(p,i);i.byIndex=a,e.splice(a,0,{identifier:f,updater:h,references:1})}s.push(f)}return s}function r(t,e){var n=e.domAPI(e);n.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;n.update(t=e)}else n.remove()}}t.exports=function(t,r){var o=i(t=t||[],r=r||{});return function(t){t=t||[];for(var s=0;s<o.length;s++){var a=n(o[s]);e[a].references--}for(var l=i(t,r),u=0;u<o.length;u++){var c=n(o[u]);0===e[c].references&&(e[c].updater(),e.splice(c,1))}o=l}}},77659(t){"use strict";var e={};t.exports=function(t,n){var i=function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}(t);if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}},10540(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},55056(t,e,n){"use strict";t.exports=function(t){var e=n.nc;e&&t.setAttribute("nonce",e)}},97825(t){"use strict";t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=t.insertStyleElement(t);return{update:function(n){!function(t,e,n){var i="";n.supports&&(i+="@supports (".concat(n.supports,") {")),n.media&&(i+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(i+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),i+=n.css,r&&(i+="}"),n.media&&(i+="}"),n.supports&&(i+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleTagTransform(i,t,e.options)}(e,t,n)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(e)}}}},41113(t){"use strict";t.exports=function(t,e){if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}},58493(t,e,n){"use strict";var i=n(96540);var r="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e},o=i.useState,s=i.useEffect,a=i.useLayoutEffect,l=i.useDebugValue;function u(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!r(t,n)}catch(t){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),i=o({inst:{value:n,getSnapshot:e}}),r=i[0].inst,c=i[1];return a(function(){r.value=n,r.getSnapshot=e,u(r)&&c({inst:r})},[t,n,e]),s(function(){return u(r)&&c({inst:r}),t(function(){u(r)&&c({inst:r})})},[t]),l(n),n};e.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c},19888(t,e,n){"use strict";t.exports=n(58493)},34915(t){t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},43957(t,e,n){"use strict";t.exports=n.p+"f882956fd323fd322f31.woff"},64429(t,e,n){"use strict";t.exports=n.p+"6f420cf17cc0d7676fad.woff2"},88981(t,e,n){"use strict";t.exports=n.p+"5d681e2edae8c60630db.woff"},62221(t,e,n){"use strict";t.exports=n.p+"c380809fd3677d7d6903.woff2"},15261(t,e,n){"use strict";t.exports=n.p+"3a4004a46a653d4b2166.woff"},95621(t,e,n){"use strict";t.exports=n.p+"219aa9140e099e6c72ed.woff2"},7286(t,e,n){"use strict";t.exports=n.p+"3baa5b8f3469222b822d.woff"},52704(t,e,n){"use strict";t.exports=n.p+"4ef4218c522f1eb6b5b1.woff2"},54564(t,e,n){"use strict";t.exports=n.p+"4d73cb90e394b34b7670.woff"},30574(t,e,n){"use strict";t.exports=n.p+"0c35d18bf06992036b69.woff2"}}]);
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license React
|
|
3
|
+
* react-jsx-runtime.production.js
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE file in the root directory of this source tree.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @license React
|
|
13
|
+
* react.production.js
|
|
14
|
+
*
|
|
15
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
16
|
+
*
|
|
17
|
+
* This source code is licensed under the MIT license found in the
|
|
18
|
+
* LICENSE file in the root directory of this source tree.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @license React
|
|
23
|
+
* scheduler.production.js
|
|
24
|
+
*
|
|
25
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the MIT license found in the
|
|
28
|
+
* LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @license React
|
|
33
|
+
* use-sync-external-store-shim.production.js
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[6892],{26892(e,t,c){c.r(t),c.d(t,{default:()=>m});c(96540);var s=c(83029),a=(c(27690),c(26417)),n=c(14284),i=c(53459),l=(c(85997),c(57952)),r=c(59270),d=c(78247),o=c(23430),_=c(34843),u=c(62042),f=c(74848);function m(){const{t:e}=(0,r.Bd)(),[t,c]=(0,_.fp)(a.AG.showPrompt),{check_user_auth:m}=(0,d.MH)();return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.A,{}),(0,f.jsx)(s.N,{have_auth_edit:m(o.oV.net_site_tag_update),getItems:async()=>{const e=await n.sY.get();return e.code===i.m.Success?e.data:[]},save:async e=>{(await n.sY.post("save",e)).code===i.m.Success&&(0,u.SK)("保存成功")},items:[{key:"name",preName:e("名字")},{key:"url",preName:"url"},{key:"color",preName:"color"}]})]})}},83029(e,t,c){c.d(t,{N:()=>k});var s=c(96540),a=c(34843),n=c(26417),i=c(74848);function l(e){const[t,c]=(0,a.fp)(n.AG.user_base_info);return(0,i.jsx)("div",{children:e.div?(0,i.jsx)("div",{className:"nav_list_a",style:{background:e.color},children:e.name}):e.clickItem||"dir"===e._type?(0,i.jsx)("div",{className:"nav_list_a",style:{background:e.color},onClick:()=>{"dir"!==e._type?e.clickItem&&e.clickItem(e):e.click_dir(e.item)},children:e.name}):(0,i.jsx)("a",{href:e.url,target:e.target,className:"nav_list_a",style:{background:e.color},children:e.name})})}var r=c(64694),d=c(63033),o=c(85997),_=c(52671),u=c(59270);const f=["#ffffff","#fefff8","#fcfdf1","#d3d2dc","#f8f9fd","#ebf4fe","#ebebeb","#e8f7eb","#eaf2f9"];let m,h,p=[];const v=[];function k(e){const[t,c]=(0,s.useState)([]),[k,x]=(0,s.useState)(-1),j=(0,_.zy)(),[y,b]=(0,s.useState)(!1),[g,C]=(0,s.useState)(!1),{t:N}=(0,u.Bd)(),[S,w]=(0,s.useState)([]),[I,A]=(0,a.fp)(n.AG.nav_index_add_item_by_now_list),D=e=>{-1!==k?v[k]._children=e:p=e};(0,s.useEffect)(()=>{(async()=>{if(!e.getItems)return;const t=await e.getItems();p=t,c(p)})()},[j]);(0,s.useEffect)(()=>{if(I){const e=[...t,{name:"",color:(0,r.Lr)(f),...I}];D(e),c(e),b(!0),A(void 0)}},[I]);const F=e=>{x(k+1),c(e._children),v.push(e)};return(0,i.jsxs)("div",{className:"nav_list_div scroll-div-y",children:[-1!==k&&(0,i.jsx)(o.rA,{title:"返回",icon:"arrow_back",onClick:()=>{c(0===k?p:v[k-1]._children),x(k-1),v.pop()}}),t.map((a,n)=>(0,i.jsxs)("div",{draggable:!0,onDragOver:e=>{e.preventDefault()},onDragStart:e=>((e,t)=>{m=t})(0,n),onDrop:e=>((e,s)=>{e.preventDefault();const a=t[m],n=t[s];if(n&&"dir"===n._type){const e=[...t];return e.splice(m,1),n._children||(n._children=[]),n._children.push(a),D(e),void c(e)}const i=[...t],l=i[m];i.splice(m,1),i.splice(s,0,l),D(i),c(i)})(e,n),style:{cursor:y?"move":"pointer"},children:[(0,i.jsx)(l,{name:a.name,item:a,...a,div:y,target:"_blank",click_dir:F,clickItem:e.clickItem}),y&&(void 0!==S.find(e=>e===n)||g)&&(0,i.jsxs)("div",{className:g?"":" site_edit ",children:["dir"===a._type?(0,i.jsxs)(s.Fragment,{children:[(0,i.jsx)(d.Sm,{value:a.name,handleInputChange:e=>{a.name=e},placeholder:N("输入类目名"),no_border:!0}),(0,i.jsx)(d.Sm,{value:a.color,handleInputChange:e=>{a.color=e},placeholder:"color",no_border:!0})]}):e.items.map((e,t)=>(0,i.jsx)("div",{children:(0,i.jsx)(d.Sm,{value:a[e.key],handleInputChange:t=>{a[e.key]=t},placeholder:e.preName,no_border:!0})},t)),!g&&(0,i.jsx)(o.C3,{text:N("折叠"),clickFun:()=>{w((0,r.P1)(S,n))}})]}),y&&(0,i.jsx)("div",{style:{display:"block"},children:(0,i.jsxs)("span",{className:"div-row ",children:[(0,i.jsx)(o.C3,{text:N("删除"),clickFun:()=>{(e=>{const s=[...t];s.splice(e,1),D(s),c(s)})(n)}}),(0,i.jsx)(o.C3,{text:N("编辑"),clickFun:()=>{void 0===S.find(e=>e===n)&&w([...S,n])}})]})})]},n)),y&&(0,i.jsxs)("div",{style:{display:"block"},children:[(0,i.jsx)(o.rA,{title:N("取消"),icon:"cancel",onClick:()=>{w([]),b(!1),h&&(c(h),D(h)),C(!1)}}),(0,i.jsx)(o.rA,{title:N("添加"),icon:"add",onClick:async()=>{const s=[...t,{name:"",color:(0,r.Lr)(f),...e.get_pre_add_item&&await e.get_pre_add_item()}];D(s),c(s)}}),(0,i.jsx)(o.rA,{title:N("添加类目"),icon:"add_box",onClick:()=>{const e=[...t,{name:"",_type:"dir",_children:[],color:"#c1edfb"}];D(e),c(e)}}),(0,i.jsx)(o.rA,{title:N("全部编辑"),icon:g?"unfold_less":"unfold_more",onClick:()=>{C(!g)}})]}),(void 0===e.have_auth_edit||!0===e.have_auth_edit)&&(0,i.jsx)(o.rA,{icon:y?"save":"edit",title:N(y?"保存":"编辑"),onClick:async()=>{y?e.save&&await e.save(p):h=t,b(!y)}})]})}}}]);
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[7133],{77133(e,s,i){i.r(s),i.d(s,{default:()=>d});var a=i(96540),t=i(85997),c=i(57952),l=i(34843),n=i(26417),r=i(47022),o=i(74848);function p(e){const s=(0,a.useRef)(null),i=(0,a.useRef)(null);return(0,o.jsx)("div",{className:"image-ex-container",ref:s,style:{height:"100%"},children:(0,o.jsx)("img",{className:"image-ex-img image-ex-img-center",ref:i,src:e.path,alt:""})})}var u=i(59270);const f=a.lazy(()=>Promise.all([i.e(7888),i.e(6633),i.e(715),i.e(9396),i.e(7901),i.e(4904),i.e(5469)]).then(i.bind(i,69160)));function d(e){const{t:s}=(0,u.Bd)(),[i,a]=(0,l.fp)(n.AG.file_preview);if(!i.open)return;let d;switch(i.type){case r.Iw.video:d=(0,o.jsx)(f,{source:i.url,options:{autoplay:!1}});break;case r.Iw.image:d=(0,o.jsx)(p,{path:i.url});break;case r.Iw.pdf:d=(0,o.jsx)("object",{className:"pdf",data:i.url+"&show=1",type:"application/pdf"})}const h=(0,o.jsxs)("div",{id:"previewer",children:[(0,o.jsx)(c.A,{ignore_tags:!0,left_children:[(0,o.jsx)(t.rA,{title:s("取消"),icon:"close",onClick:function(){a({open:!1}),i?.close?.()}},1)]}),(0,o.jsx)("div",{className:"preview",children:d})]});return i.open&&h}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[4091,7181],{84091(e,t,n){n.r(t),n.d(t,{default:()=>d});var i=n(96540),o=n(80952),s=(n(82327),n(1766),n(24854),n(90008),n(90846),n(40975),n(44286),n(30766),n(1234),n(47507),n(87268),n(24522)),c=n(34843),r=n(26417),l=n(78247),a=n(74848);function d(e){const t=(0,i.useRef)(null),[n,d]=(0,c.fp)(r.AG.user_base_info),f=n.user_data.theme?.includes("dark")?"cloud_editor_dark":"cloud9_day";return(0,i.useEffect)(()=>{const n=o.edit(t.current,{value:l.xK.get_value_temp(e.editor_id),showPrintMargin:!1,theme:`ace/theme/${f}`,mode:e.model??s.getModeForPath(e.name??"").mode,wrap:!1,highlightActiveLine:!1,fontSize:14,...e.options});return n.setOptions({}),n.container.addEventListener("wheel",function(e){e.preventDefault()}),n.focus(),n.on("change",function(t){e.on_change&&e.on_change()}),t.current=n,n.formatCode=()=>{const e=o.require("ace/ext/beautify"),n=t.current;n&&e.beautify(n.session)},l.xK.set_editor_temp(n,e.editor_id),()=>{l.xK.delete_editor_temp(e.editor_id),n.destroy()}},[]),(0,a.jsx)("div",{ref:t,style:{height:"100%",width:"100%"}})}o.config.set("basePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("modePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("themePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("workerPath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`),o.config.set("basePath",`https://gcore.jsdelivr.net/npm/ace-builds@${o.version}/src-min-noconflict/`)},57181(e,t,n){n.r(t),n.d(t,{default:()=>h});var i=n(96540),o=n(85997),s=n(57952),c=n(34843),r=n(26417),l=n(78247),a=(n(62042),n(84091)),d=n(34289),f=n(34251),u=n(74848);function h(){const[e,t]=(0,c.fp)(r.AG.editorSetting),[n,h]=(0,i.useState)(!1),[m,_]=(0,c.fp)(r.AG.fileShellShow),[v,p]=(0,c.fp)(r.AG.file_shell_hidden);async function g(){e.save&&n&&(await e.save(l.xK.get_editor_value()),l.xK.set_value_temp(""),h(!1))}const x=t=>{t.ctrlKey&&"s"===t.key&&(t.preventDefault(),e.save&&n&&g())};return(0,i.useEffect)(()=>()=>{h(!1)},[e]),(0,i.useEffect)(()=>(document.addEventListener("keydown",x),()=>{document.removeEventListener("keydown",x)}),[n,e]),e.open&&(0,u.jsxs)("div",{id:"editor-container",children:[(0,u.jsxs)(s.A,{ignore_tags:!0,left_children:[(0,u.jsx)(o.rA,{title:"取消",icon:"close",onClick:function(){l.xK.set_value_temp(""),t({open:!1,model:"",fileName:"",save:null}),e?.close?.()}},1),(0,u.jsx)("title",{children:e.fileName},2)],children:[e.menu_list&&e.menu_list,(e.can_format||(0,f.zr)(e.fileName))&&(0,u.jsx)(o.rA,{title:"格式化",icon:"data_object",onClick:function(){l.xK.get_editor()?.formatCode()}}),e.opt_shell&&(0,u.jsx)(o.rA,{icon:"terminal",title:"shell",onClick:function(){m.show?p(!v):_({show:!0,path:(0,d.GG)("file",(0,d.vX)())})}}),n&&(0,u.jsx)(o.rA,{title:"保存",icon:"save",onClick:g})]}),(0,u.jsx)(a.default,{name:e.fileName,model:e.model,on_change:function(){n||h(!0)}})]})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[7209],{77481(e,t,n){n.d(t,{S:()=>l,X:()=>i});var a=n(96540),s=n(74848);function i(e){const[t,n]=a.useState([]);return(0,a.useEffect)(()=>{e.children?n(Array.isArray(e.children)?e.children:[e.children]):n(e.rows)},[e.rows,e.children]),(0,s.jsxs)("table",{children:[(0,s.jsx)("thead",{children:(0,s.jsx)("tr",{children:e.headers?.map((e,t)=>(0,s.jsx)("th",{children:e},t))})}),(0,s.jsx)("tbody",{children:t.map((t,n)=>(0,s.jsx)("tr",{onContextMenu:()=>{e.handleContextMenu&&e.handleContextMenu(t)},children:t.map((n,a)=>(0,s.jsx)("td",{style:{width:e.width??"auto"},className:a===t.length-1?"small":"",children:n},a))},n))})]})}function l(e){return(0,s.jsx)("div",{style:{display:e.isFlex?"flex":"block"},children:e.columns.map((e,t)=>(0,s.jsx)("div",{children:e},t))})}},83029(e,t,n){n.d(t,{N:()=>v});var a=n(96540),s=n(34843),i=n(26417),l=n(74848);function c(e){const[t,n]=(0,s.fp)(i.AG.user_base_info);return(0,l.jsx)("div",{children:e.div?(0,l.jsx)("div",{className:"nav_list_a",style:{background:e.color},children:e.name}):e.clickItem||"dir"===e._type?(0,l.jsx)("div",{className:"nav_list_a",style:{background:e.color},onClick:()=>{"dir"!==e._type?e.clickItem&&e.clickItem(e):e.click_dir(e.item)},children:e.name}):(0,l.jsx)("a",{href:e.url,target:e.target,className:"nav_list_a",style:{background:e.color},children:e.name})})}var o=n(64694),r=n(63033),d=n(85997),u=n(52671),h=n(59270);const m=["#ffffff","#fefff8","#fcfdf1","#d3d2dc","#f8f9fd","#ebf4fe","#ebebeb","#e8f7eb","#eaf2f9"];let p,x,_=[];const f=[];function v(e){const[t,n]=(0,a.useState)([]),[v,j]=(0,a.useState)(-1),g=(0,u.zy)(),[y,k]=(0,a.useState)(!1),[C,S]=(0,a.useState)(!1),{t:b}=(0,h.Bd)(),[w,I]=(0,a.useState)([]),[N,A]=(0,s.fp)(i.AG.nav_index_add_item_by_now_list),D=e=>{-1!==v?f[v]._children=e:_=e};(0,a.useEffect)(()=>{(async()=>{if(!e.getItems)return;const t=await e.getItems();_=t,n(_)})()},[g]);(0,a.useEffect)(()=>{if(N){const e=[...t,{name:"",color:(0,o.Lr)(m),...N}];D(e),n(e),k(!0),A(void 0)}},[N]);const F=e=>{j(v+1),n(e._children),f.push(e)};return(0,l.jsxs)("div",{className:"nav_list_div scroll-div-y",children:[-1!==v&&(0,l.jsx)(d.rA,{title:"返回",icon:"arrow_back",onClick:()=>{n(0===v?_:f[v-1]._children),j(v-1),f.pop()}}),t.map((s,i)=>(0,l.jsxs)("div",{draggable:!0,onDragOver:e=>{e.preventDefault()},onDragStart:e=>((e,t)=>{p=t})(0,i),onDrop:e=>((e,a)=>{e.preventDefault();const s=t[p],i=t[a];if(i&&"dir"===i._type){const e=[...t];return e.splice(p,1),i._children||(i._children=[]),i._children.push(s),D(e),void n(e)}const l=[...t],c=l[p];l.splice(p,1),l.splice(a,0,c),D(l),n(l)})(e,i),style:{cursor:y?"move":"pointer"},children:[(0,l.jsx)(c,{name:s.name,item:s,...s,div:y,target:"_blank",click_dir:F,clickItem:e.clickItem}),y&&(void 0!==w.find(e=>e===i)||C)&&(0,l.jsxs)("div",{className:C?"":" site_edit ",children:["dir"===s._type?(0,l.jsxs)(a.Fragment,{children:[(0,l.jsx)(r.Sm,{value:s.name,handleInputChange:e=>{s.name=e},placeholder:b("输入类目名"),no_border:!0}),(0,l.jsx)(r.Sm,{value:s.color,handleInputChange:e=>{s.color=e},placeholder:"color",no_border:!0})]}):e.items.map((e,t)=>(0,l.jsx)("div",{children:(0,l.jsx)(r.Sm,{value:s[e.key],handleInputChange:t=>{s[e.key]=t},placeholder:e.preName,no_border:!0})},t)),!C&&(0,l.jsx)(d.C3,{text:b("折叠"),clickFun:()=>{I((0,o.P1)(w,i))}})]}),y&&(0,l.jsx)("div",{style:{display:"block"},children:(0,l.jsxs)("span",{className:"div-row ",children:[(0,l.jsx)(d.C3,{text:b("删除"),clickFun:()=>{(e=>{const a=[...t];a.splice(e,1),D(a),n(a)})(i)}}),(0,l.jsx)(d.C3,{text:b("编辑"),clickFun:()=>{void 0===w.find(e=>e===i)&&I([...w,i])}})]})})]},i)),y&&(0,l.jsxs)("div",{style:{display:"block"},children:[(0,l.jsx)(d.rA,{title:b("取消"),icon:"cancel",onClick:()=>{I([]),k(!1),x&&(n(x),D(x)),S(!1)}}),(0,l.jsx)(d.rA,{title:b("添加"),icon:"add",onClick:async()=>{const a=[...t,{name:"",color:(0,o.Lr)(m),...e.get_pre_add_item&&await e.get_pre_add_item()}];D(a),n(a)}}),(0,l.jsx)(d.rA,{title:b("添加类目"),icon:"add_box",onClick:()=>{const e=[...t,{name:"",_type:"dir",_children:[],color:"#c1edfb"}];D(e),n(e)}}),(0,l.jsx)(d.rA,{title:b("全部编辑"),icon:C?"unfold_less":"unfold_more",onClick:()=>{S(!C)}})]}),(void 0===e.have_auth_edit||!0===e.have_auth_edit)&&(0,l.jsx)(d.rA,{icon:y?"save":"edit",title:b(y?"保存":"编辑"),onClick:async()=>{y?e.save&&await e.save(_):x=t,k(!y)}})]})}},87209(e,t,n){n.r(t),n.d(t,{default:()=>I});var a=n(96540),s=n(75725),i=n(63033),l=n(70447),c=n(85997),o=n(34289),r=n(59270),d=n(62042),u=n(14284),h=n(53459),m=n(74848);function p(e){const{t}=(0,r.Bd)(),[n,p]=(0,a.useState)(t("毫秒")),[x,_]=(0,a.useState)(""),[f,v]=(0,a.useState)(""),[j,g]=(0,a.useState)(null),[y,k]=(0,a.useState)(null),[C,S]=(0,a.useState)(Date.now());return(0,a.useEffect)(()=>{(async()=>{const e=await u.Yu.get("sys_time/get");if(e.code===h.m.Success){const t=await e.data;g(t.timestamp),k(t.timezone),S(t.timestamp)}})();const e=setInterval(()=>{S(e=>e+1e3)},1e3);return()=>clearInterval(e)},[]),(0,m.jsxs)(s.fI,{children:[(0,m.jsx)(s.VP,{children:(0,m.jsxs)(l.Zp,{title:t("时间转换器"),rightBottomCom:(0,m.jsx)(c.C3,{text:t("确定"),clickFun:function(){if(!x&&!f)return void(0,d.zN)("不能都为空");let e=0;const t=""!==x&&0!==x;if(t){if(!(0,o.kf)(x))return void(0,d.zN)("must be number !");e=parseInt(x),"分秒"===n&&(e*=1e3)}const a=new Date(t?e:f),s=new Intl.DateTimeFormat("zh-CN",{year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hour12:!1}).format(a);if(v(s),!x){const e=a.getTime();_("毫秒"===n?e:e/1e3)}}}),children:[(0,m.jsx)(i.l6,{options:[{title:t("毫秒"),value:"毫秒"},{title:t("分秒"),value:"分秒"}],onChange:function(e){p(e)}}),(0,m.jsx)(i.Sm,{placeholder:n,value:x,handleInputChange:e=>{_(e)}}),(0,m.jsx)(i.Sm,{placeholder:t("格式化时间"),value:f,handleInputChange:e=>{v(e)}})]})}),(0,m.jsx)(s.VP,{children:null!==j&&null!==y&&(0,m.jsxs)(l.Zp,{title:t("服务器时间"),children:[(0,m.jsxs)("h1",{children:[t("时区"),": ",y]}),(0,m.jsxs)("h1",{children:[t("时间"),": ",new Date(C).toLocaleString(navigator.language,{timeZone:y})]})]})})]})}var x=n(57952),_=n(83029),f=n(78247),v=n(23430);function j(e){const{t}=(0,r.Bd)(),{check_user_auth:n}=(0,f.MH)(),[s,l]=(0,a.useState)(""),o=async e=>{const t=e||s;if(!t)return void(0,d.zN)("mac地址不能为空");(await u._U.post("wol/exec",{mac:t})).code===h.m.Success&&(0,d.SK)("发送唤醒命令成功")};return(0,m.jsxs)("div",{children:[(0,m.jsxs)(x.A,{children:[(0,m.jsx)(c.rA,{icon:"play_arrow",title:t("发送"),onClick:()=>{o()}}),(0,m.jsx)(i.$Z,{placeholder:t("目标设备mac地址"),icon:"laptop_mac",value:s,handleInputChange:e=>l(e)})]}),(0,m.jsx)(_.N,{have_auth_edit:n(v.oV.wol_proxy_tag_update),getItems:async()=>{const e=await u._U.get("wol/tag");return e.code===h.m.Success?e.data:[]},save:async e=>{(await u._U.post("wol/tag/save",e)).code!==h.m.Success&&(0,d.zN)("网络错误")},clickItem:async e=>{l(e.mac),o(e.mac)},items:[{key:"name",preName:t("名字")},{key:"mac",preName:"mac"+t("地址")},{key:"color",preName:"color"}]})]})}var g=n(77481),y=n(34843),k=n(26417),C=n(40505);let S;function b(){const[e,t]=(0,a.useState)("rsa"),[n,o]=(0,a.useState)("pem"),{t:p,i18n:_}=(0,r.Bd)(),[f,v]=(0,y.fp)(k.AG.confirm),[j,b]=(0,a.useState)(""),[w,I]=(0,a.useState)(""),N=async t=>{if(!w||!j)return void(0,d.zN)("密钥不能为空");let n="id_"+e;"pub"===t&&(n+=".pub"),v({open:!0,title:p("将覆盖密钥文件"),sub_title:`之前的密钥将作废。 将会作为 ${n} 文件保存到系统上的"${S}"目录下,此目录会作为openssh(git)所使用的默认目录。`,handle:async()=>{(await u.cD.post("save_openssh",{name:n,context:"pub"===t?j:w})).code===h.m.Success&&((0,d.SK)("完成"),v({open:!1,handle:null}))}})};return(0,m.jsxs)(a.Fragment,{children:[(0,m.jsx)(x.A,{children:(0,m.jsx)(g.S,{isFlex:!0,columns:[(0,m.jsx)(i.l6,{tip:p("加密算法"),value:e,width:"auto",onChange:e=>{t(e)},options:[{title:p("RSA"),value:"rsa"},{title:p("DSA"),value:"dsa"},{title:p("ECDSA"),value:"ecdsa"}]}),(0,m.jsx)(i.l6,{tip:p("输出格式"),value:n,width:"auto",onChange:e=>{o(e)},options:[{title:p("普通PEM"),value:"pem"},{title:p("opensshPEM"),value:"openssh_pem"}]}),(0,m.jsx)(c.rA,{icon:"play_arrow",title:p("生成"),onClick:()=>{(async()=>{const t=await u.cD.post("generate",{type:e,form:n});t.code===h.m.Success&&(b(t.data.public_key),I(t.data.private_key),S=t.data.home_path)})()}})]})}),(0,m.jsx)(s.xh,{children:(0,m.jsxs)(s.fI,{children:[(0,m.jsx)(s.VP,{children:(0,m.jsx)(l.Zp,{title:p("公钥"),titleCom:(0,m.jsx)(c.rA,{title:p("复制"),icon:"copy_all",onClick:()=>{j&&((0,C.lW)(j),(0,d.SK)("完成"))}}),rightBottomCom:"openssh_pem"===n&&(0,m.jsx)(c.C3,{text:p("保存到.ssh目录"),clickFun:()=>{N("pub")}}),children:(0,m.jsx)("textarea",{className:"input--textarea input--no_border",style:{width:"100%",height:"270px"},onChange:e=>{b(e.target.value)},value:j})})}),(0,m.jsx)(s.VP,{children:(0,m.jsx)(l.Zp,{title:p("私钥"),titleCom:(0,m.jsx)(c.rA,{title:p("复制"),icon:"copy_all",onClick:()=>{w&&((0,C.lW)(w),(0,d.SK)("成功"))}}),rightBottomCom:"openssh_pem"===n&&(0,m.jsx)(c.C3,{text:p("保存到.ssh目录"),clickFun:()=>{N("pri")}}),children:(0,m.jsx)("textarea",{className:"input--textarea input--no_border",style:{width:"100%",height:"270px"},value:w,onChange:e=>{I(e.target.value)}})})})]})})]})}var w=n(87361);function I(e){const{t}=(0,r.Bd)(),{check_user_auth:n}=(0,f.MH)(),a=[];return a.push({index:1,name:t("时间工具"),rto:"timeutil/",component:(0,m.jsx)(p,{})},{index:1,name:t("非对称密钥"),rto:"crypto/",component:(0,m.jsx)(b,{})}),n(v.oV.wol_proxy)&&a.push({index:1,name:t("网络唤醒"),rto:"netwol/",component:(0,m.jsx)(j,{})}),(0,m.jsx)(s.W1,{optionList:a,father_route:w.o.toolbox})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[7274],{75897(e,t,s){s.d(t,{L:()=>i});let n=function(e){return e.username="username",e.password="password",e.password_hash="password_hash",e.navindex_remote_ssh_key="navindex_remote_ssh_key",e.user_id_name_mapping="user_id_name_mapping",e.user_id_info_data_mapping="user_id_info_data_mapping",e.user_unique_id_num="user_unique_id_num",e.role_unique_id_num="role_unique_id_num",e.sys_all_roles="sys_all_roles",e.ddns_http_url_key="ddns_http_url_key",e.ddns_tx_key="tengxun_ddns_key",e.ddns_dnspod_key="ddns_dnspod",e.ddns_ali_key="ali_ddns_key",e.navindex_net_key_list="navindex_net_key_list",e.navindex_wol_key="navindex_wol_key",e.customer_router_key="customer_router_key",e.customer_workflow_router_key="customer_workflow_router_key",e.customer_api_router_key="customer_api_router_key",e.token_setting="token_setting",e.sys_software="sys_software",e.protection_directory="sys_protection_directory",e.dir_upload_max_num="dir_upload_max_num",e.self_auth_jscode="self_auth_jscode",e.navindex_video_key="navindex_video_tag_key",e.systemd_key="systemd_key",e.vir_server_data_key="vir_server_net_data_key",e.vir_client_data_key="vir_client_net_data_key",e.vir_data_client_hash_key="vir_data_client_hash_key",e.vir_data_server_hash_key="vir_data_server_hash_key",e.language="user_language",e.navindex_rdp_key="navindex_rdp_tag_key",e.navindex_key="navindex_key_list",e.http_tag_key="http_tag_key",e.self_shell_cmd_check_open_status="self_shell_cmd_check_open_status",e.self_shell_cmd_jscode="self_shell_cmd_jscode",e.extra_env_path_list_key="extra_env_path_list_key",e.cmd_use_pty_key="cmd_use_pty_key",e.recycle_bin_key="recycle_bin_key",e.recycle_bin_status="recycle_bin_status",e.guid_key="guid_key",e.tcp_proxy_key="tcp_proxy_key",e.sys_env_key="sys_env_key",e.http_server_key="http_server_key",e.proxy_server_code_prefix="proxy_server_code_prefix",e.ai_agent_model_setting="ai_agent_model_setting",e.ai_agent_mcp_setting="ai_agent_mcp_setting",e.ai_agent_docs_setting="ai_agent_docs_setting",e.ai_agent_chat_session_store="ai_agent_chat_session_store",e.share_file_list_key="share_file_list_key",e.share_file_list_key_download_statics="share_file_list_key_download_statics",e.tcp_proxy_server_base="tcp_proxy_server_base",e.tcp_proxy_server_client_list="tcp_proxy_server_client_list",e.tcp_proxy_client_fig="tcp_proxy_client_fig",e.tcp_proxy_client_all_fig="tcp_proxy_client_all_fig",e.tcp_proxy_sync_task_list="tcp_proxy_sync_task_list",e.workflow_setting_item_list="workflow_setting_item_list",e.server_bridge_config_list="server_bridge_config_list",e.ai_agent_status="ai_agent_status",e.ai_system_prompts="ai_system_prompts",e.filecat_plugin_list="filecat_plugin_list",e}({});const i=n.self_auth_jscode},77481(e,t,s){s.d(t,{S:()=>a,X:()=>l});var n=s(96540),i=s(74848);function l(e){const[t,s]=n.useState([]);return(0,n.useEffect)(()=>{e.children?s(Array.isArray(e.children)?e.children:[e.children]):s(e.rows)},[e.rows,e.children]),(0,i.jsxs)("table",{children:[(0,i.jsx)("thead",{children:(0,i.jsx)("tr",{children:e.headers?.map((e,t)=>(0,i.jsx)("th",{children:e},t))})}),(0,i.jsx)("tbody",{children:t.map((t,s)=>(0,i.jsx)("tr",{onContextMenu:()=>{e.handleContextMenu&&e.handleContextMenu(t)},children:t.map((s,n)=>(0,i.jsx)("td",{style:{width:e.width??"auto"},className:n===t.length-1?"small":"",children:s},n))},s))})]})}function a(e){return(0,i.jsx)("div",{style:{display:e.isFlex?"flex":"block"},children:e.columns.map((e,t)=>(0,i.jsx)("div",{children:e},t))})}},7274(e,t,s){s.r(t),s.d(t,{default:()=>Z});var n=s(96540),i=s(75725),l=s(23430),a=s(70447),o=s(85997),r=s(63033),c=s(14284),d=s(53459),_=s(77481),u=s(59270),h=s(26417),p=s(40505),x=s(62042),m=s(21499),j=s(21469),v=s(74848);function f(e){const{t}=(0,u.Bd)(),[s,l]=(0,n.useState)([]);(0,n.useEffect)(()=>{(async()=>{if(e.getItems){const t=await e.getItems();l(t)}})()},[]);return(0,v.jsx)(i.xh,{children:(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e.title}),e.info_click&&(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{e.info_click()},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:t("添加"),onClick:()=>{const t=[];for(let s=0;s<e.headers.length-1;s++)t.push("");l([t,...s])}}),(0,v.jsx)(o.rA,{icon:"save",title:t("保存"),onClick:async()=>{e.save&&await e.save(s)}})]}),children:(0,v.jsx)(_.X,{headers:e.headers,rows:s.map((n,i)=>{const a=[];for(let t=0;t<e.headers.length;t++)a.push((0,v.jsx)(r.Sm,{value:n[t],handleInputChange:e=>{n[t]=e,l([...s])},no_border:!0}));return a.push((0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"delete",title:t("删除"),onClick:()=>(e=>{s.splice(e,1),l([...s])})(i)}),n[0]&&(0,v.jsx)(o.rA,{icon:"content_copy",title:t("复制地址"),onClick:()=>{const e=(0,m.bi)(`${window.location.origin}${j.m.base_url}`,n[0]);(0,p.lW)(e),(0,x.SK)(e)}}),n[0]&&e.need_copy&&(0,v.jsx)(o.rA,{icon:"open_in_new",title:t("打开新页面"),onClick:()=>{const e=(0,m.bi)(`${window.location.origin}${j.m.base_url}`,n[0]);window.open(e)}})]})),a}),width:"10rem"})})})}var g=s(34843),y=s(78247),w=s(24659);function k(){const{t:e}=(0,u.Bd)(),[t,s]=(0,g.fp)(h.AG.prompt_card),l=(0,w.K)(),f=[e("路由"),e("auth"),e("备注")],[k,S]=(0,g.fp)(h.AG.editorSetting),[C,b]=(0,n.useState)([]);(0,n.useEffect)(()=>{(async()=>{const e=await c.XO.get("api/customer_router");e.code===d.m.Success&&b(e.data)})()},[]);return(0,v.jsx)(i.xh,{children:(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("自定义api路由")})," ",(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{(()=>{let e=(0,v.jsx)("div",{children:'默认需要以 "/api" 开头的路由。'});s({open:!0,title:"信息",context_div:(0,v.jsx)("div",{children:e})})})()},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{b([{note:"",needAuth:!1,router:""},...C])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("api/customer_router/save",C)).code===d.m.Success&&(0,x.SK)("保存成功")}})]}),children:(0,v.jsx)(_.X,{headers:f,rows:C.map((t,s)=>{const n=[(0,v.jsx)(r.Sm,{value:t.router,handleInputChange:e=>{t.router=e,b([...C])},no_border:!0}),(0,v.jsx)(r.l6,{defaultValue:t.needAuth,onChange:e=>{t.needAuth=e,b([...C])},options:l,no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e,b([...C])},no_border:!0}),(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{C.splice(e,1),b([...C])})(s)}),(0,v.jsx)(o.rA,{icon:"edit",title:e("编辑"),onClick:()=>(async e=>{if(!e.router)return void(0,x.zN)("路由不能为空");const t=await c.XO.get(`jscode/${encodeURIComponent(e.router)}`);S({model:"ace/mode/javascript",open:!0,fileName:e.router,save:async t=>{const s={context:t,router:e.router};(await c.XO.post("jscode/save",s)).code===d.m.Success&&(y.xK.set_value_temp(""),S({open:!1,model:"",fileName:"",save:null}),(0,x.SK)("成功"))}}),y.xK.set_value_temp(t.data)})(t)}),t.router&&(0,v.jsx)(o.rA,{icon:"content_copy",title:e("复制地址"),onClick:()=>{(0,p.lW)((0,m.bi)(window.location.origin+j.m.base_url,t.router)),(0,x.SK)(e("已复制"))}})]})];return n}),width:"10rem"})})})}var S=s(23496),C=s(57952);function b(){const{t:e}=(0,u.Bd)(),[t,s]=(0,g.fp)(h.AG.prompt_card),[l,a]=(0,g.fp)(h.AG.router_jump),o=[e("路由"),e("路径"),e("过期时间(s)"),e("备注")],r=[e("路由"),e("文件路径"),"token","user id",e("备注")];return(0,v.jsxs)(n.Fragment,{children:[(0,v.jsx)(C.A,{}),(0,v.jsxs)(i.fI,{children:[(0,v.jsxs)(i.VP,{children:[(0,v.jsx)(f,{title:e("页面资源路由"),headers:o,getItems:async()=>{const e=await c.XO.get(S.s.setting_customer_router);if(e.code===d.m.Success){if(l?.page_self_router_api_data){for(const t of e.data)t[1]===l?.page_self_router_api_data[1]&&(0,x.N9)("已经存在的页面资源路由配置目录设置");const t={};Object.assign(t,l?.page_self_router_api_data),e.data=[t,...e.data],a({})}return e.data}return[]},save:async e=>{(await c.XO.post(S.s.setting_customer_router_save,e)).code===d.m.Success&&(0,x.SK)("success")},info_click:()=>{let e=(0,v.jsx)("div",{children:'默认需要以 "/api" 开头的路由,会自动识别地址,将页面转到对应结果。路径支持文件路径(如果是文件夹路径的最后最后一个名字将会成为资源实际地址,整个目录将会变成一个http目录),http地址。'});s({open:!0,title:"信息",context_div:(0,v.jsx)("div",{children:e})})},need_copy:!0}),(0,v.jsx)(f,{title:e("workflow触发路由"),headers:r,getItems:async()=>{const e=await c.XO.get(S.s.setting_customer_workflow_router);return e.code===d.m.Success?e.data:[]},save:async e=>{(await c.XO.post(S.s.setting_customer_workflow_router_save,e)).code===d.m.Success&&(0,x.SK)("保存成功")},info_click:()=>{let e=(0,v.jsx)("div",{children:'默认需要以 "/api" 开头的路由,文件路径是有效的workflow路径。token也可以是文件绝对路径,请求的时候请设置同样的authorization请求头字段。'});s({open:!0,title:"信息",context_div:(0,v.jsx)("div",{children:e})})}})]}),(0,v.jsx)(i.VP,{children:(0,v.jsx)(k,{})})]})]})}var A=s(75897),I=s(74777),V=s(6960),X=s(7523);function O(){const[e,t]=(0,n.useState)(""),[s,l]=(0,n.useState)(!1),[p,m]=(0,n.useState)(!1),[j,f]=(0,n.useState)(!1),[w,k]=(0,n.useState)(!1),[b,O]=(0,n.useState)(""),[N,K]=(0,g.fp)(h.AG.prompt_card),[F,P]=(0,g.fp)(h.AG.editorSetting),[z,B]=(0,n.useState)(I.aM.close),[M,$]=(0,n.useState)(void 0),{t:G,i18n:E}=(0,u.Bd)(),[U,Z]=(0,g.fp)(h.AG.user_base_info),{check_user_auth:q}=(0,y.MH)(),{initUserInfo:H}=(0,n.useContext)(X.F);(0,n.useEffect)(()=>{(async()=>{const e=await c.XO.get("sys_option/status");if(e.code===d.m.Success){m(e.data.self_auth_open),f(e.data.shell_cmd_check_open),k(e.data.recycle_open),O(e.data.recycle_dir);const s=e.data.sys_env;t(s?.web_site_title),l(s?.show_login_user_info)}const s=await c.XO.get("token");if(s.code===d.m.Success){const e=s.data;if(!e)return;e.length&&$(e.length),e.mode&&B(e.mode)}})()},[]);return(0,v.jsxs)(i.fI,{children:[(0,v.jsx)(i.VP,{widthPer:30,children:(0,v.jsxs)(i.xh,{children:[(0,v.jsx)(a.Zp,{title:G("自定义登录auth"),rightBottomCom:(0,v.jsx)(o.C3,{text:G("保存"),clickFun:async()=>{(await c.XO.post("self_auth_open/save",{open:p})).code===d.m.Success&&(0,x.SK)("修改成功")}}),titleCom:(0,v.jsx)(o.rA,{icon:"edit",title:G("代码修改"),onClick:async()=>{const e=await c.XO.get("self_auth_open/jscode");P({model:"ace/mode/javascript",open:!0,fileName:"",save:async e=>{const t={context:e,router:A.L};0===(await c.XO.post("jscode/save",t)).code&&(y.xK.set_value_temp(""),P({open:!1,model:"",fileName:"",save:null}))}}),y.xK.set_value_temp(e.data)}}),children:(0,v.jsx)(r.l6,{value:p,onChange:e=>{m(e)},options:[{title:G("开启"),value:!0},{title:G("关闭"),value:!1}]})}),(0,v.jsx)(a.Zp,{title:G("自定义shell命令校验"),rightBottomCom:(0,v.jsx)(o.C3,{text:G("保存"),clickFun:async()=>{(await c.XO.post("shell_cmd_check_open/save",{open:j})).code===d.m.Success&&(0,x.SK)("修改成功")}}),titleCom:(0,v.jsx)(o.rA,{icon:"edit",title:G("代码修改"),onClick:async()=>{const e=await c.XO.get("shell_cmd_check_open/jscode");P({model:"ace/mode/javascript",open:!0,fileName:"",save:async e=>{const t={context:e};0===(await c.XO.post("shell_cmd_check_open/jscode/save",t)).code&&(y.xK.set_value_temp(""),P({open:!1,model:"",fileName:"",save:null}))}}),y.xK.set_value_temp(e.data)}}),children:(0,v.jsx)(r.l6,{value:j,onChange:e=>{f(e)},options:[{title:G("开启"),value:!0},{title:G("关闭"),value:!1}]})})]})}),(0,v.jsx)(i.VP,{widthPer:30,children:(0,v.jsxs)(i.xh,{children:[(0,v.jsxs)(a.Zp,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:G("文件回收站")})," ",(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{K({open:!0,title:"信息",context_div:(0,v.jsx)("div",{children:G("格式:[被删除的文件所在父目录] 回收站目录 [; ...]")})})},title:"信息"})]}),rightBottomCom:(0,v.jsx)(o.C3,{text:G("确定修改"),clickFun:async()=>{if(w&&!b)return void(0,x.zN)("目录不能为空");(await c.XO.post(S.s.setting_sys_option_status_save,{type:I.Mu.cyc,value:b,open:w})).code===d.m.Success&&(0,x.SK)("修改成功")}}),children:[(0,v.jsx)(r.Sm,{placeholder:G("目录"),value:b,handleInputChange:e=>{O(e)}}),(0,v.jsx)(r.l6,{value:w,onChange:e=>{k(e)},options:[{title:G("开启"),value:!0},{title:G("关闭"),value:!1}]})]}),(0,v.jsxs)(a.Zp,{title:G("token过期时间"),rightBottomCom:(0,v.jsx)(_.S,{isFlex:!0,columns:[(0,v.jsx)(o.C3,{text:G("清空token"),clickFun:async()=>{(await c.XO.get("token/clear")).code===d.m.Success&&(0,x.SK)("清理完成,重新登录")}}),(0,v.jsx)(o.C3,{text:G("保存"),clickFun:async()=>{const e=new I.Gd;e.mode=z,I.aM.length!==e.mode||M||(0,x.zN)("秒数不能为空"),e.length=parseInt(M);(await c.XO.post("token/save",e)).code===d.m.Success&&(0,x.SK)("保存成功")}})]}),children:[(0,v.jsx)(_.S,{isFlex:!0,columns:[(0,v.jsx)(r.U6,{value:1,context:G("关闭"),selected:z===I.aM.close,onchange:()=>{B(I.aM.close)}}),(0,v.jsx)(r.U6,{value:1,context:G("指定时间"),selected:z===I.aM.length,onchange:()=>{B(I.aM.length)}}),(0,v.jsx)(r.U6,{value:1,context:G("永不过期"),selected:z===I.aM.forver,onchange:()=>{B(I.aM.forver)}})]}),z===I.aM.length&&(0,v.jsx)(r.Sm,{placeholder:G("秒"),value:M,handleInputChange:e=>{$(e)}})]})]})}),(0,v.jsx)(i.VP,{widthPer:40,children:(0,v.jsx)(i.xh,{children:(0,v.jsxs)(a.Zp,{title:G("通用设置"),rightBottomCom:(0,v.jsx)(o.C3,{text:G("确定修改"),clickFun:async()=>{(await c.XO.post(S.s.setting_sys_option_status_save,{type:I.Mu.sys_env,value:{web_site_title:e,show_login_user_info:s}})).code===d.m.Success&&((0,x.SK)("修改成功"),H())}}),children:[G("网站标题"),(0,v.jsx)(r.Sm,{value:e,handleInputChange:e=>{t(e)}}),G("登陆展示用户信息"),(0,v.jsx)("input",{type:"checkbox",checked:s,onChange:()=>{l(!s)}})]})})}),(0,v.jsx)(C.A,{left_children:(0,v.jsxs)(v.Fragment,{children:[(0,v.jsxs)("span",{className:"credits",children:[G("系统运行于"),": ",(0,V.s)(U.runing_time_length)]}),(0,v.jsx)("span",{className:"credits",children:(0,v.jsxs)("a",{href:"https://github.com/xiaobaidadada/filecat",target:"_blank",children:["version:6.9.1",null!=U.latest_version&&"6.9.1"!==U.latest_version?` -> ${U.latest_version}`:""]})}),(0,v.jsx)("span",{className:"credits",children:(0,v.jsx)("a",{href:G("官网地址"),target:"_blank",children:`filecat ${G("功能文档")}`})}),(0,v.jsxs)("span",{className:"credits",children:[G("安装方式")," :",U.process_env_run_env]})]})})]})}var N=s(64694);function K(){const[e,t]=(0,g.fp)(h.AG.prompt_card),{t:s,i18n:n}=(0,u.Bd)();return e=>{let n;e===I.jk.ffmpeg?n=(0,v.jsx)("div",{children:"视频转换,rtsp播放器等媒体功能都需要这个软件。linux下你可以使用apt或者yum来安装,或者直接输入软件的位置"}):e===I.jk.smartmontools?n=(0,v.jsx)("div",{children:"磁盘检查需要这个软件。linux下你可以使用apt或者yum来安装,或者直接输入软件的位置。"}):e===I.jk.ntfs_3g?n=(0,v.jsx)("div",{children:"如果在linux需要挂载ntfs的硬盘,需要这个软件支持。"}):"保护目录"===e?n=(0,v.jsxs)("div",{children:["在删除的时候保护目录会拒绝删除。",(0,v.jsxs)("ul",{children:[(0,v.jsx)("li",{children:"可以使用 /* 来表达该目录下所有文件都禁止删除"}),(0,v.jsx)("li",{children:"可以使用 /** 来表达该目录下所有子目录文件都禁止删除"})]})]}):"文件夹路径"===e?n=(0,v.jsx)("div",{children:"用于在文件夹下切换根目录"}):"环境路径"===e?n=(0,v.jsx)("div",{children:"当在不同用户环境下运行的时候由于没有执行终端去加载PATH,这里可以添加额外的PATH路径,点击这里的保存还会更新系统上的path路径"}):"pty"===e?n=(0,v.jsx)("div",{children:"一些需要Pty环境的命令"}):"文件上传"===e?n=(0,v.jsxs)("div",{children:[(0,v.jsx)("li",{children:"对于不同的目录(包括所有子目录),可能是机械或者固态硬盘,机械硬盘在处理多个小文件的时候会做随机i/o,由于一般只有一个盘头所以会影响整体效率,特别是写操作,这里提供了上传时候的最大数量限制,对于下载数量目前不做限制."}),(0,v.jsx)("li",{children:"大文件支持断点和分块并发传输,建议并发数量设置为2,分块大小设置为10MB,大文件判断为500MB,设置过大的话会上传的时候会占据较大内存"})]}):"目录快捷命令"===e?n=(0,v.jsx)("div",{children:"右键文件夹空白处用于,打开终端快捷执行命令"}):"文件快捷命令"===e?n=(0,v.jsx)("div",{children:"用于右键特定后缀的文件,执行一些快捷命令,文件后缀可以是多个,用空格分割"}):"Workflow"===e?n=(0,v.jsxs)("div",{children:[(0,v.jsx)("li",{children:"在特定的时间启动系统中的workflow任务"}),(0,v.jsx)("li",{children:"cron表达式是定时器 格式为: 秒 分 时 日 月 星期"}),(0,v.jsxs)("li",{children:[(0,v.jsx)("li",{children:'1. "*"(通配符,所有值)'}),(0,v.jsx)("li",{children:'2. "," 是枚举: 0 0 1,15 * * *'}),(0,v.jsx)("li",{children:'3. "-" 是范围: 0 0 1-5 * * *'}),(0,v.jsx)("li",{children:'4. "/" 是步长,标识每隔n执行 */3 * * * * * 每隔三秒,必须配合 * 使用 ,/ 只能写一次 ,有了/就成了定时器,而不是指定时间执行'})]})]}):"插件配置"===e&&(n=(0,v.jsx)("div",{children:s("路径可以是一个 js 文件也可以是一个node 项目目录")})),t({open:!0,title:"信息",context_div:(0,v.jsx)("div",{children:n})})}}let F=l.Ky;function P(){const[e,t]=(0,n.useState)([]);return(0,n.useEffect)(()=>{(async()=>{try{const e=await c.XO.get("themes");if(0===e.code){const s=e.data||[];F=[...l.Ky,...s],t(F)}else console.warn("获取主题列表失败,使用默认列表"),t(F)}catch(e){t(F)}})()},[]),e}function z(){const{t:e,i18n:t}=(0,u.Bd)(),{initUserInfo:s,reloadUserInfo:l}=(0,n.useContext)(X.F),[p,m]=(0,n.useState)([]),[j,f]=(0,n.useState)([]),[k,S]=(0,g.fp)(h.AG.prompt_card),[C,b]=(0,n.useState)([]),[A,I]=(0,n.useState)([]),[V,O]=(0,n.useState)([]),[F,P]=(0,n.useState)([]),[z,B]=(0,n.useState)(""),[M,$]=(0,n.useState)([]),G=(0,w.K)(),E=[e("软件"),e("是否安装"),e("路径")],U=[e("编号"),e("路径"),e("备注")],Z=[e("编号"),e("路径"),e("是否开启"),e("备注")],q=[e("编号"),e("文件路径"),e("是否开启"),e("系统启动执行"),e("corn表达式"),e("用户id"),e("备注")],H=[e("编号"),e("路径"),e("单用户并发数量"),e("系统并发数量"),e("是否开启大文件断点"),e("大文件判断大小MB"),e("大文件并发数量"),e("大文件分块大小MB"),e("备注")],T=[e("编号"),e("名称"),e("路径"),e("是否开启"),e("params"),e("备注")],{check_user_auth:D}=(0,y.MH)(),W=async()=>{const e=await c.XO.get("env/path/get");e.code===d.m.Success&&O(e.data)},L=async()=>{const e=await c.XO.get("workflow_setting_get");e.code===d.m.Success&&P(e.data)};(0,n.useEffect)(()=>{(async()=>{const e=await c.XO.get("outside/software/get");e.code===d.m.Success&&f(e.data);const t=await c.XO.get("pty_cmd");t.code===d.m.Success&&B(t.data),W(),L();const s=await c.XO.get("protection_dir/sys");s.code===d.m.Success&&b(s.data??[]);const n=await c.XO.get("dir_upload_max_num");n.code===d.m.Success&&I(n.data??[]);const i=await c.XO.get("plugin/list");i.code===d.m.Success&&$(i.data??[])})()},[]);const J=K(),R=async()=>{(await c.XO.post("plugin/list/save",M)).code===d.m.Success&&(0,x.SK)(e("保存成功"))};return(0,v.jsxs)(n.Fragment,{children:[(0,v.jsx)(i.J,{widthPer:100,children:(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("文件上传最大并发限制")})," ",(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{J("文件上传")},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{I([...A,{path:"",note:"",user_upload_num:2,sys_upload_num:6,ws_file_standard_size:52428800,ws_file_parallel_num:2,ws_file_block_mb_size:524288}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{for(const e of A)if(e.open_ws_file){if("number"!=typeof e.ws_file_block_mb_size)return void(0,x.zN)(`编号:${e.index??""} 文件块的大小设置有问题`);if("number"!=typeof e.ws_file_parallel_num)return void(0,x.zN)(`编号:${e.index??""} 并发数量设置有问题`);if("number"!=typeof e.ws_file_standard_size)return void(0,x.zN)(`编号:${e.index??""} 大文件size设置有问题`)}(0,N.di)(A,e=>e.index);(await c.XO.post("dir_upload_max_num/save",A)).code===d.m.Success&&((0,x.SK)("保存成功"),l())}})]}),children:(0,v.jsx)(_.X,{headers:H,rows:A.map((t,s)=>{const n=[(0,v.jsx)(r.Sm,{value:t.index,placeholder:s,handleInputChange:e=>{t.index=parseInt(e)},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.path,handleInputChange:e=>{t.path=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.user_upload_num,handleInputChange:e=>{t.user_upload_num=parseInt(e)},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.sys_upload_num,handleInputChange:e=>{t.sys_upload_num=parseInt(e)},no_border:!0}),(0,v.jsx)(r.l6,{value:!0===t.open_ws_file,onChange:e=>{t.open_ws_file=e,I([...A])},options:G,no_border:!0}),(0,v.jsx)(r.Sm,{value:"number"==typeof t.ws_file_standard_size?t.ws_file_standard_size/1024/1024:void 0,handleInputChange:e=>{t.ws_file_standard_size=1024*parseInt(e)*1024},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.ws_file_parallel_num,handleInputChange:e=>{t.ws_file_parallel_num=parseInt(e)},no_border:!0}),(0,v.jsx)(r.Sm,{value:"number"==typeof t.ws_file_block_mb_size?t.ws_file_block_mb_size/1024/1024:void 0,handleInputChange:e=>{t.ws_file_block_mb_size=1024*parseInt(e)*1024},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{A.splice(e,1),I([...A])})(s)})];return n}),width:"10rem"})})}),(0,v.jsxs)(i.fI,{children:[(0,v.jsx)(i.VP,{widthPer:50,children:(0,v.jsxs)(i.xh,{children:[(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("PATH")}),(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{J("环境路径")},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{O([...V,{path:"",note:""}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("env/path/save",{paths:V})).code===d.m.Success&&((0,x.SK)("保存成功"),W(),s())}})]}),children:(0,v.jsx)(_.X,{headers:Z,rows:V.map((t,s)=>{const n=[(0,v.jsx)("div",{children:s}),(0,v.jsx)(r.Sm,{value:t.path,handleInputChange:e=>{t.path=e},no_border:!0}),(0,v.jsx)(r.l6,{value:!!t.open,onChange:e=>{t.open=e,O([...V])},options:G,no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{V.splice(e,1),O([...V])})(s)})];return n}),width:"10rem"})}),(0,v.jsx)(a.Zp,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("PTY CMD")}),(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{J("pty")},title:"信息"})]}),rightBottomCom:(0,v.jsx)(o.C3,{text:e("更新"),clickFun:async()=>{(await c.XO.post("pty_cmd/save",{str:z})).code===d.m.Success&&((0,x.SK)("保存成功"),l())}}),children:(0,v.jsx)(r.Sm,{placeholder:e("cmd need pty env"),value:z,handleInputChange:e=>{B(e)}})}),(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("Workflow Job")}),(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{J("Workflow")},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{P([...F,{open:!1}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("workflow_setting_save",F)).code===d.m.Success&&((0,x.SK)("ok"),L())}})]}),children:(0,v.jsx)(_.X,{headers:q,rows:F.map((t,s)=>[(0,v.jsx)("div",{children:s}),(0,v.jsx)(r.Sm,{value:t.file_path,handleInputChange:e=>{t.file_path=e},no_border:!0}),(0,v.jsx)(r.l6,{value:!!t.open,onChange:e=>{t.open=e,P([...F])},options:G,no_border:!0}),(0,v.jsx)(r.l6,{value:!!t.sys_power_on,onChange:e=>{t.sys_power_on=e,P([...F])},options:G,no_border:!0}),(0,v.jsx)(r.Sm,{value:t.cron_str,handleInputChange:e=>{t.cron_str=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.user_id,handleInputChange:e=>{t.user_id=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>()=>{P([...F.splice(s,1)])}})]),width:"10rem"})}),(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("插件配置")}),(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{J("插件配置")},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{$([...M,{name:"",path:"",note:"",open:!1}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:R})]}),children:(0,v.jsx)(_.X,{headers:T,rows:M.map((t,s)=>{const n=[s,(0,v.jsx)(r.Sm,{value:t.name,handleInputChange:e=>{t.name=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.path,handleInputChange:e=>{t.path=e},no_border:!0}),(0,v.jsx)(r.l6,{value:!!t.open,onChange:e=>{t.open=e,$([...M])},options:G,no_border:!0}),(0,v.jsx)(o.mu,{icon:"edit",save:async e=>{t.params=e,await R()},title:""}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{M.splice(e,1),$([...M])})(s)})];return n}),width:"10rem"})})]})}),(0,v.jsx)(i.VP,{children:(0,v.jsxs)(i.xh,{children:[(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("系统保护路径")})," ",(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{J("保护目录")},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{b([...C,{path:"",note:""}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("protection_dir/sys/save",C)).code===d.m.Success&&((0,x.SK)("保存成功"),l())}})]}),children:(0,v.jsx)(_.X,{headers:U,rows:C.map((t,s)=>{const n=[(0,v.jsx)("div",{children:s}),(0,v.jsx)(r.Sm,{value:t.path,handleInputChange:e=>{t.path=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{C.splice(e,1),b([...C])})(s)})];return n}),width:"10rem"})}),(0,v.jsx)(a.uF,{title:e("外部软件"),titleCom:(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("outside/software/save",j)).code===d.m.Success&&((0,x.SK)("保存成功"),s())}}),children:(0,v.jsx)(_.X,{headers:E,rows:j.map((t,s)=>[(0,v.jsx)("div",{children:t.id}),(0,v.jsx)(a.fq,{ok:t.installed}),(0,v.jsx)(r.Sm,{value:t.path,handleInputChange:e=>{t.path=e},no_border:!0,placeholder:e("默认使用环境变量")}),(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{J(t.id)},title:"信息"})]),width:"10rem"})})]})})]})]})}function B(e){const{t,i18n:s}=(0,u.Bd)(),[i,a]=(0,g.fp)(h.AG.user_base_info),o=[{title:t("用户权限"),list:[{title:t("用户管理"),permission:l.oV.user_manage},{title:t("角色管理"),permission:l.oV.role_manage}]},{title:t("系统管理权限"),list:[{title:t("系统信息"),permission:l.oV.all_sys},{title:t("系统进程关闭"),permission:l.oV.sys_process_close},{title:t("docker容器停止、删除"),permission:l.oV.docker_container_update},{title:t("docker镜像删除"),permission:l.oV.docker_images_delete},{title:t("systemd删除、添加管理"),permission:l.oV.systemd_update}]},{title:t("网络功能权限"),list:[{title:t("系统网络"),permission:l.oV.vir_net},{title:t("内网穿透"),permission:l.oV.tcp_proxy},{title:"ddns",permission:l.oV.ddns}]},{title:t("Ai 设置权限"),list:[{title:t("Ai 配置"),permission:l.oV.ai_agent_setting},{title:t("Ai Chat Page"),permission:l.oV.ai_agent_page}]},{title:t("文件权限"),list:[{title:t("文件删除、剪切、重命名"),permission:l.oV.filecat_file_delete_cut_rename},{title:t("文件创建、上传、内容更新、解压缩"),permission:l.oV.filecat_file_context_update_upload_created_copy_decompression},{title:t("内容更新"),permission:l.oV.filecat_file_context_update},{title:t("文件回收站修改"),permission:l.oV.recycle_file_save},{title:t("文件分享"),permission:l.oV.share_file}]},{title:t("系统设置权限"),list:[{title:t("token时间修改"),permission:l.oV.token_update},{title:t("自定义auth"),permission:l.oV.code_auth},{title:t("修改密码"),permission:l.oV.update_password},{title:t("磁盘挂载"),permission:l.oV.sys_disk_mount},{title:t("通用设置"),permission:l.oV.sys_env_setting_key},{title:t("shell命令检测"),permission:l.oV.shell_cmd_check}]},{title:t("系统环境设置"),list:[{title:t("系统环境设置页面"),permission:l.oV.sys_page},{title:t("目录文件上传数量限制修改"),permission:l.oV.dir_upload_max_num},{title:t("PATH路径修改"),permission:l.oV.env_path_update},{title:"pty cmd "+t("更新"),permission:l.oV.pty_cmd_update},{title:"workflow job",permission:l.oV.workflow_job},{title:t("系统保护路径更新"),permission:l.oV.sys_protection_dir},{title:t("外部软件路径"),permission:l.oV.outside_software_path}]},{title:t("个人环境设置"),list:[{title:t("个性化设置"),permission:l.oV.private_sys_env}]},{title:t("自定义路由"),list:[{title:t("自定义路由页面"),permission:l.oV.auth_router_page},{title:t("workflow触发api 修改"),permission:l.oV.workflow_api},{title:t("自定义资源路由"),permission:l.oV.code_resource},{title:t("自定义api路由"),permission:l.oV.code_api}]},{title:t("标签编辑权限"),list:[{title:t("网址导航"),permission:l.oV.net_site_tag_update},{title:t("ssh代理"),permission:l.oV.ssh_proxy_tag_update},{title:t("http代理"),permission:l.oV.http_proxy_tag_update},{title:t("浏览器代理"),permission:l.oV.browser_proxy_tag_update},{title:t("rdp代理"),permission:l.oV.rdp_proxy_tag_update},{title:t("网络唤醒"),permission:l.oV.wol_proxy_tag_update},{title:t("rtsp播放器"),permission:l.oV.rtsp_proxy_tag_update}]},{title:t("代理功能"),list:[{title:t("ssh代理"),permission:l.oV.ssh_proxy},{title:t("http代理"),permission:l.oV.http_proxy},{title:t("http代理下载关闭"),permission:l.oV.http_proxy_download_cancel},{title:t("浏览器代理"),permission:l.oV.browser_proxy},{title:t("rdp代理"),permission:l.oV.rdp_proxy}]},{title:t("其他功能"),list:[{title:t("workflow 执行"),permission:l.oV.workflow_exe},{title:t("workflow 执行用户"),permission:l.oV.workflow_exe_user,noDisable:!0},{title:t("网络唤醒"),permission:l.oV.wol_proxy},{title:t("rtsp播放器"),permission:l.oV.rtsp_proxy},{title:t("ssh密钥保存到磁盘"),permission:l.oV.crypto_ssh_file},{title:t("网址导航"),permission:l.oV.nav_net_tag},{title:t("filecat-restart重启命令"),permission:l.oV.shell_cmd_filecat_restart},{title:t("filecat-upgrade升级命令"),permission:l.oV.shell_cmd_filecat_upgrade},{title:t("filecat-down关闭主进程命令"),permission:l.oV.shell_cmd_filecat_kill_self},{title:t("ai 命令(Ai 聊天)"),permission:l.oV.ai_chat_cmd}]}];return(0,v.jsx)(n.Fragment,{children:o.map((t,s)=>(0,v.jsxs)("div",{children:[(0,v.jsx)("h3",{children:t.title}),t.list.map((t,s)=>(0,v.jsxs)("div",{children:[(0,v.jsx)("input",{type:"checkbox",disabled:!t.noDisable&&e.is_disable(t.permission),checked:e.is_selected(t.permission,t.noDisable),onChange:()=>{e.select_auth(t.permission)}}),t.title]},s))]},s))})}const M=new Map;function $(){const{t:e,i18n:t}=(0,u.Bd)(),{initUserInfo:s,reloadUserInfo:p}=(0,n.useContext)(X.F),[j,f]=(0,g.fp)(h.AG.user_base_info),[y,w]=(0,n.useState)([]),[k,S]=(0,g.fp)(h.AG.prompt_card),[C,b]=(0,n.useState)(!1),[A,I]=(0,n.useState)(!1),[V,O]=(0,g.fp)(h.AG.confirm),[K,F]=(0,n.useState)(""),[z,$]=(0,n.useState)(""),[G,E]=(0,n.useState)(""),[U,Z]=(0,n.useState)([]),[q,H]=(0,n.useState)([]),[T,D]=(0,n.useState)([]),[W,L]=(0,n.useState)(""),[J,R]=(0,n.useState)(""),[Y,Q]=(0,n.useState)("en"),[ee,te]=(0,n.useState)(""),[se,ne]=(0,n.useState)([]),[ie,le]=(0,n.useState)(""),[ae,oe]=(0,n.useState)(!1),[re,ce]=(0,n.useState)(""),[de,_e]=(0,n.useState)(""),[ue,he]=(0,n.useState)({}),pe=P(),[xe,me]=(0,n.useState)([]),je=[e("用户id"),e("用户名"),e("目录范围"),e("备注")],ve=async()=>{const e=await c.wm.get("all_users");e.code===d.m.Success&&w(e.data);const t=await c.wm.get("all_roles");if(t.code===d.m.Success){me(t.data),M.clear();for(const e of t.data)M.set(e.role_id,e)}},fe=e=>{F(e?.username??""),$(e?.password??""),E(e?.cwd??""),Z(e?.access_dirs??[]),H(e?.not_access_dirs??[]),D(e?.only_read_dirs??[]),L(e?.access_cmd??""),R(e?.not_access_cmd??""),Q(e?.language??""),te(e?.theme??""),ne(e?.auth_list??[]),le(e?.note??""),oe(e?.is_root??!1),ce(e?.id??""),e?.bind_role_id?ge(e.bind_role_id,e.auth_list??[]):(_e(""),he({}))};(0,n.useEffect)(()=>{ve()},[]);const ge=(e,t=[])=>{if(!e)return _e(""),void he({});const s=M.get(e);if(s){if(s.cwd&&E(s.cwd),s.access_dirs&&s.access_dirs.length>0&&Z(s.access_dirs),s.not_access_dirs&&s.not_access_dirs.length>0&&H(s.not_access_dirs),s.only_read_dirs&&s.only_read_dirs.length>0&&D(s.only_read_dirs),s.access_cmd&&L(s.access_cmd),s.not_access_cmd&&R(s.not_access_cmd),s.language&&Q(s.language),s.theme&&te(s.theme),s.auth_list&&s.auth_list.length>0){const e=new Set(s.auth_list);for(const s of t)e.add(s);ne(Array.from(e))}_e(e),he(s)}},ye=()=>{if(!K)return void(0,x.zN)("username not empty");if((0,m.CB)(K))return void(0,x.zN)("username not empty char");if(!G)return void(0,x.zN)("cwd not empty");const e=new l.E0;return e.language=Y,e.theme=ee,e.access_dirs=U,e.username=K,e.password=z,e.not_access_dirs=q,e.only_read_dirs=T,e.cwd=G,e.note=ie,e.access_cmd=W,e.not_access_cmd=J,e.auth_list=se,e.bind_role_id=de,e};return(0,v.jsxs)(i.fI,{children:[(0,v.jsx)(i.VP,{widthPer:50,children:(0,v.jsx)(i.xh,{children:(0,v.jsx)(a.uF,{self_title:(0,v.jsx)("span",{className:" div-row ",children:(0,v.jsx)("h2",{children:e("用户")})}),titleCom:(0,v.jsx)("div",{children:(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{b(!0),I(!1),fe(void 0)}})}),children:(0,v.jsx)(_.X,{headers:je,rows:y.map((t,s)=>{const n=[(0,v.jsx)("p",{children:t.id}),(0,v.jsx)(a.xP,{children:t.username}),(0,v.jsx)(a.xP,{children:t.cwd}),(0,v.jsx)(a.xP,{children:t.note}),(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"edit",title:e("编辑"),onClick:()=>(e=>{b(!1),I(!0),fe(e)})(t)}),!t.is_root&&(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(async t=>{O({open:!0,title:e("确定删除吗"),handle:async()=>{const e=new l.E0;e.username=t,(await c.wm.post("delete_user",e)).code===d.m.Success&&((0,x.SK)("删除完成"),ve(),O({open:!1,handle:null}))}})})(t.username)})]})];return n}),width:"10rem"})})})}),(0,v.jsx)(i.VP,{widthPer:50,children:(C||A)&&(0,v.jsx)(i.xh,{children:(0,v.jsxs)(a.Zp,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e(""+(C?"添加":"编辑"))})," "]}),rightBottomCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"cancel",title:e("取消"),onClick:()=>{b(!1),I(!1),fe(void 0)}}),C&&(0,v.jsx)(o.rA,{icon:"add_circle",title:e("添加"),onClick:async()=>{if(!z)return void(0,x.zN)("password not empty");if((0,m.CB)(z))return void(0,x.zN)("username not empty char");const e=ye(),t=await c.wm.post("create_user",e);ve(),t.code===d.m.Success&&((0,x.SK)("创建完成"),ve(),b(!1),I(!1),fe(void 0))}}),A&&(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{const e=ye();if(!e)return;e.id=re;(await c.wm.post("save_user",e)).code===d.m.Success&&((0,x.SK)("保存完成"),ve())}})]}),children:[(0,v.jsx)("label",{children:e("用户名")}),(0,v.jsx)(r.Sm,{value:K,handleInputChange:e=>F(e)}),(0,v.jsx)("label",{children:e("密码")}),(0,v.jsx)(r.Sm,{type:"password",value:z,handleInputChange:e=>$(e)}),(0,v.jsxs)("label",{children:[!ue?.access_dirs?.length&&(0,v.jsx)(o.rA,{icon:"add",onClick:()=>{Z([...U,""])},title:"添加"}),e("目录范围")]}),(0,v.jsx)(r.Sm,{disabled:""!==ue.cwd&&void 0!==ue.cwd,value:G,handleInputChange:e=>E(e)}),(U??[]).map((t,s)=>(0,v.jsxs)("div",{style:{display:"flex"},children:[(0,v.jsx)("div",{style:{width:"90%"},children:(0,v.jsx)(r.Sm,{disabled:0!==ue?.access_dirs?.length&&void 0!==ue?.access_dirs?.length,value:t,handleInputChange:e=>{U[s]=e,Z([...U])}})}),0===ue?.access_dirs?.length||void 0===ue?.access_dirs?.length&&(0,v.jsx)(o.rA,{icon:"delete",onClick:()=>{U.splice(s,1),Z([...U])},title:e("删除")})]},s)),(0,v.jsxs)("label",{children:[!ue?.not_access_dirs?.length&&(0,v.jsx)(o.rA,{icon:"add",onClick:()=>{H([...q,""])},title:e("添加")}),e("禁止目录范围")]}),(q??[]).map((t,s)=>(0,v.jsxs)("div",{style:{display:"flex"},children:[(0,v.jsx)("div",{style:{width:"90%"},children:(0,v.jsx)(r.Sm,{disabled:0!==ue?.not_access_dirs?.length&&void 0!==ue?.not_access_dirs?.length,value:t,handleInputChange:e=>{q[s]=e,H([...q])}})}),0===ue?.not_access_dirs?.length||void 0===ue?.not_access_dirs?.length&&(0,v.jsx)(o.rA,{icon:"delete",onClick:()=>{q.splice(s,1),H([...q])},title:e("删除")})]},s)),(0,v.jsxs)("label",{children:[!ue?.only_read_dirs?.length&&(0,v.jsx)(o.rA,{icon:"add",onClick:()=>{D([...T,""])},title:e("添加")}),e("只读目录范围")]}),(T??[]).map((t,s)=>(0,v.jsxs)("div",{style:{display:"flex"},children:[(0,v.jsx)("div",{style:{width:"90%"},children:(0,v.jsx)(r.Sm,{disabled:0!==ue?.only_read_dirs?.length&&void 0!==ue?.only_read_dirs?.length,value:t,handleInputChange:e=>{T[s]=e,D([...T])}})}),0===ue?.only_read_dirs?.length||void 0===ue?.only_read_dirs?.length&&(0,v.jsx)(o.rA,{icon:"delete",onClick:()=>{T.splice(s,1),D([...T])},title:e("删除")})]},s)),(0,v.jsx)("label",{children:e("可执行的命令")}),(0,v.jsx)(r.Sm,{disabled:""!==ue.access_cmd&&void 0!==ue.access_cmd,value:W,placeholder:"use blank split",handleInputChange:e=>L(e)}),(0,v.jsx)("label",{children:e("禁止执行的命令")}),(0,v.jsx)(r.Sm,{disabled:""!==ue.not_access_cmd&&void 0!==ue.not_access_cmd,value:J,placeholder:"use blank split",handleInputChange:e=>R(e)}),!ae&&(0,v.jsxs)(n.Fragment,{children:[(0,v.jsx)("label",{children:e("角色")}),(0,v.jsx)(r.l6,{value:de,onChange:e=>{ge(e)},options:(()=>{const e=[];e.push({title:"NOT",value:""});for(let t of xe)e.push({title:t.role_name,value:t.role_id});return e})()})]}),(0,v.jsx)("label",{children:e("语言")}),(0,v.jsx)(r.l6,{disabled:""!==ue.language&&void 0!==ue.language,value:Y,onChange:e=>{Q(e)},options:[{title:e("跟随系统"),value:"sys"},{title:"English",value:"en"},{title:"中文",value:"zh"}]}),(0,v.jsx)("label",{children:e("主题")}),(0,v.jsx)(r.l6,{disabled:""!==ue.theme&&void 0!==ue.theme,value:ee,onChange:e=>{te(e)},options:pe}),(0,v.jsx)(B,{is_disable:e=>{if(!0===ae)return!0;if(de){const t=M.get(de);if(t)return(t.auth_list??[]).includes(e)}return!1},is_selected:(e,t)=>!t&&!0===ae||void 0!==se?.find(t=>t===e),select_auth:e=>{se?se.includes(e)?((0,N.I)(se,t=>t===e),ne([...se])):ne([...se,e]):ne([e])}}),(0,v.jsx)("label",{children:e("备注")}),(0,v.jsx)(r.Sm,{value:ie,handleInputChange:e=>le(e)})]})})})]})}function G(){const{t:e,i18n:t}=(0,u.Bd)(),{initUserInfo:s}=(0,n.useContext)(X.F),[p,m]=(0,n.useState)([]),[j,f]=(0,g.fp)(h.AG.prompt_card),[y,w]=(0,n.useState)(!1),[k,S]=(0,n.useState)(!1),[C,b]=(0,g.fp)(h.AG.confirm),[A,I]=(0,n.useState)(""),[V,O]=(0,n.useState)(""),[K,F]=(0,n.useState)([]),[z,M]=(0,n.useState)([]),[$,G]=(0,n.useState)([]),[E,U]=(0,n.useState)(""),[Z,q]=(0,n.useState)(""),[H,T]=(0,n.useState)(""),[D,W]=(0,n.useState)(""),[L,J]=(0,n.useState)([]),[R,Y]=(0,n.useState)(""),[Q,ee]=(0,n.useState)(""),te=P(),se=[e("角色id"),e("角色名"),e("备注")],ne=async()=>{const e=await c.wm.get("all_roles");e.code===d.m.Success&&m(e.data)},ie=e=>{I(e?.role_name??""),O(e?.cwd??""),F(e?.access_dirs??[]),M(e?.not_access_dirs??[]),G(e?.only_read_dirs??[]),U(e?.access_cmd??""),q(e?.not_access_cmd??""),T(e?.language??""),W(e?.theme??""),J(e?.auth_list??[]),Y(e?.role_id??""),ee(e?.role_note??"")};(0,n.useEffect)(()=>{ne()},[]);const le=()=>{if(!A)return void(0,x.zN)("role_name not empty");const e=new l.E0;return e.language=H,e.theme=D,e.access_dirs=K,e.role_name=A,e.not_access_dirs=z,e.only_read_dirs=$,e.cwd=V,e.access_cmd=E,e.not_access_cmd=Z,e.auth_list=L,e.role_note=Q,e};return(0,v.jsxs)(i.fI,{children:[(0,v.jsx)(i.VP,{widthPer:50,children:(0,v.jsx)(i.xh,{children:(0,v.jsx)(a.uF,{self_title:(0,v.jsx)("span",{className:" div-row ",children:(0,v.jsx)("h2",{children:e("角色")})}),titleCom:(0,v.jsx)("div",{children:(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{w(!0),S(!1),ie(void 0)}})}),children:(0,v.jsx)(_.X,{headers:se,rows:p.map((t,s)=>{const n=[(0,v.jsx)("p",{children:t.role_id}),(0,v.jsx)(a.xP,{children:t.role_name}),(0,v.jsx)(a.xP,{children:t.role_note}),(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"edit",title:e("编辑"),onClick:()=>(e=>{w(!1),S(!0),ie(e)})(t)}),!t.is_root&&(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(async t=>{b({open:!0,title:e("确定删除吗"),handle:async()=>{const e=new l.E0;e.role_id=t,(await c.wm.post("delete_role",e)).code===d.m.Success&&((0,x.SK)("删除完成"),ne(),b({open:!1,handle:null}))}})})(t.role_id)})]})];return n}),width:"10rem"})})})}),(0,v.jsx)(i.VP,{widthPer:50,children:(y||k)&&(0,v.jsx)(i.xh,{children:(0,v.jsxs)(a.Zp,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e(""+(y?"添加":"编辑"))})," "]}),rightBottomCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"cancel",title:e("取消"),onClick:()=>{w(!1),S(!1),ie(void 0)}}),y&&(0,v.jsx)(o.rA,{icon:"add_circle",title:e("添加"),onClick:async()=>{const e=le();if(!e)return;const t=await c.wm.post("create_role",e);ne(),t.code===d.m.Success&&((0,x.SK)("创建完成"),ne(),w(!1),S(!1),ie(void 0))}}),k&&(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{const e=le();if(!e)return;e.role_id=R;(await c.wm.post("save_role",e)).code===d.m.Success&&((0,x.SK)("保存完成"),ne())}})]}),children:[(0,v.jsx)("label",{children:e("角色名")}),(0,v.jsx)(r.Sm,{value:A,handleInputChange:e=>I(e)}),(0,v.jsx)("label",{children:e("角色备注")}),(0,v.jsx)(r.Sm,{value:Q,handleInputChange:e=>ee(e)}),(0,v.jsxs)("label",{children:[(0,v.jsx)(o.rA,{icon:"add",onClick:()=>{F([...K,""])},title:"添加"}),e("目录范围")]}),(0,v.jsx)(r.Sm,{value:V,handleInputChange:e=>O(e)}),(K??[]).map((e,t)=>(0,v.jsxs)("div",{style:{display:"flex"},children:[(0,v.jsx)("div",{style:{width:"90%"},children:(0,v.jsx)(r.Sm,{value:e,handleInputChange:e=>{K[t]=e,F([...K])}})}),(0,v.jsx)(o.rA,{icon:"delete",onClick:()=>{K.splice(t,1),F([...K])},title:"删除"})]},t)),(0,v.jsxs)("label",{children:[(0,v.jsx)(o.rA,{icon:"add",onClick:()=>{M([...z,""])},title:"添加"}),e("禁止目录范围")]}),(z??[]).map((t,s)=>(0,v.jsxs)("div",{style:{display:"flex"},children:[(0,v.jsx)("div",{style:{width:"90%"},children:(0,v.jsx)(r.Sm,{value:t,handleInputChange:e=>{z[s]=e,M([...z])}})}),(0,v.jsx)(o.rA,{icon:"delete",onClick:()=>{z.splice(s,1),M([...z])},title:e("删除")})]},s)),(0,v.jsxs)("label",{children:[(0,v.jsx)(o.rA,{icon:"add",onClick:()=>{G([...$,""])},title:e("添加")}),e("只读目录范围")]}),($??[]).map((e,t)=>(0,v.jsxs)("div",{style:{display:"flex"},children:[(0,v.jsx)("div",{style:{width:"90%"},children:(0,v.jsx)(r.Sm,{value:e,handleInputChange:e=>{$[t]=e,G([...$])}})}),(0,v.jsx)(o.rA,{icon:"delete",onClick:()=>{$.splice(t,1),G([...$])},title:"删除"})]},t)),(0,v.jsx)("label",{children:e("可执行的命令")}),(0,v.jsx)(r.Sm,{value:E,placeholder:"use blank split",handleInputChange:e=>U(e)}),(0,v.jsx)("label",{children:e("禁止执行的命令")}),(0,v.jsx)(r.Sm,{value:Z,placeholder:"use blank split",handleInputChange:e=>q(e)}),(0,v.jsx)("label",{children:e("语言")}),(0,v.jsx)(r.l6,{value:H,onChange:e=>{T(e)},options:[{title:e("跟随系统"),value:"sys"},{title:"NOT",value:""},{title:"English",value:"en"},{title:"中文",value:"zh"}]}),(0,v.jsx)("label",{children:e("主题")}),(0,v.jsx)(r.l6,{value:D,onChange:e=>{W(e)},options:te}),(0,v.jsx)(B,{is_disable:()=>!1,is_selected:(e,t)=>void 0!==L?.find(t=>t===e),select_auth:e=>{L?(L.find(t=>t==e)?(0,N.I)(L,t=>t===e):L.push(e),J([...L])):J([e])}})]})})})]})}function E(){const{t:e,i18n:t}=(0,u.Bd)(),{initUserInfo:s,reloadUserInfo:p}=(0,n.useContext)(X.F),[m,j]=(0,n.useState)([]),[f,y]=(0,g.fp)(h.AG.prompt_card),[k,C]=(0,n.useState)([]),[b,A]=(0,n.useState)([]),[V,O]=(0,n.useState)([]),[N,F]=(0,g.fp)(h.AG.user_base_info),z=(0,w.K)(),B=P(),M=[e("编号"),e("路径"),e("是否默认"),e("备注")],$=[e("编号"),e("路径"),e("备注")],G=[e("编号"),e("命令"),e("父编号"),e("备注")],E=[e("文件后缀"),e("命令"),e("其他参数"),e("备注")],[U,Z]=(0,n.useState)(""),[q,H]=(0,n.useState)(""),[T,D]=(0,n.useState)(""),[W,L]=(0,n.useState)(!1),[J,R]=(0,n.useState)(""),[Y,Q]=(0,n.useState)(""),[ee,te]=(0,n.useState)("");(0,n.useEffect)(()=>{(async()=>{const e=await c.XO.get("filesSetting");e.code===d.m.Success&&(j(e.data.dirs),A(e.data.quick_cmd),O(e.data.file_quick_cmd));const t=await c.XO.get("protection_dir");t.code===d.m.Success&&C(t.data??[])})(),R(N?.user_data?.language),Q(N?.user_data?.theme),te(N?.user_data?.upload_file_ignore)},[]);const se=K();return(0,v.jsx)(n.Fragment,{children:(0,v.jsxs)(i.fI,{children:[(0,v.jsx)(i.VP,{children:(0,v.jsxs)(i.xh,{children:[(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("文件夹路径")})," ",(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{se("文件夹路径")},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{j([...m,{note:"",default:!1,path:""}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{for(let e=0;e<m.length;e++)m[e].index=e;(await c.XO.post("filesSetting/save",{dirs:m})).code===d.m.Success&&((0,x.SK)("保存成功"),p(),s())}})]}),children:(0,v.jsx)(_.X,{headers:M,rows:m.map((t,s)=>{const n=[(0,v.jsx)("div",{children:s}),(0,v.jsx)(r.Sm,{value:t.path,handleInputChange:e=>{t.path=e},no_border:!0}),(0,v.jsx)(r.l6,{value:t.default,onChange:e=>{((e,t,s)=>{const n=[];for(let e=0;e<m.length;e++)m[e].default=e===s&&t,n.push(m[e]);j(n)})(0,e,s)},options:z,no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)("div",{children:0!==s&&(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{m.splice(e,1),j([...m])})(s)})})];return n}),width:"10rem"})}),(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("个人保护路径")})," ",(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{se("保护目录")},title:"信息"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{C([...k,{path:"",note:""}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("protection_dir/save",k)).code===d.m.Success&&((0,x.SK)("保存成功"),p())}})]}),children:(0,v.jsx)(_.X,{headers:$,rows:k.map((t,s)=>{const n=[(0,v.jsx)("div",{children:s}),(0,v.jsx)(r.Sm,{value:t.path,handleInputChange:e=>{t.path=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{k.splice(e,1),C([...k])})(s)})];return n}),width:"10rem"})})]})}),(0,v.jsxs)(i.VP,{children:[(0,v.jsx)(i.xh,{children:(0,v.jsxs)(a.Zp,{title:e("修改密码"),rightBottomCom:(0,v.jsx)(o.C3,{text:e("确定修改"),clickFun:async()=>{if(!U||!q)return void(0,x.zN)("账号密码不能为空");if(q!==T)return void(0,x.zN)("两次密码不一样");const e=new l.tl;e.username=U,e.password=q,e.confirm_password=T,e.user_id=N.user_data.id;(await c.wm.post("updatePassword",e)).code===d.m.Success&&(0,x.SK)("修改成功")}}),children:[(0,v.jsx)(r.Sm,{placeholder:e("新账号"),value:U,handleInputChange:e=>{Z(e)}}),(0,v.jsx)(r.cA,{placeholder:e("新密码"),handleInputChange:e=>{H(e)}}),(0,v.jsx)(r.cA,{placeholder:e("确认密码"),handleInputChange:e=>{D(e)}})]})}),(0,v.jsx)(i.xh,{children:(0,v.jsxs)(a.Zp,{title:e("个性化设置"),rightBottomCom:(0,v.jsx)(o.C3,{text:e("确定修改"),clickFun:async()=>{(await c.XO.post(S.s.setting_sys_option_status_save,{type:I.Mu.private_sys_env,value:{language:J,theme:Y,upload_file_ignore:ee}})).code===d.m.Success&&((0,x.SK)("修改成功"),s())}}),children:[e("语言"),(0,v.jsx)(r.l6,{value:J,onChange:e=>{R(e)},options:[{title:e("跟随系统"),value:"sys"},{title:"English",value:"en"},{title:"中文",value:"zh"},{title:"Deutsch",value:"de"},{title:"ドイツ語",value:"ja"},{title:"독일어",value:"ko"},{title:"Немецкий язык",value:"ru"},{title:"Allemand",value:"fr"},{title:"Alemán",value:"es"}]}),e("主题"),(0,v.jsx)(r.l6,{value:Y,onChange:e=>{Q(e)},options:B}),(0,v.jsx)(r.Sm,{value:ee,handleInputChange:e=>{te(e)},placeholderOut:e("拖拽文件上传忽略列表"),placeholder:"node_modules *.js",no_border:!0})]})}),(0,v.jsxs)(i.xh,{children:[(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("目录快捷命令")}),(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{se("目录快捷命令")},title:"info"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{A([...b,{cmd:"",note:""}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("filesSetting/save",{quick_cmd:b})).code===d.m.Success&&((0,x.SK)("保存成功"),s())}})]}),children:(0,v.jsx)(_.X,{headers:G,rows:b.map((t,s)=>{const n=[(0,v.jsx)(r.Sm,{value:t.index,handleInputChange:e=>{t.index=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.cmd,handleInputChange:e=>{t.cmd=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.father_index,handleInputChange:e=>{t.father_index=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{b.splice(e,1),A([...b])})(s)})];return n}),width:"10rem"})}),(0,v.jsx)(a.uF,{self_title:(0,v.jsxs)("span",{className:" div-row ",children:[(0,v.jsx)("h2",{children:e("文件快捷命令")}),(0,v.jsx)(o.rA,{icon:"info",onClick:()=>{se("文件快捷命令")},title:"info"})]}),titleCom:(0,v.jsxs)("div",{children:[(0,v.jsx)(o.rA,{icon:"add",title:e("添加"),onClick:()=>{O([...V,{cmd:"",note:"",file_suffix:"",params:""}])}}),(0,v.jsx)(o.rA,{icon:"save",title:e("保存"),onClick:async()=>{(await c.XO.post("filesSetting/save",{file_quick_cmd:V})).code===d.m.Success&&((0,x.SK)("保存成功"),s())}})]}),children:(0,v.jsx)(_.X,{headers:E,rows:V.map((t,s)=>{const n=[(0,v.jsx)(r.Sm,{value:t.file_suffix,handleInputChange:e=>{t.file_suffix=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.cmd,handleInputChange:e=>{t.cmd=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.params,handleInputChange:e=>{t.params=e},no_border:!0}),(0,v.jsx)(r.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,v.jsx)(o.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{V.splice(e,1),O([...V])})(s)})];return n}),width:"10rem"})})]})]})]})})}var U=s(87361);function Z(){const{t:e}=(0,u.Bd)(),{check_user_auth:t}=(0,y.MH)(),s=[{index:1,name:e("系统"),rto:"password",component:(0,v.jsx)(O,{})},{index:1,name:`${e("个人")}${e("环境")}`,rto:"private_env_setting",component:(0,v.jsx)(E,{})}];return t(l.oV.sys_page)&&s.push({index:1,name:`${e("系统")}${e("环境")}`,rto:"env_setting/",component:(0,v.jsx)(z,{})}),t(l.oV.auth_router_page)&&s.push({index:1,name:e("自定义路由"),rto:"customer_router/",component:(0,v.jsx)(b,{})}),t(l.oV.user_manage)&&s.push({index:1,name:e("用户管理"),rto:"user_manager/",component:(0,v.jsx)($,{})}),t(l.oV.role_manage)&&s.push({index:1,name:e("角色管理"),rto:"role_manager/",component:(0,v.jsx)(G,{})}),(0,v.jsx)(i.W1,{optionList:s,father_route:U.o.setting})}},6960(e,t,s){s.d(t,{s:()=>a});var n=s(72635);const i=1440,l=525600;function a(e){e=e>1e12?e:1e3*e;const t=Date.now(),s=Math.abs(t-e)/6e4;return s<1?n.Ay.t("小于一分钟"):s<60?`${s.toFixed(0)} ${n.Ay.t("分钟前")}`:s<i?`${(s/60).toFixed(0)} ${n.Ay.t("小时前")}`:s<43200?`${(s/i).toFixed(0)} ${n.Ay.t("天前")}`:s<l?`${(s/43200).toFixed(0)} ${n.Ay.t("月前")}`:`${(s/l).toFixed(0)} ${n.Ay.t("年前")}`}},24659(e,t,s){s.d(t,{K:()=>i});var n=s(59270);const i=()=>{const{t:e}=(0,n.Bd)();return[{title:e("是"),value:!0,color:"#28a745"},{title:e("否"),value:!1,color:"#666666"}]}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 7795.62b518fc1550f5ab95c9.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[7795],{16750(e,t){"use strict";t.J=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,o=/&(newline|tab);/gi,i=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,c=[".","/"];t.J=function(e){var t,u=(t=e||"",t.replace(r,function(e,t){return String.fromCharCode(t)})).replace(o,"").replace(i,"").trim();if(!u)return"about:blank";if(function(e){return c.indexOf(e[0])>-1}(u))return u;var s=u.match(a);if(!s)return u;var f=s[0];return n.test(f)?"about:blank":u}},58241(e,t,n){"use strict";n.d(t,{Eq:()=>f});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,i=new WeakMap,a={},c=0,u=function(e){return e&&(e.host||u(e.parentNode))},s=function(e,t,n,r){var s=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=u(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);a[n]||(a[n]=new WeakMap);var f=a[n],l=[],h=new Set,d=new Set(s),p=function(e){e&&!h.has(e)&&(h.add(e),p(e.parentNode))};s.forEach(p);var v=function(e){e&&!d.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(h.has(e))v(e);else try{var t=e.getAttribute(r),a=null!==t&&"false"!==t,c=(o.get(e)||0)+1,u=(f.get(e)||0)+1;o.set(e,c),f.set(e,u),l.push(e),1===c&&a&&i.set(e,!0),1===u&&e.setAttribute(n,"true"),a||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),h.clear(),c++,function(){l.forEach(function(e){var t=o.get(e)-1,a=f.get(e)-1;o.set(e,t),f.set(e,a),t||(i.has(e)||e.removeAttribute(r),i.delete(e)),a||e.removeAttribute(n)}),--c||(o=new WeakMap,o=new WeakMap,i=new WeakMap,a={})}},f=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||r(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),s(o,i,n,"aria-hidden")):function(){return null}}},20053(e,t,n){"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function o(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{A:()=>o}),n.dn(o)},52566(e,t){var n;n=function(e){e.version="0.3.0";var t=function(){for(var e=0,t=new Array(256),n=0;256!=n;++n)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=n)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[n]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}(),n="undefined"!=typeof Buffer;function r(e){for(var n=-1,r=0,o=e.length-7;r<o;)n=(n=(n=(n=(n=(n=(n=(n=n>>>8^t[255&(n^e[r++])])>>>8^t[255&(n^e[r++])])>>>8^t[255&(n^e[r++])])>>>8^t[255&(n^e[r++])])>>>8^t[255&(n^e[r++])])>>>8^t[255&(n^e[r++])])>>>8^t[255&(n^e[r++])])>>>8^t[255&(n^e[r++])];for(;r<o+7;)n=n>>>8^t[255&(n^e[r++])];return-1^n}e.table=t,e.bstr=function(e){if(e.length>32768&&n)return r(new Buffer(e));for(var o=-1,i=e.length-1,a=0;a<i;)o=t[255&(o^e.charCodeAt(a++))]^o>>>8,o=t[255&(o^e.charCodeAt(a++))]^o>>>8;return a===i&&(o=o>>>8^t[255&(o^e.charCodeAt(a))]),-1^o},e.buf=function(e){if(e.length>1e4)return r(e);for(var n=-1,o=0,i=e.length-3;o<i;)n=(n=(n=(n=n>>>8^t[255&(n^e[o++])])>>>8^t[255&(n^e[o++])])>>>8^t[255&(n^e[o++])])>>>8^t[255&(n^e[o++])];for(;o<i+3;)n=n>>>8^t[255&(n^e[o++])];return-1^n},e.str=function(e){for(var n,r,o=-1,i=0,a=e.length;i<a;)(n=e.charCodeAt(i++))<128?o=o>>>8^t[255&(o^n)]:n<2048?o=(o=o>>>8^t[255&(o^(192|n>>6&31))])>>>8^t[255&(o^(128|63&n))]:n>=55296&&n<57344?(n=64+(1023&n),r=1023&e.charCodeAt(i++),o=(o=(o=(o=o>>>8^t[255&(o^(240|n>>8&7))])>>>8^t[255&(o^(128|n>>2&63))])>>>8^t[255&(o^(128|r>>6&15|3&n))])>>>8^t[255&(o^(128|63&r))]):o=(o=(o=o>>>8^t[255&(o^(224|n>>12&15))])>>>8^t[255&(o^(128|n>>6&63))])>>>8^t[255&(o^(128|63&n))];return-1^o}},"undefined"==typeof DO_NOT_EXPORT_CRC?n(t):n({})},61711(e,t){var n,r,o;r=[],void 0===(o="function"==typeof(n=function(){"use strict";var e=function(){this._listeners={}};e.prototype.addEventListener=function(e,t){this._listeners[e]=this._listeners[e]||[],this._listeners[e].indexOf(t)<0&&this._listeners[e].push(t)},e.prototype.removeEventListener=function(e,t){if(this._listeners[e]){var n=this._listeners[e].indexOf(t);n>=0&&this._listeners[e].splice(n,1)}},e.prototype.dispatchEvent=function(e){if(this._listeners[e.type]&&this._listeners[e.type].length)for(var t=this._listeners[e.type].slice(),n=0,r=t.length;n<r;++n)t[n].call(this,e)};var t=function(e){return"function"==typeof e.constructor&&"GeneratorFunction"===e.constructor.name},n=function(e){return{next:function(){var t=e();return t?{value:t}:{done:!0}}}},r=function(e){var t=!1;return{next:function(){return t?{done:!0}:(t=!0,{value:e})}}},o=function(e,o){var i=typeof e;if("object"===i){if("function"==typeof e.next)return e;if("function"==typeof e.then)return r(e)}return"function"===i?t(e)?e():n(e):r(o.resolve(e))},i=function(e,t,n){this.target=e,this.type=t,this.data=n},a=function(t,n,r){if(e.call(this),"number"!=typeof n||Math.floor(n)!==n||n<1)throw new Error("Invalid concurrency");this._concurrency=n,this._options=r||{},this._options.promise=this._options.promise||Promise,this._iterator=o(t,this._options.promise),this._done=!1,this._size=0,this._promise=null,this._callbacks=null};return a.prototype=new e,a.prototype.constructor=a,a.prototype.concurrency=function(e){return void 0!==e&&(this._concurrency=e,this.active()&&this._proceed()),this._concurrency},a.prototype.size=function(){return this._size},a.prototype.active=function(){return!!this._promise},a.prototype.promise=function(){return this._promise},a.prototype.start=function(){var e=this,t=this._options.promise;return this._promise=new t(function(t,n){e._callbacks={reject:n,resolve:t},e._proceed()}),this._promise},a.prototype._fireEvent=function(e,t){this.dispatchEvent(new i(this,e,t))},a.prototype._settle=function(e){e?this._callbacks.reject(e):this._callbacks.resolve(),this._promise=null,this._callbacks=null},a.prototype._onPooledPromiseFulfilled=function(e,t){this._size--,this.active()&&(this._fireEvent("fulfilled",{promise:e,result:t}),this._proceed())},a.prototype._onPooledPromiseRejected=function(e,t){this._size--,this.active()&&(this._fireEvent("rejected",{promise:e,error:t}),this._settle(t||new Error("Unknown error")))},a.prototype._trackPromise=function(e){var t=this;e.then(function(n){t._onPooledPromiseFulfilled(e,n)},function(n){t._onPooledPromiseRejected(e,n)}).catch(function(e){t._settle(new Error("Promise processing failed: "+e))})},a.prototype._proceed=function(){if(!this._done){for(var e={done:!1};this._size<this._concurrency&&!(e=this._iterator.next()).done;)this._size++,this._trackPromise(e.value);this._done=null===e||!!e.done}this._done&&0===this._size&&this._settle()},a.PromisePoolEvent=i,a.PromisePool=a,a})?n.apply(t,r):n)||(e.exports=o)},44751(e){var t;t={},e.exports=t,t.simpleFilter=function(e,n){return n.filter(function(n){return t.test(e,n)})},t.test=function(e,n){return null!==t.match(e,n)},t.match=function(e,t,n){n=n||{};var r,o=0,i=[],a=t.length,c=0,u=0,s=n.pre||"",f=n.post||"",l=n.caseSensitive&&t||t.toLowerCase();e=n.caseSensitive&&e||e.toLowerCase();for(var h=0;h<a;h++)r=t[h],l[h]===e[o]?(r=s+r+f,o+=1,u+=1+u):u=0,c+=u,i[i.length]=r;return o===e.length?(c=l===e?1/0:c,{rendered:i.join(""),score:c}):null},t.filter=function(e,n,r){return n&&0!==n.length?"string"!=typeof e?n:(r=r||{},n.reduce(function(n,o,i,a){var c=o;r.extract&&(c=r.extract(o));var u=t.match(e,c,r);return null!=u&&(n[n.length]={string:u.rendered,score:u.score,index:i,original:o}),n},[]).sort(function(e,t){var n=t.score-e.score;return n||e.index-t.index})):[]}},83757(e,t,n){"use strict";n.d(t,{l:()=>s});var r=n(74848),o=n(96540),i=n(52035),a=n(34843),c=n(30569);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u.apply(this,arguments)}function s(){const e=(0,o.createContext)(null);const t=t=>{const n=(0,o.useContext)(e);if(!n)throw new Error("Missing Provider from createIsolation");return(0,a.Pj)(u({store:n},t))};return{Provider:function({store:t,initialValues:n=[],children:a}){const u=(0,o.useRef)(t);return u.current||(u.current=(0,i.y$)()),(0,c.RH)(n,{store:u.current}),(0,r.jsx)(e.Provider,{value:u.current,children:a})},useStore:t,useAtom:(e,n)=>{const r=t();return(0,a.fp)(e,u({store:r},n))},useAtomValue:(e,n)=>{const r=t();return(0,a.md)(e,u({store:r},n))},useSetAtom:(e,n)=>{const r=t();return(0,a.Xr)(e,u({store:r},n))}}}const{read:f,write:l}=(0,i.eU)(null);(0,o.createContext)({scope:void 0,baseStore:void 0})},20181(e,t,n){var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,f=u||s||Function("return this")(),l=Object.prototype.toString,h=Math.max,d=Math.min,p=function(){return f.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==l.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?c(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,c,u,s=0,f=!1,l=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function m(t){var n=r,i=o;return r=o=void 0,s=t,a=e.apply(i,n)}function b(e){var n=e-u;return void 0===u||n>=t||n<0||l&&e-s>=i}function w(){var e=p();if(b(e))return E(e);c=setTimeout(w,function(e){var n=t-(e-u);return l?d(n,i-(e-s)):n}(e))}function E(e){return c=void 0,y&&r?m(e):(r=o=void 0,a)}function x(){var e=p(),n=b(e);if(r=arguments,o=this,u=e,n){if(void 0===c)return function(e){return s=e,c=setTimeout(w,t),f?m(e):a}(u);if(l)return c=setTimeout(w,t),m(u)}return void 0===c&&(c=setTimeout(w,t)),a}return t=g(t)||0,v(n)&&(f=!!n.leading,i=(l="maxWait"in n)?h(g(n.maxWait)||0,t):i,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==c&&clearTimeout(c),s=0,r=u=o=c=void 0},x.flush=function(){return void 0===c?a:E(p())},x}},25858(e,t,n){var r="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,l=s||f||Function("return this")(),h=Object.prototype.toString,d=Math.max,p=Math.min,v=function(){return l.Date.now()};function g(e,t,n){var o,i,a,c,u,s,f=0,l=!1,h=!1,g=!0;if("function"!=typeof e)throw new TypeError(r);function b(t){var n=o,r=i;return o=i=void 0,f=t,c=e.apply(r,n)}function w(e){var n=e-s;return void 0===s||n>=t||n<0||h&&e-f>=a}function E(){var e=v();if(w(e))return x(e);u=setTimeout(E,function(e){var n=t-(e-s);return h?p(n,a-(e-f)):n}(e))}function x(e){return u=void 0,g&&o?b(e):(o=i=void 0,c)}function k(){var e=v(),n=w(e);if(o=arguments,i=this,s=e,n){if(void 0===u)return function(e){return f=e,u=setTimeout(E,t),l?b(e):c}(s);if(h)return u=setTimeout(E,t),b(s)}return void 0===u&&(u=setTimeout(E,t)),c}return t=m(t)||0,y(n)&&(l=!!n.leading,a=(h="maxWait"in n)?d(m(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==u&&clearTimeout(u),f=0,o=s=i=u=void 0},k.flush=function(){return void 0===u?c:x(v())},k}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return y(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),g(e,t,{leading:o,maxWait:t,trailing:i})}},25447(e,t,n){"use strict";function r(e){let t=0,n=0,r=0,o=0;const i=[];for(const{key:a,data:c}of e)switch(a){case"M":i.push({key:"M",data:[...c]}),[t,n]=c,[r,o]=c;break;case"m":t+=c[0],n+=c[1],i.push({key:"M",data:[t,n]}),r=t,o=n;break;case"L":i.push({key:"L",data:[...c]}),[t,n]=c;break;case"l":t+=c[0],n+=c[1],i.push({key:"L",data:[t,n]});break;case"C":i.push({key:"C",data:[...c]}),t=c[4],n=c[5];break;case"c":{const e=c.map((e,r)=>r%2?e+n:e+t);i.push({key:"C",data:e}),t=e[4],n=e[5];break}case"Q":i.push({key:"Q",data:[...c]}),t=c[2],n=c[3];break;case"q":{const e=c.map((e,r)=>r%2?e+n:e+t);i.push({key:"Q",data:e}),t=e[2],n=e[3];break}case"A":i.push({key:"A",data:[...c]}),t=c[5],n=c[6];break;case"a":t+=c[5],n+=c[6],i.push({key:"A",data:[c[0],c[1],c[2],c[3],c[4],t,n]});break;case"H":i.push({key:"H",data:[...c]}),t=c[0];break;case"h":t+=c[0],i.push({key:"H",data:[t]});break;case"V":i.push({key:"V",data:[...c]}),n=c[0];break;case"v":n+=c[0],i.push({key:"V",data:[n]});break;case"S":i.push({key:"S",data:[...c]}),t=c[2],n=c[3];break;case"s":{const e=c.map((e,r)=>r%2?e+n:e+t);i.push({key:"S",data:e}),t=e[2],n=e[3];break}case"T":i.push({key:"T",data:[...c]}),t=c[0],n=c[1];break;case"t":t+=c[0],n+=c[1],i.push({key:"T",data:[t,n]});break;case"Z":case"z":i.push({key:"Z",data:[]}),t=r,n=o}return i}n.d(t,{p:()=>r})},2852(e,t,n){"use strict";function r(e){const t=[];let n="",r=0,o=0,a=0,c=0,u=0,s=0;for(const{key:f,data:l}of e){switch(f){case"M":t.push({key:"M",data:[...l]}),[r,o]=l,[a,c]=l;break;case"C":t.push({key:"C",data:[...l]}),r=l[4],o=l[5],u=l[2],s=l[3];break;case"L":t.push({key:"L",data:[...l]}),[r,o]=l;break;case"H":r=l[0],t.push({key:"L",data:[r,o]});break;case"V":o=l[0],t.push({key:"L",data:[r,o]});break;case"S":{let e=0,i=0;"C"===n||"S"===n?(e=r+(r-u),i=o+(o-s)):(e=r,i=o),t.push({key:"C",data:[e,i,...l]}),u=l[0],s=l[1],r=l[2],o=l[3];break}case"T":{const[e,i]=l;let a=0,c=0;"Q"===n||"T"===n?(a=r+(r-u),c=o+(o-s)):(a=r,c=o);const f=r+2*(a-r)/3,h=o+2*(c-o)/3,d=e+2*(a-e)/3,p=i+2*(c-i)/3;t.push({key:"C",data:[f,h,d,p,e,i]}),u=a,s=c,r=e,o=i;break}case"Q":{const[e,n,i,a]=l,c=r+2*(e-r)/3,f=o+2*(n-o)/3,h=i+2*(e-i)/3,d=a+2*(n-a)/3;t.push({key:"C",data:[c,f,h,d,i,a]}),u=e,s=n,r=i,o=a;break}case"A":{const e=Math.abs(l[0]),n=Math.abs(l[1]),a=l[2],c=l[3],u=l[4],s=l[5],f=l[6];if(0===e||0===n)t.push({key:"C",data:[r,o,s,f,s,f]}),r=s,o=f;else if(r!==s||o!==f){i(r,o,s,f,e,n,a,c,u).forEach(function(e){t.push({key:"C",data:e})}),r=s,o=f}break}case"Z":t.push({key:"Z",data:[]}),r=a,o=c}n=f}return t}function o(e,t,n){return[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)]}function i(e,t,n,r,a,c,u,s,f,l){const h=(d=u,Math.PI*d/180);var d;let p=[],v=0,g=0,y=0,m=0;if(l)[v,g,y,m]=l;else{[e,t]=o(e,t,-h),[n,r]=o(n,r,-h);const i=(e-n)/2,u=(t-r)/2;let l=i*i/(a*a)+u*u/(c*c);l>1&&(l=Math.sqrt(l),a*=l,c*=l);const d=a*a,p=c*c,b=d*p-d*u*u-p*i*i,w=d*u*u+p*i*i,E=(s===f?-1:1)*Math.sqrt(Math.abs(b/w));y=E*a*u/c+(e+n)/2,m=E*-c*i/a+(t+r)/2,v=Math.asin(parseFloat(((t-m)/c).toFixed(9))),g=Math.asin(parseFloat(((r-m)/c).toFixed(9))),e<y&&(v=Math.PI-v),n<y&&(g=Math.PI-g),v<0&&(v=2*Math.PI+v),g<0&&(g=2*Math.PI+g),f&&v>g&&(v-=2*Math.PI),!f&&g>v&&(g-=2*Math.PI)}let b=g-v;if(Math.abs(b)>120*Math.PI/180){const e=g,t=n,o=r;g=f&&g>v?v+120*Math.PI/180*1:v+120*Math.PI/180*-1,p=i(n=y+a*Math.cos(g),r=m+c*Math.sin(g),t,o,a,c,u,0,f,[g,e,y,m])}b=g-v;const w=Math.cos(v),E=Math.sin(v),x=Math.cos(g),k=Math.sin(g),M=Math.tan(b/4),C=4/3*a*M,S=4/3*c*M,A=[e,t],_=[e+C*E,t-S*w],O=[n+C*k,r-S*x],P=[n,r];if(_[0]=2*A[0]-_[0],_[1]=2*A[1]-_[1],l)return[_,O,P].concat(p);{p=[_,O,P].concat(p);const e=[];for(let t=0;t<p.length;t+=3){const n=o(p[t][0],p[t][1],h),r=o(p[t+1][0],p[t+1][1],h),i=o(p[t+2][0],p[t+2][1],h);e.push([n[0],n[1],r[0],r[1],i[0],i[1]])}return e}}n.d(t,{S:()=>r})},83512(e,t,n){"use strict";n.d(t,{R:()=>i});const r={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function o(e,t){return e.type===t}function i(e){const t=[],n=function(e){const t=new Array;for(;""!==e;)if(e.match(/^([ \t\r\n,]+)/))e=e.substr(RegExp.$1.length);else if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))t[t.length]={type:0,text:RegExp.$1},e=e.substr(RegExp.$1.length);else{if(!e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];t[t.length]={type:1,text:`${parseFloat(RegExp.$1)}`},e=e.substr(RegExp.$1.length)}return t[t.length]={type:2,text:""},t}(e);let a="BOD",c=0,u=n[c];for(;!o(u,2);){let s=0;const f=[];if("BOD"===a){if("M"!==u.text&&"m"!==u.text)return i("M0,0"+e);c++,s=r[u.text],a=u.text}else o(u,1)?s=r[a]:(c++,s=r[u.text],a=u.text);if(!(c+s<n.length))throw new Error("Path data ended short");for(let e=c;e<c+s;e++){const t=n[e];if(!o(t,1))throw new Error("Param not a number: "+a+","+t.text);f[f.length]=+t.text}if("number"!=typeof r[a])throw new Error("Bad segment: "+a);{const e={key:a,data:f};t.push(e),c+=s,u=n[c],"M"===a&&(a="L"),"m"===a&&(a="l")}}return t}},55707(e,t,n){"use strict";function r(e,t,n,r=e=>e){return e*r(.5-t*(.5-n))}function o(e,t){return[e[0]+t[0],e[1]+t[1]]}function i(e,t){return[e[0]-t[0],e[1]-t[1]]}function a(e,t){return[e[0]*t,e[1]*t]}function c(e){return[e[1],-e[0]]}function u(e,t){return e[0]*t[0]+e[1]*t[1]}function s(e,t){return e[0]===t[0]&&e[1]===t[1]}function f(e,t){return function(e){return e[0]*e[0]+e[1]*e[1]}(i(e,t))}function l(e){return function(e,t){return[e[0]/t,e[1]/t]}(e,function(e){return Math.hypot(e[0],e[1])}(e))}function h(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function d(e,t,n){let r=Math.sin(n),o=Math.cos(n),i=e[0]-t[0],a=e[1]-t[1],c=i*r+a*o;return[i*o-a*r+t[0],c+t[1]]}function p(e,t,n){return o(e,a(i(t,e),n))}function v(e,t,n){return o(e,a(t,n))}n.d(t,{$4:()=>b});var{min:g,PI:y}=Math,m=y+1e-4;function b(e,t={}){return function(e,t={}){let{size:n=16,smoothing:s=.5,thinning:h=.5,simulatePressure:y=!0,easing:b=e=>e,start:w={},end:E={},last:x=!1}=t,{cap:k=!0,easing:M=e=>e*(2-e)}=w,{cap:C=!0,easing:S=e=>--e*e*e+1}=E;if(0===e.length||n<=0)return[];let A,_=e[e.length-1].runningLength,O=!1===w.taper?0:!0===w.taper?Math.max(n,_):w.taper,P=!1===E.taper?0:!0===E.taper?Math.max(n,_):E.taper,j=Math.pow(n*s,2),R=[],I=[],T=e.slice(0,10).reduce((e,t)=>{let r=t.pressure;if(y){let o=g(1,t.distance/n),i=g(1,1-o);r=g(1,e+.275*o*(i-e))}return(e+r)/2},e[0].pressure),L=r(n,h,e[e.length-1].pressure,b),N=e[0].vector,F=e[0].point,D=F,W=F,z=D,U=!1;for(let t=0;t<e.length;t++){let{pressure:s}=e[t],{point:l,vector:v,distance:w,runningLength:E}=e[t];if(t<e.length-1&&_-E<3)continue;if(h){if(y){let e=g(1,w/n),t=g(1,1-e);s=g(1,T+.275*e*(t-T))}L=r(n,h,s,b)}else L=n/2;void 0===A&&(A=L);let x=E<O?M(E/O):1,k=_-E<P?S((_-E)/P):1;L=Math.max(.01,L*Math.min(x,k));let C=(t<e.length-1?e[t+1]:e[t]).vector,$=t<e.length-1?u(v,C):1,B=null!==$&&$<0;if(u(v,N)<0&&!U||B){let e=a(c(N),L);for(let t=1/13,n=0;n<=1;n+=t)W=d(i(l,e),l,m*n),R.push(W),z=d(o(l,e),l,m*-n),I.push(z);F=W,D=z,B&&(U=!0);continue}if(U=!1,t===e.length-1){let e=a(c(v),L);R.push(i(l,e)),I.push(o(l,e));continue}let Z=a(c(p(C,v,$)),L);W=i(l,Z),(t<=1||f(F,W)>j)&&(R.push(W),F=W),z=o(l,Z),(t<=1||f(D,z)>j)&&(I.push(z),D=z),T=s,N=v}let $=e[0].point.slice(0,2),B=e.length>1?e[e.length-1].point.slice(0,2):o(e[0].point,[1,1]),Z=[],X=[];if(1===e.length){if(!O&&!P||x){let e=v($,l(c(i($,B))),-(A||L)),t=[];for(let n=1/13,r=n;r<=1;r+=n)t.push(d(e,$,2*m*r));return t}}else{if(!(O||P&&1===e.length))if(k)for(let e=1/13,t=e;t<=1;t+=e){let e=d(I[0],$,m*t);Z.push(e)}else{let e=i(R[0],I[0]),t=a(e,.5),n=a(e,.51);Z.push(i($,t),i($,n),o($,n),o($,t))}let t=c(function(e){return[-e[0],-e[1]]}(e[e.length-1].vector));if(P||O&&1===e.length)X.push(B);else if(C){let e=v(B,t,L);for(let t=1/29,n=t;n<1;n+=t)X.push(d(e,B,3*m*n))}else X.push(o(B,a(t,L)),o(B,a(t,.99*L)),i(B,a(t,.99*L)),i(B,a(t,L)))}return R.concat(X,I.reverse(),Z)}(function(e,t={}){var n;let{streamline:r=.5,size:a=16,last:c=!1}=t;if(0===e.length)return[];let u=.15+.85*(1-r),f=Array.isArray(e[0])?e:e.map(({x:e,y:t,pressure:n=.5})=>[e,t,n]);if(2===f.length){let e=f[1];f=f.slice(0,-1);for(let t=1;t<5;t++)f.push(p(f[0],e,t/4))}1===f.length&&(f=[...f,[...o(f[0],[1,1]),...f[0].slice(2)]]);let d=[{point:[f[0][0],f[0][1]],pressure:f[0][2]>=0?f[0][2]:.25,vector:[1,1],distance:0,runningLength:0}],v=!1,g=0,y=d[0],m=f.length-1;for(let e=1;e<f.length;e++){let t=c&&e===m?f[e].slice(0,2):p(y.point,f[e],u);if(s(y.point,t))continue;let n=h(t,y.point);if(g+=n,e<m&&!v){if(g<a)continue;v=!0}y={point:t,pressure:f[e][2]>=0?f[e][2]:.5,vector:l(i(y.point,t)),distance:n,runningLength:g},d.push(y)}return d[0].vector=(null==(n=d[1])?void 0:n.vector)||[0,0],d}(e,t),t)}},9628(e){e.exports=function(e){e.data&&e.name&&(e=e.data);for(var t=!0,n="",r="",o=0;o<e.length;o++){var i=e[o];if(t)i?r+=String.fromCharCode(i):t=!1;else{if(!i)throw new Error("Invalid NULL character found. 0x00 character is not permitted in tEXt content");n+=String.fromCharCode(i)}}return{keyword:r,text:n}}},37524(e){e.exports=function(e,t){if(e=String(e),t=String(t),!/^[\x00-\xFF]+$/.test(e)||!/^[\x00-\xFF]+$/.test(t))throw new Error("Only Latin-1 characters are permitted in PNG tEXt chunks. You might want to consider base64 encoding and/or zEXt compression");if(e.length>=80)throw new Error('Keyword "'+e+'" is longer than the 79-character limit imposed by the PNG specification');for(var n,r=e.length+t.length+1,o=new Uint8Array(r),i=0,a=0;a<e.length;a++){if(!(n=e.charCodeAt(a)))throw new Error("0x00 character is not permitted in tEXt keywords");o[i++]=n}o[i++]=0;for(var c=0;c<t.length;c++){if(!(n=t.charCodeAt(c)))throw new Error("0x00 character is not permitted in tEXt content");o[i++]=n}return{name:"tEXt",data:o}}},7960(e,t,n){t.encode=n(37524),t.decode=n(9628)},3642(e,t,n){var r=n(13635),o=n(52566);e.exports=function(e){var t,n=8,u=n;for(t=0;t<e.length;t++)n+=e[t].data.length,n+=12;var s=new Uint8Array(n);for(s[0]=137,s[1]=80,s[2]=78,s[3]=71,s[4]=13,s[5]=10,s[6]=26,s[7]=10,t=0;t<e.length;t++){var f=e[t],l=f.name,h=f.data,d=h.length,p=[l.charCodeAt(0),l.charCodeAt(1),l.charCodeAt(2),l.charCodeAt(3)];c[0]=d,s[u++]=i[3],s[u++]=i[2],s[u++]=i[1],s[u++]=i[0],s[u++]=p[0],s[u++]=p[1],s[u++]=p[2],s[u++]=p[3];for(var v=0;v<d;)s[u++]=h[v++];var g=p.concat(r(h)),y=o.buf(g);a[0]=y,s[u++]=i[3],s[u++]=i[2],s[u++]=i[1],s[u++]=i[0]}return s};var i=new Uint8Array(4),a=new Int32Array(i.buffer),c=new Uint32Array(i.buffer)},8029(e,t,n){var r=n(52566);e.exports=function(e){if(137!==e[0])throw new Error("Invalid .png file header");if(80!==e[1])throw new Error("Invalid .png file header");if(78!==e[2])throw new Error("Invalid .png file header");if(71!==e[3])throw new Error("Invalid .png file header");if(13!==e[4])throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");if(10!==e[5])throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");if(26!==e[6])throw new Error("Invalid .png file header");if(10!==e[7])throw new Error("Invalid .png file header: possibly caused by DOS-Unix line ending conversion?");var t=!1,n=[],c=8;for(;c<e.length;){o[3]=e[c++],o[2]=e[c++],o[1]=e[c++],o[0]=e[c++];var u=a[0]+4,s=new Uint8Array(u);s[0]=e[c++],s[1]=e[c++],s[2]=e[c++],s[3]=e[c++];var f=String.fromCharCode(s[0])+String.fromCharCode(s[1])+String.fromCharCode(s[2])+String.fromCharCode(s[3]);if(!n.length&&"IHDR"!==f)throw new Error("IHDR header missing");if("IEND"===f){t=!0,n.push({name:f,data:new Uint8Array(0)});break}for(var l=4;l<u;l++)s[l]=e[c++];o[3]=e[c++],o[2]=e[c++],o[1]=e[c++],o[0]=e[c++];var h=i[0];if(r.buf(s)!==h)throw new Error("CRC values for "+f+" header do not match, PNG file is likely corrupted");var d=new Uint8Array(s.buffer.slice(4));n.push({name:f,data:d})}if(!t)throw new Error(".png file ended prematurely: no IEND header was found");return n};var o=new Uint8Array(4),i=new Int32Array(o.buffer),a=new Uint32Array(o.buffer)},97682(e,t,n){"use strict";function r(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function o(e,t,n){const o=r(t,n);if(0===o)return r(e,t);let a=((e[0]-t[0])*(n[0]-t[0])+(e[1]-t[1])*(n[1]-t[1]))/o;return a=Math.max(0,Math.min(1,a)),r(e,i(t,n,a))}function i(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}function a(e,t,n,o){const c=o||[];if(function(e,t){const n=e[t+0],r=e[t+1],o=e[t+2],i=e[t+3];let a=3*r[0]-2*n[0]-i[0];a*=a;let c=3*r[1]-2*n[1]-i[1];c*=c;let u=3*o[0]-2*i[0]-n[0];u*=u;let s=3*o[1]-2*i[1]-n[1];return s*=s,a<u&&(a=u),c<s&&(c=s),a+c}(e,t)<n){const n=e[t+0];if(c.length){(u=c[c.length-1],s=n,Math.sqrt(r(u,s)))>1&&c.push(n)}else c.push(n);c.push(e[t+3])}else{const r=.5,o=e[t+0],u=e[t+1],s=e[t+2],f=e[t+3],l=i(o,u,r),h=i(u,s,r),d=i(s,f,r),p=i(l,h,r),v=i(h,d,r),g=i(p,v,r);a([o,l,p,g],0,n,c),a([g,v,d,f],0,n,c)}var u,s;return c}function c(e,t){return u(e,0,e.length,t)}function u(e,t,n,r,i){const a=i||[],c=e[t],s=e[n-1];let f=0,l=1;for(let r=t+1;r<n-1;++r){const t=o(e[r],c,s);t>f&&(f=t,l=r)}return Math.sqrt(f)>r?(u(e,t,l+1,r,a),u(e,l,n,r,a)):(a.length||a.push(c),a.push(s)),a}function s(e,t=.15,n){const r=[],o=(e.length-1)/3;for(let n=0;n<o;n++){a(e,3*n,t,r)}return n&&n>0?u(r,0,r.length,n):r}n.d(t,{CR:()=>c,IB:()=>s})},88200(e,t,n){"use strict";function r(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function o(e,t,n){const o=r(t,n);if(0===o)return r(e,t);let a=((e[0]-t[0])*(n[0]-t[0])+(e[1]-t[1])*(n[1]-t[1]))/o;return a=Math.max(0,Math.min(1,a)),r(e,i(t,n,a))}function i(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}function a(e,t,n,o){const c=o||[];if(function(e,t){const n=e[t+0],r=e[t+1],o=e[t+2],i=e[t+3];let a=3*r[0]-2*n[0]-i[0];a*=a;let c=3*r[1]-2*n[1]-i[1];c*=c;let u=3*o[0]-2*i[0]-n[0];u*=u;let s=3*o[1]-2*i[1]-n[1];return s*=s,a<u&&(a=u),c<s&&(c=s),a+c}(e,t)<n){const n=e[t+0];if(c.length){(u=c[c.length-1],s=n,Math.sqrt(r(u,s)))>1&&c.push(n)}else c.push(n);c.push(e[t+3])}else{const r=.5,o=e[t+0],u=e[t+1],s=e[t+2],f=e[t+3],l=i(o,u,r),h=i(u,s,r),d=i(s,f,r),p=i(l,h,r),v=i(h,d,r),g=i(p,v,r);a([o,l,p,g],0,n,c),a([g,v,d,f],0,n,c)}var u,s;return c}function c(e,t){return u(e,0,e.length,t)}function u(e,t,n,r,i){const a=i||[],c=e[t],s=e[n-1];let f=0,l=1;for(let r=t+1;r<n-1;++r){const t=o(e[r],c,s);t>f&&(f=t,l=r)}return Math.sqrt(f)>r?(u(e,t,l+1,r,a),u(e,l,n,r,a)):(a.length||a.push(c),a.push(s)),a}n.d(t,{S:()=>h});var s=n(83512),f=n(2852),l=n(25447);function h(e,t,n){const r=(0,s.R)(e),o=(0,f.S)((0,l.p)(r)),i=[];let h=[],d=[0,0],p=[];const v=()=>{p.length>=4&&h.push(...function(e,t=.15,n){const r=[],o=(e.length-1)/3;for(let n=0;n<o;n++)a(e,3*n,t,r);return n&&n>0?u(r,0,r.length,n):r}(p,t)),p=[]},g=()=>{v(),h.length&&(i.push(h),h=[])};for(const{key:e,data:t}of o)switch(e){case"M":g(),d=[t[0],t[1]],h.push(d);break;case"L":v(),h.push([t[0],t[1]]);break;case"C":if(!p.length){const e=h.length?h[h.length-1]:d;p.push([e[0],e[1]])}p.push([t[0],t[1]]),p.push([t[2],t[3]]),p.push([t[4],t[5]]);break;case"Z":v(),h.push([d[0],d[1]])}if(g(),!n)return i;const y=[];for(const e of i){const t=c(e,n);t.length&&y.push(t)}return y}},74099(e,t,n){"use strict";n.d(t,{A:()=>H});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create;function i(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;var a=n(96540),c="right-scroll-bar-position",u="width-before-scroll-bar";function s(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var f="undefined"!=typeof window?a.useLayoutEffect:a.useEffect,l=new WeakMap;function h(e,t){var n,r,o,i=(n=t||null,r=function(t){return e.forEach(function(e){return s(e,t)})},(o=(0,a.useState)(function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=r,o.facade);return f(function(){var t=l.get(i);if(t){var n=new Set(t),r=new Set(e),o=i.current;n.forEach(function(e){r.has(e)||s(e,null)}),r.forEach(function(e){n.has(e)||s(e,o)})}l.set(i,e)},[e]),i}function d(e){return e}function p(e,t){void 0===t&&(t=d);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}var v=function(e){void 0===e&&(e={});var t=p(null);return t.options=r({async:!0,ssr:!1},e),t}(),g=function(){},y=a.forwardRef(function(e,t){var n=a.useRef(null),i=a.useState({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:g}),c=i[0],u=i[1],s=e.forwardProps,f=e.children,l=e.className,d=e.removeScrollBar,p=e.enabled,y=e.shards,m=e.sideCar,b=e.noRelative,w=e.noIsolation,E=e.inert,x=e.allowPinchZoom,k=e.as,M=void 0===k?"div":k,C=e.gapMode,S=o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),A=m,_=h([n,t]),O=r(r({},S),c);return a.createElement(a.Fragment,null,p&&a.createElement(A,{sideCar:v,removeScrollBar:d,shards:y,noRelative:b,noIsolation:w,inert:E,setCallbacks:u,allowPinchZoom:!!x,lockRef:n,gapMode:C}),s?a.cloneElement(a.Children.only(f),r(r({},O),{ref:_})):a.createElement(M,r({},O,{className:l,ref:_}),f))});y.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},y.classNames={fullWidth:u,zeroRight:c};var m,b=function(e){var t=e.sideCar,n=o(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return a.createElement(i,r({},n))};b.isSideCarExport=!0;function w(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=m||n.nc;return t&&e.setAttribute("nonce",t),e}var E=function(){var e=0,t=null;return{add:function(n){var r,o;0==e&&(t=w())&&(o=n,(r=t).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},x=function(){var e,t=(e=E(),function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},k={left:0,top:0,right:0,gap:0},M=function(e){return parseInt(e||"",10)||0},C=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return k;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[M(n),M(r),M(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},S=x(),A="data-scroll-locked",_=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(A,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(c," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(A,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},O=function(){var e=parseInt(document.body.getAttribute(A)||"0",10);return isFinite(e)?e:0},P=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r;a.useEffect(function(){return document.body.setAttribute(A,(O()+1).toString()),function(){var e=O()-1;e<=0?document.body.removeAttribute(A):document.body.setAttribute(A,e.toString())}},[]);var i=a.useMemo(function(){return C(o)},[o]);return a.createElement(S,{styles:_(i,!t,o,n?"":"!important")})},j=!1;if("undefined"!=typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){return j=!0,!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(e){j=!1}var I=!!j&&{passive:!1},T=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},L=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),N(e,r)){var o=F(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},N=function(e,t){return"v"===e?function(e){return T(e,"overflowY")}(t):function(e){return T(e,"overflowX")}(t)},F=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},D=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},W=function(e){return[e.deltaX,e.deltaY]},z=function(e){return e&&"current"in e?e.current:e},U=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},$=0,B=[];function Z(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const X=(V=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState($++)[0],c=a.useState(x)[0],u=a.useRef(e);a.useEffect(function(){u.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=i([e.lockRef.current],(e.shards||[]).map(z),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!u.current.allowPinchZoom;var o,i=D(e),a=n.current,c="deltaX"in e?e.deltaX:a[0]-i[0],s="deltaY"in e?e.deltaY:a[1]-i[1],f=e.target,l=Math.abs(c)>Math.abs(s)?"h":"v";if("touches"in e&&"h"===l&&"range"===f.type)return!1;var h=window.getSelection(),d=h&&h.anchorNode;if(d&&(d===f||d.contains(f)))return!1;var p=L(l,f);if(!p)return!0;if(p?o=l:(o="v"===l?"h":"v",p=L(l,f)),!p)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var v=r.current||o;return function(e,t,n,r,o){var i=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=i*r,c=n.target,u=t.contains(c),s=!1,f=a>0,l=0,h=0;do{if(!c)break;var d=F(e,c),p=d[0],v=d[1]-d[2]-i*p;(p||v)&&N(e,c)&&(l+=v,h+=p);var g=c.parentNode;c=g&&g.nodeType===Node.DOCUMENT_FRAGMENT_NODE?g.host:g}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(f&&(o&&Math.abs(l)<1||!o&&a>l)||!f&&(o&&Math.abs(h)<1||!o&&-a>h))&&(s=!0),s}(v,t,e,"h"===v?c:s,!0)},[]),f=a.useCallback(function(e){var n=e;if(B.length&&B[B.length-1]===c){var r="deltaY"in n?W(n):D(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(u.current.shards||[]).map(z).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?s(n,i[0]):!u.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),l=a.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:Z(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),h=a.useCallback(function(e){n.current=D(e),r.current=void 0},[]),d=a.useCallback(function(t){l(t.type,W(t),t.target,s(t,e.lockRef.current))},[]),p=a.useCallback(function(t){l(t.type,D(t),t.target,s(t,e.lockRef.current))},[]);a.useEffect(function(){return B.push(c),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",f,I),document.addEventListener("touchmove",f,I),document.addEventListener("touchstart",h,I),function(){B=B.filter(function(e){return e!==c}),document.removeEventListener("wheel",f,I),document.removeEventListener("touchmove",f,I),document.removeEventListener("touchstart",h,I)}},[]);var v=e.removeScrollBar,g=e.inert;return a.createElement(a.Fragment,null,g?a.createElement(c,{styles:U(o)}):null,v?a.createElement(P,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(V),b);var V,q=a.forwardRef(function(e,t){return a.createElement(y,r({},e,{ref:t,sideCar:X}))});q.classNames=y.classNames;const H=q},13635(e){e.exports=function(e,t,n){var r=[],o=e.length;if(0===o)return r;var i=t<0?Math.max(0,t+o):t||0;for(void 0!==n&&(o=n<0?n+o:n);o-- >i;)r[o-i]=e[o];return r}},35974(e,t,n){"use strict";n.d(t,{A:()=>g});var r=n(96540);const o=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{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."),n.clear()}},a=t=e(r,o,i);return i},i=e=>e?o(e):o;var a=n(69242);const{useDebugValue:c}=r,{useSyncExternalStoreWithSelector:u}=a;let s=!1;const f=e=>e;const l=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?i(e):e,n=(e,n)=>function(e,t=f,n){n&&!s&&(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"),s=!0);const r=u(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return c(r),r}(t,e,n);return Object.assign(n,t),n},h=e=>e?l(e):l;var d,p;const v="undefined"!=typeof window&&(null!=(d=window.document)&&d.createElement||"ReactNative"===(null==(p=window.navigator)?void 0:p.product))?r.useLayoutEffect:r.useEffect;function g(){const e=h(e=>({current:new Array,version:0,set:e}));return{In:({children:t})=>{const n=e(e=>e.set),r=e(e=>e.version);return v(()=>{n(e=>({version:e.version+1}))},[]),v(()=>(n(({current:e})=>({current:[...e,t]})),()=>n(({current:e})=>({current:e.filter(e=>e!==t)}))),[t,r]),null},Out:()=>{const t=e(e=>e.current);return r.createElement(r.Fragment,null,t)}}}},22162(e,t,n){"use strict";var r=n(96540),o=n(19888);var i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=o.useSyncExternalStore,c=r.useRef,u=r.useEffect,s=r.useMemo,f=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var l=c(null);if(null===l.current){var h={hasValue:!1,value:null};l.current=h}else h=l.current;l=s(function(){function e(e){if(!u){if(u=!0,a=e,e=r(e),void 0!==o&&h.hasValue){var t=h.value;if(o(t,e))return c=t}return c=e}if(t=c,i(a,e))return t;var n=r(e);return void 0!==o&&o(t,n)?(a=e,t):(a=e,c=n)}var a,c,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]},[t,n,r,o]);var d=a(e,l[0],l[1]);return u(function(){h.hasValue=!0,h.value=d},[d]),f(d),d}},69242(e,t,n){"use strict";e.exports=n(22162)},58168(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},38733(e,t,n){"use strict";n.d(t,{$j:()=>r,Ai:()=>c,lt:()=>i});const r=(()=>{if("undefined"==typeof self)return!1;if("top"in self&&self!==top)try{top}catch(e){return!1}else if("showOpenFilePicker"in self)return"showOpenFilePicker";return!1})(),o=r?n.e(3471).then(n.bind(n,73471)):n.e(1060).then(n.bind(n,51060));async function i(...e){return(await o).default(...e)}r?n.e(8090).then(n.bind(n,38090)):n.e(6322).then(n.bind(n,26322));const a=r?n.e(239).then(n.bind(n,239)):n.e(1455).then(n.bind(n,81455));async function c(...e){return(await a).default(...e)}},62803(e,t,n){"use strict";n.d(t,{YT:()=>l});const r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";function o(e,t,n){const r=n[0];if(null!=t&&e>=t)throw new Error(e+" >= "+t);if(e.slice(-1)===r||t&&t.slice(-1)===r)throw new Error("trailing zero");if(t){let i=0;for(;(e[i]||r)===t[i];)i++;if(i>0)return t.slice(0,i)+o(e.slice(i),t.slice(i),n)}const i=e?n.indexOf(e[0]):0,a=null!=t?n.indexOf(t[0]):n.length;if(a-i>1){return n[Math.round(.5*(i+a))]}return t&&t.length>1?t.slice(0,1):n[i]+o(e.slice(1),null,n)}function i(e){if(e.length!==a(e[0]))throw new Error("invalid integer part of order key: "+e)}function a(e){if(e>="a"&&e<="z")return e.charCodeAt(0)-"a".charCodeAt(0)+2;if(e>="A"&&e<="Z")return"Z".charCodeAt(0)-e.charCodeAt(0)+2;throw new Error("invalid order key head: "+e)}function c(e){const t=a(e[0]);if(t>e.length)throw new Error("invalid order key: "+e);return e.slice(0,t)}function u(e,t){if(e==="A"+t[0].repeat(26))throw new Error("invalid order key: "+e);const n=c(e);if(e.slice(n.length).slice(-1)===t[0])throw new Error("invalid order key: "+e)}function s(e,t){i(e);const[n,...r]=e.split("");let o=!0;for(let e=r.length-1;o&&e>=0;e--){const n=t.indexOf(r[e])+1;n===t.length?r[e]=t[0]:(r[e]=t[n],o=!1)}if(o){if("Z"===n)return"a"+t[0];if("z"===n)return null;const e=String.fromCharCode(n.charCodeAt(0)+1);return e>"a"?r.push(t[0]):r.pop(),e+r.join("")}return n+r.join("")}function f(e,t,n=r){if(null!=e&&u(e,n),null!=t&&u(t,n),null!=e&&null!=t&&e>=t)throw new Error(e+" >= "+t);if(null==e){if(null==t)return"a"+n[0];const e=c(t),r=t.slice(e.length);if(e==="A"+n[0].repeat(26))return e+o("",r,n);if(e<t)return e;const a=function(e,t){i(e);const[n,...r]=e.split("");let o=!0;for(let e=r.length-1;o&&e>=0;e--){const n=t.indexOf(r[e])-1;-1===n?r[e]=t.slice(-1):(r[e]=t[n],o=!1)}if(o){if("a"===n)return"Z"+t.slice(-1);if("A"===n)return null;const e=String.fromCharCode(n.charCodeAt(0)-1);return e<"Z"?r.push(t.slice(-1)):r.pop(),e+r.join("")}return n+r.join("")}(e,n);if(null==a)throw new Error("cannot decrement any more");return a}if(null==t){const t=c(e),r=e.slice(t.length),i=s(t,n);return i??t+o(r,null,n)}const a=c(e),f=e.slice(a.length),l=c(t),h=t.slice(l.length);if(a===l)return a+o(f,h,n);const d=s(a,n);if(null==d)throw new Error("cannot increment any more");return d<t?d:a+o(f,null,n)}function l(e,t,n,o=r){if(0===n)return[];if(1===n)return[f(e,t,o)];if(null==t){let r=f(e,t,o);const i=[r];for(let e=0;e<n-1;e++)r=f(r,t,o),i.push(r);return i}if(null==e){let r=f(e,t,o);const i=[r];for(let t=0;t<n-1;t++)r=f(e,r,o),i.push(r);return i.reverse(),i}const i=Math.floor(n/2),a=f(e,t,o);return[...l(e,a,i,o),a,...l(a,t,n-i-1,o)]}},93920(e,t,n){"use strict";function r(e,t,n){if(e&&e.length){const[r,o]=t,i=Math.PI/180*n,a=Math.cos(i),c=Math.sin(i);for(const t of e){const[e,n]=t;t[0]=(e-r)*a-(n-o)*c+r,t[1]=(e-r)*c+(n-o)*a+o}}}function o(e,t){return e[0]===t[0]&&e[1]===t[1]}function i(e,t,n,i=1){const a=n,c=Math.max(t,.1),u=e[0]&&e[0][0]&&"number"==typeof e[0][0]?[e]:e,s=[0,0];if(a)for(const e of u)r(e,s,a);const f=function(e,t,n){const r=[];for(const t of e){const e=[...t];o(e[0],e[e.length-1])||e.push([e[0][0],e[0][1]]),e.length>2&&r.push(e)}const i=[];t=Math.max(t,.1);const a=[];for(const e of r)for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];if(n[1]!==r[1]){const e=Math.min(n[1],r[1]);a.push({ymin:e,ymax:Math.max(n[1],r[1]),x:e===n[1]?n[0]:r[0],islope:(r[0]-n[0])/(r[1]-n[1])})}}if(a.sort((e,t)=>e.ymin<t.ymin?-1:e.ymin>t.ymin?1:e.x<t.x?-1:e.x>t.x?1:e.ymax===t.ymax?0:(e.ymax-t.ymax)/Math.abs(e.ymax-t.ymax)),!a.length)return i;let c=[],u=a[0].ymin,s=0;for(;c.length||a.length;){if(a.length){let e=-1;for(let t=0;t<a.length&&!(a[t].ymin>u);t++)e=t;a.splice(0,e+1).forEach(e=>{c.push({s:u,edge:e})})}if(c=c.filter(e=>!(e.edge.ymax<=u)),c.sort((e,t)=>e.edge.x===t.edge.x?0:(e.edge.x-t.edge.x)/Math.abs(e.edge.x-t.edge.x)),(1!==n||s%t===0)&&c.length>1)for(let e=0;e<c.length;e+=2){const t=e+1;if(t>=c.length)break;const n=c[e].edge,r=c[t].edge;i.push([[Math.round(n.x),u],[Math.round(r.x),u]])}u+=n,c.forEach(e=>{e.edge.x=e.edge.x+n*e.edge.islope}),s++}return i}(u,c,i);if(a){for(const e of u)r(e,s,-a);!function(e,t,n){const o=[];e.forEach(e=>o.push(...e)),r(o,t,n)}(f,s,-a)}return f}n.d(t,{M:()=>i})},44329(e,t,n){"use strict";n.d(t,{Ak:()=>r});let r=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?"-":"_","")},90782(e){"use strict";e.exports=JSON.parse('{"white":"#ffffff","black":"#000000","gray":["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],"red":["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],"pink":["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],"grape":["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],"violet":["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],"indigo":["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],"blue":["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],"cyan":["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],"teal":["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],"green":["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],"lime":["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],"yellow":["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],"orange":["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]}')}}]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license React
|
|
3
|
-
*
|
|
3
|
+
* use-sync-external-store-shim/with-selector.production.js
|
|
4
4
|
*
|
|
5
|
-
* Copyright (c)
|
|
5
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[8090],{38090(e,r,t){function n(e){function r(e){if(Object(e)!==e)return Promise.reject(new TypeError(e+" is not an object."));var r=e.done;return Promise.resolve(e.value).then(function(e){return{value:e,done:r}})}return(n=function(e){this.s=e,this.n=e.next}).prototype={s:null,n:null,next:function(){return r(this.n.apply(this.s,arguments))},return:function(e){var t=this.s.return;return void 0===t?Promise.resolve({value:e,done:!0}):r(t.apply(this.s,arguments))},throw:function(e){var t=this.s.return;return void 0===t?Promise.reject(e):r(t.apply(this.s,arguments))}},new n(e)}t.r(r),t.d(r,{default:()=>a});const i=async(e,r,t=e.name,a)=>{const o=[],l=[];var s,u=!1,c=!1;try{for(var f,y=function(e){var r,t,i,a=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,i=Symbol.iterator);a--;){if(t&&null!=(r=e[t]))return r.call(e);if(i&&null!=(r=e[i]))return new n(r.call(e));t="@@asyncIterator",i="@@iterator"}throw new TypeError("Object is not async iterable")}(e.values());u=!(f=await y.next()).done;u=!1){const n=f.value,s=`${t}/${n.name}`;"file"===n.kind?l.push(n.getFile().then(r=>(r.directoryHandle=e,r.handle=n,Object.defineProperty(r,"webkitRelativePath",{configurable:!0,enumerable:!0,get:()=>s})))):"directory"!==n.kind||!r||a&&a(n)||o.push(i(n,r,s,a))}}catch(e){c=!0,s=e}finally{try{u&&null!=y.return&&await y.return()}finally{if(c)throw s}}return[...(await Promise.all(o)).flat(),...await Promise.all(l)]};var a=async(e={})=>{e.recursive=e.recursive||!1;const r=await window.showDirectoryPicker({id:e.id,startIn:e.startIn});return i(r,e.recursive,void 0,e.skipDirectory)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[6010,8302],{83277(e,t,n){n.d(t,{$j:()=>r,CP:()=>l,Lv:()=>o,cL:()=>a,qq:()=>i});class s{options_agent_url_list;options_agent_key_list;options_agent_model_list}class o{token;open=!1;note;index;url;model;request_type;json_params;sys_prompt;dotenv="";tool_mode=!1;show_options;static get_label_by_v(e,t){if(!e||!t?.length)return e;for(const n of t)if(n.value===e)return n.label}static have_label_by_v(e,t){if(!e||!t?.length)return!1;for(const n of t)if(n.value===e)return!0;return!1}}class i extends s{tool_error_max=50;tool_call_max=300;allow_exec_cmd_directly=!1;proxy_url}const l='\n\n# 工具报错最大尝试次数\ntool_error_max=50\n# 聊天循环最大次数\ntool_call_max=300\n# 是否允许AI直接执行命令而不需要用户确认,默认为false,需要用户手动确认,如果使用 workflow 这里等价于为 true\nallow_exec_cmd_directly=false\n\n# 可选的代理 url,如果指定了所有访问大模型的请求将会走代理\n#proxy_url=\n\n# 可选的多个url 以数组分割\n# options_agent_url_list=[{"value":"http://..",label:"openai"}]\n\n# 可选的多个 key\n# options_agent_key_list=[{"value":"sh-aaa",label:"option1"}]\n\n# 可选的多个 model\n# options_agent_model_list=[{"value":"gpt-5.5",label:"gpt"}]\n\n';const a=JSON.stringify({stream:!0,thinking:{type:"disabled"}});function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(e=>"text"===e.type?e.text:"[图片]").join("\n"):""}},77481(e,t,n){n.d(t,{S:()=>l,X:()=>i});var s=n(96540),o=n(74848);function i(e){const[t,n]=s.useState([]);return(0,s.useEffect)(()=>{e.children?n(Array.isArray(e.children)?e.children:[e.children]):n(e.rows)},[e.rows,e.children]),(0,o.jsxs)("table",{children:[(0,o.jsx)("thead",{children:(0,o.jsx)("tr",{children:e.headers?.map((e,t)=>(0,o.jsx)("th",{children:e},t))})}),(0,o.jsx)("tbody",{children:t.map((t,n)=>(0,o.jsx)("tr",{onContextMenu:()=>{e.handleContextMenu&&e.handleContextMenu(t)},children:t.map((n,s)=>(0,o.jsx)("td",{style:{width:e.width??"auto"},className:s===t.length-1?"small":"",children:n},s))},n))})]})}function l(e){return(0,o.jsx)("div",{style:{display:e.isFlex?"flex":"block"},children:e.columns.map((e,t)=>(0,o.jsx)("div",{children:e},t))})}},29591(e,t,n){n.r(t),n.d(t,{default:()=>K});var s=n(59270),o=n(96540),i=n(85997),l=n(57952),a=n(34843),r=n(26417),c=n(75725),d=n(77481),p=n(63033),u=n(70447),h=n(34299),_=n(74848);var m=n(14284),x=n(53459),j=n(62042),v=n(7523),g=n(78247),f=n(23430),w=n(52671),y=n(14944),C=n(92275),k=n(88815),b=n(45907),A=n(12721),S=n(24659),I=n(83277),$=n(96494);function K(){const{t:e}=(0,s.Bd)(),{initUserInfo:t}=(0,o.useContext)(v.F),n=[e("编号"),e("url"),e("model类型"),e("是否开启"),e("key"),"model",e("成为tool"),e("更多属性"),e("备注")],K=(0,$.r)(),N=[e("编号"),e("本地目录"),e("自动加载"),e("备注")],[P,M]=(0,o.useState)([]),[O,X]=(0,o.useState)([]),[V,L]=(0,o.useState)([]),[H,F]=(0,o.useState)(null),Y=(0,o.useRef)(),q=(0,o.useRef)(!1),G=(0,o.useRef)(!1),[z,B]=(0,o.useState)([]),[R,T]=(0,o.useState)(!1),[D,E]=(0,a.fp)(r.AG.prompt_card),[J,Z]=(0,a.fp)(r.AG.user_base_info),[U,W]=(0,o.useState)(!1),Q=V.filter(e=>"http"!==(e.transport??"stdio")),ee=V.filter(e=>"http"===e.transport),te=[e("编号"),e("名称"),e("是否开启"),"command","args","cwd",e("tools|env"),e("备注")],ne=[e("编号"),e("名称"),e("是否开启"),e("endpoint"),e("tools|headers"),e("备注")],se=[e("编号"),e("提示词"),e("备注")],[oe,ie]=(0,o.useState)([]),le=function(){const[e,t]=(0,a.fp)(r.AG.prompt_card);return e=>{t({open:!0,title:"信息",context_div:(0,_.jsx)("div",{children:(0,_.jsx)(h.default,{context:e})})})}}(),{check_user_auth:ae}=(0,g.MH)(),[re,ce]=(0,a.fp)(r.AG.editorSetting),de=(0,w.Zp)(),pe=(0,b.y)(),ue=(0,S.K)(),he=async()=>{const e=await m.jV.get("docs_on_get");e.code===x.m.Success&&W(e.data)};(0,o.useEffect)(()=>{(async()=>{const e=await m.XO.get("ai_agent_setting");e.code===x.m.Success&&M(e.data.models),await y.ws.addMsg(C.HK.ai_load_info,e=>{F(e.context)});const t=await y.ws.sendData(C.HK.ai_load_info,{});t?.context&&F(t.context);const n=await m.XO.get("ai_docs_setting");n.code===x.m.Success&&(Y.current=n.data.param,n.data.list?.length&&X(n.data.list));const s=await m.XO.get("ai_mcp_setting");s.code===x.m.Success&&L(s.data.list??[]),await ge(),he();const o=await m.XO.get("ai_system_prompts");o.code===x.m.Success&&ie(o.data??[])})()},[]);const _e=(e="stdio")=>{const t="http"===e?{name:"",open:!1,note:"",transport:"http",endpoint:"",headers:"",stream:!1,timeout_ms:1e4}:{name:"",open:!1,command:"",args:"",cwd:"",env:"",note:"",transport:"stdio",timeout_ms:1e4};L([...V,t]),q.current=!0},me=e=>{const t=V.indexOf(e);t<0||(V.splice(t,1),L([...V]),q.current=!0)},xe=e=>{L([...V,{...e,open:!1}]),q.current=!0},je=async e=>{for(let e=0;e<P.length;e++)P[e].index=e;(await m.XO.post("ai_agent_setting/save",{models:e??P})).code===x.m.Success&&(0,j.SK)("保存成功")},ve=async e=>{for(let e=0;e<V.length;e++)V[e].index=e;(await m.XO.post("ai_mcp_setting/save",{list:e??V})).code===x.m.Success&&((0,j.SK)("保存成功"),q.current=!1,await ge())},ge=async()=>{const e=await m.XO.get("ai_mcp_tools");return e.code===x.m.Success?(B(e.data??[]),e.data??[]):[]},fe=async e=>{T(!0);try{const t=await m.XO.post("ai_mcp_tools/reload",{index:e});if(t.code===x.m.Success)return await ge(),(0,j.SK)("MCP工具加载成功"),t.data??null}finally{T(!1)}return null},we=async(t,n,s,o)=>{const i=o??z.find(e=>e.index===n)??{index:n,key:`${n}`,name:t.name??"",note:t.note,transport:t.transport??"stdio",open:!!t.open,loaded:!1,tool_count:0,tools:[]},l=(i.tools??[]).map(t=>({id:t.runtime_name,title:t.tool_name,subtitle:t.description||e("无描述"),detail:t.display_name,meta:t.runtime_name}));E({open:!0,title:`${t.name||t.note||n} MCP工具`,context_div:(0,_.jsx)(A.O,{title:`${t.name||t.note||n} MCP工具`,subtitle:`${i.transport??"stdio"} | ${i.open?e("是"):e("否")} | ${i.loaded?"loaded":"idle"} | ${i.tool_count} tools`,pages:l,initialPageId:s,onRefresh:async()=>{const e=await fe(n);e&&await we(t,n,s,e)},renderPage:t=>{if(!t)return(0,_.jsx)("div",{className:"prompt-switch-page__empty",children:e("暂无工具")});const n=i.tools?.find(e=>e.runtime_name===t.id);return n?(0,_.jsxs)("div",{className:"prompt-switch-page__detail",children:[(0,_.jsx)("div",{className:"prompt-switch-page__detail-title",children:n.display_name}),(0,_.jsx)("div",{className:"prompt-switch-page__detail-desc",children:n.description||e("无描述")}),(0,_.jsxs)("div",{className:"prompt-switch-page__detail-row",children:[(0,_.jsx)("strong",{children:"runtime:"})," ",n.runtime_name]}),(0,_.jsxs)("div",{children:[(0,_.jsx)("strong",{children:"schema:"}),(0,_.jsx)("pre",{className:"prompt-switch-page__schema",children:JSON.stringify(n.input_schema??{},null,2)})]})]}):(0,_.jsx)("div",{className:"prompt-switch-page__empty",children:e("暂无工具")})}}),cancel:()=>E({open:!1})})},ye=async e=>{for(let e=0;e<P.length;e++)P[e].index=e;let t={list:O,docs_update_tag:G.current};null!=e&&(t={param:e}),G.current=!1;(await m.XO.post("ai_docs_setting_save",t)).code===x.m.Success&&(0,j.SK)("保存成功")},Ce=async()=>{for(let e=0;e<oe.length;e++)oe[e].index=e;(await m.XO.post("ai_system_prompts/save",{list:oe})).code===x.m.Success&&(0,j.SK)("保存成功")};return(0,_.jsxs)("div",{children:[(0,_.jsx)(l.A,{children:ae(f.oV.ai_agent_setting)&&(0,_.jsx)(i.rA,{icon:"arrow_back",title:e("上一页"),onClick:()=>{de(-1)}})}),(0,_.jsx)(c.jW,{isFull:!0,more:!0,children:(0,_.jsx)(c.NN,{children:(0,_.jsxs)(c.xh,{children:[(0,_.jsx)(c.fI,{children:(0,_.jsx)(c.VP,{widthPer:100,children:(0,_.jsx)(u.uF,{self_title:(0,_.jsxs)("span",{className:" div-row ",children:[(0,_.jsx)("h2",{children:e("Model")+" "+e("设置")})," ",(0,_.jsx)(i.rA,{icon:"info",onClick:()=>{le('\n1. 只能使用符合openai风格的ai接口,接口不能只填域名,而是类似 https://ark.cn-beijing.volces.com/api/v3/chat/completions 这样的全路径链接聊天url\n2. 对话的历史越长,消耗的大模型token费用越贵,目前不具备长期记忆简化能力,可以在系统prompt中设置一下让AI回答的简洁一点,节省tokens\n3. model请求参数json编写,里面只能编写json,来用于编写openai风格ai支持的属性,比如 temperature thinking(豆包的深度思考开关)等\n4. 可以在model请求参数中开启 "stream":true 提高响应速度\n5. 深度思考现在会影响输出速度,建议设置`{\n "thinking" : { \n "type":"disabled"\n }\n}`关闭(豆包例子)\n6. 使用AI功能来查询服务器信息,那么AI就需要能够之一些命令,需要先在用户设置中,给用户设置命令权限,建议设置 `*` 允许全部命令,在设置禁止不能执行的危险命令。\n7. 成为tool 后,该模型将会作为一个工具被加载,可以实现不同模型作为不能角色的能力。\n8. model 类型是必须要设置的,因为不同类型的 model 接口格式不同。\n')},title:"信息"})]}),titleCom:(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"add",title:e("添加"),onClick:()=>{M([...P,{note:"",open:!1,path:"",dotenv:I.CP,json_params:I.cL}])}}),(0,_.jsx)(i.rA,{icon:"save",title:e("保存"),onClick:()=>{je()}})]}),children:(0,_.jsx)(d.X,{headers:n,rows:P.map((t,n)=>{const s=[(0,_.jsx)("div",{children:n}),(0,_.jsx)(p.Sm,{value:I.Lv.get_label_by_v(t.url,t.show_options?.options_agent_url_list),options:t.show_options?.options_agent_url_list,handleInputChange:e=>{t.url=e},no_border:!0}),(0,_.jsx)(p.l6,{value:t.request_type??"completions",onChange:e=>{t.request_type=e,M([...P])},options:K,no_border:!0}),(0,_.jsx)(p.l6,{value:t.open,onChange:e=>{((e,t,n)=>{const s=[];for(let e=0;e<P.length;e++)P[e].open=e===n&&t,s.push(P[e]);M(s)})(0,e,n)},options:ue,no_border:!0}),(0,_.jsx)(p.Sm,{type:I.Lv.have_label_by_v(t.token,t.show_options?.options_agent_key_list)?null:"password",value:I.Lv.get_label_by_v(t.token,t.show_options?.options_agent_key_list),options:t.show_options?.options_agent_key_list,handleInputChange:e=>{t.token=e},no_border:!0}),(0,_.jsx)(p.Sm,{value:I.Lv.get_label_by_v(t.model,t.show_options?.options_agent_model_list),options:t.show_options?.options_agent_model_list,handleInputChange:e=>{t.model=e},no_border:!0}),(0,_.jsx)(p.l6,{value:t.tool_mode,onChange:n=>{t.open&&!0===n?(0,j.zN)(e("开启状态不能成为tool")):(t.tool_mode=n,M([...P]))},options:ue,no_border:!0}),(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"short_text",title:"prompt",onClick:()=>{g.xK.set_value_temp(P[n].sys_prompt??""),ce({model:"ace/mode/text",open:!0,fileName:"",save:async e=>{P[n].sys_prompt=e,M(P),g.xK.set_value_temp(""),je(P)}})}}),(0,_.jsx)(i.rA,{icon:"edit_attributes",title:"model请求参数json编写",onClick:()=>{g.xK.set_value_temp(P[n].json_params),ce({model:"ace/mode/json",open:!0,fileName:"",save:async e=>{P[n].json_params=e,M(P),g.xK.set_value_temp(""),je(P)},can_format:!0})}}),(0,_.jsx)(i.rA,{icon:"settings",title:"额外参数设置",onClick:()=>{g.xK.set_value_temp(P[n].dotenv),ce({model:"ace/mode/ini",open:!0,fileName:"",save:async e=>{P[n].dotenv=e,M(P),g.xK.set_value_temp(""),je(P)}})}})]}),(0,_.jsx)(p.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{P.splice(e,1),M([...P])})(n)}),(0,_.jsx)(i.rA,{icon:"copy_all",title:e("复制"),onClick:()=>(e=>{M([...P,{...P[e],open:!1}])})(n)})]})];return s}),width:"10rem"})})})}),(0,_.jsx)(c.fI,{children:(0,_.jsx)(c.VP,{widthPer:70,children:(0,_.jsx)(u.uF,{self_title:(0,_.jsxs)("span",{className:" div-row ",children:[(0,_.jsxs)("h2",{children:[e("MCP")+" "+e("设置")," - stdio"]})," ",(0,_.jsx)(i.rA,{icon:"info",onClick:()=>{le("\n1. 这里配置的是 MCP Client 启动参数,当前实现的是 stdio 模式,也就是通过 command + args 启动本地 MCP Server\n2. 例如可以填 npx / uvx / python 等命令,再配合对应的 MCP server 包参数\n3. 保存后会自动重新加载 MCP 工具,agent 聊天时会把这些工具一起带给模型\n4. 建议把 cwd 配到具体项目目录,避免 server 在错误目录里运行\n")},title:"信息"})]}),titleCom:(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"add",title:e("添加"),onClick:()=>_e("stdio")}),(0,_.jsx)(i.rA,{icon:"save",title:e("保存"),onClick:()=>{ve()}})]}),children:(0,_.jsx)(d.X,{headers:te,rows:Q.map((t,n)=>{const s=V.indexOf(t);return[(0,_.jsx)("div",{children:n}),(0,_.jsx)(p.Sm,{value:t.name,handleInputChange:e=>{t.name=e,q.current=!0},no_border:!0}),(0,_.jsx)(p.l6,{value:t.open,onChange:e=>{t.open=e,L([...V]),q.current=!0},options:ue,no_border:!0}),(0,_.jsx)(p.Sm,{value:t.command,handleInputChange:e=>{t.command=e,q.current=!0},no_border:!0}),(0,_.jsx)(p.Sm,{value:t.args,handleInputChange:e=>{t.args=e,q.current=!0},no_border:!0}),(0,_.jsx)(p.Sm,{value:t.cwd,handleInputChange:e=>{t.cwd=e,q.current=!0},no_border:!0}),(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"visibility",title:"查看工具",onClick:()=>{we(t,s)}}),(0,_.jsx)(i.rA,{icon:"settings",title:"env",onClick:()=>{g.xK.set_value_temp(t.env??""),ce({model:"ace/mode/ini",open:!0,fileName:"",save:async e=>{t.env=e,L([...V]),g.xK.set_value_temp(""),q.current=!0,ve()}})}})]}),(0,_.jsx)(p.Sm,{value:t.note,handleInputChange:e=>{t.note=e,q.current=!0},no_border:!0}),(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"delete",title:e("删除"),onClick:()=>me(t)}),(0,_.jsx)(i.rA,{icon:"copy_all",title:e("复制"),onClick:()=>xe(t)})]})]}),width:"10rem"})})})}),(0,_.jsx)(c.fI,{children:(0,_.jsxs)(c.VP,{widthPer:70,children:[(0,_.jsx)(u.uF,{self_title:(0,_.jsxs)("span",{className:" div-row ",children:[(0,_.jsxs)("h2",{children:[e("MCP")+" "+e("设置")," - HTTP"]})," "]}),titleCom:(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"add",title:e("添加"),onClick:()=>_e("http")}),(0,_.jsx)(i.rA,{icon:"save",title:e("保存"),onClick:()=>{ve()}})]}),children:(0,_.jsx)(d.X,{headers:ne,rows:ee.map((t,n)=>{const s=V.indexOf(t);return[(0,_.jsx)("div",{children:n}),(0,_.jsx)(p.Sm,{value:t.name,handleInputChange:e=>{t.name=e,q.current=!0},no_border:!0}),(0,_.jsx)(p.l6,{value:t.open,onChange:e=>{t.open=e,L([...V]),q.current=!0},options:ue,no_border:!0}),(0,_.jsx)(p.Sm,{value:t.endpoint,handleInputChange:e=>{t.endpoint=e,q.current=!0},no_border:!0}),(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"visibility",title:"查看工具",onClick:()=>{we(t,s)}}),(0,_.jsx)(i.rA,{icon:"settings",title:"headers",onClick:()=>{g.xK.set_value_temp(t.headers??""),ce({model:"ace/mode/ini",open:!0,fileName:"",save:async e=>{t.headers=e,L([...V]),g.xK.set_value_temp(""),q.current=!0,ve()}})}})]}),(0,_.jsx)(p.Sm,{value:t.note,handleInputChange:e=>{t.note=e,q.current=!0},no_border:!0}),(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"delete",title:e("删除"),onClick:()=>me(t)}),(0,_.jsx)(i.rA,{icon:"copy_all",title:e("复制"),onClick:()=>xe(t)})]})]}),width:"10rem"})}),(0,_.jsx)(u.uF,{self_title:(0,_.jsxs)("span",{className:" div-row ",children:[(0,_.jsx)("h2",{children:e("系统会话提示词")})," ",(0,_.jsx)(i.rA,{icon:"info",onClick:()=>{le('\n1. 系统会话提示词,在 AI 聊天页创建会话时可以选择,选中的提示词会自动填入聊天框作为第一条系统消息\n2. 适用于预先设定常用的会话场景模板,如"代码审查"、"翻译助手"、"运维诊断"等\n')},title:"信息"})]}),titleCom:(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"add",title:e("添加"),onClick:()=>{ie([...oe,{prompt:"",note:""}])}}),(0,_.jsx)(i.rA,{icon:"save",title:e("保存"),onClick:()=>{Ce()}})]}),children:(0,_.jsx)(d.X,{headers:se,rows:oe.map((t,n)=>{const s=[(0,_.jsx)("div",{children:n}),(0,_.jsx)("div",{children:(0,_.jsx)(i.rA,{icon:"short_text",title:e("提示词"),onClick:()=>{g.xK.set_value_temp(t.prompt??""),ce({model:"ace/mode/text",open:!0,fileName:"",save:async e=>{t.prompt=e,ie([...oe]),g.xK.set_value_temp(""),Ce()}})}})}),(0,_.jsx)(p.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,_.jsx)("div",{children:(0,_.jsx)(i.rA,{icon:"delete",title:e("删除"),onClick:()=>(e=>{oe.splice(e,1),ie([...oe])})(n)})})];return s}),width:"10rem"})})]})}),(0,_.jsxs)(c.fI,{children:[(0,_.jsx)(c.VP,{widthPer:50,children:(0,_.jsx)(u.uF,{self_title:(0,_.jsxs)("span",{className:" div-row ",children:[(0,_.jsx)("h2",{children:e("本地知识库")})," ",(0,_.jsx)(i.rA,{icon:"info",onClick:()=>{le("\n1. 本地知识库用于为AI增强理解能力,或者分析本地文件,原理读取本地的文件,对文件在内存中建立全文索引,为AI提供额外数据(需要有模型开启才能使用)\n2. 该功能只能用于小型知识库,作为本地小型或者公司内部资料使用还是没有问题的\n3. 每次保存都会重新加载知识库中的文件,不会全部重新加载,而是检测哪些文件有变更\n")},title:"信息"})]}),titleCom:(0,_.jsxs)("div",{children:[(0,_.jsx)(i.Ay,{checked:U,onChange:async e=>{await m.jV.post("docs_on_set",{status:e}),he(),t()},title:e("知识库开关")}),(0,_.jsx)(i.rA,{icon:"settings",title:"额外参数设置",onClick:()=>{g.xK.set_value_temp(Y.current),ce({model:"ace/mode/ini",open:!0,fileName:"",save:async e=>{Y.current=e,g.xK.set_value_temp(""),ye(Y.current)}})}}),(0,_.jsx)(i.rA,{icon:"add",title:e("添加"),onClick:()=>{X([...O,{note:"",auto_load:!1,dir:""}]),G.current=!0}}),(0,_.jsx)(i.rA,{icon:"save",title:e("保存"),onClick:()=>{ye()}})]}),children:(0,_.jsx)(d.X,{headers:N,rows:O.map((t,n)=>{const s=[(0,_.jsx)("div",{children:n}),(0,_.jsx)(p.Sm,{value:t.dir,handleInputChange:e=>{t.dir=e,G.current=!0},no_border:!0}),(0,_.jsx)(p.l6,{value:t.auto_load,onChange:e=>{t.auto_load=e,X([...O]),G.current=!0},options:ue,no_border:!0}),(0,_.jsx)(p.Sm,{value:t.note,handleInputChange:e=>{t.note=e},no_border:!0}),(0,_.jsxs)("div",{children:[(0,_.jsx)(i.rA,{icon:"delete",title:e("删除记录"),onClick:()=>(e=>{O.splice(e,1),X([...O]),G.current=!0})(n)}),(0,_.jsx)(i.rA,{icon:"restore",title:e("手动加载"),onClick:()=>{pe({sub_title:"手动加载",confirm_fun:()=>{m.jV.post("ai_load_one_file",{param_path:t.dir}),(0,j.SK)("ok")}})}}),(0,_.jsx)(i.rA,{icon:"delete_forever",title:e("从索引删除"),onClick:()=>{pe({sub_title:"从索引删除",confirm_fun:()=>{m.jV.post("ai_del",{param_path:t.dir}),(0,j.SK)("ok")}})}})]})];return s}),width:"10rem"})})}),H&&(0,_.jsx)(c.VP,{widthPer:50,children:(0,_.jsxs)(u.Zp,{title:e("知识库加载信息"),children:[(0,_.jsx)(c.Yh,{left:e("最近一次加载")+","+e("加载进度"),right:H?.progress}),(0,_.jsx)(c.Yh,{left:`${e("最近一次加载")},${e("总文件数量")}`,right:H?.num}),(0,_.jsx)(c.Yh,{left:`${e("最近一次加载")},${e("总文件字符数量")}`,right:H?.char_num}),(0,_.jsx)(c.Yh,{left:`${e("最近一次加载")},${e("总文件大小")}`,right:(0,k.v7)(H?.size)}),(0,_.jsx)(c.Yh,{left:`${e("最近一次加载")},${e("总耗时")}`,right:(0,k.a3)(H?.consume_time_ms_len)}),(0,_.jsx)(c.Yh,{left:`${e("总文件数量")}`,right:H?.total_num})]})})]})]})})})]})}},96494(e,t,n){n.d(t,{r:()=>o});var s=n(59270);function o(){const{t:e}=(0,s.Bd)();return[{value:"completions",label:e("文本对话")},{value:"images",label:e("图片生成")}]}},34299(e,t,n){n.r(t),n.d(t,{default:()=>m});n(96540);var s=n(69945),o=n(53995),i=n(18569),l=n(77979),a=n(8263),r=n(69428),c=n.n(r),d=(n(3775),n(21499)),p=n(99214),u=n(19878),h=(n(72411),n(74848));const _=new s.A({html:!0,highlight:function(e,t){if(t&&u.A.getLanguage(t))try{return`<pre class="hljs code-block-with-copy"><code class="hljs language-${t}">${u.A.highlight(e,{language:t}).value}</code></pre>`}catch(e){}try{return`<pre class="hljs code-block-with-copy"><code class="hljs">${u.A.highlightAuto(e).value}</code></pre>`}catch(e){}return`<pre class="hljs code-block-with-copy"><code>${_.utils.escapeHtml(e)}</code></pre>`}});function m(e){return(0,p.VD)(),(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:_.render(e.context)}})}_.use(o.A).use(i.A).use(l.A).use(a.A).use(c()).use(e=>{e.renderer.rules.fence;e.renderer.rules.fence=(t,n,s,o,i)=>{const l=t[n],a=l.content.trim(),r=l.info.trim();let c="";if(r&&u.A.getLanguage(r))try{c=u.A.highlight(a,{language:r}).value}catch(t){c=e.utils.escapeHtml(a)}else try{c=u.A.highlightAuto(a).value}catch(t){c=e.utils.escapeHtml(a)}return`\n <div class="code-block-with-copy">\n <div class="code-header">\n <span class="code-language">${r||"code"}</span>\n <button class="copy-btn" data-code="${e.utils.escapeHtml(a)}">复制</button>\n </div>\n <pre><code class="hljs ${r?`language-${r}`:""}">${c}</code></pre>\n </div>`}}).use(e=>{const t=e.renderer.rules.link_open||function(e,t,n,s,o){return o.renderToken(e,t,n)};e.renderer.rules.link_open=(e,n,s,o,i)=>{const l=e[n],a=l.attrIndex("href");if(a>=0){const e=l.attrs[a][1];l.attrs[a][1]=(0,d.bi)(window.location.href,e)}return t(e,n,s,o,i)}})},45907(e,t,n){n.d(t,{y:()=>i});var s=n(34843),o=n(26417);function i(){const[e,t]=(0,s.fp)(o.AG.confirm);return({sub_title:e,confirm_fun:n,title:s,context_div:o})=>{t({open:!0,sub_title:e,handle:()=>{n(),t({open:!1,handle:null})},title:s,context_div:o})}}},24659(e,t,n){n.d(t,{K:()=>o});var s=n(59270);const o=()=>{const{t:e}=(0,s.Bd)();return[{title:e("是"),value:!0,color:"#28a745"},{title:e("否"),value:!1,color:"#666666"}]}},60840(e){e.exports="data:image/svg+xml,<svg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 version=%271.1%27 aria-hidden=%27true%27><path fill-rule=%27evenodd%27 d=%27M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z%27></path></svg>"}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[8435],{78435(e,n,t){t.r(n),t.d(n,{default:()=>c});var a=t(96540),l=(t(26417),t(74848));const s=a.lazy(()=>Promise.all([t.e(8023),t.e(2674)]).then(t.bind(t,92674)));function c(){return(0,l.jsx)(a.Fragment,{children:(0,l.jsx)(s,{})})}}}]);
|