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 npm.react-router.6294ae9e93aa01cece06.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[3825],{52671(e,t,n){var r;n.d(t,{BV:()=>je,Kd:()=>vt,N_:()=>wt,Zp:()=>fe,k2:()=>bt,ok:()=>xt,qh:()=>Ae,zy:()=>de});var a=n(96540),o=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,i=/^[\\/]{2}/;function l(e,t){return t+e.replace(/\\/g,"/")}var s="popstate";function u(e){return"object"==typeof e&&null!=e&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function c(e={}){return g(function(e,t){let n=t.state?.masked,{pathname:r,search:a,hash:o}=n||e.location;return m("",{pathname:r,search:a,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default",n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)},function(e,t){return"string"==typeof t?t:f(t)},null,e)}function h(e,t){if(!1===e||null==e)throw new Error(t)}function d(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function p(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function m(e,t,n=null,r,a){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?y(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10),mask:a}}function f({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function y(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function g(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,l="POP",c=null,h=d();function d(){return(i.state||{idx:null}).idx}function f(){l="POP";let e=d(),t=null==e?null:e-h;h=e,c&&c({action:l,location:g.location,delta:t})}function y(e){return v(a,e)}null==h&&(h=0,i.replaceState({...i.state,idx:h},""));let g={get action(){return l},get location(){return e(a,i)},listen(e){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(s,f),c=e,()=>{a.removeEventListener(s,f),c=null}},createHref:e=>t(a,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l="PUSH";let r=u(e)?e:m(g.location,e,t);n&&n(r,e),h=d()+1;let s=p(r,h),f=g.createHref(r.mask||r);try{i.pushState(s,"",f)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;a.location.assign(f)}o&&c&&c({action:l,location:g.location,delta:1})},replace:function(e,t){l="REPLACE";let r=u(e)?e:m(g.location,e,t);n&&n(r,e),h=d();let a=p(r,h),s=g.createHref(r.mask||r);i.replaceState(a,"",s),o&&c&&c({action:l,location:g.location,delta:0})},go:e=>i.go(e)};return g}function v(e,t,n=!1){let r="http://localhost";e&&(r="null"!==e.location.origin?e.location.origin:e.location.href),h(r,"No window.location.(origin|href) available to create URL");let a="string"==typeof t?t:f(t);return a=a.replace(/ $/,"%20"),!n&&i.test(a)&&(a=r+a),new URL(a,r)}new WeakMap;function w(e,t,n="/"){return b(e,t,n,!1)}function b(e,t,n,r,a){let o=M(("string"==typeof t?y(t):t).pathname||"/",n);if(null==o)return null;let i=a??E(e),l=null,s=O(o);for(let e=0;null==l&&e<i.length;++e)l=k(i[e],s,r);return l}function E(e){let t=R(e);return function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(t),t}function R(e,t=[],n=[],r="",a=!1){let o=(e,o,i=a,l)=>{let s={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};if(s.relativePath.startsWith("/")){if(!s.relativePath.startsWith(r)&&i)return;h(s.relativePath.startsWith(r),`Absolute route path "${s.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(r.length)}let u=D([r,s.relativePath]),c=n.concat(s);e.children&&e.children.length>0&&(h(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),R(e.children,t,c,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:$(u,e.index),routesMeta:c.map((e,t)=>{let[n,r]=P(e.relativePath,e.caseSensitive,t===c.length-1);return{...e,matcher:n,compiledParams:r}})})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of S(e.path))o(e,t,!0,n);else o(e,t)}),t}function S(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return a?[o,""]:[o];let i=S(r.join("/")),l=[];return l.push(...i.map(e=>""===e?o:[o,e].join("/"))),a&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}var x=/^:[\w-]+$/,C=e=>"*"===e;function $(e,t){let n=e.split("/"),r=n.length;return n.some(C)&&(r+=-2),t&&(r+=2),n.filter(e=>!C(e)).reduce((e,t)=>e+(x.test(t)?3:""===t?1:10),r)}function k(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",i=[];for(let e=0;e<r.length;++e){let l=r[e],s=e===r.length-1,u="/"===o?t:t.slice(o.length)||"/",c={path:l.relativePath,caseSensitive:l.caseSensitive,end:s},h=l.matcher&&l.compiledParams?T(c,u,l.matcher,l.compiledParams):L(c,u),d=l.route;if(!h&&s&&n&&!r[r.length-1].route.index&&(h=L({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!h)return null;Object.assign(a,h.params),i.push({params:a,pathname:D([o,h.pathname]),pathnameBase:H(D([o,h.pathnameBase])),route:d}),"/"!==h.pathnameBase&&(o=D([o,h.pathnameBase]))}return i}function L(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=P(e.path,e.caseSensitive,e.end);return T(e,t,n,r)}function T(e,t,n,r){let a=t.match(n);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),l=a.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=l[r]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const a=l[r];return e[t]=n&&!a?void 0:(a||"").replace(/%2F/g,"/"),e},{}),pathname:o,pathnameBase:i,pattern:e}}function P(e,t=!1,n=!0){d("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n,a,o)=>{if(r.push({paramName:t,isOptional:null!=n}),n){let t=o.charAt(a+e.length);return t&&"/"!==t?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function O(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return d(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function M(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function N(e,t){let n=U(t).split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}function _(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function A(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function F(e){let t=A(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function j(e,t,n,r=!1){let a;"string"==typeof e?a=y(e):(a={...e},h(!a.pathname||!a.pathname.includes("?"),_("?","pathname","search",a)),h(!a.pathname||!a.pathname.includes("#"),_("#","pathname","hash",a)),h(!a.search||!a.search.includes("#"),_("#","search","hash",a)));let o,i=""===e||""===a.pathname,l=i?"/":a.pathname;if(null==l)o=n;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let s=function(e,t="/"){let n,{pathname:r,search:a="",hash:o=""}="string"==typeof e?y(e):e;return r?(r=W(r),n=r.startsWith("/")?N(r.substring(1),"/"):N(r,t)):n=t,{pathname:n,search:B(a),hash:I(o)}}(a,o),u=l&&"/"!==l&&l.endsWith("/"),c=(i||"."===l)&&n.endsWith("/");return s.pathname.endsWith("/")||!u&&!c||(s.pathname+="/"),s}var W=e=>e.replace(/[\\/]{2,}/g,"/"),D=e=>W(e.join("/")),U=e=>e.replace(/\/+$/,""),H=e=>U(e).replace(/^\/*/,"/"),B=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",I=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";var J=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function Y(e){let t=e.map(e=>e.route.path).filter(Boolean);return D(t)||"/"}var K="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function q(e,t){let n=e;if("string"!=typeof n||!o.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(K)try{let e=new URL(window.location.href),r=i.test(n)?new URL(l(n,e.protocol)):new URL(n),o=M(r.pathname,t);r.origin===e.origin&&null!=o?n=o+r.search+r.hash:a=!0}catch(e){d(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:a,to:n}}Symbol("Uninstrumented");Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var V=["POST","PUT","PATCH","DELETE"],X=(new Set(V),["GET",...V]);new Set(X),Symbol("ResetLoaderData");new WeakMap,new WeakMap,new WeakMap,new WeakMap;var G=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function Z(e){try{return G.includes(new URL(e).protocol)}catch{return!1}}var Q=a.createContext(null);Q.displayName="DataRouter";var ee=a.createContext(null);ee.displayName="DataRouterState";var te=a.createContext(!1);function ne(){return a.useContext(te)}var re=a.createContext({isTransitioning:!1});re.displayName="ViewTransition";var ae=a.createContext(new Map);ae.displayName="Fetchers";var oe=a.createContext(null);oe.displayName="Await";var ie=a.createContext(null);ie.displayName="Navigation";var le=a.createContext(null);le.displayName="Location";var se=a.createContext({outlet:null,matches:[],isDataRoute:!1});se.displayName="Route";var ue=a.createContext(null);ue.displayName="RouteError";var ce="REACT_ROUTER_ERROR";function he(){return null!=a.useContext(le)}function de(){return h(he(),"useLocation() may be used only in the context of a <Router> component."),a.useContext(le).location}var pe="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function me(e){a.useContext(ie).static||a.useLayoutEffect(e)}function fe(){let{isDataRoute:e}=a.useContext(se);return e?function(){let{router:e}=$e("useNavigate"),t=Le("useNavigate"),n=a.useRef(!1);return me(()=>{n.current=!0}),a.useCallback(async(r,a={})=>{d(n.current,pe),n.current&&("number"==typeof r?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...a}))},[e,t])}():function(){h(he(),"useNavigate() may be used only in the context of a <Router> component.");let e=a.useContext(Q),{basename:t,navigator:n}=a.useContext(ie),{matches:r}=a.useContext(se),{pathname:o}=de(),i=JSON.stringify(F(r)),l=a.useRef(!1);return me(()=>{l.current=!0}),a.useCallback((r,a={})=>{if(d(l.current,pe),!l.current)return;if("number"==typeof r)return void n.go(r);let s=j(r,JSON.parse(i),o,"path"===a.relative);null==e&&"/"!==t&&(s.pathname="/"===s.pathname?t:D([t,s.pathname])),(a.replace?n.replace:n.push)(s,a.state,a)},[t,n,i,o,e])}()}a.createContext(null);function ye(e,{relative:t}={}){let{matches:n}=a.useContext(se),{pathname:r}=de(),o=JSON.stringify(F(n));return a.useMemo(()=>j(e,JSON.parse(o),r,"path"===t),[e,o,r,t])}function ge(e,t,n){h(he(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=a.useContext(ie),{matches:o}=a.useContext(se),i=o[o.length-1],l=i?i.params:{},s=i?i.pathname:"/",u=i?i.pathnameBase:"/",c=i&&i.route;{let e=c&&c.path||"";Oe(s,!c||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let p,m=de();if(t){let e="string"==typeof t?y(t):t;h("/"===u||e.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${e.pathname}" was given in the \`location\` prop.`),p=e}else p=m;let f=p.pathname||"/",g=f;if("/"!==u){let e=u.replace(/^\//,"").split("/");g="/"+f.replace(/^\//,"").split("/").slice(e.length).join("/")}let v=n&&n.state.matches.length?n.state.matches.map(e=>Object.assign(e,{route:n.manifest[e.route.id]||e.route})):w(e,{pathname:g});d(c||null!=v,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),d(null==v||void 0!==v[v.length-1].route.element||void 0!==v[v.length-1].route.Component||void 0!==v[v.length-1].route.lazy,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=xe(v&&v.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:D([u,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:D([u,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),o,n);return t&&b?a.createElement(le.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...p},navigationType:"POP"}},b):b}function ve(){let e=Te(),t=z(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=a.createElement(a.Fragment,null,a.createElement("p",null,"💿 Hey developer 👋"),a.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",a.createElement("code",{style:i},"ErrorBoundary")," or"," ",a.createElement("code",{style:i},"errorElement")," prop on your route.")),a.createElement(a.Fragment,null,a.createElement("h2",null,"Unexpected Application Error!"),a.createElement("h3",{style:{fontStyle:"italic"}},t),n?a.createElement("pre",{style:o},n):null,l)}var we=a.createElement(ve,null),be=class extends a.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${ce}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new J(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?a.createElement(se.Provider,{value:this.props.routeContext},a.createElement(ue.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?a.createElement(Re,{error:e},t):t}};be.contextType=te;var Ee=new WeakMap;function Re({children:e,error:t}){let{basename:n}=a.useContext(ie);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${ce}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let r=Ee.get(t);if(r)throw r;let o=q(e.location,n),i=o.absoluteURL||o.to;if(Z(i))throw new Error("Invalid redirect location");if(K&&!Ee.get(t)){if(!o.isExternal&&!e.reloadDocument){const n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(o.to,{replace:e.replace}));throw Ee.set(t,n),n}window.location.href=i}return a.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i}`})}}return e}function Se({routeContext:e,match:t,children:n}){let r=a.useContext(Q);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),a.createElement(se.Provider,{value:e},n)}function xe(e,t=[],n){let r=n?.state;if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let o=e,i=r?.errors;if(null!=i){let e=o.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);h(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,e+1))}let l=!1,s=-1;if(n&&r){l=r.renderFallback;for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||void 0===a[t.route.id]);if(t.route.lazy||i){n.isStatic&&(l=!0),o=s>=0?o.slice(0,s+1):[o[0]];break}}}}let u=n?.onError,c=r&&u?(e,t)=>{u(e,{location:r.location,params:r.matches?.[0]?.params??{},pattern:Y(r.matches),errorInfo:t})}:void 0;return o.reduceRight((e,n,u)=>{let h,d=!1,p=null,m=null;r&&(h=i&&n.route.id?i[n.route.id]:void 0,p=n.route.errorElement||we,l&&(s<0&&0===u?(Oe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,m=null):s===u&&(d=!0,m=n.route.hydrateFallbackElement||null)));let f=t.concat(o.slice(0,u+1)),y=()=>{let t;return t=h?p:d?m:n.route.Component?a.createElement(n.route.Component,null):n.route.element?n.route.element:e,a.createElement(Se,{match:n,routeContext:{outlet:e,matches:f,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===u)?a.createElement(be,{location:r.location,revalidation:r.revalidation,component:p,error:h,children:y(),routeContext:{outlet:null,matches:f,isDataRoute:!0},onError:c}):y()},null)}function Ce(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function $e(e){let t=a.useContext(Q);return h(t,Ce(e)),t}function ke(e){let t=a.useContext(ee);return h(t,Ce(e)),t}function Le(e){let t=function(e){let t=a.useContext(se);return h(t,Ce(e)),t}(e),n=t.matches[t.matches.length-1];return h(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Te(){let e=a.useContext(ue),t=ke("useRouteError"),n=Le("useRouteError");return void 0!==e?e:t.errors?.[n]}var Pe={};function Oe(e,t,n){t||Pe[e]||(Pe[e]=!0,d(!1,n))}var Me={};function Ne(e,t){e||Me[t]||(Me[t]=!0,console.warn(t))}(r||(r=n.t(a,2))).useOptimistic;a.memo(_e);function _e({routes:e,manifest:t,future:n,state:r,isStatic:a,onError:o}){return ge(e,void 0,{manifest:t,state:r,isStatic:a,onError:o,future:n})}function Ae(e){h(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Fe({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,useTransitions:l}){h(!he(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=a.useMemo(()=>({basename:s,navigator:o,static:i,useTransitions:l,future:{}}),[s,o,i,l]);"string"==typeof n&&(n=y(n));let{pathname:c="/",search:p="",hash:m="",state:f=null,key:g="default",mask:v}=n,w=a.useMemo(()=>{let e=M(c,s);return null==e?null:{location:{pathname:e,search:p,hash:m,state:f,key:g,mask:v},navigationType:r}},[s,c,p,m,f,g,r,v]);return d(null!=w,`<Router basename="${s}"> is not able to match the URL "${c}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),null==w?null:a.createElement(ie.Provider,{value:u},a.createElement(le.Provider,{children:t,value:w}))}function je({children:e,location:t}){return ge(We(e),t)}a.Component;function We(e,t=[]){let n=[];return a.Children.forEach(e,(e,r)=>{if(!a.isValidElement(e))return;let o=[...t,r];if(e.type===a.Fragment)return void n.push.apply(n,We(e.props.children,o));h(e.type===Ae,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),h(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=We(e.props.children,o)),n.push(i)}),n}var De="get",Ue="application/x-www-form-urlencoded";function He(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}function Be(e=""){return new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}var Ie=null;var Je=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ze(e){return null==e||Je.has(e)?e:(d(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ue}"`),null)}function Ye(e,t){let n,r,a,o,i;if(He(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?M(i,t):null,n=e.getAttribute("method")||De,a=ze(e.getAttribute("enctype"))||Ue,o=new FormData(e)}else if(function(e){return He(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return He(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||i.getAttribute("action");if(r=l?M(l,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||De,a=ze(e.getAttribute("formenctype"))||ze(i.getAttribute("enctype"))||Ue,o=new FormData(i,e),!function(){if(null===Ie)try{new FormData(document.createElement("form"),0),Ie=!1}catch(e){Ie=!0}return Ie}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";o.append(`${e}x`,"0"),o.append(`${e}y`,"0")}else t&&o.append(t,r)}}else{if(He(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=De,r=null,a=Ue,i=e}var l;return o&&"text/plain"===a&&(i=o,o=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:o,body:i}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ke(e,t){if(!1===e||null==e)throw new Error(t)}Symbol("SingleFetchRedirect");function qe(e,t,n,r){let a="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${r}`:a.pathname=`${a.pathname}.${r}`:"/"===a.pathname?a.pathname=`_root.${r}`:t&&"/"===M(a.pathname,t)?a.pathname=`${U(t)}/_root.${r}`:a.pathname=`${U(a.pathname)}.${r}`,a}async function Ve(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Xe(e){return null!=e&&"string"==typeof e.page}function Ge(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Ze(e,t,n,r,a,o){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,l=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===o?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===o?t.filter((t,o)=>{let s=r.routes[t.route.id];if(!s||!s.hasLoader)return!1;if(i(t,o)||l(t,o))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function Qe(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let a=[r.module];return r.clientActionModule&&(a=a.concat(r.clientActionModule)),r.clientLoaderModule&&(a=a.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(a=a.concat(r.hydrateFallbackModule)),r.imports&&(a=a.concat(r.imports)),a}).flat(1),[...new Set(r)];var r}function et(e,t){let n=new Set,r=new Set(t);return e.reduce((e,a)=>{if(t&&!Xe(a)&&"script"===a.as&&a.href&&r.has(a.href))return e;let o=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(a));return n.has(o)||(n.add(o),e.push({key:o,link:a})),e},[])}function tt(e,t){return"lazy"===e.mode&&!0===t}function nt(){let e=a.useContext(Q);return Ke(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function rt(){let e=a.useContext(ee);return Ke(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var at=a.createContext(void 0);function ot(){let e=a.useContext(at);return Ke(e,"You must render this element inside a <HydratedRouter> element"),e}function it(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function lt(e,t,n){if(n&&!dt)return[e[0]];if(t){let n=e.findIndex(e=>void 0!==t[e.route.id]);return e.slice(0,n+1)}return e}at.displayName="FrameworkContext";function st({page:e,...t}){let n=ne(),{nonce:r}=ot(),{router:o}=nt(),i=a.useMemo(()=>w(o.routes,e,o.basename),[o.routes,e,o.basename]);return i?(null==t.nonce&&r&&(t={...t,nonce:r}),n?a.createElement(ct,{page:e,matches:i,...t}):a.createElement(ht,{page:e,matches:i,...t})):null}function ut(e){let{manifest:t,routeModules:n}=ot(),[r,o]=a.useState([]);return a.useEffect(()=>{let r=!1;return async function(e,t,n){return et((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Ve(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Ge).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,n).then(e=>{r||o(e)}),()=>{r=!0}},[e,t,n]),r}function ct({page:e,matches:t,...n}){let r=de(),{future:o}=ot(),{basename:i}=nt(),l=a.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=qe(e,i,o.v8_trailingSlashAwareDataRequests,"rsc"),a=!1,l=[];for(let e of t)"function"==typeof e.route.shouldRevalidate?a=!0:l.push(e.route.id);return a&&l.length>0&&n.searchParams.set("_routes",l.join(",")),[n.pathname+n.search]},[i,o.v8_trailingSlashAwareDataRequests,e,r,t]);return a.createElement(a.Fragment,null,l.map(e=>a.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})))}function ht({page:e,matches:t,...n}){let r=de(),{future:o,manifest:i,routeModules:l}=ot(),{basename:s}=nt(),{loaderData:u,matches:c}=rt(),h=a.useMemo(()=>Ze(e,t,c,i,r,"data"),[e,t,c,i,r]),d=a.useMemo(()=>Ze(e,t,c,i,r,"assets"),[e,t,c,i,r]),p=a.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,a=!1;if(t.forEach(e=>{let t=i.routes[e.route.id];t&&t.hasLoader&&(!h.some(t=>t.route.id===e.route.id)&&e.route.id in u&&l[e.route.id]?.shouldRevalidate||t.hasClientLoader?a=!0:n.add(e.route.id))}),0===n.size)return[];let c=qe(e,s,o.v8_trailingSlashAwareDataRequests,"data");return a&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[s,o.v8_trailingSlashAwareDataRequests,u,r,i,h,t,e,l]),m=a.useMemo(()=>Qe(d,i),[d,i]),f=ut(d);return a.createElement(a.Fragment,null,p.map(e=>a.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),m.map(e=>a.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),f.map(({key:e,link:t})=>a.createElement("link",{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}var dt=!1;function pt(e){let{manifest:t,serverHandoffString:n,isSpaMode:r,renderMeta:o,routeDiscovery:i,ssr:l,nonce:s}=ot(),{router:u,static:c,staticContext:h}=nt(),{matches:d}=rt(),p=ne(),m=tt(i,l);null==e.nonce&&s&&(e={...e,nonce:s}),o&&(o.didRenderScripts=!0);let f=lt(d,null,r);a.useEffect(()=>{dt=!0},[]);let y=a.useMemo(()=>{if(p)return null;let r=h?`window.__reactRouterContext = ${n};window.__reactRouterContext.stream = new ReadableStream({start(controller){window.__reactRouterContext.streamController = controller;}}).pipeThrough(new TextEncoderStream());`:" ",o=c?`${t.hmr?.runtime?`import ${JSON.stringify(t.hmr.runtime)};`:""}${m?"":`import ${JSON.stringify(t.url)}`};\n${f.map((e,n)=>{let r=`route${n}`,a=t.routes[e.route.id];Ke(a,`Route ${e.route.id} not found in manifest`);let{clientActionModule:o,clientLoaderModule:i,clientMiddlewareModule:l,hydrateFallbackModule:s,module:u}=a,c=[...o?[{module:o,varName:`${r}_clientAction`}]:[],...i?[{module:i,varName:`${r}_clientLoader`}]:[],...l?[{module:l,varName:`${r}_clientMiddleware`}]:[],...s?[{module:s,varName:`${r}_HydrateFallback`}]:[],{module:u,varName:`${r}_main`}];return 1===c.length?`import * as ${r} from ${JSON.stringify(u)};`:[c.map(e=>`import * as ${e.varName} from "${e.module}";`).join("\n"),`const ${r} = {${c.map(e=>`...${e.varName}`).join(",")}};`].join("\n")}).join("\n")}\n ${m?`window.__reactRouterManifest = ${JSON.stringify(function({sri:e,...t},n){let r=new Set(n.state.matches.map(e=>e.route.id)),a=n.state.location.pathname.split("/").filter(Boolean),o=["/"];for(a.pop();a.length>0;)o.push(`/${a.join("/")}`),a.pop();o.forEach(e=>{let t=b(n.routes,e,n.basename||"/",!1,n.branches);t&&t.forEach(e=>r.add(e.route.id))});let i=[...r].reduce((e,n)=>Object.assign(e,{[n]:t.routes[n]}),{});return{...t,routes:i,sri:!!e||void 0}}(t,u),null,2)};`:""}\n window.__reactRouterRouteModules = {${f.map((e,t)=>`${JSON.stringify(e.route.id)}:route${t}`).join(",")}};\n\nimport(${JSON.stringify(t.entry.module)});`:" ";return a.createElement(a.Fragment,null,a.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:r},type:void 0}),a.createElement("script",{...e,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:o},type:"module",async:!0}))},[]),g=dt||p?[]:[...new Set(t.entry.imports.concat(Qe(f,t,{includeHydrateFallback:!0})))],v="object"==typeof t.sri?t.sri:{};return Ne(!p,"The <Scripts /> element is a no-op when using RSC and can be safely removed."),dt||p?null:a.createElement(a.Fragment,null,"object"==typeof t.sri?a.createElement("script",{...e,"rr-importmap":"",type:"importmap",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:JSON.stringify({integrity:v})}}):null,m?null:a.createElement("link",{rel:"modulepreload",href:t.url,crossOrigin:e.crossOrigin,integrity:v[t.url],nonce:e.nonce,suppressHydrationWarning:!0}),a.createElement("link",{rel:"modulepreload",href:t.entry.module,crossOrigin:e.crossOrigin,integrity:v[t.entry.module],nonce:e.nonce,suppressHydrationWarning:!0}),g.map(t=>a.createElement("link",{key:t,rel:"modulepreload",href:t,crossOrigin:e.crossOrigin,integrity:v[t],nonce:e.nonce,suppressHydrationWarning:!0})),y)}function mt(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}a.Component;function ft({error:e,isOutsideRemixApp:t}){let{nonce:n}=ot();console.error(e);let r,o=a.createElement("script",{nonce:n,dangerouslySetInnerHTML:{__html:'\n console.log(\n "💿 Hey developer 👋. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information."\n );\n '}});if(z(e))return a.createElement(yt,{title:"Unhandled Thrown Response!"},a.createElement("h1",{style:{fontSize:"24px"}},e.status," ",e.statusText),o);if(e instanceof Error)r=e;else{let t=null==e?"Unknown Error":"object"==typeof e&&"toString"in e?e.toString():JSON.stringify(e);r=new Error(t)}return a.createElement(yt,{title:"Application Error!",isOutsideRemixApp:t},a.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),a.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},r.stack),o)}function yt({title:e,renderScripts:t,isOutsideRemixApp:n,children:r}){let{routeModules:o}=ot();return o.root?.Layout&&!n?r:a.createElement("html",{lang:"en"},a.createElement("head",null,a.createElement("meta",{charSet:"utf-8"}),a.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),a.createElement("title",null,e)),a.createElement("body",null,a.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},r,t?a.createElement(pt,null):null)))}var gt="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{gt&&(window.__reactRouterVersion="7.18.0")}catch(e){}function vt({basename:e,children:t,useTransitions:n,window:r}){let o=a.useRef();null==o.current&&(o.current=c({window:r,v5Compat:!0}));let i=o.current,[l,s]=a.useState({action:i.action,location:i.location}),u=a.useCallback(e=>{!1===n?s(e):a.startTransition(()=>s(e))},[n]);return a.useLayoutEffect(()=>i.listen(u),[i,u]),a.createElement(Fe,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:i,useTransitions:n})}var wt=a.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:i,replace:l,mask:s,state:u,target:c,to:d,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:y,...g},v){let{basename:w,navigator:b,useTransitions:E}=a.useContext(ie),R="string"==typeof d&&o.test(d),S=q(d,w),x=function(e,{relative:t}={}){h(he(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=a.useContext(ie),{hash:o,pathname:i,search:l}=ye(e,{relative:t}),s=i;return"/"!==n&&(s="/"===i?n:D([n,i])),r.createHref({pathname:s,search:l,hash:o})}(d=S.to,{relative:r}),C=de(),$=null;if(s){let e=j(s,[],C.mask?C.mask.pathname:"/",!0);"/"!==w&&(e.pathname="/"===e.pathname?w:D([w,e.pathname])),$=b.createHref(e)}let[k,L,T]=function(e,t){let n=a.useContext(at),[r,o]=a.useState(!1),[i,l]=a.useState(!1),{onFocus:s,onBlur:u,onMouseEnter:c,onMouseLeave:h,onTouchStart:d}=t,p=a.useRef(null);a.useEffect(()=>{if("render"===e&&l(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{l(e.isIntersecting)})},{threshold:.5});return p.current&&e.observe(p.current),()=>{e.disconnect()}}},[e]),a.useEffect(()=>{if(r){let e=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(e)}}},[r]);let m=()=>{o(!0)},f=()=>{o(!1),l(!1)};return n?"intent"!==e?[i,p,{}]:[i,p,{onFocus:it(s,m),onBlur:it(u,f),onMouseEnter:it(c,m),onMouseLeave:it(h,f),onTouchStart:it(d,m)}]:[!1,p,{}]}(n,g),P=function(e,{target:t,replace:n,mask:r,state:o,preventScrollReset:i,relative:l,viewTransition:s,defaultShouldRevalidate:u,useTransitions:c}={}){let h=fe(),d=de(),p=ye(e,{relative:l});return a.useCallback(m=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(m,t)){m.preventDefault();let t=void 0!==n?n:f(d)===f(p),y=()=>h(e,{replace:t,mask:r,state:o,preventScrollReset:i,relative:l,viewTransition:s,defaultShouldRevalidate:u});c?a.startTransition(()=>y()):y()}},[d,h,p,n,r,o,t,e,i,l,s,u,c])}(d,{replace:l,mask:s,state:u,target:c,preventScrollReset:p,relative:r,viewTransition:m,defaultShouldRevalidate:y,useTransitions:E});let O=!(S.isExternal||i),M=a.createElement("a",{...g,...T,href:(O?$:void 0)||S.absoluteURL||x,onClick:O?function(t){e&&e(t),t.defaultPrevented||P(t)}:e,ref:mt(v,L),target:c,"data-discover":R||"render"!==t?void 0:"true"});return k&&!R?a.createElement(a.Fragment,null,M,a.createElement(st,{page:x})):M});wt.displayName="Link";var bt=a.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:o,to:i,viewTransition:l,children:s,...u},c){let d=ye(i,{relative:u.relative}),p=de(),m=a.useContext(ee),{navigator:f,basename:y}=a.useContext(ie),g=null!=m&&function(e,{relative:t}={}){let n=a.useContext(re);h(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=St("useViewTransitionState"),o=ye(e,{relative:t});if(!n.isTransitioning)return!1;let i=M(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=M(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=L(o.pathname,l)||null!=L(o.pathname,i)}(d)&&!0===l,v=f.encodeLocation?f.encodeLocation(d).pathname:d.pathname,w=p.pathname,b=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;t||(w=w.toLowerCase(),b=b?b.toLowerCase():null,v=v.toLowerCase()),b&&y&&(b=M(b,y)||b);const E="/"!==v&&v.endsWith("/")?v.length-1:v.length;let R,S=w===v||!r&&w.startsWith(v)&&"/"===w.charAt(E),x=null!=b&&(b===v||!r&&b.startsWith(v)&&"/"===b.charAt(v.length)),C={isActive:S,isPending:x,isTransitioning:g},$=S?e:void 0;R="function"==typeof n?n(C):[n,S?"active":null,x?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let k="function"==typeof o?o(C):o;return a.createElement(wt,{...u,"aria-current":$,className:R,ref:c,style:k,to:i,viewTransition:l},"function"==typeof s?s(C):s)});bt.displayName="NavLink";var Et=a.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:l,method:s=De,action:u,onSubmit:c,relative:d,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:y,...g},v)=>{let{useTransitions:w}=a.useContext(ie),b=$t(),E=function(e,{relative:t}={}){let{basename:n}=a.useContext(ie),r=a.useContext(se);h(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...ye(e||".",{relative:t})},l=de();if(null==e){i.search=l.search;let e=new URLSearchParams(i.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();i.search=n?`?${n}`:""}}e&&"."!==e||!o.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index");"/"!==n&&(i.pathname="/"===i.pathname?n:D([n,i.pathname]));return f(i)}(u,{relative:d}),R="get"===s.toLowerCase()?"get":"post",S="string"==typeof u&&o.test(u);return a.createElement("form",{ref:v,method:R,action:E,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,o=r?.getAttribute("formmethod")||s,u=()=>b(r||e.currentTarget,{fetcherKey:t,method:o,navigate:n,replace:i,state:l,relative:d,preventScrollReset:p,viewTransition:m,defaultShouldRevalidate:y});w&&!1!==n?a.startTransition(()=>u()):u()},...g,"data-discover":S||"render"!==e?void 0:"true"})});function Rt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function St(e){let t=a.useContext(Q);return h(t,Rt(e)),t}function xt(e){d("undefined"!=typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=a.useRef(Be(e)),n=a.useRef(!1),r=de(),o=a.useMemo(()=>function(e,t){let n=Be(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),i=fe(),l=a.useCallback((e,t)=>{const r=Be("function"==typeof e?e(new URLSearchParams(o)):e);n.current=!0,i("?"+r,t)},[i,o]);return[o,l]}Et.displayName="Form";var Ct=0;function $t(){let{router:e}=St("useSubmit"),{basename:t}=a.useContext(ie),n=Le("useRouteId"),r=e.fetch,o=e.navigate;return a.useCallback(async(e,a={})=>{let{action:i,method:l,encType:s,formData:u,body:c}=Ye(e,t);if(!1===a.navigate){let e=a.fetcherKey||`__${String(++Ct)}__`;await r(e,n,a.action||i,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:u,body:c,formMethod:a.method||l,formEncType:a.encType||s,flushSync:a.flushSync})}else await o(a.action||i,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:u,body:c,formMethod:a.method||l,formEncType:a.encType||s,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,o,t,n])}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[4826],{7729(t,e,s){s.d(e,{f:()=>B});var n=s(93920);function o(t,e){var s;const o=e.hachureAngle+90;let r=e.hachureGap;r<0&&(r=4*e.strokeWidth),r=Math.max(r,.1);let i=1;return e.roughness>=1&&((null===(s=e.randomizer)||void 0===s?void 0:s.next())||Math.random())>.7&&(i=r),(0,n.M)(t,r,o,i||1)}class r{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){const s=o(t,e);return{type:"fillSketch",ops:this.renderLines(s,e)}}renderLines(t,e){const s=[];for(const n of t)s.push(...this.helper.doubleLineOps(n[0][0],n[0][1],n[1][0],n[1][1],e));return s}}function i(t){const e=t[0],s=t[1];return Math.sqrt(Math.pow(e[0]-s[0],2)+Math.pow(e[1]-s[1],2))}class h extends r{fillPolygons(t,e){let s=e.hachureGap;s<0&&(s=4*e.strokeWidth),s=Math.max(s,.1);const n=o(t,Object.assign({},e,{hachureGap:s})),r=Math.PI/180*e.hachureAngle,h=[],a=.5*s*Math.cos(r),l=.5*s*Math.sin(r);for(const[t,e]of n)i([t,e])&&h.push([[t[0]-a,t[1]+l],[...e]],[[t[0]+a,t[1]-l],[...e]]);return{type:"fillSketch",ops:this.renderLines(h,e)}}}class a extends r{fillPolygons(t,e){const s=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),o=this._fillPolygons(t,n);return s.ops=s.ops.concat(o.ops),s}}class l{constructor(t){this.helper=t}fillPolygons(t,e){const s=o(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(s,e)}dotsOnLines(t,e){const s=[];let n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.max(n,.1);let o=e.fillWeight;o<0&&(o=e.strokeWidth/2);const r=n/4;for(const h of t){const t=i(h),a=t/n,l=Math.ceil(a)-1,c=t-l*n,u=(h[0][0]+h[1][0])/2-n/4,p=Math.min(h[0][1],h[1][1]);for(let t=0;t<l;t++){const i=p+c+t*n,h=u-r+2*Math.random()*r,a=i-r+2*Math.random()*r,l=this.helper.ellipse(h,a,o,o,e);s.push(...l.ops)}}return{type:"fillSketch",ops:s}}}class c{constructor(t){this.helper=t}fillPolygons(t,e){const s=o(t,e);return{type:"fillSketch",ops:this.dashedLine(s,e)}}dashedLine(t,e){const s=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,n=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,o=[];return t.forEach(t=>{const r=i(t),h=Math.floor(r/(s+n)),a=(r+n-h*(s+n))/2;let l=t[0],c=t[1];l[0]>c[0]&&(l=t[1],c=t[0]);const u=Math.atan((c[1]-l[1])/(c[0]-l[0]));for(let t=0;t<h;t++){const r=t*(s+n),i=r+s,h=[l[0]+r*Math.cos(u)+a*Math.cos(u),l[1]+r*Math.sin(u)+a*Math.sin(u)],c=[l[0]+i*Math.cos(u)+a*Math.cos(u),l[1]+i*Math.sin(u)+a*Math.sin(u)];o.push(...this.helper.doubleLineOps(h[0],h[1],c[0],c[1],e))}}),o}}class u{constructor(t){this.helper=t}fillPolygons(t,e){const s=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,n=e.zigzagOffset<0?s:e.zigzagOffset,r=o(t,e=Object.assign({},e,{hachureGap:s+n}));return{type:"fillSketch",ops:this.zigzagLines(r,n,e)}}zigzagLines(t,e,s){const n=[];return t.forEach(t=>{const o=i(t),r=Math.round(o/(2*e));let h=t[0],a=t[1];h[0]>a[0]&&(h=t[1],a=t[0]);const l=Math.atan((a[1]-h[1])/(a[0]-h[0]));for(let t=0;t<r;t++){const o=2*t*e,r=2*(t+1)*e,i=Math.sqrt(2*Math.pow(e,2)),a=[h[0]+o*Math.cos(l),h[1]+o*Math.sin(l)],c=[h[0]+r*Math.cos(l),h[1]+r*Math.sin(l)],u=[a[0]+i*Math.cos(l+Math.PI/4),a[1]+i*Math.sin(l+Math.PI/4)];n.push(...this.helper.doubleLineOps(a[0],a[1],u[0],u[1],s),...this.helper.doubleLineOps(u[0],u[1],c[0],c[1],s))}}),n}}const p={};var f=s(8685),d=s(2852),g=s(25447),M=s(83512);const k={randOffset:function(t,e){return _(t,e)},randOffsetWithRange:function(t,e,s){return T(t,e,s)},ellipse:function(t,e,s,n,o){const r=P(s,n,o);return y(t,e,o,r).opset},doubleLineOps:function(t,e,s,n,o){return A(t,e,s,n,o,!0)}};function b(t,e,s,n,o){return{type:"path",ops:A(t,e,s,n,o)}}function m(t,e,s){const n=(t||[]).length;if(n>2){const o=[];for(let e=0;e<n-1;e++)o.push(...A(t[e][0],t[e][1],t[e+1][0],t[e+1][1],s));return e&&o.push(...A(t[n-1][0],t[n-1][1],t[0][0],t[0][1],s)),{type:"path",ops:o}}return 2===n?b(t[0][0],t[0][1],t[1][0],t[1][1],s):{type:"path",ops:[]}}function w(t,e,s,n,o){return function(t,e){return m(t,!0,e)}([[t,e],[t+s,e],[t+s,e+n],[t,e+n]],o)}function v(t,e){let s=z(t,1*(1+.2*e.roughness),e);if(!e.disableMultiStroke){const n=z(t,1.5*(1+.22*e.roughness),function(t){const e=Object.assign({},t);e.randomizer=void 0,t.seed&&(e.seed=t.seed+1);return e}(e));s=s.concat(n)}return{type:"path",ops:s}}function P(t,e,s){const n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),o=Math.ceil(Math.max(s.curveStepCount,s.curveStepCount/Math.sqrt(200)*n)),r=2*Math.PI/o;let i=Math.abs(t/2),h=Math.abs(e/2);const a=1-s.curveFitting;return i+=_(i*a,s),h+=_(h*a,s),{increment:r,rx:i,ry:h}}function y(t,e,s,n){const[o,r]=G(n.increment,t,e,n.rx,n.ry,1,n.increment*T(.1,T(.4,1,s),s),s);let i=I(o,null,s);if(!s.disableMultiStroke&&0!==s.roughness){const[o]=G(n.increment,t,e,n.rx,n.ry,1.5,0,s),r=I(o,null,s);i=i.concat(r)}return{estimatedPoints:r,opset:{type:"path",ops:i}}}function O(t,e,s,n,o,r,i,h,a){const l=t,c=e;let u=Math.abs(s/2),p=Math.abs(n/2);u+=_(.01*u,a),p+=_(.01*p,a);let f=o,d=r;for(;f<0;)f+=2*Math.PI,d+=2*Math.PI;d-f>2*Math.PI&&(f=0,d=2*Math.PI);const g=2*Math.PI/a.curveStepCount,M=Math.min(g/2,(d-f)/2),k=C(M,l,c,u,p,f,d,1,a);if(!a.disableMultiStroke){const t=C(M,l,c,u,p,f,d,1.5,a);k.push(...t)}return i&&(h?k.push(...A(l,c,l+u*Math.cos(f),c+p*Math.sin(f),a),...A(l,c,l+u*Math.cos(d),c+p*Math.sin(d),a)):k.push({op:"lineTo",data:[l,c]},{op:"lineTo",data:[l+u*Math.cos(f),c+p*Math.sin(f)]})),{type:"path",ops:k}}function S(t,e){const s=(0,d.S)((0,g.p)((0,M.R)(t))),n=[];let o=[0,0],r=[0,0];for(const{key:t,data:i}of s)switch(t){case"M":r=[i[0],i[1]],o=[i[0],i[1]];break;case"L":n.push(...A(r[0],r[1],i[0],i[1],e)),r=[i[0],i[1]];break;case"C":{const[t,s,o,h,a,l]=i;n.push(...j(t,s,o,h,a,l,r,e)),r=[a,l];break}case"Z":n.push(...A(r[0],r[1],o[0],o[1],e)),r=[o[0],o[1]]}return{type:"path",ops:n}}function x(t,e){const s=[];for(const n of t)if(n.length){const t=e.maxRandomnessOffset||0,o=n.length;if(o>2){s.push({op:"move",data:[n[0][0]+_(t,e),n[0][1]+_(t,e)]});for(let r=1;r<o;r++)s.push({op:"lineTo",data:[n[r][0]+_(t,e),n[r][1]+_(t,e)]})}}return{type:"fillPath",ops:s}}function L(t,e){return function(t,e){let s=t.fillStyle||"hachure";if(!p[s])switch(s){case"zigzag":p[s]||(p[s]=new h(e));break;case"cross-hatch":p[s]||(p[s]=new a(e));break;case"dots":p[s]||(p[s]=new l(e));break;case"dashed":p[s]||(p[s]=new c(e));break;case"zigzag-line":p[s]||(p[s]=new u(e));break;default:s="hachure",p[s]||(p[s]=new r(e))}return p[s]}(e,k).fillPolygons(t,e)}function D(t){return t.randomizer||(t.randomizer=new f.o(t.seed||0)),t.randomizer.next()}function T(t,e,s,n=1){return s.roughness*n*(D(s)*(e-t)+t)}function _(t,e,s=1){return T(-t,t,e,s)}function A(t,e,s,n,o,r=!1){const i=r?o.disableMultiStrokeFill:o.disableMultiStroke,h=W(t,e,s,n,o,!0,!1);if(i)return h;const a=W(t,e,s,n,o,!0,!0);return h.concat(a)}function W(t,e,s,n,o,r,i){const h=Math.pow(t-s,2)+Math.pow(e-n,2),a=Math.sqrt(h);let l=1;l=a<200?1:a>500?.4:-.0016668*a+1.233334;let c=o.maxRandomnessOffset||0;c*c*100>h&&(c=a/10);const u=c/2,p=.2+.2*D(o);let f=o.bowing*o.maxRandomnessOffset*(n-e)/200,d=o.bowing*o.maxRandomnessOffset*(t-s)/200;f=_(f,o,l),d=_(d,o,l);const g=[],M=()=>_(u,o,l),k=()=>_(c,o,l),b=o.preserveVertices;return r&&(i?g.push({op:"move",data:[t+(b?0:M()),e+(b?0:M())]}):g.push({op:"move",data:[t+(b?0:_(c,o,l)),e+(b?0:_(c,o,l))]})),i?g.push({op:"bcurveTo",data:[f+t+(s-t)*p+M(),d+e+(n-e)*p+M(),f+t+2*(s-t)*p+M(),d+e+2*(n-e)*p+M(),s+(b?0:M()),n+(b?0:M())]}):g.push({op:"bcurveTo",data:[f+t+(s-t)*p+k(),d+e+(n-e)*p+k(),f+t+2*(s-t)*p+k(),d+e+2*(n-e)*p+k(),s+(b?0:k()),n+(b?0:k())]}),g}function z(t,e,s){const n=[];n.push([t[0][0]+_(e,s),t[0][1]+_(e,s)]),n.push([t[0][0]+_(e,s),t[0][1]+_(e,s)]);for(let o=1;o<t.length;o++)n.push([t[o][0]+_(e,s),t[o][1]+_(e,s)]),o===t.length-1&&n.push([t[o][0]+_(e,s),t[o][1]+_(e,s)]);return I(n,null,s)}function I(t,e,s){const n=t.length,o=[];if(n>3){const r=[],i=1-s.curveTightness;o.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<n;e++){const s=t[e];r[0]=[s[0],s[1]],r[1]=[s[0]+(i*t[e+1][0]-i*t[e-1][0])/6,s[1]+(i*t[e+1][1]-i*t[e-1][1])/6],r[2]=[t[e+1][0]+(i*t[e][0]-i*t[e+2][0])/6,t[e+1][1]+(i*t[e][1]-i*t[e+2][1])/6],r[3]=[t[e+1][0],t[e+1][1]],o.push({op:"bcurveTo",data:[r[1][0],r[1][1],r[2][0],r[2][1],r[3][0],r[3][1]]})}if(e&&2===e.length){const t=s.maxRandomnessOffset;o.push({op:"lineTo",data:[e[0]+_(t,s),e[1]+_(t,s)]})}}else 3===n?(o.push({op:"move",data:[t[1][0],t[1][1]]}),o.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===n&&o.push(...A(t[0][0],t[0][1],t[1][0],t[1][1],s));return o}function G(t,e,s,n,o,r,i,h){const a=[],l=[];if(0===h.roughness){t/=4,l.push([e+n*Math.cos(-t),s+o*Math.sin(-t)]);for(let r=0;r<=2*Math.PI;r+=t){const t=[e+n*Math.cos(r),s+o*Math.sin(r)];a.push(t),l.push(t)}l.push([e+n*Math.cos(0),s+o*Math.sin(0)]),l.push([e+n*Math.cos(t),s+o*Math.sin(t)])}else{const c=_(.5,h)-Math.PI/2;l.push([_(r,h)+e+.9*n*Math.cos(c-t),_(r,h)+s+.9*o*Math.sin(c-t)]);const u=2*Math.PI+c-.01;for(let i=c;i<u;i+=t){const t=[_(r,h)+e+n*Math.cos(i),_(r,h)+s+o*Math.sin(i)];a.push(t),l.push(t)}l.push([_(r,h)+e+n*Math.cos(c+2*Math.PI+.5*i),_(r,h)+s+o*Math.sin(c+2*Math.PI+.5*i)]),l.push([_(r,h)+e+.98*n*Math.cos(c+i),_(r,h)+s+.98*o*Math.sin(c+i)]),l.push([_(r,h)+e+.9*n*Math.cos(c+.5*i),_(r,h)+s+.9*o*Math.sin(c+.5*i)])}return[l,a]}function C(t,e,s,n,o,r,i,h,a){const l=r+_(.1,a),c=[];c.push([_(h,a)+e+.9*n*Math.cos(l-t),_(h,a)+s+.9*o*Math.sin(l-t)]);for(let r=l;r<=i;r+=t)c.push([_(h,a)+e+n*Math.cos(r),_(h,a)+s+o*Math.sin(r)]);return c.push([e+n*Math.cos(i),s+o*Math.sin(i)]),c.push([e+n*Math.cos(i),s+o*Math.sin(i)]),I(c,null,a)}function j(t,e,s,n,o,r,i,h){const a=[],l=[h.maxRandomnessOffset||1,(h.maxRandomnessOffset||1)+.3];let c=[0,0];const u=h.disableMultiStroke?1:2,p=h.preserveVertices;for(let f=0;f<u;f++)0===f?a.push({op:"move",data:[i[0],i[1]]}):a.push({op:"move",data:[i[0]+(p?0:_(l[0],h)),i[1]+(p?0:_(l[0],h))]}),c=p?[o,r]:[o+_(l[f],h),r+_(l[f],h)],a.push({op:"bcurveTo",data:[t+_(l[f],h),e+_(l[f],h),s+_(l[f],h),n+_(l[f],h),c[0],c[1]]});return a}function R(t){return[...t]}function $(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function q(t,e,s){const n=$(e,s);if(0===n)return $(t,e);let o=((t[0]-e[0])*(s[0]-e[0])+(t[1]-e[1])*(s[1]-e[1]))/n;return o=Math.max(0,Math.min(1,o)),$(t,E(e,s,o))}function E(t,e,s){return[t[0]+(e[0]-t[0])*s,t[1]+(e[1]-t[1])*s]}function F(t,e,s,n){const o=n||[];if(function(t,e){const s=t[e+0],n=t[e+1],o=t[e+2],r=t[e+3];let i=3*n[0]-2*s[0]-r[0];i*=i;let h=3*n[1]-2*s[1]-r[1];h*=h;let a=3*o[0]-2*r[0]-s[0];a*=a;let l=3*o[1]-2*r[1]-s[1];return l*=l,i<a&&(i=a),h<l&&(h=l),i+h}(t,e)<s){const s=t[e+0];if(o.length){(r=o[o.length-1],i=s,Math.sqrt($(r,i)))>1&&o.push(s)}else o.push(s);o.push(t[e+3])}else{const n=.5,r=t[e+0],i=t[e+1],h=t[e+2],a=t[e+3],l=E(r,i,n),c=E(i,h,n),u=E(h,a,n),p=E(l,c,n),f=E(c,u,n),d=E(p,f,n);F([r,l,p,d],0,s,o),F([d,f,u,a],0,s,o)}var r,i;return o}function N(t,e,s,n,o){const r=o||[],i=t[e],h=t[s-1];let a=0,l=1;for(let n=e+1;n<s-1;++n){const e=q(t[n],i,h);e>a&&(a=e,l=n)}return Math.sqrt(a)>n?(N(t,e,l+1,n,r),N(t,l,s,n,r)):(r.length||r.push(i),r.push(h)),r}var V=s(88200);const Z="none";class B{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return(0,f.v)()}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,s){return{shape:t,sets:e||[],options:s||this.defaultOptions}}line(t,e,s,n,o){const r=this._o(o);return this._d("line",[b(t,e,s,n,r)],r)}rectangle(t,e,s,n,o){const r=this._o(o),i=[],h=w(t,e,s,n,r);if(r.fill){const o=[[t,e],[t+s,e],[t+s,e+n],[t,e+n]];"solid"===r.fillStyle?i.push(x([o],r)):i.push(L([o],r))}return r.stroke!==Z&&i.push(h),this._d("rectangle",i,r)}ellipse(t,e,s,n,o){const r=this._o(o),i=[],h=P(s,n,r),a=y(t,e,r,h);if(r.fill)if("solid"===r.fillStyle){const s=y(t,e,r,h).opset;s.type="fillPath",i.push(s)}else i.push(L([a.estimatedPoints],r));return r.stroke!==Z&&i.push(a.opset),this._d("ellipse",i,r)}circle(t,e,s,n){const o=this.ellipse(t,e,s,s,n);return o.shape="circle",o}linearPath(t,e){const s=this._o(e);return this._d("linearPath",[m(t,!1,s)],s)}arc(t,e,s,n,o,r,i=!1,h){const a=this._o(h),l=[],c=O(t,e,s,n,o,r,i,!0,a);if(i&&a.fill)if("solid"===a.fillStyle){const i=Object.assign({},a);i.disableMultiStroke=!0;const h=O(t,e,s,n,o,r,!0,!1,i);h.type="fillPath",l.push(h)}else l.push(function(t,e,s,n,o,r,i){const h=t,a=e;let l=Math.abs(s/2),c=Math.abs(n/2);l+=_(.01*l,i),c+=_(.01*c,i);let u=o,p=r;for(;u<0;)u+=2*Math.PI,p+=2*Math.PI;p-u>2*Math.PI&&(u=0,p=2*Math.PI);const f=(p-u)/i.curveStepCount,d=[];for(let t=u;t<=p;t+=f)d.push([h+l*Math.cos(t),a+c*Math.sin(t)]);return d.push([h+l*Math.cos(p),a+c*Math.sin(p)]),d.push([h,a]),L([d],i)}(t,e,s,n,o,r,a));return a.stroke!==Z&&l.push(c),this._d("arc",l,a)}curve(t,e){const s=this._o(e),n=[],o=v(t,s);if(s.fill&&s.fill!==Z&&t.length>=3)if("solid"===s.fillStyle){const e=v(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{const e=function(t,e=0){const s=t.length;if(s<3)throw new Error("A curve must have at least three points.");const n=[];if(3===s)n.push(R(t[0]),R(t[1]),R(t[2]),R(t[2]));else{const s=[];s.push(t[0],t[0]);for(let e=1;e<t.length;e++)s.push(t[e]),e===t.length-1&&s.push(t[e]);const o=[],r=1-e;n.push(R(s[0]));for(let t=1;t+2<s.length;t++){const e=s[t];o[0]=[e[0],e[1]],o[1]=[e[0]+(r*s[t+1][0]-r*s[t-1][0])/6,e[1]+(r*s[t+1][1]-r*s[t-1][1])/6],o[2]=[s[t+1][0]+(r*s[t][0]-r*s[t+2][0])/6,s[t+1][1]+(r*s[t][1]-r*s[t+2][1])/6],o[3]=[s[t+1][0],s[t+1][1]],n.push(o[1],o[2],o[3])}}return n}(t),o=function(t,e=.15,s){const n=[],o=(t.length-1)/3;for(let s=0;s<o;s++)F(t,3*s,e,n);return s&&s>0?N(n,0,n.length,s):n}(e,10,(1+s.roughness)/2);n.push(L([o],s))}return s.stroke!==Z&&n.push(o),this._d("curve",n,s)}polygon(t,e){const s=this._o(e),n=[],o=m(t,!0,s);return s.fill&&("solid"===s.fillStyle?n.push(x([t],s)):n.push(L([t],s))),s.stroke!==Z&&n.push(o),this._d("polygon",n,s)}path(t,e){const s=this._o(e),n=[];if(!t)return this._d("path",n,s);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const o=s.fill&&"transparent"!==s.fill&&s.fill!==Z,r=s.stroke!==Z,i=!!(s.simplification&&s.simplification<1),h=i?4-4*(s.simplification||1):(1+s.roughness)/2,a=(0,V.S)(t,1,h),l=S(t,s);if(o)if("solid"===s.fillStyle)if(1===a.length){const e=S(t,Object.assign(Object.assign({},s),{disableMultiStroke:!0,roughness:s.roughness?s.roughness+s.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else n.push(x(a,s));else n.push(L(a,s));return r&&(i?a.forEach(t=>{n.push(m(t,!1,s))}):n.push(l)),this._d("path",n,s)}opsToPath(t,e){let s="";for(const n of t.ops){const t="number"==typeof e&&e>=0?n.data.map(t=>+t.toFixed(e)):n.data;switch(n.op){case"move":s+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":s+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":s+=`L${t[0]} ${t[1]} `}}return s.trim()}toPaths(t){const e=t.sets||[],s=t.options||this.defaultOptions,n=[];for(const t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:s.stroke,strokeWidth:s.strokeWidth,fill:Z};break;case"fillPath":e={d:this.opsToPath(t),stroke:Z,strokeWidth:0,fill:s.fill||Z};break;case"fillSketch":e=this.fillSketch(t,s)}e&&n.push(e)}return n}fillSketch(t,e){let s=e.fillWeight;return s<0&&(s=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||Z,strokeWidth:s,fill:Z}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}},8685(t,e,s){function n(){return Math.floor(Math.random()*2**31)}s.d(e,{o:()=>o,v:()=>n});class o{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}},77120(t,e,s){s.d(e,{A:()=>h});var n=s(7729);class o{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new n.f(e)}draw(t){const e=t.sets||[],s=t.options||this.getDefaultOptions(),n=this.ctx,o=t.options.fixedDecimalPlaceDigits;for(const r of e)switch(r.type){case"path":n.save(),n.strokeStyle="none"===s.stroke?"transparent":s.stroke,n.lineWidth=s.strokeWidth,s.strokeLineDash&&n.setLineDash(s.strokeLineDash),s.strokeLineDashOffset&&(n.lineDashOffset=s.strokeLineDashOffset),this._drawToContext(n,r,o),n.restore();break;case"fillPath":{n.save(),n.fillStyle=s.fill||"";const e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(n,r,o,e),n.restore();break}case"fillSketch":this.fillSketch(n,r,s)}}fillSketch(t,e,s){let n=s.fillWeight;n<0&&(n=s.strokeWidth/2),t.save(),s.fillLineDash&&t.setLineDash(s.fillLineDash),s.fillLineDashOffset&&(t.lineDashOffset=s.fillLineDashOffset),t.strokeStyle=s.fill||"",t.lineWidth=n,this._drawToContext(t,e,s.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,s,n="nonzero"){t.beginPath();for(const n of e.ops){const e="number"==typeof s&&s>=0?n.data.map(t=>+t.toFixed(s)):n.data;switch(n.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(n):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,s,n,o){const r=this.gen.line(t,e,s,n,o);return this.draw(r),r}rectangle(t,e,s,n,o){const r=this.gen.rectangle(t,e,s,n,o);return this.draw(r),r}ellipse(t,e,s,n,o){const r=this.gen.ellipse(t,e,s,n,o);return this.draw(r),r}circle(t,e,s,n){const o=this.gen.circle(t,e,s,n);return this.draw(o),o}linearPath(t,e){const s=this.gen.linearPath(t,e);return this.draw(s),s}polygon(t,e){const s=this.gen.polygon(t,e);return this.draw(s),s}arc(t,e,s,n,o,r,i=!1,h){const a=this.gen.arc(t,e,s,n,o,r,i,h);return this.draw(a),a}curve(t,e){const s=this.gen.curve(t,e);return this.draw(s),s}path(t,e){const s=this.gen.path(t,e);return this.draw(s),s}}const r="http://www.w3.org/2000/svg";class i{constructor(t,e){this.svg=t,this.gen=new n.f(e)}draw(t){const e=t.sets||[],s=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,o=n.createElementNS(r,"g"),i=t.options.fixedDecimalPlaceDigits;for(const h of e){let e=null;switch(h.type){case"path":e=n.createElementNS(r,"path"),e.setAttribute("d",this.opsToPath(h,i)),e.setAttribute("stroke",s.stroke),e.setAttribute("stroke-width",s.strokeWidth+""),e.setAttribute("fill","none"),s.strokeLineDash&&e.setAttribute("stroke-dasharray",s.strokeLineDash.join(" ").trim()),s.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${s.strokeLineDashOffset}`);break;case"fillPath":e=n.createElementNS(r,"path"),e.setAttribute("d",this.opsToPath(h,i)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",s.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(n,h,s)}e&&o.appendChild(e)}return o}fillSketch(t,e,s){let n=s.fillWeight;n<0&&(n=s.strokeWidth/2);const o=t.createElementNS(r,"path");return o.setAttribute("d",this.opsToPath(e,s.fixedDecimalPlaceDigits)),o.setAttribute("stroke",s.fill||""),o.setAttribute("stroke-width",n+""),o.setAttribute("fill","none"),s.fillLineDash&&o.setAttribute("stroke-dasharray",s.fillLineDash.join(" ").trim()),s.fillLineDashOffset&&o.setAttribute("stroke-dashoffset",`${s.fillLineDashOffset}`),o}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,s,n,o){const r=this.gen.line(t,e,s,n,o);return this.draw(r)}rectangle(t,e,s,n,o){const r=this.gen.rectangle(t,e,s,n,o);return this.draw(r)}ellipse(t,e,s,n,o){const r=this.gen.ellipse(t,e,s,n,o);return this.draw(r)}circle(t,e,s,n){const o=this.gen.circle(t,e,s,n);return this.draw(o)}linearPath(t,e){const s=this.gen.linearPath(t,e);return this.draw(s)}polygon(t,e){const s=this.gen.polygon(t,e);return this.draw(s)}arc(t,e,s,n,o,r,i=!1,h){const a=this.gen.arc(t,e,s,n,o,r,i,h);return this.draw(a)}curve(t,e){const s=this.gen.curve(t,e);return this.draw(s)}path(t,e){const s=this.gen.path(t,e);return this.draw(s)}}const h={canvas:(t,e)=>new o(t,e),svg:(t,e)=>new i(t,e),generator:t=>new n.f(t),newSeed:()=>n.f.newSeed()}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkfilecat=self.webpackChunkfilecat||[]).push([[4756],{11832(t,e,n){n.d(e,{Zp:()=>V,py:()=>E});const s=1e-10;function r(t,e){const n=function(t){const e=[];for(let n=0;n<t.length;++n)for(let s=n+1;s<t.length;++s){const r=l(t[n],t[s]);for(const t of r)t.parentIndex=[n,s],e.push(t)}return e}(t),r=n.filter(e=>function(t,e){return e.every(e=>i(t,e)<e.radius+s)}(e,t));let a=0,u=0;const f=[];if(r.length>1){const e=c(r);for(let t=0;t<r.length;++t){const n=r[t];n.angle=Math.atan2(n.x-e.x,n.y-e.y)}r.sort((t,e)=>e.angle-t.angle);let n=r[r.length-1];for(let e=0;e<r.length;++e){const s=r[e];u+=(n.x+s.x)*(s.y-n.y);const l={x:(s.x+n.x)/2,y:(s.y+n.y)/2};let c=null;for(let e=0;e<s.parentIndex.length;++e)if(n.parentIndex.includes(s.parentIndex[e])){const r=t[s.parentIndex[e]],o=Math.atan2(s.x-r.x,s.y-r.y),a=Math.atan2(n.x-r.x,n.y-r.y);let u=a-o;u<0&&(u+=2*Math.PI);const f=a-u/2;let h=i(l,{x:r.x+r.radius*Math.sin(f),y:r.y+r.radius*Math.cos(f)});h>2*r.radius&&(h=2*r.radius),(null==c||c.width>h)&&(c={circle:r,width:h,p1:s,p2:n,large:h>r.radius,sweep:!0})}null!=c&&(f.push(c),a+=o(c.circle.radius,c.width),n=s)}}else{let e=t[0];for(let n=1;n<t.length;++n)t[n].radius<e.radius&&(e=t[n]);let n=!1;for(let s=0;s<t.length;++s)if(i(t[s],e)>Math.abs(e.radius-t[s].radius)){n=!0;break}n?a=u=0:(a=e.radius*e.radius*Math.PI,f.push({circle:e,p1:{x:e.x,y:e.y+e.radius},p2:{x:e.x-s,y:e.y+e.radius},width:2*e.radius,large:!0,sweep:!0}))}return u/=2,e&&(e.area=a+u,e.arcArea=a,e.polygonArea=u,e.arcs=f,e.innerPoints=r,e.intersectionPoints=n),a+u}function o(t,e){return t*t*Math.acos(1-e/t)-(t-e)*Math.sqrt(e*(2*t-e))}function i(t,e){return Math.sqrt((t.x-e.x)*(t.x-e.x)+(t.y-e.y)*(t.y-e.y))}function a(t,e,n){if(n>=t+e)return 0;if(n<=Math.abs(t-e))return Math.PI*Math.min(t,e)*Math.min(t,e);const s=e-(n*n-t*t+e*e)/(2*n);return o(t,t-(n*n-e*e+t*t)/(2*n))+o(e,s)}function l(t,e){const n=i(t,e),s=t.radius,r=e.radius;if(n>=s+r||n<=Math.abs(s-r))return[];const o=(s*s-r*r+n*n)/(2*n),a=Math.sqrt(s*s-o*o),l=t.x+o*(e.x-t.x)/n,c=t.y+o*(e.y-t.y)/n,u=-(e.y-t.y)*(a/n),f=-(e.x-t.x)*(a/n);return[{x:l+u,y:c-f},{x:l-u,y:c+f}]}function c(t){const e={x:0,y:0};for(const n of t)e.x+=n.x,e.y+=n.y;return e.x/=t.length,e.y/=t.length,e}function u(t){const e=new Array(t);for(let n=0;n<t;++n)e[n]=0;return e}function f(t,e){return u(t).map(()=>u(e))}function h(t,e){let n=0;for(let s=0;s<t.length;++s)n+=t[s]*e[s];return n}function x(t){return Math.sqrt(h(t,t))}function g(t,e,n){for(let s=0;s<e.length;++s)t[s]=e[s]*n}function p(t,e,n,s,r){for(let o=0;o<t.length;++o)t[o]=e*n[o]+s*r[o]}function d(t,e,n){const s=(n=n||{}).maxIterations||200*e.length,r=n.nonZeroDelta||1.05,o=n.zeroDelta||.001,i=n.minErrorDelta||1e-6,a=n.minErrorDelta||1e-5,l=void 0!==n.rho?n.rho:1,c=void 0!==n.chi?n.chi:2,u=void 0!==n.psi?n.psi:-.5,f=void 0!==n.sigma?n.sigma:.5;let h;const x=e.length,g=new Array(x+1);g[0]=e,g[0].fx=t(e),g[0].id=0;for(let n=0;n<x;++n){const s=e.slice();s[n]=s[n]?s[n]*r:o,g[n+1]=s,g[n+1].fx=t(s),g[n+1].id=n+1}function d(t){for(let e=0;e<t.length;e++)g[x][e]=t[e];g[x].fx=t.fx}const y=(t,e)=>t.fx-e.fx,m=e.slice(),M=e.slice(),b=e.slice(),z=e.slice();for(let e=0;e<s;++e){if(g.sort(y),n.history){const t=g.map(t=>{const e=t.slice();return e.fx=t.fx,e.id=t.id,e});t.sort((t,e)=>t.id-e.id),n.history.push({x:g[0].slice(),fx:g[0].fx,simplex:t})}h=0;for(let t=0;t<x;++t)h=Math.max(h,Math.abs(g[0][t]-g[1][t]));if(Math.abs(g[0].fx-g[x].fx)<i&&h<a)break;for(let t=0;t<x;++t){m[t]=0;for(let e=0;e<x;++e)m[t]+=g[e][t];m[t]/=x}const e=g[x];if(p(M,1+l,m,-l,e),M.fx=t(M),M.fx<g[0].fx)p(z,1+c,m,-c,e),z.fx=t(z),z.fx<M.fx?d(z):d(M);else if(M.fx>=g[x-1].fx){let n=!1;if(M.fx>e.fx?(p(b,1+u,m,-u,e),b.fx=t(b),b.fx<e.fx?d(b):n=!0):(p(b,1-u*l,m,u*l,e),b.fx=t(b),b.fx<M.fx?d(b):n=!0),n){if(f>=1)break;for(let e=1;e<g.length;++e)p(g[e],1-f,g[0],f,g[e]),g[e].fx=t(g[e])}}else d(M)}return g.sort(y),{fx:g[0].fx,x:g[0]}}function y(t,e,n,s,r,o,i){const a=n.fx,l=h(n.fxprime,e);let c=a,u=a,f=l,x=0;function g(u,x,g){for(let d=0;d<16;++d)if(r=(u+x)/2,p(s.x,1,n.x,r,e),c=s.fx=t(s.x,s.fxprime),f=h(s.fxprime,e),c>a+o*r*l||c>=g)x=r;else{if(Math.abs(f)<=-i*l)return r;f*(x-u)>=0&&(x=u),u=r,g=c}return 0}r=r||1,o=o||1e-6,i=i||.1;for(let d=0;d<10;++d){if(p(s.x,1,n.x,r,e),c=s.fx=t(s.x,s.fxprime),f=h(s.fxprime,e),c>a+o*r*l||d&&c>=u)return g(x,r,u);if(Math.abs(f)<=-i*l)return r;if(f>=0)return g(r,x,c);u=c,x=r,r*=2}return r}function m(t,e,n){let s={x:e.slice(),fx:0,fxprime:e.slice()},r={x:e.slice(),fx:0,fxprime:e.slice()};const o=e.slice();let i,a,l,c=1;l=(n=n||{}).maxIterations||20*e.length,s.fx=t(s.x,s.fxprime),i=s.fxprime.slice(),g(i,s.fxprime,-1);for(let e=0;e<l;++e){if(c=y(t,i,s,r,c),n.history&&n.history.push({x:s.x.slice(),fx:s.fx,fxprime:s.fxprime.slice(),alpha:c}),c){p(o,1,r.fxprime,-1,s.fxprime);const t=h(s.fxprime,s.fxprime);p(i,Math.max(0,h(o,r.fxprime)/t),i,-1,r.fxprime),a=s,s=r,r=a}else g(i,s.fxprime,-1);if(x(s.fxprime)<=1e-5)break}return n.history&&n.history.push({x:s.x.slice(),fx:s.fx,fxprime:s.fxprime.slice(),alpha:c}),s}function M(t,e={}){e.maxIterations=e.maxIterations||500;const n=e.initialLayout||w,s=e.lossFunction||I,r=function(t,e={}){const n=e.distinct,s=t.map(t=>Object.assign({},t));function r(t){return t.join(";")}if(n){const t=new Map;for(const e of s)for(let n=0;n<e.sets.length;n++){const s=String(e.sets[n]);t.set(s,e.size+(t.get(s)||0));for(let r=n+1;r<e.sets.length;r++){const n=String(e.sets[r]),o=`${s};${n}`,i=`${n};${s}`;t.set(o,e.size+(t.get(o)||0)),t.set(i,e.size+(t.get(i)||0))}}for(const e of s)e.sets.length<3&&(e.size=t.get(r(e.sets)))}const o=[],i=new Set;for(const t of s)if(1===t.sets.length)o.push(t.sets[0]);else if(2===t.sets.length){const e=t.sets[0],n=t.sets[1];i.add(r(t.sets)),i.add(r([n,e]))}o.sort((t,e)=>t===e?0:t<e?-1:1);for(let t=0;t<o.length;++t){const e=o[t];for(let n=t+1;n<o.length;++n){const t=o[n];i.has(r([e,t]))||s.push({sets:[e,t],size:0})}}return s}(t,e),o=n(r,e),i=Object.keys(o),a=[];for(const t of i)a.push(o[t].x),a.push(o[t].y);const l=d(t=>{const e={};for(let n=0;n<i.length;++n){const s=i[n];e[s]={x:t[2*n],y:t[2*n+1],radius:o[s].radius}}return s(e,r)},a,e).x;for(let t=0;t<i.length;++t){const e=i[t];o[e].x=l[2*t],o[e].y=l[2*t+1]}return o}const b=1e-10;function z(t,e,n){return Math.min(t,e)*Math.min(t,e)*Math.PI<=n+1e-10?Math.abs(t-e):function(t,e,n,s){const r=(s=s||{}).maxIterations||100,o=s.tolerance||1e-10,i=t(e),a=t(n);let l=n-e;if(i*a>0)throw"Initial bisect points must have opposite signs";if(0===i)return e;if(0===a)return n;for(let n=0;n<r;++n){l/=2;const n=e+l,s=t(n);if(s*i>=0&&(e=n),Math.abs(l)<o||0===s)return n}return e+l}(s=>a(t,e,s)-n,0,t+e)}function w(t,e={}){let n=function(t,e){const n=e&&e.lossFunction?e.lossFunction:I,s={},r={};for(const e of t)if(1===e.sets.length){const t=e.sets[0];s[t]={x:1e10,y:1e10,rowid:s.length,size:e.size,radius:Math.sqrt(e.size/Math.PI)},r[t]=[]}t=t.filter(t=>2===t.sets.length);for(const e of t){let t=null!=e.weight?e.weight:1;const n=e.sets[0],o=e.sets[1];e.size+b>=Math.min(s[n].size,s[o].size)&&(t=0),r[n].push({set:o,size:e.size,weight:t}),r[o].push({set:n,size:e.size,weight:t})}const o=[];function i(t,e){return e.size-t.size}Object.keys(r).forEach(t=>{let e=0;for(let n=0;n<r[t].length;++n)e+=r[t][n].size*r[t][n].weight;o.push({set:t,size:e})}),o.sort(i);const a={};function c(t){return t.set in a}function u(t,e){s[e].x=t.x,s[e].y=t.y,a[e]=!0}u({x:0,y:0},o[0].set);for(let e=1;e<o.length;++e){const a=o[e].set,h=r[a].filter(c),x=s[a];if(h.sort(i),0===h.length)throw"ERROR: missing pairwise overlap information";const g=[];for(var f=0;f<h.length;++f){const t=s[h[f].set],e=z(x.radius,t.radius,h[f].size);g.push({x:t.x+e,y:t.y}),g.push({x:t.x-e,y:t.y}),g.push({y:t.y+e,x:t.x}),g.push({y:t.y-e,x:t.x});for(let n=f+1;n<h.length;++n){const r=s[h[n].set],o=z(x.radius,r.radius,h[n].size),i=l({x:t.x,y:t.y,radius:e},{x:r.x,y:r.y,radius:o});g.push(...i)}}let p=1e50,d=g[0];for(const e of g){s[a].x=e.x,s[a].y=e.y;const r=n(s,t);r<p&&(p=r,d=e)}u(d,a)}return s}(t,e);const s=e.lossFunction||I;if(t.length>=8){const r=function(t,e={}){const n=e.restarts||10,s=[],r={};for(const e of t)1===e.sets.length&&(r[e.sets[0]]=s.length,s.push(e));let{distances:o,constraints:i}=function(t,e,n){const s=f(e.length,e.length),r=f(e.length,e.length);return t.filter(t=>2===t.sets.length).forEach(t=>{const o=n[t.sets[0]],i=n[t.sets[1]],a=z(Math.sqrt(e[o].size/Math.PI),Math.sqrt(e[i].size/Math.PI),t.size);s[o][i]=s[i][o]=a;let l=0;t.size+1e-10>=Math.min(e[o].size,e[i].size)?l=1:t.size<=1e-10&&(l=-1),r[o][i]=r[i][o]=l}),{distances:s,constraints:r}}(t,s,r);const a=x(o.map(x))/o.length;o=o.map(t=>t.map(t=>t/a));const l=(t,e)=>function(t,e,n,s){for(let t=0;t<e.length;++t)e[t]=0;let r=0;for(let o=0;o<n.length;++o){const i=t[2*o],a=t[2*o+1];for(let l=o+1;l<n.length;++l){const c=t[2*l],u=t[2*l+1],f=n[o][l],h=s[o][l],x=(c-i)*(c-i)+(u-a)*(u-a),g=Math.sqrt(x),p=x-f*f;h>0&&g<=f||h<0&&g>=f||(r+=2*p*p,e[2*o]+=4*p*(i-c),e[2*o+1]+=4*p*(a-u),e[2*l]+=4*p*(c-i),e[2*l+1]+=4*p*(u-a))}}return r}(t,e,o,i);let c=null;for(let t=0;t<n;++t){const t=m(l,u(2*o.length).map(Math.random),e);(!c||t.fx<c.fx)&&(c=t)}const h=c.x,p={};for(let t=0;t<s.length;++t){const e=s[t];p[e.sets[0]]={x:h[2*t]*a,y:h[2*t+1]*a,radius:Math.sqrt(e.size/Math.PI)}}if(e.history)for(const t of e.history)g(t.x,a);return p}(t,e);s(r,t)+1e-8<s(n,t)&&(n=r)}return n}function I(t,e){let n=0;for(const s of e){if(1===s.sets.length)continue;let e;if(2===s.sets.length){const n=t[s.sets[0]],r=t[s.sets[1]];e=a(n.radius,r.radius,i(n,r))}else e=r(s.sets.map(e=>t[e]));n+=(null!=s.weight?s.weight:1)*(e-s.size)*(e-s.size)}return n}function R(t,e){let n=0;for(const s of e){if(1===s.sets.length)continue;let e;if(2===s.sets.length){const n=t[s.sets[0]],r=t[s.sets[1]];e=a(n.radius,r.radius,i(n,r))}else e=r(s.sets.map(e=>t[e]));const o=null!=s.weight?s.weight:1,l=Math.log((e+1)/(s.size+1));n+=o*l*l}return n}function v(t,e,n){if(null==n?t.sort((t,e)=>e.radius-t.radius):t.sort(n),t.length>0){const e=t[0].x,n=t[0].y;for(const s of t)s.x-=e,s.y-=n}if(2===t.length){i(t[0],t[1])<Math.abs(t[1].radius-t[0].radius)&&(t[1].x=t[0].x+t[0].radius-t[1].radius-1e-10,t[1].y=t[0].y)}if(t.length>1){const n=Math.atan2(t[1].x,t[1].y)-e,s=Math.cos(n),r=Math.sin(n);for(const e of t){const t=e.x,n=e.y;e.x=s*t-r*n,e.y=r*t+s*n}}if(t.length>2){let n=Math.atan2(t[2].x,t[2].y)-e;for(;n<0;)n+=2*Math.PI;for(;n>2*Math.PI;)n-=2*Math.PI;if(n>Math.PI){const e=t[1].y/(1e-10+t[1].x);for(const n of t){var s=(n.x+e*n.y)/(1+e*e);n.x=2*s-n.x,n.y=2*s*e-n.y}}}}function A(t){const e=e=>({max:t.reduce((t,n)=>Math.max(t,n[e]+n.radius),Number.NEGATIVE_INFINITY),min:t.reduce((t,n)=>Math.min(t,n[e]-n.radius),Number.POSITIVE_INFINITY)});return{xRange:e("x"),yRange:e("y")}}function F(t,e,n){null==e&&(e=Math.PI/2);let s=k(t).map(t=>Object.assign({},t));const r=function(t){function e(t){return t.parent!==t&&(t.parent=e(t.parent)),t.parent}function n(t,n){const s=e(t),r=e(n);s.parent=r}t.forEach(t=>{t.parent=t});for(let e=0;e<t.length;++e)for(let s=e+1;s<t.length;++s){const r=t[e].radius+t[s].radius;i(t[e],t[s])+1e-10<r&&n(t[s],t[e])}const s=new Map;for(let n=0;n<t.length;++n){const r=e(t[n]).parent.setid;s.has(r)||s.set(r,[]),s.get(r).push(t[n])}return t.forEach(t=>{delete t.parent}),Array.from(s.values())}(s);for(const t of r){v(t,e,n);const s=A(t);t.size=(s.xRange.max-s.xRange.min)*(s.yRange.max-s.yRange.min),t.bounds=s}r.sort((t,e)=>e.size-t.size),s=r[0];let o=s.bounds;const a=(o.xRange.max-o.xRange.min)/50;function l(t,e,n){if(!t)return;const r=t.bounds;let i,l;if(e)i=o.xRange.max-r.xRange.min+a;else{i=o.xRange.max-r.xRange.max;const t=(r.xRange.max-r.xRange.min)/2-(o.xRange.max-o.xRange.min)/2;t<0&&(i+=t)}if(n)l=o.yRange.max-r.yRange.min+a;else{l=o.yRange.max-r.yRange.max;const t=(r.yRange.max-r.yRange.min)/2-(o.yRange.max-o.yRange.min)/2;t<0&&(l+=t)}for(const e of t)e.x+=i,e.y+=l,s.push(e)}let c=1;for(;c<r.length;)l(r[c],!0,!1),l(r[c+1],!1,!0),l(r[c+2],!0,!0),c+=3,o=A(s);return j(s)}function P(t,e,n,s,r){const o=k(t);e-=2*s,n-=2*s;const{xRange:i,yRange:a}=A(o);if(i.max===i.min||a.max===a.min)return console.log("not scaling solution: zero size detected"),t;let l,c;if(r){const t=2*Math.sqrt(r/Math.PI);l=e/t,c=n/t}else l=e/(i.max-i.min),c=n/(a.max-a.min);const u=Math.min(c,l),f=(e-(i.max-i.min)*u)/2,h=(n-(a.max-a.min)*u)/2;return j(o.map(t=>({radius:u*t.radius,x:s+f+(t.x-i.min)*u,y:s+h+(t.y-a.min)*u,setid:t.setid})))}function j(t){const e={};for(const n of t)e[n.setid]=n;return e}function k(t){return Object.keys(t).map(e=>Object.assign(t[e],{setid:e}))}function E(t={}){let e=!1,n=600,s=350,r=15,o=1e3,i=Math.PI/2,a=!0,l=null,c=!0,u=!0,f=null,h=null,x=!1,g=null,p=!(!t||!t.symmetricalTextCentre)&&t.symmetricalTextCentre,d={},y=t&&t.colourScheme?t.colourScheme:t&&t.colorScheme?t.colorScheme:["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf"],m=0,b=function(t){if(t in d)return d[t];var e=d[t]=y[m];return m+=1,m>=y.length&&(m=0),e},z=M,w=I;function v(d){let y=d.datum();const m=new Set;y.forEach(t=>{0==t.size&&1==t.sets.length&&m.add(t.sets[0])}),y=y.filter(t=>!t.sets.some(t=>m.has(t)));let M={},I={};if(y.length>0){let t=z(y,{lossFunction:w,distinct:x});a&&(t=F(t,i,h)),M=P(t,n,s,r,l),I=C(M,y,p)}const R={};function v(t){return t.sets in R?R[t.sets]:1==t.sets.length?""+t.sets[0]:void 0}y.forEach(t=>{t.label&&(R[t.sets]=t.label)}),d.selectAll("svg").data([M]).enter().append("svg");const A=d.select("svg");e?A.attr("viewBox",`0 0 ${n} ${s}`):A.attr("width",n).attr("height",s);const j={};let k=!1;function E(t){return e=>D(t.sets.map(t=>{let r=j[t],o=M[t];return r||(r={x:n/2,y:s/2,radius:1}),o||(o={x:n/2,y:s/2,radius:1}),{x:r.x*(1-e)+o.x*e,y:r.y*(1-e)+o.y*e,radius:r.radius*(1-e)+o.radius*e}}),g)}A.selectAll(".venn-area path").each(function(t){const e=this.getAttribute("d");1==t.sets.length&&e&&!x&&(k=!0,j[t.sets[0]]=function(t){const e=t.split(" ");return{x:Number.parseFloat(e[1]),y:Number.parseFloat(e[2]),radius:-Number.parseFloat(e[4])}}(e))});const O=A.selectAll(".venn-area").data(y,t=>t.sets),S=O.enter().append("g").attr("class",t=>`venn-area venn-${1==t.sets.length?"circle":"intersection"}${t.colour||t.color?" venn-coloured":""}`).attr("data-venn-sets",t=>t.sets.join("_")),T=S.append("path"),q=S.append("text").attr("class","label").text(t=>v(t)).attr("text-anchor","middle").attr("dy",".35em").attr("x",n/2).attr("y",s/2);function $(t){return"function"==typeof t.transition?t.transition("venn").duration(o):t}u&&(T.style("fill-opacity","0").filter(t=>1==t.sets.length).style("fill",t=>t.colour?t.colour:t.color?t.color:b(t.sets)).style("fill-opacity",".25"),q.style("fill",e=>e.colour||e.color?"#FFF":t.textFill?t.textFill:1==e.sets.length?b(e.sets):"#444"));let V=d;k&&"function"==typeof V.transition?(V=$(d),V.selectAll("path").attrTween("d",E)):V.selectAll("path").attr("d",t=>D(t.sets.map(t=>M[t])),g);const _=V.selectAll("text").filter(t=>t.sets in I).text(t=>v(t)).attr("x",t=>Math.floor(I[t.sets].x)).attr("y",t=>Math.floor(I[t.sets].y));c&&(k?"on"in _?_.on("end",N(M,v)):_.each("end",N(M,v)):_.each(N(M,v)));const B=$(O.exit()).remove();"function"==typeof O.transition&&B.selectAll("path").attrTween("d",E);const G=B.selectAll("text").attr("x",n/2).attr("y",s/2);return null!==f&&(q.style("font-size","0px"),_.style("font-size",f),G.style("font-size","0px")),{circles:M,textCentres:I,nodes:O,enter:S,update:V,exit:B}}return v.wrap=function(t){return arguments.length?(c=t,v):c},v.useViewBox=function(){return e=!0,v},v.width=function(t){return arguments.length?(n=t,v):n},v.height=function(t){return arguments.length?(s=t,v):s},v.padding=function(t){return arguments.length?(r=t,v):r},v.distinct=function(t){return arguments.length?(x=t,v):x},v.colours=function(t){return arguments.length?(b=t,v):b},v.colors=function(t){return arguments.length?(b=t,v):b},v.fontSize=function(t){return arguments.length?(f=t,v):f},v.round=function(t){return arguments.length?(g=t,v):g},v.duration=function(t){return arguments.length?(o=t,v):o},v.layoutFunction=function(t){return arguments.length?(z=t,v):z},v.normalize=function(t){return arguments.length?(a=t,v):a},v.scaleToFit=function(t){return arguments.length?(l=t,v):l},v.styled=function(t){return arguments.length?(u=t,v):u},v.orientation=function(t){return arguments.length?(i=t,v):i},v.orientationOrder=function(t){return arguments.length?(h=t,v):h},v.lossFunction=function(t){return arguments.length?(w="default"===t?I:"logRatio"===t?R:t,v):w},v}function N(t,e){return function(n){const s=this,r=t[n.sets[0]].radius||50,o=e(n)||"",i=o.split(/\s+/).reverse(),a=(o.length+i.length)/3;let l=i.pop(),c=[l],u=0;s.textContent=null;const f=[];function h(t){const e=s.ownerDocument.createElementNS(s.namespaceURI,"tspan");return e.textContent=t,f.push(e),s.append(e),e}let x=h(l);for(;l=i.pop(),l;){c.push(l);const t=c.join(" ");x.textContent=t,t.length>a&&x.getComputedTextLength()>r&&(c.pop(),x.textContent=c.join(" "),c=[l],x=h(l),u++)}const g=.35-1.1*u/2,p=s.getAttribute("x"),d=s.getAttribute("y");f.forEach((t,e)=>{t.setAttribute("x",p),t.setAttribute("y",d),t.setAttribute("dy",`${g+1.1*e}em`)})}}function O(t,e,n){let s=e[0].radius-i(e[0],t);for(let n=1;n<e.length;++n){const r=e[n].radius-i(e[n],t);r<=s&&(s=r)}for(let e=0;e<n.length;++e){const r=i(n[e],t)-n[e].radius;r<=s&&(s=r)}return s}function S(t,e,n){const s=[];for(const e of t)s.push({x:e.x,y:e.y}),s.push({x:e.x+e.radius/2,y:e.y}),s.push({x:e.x-e.radius/2,y:e.y}),s.push({x:e.x,y:e.y+e.radius/2}),s.push({x:e.x,y:e.y-e.radius/2});let o=s[0],a=O(s[0],t,e);for(let n=1;n<s.length;++n){const r=O(s[n],t,e);r>=a&&(o=s[n],a=r)}const l=d(n=>-1*O({x:n[0],y:n[1]},t,e),[o.x,o.y],{maxIterations:500,minErrorDelta:1e-10}).x,u={x:n?0:l[0],y:l[1]};let f=!0;for(const e of t)if(i(u,e)>e.radius){f=!1;break}for(const t of e)if(i(u,t)<t.radius){f=!1;break}if(f)return u;if(1==t.length)return{x:t[0].x,y:t[0].y};const h={};return r(t,h),0===h.arcs.length?{x:0,y:-1e3,disjoint:!0}:1==h.arcs.length?{x:h.arcs[0].circle.x,y:h.arcs[0].circle.y}:e.length?S(t,[]):c(h.arcs.map(t=>t.p1))}function T(t){const e={},n=Object.keys(t);for(const t of n)e[t]=[];for(let s=0;s<n.length;s++){const r=n[s],o=t[r];for(let a=s+1;a<n.length;++a){const s=n[a],l=t[s],c=i(o,l);c+l.radius<=o.radius+1e-10?e[s].push(r):c+o.radius<=l.radius+1e-10&&e[r].push(s)}}return e}function C(t,e,n){const s={},r=T(t);for(let o=0;o<e.length;++o){const i=e[o].sets,a={},l={};for(let t=0;t<i.length;++t){a[i[t]]=!0;const e=r[i[t]];for(let t=0;t<e.length;++t)l[e[t]]=!0}const c=[],u=[];for(let e in t)e in a?c.push(t[e]):e in l||u.push(t[e]);const f=S(c,u,n);s[i]=f,f.disjoint&&e[o].size>0&&console.log("WARNING: area "+i+" not represented on screen")}return s}function q(t){if(0===t.length)return[];const e={};return r(t,e),e.arcs}function $(t,e){if(0===t.length)return"M 0 0";const n=Math.pow(10,e||0),s=null!=e?t=>Math.round(t*n)/n:t=>t;if(1==t.length){const e=t[0].circle;return function(t,e,n){const s=[];return s.push("\nM",t,e),s.push("\nm",-n,0),s.push("\na",n,n,0,1,0,2*n,0),s.push("\na",n,n,0,1,0,2*-n,0),s.join(" ")}(s(e.x),s(e.y),s(e.radius))}const r=["\nM",s(t[0].p2.x),s(t[0].p2.y)];for(const e of t){const t=s(e.circle.radius);r.push("\nA",t,t,0,e.large?1:0,e.sweep?1:0,s(e.p1.x),s(e.p1.y))}return r.join(" ")}function D(t,e){return $(q(t),e)}function V(t,e={}){const{lossFunction:n,layoutFunction:s=M,normalize:r=!0,orientation:o=Math.PI/2,orientationOrder:i,width:a=600,height:l=350,padding:c=15,scaleToFit:u=!1,symmetricalTextCentre:f=!1,distinct:h,round:x=2}=e;let g=s(t,{lossFunction:"default"!==n&&n?"logRatio"===n?R:n:I,distinct:h});r&&(g=F(g,o,i));const p=P(g,a,l,c,u),d=C(p,t,f),y=new Map(Object.keys(p).map(t=>[t,{set:t,x:p[t].x,y:p[t].y,radius:p[t].radius}])),m=t.map(t=>{const e=t.sets.map(t=>y.get(t)),n=q(e);return{circles:e,arcs:n,path:$(n,x),area:t,has:new Set(t.sets)}});function b(t){let e="";for(const n of m)n.has.size>t.length&&t.every(t=>n.has.has(t))&&(e+=" "+n.path);return e}return m.map(({circles:t,arcs:e,path:n,area:s})=>({data:s,text:d[s.sets],circles:t,arcs:e,path:n,distinctPath:n+b(s.sets)}))}}}]);
|