@anhnv/lexical-playground 0.39.0
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/dist/DateTimeComponent-DX3ALs4U.cjs +1 -0
- package/dist/DateTimeComponent-DaF6ca1f.js +174 -0
- package/dist/EquationComponent-BrbIAXFZ.js +105 -0
- package/dist/EquationComponent-DFRdSLyf.cjs +3 -0
- package/dist/ExcalidrawComponent-B2RIlh-t.js +174 -0
- package/dist/ExcalidrawComponent-VGrNBMwa.cjs +1 -0
- package/dist/ImageComponent-CFLPSAon.cjs +1 -0
- package/dist/ImageComponent-Dr9Y0gPd.js +286 -0
- package/dist/ImageResizer-riowDF8s.cjs +1 -0
- package/dist/ImageResizer-wZz1Oitl.js +199 -0
- package/dist/PollComponent-DpWrUNaL.js +152 -0
- package/dist/PollComponent-hitipp8H.cjs +1 -0
- package/dist/QuestionComponent-BYluUh-8.cjs +1 -0
- package/dist/QuestionComponent-DQFO_Or8.js +60 -0
- package/dist/StickyComponent-B-sytJ7W.js +161 -0
- package/dist/StickyComponent-DGi089bO.cjs +1 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/babel-CqfpZa5G.js +7195 -0
- package/dist/babel-CryJy3T1.cjs +15 -0
- package/dist/estree-CJTW2kur.cjs +44 -0
- package/dist/estree-DmlwiAu4.js +4453 -0
- package/dist/fonts/Assistant/Assistant-Bold.woff2 +0 -0
- package/dist/fonts/Assistant/Assistant-Medium.woff2 +0 -0
- package/dist/fonts/Assistant/Assistant-Regular.woff2 +0 -0
- package/dist/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
- package/dist/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
- package/dist/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
- package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
- package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Virgil/Virgil-Regular.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
- package/dist/html-C9xlBp6Q.cjs +25 -0
- package/dist/html-COoGaLph.js +2788 -0
- package/dist/index-BF-WAqsp.cjs +5 -0
- package/dist/index-C0BTrOQP.js +28947 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +4 -0
- package/dist/logo.svg +1 -0
- package/dist/markdown-B0Hak0DU.cjs +62 -0
- package/dist/markdown-BDWdOrGs.js +3192 -0
- package/dist/postcss-Byg44mmr.cjs +61 -0
- package/dist/postcss-CCzdrMa5.js +4735 -0
- package/dist/standalone-9koseMU7.js +2429 -0
- package/dist/standalone-B68uB4ar.cjs +29 -0
- package/dist/style.css +1 -0
- package/dist/typescript-BKKrhwbC.cjs +21 -0
- package/dist/typescript-BWpY7CXP.js +12965 -0
- package/package.json +106 -0
|
@@ -0,0 +1,3192 @@
|
|
|
1
|
+
import { g as fa } from "./_commonjsHelpers-C6fGbg64.js";
|
|
2
|
+
function pa(Yu, we) {
|
|
3
|
+
for (var Nu = 0; Nu < we.length; Nu++) {
|
|
4
|
+
const Cu = we[Nu];
|
|
5
|
+
if (typeof Cu != "string" && !Array.isArray(Cu)) {
|
|
6
|
+
for (const Eu in Cu)
|
|
7
|
+
if (Eu !== "default" && !(Eu in Yu)) {
|
|
8
|
+
const Qu = Object.getOwnPropertyDescriptor(Cu, Eu);
|
|
9
|
+
Qu && Object.defineProperty(Yu, Eu, Qu.get ? Qu : {
|
|
10
|
+
enumerable: !0,
|
|
11
|
+
get: () => Cu[Eu]
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
return Object.freeze(Object.defineProperty(Yu, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
+
}
|
|
18
|
+
var We = { exports: {} }, Qt;
|
|
19
|
+
function ha() {
|
|
20
|
+
return Qt || (Qt = 1, (function(Yu, we) {
|
|
21
|
+
(function(Nu) {
|
|
22
|
+
function Cu() {
|
|
23
|
+
var Eu = Nu();
|
|
24
|
+
return Eu.default || Eu;
|
|
25
|
+
}
|
|
26
|
+
Yu.exports = Cu();
|
|
27
|
+
})(function() {
|
|
28
|
+
var Nu = Object.create, Cu = Object.defineProperty, Eu = Object.getOwnPropertyDescriptor, Qu = Object.getOwnPropertyNames, Kt = Object.getPrototypeOf, ur = Object.prototype.hasOwnProperty, I = (u, e) => () => (e || u((e = { exports: {} }).exports, e), e.exports), He = (u, e) => {
|
|
29
|
+
for (var t in e) Cu(u, t, { get: e[t], enumerable: !0 });
|
|
30
|
+
}, Ge = (u, e, t, r) => {
|
|
31
|
+
if (e && typeof e == "object" || typeof e == "function") for (let n of Qu(e)) !ur.call(u, n) && n !== t && Cu(u, n, { get: () => e[n], enumerable: !(r = Eu(e, n)) || r.enumerable });
|
|
32
|
+
return u;
|
|
33
|
+
}, $u = (u, e, t) => (t = u != null ? Nu(Kt(u)) : {}, Ge(Cu(t, "default", { value: u, enumerable: !0 }), u)), er = (u) => Ge(Cu({}, "__esModule", { value: !0 }), u), ke = I((u, e) => {
|
|
34
|
+
e.exports = t;
|
|
35
|
+
function t(r) {
|
|
36
|
+
return String(r).replace(/\s+/g, " ");
|
|
37
|
+
}
|
|
38
|
+
}), tr = I((u, e) => {
|
|
39
|
+
e.exports = E;
|
|
40
|
+
var t = 9, r = 10, n = 32, o = 33, a = 58, i = 91, D = 92, l = 93, s = 94, c = 96, C = 4, d = 1024;
|
|
41
|
+
function E(h) {
|
|
42
|
+
var F = this.Parser, A = this.Compiler;
|
|
43
|
+
m(F) && x(F, h), g(A) && f(A);
|
|
44
|
+
}
|
|
45
|
+
function m(h) {
|
|
46
|
+
return !!(h && h.prototype && h.prototype.blockTokenizers);
|
|
47
|
+
}
|
|
48
|
+
function g(h) {
|
|
49
|
+
return !!(h && h.prototype && h.prototype.visitors);
|
|
50
|
+
}
|
|
51
|
+
function x(h, F) {
|
|
52
|
+
for (var A = F || {}, y = h.prototype, w = y.blockTokenizers, T = y.inlineTokenizers, b = y.blockMethods, k = y.inlineMethods, L = w.definition, R = T.reference, v = [], S = -1, U = b.length, j; ++S < U; ) j = b[S], !(j === "newline" || j === "indentedCode" || j === "paragraph" || j === "footnoteDefinition") && v.push([j]);
|
|
53
|
+
v.push(["footnoteDefinition"]), A.inlineNotes && (B(k, "reference", "inlineNote"), T.inlineNote = J), B(b, "definition", "footnoteDefinition"), B(k, "reference", "footnoteCall"), w.definition = O, w.footnoteDefinition = _, T.footnoteCall = q, T.reference = z, y.interruptFootnoteDefinition = v, z.locator = R.locator, q.locator = $, J.locator = M;
|
|
54
|
+
function _(N, P, V) {
|
|
55
|
+
for (var W = this, X = W.interruptFootnoteDefinition, Y = W.offset, tu = P.length + 1, H = 0, uu = [], pu, lu, eu, G, Z, hu, Tu, Fu, gu, ou, du, ru, K; H < tu && (G = P.charCodeAt(H), !(G !== t && G !== n)); ) H++;
|
|
56
|
+
if (P.charCodeAt(H++) === i && P.charCodeAt(H++) === s) {
|
|
57
|
+
for (lu = H; H < tu; ) {
|
|
58
|
+
if (G = P.charCodeAt(H), G !== G || G === r || G === t || G === n) return;
|
|
59
|
+
if (G === l) {
|
|
60
|
+
eu = H, H++;
|
|
61
|
+
break;
|
|
62
|
+
}
|
|
63
|
+
H++;
|
|
64
|
+
}
|
|
65
|
+
if (!(eu === void 0 || lu === eu || P.charCodeAt(H++) !== a)) {
|
|
66
|
+
if (V) return !0;
|
|
67
|
+
for (pu = P.slice(lu, eu), Z = N.now(), gu = 0, ou = 0, du = H, ru = []; H < tu; ) {
|
|
68
|
+
if (G = P.charCodeAt(H), G !== G || G === r) K = { start: gu, contentStart: du || H, contentEnd: H, end: H }, ru.push(K), G === r && (gu = H + 1, ou = 0, du = void 0, K.end = gu);
|
|
69
|
+
else if (ou !== void 0) if (G === n || G === t) ou += G === n ? 1 : C - ou % C, ou > C && (ou = void 0, du = H);
|
|
70
|
+
else {
|
|
71
|
+
if (ou < C && K && (K.contentStart === K.contentEnd || p(X, w, W, [N, P.slice(H, d), !0]))) break;
|
|
72
|
+
ou = void 0, du = H;
|
|
73
|
+
}
|
|
74
|
+
H++;
|
|
75
|
+
}
|
|
76
|
+
for (H = -1, tu = ru.length; tu > 0 && (K = ru[tu - 1], K.contentStart === K.contentEnd); ) tu--;
|
|
77
|
+
for (hu = N(P.slice(0, K.contentEnd)); ++H < tu; ) K = ru[H], Y[Z.line + H] = (Y[Z.line + H] || 0) + (K.contentStart - K.start), uu.push(P.slice(K.contentStart, K.end));
|
|
78
|
+
return Tu = W.enterBlock(), Fu = W.tokenizeBlock(uu.join(""), Z), Tu(), hu({ type: "footnoteDefinition", identifier: pu.toLowerCase(), label: pu, children: Fu });
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function q(N, P, V) {
|
|
83
|
+
var W = P.length + 1, X = 0, Y, tu, H, uu;
|
|
84
|
+
if (P.charCodeAt(X++) === i && P.charCodeAt(X++) === s) {
|
|
85
|
+
for (tu = X; X < W; ) {
|
|
86
|
+
if (uu = P.charCodeAt(X), uu !== uu || uu === r || uu === t || uu === n) return;
|
|
87
|
+
if (uu === l) {
|
|
88
|
+
H = X, X++;
|
|
89
|
+
break;
|
|
90
|
+
}
|
|
91
|
+
X++;
|
|
92
|
+
}
|
|
93
|
+
if (!(H === void 0 || tu === H)) return V ? !0 : (Y = P.slice(tu, H), N(P.slice(0, X))({ type: "footnoteReference", identifier: Y.toLowerCase(), label: Y }));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
function J(N, P, V) {
|
|
97
|
+
var W = this, X = P.length + 1, Y = 0, tu = 0, H, uu, pu, lu, eu, G, Z;
|
|
98
|
+
if (P.charCodeAt(Y++) === s && P.charCodeAt(Y++) === i) {
|
|
99
|
+
for (pu = Y; Y < X; ) {
|
|
100
|
+
if (uu = P.charCodeAt(Y), uu !== uu) return;
|
|
101
|
+
if (G === void 0) if (uu === D) Y += 2;
|
|
102
|
+
else if (uu === i) tu++, Y++;
|
|
103
|
+
else if (uu === l) if (tu === 0) {
|
|
104
|
+
lu = Y, Y++;
|
|
105
|
+
break;
|
|
106
|
+
} else tu--, Y++;
|
|
107
|
+
else if (uu === c) {
|
|
108
|
+
for (eu = Y, G = 1; P.charCodeAt(eu + G) === c; ) G++;
|
|
109
|
+
Y += G;
|
|
110
|
+
} else Y++;
|
|
111
|
+
else if (uu === c) {
|
|
112
|
+
for (eu = Y, Z = 1; P.charCodeAt(eu + Z) === c; ) Z++;
|
|
113
|
+
Y += Z, G === Z && (G = void 0), Z = void 0;
|
|
114
|
+
} else Y++;
|
|
115
|
+
}
|
|
116
|
+
if (lu !== void 0) return V ? !0 : (H = N.now(), H.column += 2, H.offset += 2, N(P.slice(0, Y))({ type: "footnote", children: W.tokenizeInline(P.slice(pu, lu), H) }));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function z(N, P, V) {
|
|
120
|
+
var W = 0;
|
|
121
|
+
if (P.charCodeAt(W) === o && W++, P.charCodeAt(W) === i && P.charCodeAt(W + 1) !== s) return R.call(this, N, P, V);
|
|
122
|
+
}
|
|
123
|
+
function O(N, P, V) {
|
|
124
|
+
for (var W = 0, X = P.charCodeAt(W); X === n || X === t; ) X = P.charCodeAt(++W);
|
|
125
|
+
if (X === i && P.charCodeAt(W + 1) !== s) return L.call(this, N, P, V);
|
|
126
|
+
}
|
|
127
|
+
function $(N, P) {
|
|
128
|
+
return N.indexOf("[", P);
|
|
129
|
+
}
|
|
130
|
+
function M(N, P) {
|
|
131
|
+
return N.indexOf("^[", P);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
function f(h) {
|
|
135
|
+
var F = h.prototype.visitors, A = " ";
|
|
136
|
+
F.footnote = y, F.footnoteReference = w, F.footnoteDefinition = T;
|
|
137
|
+
function y(b) {
|
|
138
|
+
return "^[" + this.all(b).join("") + "]";
|
|
139
|
+
}
|
|
140
|
+
function w(b) {
|
|
141
|
+
return "[^" + (b.label || b.identifier) + "]";
|
|
142
|
+
}
|
|
143
|
+
function T(b) {
|
|
144
|
+
for (var k = this.all(b).join(`
|
|
145
|
+
|
|
146
|
+
`).split(`
|
|
147
|
+
`), L = 0, R = k.length, v; ++L < R; ) v = k[L], v !== "" && (k[L] = A + v);
|
|
148
|
+
return "[^" + (b.label || b.identifier) + "]: " + k.join(`
|
|
149
|
+
`);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
function B(h, F, A) {
|
|
153
|
+
h.splice(h.indexOf(F), 0, A);
|
|
154
|
+
}
|
|
155
|
+
function p(h, F, A, y) {
|
|
156
|
+
for (var w = h.length, T = -1; ++T < w; ) if (F[h[T][0]].apply(A, y)) return !0;
|
|
157
|
+
return !1;
|
|
158
|
+
}
|
|
159
|
+
}), Je = I((u) => {
|
|
160
|
+
u.isRemarkParser = e, u.isRemarkCompiler = t;
|
|
161
|
+
function e(r) {
|
|
162
|
+
return !!(r && r.prototype && r.prototype.blockTokenizers);
|
|
163
|
+
}
|
|
164
|
+
function t(r) {
|
|
165
|
+
return !!(r && r.prototype && r.prototype.visitors);
|
|
166
|
+
}
|
|
167
|
+
}), rr = I((u, e) => {
|
|
168
|
+
var t = Je();
|
|
169
|
+
e.exports = c;
|
|
170
|
+
var r = 9, n = 32, o = 36, a = 48, i = 57, D = 92, l = ["math", "math-inline"], s = "math-display";
|
|
171
|
+
function c(E) {
|
|
172
|
+
let m = this.Parser, g = this.Compiler;
|
|
173
|
+
t.isRemarkParser(m) && C(m, E), t.isRemarkCompiler(g) && d(g);
|
|
174
|
+
}
|
|
175
|
+
function C(E, m) {
|
|
176
|
+
let g = E.prototype, x = g.inlineMethods;
|
|
177
|
+
B.locator = f, g.inlineTokenizers.math = B, x.splice(x.indexOf("text"), 0, "math");
|
|
178
|
+
function f(p, h) {
|
|
179
|
+
return p.indexOf("$", h);
|
|
180
|
+
}
|
|
181
|
+
function B(p, h, F) {
|
|
182
|
+
let A = h.length, y = !1, w = !1, T = 0, b, k, L, R, v, S, U;
|
|
183
|
+
if (h.charCodeAt(T) === D && (w = !0, T++), h.charCodeAt(T) === o) {
|
|
184
|
+
if (T++, w) return F ? !0 : p(h.slice(0, T))({ type: "text", value: "$" });
|
|
185
|
+
if (h.charCodeAt(T) === o && (y = !0, T++), L = h.charCodeAt(T), !(L === n || L === r)) {
|
|
186
|
+
for (R = T; T < A; ) {
|
|
187
|
+
if (k = L, L = h.charCodeAt(T + 1), k === o) {
|
|
188
|
+
if (b = h.charCodeAt(T - 1), b !== n && b !== r && (L !== L || L < a || L > i) && (!y || L === o)) {
|
|
189
|
+
v = T - 1, T++, y && T++, S = T;
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
} else k === D && (T++, L = h.charCodeAt(T + 1));
|
|
193
|
+
T++;
|
|
194
|
+
}
|
|
195
|
+
if (S !== void 0) return F ? !0 : (U = h.slice(R, v + 1), p(h.slice(0, S))({ type: "inlineMath", value: U, data: { hName: "span", hProperties: { className: l.concat(y && m.inlineMathDouble ? [s] : []) }, hChildren: [{ type: "text", value: U }] } }));
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
function d(E) {
|
|
201
|
+
let m = E.prototype;
|
|
202
|
+
m.visitors.inlineMath = g;
|
|
203
|
+
function g(x) {
|
|
204
|
+
let f = "$";
|
|
205
|
+
return (x.data && x.data.hProperties && x.data.hProperties.className || []).includes(s) && (f = "$$"), f + x.value + f;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}), nr = I((u, e) => {
|
|
209
|
+
var t = Je();
|
|
210
|
+
e.exports = s;
|
|
211
|
+
var r = 10, n = 32, o = 36, a = `
|
|
212
|
+
`, i = "$", D = 2, l = ["math", "math-display"];
|
|
213
|
+
function s() {
|
|
214
|
+
let d = this.Parser, E = this.Compiler;
|
|
215
|
+
t.isRemarkParser(d) && c(d), t.isRemarkCompiler(E) && C(E);
|
|
216
|
+
}
|
|
217
|
+
function c(d) {
|
|
218
|
+
let E = d.prototype, m = E.blockMethods, g = E.interruptParagraph, x = E.interruptList, f = E.interruptBlockquote;
|
|
219
|
+
E.blockTokenizers.math = B, m.splice(m.indexOf("fencedCode") + 1, 0, "math"), g.splice(g.indexOf("fencedCode") + 1, 0, ["math"]), x.splice(x.indexOf("fencedCode") + 1, 0, ["math"]), f.splice(f.indexOf("fencedCode") + 1, 0, ["math"]);
|
|
220
|
+
function B(p, h, F) {
|
|
221
|
+
var A = h.length, y = 0;
|
|
222
|
+
let w, T, b, k, L, R, v, S, U, j, _;
|
|
223
|
+
for (; y < A && h.charCodeAt(y) === n; ) y++;
|
|
224
|
+
for (L = y; y < A && h.charCodeAt(y) === o; ) y++;
|
|
225
|
+
if (R = y - L, !(R < D)) {
|
|
226
|
+
for (; y < A && h.charCodeAt(y) === n; ) y++;
|
|
227
|
+
for (v = y; y < A; ) {
|
|
228
|
+
if (w = h.charCodeAt(y), w === o) return;
|
|
229
|
+
if (w === r) break;
|
|
230
|
+
y++;
|
|
231
|
+
}
|
|
232
|
+
if (h.charCodeAt(y) === r) {
|
|
233
|
+
if (F) return !0;
|
|
234
|
+
for (T = [], v !== y && T.push(h.slice(v, y)), y++, b = h.indexOf(a, y + 1), b = b === -1 ? A : b; y < A; ) {
|
|
235
|
+
for (S = !1, j = y, _ = b, k = b, U = 0; k > j && h.charCodeAt(k - 1) === n; ) k--;
|
|
236
|
+
for (; k > j && h.charCodeAt(k - 1) === o; ) U++, k--;
|
|
237
|
+
for (R <= U && h.indexOf(i, j) === k && (S = !0, _ = k); j <= _ && j - y < L && h.charCodeAt(j) === n; ) j++;
|
|
238
|
+
if (S) for (; _ > j && h.charCodeAt(_ - 1) === n; ) _--;
|
|
239
|
+
if ((!S || j !== _) && T.push(h.slice(j, _)), S) break;
|
|
240
|
+
y = b + 1, b = h.indexOf(a, y + 1), b = b === -1 ? A : b;
|
|
241
|
+
}
|
|
242
|
+
return T = T.join(`
|
|
243
|
+
`), p(h.slice(0, b))({ type: "math", value: T, data: { hName: "div", hProperties: { className: l.concat() }, hChildren: [{ type: "text", value: T }] } });
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
function C(d) {
|
|
249
|
+
let E = d.prototype;
|
|
250
|
+
E.visitors.math = m;
|
|
251
|
+
function m(g) {
|
|
252
|
+
return `$$
|
|
253
|
+
` + g.value + `
|
|
254
|
+
$$`;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}), or = I((u, e) => {
|
|
258
|
+
var t = rr(), r = nr();
|
|
259
|
+
e.exports = n;
|
|
260
|
+
function n(o) {
|
|
261
|
+
var a = o || {};
|
|
262
|
+
r.call(this, a), t.call(this, a);
|
|
263
|
+
}
|
|
264
|
+
}), Uu = I((u, e) => {
|
|
265
|
+
e.exports = r;
|
|
266
|
+
var t = Object.prototype.hasOwnProperty;
|
|
267
|
+
function r() {
|
|
268
|
+
for (var n = {}, o = 0; o < arguments.length; o++) {
|
|
269
|
+
var a = arguments[o];
|
|
270
|
+
for (var i in a) t.call(a, i) && (n[i] = a[i]);
|
|
271
|
+
}
|
|
272
|
+
return n;
|
|
273
|
+
}
|
|
274
|
+
}), ir = I((u, e) => {
|
|
275
|
+
typeof Object.create == "function" ? e.exports = function(t, r) {
|
|
276
|
+
r && (t.super_ = r, t.prototype = Object.create(r.prototype, { constructor: { value: t, enumerable: !1, writable: !0, configurable: !0 } }));
|
|
277
|
+
} : e.exports = function(t, r) {
|
|
278
|
+
if (r) {
|
|
279
|
+
t.super_ = r;
|
|
280
|
+
var n = function() {
|
|
281
|
+
};
|
|
282
|
+
n.prototype = r.prototype, t.prototype = new n(), t.prototype.constructor = t;
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
}), ar = I((u, e) => {
|
|
286
|
+
var t = Uu(), r = ir();
|
|
287
|
+
e.exports = n;
|
|
288
|
+
function n(o) {
|
|
289
|
+
var a, i, D;
|
|
290
|
+
r(s, o), r(l, s), a = s.prototype;
|
|
291
|
+
for (i in a) D = a[i], D && typeof D == "object" && (a[i] = "concat" in D ? D.concat() : t(D));
|
|
292
|
+
return s;
|
|
293
|
+
function l(c) {
|
|
294
|
+
return o.apply(this, c);
|
|
295
|
+
}
|
|
296
|
+
function s() {
|
|
297
|
+
return this instanceof s ? o.apply(this, arguments) : new l(arguments);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
}), Dr = I((u, e) => {
|
|
301
|
+
e.exports = t;
|
|
302
|
+
function t(r, n, o) {
|
|
303
|
+
return a;
|
|
304
|
+
function a() {
|
|
305
|
+
var i = o || this, D = i[r];
|
|
306
|
+
return i[r] = !n, l;
|
|
307
|
+
function l() {
|
|
308
|
+
i[r] = D;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}), sr = I((u, e) => {
|
|
313
|
+
e.exports = t;
|
|
314
|
+
function t(r) {
|
|
315
|
+
for (var n = String(r), o = [], a = /\r?\n|\r/g; a.exec(n); ) o.push(a.lastIndex);
|
|
316
|
+
return o.push(n.length + 1), { toPoint: i, toPosition: i, toOffset: D };
|
|
317
|
+
function i(l) {
|
|
318
|
+
var s = -1;
|
|
319
|
+
if (l > -1 && l < o[o.length - 1]) {
|
|
320
|
+
for (; ++s < o.length; ) if (o[s] > l) return { line: s + 1, column: l - (o[s - 1] || 0) + 1, offset: l };
|
|
321
|
+
}
|
|
322
|
+
return {};
|
|
323
|
+
}
|
|
324
|
+
function D(l) {
|
|
325
|
+
var s = l && l.line, c = l && l.column, C;
|
|
326
|
+
return !isNaN(s) && !isNaN(c) && s - 1 in o && (C = (o[s - 2] || 0) + c - 1 || 0), C > -1 && C < o[o.length - 1] ? C : -1;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}), lr = I((u, e) => {
|
|
330
|
+
e.exports = r;
|
|
331
|
+
var t = "\\";
|
|
332
|
+
function r(n, o) {
|
|
333
|
+
return a;
|
|
334
|
+
function a(i) {
|
|
335
|
+
for (var D = 0, l = i.indexOf(t), s = n[o], c = [], C; l !== -1; ) c.push(i.slice(D, l)), D = l + 1, C = i.charAt(D), (!C || s.indexOf(C) === -1) && c.push(t), l = i.indexOf(t, D + 1);
|
|
336
|
+
return c.push(i.slice(D)), c.join("");
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}), cr = I((u, e) => {
|
|
340
|
+
e.exports = { AElig: "Æ", AMP: "&", Aacute: "Á", Acirc: "Â", Agrave: "À", Aring: "Å", Atilde: "Ã", Auml: "Ä", COPY: "©", Ccedil: "Ç", ETH: "Ð", Eacute: "É", Ecirc: "Ê", Egrave: "È", Euml: "Ë", GT: ">", Iacute: "Í", Icirc: "Î", Igrave: "Ì", Iuml: "Ï", LT: "<", Ntilde: "Ñ", Oacute: "Ó", Ocirc: "Ô", Ograve: "Ò", Oslash: "Ø", Otilde: "Õ", Ouml: "Ö", QUOT: '"', REG: "®", THORN: "Þ", Uacute: "Ú", Ucirc: "Û", Ugrave: "Ù", Uuml: "Ü", Yacute: "Ý", aacute: "á", acirc: "â", acute: "´", aelig: "æ", agrave: "à", amp: "&", aring: "å", atilde: "ã", auml: "ä", brvbar: "¦", ccedil: "ç", cedil: "¸", cent: "¢", copy: "©", curren: "¤", deg: "°", divide: "÷", eacute: "é", ecirc: "ê", egrave: "è", eth: "ð", euml: "ë", frac12: "½", frac14: "¼", frac34: "¾", gt: ">", iacute: "í", icirc: "î", iexcl: "¡", igrave: "ì", iquest: "¿", iuml: "ï", laquo: "«", lt: "<", macr: "¯", micro: "µ", middot: "·", nbsp: " ", not: "¬", ntilde: "ñ", oacute: "ó", ocirc: "ô", ograve: "ò", ordf: "ª", ordm: "º", oslash: "ø", otilde: "õ", ouml: "ö", para: "¶", plusmn: "±", pound: "£", quot: '"', raquo: "»", reg: "®", sect: "§", shy: "", sup1: "¹", sup2: "²", sup3: "³", szlig: "ß", thorn: "þ", times: "×", uacute: "ú", ucirc: "û", ugrave: "ù", uml: "¨", uuml: "ü", yacute: "ý", yen: "¥", yuml: "ÿ" };
|
|
341
|
+
}), fr = I((u, e) => {
|
|
342
|
+
e.exports = { 0: "�", 128: "€", 130: "‚", 131: "ƒ", 132: "„", 133: "…", 134: "†", 135: "‡", 136: "ˆ", 137: "‰", 138: "Š", 139: "‹", 140: "Œ", 142: "Ž", 145: "‘", 146: "’", 147: "“", 148: "”", 149: "•", 150: "–", 151: "—", 152: "˜", 153: "™", 154: "š", 155: "›", 156: "œ", 158: "ž", 159: "Ÿ" };
|
|
343
|
+
}), Mu = I((u, e) => {
|
|
344
|
+
e.exports = t;
|
|
345
|
+
function t(r) {
|
|
346
|
+
var n = typeof r == "string" ? r.charCodeAt(0) : r;
|
|
347
|
+
return n >= 48 && n <= 57;
|
|
348
|
+
}
|
|
349
|
+
}), pr = I((u, e) => {
|
|
350
|
+
e.exports = t;
|
|
351
|
+
function t(r) {
|
|
352
|
+
var n = typeof r == "string" ? r.charCodeAt(0) : r;
|
|
353
|
+
return n >= 97 && n <= 102 || n >= 65 && n <= 70 || n >= 48 && n <= 57;
|
|
354
|
+
}
|
|
355
|
+
}), Zu = I((u, e) => {
|
|
356
|
+
e.exports = t;
|
|
357
|
+
function t(r) {
|
|
358
|
+
var n = typeof r == "string" ? r.charCodeAt(0) : r;
|
|
359
|
+
return n >= 97 && n <= 122 || n >= 65 && n <= 90;
|
|
360
|
+
}
|
|
361
|
+
}), hr = I((u, e) => {
|
|
362
|
+
var t = Zu(), r = Mu();
|
|
363
|
+
e.exports = n;
|
|
364
|
+
function n(o) {
|
|
365
|
+
return t(o) || r(o);
|
|
366
|
+
}
|
|
367
|
+
}), Fr = I((u, e) => {
|
|
368
|
+
e.exports = { AEli: "Æ", AElig: "Æ", AM: "&", AMP: "&", Aacut: "Á", Aacute: "Á", Abreve: "Ă", Acir: "Â", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrav: "À", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "", Arin: "Å", Aring: "Å", Ascr: "𝒜", Assign: "≔", Atild: "Ã", Atilde: "Ã", Aum: "Ä", Auml: "Ä", Backslash: "∖", Barv: "⫧", Barwed: "⌆", Bcy: "Б", Because: "∵", Bernoullis: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", Bscr: "ℬ", Bumpeq: "≎", CHcy: "Ч", COP: "©", COPY: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", Cayleys: "ℭ", Ccaron: "Č", Ccedi: "Ç", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", CenterDot: "·", Cfr: "ℭ", Chi: "Χ", CircleDot: "⊙", CircleMinus: "⊖", CirclePlus: "⊕", CircleTimes: "⊗", ClockwiseContourIntegral: "∲", CloseCurlyDoubleQuote: "”", CloseCurlyQuote: "’", Colon: "∷", Colone: "⩴", Congruent: "≡", Conint: "∯", ContourIntegral: "∮", Copf: "ℂ", Coproduct: "∐", CounterClockwiseContourIntegral: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", DD: "ⅅ", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", Darr: "↡", Dashv: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", DiacriticalDot: "˙", DiacriticalDoubleAcute: "˝", DiacriticalGrave: "`", DiacriticalTilde: "˜", Diamond: "⋄", DifferentialD: "ⅆ", Dopf: "𝔻", Dot: "¨", DotDot: "⃜", DotEqual: "≐", DoubleContourIntegral: "∯", DoubleDot: "¨", DoubleDownArrow: "⇓", DoubleLeftArrow: "⇐", DoubleLeftRightArrow: "⇔", DoubleLeftTee: "⫤", DoubleLongLeftArrow: "⟸", DoubleLongLeftRightArrow: "⟺", DoubleLongRightArrow: "⟹", DoubleRightArrow: "⇒", DoubleRightTee: "⊨", DoubleUpArrow: "⇑", DoubleUpDownArrow: "⇕", DoubleVerticalBar: "∥", DownArrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", DownTeeArrow: "↧", Downarrow: "⇓", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ET: "Ð", ETH: "Ð", Eacut: "É", Eacute: "É", Ecaron: "Ě", Ecir: "Ê", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrav: "È", Egrave: "È", Element: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", Equilibrium: "⇌", Escr: "ℰ", Esim: "⩳", Eta: "Η", Eum: "Ë", Euml: "Ë", Exists: "∃", ExponentialE: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", Fopf: "𝔽", ForAll: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", G: ">", GT: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", GreaterEqualLess: "⋛", GreaterFullEqual: "≧", GreaterGreater: "⪢", GreaterLess: "≷", GreaterSlantEqual: "⩾", GreaterTilde: "≳", Gscr: "𝒢", Gt: "≫", HARDcy: "Ъ", Hacek: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", HilbertSpace: "ℋ", Hopf: "ℍ", HorizontalLine: "─", Hscr: "ℋ", Hstrok: "Ħ", HumpDownHump: "≎", HumpEqual: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacut: "Í", Iacute: "Í", Icir: "Î", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Igrav: "Ì", Igrave: "Ì", Im: "ℑ", Imacr: "Ī", ImaginaryI: "ⅈ", Implies: "⇒", Int: "∬", Integral: "∫", Intersection: "⋂", InvisibleComma: "", InvisibleTimes: "", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", Itilde: "Ĩ", Iukcy: "І", Ium: "Ï", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", L: "<", LT: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Larr: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", LeftArrow: "←", LeftArrowBar: "⇤", LeftArrowRightArrow: "⇆", LeftCeiling: "⌈", LeftDoubleBracket: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", LeftRightArrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", LeftTeeArrow: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", LeftVectorBar: "⥒", Leftarrow: "⇐", Leftrightarrow: "⇔", LessEqualGreater: "⋚", LessFullEqual: "≦", LessGreater: "≶", LessLess: "⪡", LessSlantEqual: "⩽", LessTilde: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", LongLeftRightArrow: "⟷", LongRightArrow: "⟶", Longleftarrow: "⟸", Longleftrightarrow: "⟺", Longrightarrow: "⟹", Lopf: "𝕃", LowerLeftArrow: "↙", LowerRightArrow: "↘", Lscr: "ℒ", Lsh: "↰", Lstrok: "Ł", Lt: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mfr: "𝔐", MinusPlus: "∓", Mopf: "𝕄", Mscr: "ℳ", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "", NegativeThickSpace: "", NegativeThinSpace: "", NegativeVeryThinSpace: "", NestedGreaterGreater: "≫", NestedLessLess: "≪", NewLine: `
|
|
369
|
+
`, Nfr: "𝔑", NoBreak: "", NonBreakingSpace: " ", Nopf: "ℕ", Not: "⫬", NotCongruent: "≢", NotCupCap: "≭", NotDoubleVerticalBar: "∦", NotElement: "∉", NotEqual: "≠", NotEqualTilde: "≂̸", NotExists: "∄", NotGreater: "≯", NotGreaterEqual: "≱", NotGreaterFullEqual: "≧̸", NotGreaterGreater: "≫̸", NotGreaterLess: "≹", NotGreaterSlantEqual: "⩾̸", NotGreaterTilde: "≵", NotHumpDownHump: "≎̸", NotHumpEqual: "≏̸", NotLeftTriangle: "⋪", NotLeftTriangleBar: "⧏̸", NotLeftTriangleEqual: "⋬", NotLess: "≮", NotLessEqual: "≰", NotLessGreater: "≸", NotLessLess: "≪̸", NotLessSlantEqual: "⩽̸", NotLessTilde: "≴", NotNestedGreaterGreater: "⪢̸", NotNestedLessLess: "⪡̸", NotPrecedes: "⊀", NotPrecedesEqual: "⪯̸", NotPrecedesSlantEqual: "⋠", NotReverseElement: "∌", NotRightTriangle: "⋫", NotRightTriangleBar: "⧐̸", NotRightTriangleEqual: "⋭", NotSquareSubset: "⊏̸", NotSquareSubsetEqual: "⋢", NotSquareSuperset: "⊐̸", NotSquareSupersetEqual: "⋣", NotSubset: "⊂⃒", NotSubsetEqual: "⊈", NotSucceeds: "⊁", NotSucceedsEqual: "⪰̸", NotSucceedsSlantEqual: "⋡", NotSucceedsTilde: "≿̸", NotSuperset: "⊃⃒", NotSupersetEqual: "⊉", NotTilde: "≁", NotTildeEqual: "≄", NotTildeFullEqual: "≇", NotTildeTilde: "≉", NotVerticalBar: "∤", Nscr: "𝒩", Ntild: "Ñ", Ntilde: "Ñ", Nu: "Ν", OElig: "Œ", Oacut: "Ó", Oacute: "Ó", Ocir: "Ô", Ocirc: "Ô", Ocy: "О", Odblac: "Ő", Ofr: "𝔒", Ograv: "Ò", Ograve: "Ò", Omacr: "Ō", Omega: "Ω", Omicron: "Ο", Oopf: "𝕆", OpenCurlyDoubleQuote: "“", OpenCurlyQuote: "‘", Or: "⩔", Oscr: "𝒪", Oslas: "Ø", Oslash: "Ø", Otild: "Õ", Otilde: "Õ", Otimes: "⨷", Oum: "Ö", Ouml: "Ö", OverBar: "‾", OverBrace: "⏞", OverBracket: "⎴", OverParenthesis: "⏜", PartialD: "∂", Pcy: "П", Pfr: "𝔓", Phi: "Φ", Pi: "Π", PlusMinus: "±", Poincareplane: "ℌ", Popf: "ℙ", Pr: "⪻", Precedes: "≺", PrecedesEqual: "⪯", PrecedesSlantEqual: "≼", PrecedesTilde: "≾", Prime: "″", Product: "∏", Proportion: "∷", Proportional: "∝", Pscr: "𝒫", Psi: "Ψ", QUO: '"', QUOT: '"', Qfr: "𝔔", Qopf: "ℚ", Qscr: "𝒬", RBarr: "⤐", RE: "®", REG: "®", Racute: "Ŕ", Rang: "⟫", Rarr: "↠", Rarrtl: "⤖", Rcaron: "Ř", Rcedil: "Ŗ", Rcy: "Р", Re: "ℜ", ReverseElement: "∋", ReverseEquilibrium: "⇋", ReverseUpEquilibrium: "⥯", Rfr: "ℜ", Rho: "Ρ", RightAngleBracket: "⟩", RightArrow: "→", RightArrowBar: "⇥", RightArrowLeftArrow: "⇄", RightCeiling: "⌉", RightDoubleBracket: "⟧", RightDownTeeVector: "⥝", RightDownVector: "⇂", RightDownVectorBar: "⥕", RightFloor: "⌋", RightTee: "⊢", RightTeeArrow: "↦", RightTeeVector: "⥛", RightTriangle: "⊳", RightTriangleBar: "⧐", RightTriangleEqual: "⊵", RightUpDownVector: "⥏", RightUpTeeVector: "⥜", RightUpVector: "↾", RightUpVectorBar: "⥔", RightVector: "⇀", RightVectorBar: "⥓", Rightarrow: "⇒", Ropf: "ℝ", RoundImplies: "⥰", Rrightarrow: "⇛", Rscr: "ℛ", Rsh: "↱", RuleDelayed: "⧴", SHCHcy: "Щ", SHcy: "Ш", SOFTcy: "Ь", Sacute: "Ś", Sc: "⪼", Scaron: "Š", Scedil: "Ş", Scirc: "Ŝ", Scy: "С", Sfr: "𝔖", ShortDownArrow: "↓", ShortLeftArrow: "←", ShortRightArrow: "→", ShortUpArrow: "↑", Sigma: "Σ", SmallCircle: "∘", Sopf: "𝕊", Sqrt: "√", Square: "□", SquareIntersection: "⊓", SquareSubset: "⊏", SquareSubsetEqual: "⊑", SquareSuperset: "⊐", SquareSupersetEqual: "⊒", SquareUnion: "⊔", Sscr: "𝒮", Star: "⋆", Sub: "⋐", Subset: "⋐", SubsetEqual: "⊆", Succeeds: "≻", SucceedsEqual: "⪰", SucceedsSlantEqual: "≽", SucceedsTilde: "≿", SuchThat: "∋", Sum: "∑", Sup: "⋑", Superset: "⊃", SupersetEqual: "⊇", Supset: "⋑", THOR: "Þ", THORN: "Þ", TRADE: "™", TSHcy: "Ћ", TScy: "Ц", Tab: " ", Tau: "Τ", Tcaron: "Ť", Tcedil: "Ţ", Tcy: "Т", Tfr: "𝔗", Therefore: "∴", Theta: "Θ", ThickSpace: " ", ThinSpace: " ", Tilde: "∼", TildeEqual: "≃", TildeFullEqual: "≅", TildeTilde: "≈", Topf: "𝕋", TripleDot: "⃛", Tscr: "𝒯", Tstrok: "Ŧ", Uacut: "Ú", Uacute: "Ú", Uarr: "↟", Uarrocir: "⥉", Ubrcy: "Ў", Ubreve: "Ŭ", Ucir: "Û", Ucirc: "Û", Ucy: "У", Udblac: "Ű", Ufr: "𝔘", Ugrav: "Ù", Ugrave: "Ù", Umacr: "Ū", UnderBar: "_", UnderBrace: "⏟", UnderBracket: "⎵", UnderParenthesis: "⏝", Union: "⋃", UnionPlus: "⊎", Uogon: "Ų", Uopf: "𝕌", UpArrow: "↑", UpArrowBar: "⤒", UpArrowDownArrow: "⇅", UpDownArrow: "↕", UpEquilibrium: "⥮", UpTee: "⊥", UpTeeArrow: "↥", Uparrow: "⇑", Updownarrow: "⇕", UpperLeftArrow: "↖", UpperRightArrow: "↗", Upsi: "ϒ", Upsilon: "Υ", Uring: "Ů", Uscr: "𝒰", Utilde: "Ũ", Uum: "Ü", Uuml: "Ü", VDash: "⊫", Vbar: "⫫", Vcy: "В", Vdash: "⊩", Vdashl: "⫦", Vee: "⋁", Verbar: "‖", Vert: "‖", VerticalBar: "∣", VerticalLine: "|", VerticalSeparator: "❘", VerticalTilde: "≀", VeryThinSpace: " ", Vfr: "𝔙", Vopf: "𝕍", Vscr: "𝒱", Vvdash: "⊪", Wcirc: "Ŵ", Wedge: "⋀", Wfr: "𝔚", Wopf: "𝕎", Wscr: "𝒲", Xfr: "𝔛", Xi: "Ξ", Xopf: "𝕏", Xscr: "𝒳", YAcy: "Я", YIcy: "Ї", YUcy: "Ю", Yacut: "Ý", Yacute: "Ý", Ycirc: "Ŷ", Ycy: "Ы", Yfr: "𝔜", Yopf: "𝕐", Yscr: "𝒴", Yuml: "Ÿ", ZHcy: "Ж", Zacute: "Ź", Zcaron: "Ž", Zcy: "З", Zdot: "Ż", ZeroWidthSpace: "", Zeta: "Ζ", Zfr: "ℨ", Zopf: "ℤ", Zscr: "𝒵", aacut: "á", aacute: "á", abreve: "ă", ac: "∾", acE: "∾̳", acd: "∿", acir: "â", acirc: "â", acut: "´", acute: "´", acy: "а", aeli: "æ", aelig: "æ", af: "", afr: "𝔞", agrav: "à", agrave: "à", alefsym: "ℵ", aleph: "ℵ", alpha: "α", amacr: "ā", amalg: "⨿", am: "&", amp: "&", and: "∧", andand: "⩕", andd: "⩜", andslope: "⩘", andv: "⩚", ang: "∠", ange: "⦤", angle: "∠", angmsd: "∡", angmsdaa: "⦨", angmsdab: "⦩", angmsdac: "⦪", angmsdad: "⦫", angmsdae: "⦬", angmsdaf: "⦭", angmsdag: "⦮", angmsdah: "⦯", angrt: "∟", angrtvb: "⊾", angrtvbd: "⦝", angsph: "∢", angst: "Å", angzarr: "⍼", aogon: "ą", aopf: "𝕒", ap: "≈", apE: "⩰", apacir: "⩯", ape: "≊", apid: "≋", apos: "'", approx: "≈", approxeq: "≊", arin: "å", aring: "å", ascr: "𝒶", ast: "*", asymp: "≈", asympeq: "≍", atild: "ã", atilde: "ã", aum: "ä", auml: "ä", awconint: "∳", awint: "⨑", bNot: "⫭", backcong: "≌", backepsilon: "϶", backprime: "‵", backsim: "∽", backsimeq: "⋍", barvee: "⊽", barwed: "⌅", barwedge: "⌅", bbrk: "⎵", bbrktbrk: "⎶", bcong: "≌", bcy: "б", bdquo: "„", becaus: "∵", because: "∵", bemptyv: "⦰", bepsi: "϶", bernou: "ℬ", beta: "β", beth: "ℶ", between: "≬", bfr: "𝔟", bigcap: "⋂", bigcirc: "◯", bigcup: "⋃", bigodot: "⨀", bigoplus: "⨁", bigotimes: "⨂", bigsqcup: "⨆", bigstar: "★", bigtriangledown: "▽", bigtriangleup: "△", biguplus: "⨄", bigvee: "⋁", bigwedge: "⋀", bkarow: "⤍", blacklozenge: "⧫", blacksquare: "▪", blacktriangle: "▴", blacktriangledown: "▾", blacktriangleleft: "◂", blacktriangleright: "▸", blank: "␣", blk12: "▒", blk14: "░", blk34: "▓", block: "█", bne: "=⃥", bnequiv: "≡⃥", bnot: "⌐", bopf: "𝕓", bot: "⊥", bottom: "⊥", bowtie: "⋈", boxDL: "╗", boxDR: "╔", boxDl: "╖", boxDr: "╓", boxH: "═", boxHD: "╦", boxHU: "╩", boxHd: "╤", boxHu: "╧", boxUL: "╝", boxUR: "╚", boxUl: "╜", boxUr: "╙", boxV: "║", boxVH: "╬", boxVL: "╣", boxVR: "╠", boxVh: "╫", boxVl: "╢", boxVr: "╟", boxbox: "⧉", boxdL: "╕", boxdR: "╒", boxdl: "┐", boxdr: "┌", boxh: "─", boxhD: "╥", boxhU: "╨", boxhd: "┬", boxhu: "┴", boxminus: "⊟", boxplus: "⊞", boxtimes: "⊠", boxuL: "╛", boxuR: "╘", boxul: "┘", boxur: "└", boxv: "│", boxvH: "╪", boxvL: "╡", boxvR: "╞", boxvh: "┼", boxvl: "┤", boxvr: "├", bprime: "‵", breve: "˘", brvba: "¦", brvbar: "¦", bscr: "𝒷", bsemi: "⁏", bsim: "∽", bsime: "⋍", bsol: "\\", bsolb: "⧅", bsolhsub: "⟈", bull: "•", bullet: "•", bump: "≎", bumpE: "⪮", bumpe: "≏", bumpeq: "≏", cacute: "ć", cap: "∩", capand: "⩄", capbrcup: "⩉", capcap: "⩋", capcup: "⩇", capdot: "⩀", caps: "∩︀", caret: "⁁", caron: "ˇ", ccaps: "⩍", ccaron: "č", ccedi: "ç", ccedil: "ç", ccirc: "ĉ", ccups: "⩌", ccupssm: "⩐", cdot: "ċ", cedi: "¸", cedil: "¸", cemptyv: "⦲", cen: "¢", cent: "¢", centerdot: "·", cfr: "𝔠", chcy: "ч", check: "✓", checkmark: "✓", chi: "χ", cir: "○", cirE: "⧃", circ: "ˆ", circeq: "≗", circlearrowleft: "↺", circlearrowright: "↻", circledR: "®", circledS: "Ⓢ", circledast: "⊛", circledcirc: "⊚", circleddash: "⊝", cire: "≗", cirfnint: "⨐", cirmid: "⫯", cirscir: "⧂", clubs: "♣", clubsuit: "♣", colon: ":", colone: "≔", coloneq: "≔", comma: ",", commat: "@", comp: "∁", compfn: "∘", complement: "∁", complexes: "ℂ", cong: "≅", congdot: "⩭", conint: "∮", copf: "𝕔", coprod: "∐", cop: "©", copy: "©", copysr: "℗", crarr: "↵", cross: "✗", cscr: "𝒸", csub: "⫏", csube: "⫑", csup: "⫐", csupe: "⫒", ctdot: "⋯", cudarrl: "⤸", cudarrr: "⤵", cuepr: "⋞", cuesc: "⋟", cularr: "↶", cularrp: "⤽", cup: "∪", cupbrcap: "⩈", cupcap: "⩆", cupcup: "⩊", cupdot: "⊍", cupor: "⩅", cups: "∪︀", curarr: "↷", curarrm: "⤼", curlyeqprec: "⋞", curlyeqsucc: "⋟", curlyvee: "⋎", curlywedge: "⋏", curre: "¤", curren: "¤", curvearrowleft: "↶", curvearrowright: "↷", cuvee: "⋎", cuwed: "⋏", cwconint: "∲", cwint: "∱", cylcty: "⌭", dArr: "⇓", dHar: "⥥", dagger: "†", daleth: "ℸ", darr: "↓", dash: "‐", dashv: "⊣", dbkarow: "⤏", dblac: "˝", dcaron: "ď", dcy: "д", dd: "ⅆ", ddagger: "‡", ddarr: "⇊", ddotseq: "⩷", de: "°", deg: "°", delta: "δ", demptyv: "⦱", dfisht: "⥿", dfr: "𝔡", dharl: "⇃", dharr: "⇂", diam: "⋄", diamond: "⋄", diamondsuit: "♦", diams: "♦", die: "¨", digamma: "ϝ", disin: "⋲", div: "÷", divid: "÷", divide: "÷", divideontimes: "⋇", divonx: "⋇", djcy: "ђ", dlcorn: "⌞", dlcrop: "⌍", dollar: "$", dopf: "𝕕", dot: "˙", doteq: "≐", doteqdot: "≑", dotminus: "∸", dotplus: "∔", dotsquare: "⊡", doublebarwedge: "⌆", downarrow: "↓", downdownarrows: "⇊", downharpoonleft: "⇃", downharpoonright: "⇂", drbkarow: "⤐", drcorn: "⌟", drcrop: "⌌", dscr: "𝒹", dscy: "ѕ", dsol: "⧶", dstrok: "đ", dtdot: "⋱", dtri: "▿", dtrif: "▾", duarr: "⇵", duhar: "⥯", dwangle: "⦦", dzcy: "џ", dzigrarr: "⟿", eDDot: "⩷", eDot: "≑", eacut: "é", eacute: "é", easter: "⩮", ecaron: "ě", ecir: "ê", ecirc: "ê", ecolon: "≕", ecy: "э", edot: "ė", ee: "ⅇ", efDot: "≒", efr: "𝔢", eg: "⪚", egrav: "è", egrave: "è", egs: "⪖", egsdot: "⪘", el: "⪙", elinters: "⏧", ell: "ℓ", els: "⪕", elsdot: "⪗", emacr: "ē", empty: "∅", emptyset: "∅", emptyv: "∅", emsp13: " ", emsp14: " ", emsp: " ", eng: "ŋ", ensp: " ", eogon: "ę", eopf: "𝕖", epar: "⋕", eparsl: "⧣", eplus: "⩱", epsi: "ε", epsilon: "ε", epsiv: "ϵ", eqcirc: "≖", eqcolon: "≕", eqsim: "≂", eqslantgtr: "⪖", eqslantless: "⪕", equals: "=", equest: "≟", equiv: "≡", equivDD: "⩸", eqvparsl: "⧥", erDot: "≓", erarr: "⥱", escr: "ℯ", esdot: "≐", esim: "≂", eta: "η", et: "ð", eth: "ð", eum: "ë", euml: "ë", euro: "€", excl: "!", exist: "∃", expectation: "ℰ", exponentiale: "ⅇ", fallingdotseq: "≒", fcy: "ф", female: "♀", ffilig: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", forall: "∀", fork: "⋔", forkv: "⫙", fpartint: "⨍", frac1: "¼", frac12: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac3: "¾", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", fscr: "𝒻", gE: "≧", gEl: "⪌", gacute: "ǵ", gamma: "γ", gammad: "ϝ", gap: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", ge: "≥", gel: "⋛", geq: "≥", geqq: "≧", geqslant: "⩾", ges: "⩾", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gg: "≫", ggg: "⋙", gimel: "ℷ", gjcy: "ѓ", gl: "≷", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gneqq: "≩", gnsim: "⋧", gopf: "𝕘", grave: "`", gscr: "ℊ", gsim: "≳", gsime: "⪎", gsiml: "⪐", g: ">", gt: ">", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrapprox: "⪆", gtrarr: "⥸", gtrdot: "⋗", gtreqless: "⋛", gtreqqless: "⪌", gtrless: "≷", gtrsim: "≳", gvertneqq: "≩︀", gvnE: "≩︀", hArr: "⇔", hairsp: " ", half: "½", hamilt: "ℋ", hardcy: "ъ", harr: "↔", harrcir: "⥈", harrw: "↭", hbar: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", hkswarow: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", hookrightarrow: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hslash: "ℏ", hstrok: "ħ", hybull: "⁃", hyphen: "‐", iacut: "í", iacute: "í", ic: "", icir: "î", icirc: "î", icy: "и", iecy: "е", iexc: "¡", iexcl: "¡", iff: "⇔", ifr: "𝔦", igrav: "ì", igrave: "ì", ii: "ⅈ", iiiint: "⨌", iiint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", image: "ℑ", imagline: "ℐ", imagpart: "ℑ", imath: "ı", imof: "⊷", imped: "Ƶ", in: "∈", incare: "℅", infin: "∞", infintie: "⧝", inodot: "ı", int: "∫", intcal: "⊺", integers: "ℤ", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iprod: "⨼", iques: "¿", iquest: "¿", iscr: "𝒾", isin: "∈", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", isinv: "∈", it: "", itilde: "ĩ", iukcy: "і", ium: "ï", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAarr: "⇚", lArr: "⇐", lAtail: "⤛", lBarr: "⤎", lE: "≦", lEg: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lagran: "ℒ", lambda: "λ", lang: "⟨", langd: "⦑", langle: "⟨", lap: "⪅", laqu: "«", laquo: "«", larr: "←", larrb: "⇤", larrbfs: "⤟", larrfs: "⤝", larrhk: "↩", larrlp: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lbrack: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lceil: "⌈", lcub: "{", lcy: "л", ldca: "⤶", ldquo: "“", ldquor: "„", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leftarrow: "←", leftarrowtail: "↢", leftharpoondown: "↽", leftharpoonup: "↼", leftleftarrows: "⇇", leftrightarrow: "↔", leftrightarrows: "⇆", leftrightharpoons: "⇋", leftrightsquigarrow: "↭", leftthreetimes: "⋋", leg: "⋚", leq: "≤", leqq: "≦", leqslant: "⩽", les: "⩽", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessapprox: "⪅", lessdot: "⋖", lesseqgtr: "⋚", lesseqqgtr: "⪋", lessgtr: "≶", lesssim: "≲", lfisht: "⥼", lfloor: "⌊", lfr: "𝔩", lg: "≶", lgE: "⪑", lhard: "↽", lharu: "↼", lharul: "⥪", lhblk: "▄", ljcy: "љ", ll: "≪", llarr: "⇇", llcorner: "⌞", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lneqq: "≨", lnsim: "⋦", loang: "⟬", loarr: "⇽", lobrk: "⟦", longleftarrow: "⟵", longleftrightarrow: "⟷", longmapsto: "⟼", longrightarrow: "⟶", looparrowleft: "↫", looparrowright: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", lowbar: "_", loz: "◊", lozenge: "◊", lozf: "⧫", lpar: "(", lparlt: "⦓", lrarr: "⇆", lrcorner: "⌟", lrhar: "⇋", lrhard: "⥭", lrm: "", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsh: "↰", lsim: "≲", lsime: "⪍", lsimg: "⪏", lsqb: "[", lsquo: "‘", lsquor: "‚", lstrok: "ł", l: "<", lt: "<", ltcc: "⪦", ltcir: "⩹", ltdot: "⋖", lthree: "⋋", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", ltrie: "⊴", ltrif: "◂", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", mac: "¯", macr: "¯", male: "♂", malt: "✠", maltese: "✠", map: "↦", mapsto: "↦", mapstodown: "↧", mapstoleft: "↤", mapstoup: "↥", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", measuredangle: "∡", mfr: "𝔪", mho: "℧", micr: "µ", micro: "µ", mid: "∣", midast: "*", midcir: "⫰", middo: "·", middot: "·", minus: "−", minusb: "⊟", minusd: "∸", minusdu: "⨪", mlcp: "⫛", mldr: "…", mnplus: "∓", models: "⊧", mopf: "𝕞", mp: "∓", mscr: "𝓂", mstpos: "∾", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nGtv: "≫̸", nLeftarrow: "⇍", nLeftrightarrow: "⇎", nLl: "⋘̸", nLt: "≪⃒", nLtv: "≪̸", nRightarrow: "⇏", nVDash: "⊯", nVdash: "⊮", nabla: "∇", nacute: "ń", nang: "∠⃒", nap: "≉", napE: "⩰̸", napid: "≋̸", napos: "ʼn", napprox: "≉", natur: "♮", natural: "♮", naturals: "ℕ", nbs: " ", nbsp: " ", nbump: "≎̸", nbumpe: "≏̸", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncong: "≇", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", ne: "≠", neArr: "⇗", nearhk: "⤤", nearr: "↗", nearrow: "↗", nedot: "≐̸", nequiv: "≢", nesear: "⤨", nesim: "≂̸", nexist: "∄", nexists: "∄", nfr: "𝔫", ngE: "≧̸", nge: "≱", ngeq: "≱", ngeqq: "≧̸", ngeqslant: "⩾̸", nges: "⩾̸", ngsim: "≵", ngt: "≯", ngtr: "≯", nhArr: "⇎", nharr: "↮", nhpar: "⫲", ni: "∋", nis: "⋼", nisd: "⋺", niv: "∋", njcy: "њ", nlArr: "⇍", nlE: "≦̸", nlarr: "↚", nldr: "‥", nle: "≰", nleftarrow: "↚", nleftrightarrow: "↮", nleq: "≰", nleqq: "≦̸", nleqslant: "⩽̸", nles: "⩽̸", nless: "≮", nlsim: "≴", nlt: "≮", nltri: "⋪", nltrie: "⋬", nmid: "∤", nopf: "𝕟", no: "¬", not: "¬", notin: "∉", notinE: "⋹̸", notindot: "⋵̸", notinva: "∉", notinvb: "⋷", notinvc: "⋶", notni: "∌", notniva: "∌", notnivb: "⋾", notnivc: "⋽", npar: "∦", nparallel: "∦", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", npr: "⊀", nprcue: "⋠", npre: "⪯̸", nprec: "⊀", npreceq: "⪯̸", nrArr: "⇏", nrarr: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nrightarrow: "↛", nrtri: "⋫", nrtrie: "⋭", nsc: "⊁", nsccue: "⋡", nsce: "⪰̸", nscr: "𝓃", nshortmid: "∤", nshortparallel: "∦", nsim: "≁", nsime: "≄", nsimeq: "≄", nsmid: "∤", nspar: "∦", nsqsube: "⋢", nsqsupe: "⋣", nsub: "⊄", nsubE: "⫅̸", nsube: "⊈", nsubset: "⊂⃒", nsubseteq: "⊈", nsubseteqq: "⫅̸", nsucc: "⊁", nsucceq: "⪰̸", nsup: "⊅", nsupE: "⫆̸", nsupe: "⊉", nsupset: "⊃⃒", nsupseteq: "⊉", nsupseteqq: "⫆̸", ntgl: "≹", ntild: "ñ", ntilde: "ñ", ntlg: "≸", ntriangleleft: "⋪", ntrianglelefteq: "⋬", ntriangleright: "⋫", ntrianglerighteq: "⋭", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwarr: "↖", nwarrow: "↖", nwnear: "⤧", oS: "Ⓢ", oacut: "ó", oacute: "ó", oast: "⊛", ocir: "ô", ocirc: "ô", ocy: "о", odash: "⊝", odblac: "ő", odiv: "⨸", odot: "⊙", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograv: "ò", ograve: "ò", ogt: "⧁", ohbar: "⦵", ohm: "Ω", oint: "∮", olarr: "↺", olcir: "⦾", olcross: "⦻", oline: "‾", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", ominus: "⊖", oopf: "𝕠", opar: "⦷", operp: "⦹", oplus: "⊕", or: "∨", orarr: "↻", ord: "º", order: "ℴ", orderof: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oscr: "ℴ", oslas: "ø", oslash: "ø", osol: "⊘", otild: "õ", otilde: "õ", otimes: "⊗", otimesas: "⨶", oum: "ö", ouml: "ö", ovbar: "⌽", par: "¶", para: "¶", parallel: "∥", parsim: "⫳", parsl: "⫽", part: "∂", pcy: "п", percnt: "%", period: ".", permil: "‰", perp: "⊥", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", phmmat: "ℳ", phone: "☎", pi: "π", pitchfork: "⋔", piv: "ϖ", planck: "ℏ", planckh: "ℎ", plankv: "ℏ", plus: "+", plusacir: "⨣", plusb: "⊞", pluscir: "⨢", plusdo: "∔", plusdu: "⨥", pluse: "⩲", plusm: "±", plusmn: "±", plussim: "⨦", plustwo: "⨧", pm: "±", pointint: "⨕", popf: "𝕡", poun: "£", pound: "£", pr: "≺", prE: "⪳", prap: "⪷", prcue: "≼", pre: "⪯", prec: "≺", precapprox: "⪷", preccurlyeq: "≼", preceq: "⪯", precnapprox: "⪹", precneqq: "⪵", precnsim: "⋨", precsim: "≾", prime: "′", primes: "ℙ", prnE: "⪵", prnap: "⪹", prnsim: "⋨", prod: "∏", profalar: "⌮", profline: "⌒", profsurf: "⌓", prop: "∝", propto: "∝", prsim: "≾", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qint: "⨌", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quaternions: "ℍ", quatint: "⨖", quest: "?", questeq: "≟", quo: '"', quot: '"', rAarr: "⇛", rArr: "⇒", rAtail: "⤜", rBarr: "⤏", rHar: "⥤", race: "∽̱", racute: "ŕ", radic: "√", raemptyv: "⦳", rang: "⟩", rangd: "⦒", range: "⦥", rangle: "⟩", raqu: "»", raquo: "»", rarr: "→", rarrap: "⥵", rarrb: "⇥", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrhk: "↪", rarrlp: "↬", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rarrw: "↝", ratail: "⤚", ratio: "∶", rationals: "ℚ", rbarr: "⤍", rbbrk: "❳", rbrace: "}", rbrack: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rceil: "⌉", rcub: "}", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdquo: "”", rdquor: "”", rdsh: "↳", real: "ℜ", realine: "ℛ", realpart: "ℜ", reals: "ℝ", rect: "▭", re: "®", reg: "®", rfisht: "⥽", rfloor: "⌋", rfr: "𝔯", rhard: "⇁", rharu: "⇀", rharul: "⥬", rho: "ρ", rhov: "ϱ", rightarrow: "→", rightarrowtail: "↣", rightharpoondown: "⇁", rightharpoonup: "⇀", rightleftarrows: "⇄", rightleftharpoons: "⇌", rightrightarrows: "⇉", rightsquigarrow: "↝", rightthreetimes: "⋌", ring: "˚", risingdotseq: "≓", rlarr: "⇄", rlhar: "⇌", rlm: "", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", robrk: "⟧", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rrarr: "⇉", rsaquo: "›", rscr: "𝓇", rsh: "↱", rsqb: "]", rsquo: "’", rsquor: "’", rthree: "⋌", rtimes: "⋊", rtri: "▹", rtrie: "⊵", rtrif: "▸", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", sbquo: "‚", sc: "≻", scE: "⪴", scap: "⪸", scaron: "š", sccue: "≽", sce: "⪰", scedil: "ş", scirc: "ŝ", scnE: "⪶", scnap: "⪺", scnsim: "⋩", scpolint: "⨓", scsim: "≿", scy: "с", sdot: "⋅", sdotb: "⊡", sdote: "⩦", seArr: "⇘", searhk: "⤥", searr: "↘", searrow: "↘", sec: "§", sect: "§", semi: ";", seswar: "⤩", setminus: "∖", setmn: "∖", sext: "✶", sfr: "𝔰", sfrown: "⌢", sharp: "♯", shchcy: "щ", shcy: "ш", shortmid: "∣", shortparallel: "∥", sh: "", shy: "", sigma: "σ", sigmaf: "ς", sigmav: "ς", sim: "∼", simdot: "⩪", sime: "≃", simeq: "≃", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", slarr: "←", smallsetminus: "∖", smashp: "⨳", smeparsl: "⧤", smid: "∣", smile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", spar: "∥", sqcap: "⊓", sqcaps: "⊓︀", sqcup: "⊔", sqcups: "⊔︀", sqsub: "⊏", sqsube: "⊑", sqsubset: "⊏", sqsubseteq: "⊑", sqsup: "⊐", sqsupe: "⊒", sqsupset: "⊐", sqsupseteq: "⊒", squ: "□", square: "□", squarf: "▪", squf: "▪", srarr: "→", sscr: "𝓈", ssetmn: "∖", ssmile: "⌣", sstarf: "⋆", star: "☆", starf: "★", straightepsilon: "ϵ", straightphi: "ϕ", strns: "¯", sub: "⊂", subE: "⫅", subdot: "⪽", sube: "⊆", subedot: "⫃", submult: "⫁", subnE: "⫋", subne: "⊊", subplus: "⪿", subrarr: "⥹", subset: "⊂", subseteq: "⊆", subseteqq: "⫅", subsetneq: "⊊", subsetneqq: "⫋", subsim: "⫇", subsub: "⫕", subsup: "⫓", succ: "≻", succapprox: "⪸", succcurlyeq: "≽", succeq: "⪰", succnapprox: "⪺", succneqq: "⪶", succnsim: "⋩", succsim: "≿", sum: "∑", sung: "♪", sup: "⊃", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supdot: "⪾", supdsub: "⫘", supe: "⊇", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supne: "⊋", supplus: "⫀", supset: "⊃", supseteq: "⊇", supseteqq: "⫆", supsetneq: "⊋", supsetneqq: "⫌", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swarhk: "⤦", swarr: "↙", swarrow: "↙", swnwar: "⤪", szli: "ß", szlig: "ß", target: "⌖", tau: "τ", tbrk: "⎴", tcaron: "ť", tcedil: "ţ", tcy: "т", tdot: "⃛", telrec: "⌕", tfr: "𝔱", there4: "∴", therefore: "∴", theta: "θ", thetasym: "ϑ", thetav: "ϑ", thickapprox: "≈", thicksim: "∼", thinsp: " ", thkap: "≈", thksim: "∼", thor: "þ", thorn: "þ", tilde: "˜", time: "×", times: "×", timesb: "⊠", timesbar: "⨱", timesd: "⨰", tint: "∭", toea: "⤨", top: "⊤", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tosa: "⤩", tprime: "‴", trade: "™", triangle: "▵", triangledown: "▿", triangleleft: "◃", trianglelefteq: "⊴", triangleq: "≜", triangleright: "▹", trianglerighteq: "⊵", tridot: "◬", trie: "≜", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", twixt: "≬", twoheadleftarrow: "↞", twoheadrightarrow: "↠", uArr: "⇑", uHar: "⥣", uacut: "ú", uacute: "ú", uarr: "↑", ubrcy: "ў", ubreve: "ŭ", ucir: "û", ucirc: "û", ucy: "у", udarr: "⇅", udblac: "ű", udhar: "⥮", ufisht: "⥾", ufr: "𝔲", ugrav: "ù", ugrave: "ù", uharl: "↿", uharr: "↾", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", um: "¨", uml: "¨", uogon: "ų", uopf: "𝕦", uparrow: "↑", updownarrow: "↕", upharpoonleft: "↿", upharpoonright: "↾", uplus: "⊎", upsi: "υ", upsih: "ϒ", upsilon: "υ", upuparrows: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", utri: "▵", utrif: "▴", uuarr: "⇈", uum: "ü", uuml: "ü", uwangle: "⦧", vArr: "⇕", vBar: "⫨", vBarv: "⫩", vDash: "⊨", vangrt: "⦜", varepsilon: "ϵ", varkappa: "ϰ", varnothing: "∅", varphi: "ϕ", varpi: "ϖ", varpropto: "∝", varr: "↕", varrho: "ϱ", varsigma: "ς", varsubsetneq: "⊊︀", varsubsetneqq: "⫋︀", varsupsetneq: "⊋︀", varsupsetneqq: "⫌︀", vartheta: "ϑ", vartriangleleft: "⊲", vartriangleright: "⊳", vcy: "в", vdash: "⊢", vee: "∨", veebar: "⊻", veeeq: "≚", vellip: "⋮", verbar: "|", vert: "|", vfr: "𝔳", vltri: "⊲", vnsub: "⊂⃒", vnsup: "⊃⃒", vopf: "𝕧", vprop: "∝", vrtri: "⊳", vscr: "𝓋", vsubnE: "⫋︀", vsubne: "⊊︀", vsupnE: "⫌︀", vsupne: "⊋︀", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedge: "∧", wedgeq: "≙", weierp: "℘", wfr: "𝔴", wopf: "𝕨", wp: "℘", wr: "≀", wreath: "≀", wscr: "𝓌", xcap: "⋂", xcirc: "◯", xcup: "⋃", xdtri: "▽", xfr: "𝔵", xhArr: "⟺", xharr: "⟷", xi: "ξ", xlArr: "⟸", xlarr: "⟵", xmap: "⟼", xnis: "⋻", xodot: "⨀", xopf: "𝕩", xoplus: "⨁", xotime: "⨂", xrArr: "⟹", xrarr: "⟶", xscr: "𝓍", xsqcup: "⨆", xuplus: "⨄", xutri: "△", xvee: "⋁", xwedge: "⋀", yacut: "ý", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", ye: "¥", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yum: "ÿ", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeetrf: "ℨ", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "", zwnj: "" };
|
|
370
|
+
}), dr = I((u, e) => {
|
|
371
|
+
var t = Fr();
|
|
372
|
+
e.exports = n;
|
|
373
|
+
var r = {}.hasOwnProperty;
|
|
374
|
+
function n(o) {
|
|
375
|
+
return r.call(t, o) ? t[o] : !1;
|
|
376
|
+
}
|
|
377
|
+
}), pe = I((u, e) => {
|
|
378
|
+
var t = cr(), r = fr(), n = Mu(), o = pr(), a = hr(), i = dr();
|
|
379
|
+
e.exports = J;
|
|
380
|
+
var D = {}.hasOwnProperty, l = String.fromCharCode, s = Function.prototype, c = { warning: null, reference: null, text: null, warningContext: null, referenceContext: null, textContext: null, position: {}, additional: null, attribute: !1, nonTerminated: !0 }, C = 9, d = 10, E = 12, m = 32, g = 38, x = 59, f = 60, B = 61, p = 35, h = 88, F = 120, A = 65533, y = "named", w = "hexadecimal", T = "decimal", b = {};
|
|
381
|
+
b[w] = 16, b[T] = 10;
|
|
382
|
+
var k = {};
|
|
383
|
+
k[y] = a, k[T] = n, k[w] = o;
|
|
384
|
+
var L = 1, R = 2, v = 3, S = 4, U = 5, j = 6, _ = 7, q = {};
|
|
385
|
+
q[L] = "Named character references must be terminated by a semicolon", q[R] = "Numeric character references must be terminated by a semicolon", q[v] = "Named character references cannot be empty", q[S] = "Numeric character references cannot be empty", q[U] = "Named character references must be known", q[j] = "Numeric character references cannot be disallowed", q[_] = "Numeric character references cannot be outside the permissible Unicode range";
|
|
386
|
+
function J(M, N) {
|
|
387
|
+
var P = {}, V, W;
|
|
388
|
+
N || (N = {});
|
|
389
|
+
for (W in c) V = N[W], P[W] = V ?? c[W];
|
|
390
|
+
return (P.position.indent || P.position.start) && (P.indent = P.position.indent || [], P.position = P.position.start), z(M, P);
|
|
391
|
+
}
|
|
392
|
+
function z(M, N) {
|
|
393
|
+
var P = N.additional, V = N.nonTerminated, W = N.text, X = N.reference, Y = N.warning, tu = N.textContext, H = N.referenceContext, uu = N.warningContext, pu = N.position, lu = N.indent || [], eu = M.length, G = 0, Z = -1, hu = pu.column || 1, Tu = pu.line || 1, Fu = "", gu = [], ou, du, ru, K, Ou, iu, nu, vu, be, _e, ju, le, zu, wu, Gt, ce, ye, xu, au;
|
|
394
|
+
for (typeof P == "string" && (P = P.charCodeAt(0)), ce = fe(), vu = Y ? ca : s, G--, eu++; ++G < eu; ) if (Ou === d && (hu = lu[Z] || 1), Ou = M.charCodeAt(G), Ou === g) {
|
|
395
|
+
if (nu = M.charCodeAt(G + 1), nu === C || nu === d || nu === E || nu === m || nu === g || nu === f || nu !== nu || P && nu === P) {
|
|
396
|
+
Fu += l(Ou), hu++;
|
|
397
|
+
continue;
|
|
398
|
+
}
|
|
399
|
+
for (zu = G + 1, le = zu, au = zu, nu === p ? (au = ++le, nu = M.charCodeAt(au), nu === h || nu === F ? (wu = w, au = ++le) : wu = T) : wu = y, ou = "", ju = "", K = "", Gt = k[wu], au--; ++au < eu && (nu = M.charCodeAt(au), !!Gt(nu)); ) K += l(nu), wu === y && D.call(t, K) && (ou = K, ju = t[K]);
|
|
400
|
+
ru = M.charCodeAt(au) === x, ru && (au++, du = wu === y ? i(K) : !1, du && (ou = K, ju = du)), xu = 1 + au - zu, !ru && !V || (K ? wu === y ? (ru && !ju ? vu(U, 1) : (ou !== K && (au = le + ou.length, xu = 1 + au - le, ru = !1), ru || (be = ou ? L : v, N.attribute ? (nu = M.charCodeAt(au), nu === B ? (vu(be, xu), ju = null) : a(nu) ? ju = null : vu(be, xu)) : vu(be, xu))), iu = ju) : (ru || vu(R, xu), iu = parseInt(K, b[wu]), O(iu) ? (vu(_, xu), iu = l(A)) : iu in r ? (vu(j, xu), iu = r[iu]) : (_e = "", $(iu) && vu(j, xu), iu > 65535 && (iu -= 65536, _e += l(iu >>> 10 | 55296), iu = 56320 | iu & 1023), iu = _e + l(iu))) : wu !== y && vu(S, xu)), iu ? (Jt(), ce = fe(), G = au - 1, hu += au - zu + 1, gu.push(iu), ye = fe(), ye.offset++, X && X.call(H, iu, { start: ce, end: ye }, M.slice(zu - 1, au)), ce = ye) : (K = M.slice(zu - 1, au), Fu += K, hu += K.length, G = au - 1);
|
|
401
|
+
} else Ou === 10 && (Tu++, Z++, hu = 0), Ou === Ou ? (Fu += l(Ou), hu++) : Jt();
|
|
402
|
+
return gu.join("");
|
|
403
|
+
function fe() {
|
|
404
|
+
return { line: Tu, column: hu, offset: G + (pu.offset || 0) };
|
|
405
|
+
}
|
|
406
|
+
function ca(Xt, Yt) {
|
|
407
|
+
var Ve = fe();
|
|
408
|
+
Ve.column += Yt, Ve.offset += Yt, Y.call(uu, q[Xt], Ve, Xt);
|
|
409
|
+
}
|
|
410
|
+
function Jt() {
|
|
411
|
+
Fu && (gu.push(Fu), W && W.call(tu, Fu, { start: ce, end: fe() }), Fu = "");
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
function O(M) {
|
|
415
|
+
return M >= 55296 && M <= 57343 || M > 1114111;
|
|
416
|
+
}
|
|
417
|
+
function $(M) {
|
|
418
|
+
return M >= 1 && M <= 8 || M === 11 || M >= 13 && M <= 31 || M >= 127 && M <= 159 || M >= 64976 && M <= 65007 || (M & 65535) === 65535 || (M & 65535) === 65534;
|
|
419
|
+
}
|
|
420
|
+
}), Cr = I((u, e) => {
|
|
421
|
+
var t = Uu(), r = pe();
|
|
422
|
+
e.exports = n;
|
|
423
|
+
function n(o) {
|
|
424
|
+
return i.raw = D, i;
|
|
425
|
+
function a(s) {
|
|
426
|
+
for (var c = o.offset, C = s.line, d = []; ++C && C in c; ) d.push((c[C] || 0) + 1);
|
|
427
|
+
return { start: s, indent: d };
|
|
428
|
+
}
|
|
429
|
+
function i(s, c, C) {
|
|
430
|
+
r(s, { position: a(c), warning: l, text: C, reference: C, textContext: o, referenceContext: o });
|
|
431
|
+
}
|
|
432
|
+
function D(s, c, C) {
|
|
433
|
+
return r(s, t(C, { position: a(c), warning: l }));
|
|
434
|
+
}
|
|
435
|
+
function l(s, c, C) {
|
|
436
|
+
C !== 3 && o.file.message(s, c);
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}), Ar = I((u, e) => {
|
|
440
|
+
e.exports = t;
|
|
441
|
+
function t(a) {
|
|
442
|
+
return i;
|
|
443
|
+
function i(D, l) {
|
|
444
|
+
var s = this, c = s.offset, C = [], d = s[a + "Methods"], E = s[a + "Tokenizers"], m = l.line, g = l.column, x, f, B, p, h, F;
|
|
445
|
+
if (!D) return C;
|
|
446
|
+
for (R.now = w, R.file = s.file, A(""); D; ) {
|
|
447
|
+
for (x = -1, f = d.length, h = !1; ++x < f && (p = d[x], B = E[p], !(B && (!B.onlyAtStart || s.atStart) && (!B.notInList || !s.inList) && (!B.notInBlock || !s.inBlock) && (!B.notInLink || !s.inLink) && (F = D.length, B.apply(s, [R, D]), h = F !== D.length, h))); ) ;
|
|
448
|
+
h || s.file.fail(new Error("Infinite loop"), R.now());
|
|
449
|
+
}
|
|
450
|
+
return s.eof = w(), C;
|
|
451
|
+
function A(v) {
|
|
452
|
+
for (var S = -1, U = v.indexOf(`
|
|
453
|
+
`); U !== -1; ) m++, S = U, U = v.indexOf(`
|
|
454
|
+
`, U + 1);
|
|
455
|
+
S === -1 ? g += v.length : g = v.length - S, m in c && (S !== -1 ? g += c[m] : g <= c[m] && (g = c[m] + 1));
|
|
456
|
+
}
|
|
457
|
+
function y() {
|
|
458
|
+
var v = [], S = m + 1;
|
|
459
|
+
return function() {
|
|
460
|
+
for (var U = m + 1; S < U; ) v.push((c[S] || 0) + 1), S++;
|
|
461
|
+
return v;
|
|
462
|
+
};
|
|
463
|
+
}
|
|
464
|
+
function w() {
|
|
465
|
+
var v = { line: m, column: g };
|
|
466
|
+
return v.offset = s.toOffset(v), v;
|
|
467
|
+
}
|
|
468
|
+
function T(v) {
|
|
469
|
+
this.start = v, this.end = w();
|
|
470
|
+
}
|
|
471
|
+
function b(v) {
|
|
472
|
+
D.slice(0, v.length) !== v && s.file.fail(new Error("Incorrectly eaten value: please report this warning on https://git.io/vg5Ft"), w());
|
|
473
|
+
}
|
|
474
|
+
function k() {
|
|
475
|
+
var v = w();
|
|
476
|
+
return S;
|
|
477
|
+
function S(U, j) {
|
|
478
|
+
var _ = U.position, q = _ ? _.start : v, J = [], z = _ && _.end.line, O = v.line;
|
|
479
|
+
if (U.position = new T(q), _ && j && _.indent) {
|
|
480
|
+
if (J = _.indent, z < O) {
|
|
481
|
+
for (; ++z < O; ) J.push((c[z] || 0) + 1);
|
|
482
|
+
J.push(v.column);
|
|
483
|
+
}
|
|
484
|
+
j = J.concat(j);
|
|
485
|
+
}
|
|
486
|
+
return U.position.indent = j || [], U;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
function L(v, S) {
|
|
490
|
+
var U = S ? S.children : C, j = U[U.length - 1], _;
|
|
491
|
+
return j && v.type === j.type && (v.type === "text" || v.type === "blockquote") && r(j) && r(v) && (_ = v.type === "text" ? n : o, v = _.call(s, j, v)), v !== j && U.push(v), s.atStart && C.length !== 0 && s.exitStart(), v;
|
|
492
|
+
}
|
|
493
|
+
function R(v) {
|
|
494
|
+
var S = y(), U = k(), j = w();
|
|
495
|
+
return b(v), _.reset = q, q.test = J, _.test = J, D = D.slice(v.length), A(v), S = S(), _;
|
|
496
|
+
function _(z, O) {
|
|
497
|
+
return U(L(U(z), O), S);
|
|
498
|
+
}
|
|
499
|
+
function q() {
|
|
500
|
+
var z = _.apply(null, arguments);
|
|
501
|
+
return m = j.line, g = j.column, D = v + D, z;
|
|
502
|
+
}
|
|
503
|
+
function J() {
|
|
504
|
+
var z = U({});
|
|
505
|
+
return m = j.line, g = j.column, D = v + D, z.position;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
function r(a) {
|
|
511
|
+
var i, D;
|
|
512
|
+
return a.type !== "text" || !a.position ? !0 : (i = a.position.start, D = a.position.end, i.line !== D.line || D.column - i.column === a.value.length);
|
|
513
|
+
}
|
|
514
|
+
function n(a, i) {
|
|
515
|
+
return a.value += i.value, a;
|
|
516
|
+
}
|
|
517
|
+
function o(a, i) {
|
|
518
|
+
return this.options.commonmark || this.options.gfm ? i : (a.children = a.children.concat(i.children), a);
|
|
519
|
+
}
|
|
520
|
+
}), gr = I((u, e) => {
|
|
521
|
+
e.exports = o;
|
|
522
|
+
var t = ["\\", "`", "*", "{", "}", "[", "]", "(", ")", "#", "+", "-", ".", "!", "_", ">"], r = t.concat(["~", "|"]), n = r.concat([`
|
|
523
|
+
`, '"', "$", "%", "&", "'", ",", "/", ":", ";", "<", "=", "?", "@", "^"]);
|
|
524
|
+
o.default = t, o.gfm = r, o.commonmark = n;
|
|
525
|
+
function o(a) {
|
|
526
|
+
var i = a || {};
|
|
527
|
+
return i.commonmark ? n : i.gfm ? r : t;
|
|
528
|
+
}
|
|
529
|
+
}), Er = I((u, e) => {
|
|
530
|
+
e.exports = ["address", "article", "aside", "base", "basefont", "blockquote", "body", "caption", "center", "col", "colgroup", "dd", "details", "dialog", "dir", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "iframe", "legend", "li", "link", "main", "menu", "menuitem", "meta", "nav", "noframes", "ol", "optgroup", "option", "p", "param", "pre", "section", "source", "title", "summary", "table", "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"];
|
|
531
|
+
}), Xe = I((u, e) => {
|
|
532
|
+
e.exports = { position: !0, gfm: !0, commonmark: !1, pedantic: !1, blocks: Er() };
|
|
533
|
+
}), mr = I((u, e) => {
|
|
534
|
+
var t = Uu(), r = gr(), n = Xe();
|
|
535
|
+
e.exports = o;
|
|
536
|
+
function o(a) {
|
|
537
|
+
var i = this, D = i.options, l, s;
|
|
538
|
+
if (a == null) a = {};
|
|
539
|
+
else if (typeof a == "object") a = t(a);
|
|
540
|
+
else throw new Error("Invalid value `" + a + "` for setting `options`");
|
|
541
|
+
for (l in n) {
|
|
542
|
+
if (s = a[l], s == null && (s = D[l]), l !== "blocks" && typeof s != "boolean" || l === "blocks" && typeof s != "object") throw new Error("Invalid value `" + s + "` for setting `options." + l + "`");
|
|
543
|
+
a[l] = s;
|
|
544
|
+
}
|
|
545
|
+
return i.options = a, i.escape = r(a), i;
|
|
546
|
+
}
|
|
547
|
+
}), vr = I((u, e) => {
|
|
548
|
+
e.exports = t;
|
|
549
|
+
function t(i) {
|
|
550
|
+
if (i == null) return a;
|
|
551
|
+
if (typeof i == "string") return o(i);
|
|
552
|
+
if (typeof i == "object") return "length" in i ? n(i) : r(i);
|
|
553
|
+
if (typeof i == "function") return i;
|
|
554
|
+
throw new Error("Expected function, string, or object as test");
|
|
555
|
+
}
|
|
556
|
+
function r(i) {
|
|
557
|
+
return D;
|
|
558
|
+
function D(l) {
|
|
559
|
+
var s;
|
|
560
|
+
for (s in i) if (l[s] !== i[s]) return !1;
|
|
561
|
+
return !0;
|
|
562
|
+
}
|
|
563
|
+
}
|
|
564
|
+
function n(i) {
|
|
565
|
+
for (var D = [], l = -1; ++l < i.length; ) D[l] = t(i[l]);
|
|
566
|
+
return s;
|
|
567
|
+
function s() {
|
|
568
|
+
for (var c = -1; ++c < D.length; ) if (D[c].apply(this, arguments)) return !0;
|
|
569
|
+
return !1;
|
|
570
|
+
}
|
|
571
|
+
}
|
|
572
|
+
function o(i) {
|
|
573
|
+
return D;
|
|
574
|
+
function D(l) {
|
|
575
|
+
return !!(l && l.type === i);
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
function a() {
|
|
579
|
+
return !0;
|
|
580
|
+
}
|
|
581
|
+
}), xr = I((u, e) => {
|
|
582
|
+
e.exports = t;
|
|
583
|
+
function t(r) {
|
|
584
|
+
return r;
|
|
585
|
+
}
|
|
586
|
+
}), Br = I((u, e) => {
|
|
587
|
+
e.exports = i;
|
|
588
|
+
var t = vr(), r = xr(), n = !0, o = "skip", a = !1;
|
|
589
|
+
i.CONTINUE = n, i.SKIP = o, i.EXIT = a;
|
|
590
|
+
function i(l, s, c, C) {
|
|
591
|
+
var d, E;
|
|
592
|
+
typeof s == "function" && typeof c != "function" && (C = c, c = s, s = null), E = t(s), d = C ? -1 : 1, m(l, null, [])();
|
|
593
|
+
function m(g, x, f) {
|
|
594
|
+
var B = typeof g == "object" && g !== null ? g : {}, p;
|
|
595
|
+
return typeof B.type == "string" && (p = typeof B.tagName == "string" ? B.tagName : typeof B.name == "string" ? B.name : void 0, h.displayName = "node (" + r(B.type + (p ? "<" + p + ">" : "")) + ")"), h;
|
|
596
|
+
function h() {
|
|
597
|
+
var F = f.concat(g), A = [], y, w;
|
|
598
|
+
if ((!s || E(g, x, f[f.length - 1] || null)) && (A = D(c(g, f)), A[0] === a)) return A;
|
|
599
|
+
if (g.children && A[0] !== o) for (w = (C ? g.children.length : -1) + d; w > -1 && w < g.children.length; ) {
|
|
600
|
+
if (y = m(g.children[w], w, F)(), y[0] === a) return y;
|
|
601
|
+
w = typeof y[1] == "number" ? y[1] : w + d;
|
|
602
|
+
}
|
|
603
|
+
return A;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
function D(l) {
|
|
608
|
+
return l !== null && typeof l == "object" && "length" in l ? l : typeof l == "number" ? [n, l] : [l];
|
|
609
|
+
}
|
|
610
|
+
}), br = I((u, e) => {
|
|
611
|
+
e.exports = a;
|
|
612
|
+
var t = Br(), r = t.CONTINUE, n = t.SKIP, o = t.EXIT;
|
|
613
|
+
a.CONTINUE = r, a.SKIP = n, a.EXIT = o;
|
|
614
|
+
function a(i, D, l, s) {
|
|
615
|
+
typeof D == "function" && typeof l != "function" && (s = l, l = D, D = null), t(i, D, c, s);
|
|
616
|
+
function c(C, d) {
|
|
617
|
+
var E = d[d.length - 1], m = E ? E.children.indexOf(C) : null;
|
|
618
|
+
return l(C, m, E);
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}), yr = I((u, e) => {
|
|
622
|
+
var t = br();
|
|
623
|
+
e.exports = r;
|
|
624
|
+
function r(a, i) {
|
|
625
|
+
return t(a, i ? n : o), a;
|
|
626
|
+
}
|
|
627
|
+
function n(a) {
|
|
628
|
+
delete a.position;
|
|
629
|
+
}
|
|
630
|
+
function o(a) {
|
|
631
|
+
a.position = void 0;
|
|
632
|
+
}
|
|
633
|
+
}), wr = I((u, e) => {
|
|
634
|
+
var t = Uu(), r = yr();
|
|
635
|
+
e.exports = a;
|
|
636
|
+
var n = `
|
|
637
|
+
`, o = /\r\n|\r/g;
|
|
638
|
+
function a() {
|
|
639
|
+
var i = this, D = String(i.file), l = { line: 1, column: 1, offset: 0 }, s = t(l), c;
|
|
640
|
+
return D = D.replace(o, n), D.charCodeAt(0) === 65279 && (D = D.slice(1), s.column++, s.offset++), c = { type: "root", children: i.tokenizeBlock(D, s), position: { start: l, end: i.eof || t(l) } }, i.options.position || r(c, !0), c;
|
|
641
|
+
}
|
|
642
|
+
}), kr = I((u, e) => {
|
|
643
|
+
var t = /^[ \t]*(\n|$)/;
|
|
644
|
+
e.exports = r;
|
|
645
|
+
function r(n, o, a) {
|
|
646
|
+
for (var i, D = "", l = 0, s = o.length; l < s && (i = t.exec(o.slice(l)), i != null); ) l += i[0].length, D += i[0];
|
|
647
|
+
if (D !== "") {
|
|
648
|
+
if (a) return !0;
|
|
649
|
+
n(D);
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}), qe = I((u, e) => {
|
|
653
|
+
var t = "", r;
|
|
654
|
+
e.exports = n;
|
|
655
|
+
function n(o, a) {
|
|
656
|
+
if (typeof o != "string") throw new TypeError("expected a string");
|
|
657
|
+
if (a === 1) return o;
|
|
658
|
+
if (a === 2) return o + o;
|
|
659
|
+
var i = o.length * a;
|
|
660
|
+
if (r !== o || typeof r > "u") r = o, t = "";
|
|
661
|
+
else if (t.length >= i) return t.substr(0, i);
|
|
662
|
+
for (; i > t.length && a > 1; ) a & 1 && (t += o), a >>= 1, o += o;
|
|
663
|
+
return t += o, t = t.substr(0, i), t;
|
|
664
|
+
}
|
|
665
|
+
}), Ye = I((u, e) => {
|
|
666
|
+
e.exports = t;
|
|
667
|
+
function t(r) {
|
|
668
|
+
return String(r).replace(/\n+$/, "");
|
|
669
|
+
}
|
|
670
|
+
}), qr = I((u, e) => {
|
|
671
|
+
var t = qe(), r = Ye();
|
|
672
|
+
e.exports = l;
|
|
673
|
+
var n = `
|
|
674
|
+
`, o = " ", a = " ", i = 4, D = t(a, i);
|
|
675
|
+
function l(s, c, C) {
|
|
676
|
+
for (var d = -1, E = c.length, m = "", g = "", x = "", f = "", B, p, h; ++d < E; ) if (B = c.charAt(d), h) if (h = !1, m += x, g += f, x = "", f = "", B === n) x = B, f = B;
|
|
677
|
+
else for (m += B, g += B; ++d < E; ) {
|
|
678
|
+
if (B = c.charAt(d), !B || B === n) {
|
|
679
|
+
f = B, x = B;
|
|
680
|
+
break;
|
|
681
|
+
}
|
|
682
|
+
m += B, g += B;
|
|
683
|
+
}
|
|
684
|
+
else if (B === a && c.charAt(d + 1) === B && c.charAt(d + 2) === B && c.charAt(d + 3) === B) x += D, d += 3, h = !0;
|
|
685
|
+
else if (B === o) x += B, h = !0;
|
|
686
|
+
else {
|
|
687
|
+
for (p = ""; B === o || B === a; ) p += B, B = c.charAt(++d);
|
|
688
|
+
if (B !== n) break;
|
|
689
|
+
x += p + B, f += B;
|
|
690
|
+
}
|
|
691
|
+
if (g) return C ? !0 : s(m)({ type: "code", lang: null, meta: null, value: r(g) });
|
|
692
|
+
}
|
|
693
|
+
}), Sr = I((u, e) => {
|
|
694
|
+
e.exports = l;
|
|
695
|
+
var t = `
|
|
696
|
+
`, r = " ", n = " ", o = "~", a = "`", i = 3, D = 4;
|
|
697
|
+
function l(s, c, C) {
|
|
698
|
+
var d = this, E = d.options.gfm, m = c.length + 1, g = 0, x = "", f, B, p, h, F, A, y, w, T, b, k, L, R;
|
|
699
|
+
if (E) {
|
|
700
|
+
for (; g < m && (p = c.charAt(g), !(p !== n && p !== r)); ) x += p, g++;
|
|
701
|
+
if (L = g, p = c.charAt(g), !(p !== o && p !== a)) {
|
|
702
|
+
for (g++, B = p, f = 1, x += p; g < m && (p = c.charAt(g), p === B); ) x += p, f++, g++;
|
|
703
|
+
if (!(f < i)) {
|
|
704
|
+
for (; g < m && (p = c.charAt(g), !(p !== n && p !== r)); ) x += p, g++;
|
|
705
|
+
for (h = "", y = ""; g < m && (p = c.charAt(g), !(p === t || B === a && p === B)); ) p === n || p === r ? y += p : (h += y + p, y = ""), g++;
|
|
706
|
+
if (p = c.charAt(g), !(p && p !== t)) {
|
|
707
|
+
if (C) return !0;
|
|
708
|
+
R = s.now(), R.column += x.length, R.offset += x.length, x += h, h = d.decode.raw(d.unescape(h), R), y && (x += y), y = "", b = "", k = "", w = "", T = "";
|
|
709
|
+
for (var v = !0; g < m; ) {
|
|
710
|
+
if (p = c.charAt(g), w += b, T += k, b = "", k = "", p !== t) {
|
|
711
|
+
w += p, k += p, g++;
|
|
712
|
+
continue;
|
|
713
|
+
}
|
|
714
|
+
for (v ? (x += p, v = !1) : (b += p, k += p), y = "", g++; g < m && (p = c.charAt(g), p === n); ) y += p, g++;
|
|
715
|
+
if (b += y, k += y.slice(L), !(y.length >= D)) {
|
|
716
|
+
for (y = ""; g < m && (p = c.charAt(g), p === B); ) y += p, g++;
|
|
717
|
+
if (b += y, k += y, !(y.length < f)) {
|
|
718
|
+
for (y = ""; g < m && (p = c.charAt(g), !(p !== n && p !== r)); ) b += p, k += p, g++;
|
|
719
|
+
if (!p || p === t) break;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
}
|
|
723
|
+
for (x += w + b, g = -1, m = h.length; ++g < m; ) if (p = h.charAt(g), p === n || p === r) F || (F = h.slice(0, g));
|
|
724
|
+
else if (F) {
|
|
725
|
+
A = h.slice(g);
|
|
726
|
+
break;
|
|
727
|
+
}
|
|
728
|
+
return s(x)({ type: "code", lang: F || h || null, meta: A || null, value: T });
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
}), _u = I((u, e) => {
|
|
735
|
+
u = e.exports = t;
|
|
736
|
+
function t(r) {
|
|
737
|
+
return r.trim ? r.trim() : u.right(u.left(r));
|
|
738
|
+
}
|
|
739
|
+
u.left = function(r) {
|
|
740
|
+
return r.trimLeft ? r.trimLeft() : r.replace(/^\s\s*/, "");
|
|
741
|
+
}, u.right = function(r) {
|
|
742
|
+
if (r.trimRight) return r.trimRight();
|
|
743
|
+
for (var n = /\s/, o = r.length; n.test(r.charAt(--o)); ) ;
|
|
744
|
+
return r.slice(0, o + 1);
|
|
745
|
+
};
|
|
746
|
+
}), Se = I((u, e) => {
|
|
747
|
+
e.exports = t;
|
|
748
|
+
function t(r, n, o, a) {
|
|
749
|
+
for (var i = r.length, D = -1, l, s; ++D < i; ) if (l = r[D], s = l[1] || {}, !(s.pedantic !== void 0 && s.pedantic !== o.options.pedantic) && !(s.commonmark !== void 0 && s.commonmark !== o.options.commonmark) && n[l[0]].apply(o, a)) return !0;
|
|
750
|
+
return !1;
|
|
751
|
+
}
|
|
752
|
+
}), Lr = I((u, e) => {
|
|
753
|
+
var t = _u(), r = Se();
|
|
754
|
+
e.exports = D;
|
|
755
|
+
var n = `
|
|
756
|
+
`, o = " ", a = " ", i = ">";
|
|
757
|
+
function D(l, s, c) {
|
|
758
|
+
for (var C = this, d = C.offset, E = C.blockTokenizers, m = C.interruptBlockquote, g = l.now(), x = g.line, f = s.length, B = [], p = [], h = [], F, A = 0, y, w, T, b, k, L, R, v; A < f && (y = s.charAt(A), !(y !== a && y !== o)); ) A++;
|
|
759
|
+
if (s.charAt(A) === i) {
|
|
760
|
+
if (c) return !0;
|
|
761
|
+
for (A = 0; A < f; ) {
|
|
762
|
+
for (T = s.indexOf(n, A), L = A, R = !1, T === -1 && (T = f); A < f && (y = s.charAt(A), !(y !== a && y !== o)); ) A++;
|
|
763
|
+
if (s.charAt(A) === i ? (A++, R = !0, s.charAt(A) === a && A++) : A = L, b = s.slice(A, T), !R && !t(b)) {
|
|
764
|
+
A = L;
|
|
765
|
+
break;
|
|
766
|
+
}
|
|
767
|
+
if (!R && (w = s.slice(A), r(m, E, C, [l, w, !0]))) break;
|
|
768
|
+
k = L === A ? b : s.slice(L, T), h.push(A - L), B.push(k), p.push(b), A = T + 1;
|
|
769
|
+
}
|
|
770
|
+
for (A = -1, f = h.length, F = l(B.join(n)); ++A < f; ) d[x] = (d[x] || 0) + h[A], x++;
|
|
771
|
+
return v = C.enterBlock(), p = C.tokenizeBlock(p.join(n), g), v(), F({ type: "blockquote", children: p });
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
}), Tr = I((u, e) => {
|
|
775
|
+
e.exports = i;
|
|
776
|
+
var t = `
|
|
777
|
+
`, r = " ", n = " ", o = "#", a = 6;
|
|
778
|
+
function i(D, l, s) {
|
|
779
|
+
for (var c = this, C = c.options.pedantic, d = l.length + 1, E = -1, m = D.now(), g = "", x = "", f, B, p; ++E < d; ) {
|
|
780
|
+
if (f = l.charAt(E), f !== n && f !== r) {
|
|
781
|
+
E--;
|
|
782
|
+
break;
|
|
783
|
+
}
|
|
784
|
+
g += f;
|
|
785
|
+
}
|
|
786
|
+
for (p = 0; ++E <= d; ) {
|
|
787
|
+
if (f = l.charAt(E), f !== o) {
|
|
788
|
+
E--;
|
|
789
|
+
break;
|
|
790
|
+
}
|
|
791
|
+
g += f, p++;
|
|
792
|
+
}
|
|
793
|
+
if (!(p > a) && !(!p || !C && l.charAt(E + 1) === o)) {
|
|
794
|
+
for (d = l.length + 1, B = ""; ++E < d; ) {
|
|
795
|
+
if (f = l.charAt(E), f !== n && f !== r) {
|
|
796
|
+
E--;
|
|
797
|
+
break;
|
|
798
|
+
}
|
|
799
|
+
B += f;
|
|
800
|
+
}
|
|
801
|
+
if (!(!C && B.length === 0 && f && f !== t)) {
|
|
802
|
+
if (s) return !0;
|
|
803
|
+
for (g += B, B = "", x = ""; ++E < d && (f = l.charAt(E), !(!f || f === t)); ) {
|
|
804
|
+
if (f !== n && f !== r && f !== o) {
|
|
805
|
+
x += B + f, B = "";
|
|
806
|
+
continue;
|
|
807
|
+
}
|
|
808
|
+
for (; f === n || f === r; ) B += f, f = l.charAt(++E);
|
|
809
|
+
if (!C && x && !B && f === o) {
|
|
810
|
+
x += f;
|
|
811
|
+
continue;
|
|
812
|
+
}
|
|
813
|
+
for (; f === o; ) B += f, f = l.charAt(++E);
|
|
814
|
+
for (; f === n || f === r; ) B += f, f = l.charAt(++E);
|
|
815
|
+
E--;
|
|
816
|
+
}
|
|
817
|
+
return m.column += g.length, m.offset += g.length, g += x + B, D(g)({ type: "heading", depth: p, children: c.tokenizeInline(x, m) });
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}), Or = I((u, e) => {
|
|
822
|
+
e.exports = l;
|
|
823
|
+
var t = " ", r = `
|
|
824
|
+
`, n = " ", o = "*", a = "-", i = "_", D = 3;
|
|
825
|
+
function l(s, c, C) {
|
|
826
|
+
for (var d = -1, E = c.length + 1, m = "", g, x, f, B; ++d < E && (g = c.charAt(d), !(g !== t && g !== n)); ) m += g;
|
|
827
|
+
if (!(g !== o && g !== a && g !== i)) for (x = g, m += g, f = 1, B = ""; ++d < E; ) if (g = c.charAt(d), g === x) f++, m += B + x, B = "";
|
|
828
|
+
else if (g === n) B += g;
|
|
829
|
+
else return f >= D && (!g || g === r) ? (m += B, C ? !0 : s(m)({ type: "thematicBreak" })) : void 0;
|
|
830
|
+
}
|
|
831
|
+
}), Qe = I((u, e) => {
|
|
832
|
+
e.exports = a;
|
|
833
|
+
var t = " ", r = " ", n = 1, o = 4;
|
|
834
|
+
function a(i) {
|
|
835
|
+
for (var D = 0, l = 0, s = i.charAt(D), c = {}, C, d = 0; s === t || s === r; ) {
|
|
836
|
+
for (C = s === t ? o : n, l += C, C > 1 && (l = Math.floor(l / C) * C); d < l; ) c[++d] = D;
|
|
837
|
+
s = i.charAt(++D);
|
|
838
|
+
}
|
|
839
|
+
return { indent: l, stops: c };
|
|
840
|
+
}
|
|
841
|
+
}), Nr = I((u, e) => {
|
|
842
|
+
var t = _u(), r = qe(), n = Qe();
|
|
843
|
+
e.exports = D;
|
|
844
|
+
var o = `
|
|
845
|
+
`, a = " ", i = "!";
|
|
846
|
+
function D(l, s) {
|
|
847
|
+
var c = l.split(o), C = c.length + 1, d = 1 / 0, E = [], m, g, x;
|
|
848
|
+
for (c.unshift(r(a, s) + i); C--; ) if (g = n(c[C]), E[C] = g.stops, t(c[C]).length !== 0) if (g.indent) g.indent > 0 && g.indent < d && (d = g.indent);
|
|
849
|
+
else {
|
|
850
|
+
d = 1 / 0;
|
|
851
|
+
break;
|
|
852
|
+
}
|
|
853
|
+
if (d !== 1 / 0) for (C = c.length; C--; ) {
|
|
854
|
+
for (x = E[C], m = d; m && !(m in x); ) m--;
|
|
855
|
+
c[C] = c[C].slice(x[m] + 1);
|
|
856
|
+
}
|
|
857
|
+
return c.shift(), c.join(o);
|
|
858
|
+
}
|
|
859
|
+
}), Rr = I((u, e) => {
|
|
860
|
+
var t = _u(), r = qe(), n = Mu(), o = Qe(), a = Nr(), i = Se();
|
|
861
|
+
e.exports = y;
|
|
862
|
+
var D = "*", l = "_", s = "+", c = "-", C = ".", d = " ", E = `
|
|
863
|
+
`, m = " ", g = ")", x = "x", f = 4, B = /\n\n(?!\s*$)/, p = /^\[([ X\tx])][ \t]/, h = /^([ \t]*)([*+-]|\d+[.)])( {1,4}(?! )| |\t|$|(?=\n))([^\n]*)/, F = /^([ \t]*)([*+-]|\d+[.)])([ \t]+)/, A = /^( {1,4}|\t)?/gm;
|
|
864
|
+
function y(k, L, R) {
|
|
865
|
+
for (var v = this, S = v.options.commonmark, U = v.options.pedantic, j = v.blockTokenizers, _ = v.interruptList, q = 0, J = L.length, z = null, O, $, M, N, P, V, W, X, Y, tu, H, uu, pu, lu, eu, G, Z, hu, Tu, Fu = !1, gu, ou, du, ru; q < J && (N = L.charAt(q), !(N !== m && N !== d)); ) q++;
|
|
866
|
+
if (N = L.charAt(q), N === D || N === s || N === c) P = N, M = !1;
|
|
867
|
+
else {
|
|
868
|
+
for (M = !0, $ = ""; q < J && (N = L.charAt(q), !!n(N)); ) $ += N, q++;
|
|
869
|
+
if (N = L.charAt(q), !$ || !(N === C || S && N === g) || R && $ !== "1") return;
|
|
870
|
+
z = parseInt($, 10), P = N;
|
|
871
|
+
}
|
|
872
|
+
if (N = L.charAt(++q), !(N !== d && N !== m && (U || N !== E && N !== ""))) {
|
|
873
|
+
if (R) return !0;
|
|
874
|
+
for (q = 0, lu = [], eu = [], G = []; q < J; ) {
|
|
875
|
+
for (V = L.indexOf(E, q), W = q, X = !1, ru = !1, V === -1 && (V = J), O = 0; q < J; ) {
|
|
876
|
+
if (N = L.charAt(q), N === m) O += f - O % f;
|
|
877
|
+
else if (N === d) O++;
|
|
878
|
+
else break;
|
|
879
|
+
q++;
|
|
880
|
+
}
|
|
881
|
+
if (Z && O >= Z.indent && (ru = !0), N = L.charAt(q), Y = null, !ru) {
|
|
882
|
+
if (N === D || N === s || N === c) Y = N, q++, O++;
|
|
883
|
+
else {
|
|
884
|
+
for ($ = ""; q < J && (N = L.charAt(q), !!n(N)); ) $ += N, q++;
|
|
885
|
+
N = L.charAt(q), q++, $ && (N === C || S && N === g) && (Y = N, O += $.length + 1);
|
|
886
|
+
}
|
|
887
|
+
if (Y) if (N = L.charAt(q), N === m) O += f - O % f, q++;
|
|
888
|
+
else if (N === d) {
|
|
889
|
+
for (du = q + f; q < du && L.charAt(q) === d; ) q++, O++;
|
|
890
|
+
q === du && L.charAt(q) === d && (q -= f - 1, O -= f - 1);
|
|
891
|
+
} else N !== E && N !== "" && (Y = null);
|
|
892
|
+
}
|
|
893
|
+
if (Y) {
|
|
894
|
+
if (!U && P !== Y) break;
|
|
895
|
+
X = !0;
|
|
896
|
+
} else !S && !ru && L.charAt(W) === d ? ru = !0 : S && Z && (ru = O >= Z.indent || O > f), X = !1, q = W;
|
|
897
|
+
if (H = L.slice(W, V), tu = W === q ? H : L.slice(q, V), (Y === D || Y === l || Y === c) && j.thematicBreak.call(v, k, H, !0)) break;
|
|
898
|
+
if (uu = pu, pu = !X && !t(tu).length, ru && Z) Z.value = Z.value.concat(G, H), eu = eu.concat(G, H), G = [];
|
|
899
|
+
else if (X) G.length !== 0 && (Fu = !0, Z.value.push(""), Z.trail = G.concat()), Z = { value: [H], indent: O, trail: [] }, lu.push(Z), eu = eu.concat(G, H), G = [];
|
|
900
|
+
else if (pu) {
|
|
901
|
+
if (uu && !S) break;
|
|
902
|
+
G.push(H);
|
|
903
|
+
} else {
|
|
904
|
+
if (uu || i(_, j, v, [k, H, !0])) break;
|
|
905
|
+
Z.value = Z.value.concat(G, H), eu = eu.concat(G, H), G = [];
|
|
906
|
+
}
|
|
907
|
+
q = V + 1;
|
|
908
|
+
}
|
|
909
|
+
for (gu = k(eu.join(E)).reset({ type: "list", ordered: M, start: z, spread: Fu, children: [] }), hu = v.enterList(), Tu = v.enterBlock(), q = -1, J = lu.length; ++q < J; ) Z = lu[q].value.join(E), ou = k.now(), k(Z)(w(v, Z, ou), gu), Z = lu[q].trail.join(E), q !== J - 1 && (Z += E), k(Z);
|
|
910
|
+
return hu(), Tu(), gu;
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
function w(k, L, R) {
|
|
914
|
+
var v = k.offset, S = k.options.pedantic ? T : b, U = null, j, _;
|
|
915
|
+
return L = S.apply(null, arguments), k.options.gfm && (j = L.match(p), j && (_ = j[0].length, U = j[1].toLowerCase() === x, v[R.line] += _, L = L.slice(_))), { type: "listItem", spread: B.test(L), checked: U, children: k.tokenizeBlock(L, R) };
|
|
916
|
+
}
|
|
917
|
+
function T(k, L, R) {
|
|
918
|
+
var v = k.offset, S = R.line;
|
|
919
|
+
return L = L.replace(F, U), S = R.line, L.replace(A, U);
|
|
920
|
+
function U(j) {
|
|
921
|
+
return v[S] = (v[S] || 0) + j.length, S++, "";
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
function b(k, L, R) {
|
|
925
|
+
var v = k.offset, S = R.line, U, j, _, q, J, z, O;
|
|
926
|
+
for (L = L.replace(h, $), q = L.split(E), J = a(L, o(U).indent).split(E), J[0] = _, v[S] = (v[S] || 0) + j.length, S++, z = 0, O = q.length; ++z < O; ) v[S] = (v[S] || 0) + q[z].length - J[z].length, S++;
|
|
927
|
+
return J.join(E);
|
|
928
|
+
function $(M, N, P, V, W) {
|
|
929
|
+
return j = N + P + V, _ = W, Number(P) < 10 && j.length % 2 === 1 && (P = d + P), U = N + r(d, P.length) + V, U + _;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
}), Ir = I((u, e) => {
|
|
933
|
+
e.exports = s;
|
|
934
|
+
var t = `
|
|
935
|
+
`, r = " ", n = " ", o = "=", a = "-", i = 3, D = 1, l = 2;
|
|
936
|
+
function s(c, C, d) {
|
|
937
|
+
for (var E = this, m = c.now(), g = C.length, x = -1, f = "", B, p, h, F, A; ++x < g; ) {
|
|
938
|
+
if (h = C.charAt(x), h !== n || x >= i) {
|
|
939
|
+
x--;
|
|
940
|
+
break;
|
|
941
|
+
}
|
|
942
|
+
f += h;
|
|
943
|
+
}
|
|
944
|
+
for (B = "", p = ""; ++x < g; ) {
|
|
945
|
+
if (h = C.charAt(x), h === t) {
|
|
946
|
+
x--;
|
|
947
|
+
break;
|
|
948
|
+
}
|
|
949
|
+
h === n || h === r ? p += h : (B += p + h, p = "");
|
|
950
|
+
}
|
|
951
|
+
if (m.column += f.length, m.offset += f.length, f += B + p, h = C.charAt(++x), F = C.charAt(++x), !(h !== t || F !== o && F !== a)) {
|
|
952
|
+
for (f += h, p = F, A = F === o ? D : l; ++x < g; ) {
|
|
953
|
+
if (h = C.charAt(x), h !== F) {
|
|
954
|
+
if (h !== t) return;
|
|
955
|
+
x--;
|
|
956
|
+
break;
|
|
957
|
+
}
|
|
958
|
+
p += h;
|
|
959
|
+
}
|
|
960
|
+
return d ? !0 : c(f + p)({ type: "heading", depth: A, children: E.tokenizeInline(B, m) });
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
}), Ze = I((u) => {
|
|
964
|
+
var e = "[a-zA-Z_:][a-zA-Z0-9:._-]*", t = "[^\"'=<>`\\u0000-\\u0020]+", r = "'[^']*'", n = '"[^"]*"', o = "(?:" + t + "|" + r + "|" + n + ")", a = "(?:\\s+" + e + "(?:\\s*=\\s*" + o + ")?)", i = "<[A-Za-z][A-Za-z0-9\\-]*" + a + "*\\s*\\/?>", D = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", l = "<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->", s = "<[?].*?[?]>", c = "<![A-Za-z]+\\s+[^>]*>", C = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>";
|
|
965
|
+
u.openCloseTag = new RegExp("^(?:" + i + "|" + D + ")"), u.tag = new RegExp("^(?:" + i + "|" + D + "|" + l + "|" + s + "|" + c + "|" + C + ")");
|
|
966
|
+
}), Pr = I((u, e) => {
|
|
967
|
+
var t = Ze().openCloseTag;
|
|
968
|
+
e.exports = B;
|
|
969
|
+
var r = " ", n = " ", o = `
|
|
970
|
+
`, a = "<", i = /^<(script|pre|style)(?=(\s|>|$))/i, D = /<\/(script|pre|style)>/i, l = /^<!--/, s = /-->/, c = /^<\?/, C = /\?>/, d = /^<![A-Za-z]/, E = />/, m = /^<!\[CDATA\[/, g = /]]>/, x = /^$/, f = new RegExp(t.source + "\\s*$");
|
|
971
|
+
function B(p, h, F) {
|
|
972
|
+
for (var A = this, y = A.options.blocks.join("|"), w = new RegExp("^</?(" + y + ")(?=(\\s|/?>|$))", "i"), T = h.length, b = 0, k, L, R, v, S, U, j, _ = [[i, D, !0], [l, s, !0], [c, C, !0], [d, E, !0], [m, g, !0], [w, x, !0], [f, x, !1]]; b < T && (v = h.charAt(b), !(v !== r && v !== n)); ) b++;
|
|
973
|
+
if (h.charAt(b) === a) {
|
|
974
|
+
for (k = h.indexOf(o, b + 1), k = k === -1 ? T : k, L = h.slice(b, k), R = -1, S = _.length; ++R < S; ) if (_[R][0].test(L)) {
|
|
975
|
+
U = _[R];
|
|
976
|
+
break;
|
|
977
|
+
}
|
|
978
|
+
if (U) {
|
|
979
|
+
if (F) return U[2];
|
|
980
|
+
if (b = k, !U[1].test(L)) for (; b < T; ) {
|
|
981
|
+
if (k = h.indexOf(o, b + 1), k = k === -1 ? T : k, L = h.slice(b + 1, k), U[1].test(L)) {
|
|
982
|
+
L && (b = k);
|
|
983
|
+
break;
|
|
984
|
+
}
|
|
985
|
+
b = k;
|
|
986
|
+
}
|
|
987
|
+
return j = h.slice(0, b), p(j)({ type: "html", value: j });
|
|
988
|
+
}
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
}), Bu = I((u, e) => {
|
|
992
|
+
e.exports = n;
|
|
993
|
+
var t = String.fromCharCode, r = /\s/;
|
|
994
|
+
function n(o) {
|
|
995
|
+
return r.test(typeof o == "number" ? t(o) : o.charAt(0));
|
|
996
|
+
}
|
|
997
|
+
}), Ke = I((u, e) => {
|
|
998
|
+
var t = ke();
|
|
999
|
+
e.exports = r;
|
|
1000
|
+
function r(n) {
|
|
1001
|
+
return t(n).toLowerCase();
|
|
1002
|
+
}
|
|
1003
|
+
}), jr = I((u, e) => {
|
|
1004
|
+
var t = Bu(), r = Ke();
|
|
1005
|
+
e.exports = x;
|
|
1006
|
+
var n = '"', o = "'", a = "\\", i = `
|
|
1007
|
+
`, D = " ", l = " ", s = "[", c = "]", C = "(", d = ")", E = ":", m = "<", g = ">";
|
|
1008
|
+
function x(p, h, F) {
|
|
1009
|
+
for (var A = this, y = A.options.commonmark, w = 0, T = h.length, b = "", k, L, R, v, S, U, j, _; w < T && (v = h.charAt(w), !(v !== l && v !== D)); ) b += v, w++;
|
|
1010
|
+
if (v = h.charAt(w), v === s) {
|
|
1011
|
+
for (w++, b += v, R = ""; w < T && (v = h.charAt(w), v !== c); ) v === a && (R += v, w++, v = h.charAt(w)), R += v, w++;
|
|
1012
|
+
if (!(!R || h.charAt(w) !== c || h.charAt(w + 1) !== E)) {
|
|
1013
|
+
for (U = R, b += R + c + E, w = b.length, R = ""; w < T && (v = h.charAt(w), !(v !== D && v !== l && v !== i)); ) b += v, w++;
|
|
1014
|
+
if (v = h.charAt(w), R = "", k = b, v === m) {
|
|
1015
|
+
for (w++; w < T && (v = h.charAt(w), !!f(v)); ) R += v, w++;
|
|
1016
|
+
if (v = h.charAt(w), v === f.delimiter) b += m + R + v, w++;
|
|
1017
|
+
else {
|
|
1018
|
+
if (y) return;
|
|
1019
|
+
w -= R.length + 1, R = "";
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
if (!R) {
|
|
1023
|
+
for (; w < T && (v = h.charAt(w), !!B(v)); ) R += v, w++;
|
|
1024
|
+
b += R;
|
|
1025
|
+
}
|
|
1026
|
+
if (R) {
|
|
1027
|
+
for (j = R, R = ""; w < T && (v = h.charAt(w), !(v !== D && v !== l && v !== i)); ) R += v, w++;
|
|
1028
|
+
if (v = h.charAt(w), S = null, v === n ? S = n : v === o ? S = o : v === C && (S = d), !S) R = "", w = b.length;
|
|
1029
|
+
else if (R) {
|
|
1030
|
+
for (b += R + v, w = b.length, R = ""; w < T && (v = h.charAt(w), v !== S); ) {
|
|
1031
|
+
if (v === i) {
|
|
1032
|
+
if (w++, v = h.charAt(w), v === i || v === S) return;
|
|
1033
|
+
R += i;
|
|
1034
|
+
}
|
|
1035
|
+
R += v, w++;
|
|
1036
|
+
}
|
|
1037
|
+
if (v = h.charAt(w), v !== S) return;
|
|
1038
|
+
L = b, b += R + v, w++, _ = R, R = "";
|
|
1039
|
+
} else return;
|
|
1040
|
+
for (; w < T && (v = h.charAt(w), !(v !== D && v !== l)); ) b += v, w++;
|
|
1041
|
+
if (v = h.charAt(w), !v || v === i) return F ? !0 : (k = p(k).test().end, j = A.decode.raw(A.unescape(j), k, { nonTerminated: !1 }), _ && (L = p(L).test().end, _ = A.decode.raw(A.unescape(_), L)), p(b)({ type: "definition", identifier: r(U), label: U, title: _ || null, url: j }));
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
function f(p) {
|
|
1047
|
+
return p !== g && p !== s && p !== c;
|
|
1048
|
+
}
|
|
1049
|
+
f.delimiter = g;
|
|
1050
|
+
function B(p) {
|
|
1051
|
+
return p !== s && p !== c && !t(p);
|
|
1052
|
+
}
|
|
1053
|
+
}), zr = I((u, e) => {
|
|
1054
|
+
var t = Bu();
|
|
1055
|
+
e.exports = m;
|
|
1056
|
+
var r = " ", n = `
|
|
1057
|
+
`, o = " ", a = "-", i = ":", D = "\\", l = "|", s = 1, c = 2, C = "left", d = "center", E = "right";
|
|
1058
|
+
function m(g, x, f) {
|
|
1059
|
+
var B = this, p, h, F, A, y, w, T, b, k, L, R, v, S, U, j, _, q, J, z, O, $, M;
|
|
1060
|
+
if (B.options.gfm) {
|
|
1061
|
+
for (p = 0, _ = 0, w = x.length + 1, T = []; p < w; ) {
|
|
1062
|
+
if (O = x.indexOf(n, p), $ = x.indexOf(l, p + 1), O === -1 && (O = x.length), $ === -1 || $ > O) {
|
|
1063
|
+
if (_ < c) return;
|
|
1064
|
+
break;
|
|
1065
|
+
}
|
|
1066
|
+
T.push(x.slice(p, O)), _++, p = O + 1;
|
|
1067
|
+
}
|
|
1068
|
+
for (A = T.join(n), h = T.splice(1, 1)[0] || [], p = 0, w = h.length, _--, F = !1, R = []; p < w; ) {
|
|
1069
|
+
if (k = h.charAt(p), k === l) {
|
|
1070
|
+
if (L = null, F === !1) {
|
|
1071
|
+
if (M === !1) return;
|
|
1072
|
+
} else R.push(F), F = !1;
|
|
1073
|
+
M = !1;
|
|
1074
|
+
} else if (k === a) L = !0, F = F || null;
|
|
1075
|
+
else if (k === i) F === C ? F = d : L && F === null ? F = E : F = C;
|
|
1076
|
+
else if (!t(k)) return;
|
|
1077
|
+
p++;
|
|
1078
|
+
}
|
|
1079
|
+
if (F !== !1 && R.push(F), !(R.length < s)) {
|
|
1080
|
+
if (f) return !0;
|
|
1081
|
+
for (j = -1, J = [], z = g(A).reset({ type: "table", align: R, children: J }); ++j < _; ) {
|
|
1082
|
+
for (q = T[j], y = { type: "tableRow", children: [] }, j && g(n), g(q).reset(y, z), w = q.length + 1, p = 0, b = "", v = "", S = !0; p < w; ) {
|
|
1083
|
+
if (k = q.charAt(p), k === r || k === o) {
|
|
1084
|
+
v ? b += k : g(k), p++;
|
|
1085
|
+
continue;
|
|
1086
|
+
}
|
|
1087
|
+
k === "" || k === l ? S ? g(k) : ((v || k) && !S && (A = v, b.length > 1 && (k ? (A += b.slice(0, -1), b = b.charAt(b.length - 1)) : (A += b, b = "")), U = g.now(), g(A)({ type: "tableCell", children: B.tokenizeInline(v, U) }, y)), g(b + k), b = "", v = "") : (b && (v += b, b = ""), v += k, k === D && p !== w - 2 && (v += q.charAt(p + 1), p++)), S = !1, p++;
|
|
1088
|
+
}
|
|
1089
|
+
j || g(n + h);
|
|
1090
|
+
}
|
|
1091
|
+
return z;
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
}), $r = I((u, e) => {
|
|
1096
|
+
var t = _u(), r = Ye(), n = Se();
|
|
1097
|
+
e.exports = l;
|
|
1098
|
+
var o = " ", a = `
|
|
1099
|
+
`, i = " ", D = 4;
|
|
1100
|
+
function l(s, c, C) {
|
|
1101
|
+
for (var d = this, E = d.options, m = E.commonmark, g = d.blockTokenizers, x = d.interruptParagraph, f = c.indexOf(a), B = c.length, p, h, F, A, y; f < B; ) {
|
|
1102
|
+
if (f === -1) {
|
|
1103
|
+
f = B;
|
|
1104
|
+
break;
|
|
1105
|
+
}
|
|
1106
|
+
if (c.charAt(f + 1) === a) break;
|
|
1107
|
+
if (m) {
|
|
1108
|
+
for (A = 0, p = f + 1; p < B; ) {
|
|
1109
|
+
if (F = c.charAt(p), F === o) {
|
|
1110
|
+
A = D;
|
|
1111
|
+
break;
|
|
1112
|
+
} else if (F === i) A++;
|
|
1113
|
+
else break;
|
|
1114
|
+
p++;
|
|
1115
|
+
}
|
|
1116
|
+
if (A >= D && F !== a) {
|
|
1117
|
+
f = c.indexOf(a, f + 1);
|
|
1118
|
+
continue;
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
if (h = c.slice(f + 1), n(x, g, d, [s, h, !0])) break;
|
|
1122
|
+
if (p = f, f = c.indexOf(a, f + 1), f !== -1 && t(c.slice(p, f)) === "") {
|
|
1123
|
+
f = p;
|
|
1124
|
+
break;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
return h = c.slice(0, f), C ? !0 : (y = s.now(), h = r(h), s(h)({ type: "paragraph", children: d.tokenizeInline(h, y) }));
|
|
1128
|
+
}
|
|
1129
|
+
}), Ur = I((u, e) => {
|
|
1130
|
+
e.exports = t;
|
|
1131
|
+
function t(r, n) {
|
|
1132
|
+
return r.indexOf("\\", n);
|
|
1133
|
+
}
|
|
1134
|
+
}), Mr = I((u, e) => {
|
|
1135
|
+
var t = Ur();
|
|
1136
|
+
e.exports = o, o.locator = t;
|
|
1137
|
+
var r = `
|
|
1138
|
+
`, n = "\\";
|
|
1139
|
+
function o(a, i, D) {
|
|
1140
|
+
var l = this, s, c;
|
|
1141
|
+
if (i.charAt(0) === n && (s = i.charAt(1), l.escape.indexOf(s) !== -1)) return D ? !0 : (s === r ? c = { type: "break" } : c = { type: "text", value: s }, a(n + s)(c));
|
|
1142
|
+
}
|
|
1143
|
+
}), ut = I((u, e) => {
|
|
1144
|
+
e.exports = t;
|
|
1145
|
+
function t(r, n) {
|
|
1146
|
+
return r.indexOf("<", n);
|
|
1147
|
+
}
|
|
1148
|
+
}), _r = I((u, e) => {
|
|
1149
|
+
var t = Bu(), r = pe(), n = ut();
|
|
1150
|
+
e.exports = c, c.locator = n, c.notInLink = !0;
|
|
1151
|
+
var o = "<", a = ">", i = "@", D = "/", l = "mailto:", s = l.length;
|
|
1152
|
+
function c(C, d, E) {
|
|
1153
|
+
var m = this, g = "", x = d.length, f = 0, B = "", p = !1, h = "", F, A, y, w, T;
|
|
1154
|
+
if (d.charAt(0) === o) {
|
|
1155
|
+
for (f++, g = o; f < x && (F = d.charAt(f), !(t(F) || F === a || F === i || F === ":" && d.charAt(f + 1) === D)); ) B += F, f++;
|
|
1156
|
+
if (B) {
|
|
1157
|
+
if (h += B, B = "", F = d.charAt(f), h += F, f++, F === i) p = !0;
|
|
1158
|
+
else {
|
|
1159
|
+
if (F !== ":" || d.charAt(f + 1) !== D) return;
|
|
1160
|
+
h += D, f++;
|
|
1161
|
+
}
|
|
1162
|
+
for (; f < x && (F = d.charAt(f), !(t(F) || F === a)); ) B += F, f++;
|
|
1163
|
+
if (F = d.charAt(f), !(!B || F !== a)) return E ? !0 : (h += B, y = h, g += h + F, A = C.now(), A.column++, A.offset++, p && (h.slice(0, s).toLowerCase() === l ? (y = y.slice(s), A.column += s, A.offset += s) : h = l + h), w = m.inlineTokenizers, m.inlineTokenizers = { text: w.text }, T = m.enterLink(), y = m.tokenizeInline(y, A), m.inlineTokenizers = w, T(), C(g)({ type: "link", title: null, url: r(h, { nonTerminated: !1 }), children: y }));
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}), Vr = I((u, e) => {
|
|
1168
|
+
e.exports = t;
|
|
1169
|
+
function t(r, n) {
|
|
1170
|
+
var o = String(r), a = 0, i;
|
|
1171
|
+
if (typeof n != "string") throw new Error("Expected character");
|
|
1172
|
+
for (i = o.indexOf(n); i !== -1; ) a++, i = o.indexOf(n, i + n.length);
|
|
1173
|
+
return a;
|
|
1174
|
+
}
|
|
1175
|
+
}), Wr = I((u, e) => {
|
|
1176
|
+
e.exports = r;
|
|
1177
|
+
var t = ["www.", "http://", "https://"];
|
|
1178
|
+
function r(n, o) {
|
|
1179
|
+
var a = -1, i, D, l;
|
|
1180
|
+
if (!this.options.gfm) return a;
|
|
1181
|
+
for (D = t.length, i = -1; ++i < D; ) l = n.indexOf(t[i], o), l !== -1 && (a === -1 || l < a) && (a = l);
|
|
1182
|
+
return a;
|
|
1183
|
+
}
|
|
1184
|
+
}), Hr = I((u, e) => {
|
|
1185
|
+
var t = Vr(), r = pe(), n = Mu(), o = Zu(), a = Bu(), i = Wr();
|
|
1186
|
+
e.exports = A, A.locator = i, A.notInLink = !0;
|
|
1187
|
+
var D = 33, l = 38, s = 41, c = 42, C = 44, d = 45, E = 46, m = 58, g = 59, x = 63, f = 60, B = 95, p = 126, h = "(", F = ")";
|
|
1188
|
+
function A(y, w, T) {
|
|
1189
|
+
var b = this, k = b.options.gfm, L = b.inlineTokenizers, R = w.length, v = -1, S = !1, U, j, _, q, J, z, O, $, M, N, P, V, W, X;
|
|
1190
|
+
if (k) {
|
|
1191
|
+
if (w.slice(0, 4) === "www.") S = !0, q = 4;
|
|
1192
|
+
else if (w.slice(0, 7).toLowerCase() === "http://") q = 7;
|
|
1193
|
+
else if (w.slice(0, 8).toLowerCase() === "https://") q = 8;
|
|
1194
|
+
else return;
|
|
1195
|
+
for (v = q - 1, _ = q, U = []; q < R; ) {
|
|
1196
|
+
if (O = w.charCodeAt(q), O === E) {
|
|
1197
|
+
if (v === q - 1) break;
|
|
1198
|
+
U.push(q), v = q, q++;
|
|
1199
|
+
continue;
|
|
1200
|
+
}
|
|
1201
|
+
if (n(O) || o(O) || O === d || O === B) {
|
|
1202
|
+
q++;
|
|
1203
|
+
continue;
|
|
1204
|
+
}
|
|
1205
|
+
break;
|
|
1206
|
+
}
|
|
1207
|
+
if (O === E && (U.pop(), q--), U[0] !== void 0 && (j = U.length < 2 ? _ : U[U.length - 2] + 1, w.slice(j, q).indexOf("_") === -1)) {
|
|
1208
|
+
if (T) return !0;
|
|
1209
|
+
for ($ = q, J = q; q < R && (O = w.charCodeAt(q), !(a(O) || O === f)); ) q++, O === D || O === c || O === C || O === E || O === m || O === x || O === B || O === p || ($ = q);
|
|
1210
|
+
if (q = $, w.charCodeAt(q - 1) === s) for (z = w.slice(J, q), M = t(z, h), N = t(z, F); N > M; ) q = J + z.lastIndexOf(F), z = w.slice(J, q), N--;
|
|
1211
|
+
if (w.charCodeAt(q - 1) === g && (q--, o(w.charCodeAt(q - 1)))) {
|
|
1212
|
+
for ($ = q - 2; o(w.charCodeAt($)); ) $--;
|
|
1213
|
+
w.charCodeAt($) === l && (q = $);
|
|
1214
|
+
}
|
|
1215
|
+
return P = w.slice(0, q), W = r(P, { nonTerminated: !1 }), S && (W = "http://" + W), X = b.enterLink(), b.inlineTokenizers = { text: L.text }, V = b.tokenizeInline(P, y.now()), b.inlineTokenizers = L, X(), y(P)({ type: "link", title: null, url: W, children: V });
|
|
1216
|
+
}
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
}), Gr = I((u, e) => {
|
|
1220
|
+
var t = Mu(), r = Zu(), n = 43, o = 45, a = 46, i = 95;
|
|
1221
|
+
e.exports = D;
|
|
1222
|
+
function D(s, c) {
|
|
1223
|
+
var C = this, d, E;
|
|
1224
|
+
if (!this.options.gfm || (d = s.indexOf("@", c), d === -1)) return -1;
|
|
1225
|
+
if (E = d, E === c || !l(s.charCodeAt(E - 1))) return D.call(C, s, d + 1);
|
|
1226
|
+
for (; E > c && l(s.charCodeAt(E - 1)); ) E--;
|
|
1227
|
+
return E;
|
|
1228
|
+
}
|
|
1229
|
+
function l(s) {
|
|
1230
|
+
return t(s) || r(s) || s === n || s === o || s === a || s === i;
|
|
1231
|
+
}
|
|
1232
|
+
}), Jr = I((u, e) => {
|
|
1233
|
+
var t = pe(), r = Mu(), n = Zu(), o = Gr();
|
|
1234
|
+
e.exports = c, c.locator = o, c.notInLink = !0;
|
|
1235
|
+
var a = 43, i = 45, D = 46, l = 64, s = 95;
|
|
1236
|
+
function c(C, d, E) {
|
|
1237
|
+
var m = this, g = m.options.gfm, x = m.inlineTokenizers, f = 0, B = d.length, p = -1, h, F, A, y;
|
|
1238
|
+
if (g) {
|
|
1239
|
+
for (h = d.charCodeAt(f); r(h) || n(h) || h === a || h === i || h === D || h === s; ) h = d.charCodeAt(++f);
|
|
1240
|
+
if (f !== 0 && h === l) {
|
|
1241
|
+
for (f++; f < B; ) {
|
|
1242
|
+
if (h = d.charCodeAt(f), r(h) || n(h) || h === i || h === D || h === s) {
|
|
1243
|
+
f++, p === -1 && h === D && (p = f);
|
|
1244
|
+
continue;
|
|
1245
|
+
}
|
|
1246
|
+
break;
|
|
1247
|
+
}
|
|
1248
|
+
if (!(p === -1 || p === f || h === i || h === s)) return h === D && f--, F = d.slice(0, f), E ? !0 : (y = m.enterLink(), m.inlineTokenizers = { text: x.text }, A = m.tokenizeInline(F, C.now()), m.inlineTokenizers = x, y(), C(F)({ type: "link", title: null, url: "mailto:" + t(F, { nonTerminated: !1 }), children: A }));
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
}), Xr = I((u, e) => {
|
|
1253
|
+
var t = Zu(), r = ut(), n = Ze().tag;
|
|
1254
|
+
e.exports = c, c.locator = r;
|
|
1255
|
+
var o = "<", a = "?", i = "!", D = "/", l = /^<a /i, s = /^<\/a>/i;
|
|
1256
|
+
function c(C, d, E) {
|
|
1257
|
+
var m = this, g = d.length, x, f;
|
|
1258
|
+
if (!(d.charAt(0) !== o || g < 3) && (x = d.charAt(1), !(!t(x) && x !== a && x !== i && x !== D) && (f = d.match(n), !!f))) return E ? !0 : (f = f[0], !m.inLink && l.test(f) ? m.inLink = !0 : m.inLink && s.test(f) && (m.inLink = !1), C(f)({ type: "html", value: f }));
|
|
1259
|
+
}
|
|
1260
|
+
}), et = I((u, e) => {
|
|
1261
|
+
e.exports = t;
|
|
1262
|
+
function t(r, n) {
|
|
1263
|
+
var o = r.indexOf("[", n), a = r.indexOf("![", n);
|
|
1264
|
+
return a === -1 || o < a ? o : a;
|
|
1265
|
+
}
|
|
1266
|
+
}), Yr = I((u, e) => {
|
|
1267
|
+
var t = Bu(), r = et();
|
|
1268
|
+
e.exports = g, g.locator = r;
|
|
1269
|
+
var n = `
|
|
1270
|
+
`, o = "!", a = '"', i = "'", D = "(", l = ")", s = "<", c = ">", C = "[", d = "\\", E = "]", m = "`";
|
|
1271
|
+
function g(x, f, B) {
|
|
1272
|
+
var p = this, h = "", F = 0, A = f.charAt(0), y = p.options.pedantic, w = p.options.commonmark, T = p.options.gfm, b, k, L, R, v, S, U, j, _, q, J, z, O, $, M, N, P, V;
|
|
1273
|
+
if (A === o && (j = !0, h = A, A = f.charAt(++F)), A === C && !(!j && p.inLink)) {
|
|
1274
|
+
for (h += A, $ = "", F++, J = f.length, N = x.now(), O = 0, N.column += F, N.offset += F; F < J; ) {
|
|
1275
|
+
if (A = f.charAt(F), S = A, A === m) {
|
|
1276
|
+
for (k = 1; f.charAt(F + 1) === m; ) S += A, F++, k++;
|
|
1277
|
+
L ? k >= L && (L = 0) : L = k;
|
|
1278
|
+
} else if (A === d) F++, S += f.charAt(F);
|
|
1279
|
+
else if ((!L || T) && A === C) O++;
|
|
1280
|
+
else if ((!L || T) && A === E) if (O) O--;
|
|
1281
|
+
else {
|
|
1282
|
+
if (f.charAt(F + 1) !== D) return;
|
|
1283
|
+
S += D, b = !0, F++;
|
|
1284
|
+
break;
|
|
1285
|
+
}
|
|
1286
|
+
$ += S, S = "", F++;
|
|
1287
|
+
}
|
|
1288
|
+
if (b) {
|
|
1289
|
+
for (_ = $, h += $ + S, F++; F < J && (A = f.charAt(F), !!t(A)); ) h += A, F++;
|
|
1290
|
+
if (A = f.charAt(F), $ = "", R = h, A === s) {
|
|
1291
|
+
for (F++, R += s; F < J && (A = f.charAt(F), A !== c); ) {
|
|
1292
|
+
if (w && A === n) return;
|
|
1293
|
+
$ += A, F++;
|
|
1294
|
+
}
|
|
1295
|
+
if (f.charAt(F) !== c) return;
|
|
1296
|
+
h += s + $ + c, M = $, F++;
|
|
1297
|
+
} else {
|
|
1298
|
+
for (A = null, S = ""; F < J && (A = f.charAt(F), !(S && (A === a || A === i || w && A === D))); ) {
|
|
1299
|
+
if (t(A)) {
|
|
1300
|
+
if (!y) break;
|
|
1301
|
+
S += A;
|
|
1302
|
+
} else {
|
|
1303
|
+
if (A === D) O++;
|
|
1304
|
+
else if (A === l) {
|
|
1305
|
+
if (O === 0) break;
|
|
1306
|
+
O--;
|
|
1307
|
+
}
|
|
1308
|
+
$ += S, S = "", A === d && ($ += d, A = f.charAt(++F)), $ += A;
|
|
1309
|
+
}
|
|
1310
|
+
F++;
|
|
1311
|
+
}
|
|
1312
|
+
h += $, M = $, F = h.length;
|
|
1313
|
+
}
|
|
1314
|
+
for ($ = ""; F < J && (A = f.charAt(F), !!t(A)); ) $ += A, F++;
|
|
1315
|
+
if (A = f.charAt(F), h += $, $ && (A === a || A === i || w && A === D)) if (F++, h += A, $ = "", q = A === D ? l : A, v = h, w) {
|
|
1316
|
+
for (; F < J && (A = f.charAt(F), A !== q); ) A === d && ($ += d, A = f.charAt(++F)), F++, $ += A;
|
|
1317
|
+
if (A = f.charAt(F), A !== q) return;
|
|
1318
|
+
for (z = $, h += $ + A, F++; F < J && (A = f.charAt(F), !!t(A)); ) h += A, F++;
|
|
1319
|
+
} else for (S = ""; F < J; ) {
|
|
1320
|
+
if (A = f.charAt(F), A === q) U && ($ += q + S, S = ""), U = !0;
|
|
1321
|
+
else if (!U) $ += A;
|
|
1322
|
+
else if (A === l) {
|
|
1323
|
+
h += $ + q + S, z = $;
|
|
1324
|
+
break;
|
|
1325
|
+
} else t(A) ? S += A : ($ += q + S + A, S = "", U = !1);
|
|
1326
|
+
F++;
|
|
1327
|
+
}
|
|
1328
|
+
if (f.charAt(F) === l) return B ? !0 : (h += l, M = p.decode.raw(p.unescape(M), x(R).test().end, { nonTerminated: !1 }), z && (v = x(v).test().end, z = p.decode.raw(p.unescape(z), v)), V = { type: j ? "image" : "link", title: z || null, url: M }, j ? V.alt = p.decode.raw(p.unescape(_), N) || null : (P = p.enterLink(), V.children = p.tokenizeInline(_, N), P()), x(h)(V));
|
|
1329
|
+
}
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
}), Qr = I((u, e) => {
|
|
1333
|
+
var t = Bu(), r = et(), n = Ke();
|
|
1334
|
+
e.exports = E, E.locator = r;
|
|
1335
|
+
var o = "link", a = "image", i = "shortcut", D = "collapsed", l = "full", s = "!", c = "[", C = "\\", d = "]";
|
|
1336
|
+
function E(m, g, x) {
|
|
1337
|
+
var f = this, B = f.options.commonmark, p = g.charAt(0), h = 0, F = g.length, A = "", y = "", w = o, T = i, b, k, L, R, v, S, U, j;
|
|
1338
|
+
if (p === s && (w = a, y = p, p = g.charAt(++h)), p === c) {
|
|
1339
|
+
for (h++, y += p, S = "", j = 0; h < F; ) {
|
|
1340
|
+
if (p = g.charAt(h), p === c) U = !0, j++;
|
|
1341
|
+
else if (p === d) {
|
|
1342
|
+
if (!j) break;
|
|
1343
|
+
j--;
|
|
1344
|
+
}
|
|
1345
|
+
p === C && (S += C, p = g.charAt(++h)), S += p, h++;
|
|
1346
|
+
}
|
|
1347
|
+
if (A = S, b = S, p = g.charAt(h), p === d) {
|
|
1348
|
+
if (h++, A += p, S = "", !B) for (; h < F && (p = g.charAt(h), !!t(p)); ) S += p, h++;
|
|
1349
|
+
if (p = g.charAt(h), p === c) {
|
|
1350
|
+
for (k = "", S += p, h++; h < F && (p = g.charAt(h), !(p === c || p === d)); ) p === C && (k += C, p = g.charAt(++h)), k += p, h++;
|
|
1351
|
+
p = g.charAt(h), p === d ? (T = k ? l : D, S += k + p, h++) : k = "", A += S, S = "";
|
|
1352
|
+
} else {
|
|
1353
|
+
if (!b) return;
|
|
1354
|
+
k = b;
|
|
1355
|
+
}
|
|
1356
|
+
if (!(T !== l && U)) return A = y + A, w === o && f.inLink ? null : x ? !0 : (L = m.now(), L.column += y.length, L.offset += y.length, k = T === l ? k : b, R = { type: w + "Reference", identifier: n(k), label: k, referenceType: T }, w === o ? (v = f.enterLink(), R.children = f.tokenizeInline(b, L), v()) : R.alt = f.decode.raw(f.unescape(b), L) || null, m(A)(R));
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
}
|
|
1360
|
+
}), Zr = I((u, e) => {
|
|
1361
|
+
e.exports = t;
|
|
1362
|
+
function t(r, n) {
|
|
1363
|
+
var o = r.indexOf("**", n), a = r.indexOf("__", n);
|
|
1364
|
+
return a === -1 ? o : o === -1 || a < o ? a : o;
|
|
1365
|
+
}
|
|
1366
|
+
}), Kr = I((u, e) => {
|
|
1367
|
+
var t = _u(), r = Bu(), n = Zr();
|
|
1368
|
+
e.exports = D, D.locator = n;
|
|
1369
|
+
var o = "\\", a = "*", i = "_";
|
|
1370
|
+
function D(l, s, c) {
|
|
1371
|
+
var C = this, d = 0, E = s.charAt(d), m, g, x, f, B, p, h;
|
|
1372
|
+
if (!(E !== a && E !== i || s.charAt(++d) !== E) && (g = C.options.pedantic, x = E, B = x + x, p = s.length, d++, f = "", E = "", !(g && r(s.charAt(d))))) for (; d < p; ) {
|
|
1373
|
+
if (h = E, E = s.charAt(d), E === x && s.charAt(d + 1) === x && (!g || !r(h)) && (E = s.charAt(d + 2), E !== x)) return t(f) ? c ? !0 : (m = l.now(), m.column += 2, m.offset += 2, l(B + f + B)({ type: "strong", children: C.tokenizeInline(f, m) })) : void 0;
|
|
1374
|
+
!g && E === o && (f += E, E = s.charAt(++d)), f += E, d++;
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
}), un = I((u, e) => {
|
|
1378
|
+
e.exports = n;
|
|
1379
|
+
var t = String.fromCharCode, r = /\w/;
|
|
1380
|
+
function n(o) {
|
|
1381
|
+
return r.test(typeof o == "number" ? t(o) : o.charAt(0));
|
|
1382
|
+
}
|
|
1383
|
+
}), en = I((u, e) => {
|
|
1384
|
+
e.exports = t;
|
|
1385
|
+
function t(r, n) {
|
|
1386
|
+
var o = r.indexOf("*", n), a = r.indexOf("_", n);
|
|
1387
|
+
return a === -1 ? o : o === -1 || a < o ? a : o;
|
|
1388
|
+
}
|
|
1389
|
+
}), tn = I((u, e) => {
|
|
1390
|
+
var t = _u(), r = un(), n = Bu(), o = en();
|
|
1391
|
+
e.exports = l, l.locator = o;
|
|
1392
|
+
var a = "*", i = "_", D = "\\";
|
|
1393
|
+
function l(s, c, C) {
|
|
1394
|
+
var d = this, E = 0, m = c.charAt(E), g, x, f, B, p, h, F;
|
|
1395
|
+
if (!(m !== a && m !== i) && (x = d.options.pedantic, p = m, f = m, h = c.length, E++, B = "", m = "", !(x && n(c.charAt(E))))) for (; E < h; ) {
|
|
1396
|
+
if (F = m, m = c.charAt(E), m === f && (!x || !n(F))) {
|
|
1397
|
+
if (m = c.charAt(++E), m !== f) {
|
|
1398
|
+
if (!t(B) || F === f) return;
|
|
1399
|
+
if (!x && f === i && r(m)) {
|
|
1400
|
+
B += f;
|
|
1401
|
+
continue;
|
|
1402
|
+
}
|
|
1403
|
+
return C ? !0 : (g = s.now(), g.column++, g.offset++, s(p + B + f)({ type: "emphasis", children: d.tokenizeInline(B, g) }));
|
|
1404
|
+
}
|
|
1405
|
+
B += f;
|
|
1406
|
+
}
|
|
1407
|
+
!x && m === D && (B += m, m = c.charAt(++E)), B += m, E++;
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
}), rn = I((u, e) => {
|
|
1411
|
+
e.exports = t;
|
|
1412
|
+
function t(r, n) {
|
|
1413
|
+
return r.indexOf("~~", n);
|
|
1414
|
+
}
|
|
1415
|
+
}), nn = I((u, e) => {
|
|
1416
|
+
var t = Bu(), r = rn();
|
|
1417
|
+
e.exports = a, a.locator = r;
|
|
1418
|
+
var n = "~", o = "~~";
|
|
1419
|
+
function a(i, D, l) {
|
|
1420
|
+
var s = this, c = "", C = "", d = "", E = "", m, g, x;
|
|
1421
|
+
if (!(!s.options.gfm || D.charAt(0) !== n || D.charAt(1) !== n || t(D.charAt(2)))) for (m = 1, g = D.length, x = i.now(), x.column += 2, x.offset += 2; ++m < g; ) {
|
|
1422
|
+
if (c = D.charAt(m), c === n && C === n && (!d || !t(d))) return l ? !0 : i(o + E + o)({ type: "delete", children: s.tokenizeInline(E, x) });
|
|
1423
|
+
E += C, d = C, C = c;
|
|
1424
|
+
}
|
|
1425
|
+
}
|
|
1426
|
+
}), on = I((u, e) => {
|
|
1427
|
+
e.exports = t;
|
|
1428
|
+
function t(r, n) {
|
|
1429
|
+
return r.indexOf("`", n);
|
|
1430
|
+
}
|
|
1431
|
+
}), an = I((u, e) => {
|
|
1432
|
+
var t = on();
|
|
1433
|
+
e.exports = a, a.locator = t;
|
|
1434
|
+
var r = 10, n = 32, o = 96;
|
|
1435
|
+
function a(i, D, l) {
|
|
1436
|
+
for (var s = D.length, c = 0, C, d, E, m, g, x; c < s && D.charCodeAt(c) === o; ) c++;
|
|
1437
|
+
if (!(c === 0 || c === s)) {
|
|
1438
|
+
for (C = c, g = D.charCodeAt(c); c < s; ) {
|
|
1439
|
+
if (m = g, g = D.charCodeAt(c + 1), m === o) {
|
|
1440
|
+
if (d === void 0 && (d = c), E = c + 1, g !== o && E - d === C) {
|
|
1441
|
+
x = !0;
|
|
1442
|
+
break;
|
|
1443
|
+
}
|
|
1444
|
+
} else d !== void 0 && (d = void 0, E = void 0);
|
|
1445
|
+
c++;
|
|
1446
|
+
}
|
|
1447
|
+
if (x) {
|
|
1448
|
+
if (l) return !0;
|
|
1449
|
+
if (c = C, s = d, m = D.charCodeAt(c), g = D.charCodeAt(s - 1), x = !1, s - c > 2 && (m === n || m === r) && (g === n || g === r)) {
|
|
1450
|
+
for (c++, s--; c < s; ) {
|
|
1451
|
+
if (m = D.charCodeAt(c), m !== n && m !== r) {
|
|
1452
|
+
x = !0;
|
|
1453
|
+
break;
|
|
1454
|
+
}
|
|
1455
|
+
c++;
|
|
1456
|
+
}
|
|
1457
|
+
x === !0 && (C++, d--);
|
|
1458
|
+
}
|
|
1459
|
+
return i(D.slice(0, E))({ type: "inlineCode", value: D.slice(C, d) });
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
}), Dn = I((u, e) => {
|
|
1464
|
+
e.exports = t;
|
|
1465
|
+
function t(r, n) {
|
|
1466
|
+
for (var o = r.indexOf(`
|
|
1467
|
+
`, n); o > n && r.charAt(o - 1) === " "; ) o--;
|
|
1468
|
+
return o;
|
|
1469
|
+
}
|
|
1470
|
+
}), sn = I((u, e) => {
|
|
1471
|
+
var t = Dn();
|
|
1472
|
+
e.exports = a, a.locator = t;
|
|
1473
|
+
var r = " ", n = `
|
|
1474
|
+
`, o = 2;
|
|
1475
|
+
function a(i, D, l) {
|
|
1476
|
+
for (var s = D.length, c = -1, C = "", d; ++c < s; ) {
|
|
1477
|
+
if (d = D.charAt(c), d === n) return c < o ? void 0 : l ? !0 : (C += d, i(C)({ type: "break" }));
|
|
1478
|
+
if (d !== r) return;
|
|
1479
|
+
C += d;
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
}), ln = I((u, e) => {
|
|
1483
|
+
e.exports = t;
|
|
1484
|
+
function t(r, n, o) {
|
|
1485
|
+
var a = this, i, D, l, s, c, C, d, E, m, g;
|
|
1486
|
+
if (o) return !0;
|
|
1487
|
+
for (i = a.inlineMethods, s = i.length, D = a.inlineTokenizers, l = -1, m = n.length; ++l < s; ) E = i[l], !(E === "text" || !D[E]) && (d = D[E].locator, d || r.file.fail("Missing locator: `" + E + "`"), C = d.call(a, n, 1), C !== -1 && C < m && (m = C));
|
|
1488
|
+
c = n.slice(0, m), g = r.now(), a.decode(c, g, x);
|
|
1489
|
+
function x(f, B, p) {
|
|
1490
|
+
r(p || f)({ type: "text", value: f });
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
}), cn = I((u, e) => {
|
|
1494
|
+
var t = Uu(), r = Dr(), n = sr(), o = lr(), a = Cr(), i = Ar();
|
|
1495
|
+
e.exports = D;
|
|
1496
|
+
function D(c, C) {
|
|
1497
|
+
this.file = C, this.offset = {}, this.options = t(this.options), this.setOptions({}), this.inList = !1, this.inBlock = !1, this.inLink = !1, this.atStart = !0, this.toOffset = n(C).toOffset, this.unescape = o(this, "escape"), this.decode = a(this);
|
|
1498
|
+
}
|
|
1499
|
+
var l = D.prototype;
|
|
1500
|
+
l.setOptions = mr(), l.parse = wr(), l.options = Xe(), l.exitStart = r("atStart", !0), l.enterList = r("inList", !1), l.enterLink = r("inLink", !1), l.enterBlock = r("inBlock", !1), l.interruptParagraph = [["thematicBreak"], ["list"], ["atxHeading"], ["fencedCode"], ["blockquote"], ["html"], ["setextHeading", { commonmark: !1 }], ["definition", { commonmark: !1 }]], l.interruptList = [["atxHeading", { pedantic: !1 }], ["fencedCode", { pedantic: !1 }], ["thematicBreak", { pedantic: !1 }], ["definition", { commonmark: !1 }]], l.interruptBlockquote = [["indentedCode", { commonmark: !0 }], ["fencedCode", { commonmark: !0 }], ["atxHeading", { commonmark: !0 }], ["setextHeading", { commonmark: !0 }], ["thematicBreak", { commonmark: !0 }], ["html", { commonmark: !0 }], ["list", { commonmark: !0 }], ["definition", { commonmark: !1 }]], l.blockTokenizers = { blankLine: kr(), indentedCode: qr(), fencedCode: Sr(), blockquote: Lr(), atxHeading: Tr(), thematicBreak: Or(), list: Rr(), setextHeading: Ir(), html: Pr(), definition: jr(), table: zr(), paragraph: $r() }, l.inlineTokenizers = { escape: Mr(), autoLink: _r(), url: Hr(), email: Jr(), html: Xr(), link: Yr(), reference: Qr(), strong: Kr(), emphasis: tn(), deletion: nn(), code: an(), break: sn(), text: ln() }, l.blockMethods = s(l.blockTokenizers), l.inlineMethods = s(l.inlineTokenizers), l.tokenizeBlock = i("block"), l.tokenizeInline = i("inline"), l.tokenizeFactory = i;
|
|
1501
|
+
function s(c) {
|
|
1502
|
+
var C = [], d;
|
|
1503
|
+
for (d in c) C.push(d);
|
|
1504
|
+
return C;
|
|
1505
|
+
}
|
|
1506
|
+
}), fn = I((u, e) => {
|
|
1507
|
+
var t = ar(), r = Uu(), n = cn();
|
|
1508
|
+
e.exports = o, o.Parser = n;
|
|
1509
|
+
function o(a) {
|
|
1510
|
+
var i = this.data("settings"), D = t(n);
|
|
1511
|
+
D.prototype.options = r(D.prototype.options, i, a), this.Parser = D;
|
|
1512
|
+
}
|
|
1513
|
+
}), pn = I((u, e) => {
|
|
1514
|
+
e.exports = t;
|
|
1515
|
+
function t(r) {
|
|
1516
|
+
if (r) throw r;
|
|
1517
|
+
}
|
|
1518
|
+
}), tt = I((u, e) => {
|
|
1519
|
+
e.exports = function(t) {
|
|
1520
|
+
return t != null && t.constructor != null && typeof t.constructor.isBuffer == "function" && t.constructor.isBuffer(t);
|
|
1521
|
+
};
|
|
1522
|
+
}), hn = I((u, e) => {
|
|
1523
|
+
var t = Object.prototype.hasOwnProperty, r = Object.prototype.toString, n = Object.defineProperty, o = Object.getOwnPropertyDescriptor, a = function(s) {
|
|
1524
|
+
return typeof Array.isArray == "function" ? Array.isArray(s) : r.call(s) === "[object Array]";
|
|
1525
|
+
}, i = function(s) {
|
|
1526
|
+
if (!s || r.call(s) !== "[object Object]") return !1;
|
|
1527
|
+
var c = t.call(s, "constructor"), C = s.constructor && s.constructor.prototype && t.call(s.constructor.prototype, "isPrototypeOf");
|
|
1528
|
+
if (s.constructor && !c && !C) return !1;
|
|
1529
|
+
var d;
|
|
1530
|
+
for (d in s) ;
|
|
1531
|
+
return typeof d > "u" || t.call(s, d);
|
|
1532
|
+
}, D = function(s, c) {
|
|
1533
|
+
n && c.name === "__proto__" ? n(s, c.name, { enumerable: !0, configurable: !0, value: c.newValue, writable: !0 }) : s[c.name] = c.newValue;
|
|
1534
|
+
}, l = function(s, c) {
|
|
1535
|
+
if (c === "__proto__") if (t.call(s, c)) {
|
|
1536
|
+
if (o) return o(s, c).value;
|
|
1537
|
+
} else return;
|
|
1538
|
+
return s[c];
|
|
1539
|
+
};
|
|
1540
|
+
e.exports = function s() {
|
|
1541
|
+
var c, C, d, E, m, g, x = arguments[0], f = 1, B = arguments.length, p = !1;
|
|
1542
|
+
for (typeof x == "boolean" && (p = x, x = arguments[1] || {}, f = 2), (x == null || typeof x != "object" && typeof x != "function") && (x = {}); f < B; ++f) if (c = arguments[f], c != null) for (C in c) d = l(x, C), E = l(c, C), x !== E && (p && E && (i(E) || (m = a(E))) ? (m ? (m = !1, g = d && a(d) ? d : []) : g = d && i(d) ? d : {}, D(x, { name: C, newValue: s(p, g, E) })) : typeof E < "u" && D(x, { name: C, newValue: E }));
|
|
1543
|
+
return x;
|
|
1544
|
+
};
|
|
1545
|
+
}), Fn = I((u, e) => {
|
|
1546
|
+
e.exports = (t) => {
|
|
1547
|
+
if (Object.prototype.toString.call(t) !== "[object Object]") return !1;
|
|
1548
|
+
let r = Object.getPrototypeOf(t);
|
|
1549
|
+
return r === null || r === Object.prototype;
|
|
1550
|
+
};
|
|
1551
|
+
}), dn = I((u, e) => {
|
|
1552
|
+
var t = [].slice;
|
|
1553
|
+
e.exports = r;
|
|
1554
|
+
function r(n, o) {
|
|
1555
|
+
var a;
|
|
1556
|
+
return i;
|
|
1557
|
+
function i() {
|
|
1558
|
+
var s = t.call(arguments, 0), c = n.length > s.length, C;
|
|
1559
|
+
c && s.push(D);
|
|
1560
|
+
try {
|
|
1561
|
+
C = n.apply(null, s);
|
|
1562
|
+
} catch (d) {
|
|
1563
|
+
if (c && a) throw d;
|
|
1564
|
+
return D(d);
|
|
1565
|
+
}
|
|
1566
|
+
c || (C && typeof C.then == "function" ? C.then(l, D) : C instanceof Error ? D(C) : l(C));
|
|
1567
|
+
}
|
|
1568
|
+
function D() {
|
|
1569
|
+
a || (a = !0, o.apply(null, arguments));
|
|
1570
|
+
}
|
|
1571
|
+
function l(s) {
|
|
1572
|
+
D(null, s);
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
}), Cn = I((u, e) => {
|
|
1576
|
+
var t = dn();
|
|
1577
|
+
e.exports = n, n.wrap = t;
|
|
1578
|
+
var r = [].slice;
|
|
1579
|
+
function n() {
|
|
1580
|
+
var o = [], a = {};
|
|
1581
|
+
return a.run = i, a.use = D, a;
|
|
1582
|
+
function i() {
|
|
1583
|
+
var l = -1, s = r.call(arguments, 0, -1), c = arguments[arguments.length - 1];
|
|
1584
|
+
if (typeof c != "function") throw new Error("Expected function as last argument, not " + c);
|
|
1585
|
+
C.apply(null, [null].concat(s));
|
|
1586
|
+
function C(d) {
|
|
1587
|
+
var E = o[++l], m = r.call(arguments, 0), g = m.slice(1), x = s.length, f = -1;
|
|
1588
|
+
if (d) {
|
|
1589
|
+
c(d);
|
|
1590
|
+
return;
|
|
1591
|
+
}
|
|
1592
|
+
for (; ++f < x; ) (g[f] === null || g[f] === void 0) && (g[f] = s[f]);
|
|
1593
|
+
s = g, E ? t(E, C).apply(null, s) : c.apply(null, [null].concat(s));
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
function D(l) {
|
|
1597
|
+
if (typeof l != "function") throw new Error("Expected `fn` to be a function, not " + l);
|
|
1598
|
+
return o.push(l), a;
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
}), An = I((u, e) => {
|
|
1602
|
+
var t = {}.hasOwnProperty;
|
|
1603
|
+
e.exports = r;
|
|
1604
|
+
function r(i) {
|
|
1605
|
+
return !i || typeof i != "object" ? "" : t.call(i, "position") || t.call(i, "type") ? o(i.position) : t.call(i, "start") || t.call(i, "end") ? o(i) : t.call(i, "line") || t.call(i, "column") ? n(i) : "";
|
|
1606
|
+
}
|
|
1607
|
+
function n(i) {
|
|
1608
|
+
return (!i || typeof i != "object") && (i = {}), a(i.line) + ":" + a(i.column);
|
|
1609
|
+
}
|
|
1610
|
+
function o(i) {
|
|
1611
|
+
return (!i || typeof i != "object") && (i = {}), n(i.start) + "-" + n(i.end);
|
|
1612
|
+
}
|
|
1613
|
+
function a(i) {
|
|
1614
|
+
return i && typeof i == "number" ? i : 1;
|
|
1615
|
+
}
|
|
1616
|
+
}), gn = I((u, e) => {
|
|
1617
|
+
var t = An();
|
|
1618
|
+
e.exports = o;
|
|
1619
|
+
function r() {
|
|
1620
|
+
}
|
|
1621
|
+
r.prototype = Error.prototype, o.prototype = new r();
|
|
1622
|
+
var n = o.prototype;
|
|
1623
|
+
n.file = "", n.name = "", n.reason = "", n.message = "", n.stack = "", n.fatal = null, n.column = null, n.line = null;
|
|
1624
|
+
function o(i, D, l) {
|
|
1625
|
+
var s, c, C;
|
|
1626
|
+
typeof D == "string" && (l = D, D = null), s = a(l), c = t(D) || "1:1", C = { start: { line: null, column: null }, end: { line: null, column: null } }, D && D.position && (D = D.position), D && (D.start ? (C = D, D = D.start) : C.start = D), i.stack && (this.stack = i.stack, i = i.message), this.message = i, this.name = c, this.reason = i, this.line = D ? D.line : null, this.column = D ? D.column : null, this.location = C, this.source = s[0], this.ruleId = s[1];
|
|
1627
|
+
}
|
|
1628
|
+
function a(i) {
|
|
1629
|
+
var D = [null, null], l;
|
|
1630
|
+
return typeof i == "string" && (l = i.indexOf(":"), l === -1 ? D[1] = i : (D[0] = i.slice(0, l), D[1] = i.slice(l + 1))), D;
|
|
1631
|
+
}
|
|
1632
|
+
}), En = I((u) => {
|
|
1633
|
+
u.basename = e, u.dirname = t, u.extname = r, u.join = n, u.sep = "/";
|
|
1634
|
+
function e(D, l) {
|
|
1635
|
+
var s = 0, c = -1, C, d, E, m;
|
|
1636
|
+
if (l !== void 0 && typeof l != "string") throw new TypeError('"ext" argument must be a string');
|
|
1637
|
+
if (i(D), C = D.length, l === void 0 || !l.length || l.length > D.length) {
|
|
1638
|
+
for (; C--; ) if (D.charCodeAt(C) === 47) {
|
|
1639
|
+
if (E) {
|
|
1640
|
+
s = C + 1;
|
|
1641
|
+
break;
|
|
1642
|
+
}
|
|
1643
|
+
} else c < 0 && (E = !0, c = C + 1);
|
|
1644
|
+
return c < 0 ? "" : D.slice(s, c);
|
|
1645
|
+
}
|
|
1646
|
+
if (l === D) return "";
|
|
1647
|
+
for (d = -1, m = l.length - 1; C--; ) if (D.charCodeAt(C) === 47) {
|
|
1648
|
+
if (E) {
|
|
1649
|
+
s = C + 1;
|
|
1650
|
+
break;
|
|
1651
|
+
}
|
|
1652
|
+
} else d < 0 && (E = !0, d = C + 1), m > -1 && (D.charCodeAt(C) === l.charCodeAt(m--) ? m < 0 && (c = C) : (m = -1, c = d));
|
|
1653
|
+
return s === c ? c = d : c < 0 && (c = D.length), D.slice(s, c);
|
|
1654
|
+
}
|
|
1655
|
+
function t(D) {
|
|
1656
|
+
var l, s, c;
|
|
1657
|
+
if (i(D), !D.length) return ".";
|
|
1658
|
+
for (l = -1, c = D.length; --c; ) if (D.charCodeAt(c) === 47) {
|
|
1659
|
+
if (s) {
|
|
1660
|
+
l = c;
|
|
1661
|
+
break;
|
|
1662
|
+
}
|
|
1663
|
+
} else s || (s = !0);
|
|
1664
|
+
return l < 0 ? D.charCodeAt(0) === 47 ? "/" : "." : l === 1 && D.charCodeAt(0) === 47 ? "//" : D.slice(0, l);
|
|
1665
|
+
}
|
|
1666
|
+
function r(D) {
|
|
1667
|
+
var l = -1, s = 0, c = -1, C = 0, d, E, m;
|
|
1668
|
+
for (i(D), m = D.length; m--; ) {
|
|
1669
|
+
if (E = D.charCodeAt(m), E === 47) {
|
|
1670
|
+
if (d) {
|
|
1671
|
+
s = m + 1;
|
|
1672
|
+
break;
|
|
1673
|
+
}
|
|
1674
|
+
continue;
|
|
1675
|
+
}
|
|
1676
|
+
c < 0 && (d = !0, c = m + 1), E === 46 ? l < 0 ? l = m : C !== 1 && (C = 1) : l > -1 && (C = -1);
|
|
1677
|
+
}
|
|
1678
|
+
return l < 0 || c < 0 || C === 0 || C === 1 && l === c - 1 && l === s + 1 ? "" : D.slice(l, c);
|
|
1679
|
+
}
|
|
1680
|
+
function n() {
|
|
1681
|
+
for (var D = -1, l; ++D < arguments.length; ) i(arguments[D]), arguments[D] && (l = l === void 0 ? arguments[D] : l + "/" + arguments[D]);
|
|
1682
|
+
return l === void 0 ? "." : o(l);
|
|
1683
|
+
}
|
|
1684
|
+
function o(D) {
|
|
1685
|
+
var l, s;
|
|
1686
|
+
return i(D), l = D.charCodeAt(0) === 47, s = a(D, !l), !s.length && !l && (s = "."), s.length && D.charCodeAt(D.length - 1) === 47 && (s += "/"), l ? "/" + s : s;
|
|
1687
|
+
}
|
|
1688
|
+
function a(D, l) {
|
|
1689
|
+
for (var s = "", c = 0, C = -1, d = 0, E = -1, m, g; ++E <= D.length; ) {
|
|
1690
|
+
if (E < D.length) m = D.charCodeAt(E);
|
|
1691
|
+
else {
|
|
1692
|
+
if (m === 47) break;
|
|
1693
|
+
m = 47;
|
|
1694
|
+
}
|
|
1695
|
+
if (m === 47) {
|
|
1696
|
+
if (!(C === E - 1 || d === 1)) if (C !== E - 1 && d === 2) {
|
|
1697
|
+
if (s.length < 2 || c !== 2 || s.charCodeAt(s.length - 1) !== 46 || s.charCodeAt(s.length - 2) !== 46) {
|
|
1698
|
+
if (s.length > 2) {
|
|
1699
|
+
if (g = s.lastIndexOf("/"), g !== s.length - 1) {
|
|
1700
|
+
g < 0 ? (s = "", c = 0) : (s = s.slice(0, g), c = s.length - 1 - s.lastIndexOf("/")), C = E, d = 0;
|
|
1701
|
+
continue;
|
|
1702
|
+
}
|
|
1703
|
+
} else if (s.length) {
|
|
1704
|
+
s = "", c = 0, C = E, d = 0;
|
|
1705
|
+
continue;
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
l && (s = s.length ? s + "/.." : "..", c = 2);
|
|
1709
|
+
} else s.length ? s += "/" + D.slice(C + 1, E) : s = D.slice(C + 1, E), c = E - C - 1;
|
|
1710
|
+
C = E, d = 0;
|
|
1711
|
+
} else m === 46 && d > -1 ? d++ : d = -1;
|
|
1712
|
+
}
|
|
1713
|
+
return s;
|
|
1714
|
+
}
|
|
1715
|
+
function i(D) {
|
|
1716
|
+
if (typeof D != "string") throw new TypeError("Path must be a string. Received " + JSON.stringify(D));
|
|
1717
|
+
}
|
|
1718
|
+
}), mn = I((u) => {
|
|
1719
|
+
u.cwd = e;
|
|
1720
|
+
function e() {
|
|
1721
|
+
return "/";
|
|
1722
|
+
}
|
|
1723
|
+
}), vn = I((u, e) => {
|
|
1724
|
+
var t = En(), r = mn(), n = tt();
|
|
1725
|
+
e.exports = i;
|
|
1726
|
+
var o = {}.hasOwnProperty, a = ["history", "path", "basename", "stem", "extname", "dirname"];
|
|
1727
|
+
i.prototype.toString = f, Object.defineProperty(i.prototype, "path", { get: D, set: l }), Object.defineProperty(i.prototype, "dirname", { get: s, set: c }), Object.defineProperty(i.prototype, "basename", { get: C, set: d }), Object.defineProperty(i.prototype, "extname", { get: E, set: m }), Object.defineProperty(i.prototype, "stem", { get: g, set: x });
|
|
1728
|
+
function i(F) {
|
|
1729
|
+
var A, y;
|
|
1730
|
+
if (!F) F = {};
|
|
1731
|
+
else if (typeof F == "string" || n(F)) F = { contents: F };
|
|
1732
|
+
else if ("message" in F && "messages" in F) return F;
|
|
1733
|
+
if (!(this instanceof i)) return new i(F);
|
|
1734
|
+
for (this.data = {}, this.messages = [], this.history = [], this.cwd = r.cwd(), y = -1; ++y < a.length; ) A = a[y], o.call(F, A) && (this[A] = F[A]);
|
|
1735
|
+
for (A in F) a.indexOf(A) < 0 && (this[A] = F[A]);
|
|
1736
|
+
}
|
|
1737
|
+
function D() {
|
|
1738
|
+
return this.history[this.history.length - 1];
|
|
1739
|
+
}
|
|
1740
|
+
function l(F) {
|
|
1741
|
+
p(F, "path"), this.path !== F && this.history.push(F);
|
|
1742
|
+
}
|
|
1743
|
+
function s() {
|
|
1744
|
+
return typeof this.path == "string" ? t.dirname(this.path) : void 0;
|
|
1745
|
+
}
|
|
1746
|
+
function c(F) {
|
|
1747
|
+
h(this.path, "dirname"), this.path = t.join(F || "", this.basename);
|
|
1748
|
+
}
|
|
1749
|
+
function C() {
|
|
1750
|
+
return typeof this.path == "string" ? t.basename(this.path) : void 0;
|
|
1751
|
+
}
|
|
1752
|
+
function d(F) {
|
|
1753
|
+
p(F, "basename"), B(F, "basename"), this.path = t.join(this.dirname || "", F);
|
|
1754
|
+
}
|
|
1755
|
+
function E() {
|
|
1756
|
+
return typeof this.path == "string" ? t.extname(this.path) : void 0;
|
|
1757
|
+
}
|
|
1758
|
+
function m(F) {
|
|
1759
|
+
if (B(F, "extname"), h(this.path, "extname"), F) {
|
|
1760
|
+
if (F.charCodeAt(0) !== 46) throw new Error("`extname` must start with `.`");
|
|
1761
|
+
if (F.indexOf(".", 1) > -1) throw new Error("`extname` cannot contain multiple dots");
|
|
1762
|
+
}
|
|
1763
|
+
this.path = t.join(this.dirname, this.stem + (F || ""));
|
|
1764
|
+
}
|
|
1765
|
+
function g() {
|
|
1766
|
+
return typeof this.path == "string" ? t.basename(this.path, this.extname) : void 0;
|
|
1767
|
+
}
|
|
1768
|
+
function x(F) {
|
|
1769
|
+
p(F, "stem"), B(F, "stem"), this.path = t.join(this.dirname || "", F + (this.extname || ""));
|
|
1770
|
+
}
|
|
1771
|
+
function f(F) {
|
|
1772
|
+
return (this.contents || "").toString(F);
|
|
1773
|
+
}
|
|
1774
|
+
function B(F, A) {
|
|
1775
|
+
if (F && F.indexOf(t.sep) > -1) throw new Error("`" + A + "` cannot be a path: did not expect `" + t.sep + "`");
|
|
1776
|
+
}
|
|
1777
|
+
function p(F, A) {
|
|
1778
|
+
if (!F) throw new Error("`" + A + "` cannot be empty");
|
|
1779
|
+
}
|
|
1780
|
+
function h(F, A) {
|
|
1781
|
+
if (!F) throw new Error("Setting `" + A + "` requires `path` to be set too");
|
|
1782
|
+
}
|
|
1783
|
+
}), xn = I((u, e) => {
|
|
1784
|
+
var t = gn(), r = vn();
|
|
1785
|
+
e.exports = r, r.prototype.message = n, r.prototype.info = a, r.prototype.fail = o;
|
|
1786
|
+
function n(i, D, l) {
|
|
1787
|
+
var s = new t(i, D, l);
|
|
1788
|
+
return this.path && (s.name = this.path + ":" + s.name, s.file = this.path), s.fatal = !1, this.messages.push(s), s;
|
|
1789
|
+
}
|
|
1790
|
+
function o() {
|
|
1791
|
+
var i = this.message.apply(this, arguments);
|
|
1792
|
+
throw i.fatal = !0, i;
|
|
1793
|
+
}
|
|
1794
|
+
function a() {
|
|
1795
|
+
var i = this.message.apply(this, arguments);
|
|
1796
|
+
return i.fatal = null, i;
|
|
1797
|
+
}
|
|
1798
|
+
}), Bn = I((u, e) => {
|
|
1799
|
+
e.exports = xn();
|
|
1800
|
+
}), bn = I((u, e) => {
|
|
1801
|
+
var t = pn(), r = tt(), n = hn(), o = Fn(), a = Cn(), i = Bn();
|
|
1802
|
+
e.exports = E().freeze();
|
|
1803
|
+
var D = [].slice, l = {}.hasOwnProperty, s = a().use(c).use(C).use(d);
|
|
1804
|
+
function c(F, A) {
|
|
1805
|
+
A.tree = F.parse(A.file);
|
|
1806
|
+
}
|
|
1807
|
+
function C(F, A, y) {
|
|
1808
|
+
F.run(A.tree, A.file, w);
|
|
1809
|
+
function w(T, b, k) {
|
|
1810
|
+
T ? y(T) : (A.tree = b, A.file = k, y());
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
function d(F, A) {
|
|
1814
|
+
var y = F.stringify(A.tree, A.file);
|
|
1815
|
+
y == null || (typeof y == "string" || r(y) ? ("value" in A.file && (A.file.value = y), A.file.contents = y) : A.file.result = y);
|
|
1816
|
+
}
|
|
1817
|
+
function E() {
|
|
1818
|
+
var F = [], A = a(), y = {}, w = -1, T;
|
|
1819
|
+
return b.data = L, b.freeze = k, b.attachers = F, b.use = R, b.parse = S, b.stringify = _, b.run = U, b.runSync = j, b.process = q, b.processSync = J, b;
|
|
1820
|
+
function b() {
|
|
1821
|
+
for (var z = E(), O = -1; ++O < F.length; ) z.use.apply(null, F[O]);
|
|
1822
|
+
return z.data(n(!0, {}, y)), z;
|
|
1823
|
+
}
|
|
1824
|
+
function k() {
|
|
1825
|
+
var z, O;
|
|
1826
|
+
if (T) return b;
|
|
1827
|
+
for (; ++w < F.length; ) z = F[w], z[1] !== !1 && (z[1] === !0 && (z[1] = void 0), O = z[0].apply(b, z.slice(1)), typeof O == "function" && A.use(O));
|
|
1828
|
+
return T = !0, w = 1 / 0, b;
|
|
1829
|
+
}
|
|
1830
|
+
function L(z, O) {
|
|
1831
|
+
return typeof z == "string" ? arguments.length === 2 ? (B("data", T), y[z] = O, b) : l.call(y, z) && y[z] || null : z ? (B("data", T), y = z, b) : y;
|
|
1832
|
+
}
|
|
1833
|
+
function R(z) {
|
|
1834
|
+
var O;
|
|
1835
|
+
if (B("use", T), z != null) if (typeof z == "function") P.apply(null, arguments);
|
|
1836
|
+
else if (typeof z == "object") "length" in z ? N(z) : $(z);
|
|
1837
|
+
else throw new Error("Expected usable value, not `" + z + "`");
|
|
1838
|
+
return O && (y.settings = n(y.settings || {}, O)), b;
|
|
1839
|
+
function $(V) {
|
|
1840
|
+
N(V.plugins), V.settings && (O = n(O || {}, V.settings));
|
|
1841
|
+
}
|
|
1842
|
+
function M(V) {
|
|
1843
|
+
if (typeof V == "function") P(V);
|
|
1844
|
+
else if (typeof V == "object") "length" in V ? P.apply(null, V) : $(V);
|
|
1845
|
+
else throw new Error("Expected usable value, not `" + V + "`");
|
|
1846
|
+
}
|
|
1847
|
+
function N(V) {
|
|
1848
|
+
var W = -1;
|
|
1849
|
+
if (V != null) if (typeof V == "object" && "length" in V) for (; ++W < V.length; ) M(V[W]);
|
|
1850
|
+
else throw new Error("Expected a list of plugins, not `" + V + "`");
|
|
1851
|
+
}
|
|
1852
|
+
function P(V, W) {
|
|
1853
|
+
var X = v(V);
|
|
1854
|
+
X ? (o(X[1]) && o(W) && (W = n(!0, X[1], W)), X[1] = W) : F.push(D.call(arguments));
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
function v(z) {
|
|
1858
|
+
for (var O = -1; ++O < F.length; ) if (F[O][0] === z) return F[O];
|
|
1859
|
+
}
|
|
1860
|
+
function S(z) {
|
|
1861
|
+
var O = i(z), $;
|
|
1862
|
+
return k(), $ = b.Parser, x("parse", $), m($, "parse") ? new $(String(O), O).parse() : $(String(O), O);
|
|
1863
|
+
}
|
|
1864
|
+
function U(z, O, $) {
|
|
1865
|
+
if (p(z), k(), !$ && typeof O == "function" && ($ = O, O = null), !$) return new Promise(M);
|
|
1866
|
+
M(null, $);
|
|
1867
|
+
function M(N, P) {
|
|
1868
|
+
A.run(z, i(O), V);
|
|
1869
|
+
function V(W, X, Y) {
|
|
1870
|
+
X = X || z, W ? P(W) : N ? N(X) : $(null, X, Y);
|
|
1871
|
+
}
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
function j(z, O) {
|
|
1875
|
+
var $, M;
|
|
1876
|
+
return U(z, O, N), h("runSync", "run", M), $;
|
|
1877
|
+
function N(P, V) {
|
|
1878
|
+
M = !0, $ = V, t(P);
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
function _(z, O) {
|
|
1882
|
+
var $ = i(O), M;
|
|
1883
|
+
return k(), M = b.Compiler, f("stringify", M), p(z), m(M, "compile") ? new M(z, $).compile() : M(z, $);
|
|
1884
|
+
}
|
|
1885
|
+
function q(z, O) {
|
|
1886
|
+
if (k(), x("process", b.Parser), f("process", b.Compiler), !O) return new Promise($);
|
|
1887
|
+
$(null, O);
|
|
1888
|
+
function $(M, N) {
|
|
1889
|
+
var P = i(z);
|
|
1890
|
+
s.run(b, { file: P }, V);
|
|
1891
|
+
function V(W) {
|
|
1892
|
+
W ? N(W) : M ? M(P) : O(null, P);
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
function J(z) {
|
|
1897
|
+
var O, $;
|
|
1898
|
+
return k(), x("processSync", b.Parser), f("processSync", b.Compiler), O = i(z), q(O, M), h("processSync", "process", $), O;
|
|
1899
|
+
function M(N) {
|
|
1900
|
+
$ = !0, t(N);
|
|
1901
|
+
}
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
function m(F, A) {
|
|
1905
|
+
return typeof F == "function" && F.prototype && (g(F.prototype) || A in F.prototype);
|
|
1906
|
+
}
|
|
1907
|
+
function g(F) {
|
|
1908
|
+
var A;
|
|
1909
|
+
for (A in F) return !0;
|
|
1910
|
+
return !1;
|
|
1911
|
+
}
|
|
1912
|
+
function x(F, A) {
|
|
1913
|
+
if (typeof A != "function") throw new Error("Cannot `" + F + "` without `Parser`");
|
|
1914
|
+
}
|
|
1915
|
+
function f(F, A) {
|
|
1916
|
+
if (typeof A != "function") throw new Error("Cannot `" + F + "` without `Compiler`");
|
|
1917
|
+
}
|
|
1918
|
+
function B(F, A) {
|
|
1919
|
+
if (A) throw new Error("Cannot invoke `" + F + "` on a frozen processor.\nCreate a new processor first, by invoking it: use `processor()` instead of `processor`.");
|
|
1920
|
+
}
|
|
1921
|
+
function p(F) {
|
|
1922
|
+
if (!F || typeof F.type != "string") throw new Error("Expected node, got `" + F + "`");
|
|
1923
|
+
}
|
|
1924
|
+
function h(F, A, y) {
|
|
1925
|
+
if (!y) throw new Error("`" + F + "` finished async. Use `" + A + "` instead");
|
|
1926
|
+
}
|
|
1927
|
+
}), rt = {};
|
|
1928
|
+
He(rt, { languages: () => Ui, options: () => _i, parsers: () => zt, printers: () => la });
|
|
1929
|
+
var Le = (u, e) => (t, r, ...n) => t | 1 && r == null ? void 0 : (e.call(r) ?? r[u]).apply(r, n);
|
|
1930
|
+
function yn(u) {
|
|
1931
|
+
return this[u < 0 ? this.length + u : u];
|
|
1932
|
+
}
|
|
1933
|
+
var wn = Le("at", function() {
|
|
1934
|
+
if (Array.isArray(this) || typeof this == "string") return yn;
|
|
1935
|
+
}), Au = wn, kn = String.prototype.replaceAll ?? function(u, e) {
|
|
1936
|
+
return u.global ? this.replace(u, e) : this.split(u).join(e);
|
|
1937
|
+
}, qn = Le("replaceAll", function() {
|
|
1938
|
+
if (typeof this == "string") return kn;
|
|
1939
|
+
}), su = qn, Sn = $u(ke());
|
|
1940
|
+
function he(u) {
|
|
1941
|
+
if (typeof u != "string") throw new TypeError("Expected a string");
|
|
1942
|
+
return u.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
|
|
1943
|
+
}
|
|
1944
|
+
var Ln = () => {
|
|
1945
|
+
}, Tn = Ln, Ru = "string", ku = "array", Fe = "cursor", Vu = "indent", Wu = "align", Ku = "trim", qu = "group", Iu = "fill", Su = "if-break", ue = "indent-if-break", ee = "line-suffix", te = "line-suffix-boundary", bu = "line", re = "label", Hu = "break-parent", nt = /* @__PURE__ */ new Set([Fe, Vu, Wu, Ku, qu, Iu, Su, ue, ee, te, bu, re, Hu]);
|
|
1946
|
+
function On(u) {
|
|
1947
|
+
if (typeof u == "string") return Ru;
|
|
1948
|
+
if (Array.isArray(u)) return ku;
|
|
1949
|
+
if (!u) return;
|
|
1950
|
+
let { type: e } = u;
|
|
1951
|
+
if (nt.has(e)) return e;
|
|
1952
|
+
}
|
|
1953
|
+
var Lu = On, Nn = (u) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(u);
|
|
1954
|
+
function Rn(u) {
|
|
1955
|
+
let e = u === null ? "null" : typeof u;
|
|
1956
|
+
if (e !== "string" && e !== "object") return `Unexpected doc '${e}',
|
|
1957
|
+
Expected it to be 'string' or 'object'.`;
|
|
1958
|
+
if (Lu(u)) throw new Error("doc is valid.");
|
|
1959
|
+
let t = Object.prototype.toString.call(u);
|
|
1960
|
+
if (t !== "[object Object]") return `Unexpected doc '${t}'.`;
|
|
1961
|
+
let r = Nn([...nt].map((n) => `'${n}'`));
|
|
1962
|
+
return `Unexpected doc.type '${u.type}'.
|
|
1963
|
+
Expected it to be ${r}.`;
|
|
1964
|
+
}
|
|
1965
|
+
var In = class extends Error {
|
|
1966
|
+
name = "InvalidDocError";
|
|
1967
|
+
constructor(u) {
|
|
1968
|
+
super(Rn(u)), this.doc = u;
|
|
1969
|
+
}
|
|
1970
|
+
}, de = In, ot = {};
|
|
1971
|
+
function Pn(u, e, t, r) {
|
|
1972
|
+
let n = [u];
|
|
1973
|
+
for (; n.length > 0; ) {
|
|
1974
|
+
let o = n.pop();
|
|
1975
|
+
if (o === ot) {
|
|
1976
|
+
t(n.pop());
|
|
1977
|
+
continue;
|
|
1978
|
+
}
|
|
1979
|
+
t && n.push(o, ot);
|
|
1980
|
+
let a = Lu(o);
|
|
1981
|
+
if (!a) throw new de(o);
|
|
1982
|
+
if (e?.(o) !== !1) switch (a) {
|
|
1983
|
+
case ku:
|
|
1984
|
+
case Iu: {
|
|
1985
|
+
let i = a === ku ? o : o.parts;
|
|
1986
|
+
for (let D = i.length, l = D - 1; l >= 0; --l) n.push(i[l]);
|
|
1987
|
+
break;
|
|
1988
|
+
}
|
|
1989
|
+
case Su:
|
|
1990
|
+
n.push(o.flatContents, o.breakContents);
|
|
1991
|
+
break;
|
|
1992
|
+
case qu:
|
|
1993
|
+
if (r && o.expandedStates) for (let i = o.expandedStates.length, D = i - 1; D >= 0; --D) n.push(o.expandedStates[D]);
|
|
1994
|
+
else n.push(o.contents);
|
|
1995
|
+
break;
|
|
1996
|
+
case Wu:
|
|
1997
|
+
case Vu:
|
|
1998
|
+
case ue:
|
|
1999
|
+
case re:
|
|
2000
|
+
case ee:
|
|
2001
|
+
n.push(o.contents);
|
|
2002
|
+
break;
|
|
2003
|
+
case Ru:
|
|
2004
|
+
case Fe:
|
|
2005
|
+
case Ku:
|
|
2006
|
+
case te:
|
|
2007
|
+
case bu:
|
|
2008
|
+
case Hu:
|
|
2009
|
+
break;
|
|
2010
|
+
default:
|
|
2011
|
+
throw new de(o);
|
|
2012
|
+
}
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
var jn = Pn;
|
|
2016
|
+
function zn(u, e) {
|
|
2017
|
+
if (typeof u == "string") return e(u);
|
|
2018
|
+
let t = /* @__PURE__ */ new Map();
|
|
2019
|
+
return r(u);
|
|
2020
|
+
function r(o) {
|
|
2021
|
+
if (t.has(o)) return t.get(o);
|
|
2022
|
+
let a = n(o);
|
|
2023
|
+
return t.set(o, a), a;
|
|
2024
|
+
}
|
|
2025
|
+
function n(o) {
|
|
2026
|
+
switch (Lu(o)) {
|
|
2027
|
+
case ku:
|
|
2028
|
+
return e(o.map(r));
|
|
2029
|
+
case Iu:
|
|
2030
|
+
return e({ ...o, parts: o.parts.map(r) });
|
|
2031
|
+
case Su:
|
|
2032
|
+
return e({ ...o, breakContents: r(o.breakContents), flatContents: r(o.flatContents) });
|
|
2033
|
+
case qu: {
|
|
2034
|
+
let { expandedStates: a, contents: i } = o;
|
|
2035
|
+
return a ? (a = a.map(r), i = a[0]) : i = r(i), e({ ...o, contents: i, expandedStates: a });
|
|
2036
|
+
}
|
|
2037
|
+
case Wu:
|
|
2038
|
+
case Vu:
|
|
2039
|
+
case ue:
|
|
2040
|
+
case re:
|
|
2041
|
+
case ee:
|
|
2042
|
+
return e({ ...o, contents: r(o.contents) });
|
|
2043
|
+
case Ru:
|
|
2044
|
+
case Fe:
|
|
2045
|
+
case Ku:
|
|
2046
|
+
case te:
|
|
2047
|
+
case bu:
|
|
2048
|
+
case Hu:
|
|
2049
|
+
return e(o);
|
|
2050
|
+
default:
|
|
2051
|
+
throw new de(o);
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
function it(u) {
|
|
2056
|
+
if (u.length > 0) {
|
|
2057
|
+
let e = Au(0, u, -1);
|
|
2058
|
+
!e.expandedStates && !e.break && (e.break = "propagated");
|
|
2059
|
+
}
|
|
2060
|
+
return null;
|
|
2061
|
+
}
|
|
2062
|
+
function $n(u) {
|
|
2063
|
+
let e = /* @__PURE__ */ new Set(), t = [];
|
|
2064
|
+
function r(o) {
|
|
2065
|
+
if (o.type === Hu && it(t), o.type === qu) {
|
|
2066
|
+
if (t.push(o), e.has(o)) return !1;
|
|
2067
|
+
e.add(o);
|
|
2068
|
+
}
|
|
2069
|
+
}
|
|
2070
|
+
function n(o) {
|
|
2071
|
+
o.type === qu && t.pop().break && it(t);
|
|
2072
|
+
}
|
|
2073
|
+
jn(u, r, n, !0);
|
|
2074
|
+
}
|
|
2075
|
+
function Gu(u, e = Ie) {
|
|
2076
|
+
return zn(u, (t) => typeof t == "string" ? at(e, t.split(`
|
|
2077
|
+
`)) : t);
|
|
2078
|
+
}
|
|
2079
|
+
var Un = Tn;
|
|
2080
|
+
function Te(u) {
|
|
2081
|
+
return { type: Vu, contents: u };
|
|
2082
|
+
}
|
|
2083
|
+
function Pu(u, e) {
|
|
2084
|
+
return { type: Wu, contents: e, n: u };
|
|
2085
|
+
}
|
|
2086
|
+
function Oe(u) {
|
|
2087
|
+
return Pu({ type: "root" }, u);
|
|
2088
|
+
}
|
|
2089
|
+
var Ce = { type: Hu };
|
|
2090
|
+
function Ne(u) {
|
|
2091
|
+
return { type: Iu, parts: u };
|
|
2092
|
+
}
|
|
2093
|
+
function Ae(u, e = {}) {
|
|
2094
|
+
return Un(e.expandedStates), { type: qu, id: e.id, contents: u, break: !!e.shouldBreak, expandedStates: e.expandedStates };
|
|
2095
|
+
}
|
|
2096
|
+
function Mn(u, e = "", t = {}) {
|
|
2097
|
+
return { type: Su, breakContents: u, flatContents: e, groupId: t.groupId };
|
|
2098
|
+
}
|
|
2099
|
+
function at(u, e) {
|
|
2100
|
+
let t = [];
|
|
2101
|
+
for (let r = 0; r < e.length; r++) r !== 0 && t.push(u), t.push(e[r]);
|
|
2102
|
+
return t;
|
|
2103
|
+
}
|
|
2104
|
+
var Dt = { type: bu }, st = { type: bu, soft: !0 }, Re = { type: bu, hard: !0 }, Du = [Re, Ce], _n = { type: bu, hard: !0, literal: !0 }, Ie = [_n, Ce], Vn = "cr", Wn = "crlf", Hn = "\r", Gn = `\r
|
|
2105
|
+
`, Jn = `
|
|
2106
|
+
`, Xn = Jn;
|
|
2107
|
+
function Yn(u) {
|
|
2108
|
+
return u === Vn ? Hn : u === Wn ? Gn : Xn;
|
|
2109
|
+
}
|
|
2110
|
+
var Qn = () => /[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;
|
|
2111
|
+
function Zn(u) {
|
|
2112
|
+
return u === 12288 || u >= 65281 && u <= 65376 || u >= 65504 && u <= 65510;
|
|
2113
|
+
}
|
|
2114
|
+
function Kn(u) {
|
|
2115
|
+
return u >= 4352 && u <= 4447 || u === 8986 || u === 8987 || u === 9001 || u === 9002 || u >= 9193 && u <= 9196 || u === 9200 || u === 9203 || u === 9725 || u === 9726 || u === 9748 || u === 9749 || u >= 9776 && u <= 9783 || u >= 9800 && u <= 9811 || u === 9855 || u >= 9866 && u <= 9871 || u === 9875 || u === 9889 || u === 9898 || u === 9899 || u === 9917 || u === 9918 || u === 9924 || u === 9925 || u === 9934 || u === 9940 || u === 9962 || u === 9970 || u === 9971 || u === 9973 || u === 9978 || u === 9981 || u === 9989 || u === 9994 || u === 9995 || u === 10024 || u === 10060 || u === 10062 || u >= 10067 && u <= 10069 || u === 10071 || u >= 10133 && u <= 10135 || u === 10160 || u === 10175 || u === 11035 || u === 11036 || u === 11088 || u === 11093 || u >= 11904 && u <= 11929 || u >= 11931 && u <= 12019 || u >= 12032 && u <= 12245 || u >= 12272 && u <= 12287 || u >= 12289 && u <= 12350 || u >= 12353 && u <= 12438 || u >= 12441 && u <= 12543 || u >= 12549 && u <= 12591 || u >= 12593 && u <= 12686 || u >= 12688 && u <= 12773 || u >= 12783 && u <= 12830 || u >= 12832 && u <= 12871 || u >= 12880 && u <= 42124 || u >= 42128 && u <= 42182 || u >= 43360 && u <= 43388 || u >= 44032 && u <= 55203 || u >= 63744 && u <= 64255 || u >= 65040 && u <= 65049 || u >= 65072 && u <= 65106 || u >= 65108 && u <= 65126 || u >= 65128 && u <= 65131 || u >= 94176 && u <= 94180 || u >= 94192 && u <= 94198 || u >= 94208 && u <= 101589 || u >= 101631 && u <= 101662 || u >= 101760 && u <= 101874 || u >= 110576 && u <= 110579 || u >= 110581 && u <= 110587 || u === 110589 || u === 110590 || u >= 110592 && u <= 110882 || u === 110898 || u >= 110928 && u <= 110930 || u === 110933 || u >= 110948 && u <= 110951 || u >= 110960 && u <= 111355 || u >= 119552 && u <= 119638 || u >= 119648 && u <= 119670 || u === 126980 || u === 127183 || u === 127374 || u >= 127377 && u <= 127386 || u >= 127488 && u <= 127490 || u >= 127504 && u <= 127547 || u >= 127552 && u <= 127560 || u === 127568 || u === 127569 || u >= 127584 && u <= 127589 || u >= 127744 && u <= 127776 || u >= 127789 && u <= 127797 || u >= 127799 && u <= 127868 || u >= 127870 && u <= 127891 || u >= 127904 && u <= 127946 || u >= 127951 && u <= 127955 || u >= 127968 && u <= 127984 || u === 127988 || u >= 127992 && u <= 128062 || u === 128064 || u >= 128066 && u <= 128252 || u >= 128255 && u <= 128317 || u >= 128331 && u <= 128334 || u >= 128336 && u <= 128359 || u === 128378 || u === 128405 || u === 128406 || u === 128420 || u >= 128507 && u <= 128591 || u >= 128640 && u <= 128709 || u === 128716 || u >= 128720 && u <= 128722 || u >= 128725 && u <= 128728 || u >= 128732 && u <= 128735 || u === 128747 || u === 128748 || u >= 128756 && u <= 128764 || u >= 128992 && u <= 129003 || u === 129008 || u >= 129292 && u <= 129338 || u >= 129340 && u <= 129349 || u >= 129351 && u <= 129535 || u >= 129648 && u <= 129660 || u >= 129664 && u <= 129674 || u >= 129678 && u <= 129734 || u === 129736 || u >= 129741 && u <= 129756 || u >= 129759 && u <= 129770 || u >= 129775 && u <= 129784 || u >= 131072 && u <= 196605 || u >= 196608 && u <= 262141;
|
|
2116
|
+
}
|
|
2117
|
+
var uo = "©®‼⁉™ℹ↔↕↖↗↘↙↩↪⌨⏏⏱⏲⏸⏹⏺▪▫▶◀◻◼☀☁☂☃☄☎☑☘☝☠☢☣☦☪☮☯☸☹☺♀♂♟♠♣♥♦♨♻♾⚒⚔⚕⚖⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛱⛷⛸⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅⬆⬇", eo = /[^\x20-\x7F]/u, to = new Set(uo);
|
|
2118
|
+
function ro(u) {
|
|
2119
|
+
if (!u) return 0;
|
|
2120
|
+
if (!eo.test(u)) return u.length;
|
|
2121
|
+
u = u.replace(Qn(), (t) => to.has(t) ? " " : " ");
|
|
2122
|
+
let e = 0;
|
|
2123
|
+
for (let t of u) {
|
|
2124
|
+
let r = t.codePointAt(0);
|
|
2125
|
+
r <= 31 || r >= 127 && r <= 159 || r >= 768 && r <= 879 || r >= 65024 && r <= 65039 || (e += Zn(r) || Kn(r) ? 2 : 1);
|
|
2126
|
+
}
|
|
2127
|
+
return e;
|
|
2128
|
+
}
|
|
2129
|
+
var Pe = ro, no = { type: 0 }, oo = { type: 1 }, lt = { value: "", length: 0, queue: [], get root() {
|
|
2130
|
+
return lt;
|
|
2131
|
+
} };
|
|
2132
|
+
function ct(u, e, t) {
|
|
2133
|
+
let r = e.type === 1 ? u.queue.slice(0, -1) : [...u.queue, e], n = "", o = 0, a = 0, i = 0;
|
|
2134
|
+
for (let E of r) switch (E.type) {
|
|
2135
|
+
case 0:
|
|
2136
|
+
s(), t.useTabs ? D(1) : l(t.tabWidth);
|
|
2137
|
+
break;
|
|
2138
|
+
case 3: {
|
|
2139
|
+
let { string: m } = E;
|
|
2140
|
+
s(), n += m, o += m.length;
|
|
2141
|
+
break;
|
|
2142
|
+
}
|
|
2143
|
+
case 2: {
|
|
2144
|
+
let { width: m } = E;
|
|
2145
|
+
a += 1, i += m;
|
|
2146
|
+
break;
|
|
2147
|
+
}
|
|
2148
|
+
default:
|
|
2149
|
+
throw new Error(`Unexpected indent comment '${E.type}'.`);
|
|
2150
|
+
}
|
|
2151
|
+
return C(), { ...u, value: n, length: o, queue: r };
|
|
2152
|
+
function D(E) {
|
|
2153
|
+
n += " ".repeat(E), o += t.tabWidth * E;
|
|
2154
|
+
}
|
|
2155
|
+
function l(E) {
|
|
2156
|
+
n += " ".repeat(E), o += E;
|
|
2157
|
+
}
|
|
2158
|
+
function s() {
|
|
2159
|
+
t.useTabs ? c() : C();
|
|
2160
|
+
}
|
|
2161
|
+
function c() {
|
|
2162
|
+
a > 0 && D(a), d();
|
|
2163
|
+
}
|
|
2164
|
+
function C() {
|
|
2165
|
+
i > 0 && l(i), d();
|
|
2166
|
+
}
|
|
2167
|
+
function d() {
|
|
2168
|
+
a = 0, i = 0;
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
function io(u, e, t) {
|
|
2172
|
+
if (!e) return u;
|
|
2173
|
+
if (e.type === "root") return { ...u, root: u };
|
|
2174
|
+
if (e === Number.NEGATIVE_INFINITY) return u.root;
|
|
2175
|
+
let r;
|
|
2176
|
+
return typeof e == "number" ? e < 0 ? r = oo : r = { type: 2, width: e } : r = { type: 3, string: e }, ct(u, r, t);
|
|
2177
|
+
}
|
|
2178
|
+
function ao(u, e) {
|
|
2179
|
+
return ct(u, no, e);
|
|
2180
|
+
}
|
|
2181
|
+
function Do(u) {
|
|
2182
|
+
let e = 0;
|
|
2183
|
+
for (let t = u.length - 1; t >= 0; t--) {
|
|
2184
|
+
let r = u[t];
|
|
2185
|
+
if (r === " " || r === " ") e++;
|
|
2186
|
+
else break;
|
|
2187
|
+
}
|
|
2188
|
+
return e;
|
|
2189
|
+
}
|
|
2190
|
+
function ft(u) {
|
|
2191
|
+
let e = Do(u);
|
|
2192
|
+
return { text: e === 0 ? u : u.slice(0, u.length - e), count: e };
|
|
2193
|
+
}
|
|
2194
|
+
var cu = /* @__PURE__ */ Symbol("MODE_BREAK"), mu = /* @__PURE__ */ Symbol("MODE_FLAT"), je = /* @__PURE__ */ Symbol("DOC_FILL_PRINTED_LENGTH");
|
|
2195
|
+
function ge(u, e, t, r, n, o) {
|
|
2196
|
+
if (t === Number.POSITIVE_INFINITY) return !0;
|
|
2197
|
+
let a = e.length, i = !1, D = [u], l = "";
|
|
2198
|
+
for (; t >= 0; ) {
|
|
2199
|
+
if (D.length === 0) {
|
|
2200
|
+
if (a === 0) return !0;
|
|
2201
|
+
D.push(e[--a]);
|
|
2202
|
+
continue;
|
|
2203
|
+
}
|
|
2204
|
+
let { mode: s, doc: c } = D.pop(), C = Lu(c);
|
|
2205
|
+
switch (C) {
|
|
2206
|
+
case Ru:
|
|
2207
|
+
c && (i && (l += " ", t -= 1, i = !1), l += c, t -= Pe(c));
|
|
2208
|
+
break;
|
|
2209
|
+
case ku:
|
|
2210
|
+
case Iu: {
|
|
2211
|
+
let d = C === ku ? c : c.parts, E = c[je] ?? 0;
|
|
2212
|
+
for (let m = d.length - 1; m >= E; m--) D.push({ mode: s, doc: d[m] });
|
|
2213
|
+
break;
|
|
2214
|
+
}
|
|
2215
|
+
case Vu:
|
|
2216
|
+
case Wu:
|
|
2217
|
+
case ue:
|
|
2218
|
+
case re:
|
|
2219
|
+
D.push({ mode: s, doc: c.contents });
|
|
2220
|
+
break;
|
|
2221
|
+
case Ku: {
|
|
2222
|
+
let { text: d, count: E } = ft(l);
|
|
2223
|
+
l = d, t += E;
|
|
2224
|
+
break;
|
|
2225
|
+
}
|
|
2226
|
+
case qu: {
|
|
2227
|
+
if (o && c.break) return !1;
|
|
2228
|
+
let d = c.break ? cu : s, E = c.expandedStates && d === cu ? Au(0, c.expandedStates, -1) : c.contents;
|
|
2229
|
+
D.push({ mode: d, doc: E });
|
|
2230
|
+
break;
|
|
2231
|
+
}
|
|
2232
|
+
case Su: {
|
|
2233
|
+
let d = (c.groupId ? n[c.groupId] || mu : s) === cu ? c.breakContents : c.flatContents;
|
|
2234
|
+
d && D.push({ mode: s, doc: d });
|
|
2235
|
+
break;
|
|
2236
|
+
}
|
|
2237
|
+
case bu:
|
|
2238
|
+
if (s === cu || c.hard) return !0;
|
|
2239
|
+
c.soft || (i = !0);
|
|
2240
|
+
break;
|
|
2241
|
+
case ee:
|
|
2242
|
+
r = !0;
|
|
2243
|
+
break;
|
|
2244
|
+
case te:
|
|
2245
|
+
if (r) return !1;
|
|
2246
|
+
break;
|
|
2247
|
+
}
|
|
2248
|
+
}
|
|
2249
|
+
return !1;
|
|
2250
|
+
}
|
|
2251
|
+
function so(u, e) {
|
|
2252
|
+
let t = /* @__PURE__ */ Object.create(null), r = e.printWidth, n = Yn(e.endOfLine), o = 0, a = [{ indent: lt, mode: cu, doc: u }], i = "", D = !1, l = [], s = [], c = [], C = [], d = 0;
|
|
2253
|
+
for ($n(u); a.length > 0; ) {
|
|
2254
|
+
let { indent: f, mode: B, doc: p } = a.pop();
|
|
2255
|
+
switch (Lu(p)) {
|
|
2256
|
+
case Ru: {
|
|
2257
|
+
let h = n !== `
|
|
2258
|
+
` ? su(0, p, `
|
|
2259
|
+
`, n) : p;
|
|
2260
|
+
h && (i += h, a.length > 0 && (o += Pe(h)));
|
|
2261
|
+
break;
|
|
2262
|
+
}
|
|
2263
|
+
case ku:
|
|
2264
|
+
for (let h = p.length - 1; h >= 0; h--) a.push({ indent: f, mode: B, doc: p[h] });
|
|
2265
|
+
break;
|
|
2266
|
+
case Fe:
|
|
2267
|
+
if (s.length >= 2) throw new Error("There are too many 'cursor' in doc.");
|
|
2268
|
+
s.push(d + i.length);
|
|
2269
|
+
break;
|
|
2270
|
+
case Vu:
|
|
2271
|
+
a.push({ indent: ao(f, e), mode: B, doc: p.contents });
|
|
2272
|
+
break;
|
|
2273
|
+
case Wu:
|
|
2274
|
+
a.push({ indent: io(f, p.n, e), mode: B, doc: p.contents });
|
|
2275
|
+
break;
|
|
2276
|
+
case Ku:
|
|
2277
|
+
x();
|
|
2278
|
+
break;
|
|
2279
|
+
case qu:
|
|
2280
|
+
switch (B) {
|
|
2281
|
+
case mu:
|
|
2282
|
+
if (!D) {
|
|
2283
|
+
a.push({ indent: f, mode: p.break ? cu : mu, doc: p.contents });
|
|
2284
|
+
break;
|
|
2285
|
+
}
|
|
2286
|
+
case cu: {
|
|
2287
|
+
D = !1;
|
|
2288
|
+
let h = { indent: f, mode: mu, doc: p.contents }, F = r - o, A = l.length > 0;
|
|
2289
|
+
if (!p.break && ge(h, a, F, A, t)) a.push(h);
|
|
2290
|
+
else if (p.expandedStates) {
|
|
2291
|
+
let y = Au(0, p.expandedStates, -1);
|
|
2292
|
+
if (p.break) {
|
|
2293
|
+
a.push({ indent: f, mode: cu, doc: y });
|
|
2294
|
+
break;
|
|
2295
|
+
} else for (let w = 1; w < p.expandedStates.length + 1; w++) if (w >= p.expandedStates.length) {
|
|
2296
|
+
a.push({ indent: f, mode: cu, doc: y });
|
|
2297
|
+
break;
|
|
2298
|
+
} else {
|
|
2299
|
+
let T = p.expandedStates[w], b = { indent: f, mode: mu, doc: T };
|
|
2300
|
+
if (ge(b, a, F, A, t)) {
|
|
2301
|
+
a.push(b);
|
|
2302
|
+
break;
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
} else a.push({ indent: f, mode: cu, doc: p.contents });
|
|
2306
|
+
break;
|
|
2307
|
+
}
|
|
2308
|
+
}
|
|
2309
|
+
p.id && (t[p.id] = Au(0, a, -1).mode);
|
|
2310
|
+
break;
|
|
2311
|
+
case Iu: {
|
|
2312
|
+
let h = r - o, F = p[je] ?? 0, { parts: A } = p, y = A.length - F;
|
|
2313
|
+
if (y === 0) break;
|
|
2314
|
+
let w = A[F + 0], T = A[F + 1], b = { indent: f, mode: mu, doc: w }, k = { indent: f, mode: cu, doc: w }, L = ge(b, [], h, l.length > 0, t, !0);
|
|
2315
|
+
if (y === 1) {
|
|
2316
|
+
L ? a.push(b) : a.push(k);
|
|
2317
|
+
break;
|
|
2318
|
+
}
|
|
2319
|
+
let R = { indent: f, mode: mu, doc: T }, v = { indent: f, mode: cu, doc: T };
|
|
2320
|
+
if (y === 2) {
|
|
2321
|
+
L ? a.push(R, b) : a.push(v, k);
|
|
2322
|
+
break;
|
|
2323
|
+
}
|
|
2324
|
+
let S = A[F + 2], U = { indent: f, mode: B, doc: { ...p, [je]: F + 2 } }, j = ge({ indent: f, mode: mu, doc: [w, T, S] }, [], h, l.length > 0, t, !0);
|
|
2325
|
+
a.push(U), j ? a.push(R, b) : L ? a.push(v, b) : a.push(v, k);
|
|
2326
|
+
break;
|
|
2327
|
+
}
|
|
2328
|
+
case Su:
|
|
2329
|
+
case ue: {
|
|
2330
|
+
let h = p.groupId ? t[p.groupId] : B;
|
|
2331
|
+
if (h === cu) {
|
|
2332
|
+
let F = p.type === Su ? p.breakContents : p.negate ? p.contents : Te(p.contents);
|
|
2333
|
+
F && a.push({ indent: f, mode: B, doc: F });
|
|
2334
|
+
}
|
|
2335
|
+
if (h === mu) {
|
|
2336
|
+
let F = p.type === Su ? p.flatContents : p.negate ? Te(p.contents) : p.contents;
|
|
2337
|
+
F && a.push({ indent: f, mode: B, doc: F });
|
|
2338
|
+
}
|
|
2339
|
+
break;
|
|
2340
|
+
}
|
|
2341
|
+
case ee:
|
|
2342
|
+
l.push({ indent: f, mode: B, doc: p.contents });
|
|
2343
|
+
break;
|
|
2344
|
+
case te:
|
|
2345
|
+
l.length > 0 && a.push({ indent: f, mode: B, doc: Re });
|
|
2346
|
+
break;
|
|
2347
|
+
case bu:
|
|
2348
|
+
switch (B) {
|
|
2349
|
+
case mu:
|
|
2350
|
+
if (p.hard) D = !0;
|
|
2351
|
+
else {
|
|
2352
|
+
p.soft || (i += " ", o += 1);
|
|
2353
|
+
break;
|
|
2354
|
+
}
|
|
2355
|
+
case cu:
|
|
2356
|
+
if (l.length > 0) {
|
|
2357
|
+
a.push({ indent: f, mode: B, doc: p }, ...l.reverse()), l.length = 0;
|
|
2358
|
+
break;
|
|
2359
|
+
}
|
|
2360
|
+
p.literal ? (i += n, o = 0, f.root && (f.root.value && (i += f.root.value), o = f.root.length)) : (x(), i += n + f.value, o = f.length);
|
|
2361
|
+
break;
|
|
2362
|
+
}
|
|
2363
|
+
break;
|
|
2364
|
+
case re:
|
|
2365
|
+
a.push({ indent: f, mode: B, doc: p.contents });
|
|
2366
|
+
break;
|
|
2367
|
+
case Hu:
|
|
2368
|
+
break;
|
|
2369
|
+
default:
|
|
2370
|
+
throw new de(p);
|
|
2371
|
+
}
|
|
2372
|
+
a.length === 0 && l.length > 0 && (a.push(...l.reverse()), l.length = 0);
|
|
2373
|
+
}
|
|
2374
|
+
let E = c.join("") + i, m = [...C, ...s];
|
|
2375
|
+
if (m.length !== 2) return { formatted: E };
|
|
2376
|
+
let g = m[0];
|
|
2377
|
+
return { formatted: E, cursorNodeStart: g, cursorNodeText: E.slice(g, Au(0, m, -1)) };
|
|
2378
|
+
function x() {
|
|
2379
|
+
let { text: f, count: B } = ft(i);
|
|
2380
|
+
f && (c.push(f), d += f.length), i = "", o -= B, s.length > 0 && (C.push(...s.map((p) => Math.min(p, d))), s.length = 0);
|
|
2381
|
+
}
|
|
2382
|
+
}
|
|
2383
|
+
function lo(u, e) {
|
|
2384
|
+
let t = u.matchAll(new RegExp(`(?:${he(e)})+`, "gu"));
|
|
2385
|
+
return t.reduce || (t = [...t]), t.reduce((r, [n]) => Math.max(r, n.length), 0) / e.length;
|
|
2386
|
+
}
|
|
2387
|
+
var pt = lo;
|
|
2388
|
+
function co(u, e) {
|
|
2389
|
+
let t = u.match(new RegExp(`(${he(e)})+`, "gu"));
|
|
2390
|
+
if (t === null) return 1;
|
|
2391
|
+
let r = /* @__PURE__ */ new Map(), n = 0;
|
|
2392
|
+
for (let o of t) {
|
|
2393
|
+
let a = o.length / e.length;
|
|
2394
|
+
r.set(a, !0), a > n && (n = a);
|
|
2395
|
+
}
|
|
2396
|
+
for (let o = 1; o < n; o++) if (!r.get(o)) return o;
|
|
2397
|
+
return n + 1;
|
|
2398
|
+
}
|
|
2399
|
+
var fo = co, ht = Object.freeze({ character: "'", codePoint: 39 }), Ft = Object.freeze({ character: '"', codePoint: 34 }), po = Object.freeze({ preferred: ht, alternate: Ft }), ho = Object.freeze({ preferred: Ft, alternate: ht });
|
|
2400
|
+
function Fo(u, e) {
|
|
2401
|
+
let { preferred: t, alternate: r } = e === !0 || e === "'" ? po : ho, { length: n } = u, o = 0, a = 0;
|
|
2402
|
+
for (let i = 0; i < n; i++) {
|
|
2403
|
+
let D = u.charCodeAt(i);
|
|
2404
|
+
D === t.codePoint ? o++ : D === r.codePoint && a++;
|
|
2405
|
+
}
|
|
2406
|
+
return (o > a ? r : t).character;
|
|
2407
|
+
}
|
|
2408
|
+
var Co = Fo, Ao = class extends Error {
|
|
2409
|
+
name = "UnexpectedNodeError";
|
|
2410
|
+
constructor(u, e, t = "type") {
|
|
2411
|
+
super(`Unexpected ${e} node ${t}: ${JSON.stringify(u[t])}.`), this.node = u;
|
|
2412
|
+
}
|
|
2413
|
+
}, go = Ao, Eo = $u(ke()), mo = Array.prototype.toReversed ?? function() {
|
|
2414
|
+
return [...this].reverse();
|
|
2415
|
+
}, vo = Le("toReversed", function() {
|
|
2416
|
+
if (Array.isArray(this)) return mo;
|
|
2417
|
+
}), xo = vo;
|
|
2418
|
+
function Bo() {
|
|
2419
|
+
let u = globalThis, e = u.Deno?.build?.os;
|
|
2420
|
+
return typeof e == "string" ? e === "windows" : u.navigator?.platform?.startsWith("Win") ?? u.process?.platform?.startsWith("win") ?? !1;
|
|
2421
|
+
}
|
|
2422
|
+
var bo = Bo();
|
|
2423
|
+
function dt(u) {
|
|
2424
|
+
if (u = u instanceof URL ? u : new URL(u), u.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${u.protocol}"`);
|
|
2425
|
+
return u;
|
|
2426
|
+
}
|
|
2427
|
+
function yo(u) {
|
|
2428
|
+
return u = dt(u), decodeURIComponent(u.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
|
|
2429
|
+
}
|
|
2430
|
+
function wo(u) {
|
|
2431
|
+
u = dt(u);
|
|
2432
|
+
let e = decodeURIComponent(u.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
|
|
2433
|
+
return u.hostname !== "" && (e = `\\\\${u.hostname}${e}`), e;
|
|
2434
|
+
}
|
|
2435
|
+
function ko(u) {
|
|
2436
|
+
return bo ? wo(u) : yo(u);
|
|
2437
|
+
}
|
|
2438
|
+
var qo = (u) => String(u).split(/[/\\]/u).pop(), So = (u) => String(u).startsWith("file:");
|
|
2439
|
+
function Ct(u, e) {
|
|
2440
|
+
if (!e) return;
|
|
2441
|
+
let t = qo(e).toLowerCase();
|
|
2442
|
+
return u.find(({ filenames: r }) => r?.some((n) => n.toLowerCase() === t)) ?? u.find(({ extensions: r }) => r?.some((n) => t.endsWith(n)));
|
|
2443
|
+
}
|
|
2444
|
+
function Lo(u, e) {
|
|
2445
|
+
if (e) return u.find(({ name: t }) => t.toLowerCase() === e) ?? u.find(({ aliases: t }) => t?.includes(e)) ?? u.find(({ extensions: t }) => t?.includes(`.${e}`));
|
|
2446
|
+
}
|
|
2447
|
+
var To = void 0;
|
|
2448
|
+
function At(u, e) {
|
|
2449
|
+
if (e) {
|
|
2450
|
+
if (So(e)) try {
|
|
2451
|
+
e = ko(e);
|
|
2452
|
+
} catch {
|
|
2453
|
+
return;
|
|
2454
|
+
}
|
|
2455
|
+
if (typeof e == "string") return u.find(({ isSupported: t }) => t?.({ filepath: e }));
|
|
2456
|
+
}
|
|
2457
|
+
}
|
|
2458
|
+
function Oo(u, e) {
|
|
2459
|
+
let t = xo(0, u.plugins).flatMap((r) => r.languages ?? []);
|
|
2460
|
+
return (Lo(t, e.language) ?? Ct(t, e.physicalFile) ?? Ct(t, e.file) ?? At(t, e.physicalFile) ?? At(t, e.file) ?? To?.(t, e.physicalFile))?.parsers[0];
|
|
2461
|
+
}
|
|
2462
|
+
var No = Oo, gt = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER");
|
|
2463
|
+
function Ro(u) {
|
|
2464
|
+
return !!u?.[gt];
|
|
2465
|
+
}
|
|
2466
|
+
var Io = Ro, ne = 3;
|
|
2467
|
+
function Po(u) {
|
|
2468
|
+
let e = u.slice(0, ne);
|
|
2469
|
+
if (e !== "---" && e !== "+++") return;
|
|
2470
|
+
let t = u.indexOf(`
|
|
2471
|
+
`, ne);
|
|
2472
|
+
if (t === -1) return;
|
|
2473
|
+
let r = u.slice(ne, t).trim(), n = u.indexOf(`
|
|
2474
|
+
${e}`, t), o = r;
|
|
2475
|
+
if (o || (o = e === "+++" ? "toml" : "yaml"), n === -1 && e === "---" && o === "yaml" && (n = u.indexOf(`
|
|
2476
|
+
...`, t)), n === -1) return;
|
|
2477
|
+
let a = n + 1 + ne, i = u.charAt(a + 1);
|
|
2478
|
+
if (!/\s?/u.test(i)) return;
|
|
2479
|
+
let D = u.slice(0, a), l;
|
|
2480
|
+
return { language: o, explicitLanguage: r || null, value: u.slice(t + 1, n), startDelimiter: e, endDelimiter: D.slice(-ne), raw: D, start: { line: 1, column: 0, index: 0 }, end: { index: D.length, get line() {
|
|
2481
|
+
return l ?? (l = D.split(`
|
|
2482
|
+
`)), l.length;
|
|
2483
|
+
}, get column() {
|
|
2484
|
+
return l ?? (l = D.split(`
|
|
2485
|
+
`)), Au(0, l, -1).length;
|
|
2486
|
+
} }, [gt]: !0 };
|
|
2487
|
+
}
|
|
2488
|
+
function jo(u) {
|
|
2489
|
+
let e = Po(u);
|
|
2490
|
+
return e ? { frontMatter: e, get content() {
|
|
2491
|
+
let { raw: t } = e;
|
|
2492
|
+
return su(0, t, /[^\n]/gu, " ") + u.slice(t.length);
|
|
2493
|
+
} } : { content: u };
|
|
2494
|
+
}
|
|
2495
|
+
var Ee = jo, zo = "format", $o = /<!--\s*@(?:noformat|noprettier)\s*-->|\{\s*\/\*\s*@(?:noformat|noprettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:noformat|noprettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/mu, Uo = /<!--\s*@(?:format|prettier)\s*-->|\{\s*\/\*\s*@(?:format|prettier)\s*\*\/\s*\}|<!--.*\r?\n[\s\S]*(^|\n)[^\S\n]*@(?:format|prettier)[^\S\n]*($|\n)[\s\S]*\n.*-->/mu, Et = (u) => Ee(u).content.trimStart().match(Uo)?.index === 0, Mo = (u) => Ee(u).content.trimStart().match($o)?.index === 0, _o = (u) => {
|
|
2496
|
+
let { frontMatter: e } = Ee(u), t = `<!-- @${zo} -->`;
|
|
2497
|
+
return e ? `${e.raw}
|
|
2498
|
+
|
|
2499
|
+
${t}
|
|
2500
|
+
|
|
2501
|
+
${u.slice(e.end.index)}` : `${t}
|
|
2502
|
+
|
|
2503
|
+
${u}`;
|
|
2504
|
+
}, Vo = /* @__PURE__ */ new Set(["position", "raw"]);
|
|
2505
|
+
function mt(u, e, t) {
|
|
2506
|
+
if ((u.type === "code" || u.type === "yaml" || u.type === "import" || u.type === "export" || u.type === "jsx") && delete e.value, u.type === "list" && delete e.isAligned, (u.type === "list" || u.type === "listItem") && delete e.spread, u.type === "text") return null;
|
|
2507
|
+
if (u.type === "inlineCode" && (e.value = su(0, u.value, `
|
|
2508
|
+
`, " ")), u.type === "wikiLink" && (e.value = su(0, u.value.trim(), /[\t\n]+/gu, " ")), (u.type === "definition" || u.type === "linkReference" || u.type === "imageReference") && (e.label = (0, Eo.default)(u.label)), (u.type === "link" || u.type === "image") && u.url && u.url.includes("(")) for (let r of "<>") e.url = su(0, u.url, r, encodeURIComponent(r));
|
|
2509
|
+
if ((u.type === "definition" || u.type === "link" || u.type === "image") && u.title && (e.title = su(0, u.title, /\\(?=["')])/gu, "")), t?.type === "root" && t.children.length > 0 && (t.children[0] === u || Io(t.children[0]) && t.children[1] === u) && u.type === "html" && Et(u.value)) return null;
|
|
2510
|
+
}
|
|
2511
|
+
mt.ignoredProperties = Vo;
|
|
2512
|
+
var Wo = mt, Ho = /(?:[\u{2c7}\u{2c9}-\u{2cb}\u{2d9}\u{2ea}-\u{2eb}\u{305}\u{323}\u{1100}-\u{11ff}\u{2e80}-\u{2e99}\u{2e9b}-\u{2ef3}\u{2f00}-\u{2fd5}\u{2ff0}-\u{303f}\u{3041}-\u{3096}\u{3099}-\u{30ff}\u{3105}-\u{312f}\u{3131}-\u{318e}\u{3190}-\u{4dbf}\u{4e00}-\u{9fff}\u{a700}-\u{a707}\u{a960}-\u{a97c}\u{ac00}-\u{d7a3}\u{d7b0}-\u{d7c6}\u{d7cb}-\u{d7fb}\u{f900}-\u{fa6d}\u{fa70}-\u{fad9}\u{fe10}-\u{fe1f}\u{fe30}-\u{fe6f}\u{ff00}-\u{ffef}\u{16fe3}\u{16ff2}-\u{16ff6}\u{1aff0}-\u{1aff3}\u{1aff5}-\u{1affb}\u{1affd}-\u{1affe}\u{1b000}-\u{1b122}\u{1b132}\u{1b150}-\u{1b152}\u{1b155}\u{1b164}-\u{1b167}\u{1f200}\u{1f250}-\u{1f251}\u{20000}-\u{2a6df}\u{2a700}-\u{2b81d}\u{2b820}-\u{2cead}\u{2ceb0}-\u{2ebe0}\u{2ebf0}-\u{2ee5d}\u{2f800}-\u{2fa1d}\u{30000}-\u{3134a}\u{31350}-\u{33479}])(?:[\u{fe00}-\u{fe0f}\u{e0100}-\u{e01ef}])?/u, oe = new RegExp("(?:[\\u{21}-\\u{2f}\\u{3a}-\\u{40}\\u{5b}-\\u{60}\\u{7b}-\\u{7e}]|\\p{General_Category=Connector_Punctuation}|\\p{General_Category=Dash_Punctuation}|\\p{General_Category=Close_Punctuation}|\\p{General_Category=Final_Punctuation}|\\p{General_Category=Initial_Punctuation}|\\p{General_Category=Other_Punctuation}|\\p{General_Category=Open_Punctuation})", "u"), me = (u) => u.position.start.offset, ve = (u) => u.position.end.offset, vt = /* @__PURE__ */ new Set(["liquidNode", "inlineCode", "emphasis", "esComment", "strong", "delete", "wikiLink", "link", "linkReference", "image", "imageReference", "footnote", "footnoteReference", "sentence", "whitespace", "word", "break", "inlineMath"]), xt = /* @__PURE__ */ new Set([...vt, "tableCell", "paragraph", "heading"]), ie = "non-cjk", yu = "cj-letter", Ju = "k-letter", xe = "cjk-punctuation", Go = new RegExp("\\p{Script_Extensions=Hangul}", "u");
|
|
2513
|
+
function Bt(u) {
|
|
2514
|
+
let e = [], t = u.split(/([\t\n ]+)/u);
|
|
2515
|
+
for (let [n, o] of t.entries()) {
|
|
2516
|
+
if (n % 2 === 1) {
|
|
2517
|
+
e.push({ type: "whitespace", value: /\n/u.test(o) ? `
|
|
2518
|
+
` : " " });
|
|
2519
|
+
continue;
|
|
2520
|
+
}
|
|
2521
|
+
if ((n === 0 || n === t.length - 1) && o === "") continue;
|
|
2522
|
+
let a = o.split(new RegExp(`(${Ho.source})`, "u"));
|
|
2523
|
+
for (let [i, D] of a.entries()) if (!((i === 0 || i === a.length - 1) && D === "")) {
|
|
2524
|
+
if (i % 2 === 0) {
|
|
2525
|
+
D !== "" && r({ type: "word", value: D, kind: ie, isCJ: !1, hasLeadingPunctuation: oe.test(D[0]), hasTrailingPunctuation: oe.test(Au(0, D, -1)) });
|
|
2526
|
+
continue;
|
|
2527
|
+
}
|
|
2528
|
+
if (oe.test(D)) {
|
|
2529
|
+
r({ type: "word", value: D, kind: xe, isCJ: !0, hasLeadingPunctuation: !0, hasTrailingPunctuation: !0 });
|
|
2530
|
+
continue;
|
|
2531
|
+
}
|
|
2532
|
+
if (Go.test(D)) {
|
|
2533
|
+
r({ type: "word", value: D, kind: Ju, isCJ: !1, hasLeadingPunctuation: !1, hasTrailingPunctuation: !1 });
|
|
2534
|
+
continue;
|
|
2535
|
+
}
|
|
2536
|
+
r({ type: "word", value: D, kind: yu, isCJ: !0, hasLeadingPunctuation: !1, hasTrailingPunctuation: !1 });
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2539
|
+
return e;
|
|
2540
|
+
function r(n) {
|
|
2541
|
+
let o = Au(0, e, -1);
|
|
2542
|
+
o?.type === "word" && !a(ie, xe) && ![o.value, n.value].some((i) => /\u3000/u.test(i)) && e.push({ type: "whitespace", value: "" }), e.push(n);
|
|
2543
|
+
function a(i, D) {
|
|
2544
|
+
return o.kind === i && n.kind === D || o.kind === D && n.kind === i;
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
function ae(u, e) {
|
|
2549
|
+
let t = e.originalText.slice(u.position.start.offset, u.position.end.offset), { numberText: r, leadingSpaces: n } = t.match(/^\s*(?<numberText>\d+)(\.|\))(?<leadingSpaces>\s*)/u).groups;
|
|
2550
|
+
return { number: Number(r), leadingSpaces: n };
|
|
2551
|
+
}
|
|
2552
|
+
function Jo(u, e) {
|
|
2553
|
+
return !u.ordered || u.children.length < 2 || ae(u.children[1], e).number !== 1 ? !1 : ae(u.children[0], e).number !== 0 ? !0 : u.children.length > 2 && ae(u.children[2], e).number === 1;
|
|
2554
|
+
}
|
|
2555
|
+
function bt(u, e) {
|
|
2556
|
+
let { value: t } = u;
|
|
2557
|
+
return u.position.end.offset === e.length && t.endsWith(`
|
|
2558
|
+
`) && e.endsWith(`
|
|
2559
|
+
`) ? t.slice(0, -1) : t;
|
|
2560
|
+
}
|
|
2561
|
+
function Xu(u, e) {
|
|
2562
|
+
return (function t(r, n, o) {
|
|
2563
|
+
let a = { ...e(r, n, o) };
|
|
2564
|
+
return a.children && (a.children = a.children.map((i, D) => t(i, D, [a, ...o]))), a;
|
|
2565
|
+
})(u, null, []);
|
|
2566
|
+
}
|
|
2567
|
+
function yt(u) {
|
|
2568
|
+
if (u?.type !== "link" || u.children.length !== 1) return !1;
|
|
2569
|
+
let [e] = u.children;
|
|
2570
|
+
return me(u) === me(e) && ve(u) === ve(e);
|
|
2571
|
+
}
|
|
2572
|
+
function ze(u) {
|
|
2573
|
+
let e;
|
|
2574
|
+
if (u.type === "html") e = u.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/u);
|
|
2575
|
+
else {
|
|
2576
|
+
let t;
|
|
2577
|
+
u.type === "esComment" ? t = u : u.type === "paragraph" && u.children.length === 1 && u.children[0].type === "esComment" && (t = u.children[0]), t && (e = t.value.match(/^prettier-ignore(?:-(start|end))?$/u));
|
|
2578
|
+
}
|
|
2579
|
+
return e ? e[1] || "next" : !1;
|
|
2580
|
+
}
|
|
2581
|
+
function wt(u, e) {
|
|
2582
|
+
return t(u, e, (r) => r.ordered === u.ordered);
|
|
2583
|
+
function t(r, n, o) {
|
|
2584
|
+
let a = -1;
|
|
2585
|
+
for (let i of n.children) if (i.type === r.type && o(i) ? a++ : a = -1, i === r) return a;
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
function Xo(u, e) {
|
|
2589
|
+
let { node: t } = u;
|
|
2590
|
+
if (t.type === "code" && t.lang !== null) {
|
|
2591
|
+
let r = No(e, { language: t.lang });
|
|
2592
|
+
if (r) return async (n) => {
|
|
2593
|
+
let o = e.__inJsTemplate ? "~" : "`", a = o.repeat(Math.max(3, pt(t.value, o) + 1)), i = { parser: r };
|
|
2594
|
+
t.lang === "ts" || t.lang === "typescript" ? i.filepath = "dummy.ts" : t.lang === "tsx" && (i.filepath = "dummy.tsx");
|
|
2595
|
+
let D = await n(bt(t, e.originalText), i);
|
|
2596
|
+
return Oe([a, t.lang, t.meta ? " " + t.meta : "", Du, Gu(D), Du, a]);
|
|
2597
|
+
};
|
|
2598
|
+
}
|
|
2599
|
+
switch (t.type) {
|
|
2600
|
+
case "import":
|
|
2601
|
+
case "export":
|
|
2602
|
+
return (r) => r(t.value, { __onHtmlBindingRoot: (n) => Yo(n, t.type), parser: "babel" });
|
|
2603
|
+
case "jsx":
|
|
2604
|
+
return (r) => r(`<$>${t.value}</$>`, { parser: "__js_expression", rootMarker: "mdx" });
|
|
2605
|
+
}
|
|
2606
|
+
return null;
|
|
2607
|
+
}
|
|
2608
|
+
function Yo(u, e) {
|
|
2609
|
+
let { program: { body: t } } = u;
|
|
2610
|
+
if (!t.every((r) => r.type === "ImportDeclaration" || r.type === "ExportDefaultDeclaration" || r.type === "ExportNamedDeclaration")) throw new Error(`Unexpected '${e}' in MDX.`);
|
|
2611
|
+
}
|
|
2612
|
+
var Qo = Xo, De = null;
|
|
2613
|
+
function se(u) {
|
|
2614
|
+
if (De !== null && typeof De.property) {
|
|
2615
|
+
let e = De;
|
|
2616
|
+
return De = se.prototype = null, e;
|
|
2617
|
+
}
|
|
2618
|
+
return De = se.prototype = u ?? /* @__PURE__ */ Object.create(null), new se();
|
|
2619
|
+
}
|
|
2620
|
+
var Zo = 10;
|
|
2621
|
+
for (let u = 0; u <= Zo; u++) se();
|
|
2622
|
+
function Ko(u) {
|
|
2623
|
+
return se(u);
|
|
2624
|
+
}
|
|
2625
|
+
function ui(u, e = "type") {
|
|
2626
|
+
Ko(u);
|
|
2627
|
+
function t(r) {
|
|
2628
|
+
let n = r[e], o = u[n];
|
|
2629
|
+
if (!Array.isArray(o)) throw Object.assign(new Error(`Missing visitor keys for '${n}'.`), { node: r });
|
|
2630
|
+
return o;
|
|
2631
|
+
}
|
|
2632
|
+
return t;
|
|
2633
|
+
}
|
|
2634
|
+
var ei = ui, Q = [["children"], []], ti = { root: Q[0], paragraph: Q[0], sentence: Q[0], word: Q[1], whitespace: Q[1], emphasis: Q[0], strong: Q[0], delete: Q[0], inlineCode: Q[1], wikiLink: Q[1], link: Q[0], image: Q[1], blockquote: Q[0], heading: Q[0], code: Q[1], html: Q[1], list: Q[0], thematicBreak: Q[1], linkReference: Q[0], imageReference: Q[1], definition: Q[1], footnote: Q[0], footnoteReference: Q[1], footnoteDefinition: Q[0], table: Q[0], tableCell: Q[0], break: Q[1], liquidNode: Q[1], import: Q[1], export: Q[1], esComment: Q[1], jsx: Q[1], math: Q[1], inlineMath: Q[1], tableRow: Q[0], listItem: Q[0], text: Q[1] }, ri = ei(ti), ni = ri;
|
|
2635
|
+
function fu(u, e, t, r = {}) {
|
|
2636
|
+
let { processor: n = t } = r, o = [];
|
|
2637
|
+
return u.each(() => {
|
|
2638
|
+
let a = n(u);
|
|
2639
|
+
a !== !1 && (o.length > 0 && oi(u) && (o.push(Du), (ai(u, e) || kt(u)) && o.push(Du), kt(u) && o.push(Du)), o.push(a));
|
|
2640
|
+
}, "children"), o;
|
|
2641
|
+
}
|
|
2642
|
+
function oi({ node: u, parent: e }) {
|
|
2643
|
+
let t = vt.has(u.type), r = u.type === "html" && xt.has(e.type);
|
|
2644
|
+
return !t && !r;
|
|
2645
|
+
}
|
|
2646
|
+
var ii = /* @__PURE__ */ new Set(["listItem", "definition"]);
|
|
2647
|
+
function ai({ node: u, previous: e, parent: t }, r) {
|
|
2648
|
+
if (qt(e, r) || u.type === "list" && t.type === "listItem" && e.type === "code") return !0;
|
|
2649
|
+
let n = e.type === u.type && ii.has(u.type), o = t.type === "listItem" && (u.type === "list" || !qt(t, r)), a = ze(e) === "next", i = u.type === "html" && e.type === "html" && e.position.end.line + 1 === u.position.start.line, D = u.type === "html" && t.type === "listItem" && e.type === "paragraph" && e.position.end.line + 1 === u.position.start.line;
|
|
2650
|
+
return !(n || o || a || i || D);
|
|
2651
|
+
}
|
|
2652
|
+
function kt({ node: u, previous: e }) {
|
|
2653
|
+
let t = e.type === "list", r = u.type === "code" && u.isIndented;
|
|
2654
|
+
return t && r;
|
|
2655
|
+
}
|
|
2656
|
+
function qt(u, e) {
|
|
2657
|
+
return u.type === "listItem" && (u.spread || e.originalText.charAt(u.position.end.offset - 1) === `
|
|
2658
|
+
`);
|
|
2659
|
+
}
|
|
2660
|
+
function Di(u, e, t) {
|
|
2661
|
+
let { node: r } = u, n = wt(r, u.parent), o = Jo(r, e);
|
|
2662
|
+
return fu(u, e, t, { processor() {
|
|
2663
|
+
let a = D(), { node: i } = u;
|
|
2664
|
+
if (i.children.length === 2 && i.children[1].type === "html" && i.children[0].position.start.column !== i.children[1].position.start.column) return [a, St(u, e, t, a)];
|
|
2665
|
+
return [a, Pu(" ".repeat(a.length), St(u, e, t, a))];
|
|
2666
|
+
function D() {
|
|
2667
|
+
let l = r.ordered ? (u.isFirst ? r.start : o ? 1 : r.start + u.index) + (n % 2 === 0 ? ". " : ") ") : n % 2 === 0 ? "- " : "* ";
|
|
2668
|
+
return (r.isAligned || r.hasIndentedCodeblock) && r.ordered ? si(l, e) : l;
|
|
2669
|
+
}
|
|
2670
|
+
} });
|
|
2671
|
+
}
|
|
2672
|
+
function St(u, e, t, r) {
|
|
2673
|
+
let { node: n } = u, o = n.checked === null ? "" : n.checked ? "[x] " : "[ ] ";
|
|
2674
|
+
return [o, fu(u, e, t, { processor({ node: a, isFirst: i }) {
|
|
2675
|
+
if (i && a.type !== "list") return Pu(" ".repeat(o.length), t());
|
|
2676
|
+
let D = " ".repeat(li(e.tabWidth - r.length, 0, 3));
|
|
2677
|
+
return [D, Pu(D, t())];
|
|
2678
|
+
} })];
|
|
2679
|
+
}
|
|
2680
|
+
function si(u, e) {
|
|
2681
|
+
let t = r();
|
|
2682
|
+
return u + " ".repeat(t >= 4 ? 0 : t);
|
|
2683
|
+
function r() {
|
|
2684
|
+
let n = u.length % e.tabWidth;
|
|
2685
|
+
return n === 0 ? 0 : e.tabWidth - n;
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
function li(u, e, t) {
|
|
2689
|
+
return Math.max(e, Math.min(u, t));
|
|
2690
|
+
}
|
|
2691
|
+
function ci(u, e, t) {
|
|
2692
|
+
let { node: r } = u, n = [], o = u.map(() => u.map(({ index: c }) => {
|
|
2693
|
+
let C = so(t(), e).formatted, d = Pe(C);
|
|
2694
|
+
return n[c] = Math.max(n[c] ?? 3, d), { text: C, width: d };
|
|
2695
|
+
}, "children"), "children"), a = D(!1);
|
|
2696
|
+
if (e.proseWrap !== "never") return [Ce, a];
|
|
2697
|
+
let i = D(!0);
|
|
2698
|
+
return [Ce, Ae(Mn(i, a))];
|
|
2699
|
+
function D(c) {
|
|
2700
|
+
return at(Re, [s(o[0], c), l(c), ...o.slice(1).map((C) => s(C, c))].map((C) => `| ${C.join(" | ")} |`));
|
|
2701
|
+
}
|
|
2702
|
+
function l(c) {
|
|
2703
|
+
return n.map((C, d) => {
|
|
2704
|
+
let E = r.align[d], m = E === "center" || E === "left" ? ":" : "-", g = E === "center" || E === "right" ? ":" : "-", x = c ? "-" : "-".repeat(C - 2);
|
|
2705
|
+
return `${m}${x}${g}`;
|
|
2706
|
+
});
|
|
2707
|
+
}
|
|
2708
|
+
function s(c, C) {
|
|
2709
|
+
return c.map(({ text: d, width: E }, m) => {
|
|
2710
|
+
if (C) return d;
|
|
2711
|
+
let g = n[m] - E, x = r.align[m], f = 0;
|
|
2712
|
+
x === "right" ? f = g : x === "center" && (f = Math.floor(g / 2));
|
|
2713
|
+
let B = g - f;
|
|
2714
|
+
return `${" ".repeat(f)}${d}${" ".repeat(B)}`;
|
|
2715
|
+
});
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
function fi(u) {
|
|
2719
|
+
let { node: e } = u, t = su(0, su(0, e.value, "*", "\\*"), new RegExp([`(^|${oe.source})(_+)`, `(_+)(${oe.source}|$)`].join("|"), "gu"), (o, a, i, D, l) => su(0, i ? `${a}${i}` : `${D}${l}`, "_", "\\_")), r = (o, a, i) => o.type === "sentence" && i === 0, n = (o, a, i) => yt(o.children[i - 1]);
|
|
2720
|
+
return t !== e.value && (u.match(void 0, r, n) || u.match(void 0, r, (o, a, i) => o.type === "emphasis" && i === 0, n)) && (t = t.replace(/^(\\?[*_])+/u, (o) => su(0, o, "\\", ""))), t;
|
|
2721
|
+
}
|
|
2722
|
+
function pi(u, e, t) {
|
|
2723
|
+
let r = u.map(t, "children");
|
|
2724
|
+
return hi(r);
|
|
2725
|
+
}
|
|
2726
|
+
function hi(u) {
|
|
2727
|
+
let e = [""];
|
|
2728
|
+
return (function t(r) {
|
|
2729
|
+
for (let n of r) {
|
|
2730
|
+
let o = Lu(n);
|
|
2731
|
+
if (o === ku) {
|
|
2732
|
+
t(n);
|
|
2733
|
+
continue;
|
|
2734
|
+
}
|
|
2735
|
+
let a = n, i = [];
|
|
2736
|
+
o === Iu && ([a, ...i] = n.parts), e.push([e.pop(), a], ...i);
|
|
2737
|
+
}
|
|
2738
|
+
})(u), Ne(e);
|
|
2739
|
+
}
|
|
2740
|
+
var Fi = class {
|
|
2741
|
+
#u;
|
|
2742
|
+
constructor(u) {
|
|
2743
|
+
this.#u = new Set(u);
|
|
2744
|
+
}
|
|
2745
|
+
getLeadingWhitespaceCount(u) {
|
|
2746
|
+
let e = this.#u, t = 0;
|
|
2747
|
+
for (let r = 0; r < u.length && e.has(u.charAt(r)); r++) t++;
|
|
2748
|
+
return t;
|
|
2749
|
+
}
|
|
2750
|
+
getTrailingWhitespaceCount(u) {
|
|
2751
|
+
let e = this.#u, t = 0;
|
|
2752
|
+
for (let r = u.length - 1; r >= 0 && e.has(u.charAt(r)); r--) t++;
|
|
2753
|
+
return t;
|
|
2754
|
+
}
|
|
2755
|
+
getLeadingWhitespace(u) {
|
|
2756
|
+
let e = this.getLeadingWhitespaceCount(u);
|
|
2757
|
+
return u.slice(0, e);
|
|
2758
|
+
}
|
|
2759
|
+
getTrailingWhitespace(u) {
|
|
2760
|
+
let e = this.getTrailingWhitespaceCount(u);
|
|
2761
|
+
return u.slice(u.length - e);
|
|
2762
|
+
}
|
|
2763
|
+
hasLeadingWhitespace(u) {
|
|
2764
|
+
return this.#u.has(u.charAt(0));
|
|
2765
|
+
}
|
|
2766
|
+
hasTrailingWhitespace(u) {
|
|
2767
|
+
return this.#u.has(Au(0, u, -1));
|
|
2768
|
+
}
|
|
2769
|
+
trimStart(u) {
|
|
2770
|
+
let e = this.getLeadingWhitespaceCount(u);
|
|
2771
|
+
return u.slice(e);
|
|
2772
|
+
}
|
|
2773
|
+
trimEnd(u) {
|
|
2774
|
+
let e = this.getTrailingWhitespaceCount(u);
|
|
2775
|
+
return u.slice(0, u.length - e);
|
|
2776
|
+
}
|
|
2777
|
+
trim(u) {
|
|
2778
|
+
return this.trimEnd(this.trimStart(u));
|
|
2779
|
+
}
|
|
2780
|
+
split(u, e = !1) {
|
|
2781
|
+
let t = `[${he([...this.#u].join(""))}]+`, r = new RegExp(e ? `(${t})` : t, "u");
|
|
2782
|
+
return u.split(r);
|
|
2783
|
+
}
|
|
2784
|
+
hasWhitespaceCharacter(u) {
|
|
2785
|
+
let e = this.#u;
|
|
2786
|
+
return Array.prototype.some.call(u, (t) => e.has(t));
|
|
2787
|
+
}
|
|
2788
|
+
hasNonWhitespaceCharacter(u) {
|
|
2789
|
+
let e = this.#u;
|
|
2790
|
+
return Array.prototype.some.call(u, (t) => !e.has(t));
|
|
2791
|
+
}
|
|
2792
|
+
isWhitespaceOnly(u) {
|
|
2793
|
+
let e = this.#u;
|
|
2794
|
+
return Array.prototype.every.call(u, (t) => e.has(t));
|
|
2795
|
+
}
|
|
2796
|
+
#e(u) {
|
|
2797
|
+
let e = Number.POSITIVE_INFINITY;
|
|
2798
|
+
for (let t of u.split(`
|
|
2799
|
+
`)) {
|
|
2800
|
+
if (t.length === 0) continue;
|
|
2801
|
+
let r = this.getLeadingWhitespaceCount(t);
|
|
2802
|
+
if (r === 0) return 0;
|
|
2803
|
+
t.length !== r && r < e && (e = r);
|
|
2804
|
+
}
|
|
2805
|
+
return e === Number.POSITIVE_INFINITY ? 0 : e;
|
|
2806
|
+
}
|
|
2807
|
+
dedentString(u) {
|
|
2808
|
+
let e = this.#e(u);
|
|
2809
|
+
return e === 0 ? u : u.split(`
|
|
2810
|
+
`).map((t) => t.slice(e)).join(`
|
|
2811
|
+
`);
|
|
2812
|
+
}
|
|
2813
|
+
}, di = Fi, Ci = [" ", `
|
|
2814
|
+
`, "\f", "\r", " "], Ai = new di(Ci), Lt = Ai, gi = /^\\?.$/su, Ei = /^\n *>[ >]*$/u;
|
|
2815
|
+
function mi(u, e) {
|
|
2816
|
+
return u = vi(u, e), u = Bi(u), u = yi(u, e), u = wi(u, e), u = bi(u), u;
|
|
2817
|
+
}
|
|
2818
|
+
function vi(u, e) {
|
|
2819
|
+
return Xu(u, (t) => {
|
|
2820
|
+
if (t.type !== "text") return t;
|
|
2821
|
+
let { value: r } = t;
|
|
2822
|
+
if (r === "*" || r === "_" || !gi.test(r) || t.position.end.offset - t.position.start.offset === r.length) return t;
|
|
2823
|
+
let n = e.originalText.slice(t.position.start.offset, t.position.end.offset);
|
|
2824
|
+
return Ei.test(n) ? t : { ...t, value: n };
|
|
2825
|
+
});
|
|
2826
|
+
}
|
|
2827
|
+
function xi(u, e, t) {
|
|
2828
|
+
return Xu(u, (r) => {
|
|
2829
|
+
if (!r.children) return r;
|
|
2830
|
+
let n = [], o, a;
|
|
2831
|
+
for (let i of r.children) o && e(o, i) ? (i = t(o, i), n.splice(-1, 1, i), a || (a = !0)) : n.push(i), o = i;
|
|
2832
|
+
return a ? { ...r, children: n } : r;
|
|
2833
|
+
});
|
|
2834
|
+
}
|
|
2835
|
+
function Bi(u) {
|
|
2836
|
+
return xi(u, (e, t) => e.type === "text" && t.type === "text", (e, t) => ({ type: "text", value: e.value + t.value, position: { start: e.position.start, end: t.position.end } }));
|
|
2837
|
+
}
|
|
2838
|
+
function bi(u) {
|
|
2839
|
+
return Xu(u, (e, t, [r]) => {
|
|
2840
|
+
if (e.type !== "text") return e;
|
|
2841
|
+
let { value: n } = e;
|
|
2842
|
+
return r.type === "paragraph" && (t === 0 && (n = Lt.trimStart(n)), t === r.children.length - 1 && (n = Lt.trimEnd(n))), { type: "sentence", position: e.position, children: Bt(n) };
|
|
2843
|
+
});
|
|
2844
|
+
}
|
|
2845
|
+
function yi(u, e) {
|
|
2846
|
+
return Xu(u, (t, r, n) => {
|
|
2847
|
+
if (t.type === "code") {
|
|
2848
|
+
let o = /^\n?(?: {4,}|\t)/u.test(e.originalText.slice(t.position.start.offset, t.position.end.offset));
|
|
2849
|
+
if (t.isIndented = o, o) for (let a = 0; a < n.length; a++) {
|
|
2850
|
+
let i = n[a];
|
|
2851
|
+
if (i.hasIndentedCodeblock) break;
|
|
2852
|
+
i.type === "list" && (i.hasIndentedCodeblock = !0);
|
|
2853
|
+
}
|
|
2854
|
+
}
|
|
2855
|
+
return t;
|
|
2856
|
+
});
|
|
2857
|
+
}
|
|
2858
|
+
function wi(u, e) {
|
|
2859
|
+
return Xu(u, (n, o, a) => {
|
|
2860
|
+
if (n.type === "list" && n.children.length > 0) {
|
|
2861
|
+
for (let i = 0; i < a.length; i++) {
|
|
2862
|
+
let D = a[i];
|
|
2863
|
+
if (D.type === "list" && !D.isAligned) return n.isAligned = !1, n;
|
|
2864
|
+
}
|
|
2865
|
+
n.isAligned = r(n);
|
|
2866
|
+
}
|
|
2867
|
+
return n;
|
|
2868
|
+
});
|
|
2869
|
+
function t(n) {
|
|
2870
|
+
return n.children.length === 0 ? -1 : n.children[0].position.start.column - 1;
|
|
2871
|
+
}
|
|
2872
|
+
function r(n) {
|
|
2873
|
+
if (!n.ordered) return !0;
|
|
2874
|
+
let [o, a] = n.children;
|
|
2875
|
+
if (ae(o, e).leadingSpaces.length > 1) return !0;
|
|
2876
|
+
let i = t(o);
|
|
2877
|
+
if (i === -1) return !1;
|
|
2878
|
+
if (n.children.length === 1) return i % e.tabWidth === 0;
|
|
2879
|
+
let D = t(a);
|
|
2880
|
+
return i !== D ? !1 : i % e.tabWidth === 0 ? !0 : ae(a, e).leadingSpaces.length > 1;
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
var ki = mi;
|
|
2884
|
+
function qi(u, e) {
|
|
2885
|
+
let t = [""];
|
|
2886
|
+
return u.each(() => {
|
|
2887
|
+
let { node: r } = u, n = e();
|
|
2888
|
+
switch (r.type) {
|
|
2889
|
+
case "whitespace":
|
|
2890
|
+
if (Lu(n) !== Ru) {
|
|
2891
|
+
t.push(n, "");
|
|
2892
|
+
break;
|
|
2893
|
+
}
|
|
2894
|
+
default:
|
|
2895
|
+
t.push([t.pop(), n]);
|
|
2896
|
+
}
|
|
2897
|
+
}, "children"), Ne(t);
|
|
2898
|
+
}
|
|
2899
|
+
var Si = /* @__PURE__ */ new Set(["heading", "tableCell", "link", "wikiLink"]), Tt = new Set("!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~");
|
|
2900
|
+
function Li({ parent: u }) {
|
|
2901
|
+
if (u.usesCJSpaces === void 0) {
|
|
2902
|
+
let e = { " ": 0, "": 0 }, { children: t } = u;
|
|
2903
|
+
for (let r = 1; r < t.length - 1; ++r) {
|
|
2904
|
+
let n = t[r];
|
|
2905
|
+
if (n.type === "whitespace" && (n.value === " " || n.value === "")) {
|
|
2906
|
+
let o = t[r - 1].kind, a = t[r + 1].kind;
|
|
2907
|
+
(o === yu && a === ie || o === ie && a === yu) && ++e[n.value];
|
|
2908
|
+
}
|
|
2909
|
+
}
|
|
2910
|
+
u.usesCJSpaces = e[" "] > e[""];
|
|
2911
|
+
}
|
|
2912
|
+
return u.usesCJSpaces;
|
|
2913
|
+
}
|
|
2914
|
+
function Ti(u, e) {
|
|
2915
|
+
if (e) return !0;
|
|
2916
|
+
let { previous: t, next: r } = u;
|
|
2917
|
+
if (!t || !r) return !0;
|
|
2918
|
+
let n = t.kind, o = r.kind;
|
|
2919
|
+
return Ot(n) && Ot(o) || n === Ju && o === yu || o === Ju && n === yu ? !0 : n === xe || o === xe || n === yu && o === yu ? !1 : Tt.has(r.value[0]) || Tt.has(Au(0, t.value, -1)) ? !0 : t.hasTrailingPunctuation || r.hasLeadingPunctuation ? !1 : Li(u);
|
|
2920
|
+
}
|
|
2921
|
+
function Ot(u) {
|
|
2922
|
+
return u === ie || u === Ju;
|
|
2923
|
+
}
|
|
2924
|
+
function Oi(u, e, t, r) {
|
|
2925
|
+
if (t !== "always" || u.hasAncestor((a) => Si.has(a.type))) return !1;
|
|
2926
|
+
if (r) return e !== "";
|
|
2927
|
+
let { previous: n, next: o } = u;
|
|
2928
|
+
return !n || !o ? !0 : e === "" ? !1 : n.kind === Ju && o.kind === yu || o.kind === Ju && n.kind === yu ? !0 : !(n.isCJ || o.isCJ);
|
|
2929
|
+
}
|
|
2930
|
+
function Nt(u, e, t, r) {
|
|
2931
|
+
if (t === "preserve" && e === `
|
|
2932
|
+
`) return Du;
|
|
2933
|
+
let n = e === " " || e === `
|
|
2934
|
+
` && Ti(u, r);
|
|
2935
|
+
return Oi(u, e, t, r) ? n ? Dt : st : n ? " " : "";
|
|
2936
|
+
}
|
|
2937
|
+
function Rt(u) {
|
|
2938
|
+
let { previous: e, next: t } = u;
|
|
2939
|
+
return e?.type === "sentence" && Au(0, e.children, -1)?.type === "word" && !Au(0, e.children, -1).hasTrailingPunctuation || t?.type === "sentence" && t.children[0]?.type === "word" && !t.children[0].hasLeadingPunctuation;
|
|
2940
|
+
}
|
|
2941
|
+
function Ni(u, e, t) {
|
|
2942
|
+
let { node: r } = u;
|
|
2943
|
+
if (Ii(u)) {
|
|
2944
|
+
let n = [""], o = Bt(e.originalText.slice(r.position.start.offset, r.position.end.offset));
|
|
2945
|
+
for (let a of o) {
|
|
2946
|
+
if (a.type === "word") {
|
|
2947
|
+
n.push([n.pop(), a.value]);
|
|
2948
|
+
continue;
|
|
2949
|
+
}
|
|
2950
|
+
let i = Nt(u, a.value, e.proseWrap, !0);
|
|
2951
|
+
if (Lu(i) === Ru) {
|
|
2952
|
+
n.push([n.pop(), i]);
|
|
2953
|
+
continue;
|
|
2954
|
+
}
|
|
2955
|
+
n.push(i, "");
|
|
2956
|
+
}
|
|
2957
|
+
return Ne(n);
|
|
2958
|
+
}
|
|
2959
|
+
switch (r.type) {
|
|
2960
|
+
case "root":
|
|
2961
|
+
return r.children.length === 0 ? "" : [Ri(u, e, t), Du];
|
|
2962
|
+
case "paragraph":
|
|
2963
|
+
return pi(u, e, t);
|
|
2964
|
+
case "sentence":
|
|
2965
|
+
return qi(u, t);
|
|
2966
|
+
case "word":
|
|
2967
|
+
return fi(u);
|
|
2968
|
+
case "whitespace": {
|
|
2969
|
+
let { next: n } = u, o = n && /^>|^(?:[*+-]|#{1,6}|\d+[).])$/u.test(n.value) ? "never" : e.proseWrap;
|
|
2970
|
+
return Nt(u, r.value, o);
|
|
2971
|
+
}
|
|
2972
|
+
case "emphasis": {
|
|
2973
|
+
let n;
|
|
2974
|
+
if (yt(r.children[0])) n = e.originalText[r.position.start.offset];
|
|
2975
|
+
else {
|
|
2976
|
+
let o = Rt(u), a = u.callParent(({ node: i }) => i.type === "strong" && Rt(u));
|
|
2977
|
+
n = o || a || u.hasAncestor((i) => i.type === "emphasis") ? "*" : "_";
|
|
2978
|
+
}
|
|
2979
|
+
return [n, fu(u, e, t), n];
|
|
2980
|
+
}
|
|
2981
|
+
case "strong":
|
|
2982
|
+
return ["**", fu(u, e, t), "**"];
|
|
2983
|
+
case "delete":
|
|
2984
|
+
return ["~~", fu(u, e, t), "~~"];
|
|
2985
|
+
case "inlineCode": {
|
|
2986
|
+
let n = e.proseWrap === "preserve" ? r.value : su(0, r.value, `
|
|
2987
|
+
`, " "), o = fo(n, "`"), a = "`".repeat(o), i = n.startsWith("`") || n.endsWith("`") || /^[\n ]/u.test(n) && /[\n ]$/u.test(n) && /[^\n ]/u.test(n) ? " " : "";
|
|
2988
|
+
return [a, i, n, i, a];
|
|
2989
|
+
}
|
|
2990
|
+
case "wikiLink": {
|
|
2991
|
+
let n = "";
|
|
2992
|
+
return e.proseWrap === "preserve" ? n = r.value : n = su(0, r.value, /[\t\n]+/gu, " "), ["[[", n, "]]"];
|
|
2993
|
+
}
|
|
2994
|
+
case "link":
|
|
2995
|
+
switch (e.originalText[r.position.start.offset]) {
|
|
2996
|
+
case "<": {
|
|
2997
|
+
let n = "mailto:";
|
|
2998
|
+
return ["<", r.url.startsWith(n) && e.originalText.slice(r.position.start.offset + 1, r.position.start.offset + 1 + n.length) !== n ? r.url.slice(n.length) : r.url, ">"];
|
|
2999
|
+
}
|
|
3000
|
+
case "[":
|
|
3001
|
+
return ["[", fu(u, e, t), "](", $e(r.url, ")"), Be(r.title, e), ")"];
|
|
3002
|
+
default:
|
|
3003
|
+
return e.originalText.slice(r.position.start.offset, r.position.end.offset);
|
|
3004
|
+
}
|
|
3005
|
+
case "image":
|
|
3006
|
+
return [""), Be(r.title, e), ")"];
|
|
3007
|
+
case "blockquote":
|
|
3008
|
+
return ["> ", Pu("> ", fu(u, e, t))];
|
|
3009
|
+
case "heading":
|
|
3010
|
+
return ["#".repeat(r.depth) + " ", fu(u, e, t)];
|
|
3011
|
+
case "code": {
|
|
3012
|
+
if (r.isIndented) {
|
|
3013
|
+
let a = " ".repeat(4);
|
|
3014
|
+
return Pu(a, [a, Gu(r.value, Du)]);
|
|
3015
|
+
}
|
|
3016
|
+
let n = e.__inJsTemplate ? "~" : "`", o = n.repeat(Math.max(3, pt(r.value, n) + 1));
|
|
3017
|
+
return [o, r.lang || "", r.meta ? " " + r.meta : "", Du, Gu(bt(r, e.originalText), Du), Du, o];
|
|
3018
|
+
}
|
|
3019
|
+
case "html": {
|
|
3020
|
+
let { parent: n, isLast: o } = u, a = n.type === "root" && o ? r.value.trimEnd() : r.value, i = /^<!--.*-->$/su.test(a);
|
|
3021
|
+
return Gu(a, i ? Du : Oe(Ie));
|
|
3022
|
+
}
|
|
3023
|
+
case "list":
|
|
3024
|
+
return Di(u, e, t);
|
|
3025
|
+
case "thematicBreak": {
|
|
3026
|
+
let { ancestors: n } = u, o = n.findIndex((a) => a.type === "list");
|
|
3027
|
+
return o === -1 ? "---" : wt(n[o], n[o + 1]) % 2 === 0 ? "***" : "---";
|
|
3028
|
+
}
|
|
3029
|
+
case "linkReference":
|
|
3030
|
+
return ["[", fu(u, e, t), "]", r.referenceType === "full" ? Ue(r) : r.referenceType === "collapsed" ? "[]" : ""];
|
|
3031
|
+
case "imageReference":
|
|
3032
|
+
return r.referenceType === "full" ? ["![", r.alt || "", "]", Ue(r)] : ["![", r.alt, "]", r.referenceType === "collapsed" ? "[]" : ""];
|
|
3033
|
+
case "definition": {
|
|
3034
|
+
let n = e.proseWrap === "always" ? Dt : " ";
|
|
3035
|
+
return Ae([Ue(r), ":", Te([n, $e(r.url), r.title === null ? "" : [n, Be(r.title, e, !1)]])]);
|
|
3036
|
+
}
|
|
3037
|
+
case "footnote":
|
|
3038
|
+
return ["[^", fu(u, e, t), "]"];
|
|
3039
|
+
case "footnoteReference":
|
|
3040
|
+
return Pt(r);
|
|
3041
|
+
case "footnoteDefinition": {
|
|
3042
|
+
let n = r.children.length === 1 && r.children[0].type === "paragraph" && (e.proseWrap === "never" || e.proseWrap === "preserve" && r.children[0].position.start.line === r.children[0].position.end.line);
|
|
3043
|
+
return [Pt(r), ": ", n ? fu(u, e, t) : Ae([Pu(" ".repeat(4), fu(u, e, t, { processor: ({ isFirst: o }) => o ? Ae([st, t()]) : t() }))])];
|
|
3044
|
+
}
|
|
3045
|
+
case "table":
|
|
3046
|
+
return ci(u, e, t);
|
|
3047
|
+
case "tableCell":
|
|
3048
|
+
return fu(u, e, t);
|
|
3049
|
+
case "break":
|
|
3050
|
+
return /\s/u.test(e.originalText[r.position.start.offset]) ? [" ", Oe(Ie)] : ["\\", Du];
|
|
3051
|
+
case "liquidNode":
|
|
3052
|
+
return Gu(r.value, Du);
|
|
3053
|
+
case "import":
|
|
3054
|
+
case "export":
|
|
3055
|
+
case "jsx":
|
|
3056
|
+
return r.value.trimEnd();
|
|
3057
|
+
case "esComment":
|
|
3058
|
+
return ["{/* ", r.value, " */}"];
|
|
3059
|
+
case "math":
|
|
3060
|
+
return ["$$", Du, r.value ? [Gu(r.value, Du), Du] : "", "$$"];
|
|
3061
|
+
case "inlineMath":
|
|
3062
|
+
return e.originalText.slice(me(r), ve(r));
|
|
3063
|
+
default:
|
|
3064
|
+
throw new go(r, "Markdown");
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
function Ri(u, e, t) {
|
|
3068
|
+
let r = [], n = null, { children: o } = u.node;
|
|
3069
|
+
for (let [a, i] of o.entries()) switch (ze(i)) {
|
|
3070
|
+
case "start":
|
|
3071
|
+
n === null && (n = { index: a, offset: i.position.end.offset });
|
|
3072
|
+
break;
|
|
3073
|
+
case "end":
|
|
3074
|
+
n !== null && (r.push({ start: n, end: { index: a, offset: i.position.start.offset } }), n = null);
|
|
3075
|
+
break;
|
|
3076
|
+
}
|
|
3077
|
+
return fu(u, e, t, { processor({ index: a }) {
|
|
3078
|
+
if (r.length > 0) {
|
|
3079
|
+
let i = r[0];
|
|
3080
|
+
if (a === i.start.index) return [It(o[i.start.index]), e.originalText.slice(i.start.offset, i.end.offset), It(o[i.end.index])];
|
|
3081
|
+
if (i.start.index < a && a < i.end.index) return !1;
|
|
3082
|
+
if (a === i.end.index) return r.shift(), !1;
|
|
3083
|
+
}
|
|
3084
|
+
return t();
|
|
3085
|
+
} });
|
|
3086
|
+
}
|
|
3087
|
+
function It(u) {
|
|
3088
|
+
if (u.type === "html") return u.value;
|
|
3089
|
+
if (u.type === "paragraph" && Array.isArray(u.children) && u.children.length === 1 && u.children[0].type === "esComment") return ["{/* ", u.children[0].value, " */}"];
|
|
3090
|
+
}
|
|
3091
|
+
function Ii(u) {
|
|
3092
|
+
let e = u.findAncestor((t) => t.type === "linkReference" || t.type === "imageReference");
|
|
3093
|
+
return e && (e.type !== "linkReference" || e.referenceType !== "full");
|
|
3094
|
+
}
|
|
3095
|
+
var Pi = (u, e) => {
|
|
3096
|
+
for (let t of e) u = su(0, u, t, encodeURIComponent(t));
|
|
3097
|
+
return u;
|
|
3098
|
+
};
|
|
3099
|
+
function $e(u, e = []) {
|
|
3100
|
+
let t = [" ", ...Array.isArray(e) ? e : [e]];
|
|
3101
|
+
return new RegExp(t.map((r) => he(r)).join("|"), "u").test(u) ? `<${Pi(u, "<>")}>` : u;
|
|
3102
|
+
}
|
|
3103
|
+
function Be(u, e, t = !0) {
|
|
3104
|
+
if (!u) return "";
|
|
3105
|
+
if (t) return " " + Be(u, e, !1);
|
|
3106
|
+
if (u = su(0, u, /\\(?=["')])/gu, ""), u.includes('"') && u.includes("'") && !u.includes(")")) return `(${u})`;
|
|
3107
|
+
let r = Co(u, e.singleQuote);
|
|
3108
|
+
return u = su(0, u, "\\", "\\\\"), u = su(0, u, r, `\\${r}`), `${r}${u}${r}`;
|
|
3109
|
+
}
|
|
3110
|
+
function ji(u) {
|
|
3111
|
+
return u.index > 0 && ze(u.previous) === "next";
|
|
3112
|
+
}
|
|
3113
|
+
function Ue(u) {
|
|
3114
|
+
return `[${(0, Sn.default)(u.label)}]`;
|
|
3115
|
+
}
|
|
3116
|
+
function Pt(u) {
|
|
3117
|
+
return `[^${u.label}]`;
|
|
3118
|
+
}
|
|
3119
|
+
var zi = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, preprocess: ki, print: Ni, embed: Qo, massageAstNode: Wo, hasPrettierIgnore: ji, insertPragma: _o, getVisitorKeys: ni }, $i = zi, Ui = [{ name: "Markdown", type: "prose", aceMode: "markdown", extensions: [".md", ".livemd", ".markdown", ".mdown", ".mdwn", ".mkd", ".mkdn", ".mkdown", ".ronn", ".scd", ".workbook"], filenames: ["contents.lr", "README"], tmScope: "text.md", aliases: ["md", "pandoc"], codemirrorMode: "gfm", codemirrorMimeType: "text/x-gfm", wrap: !0, parsers: ["markdown"], vscodeLanguageIds: ["markdown"], linguistLanguageId: 222 }, { name: "MDX", type: "prose", aceMode: "markdown", extensions: [".mdx"], filenames: [], tmScope: "text.md", aliases: ["md", "pandoc"], codemirrorMode: "gfm", codemirrorMimeType: "text/x-gfm", wrap: !0, parsers: ["mdx"], vscodeLanguageIds: ["mdx"], linguistLanguageId: 222 }], jt = { singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] } }, Mi = { proseWrap: jt.proseWrap, singleQuote: jt.singleQuote }, _i = Mi, zt = {};
|
|
3120
|
+
He(zt, { markdown: () => Ht, mdx: () => sa, remark: () => Ht });
|
|
3121
|
+
var Vi = $u(tr()), Wi = $u(or()), Hi = $u(fn()), Gi = $u(bn()), Ji = /^import\s/u, Xi = /^export\s/u, Yi = "[a-z][a-z0-9]*(\\.[a-z][a-z0-9]*)*|", Qi = /<!---->|<!---?[^>-](?:-?[^-])*-->/u, Zi = /^\{\s*\/\*(.*)\*\/\s*\}/u, Ki = (u) => Ji.test(u), $t = (u) => Xi.test(u), Ut = (u) => Ki(u) || $t(u), Me = (u, e) => {
|
|
3122
|
+
let t = e.indexOf(`
|
|
3123
|
+
|
|
3124
|
+
`), r = t === -1 ? e : e.slice(0, t);
|
|
3125
|
+
if (Ut(r)) return u(r)({ type: $t(r) ? "export" : "import", value: r });
|
|
3126
|
+
};
|
|
3127
|
+
Me.notInBlock = !0, Me.locator = (u) => Ut(u) ? -1 : 1;
|
|
3128
|
+
var Mt = (u, e) => {
|
|
3129
|
+
let t = Zi.exec(e);
|
|
3130
|
+
if (t) return u(t[0])({ type: "esComment", value: t[1].trim() });
|
|
3131
|
+
};
|
|
3132
|
+
Mt.locator = (u, e) => u.indexOf("{", e);
|
|
3133
|
+
var ua = function() {
|
|
3134
|
+
let { Parser: u } = this, { blockTokenizers: e, blockMethods: t, inlineTokenizers: r, inlineMethods: n } = u.prototype;
|
|
3135
|
+
e.esSyntax = Me, r.esComment = Mt, t.splice(t.indexOf("paragraph"), 0, "esSyntax"), n.splice(n.indexOf("text"), 0, "esComment");
|
|
3136
|
+
}, ea = function() {
|
|
3137
|
+
let u = this.Parser.prototype;
|
|
3138
|
+
u.blockMethods = ["frontMatter", ...u.blockMethods], u.blockTokenizers.frontMatter = e;
|
|
3139
|
+
function e(t, r) {
|
|
3140
|
+
let { frontMatter: n } = Ee(r);
|
|
3141
|
+
if (n) return t(n.raw)({ ...n, type: "frontMatter" });
|
|
3142
|
+
}
|
|
3143
|
+
e.onlyAtStart = !0;
|
|
3144
|
+
}, ta = ea;
|
|
3145
|
+
function ra() {
|
|
3146
|
+
return (u) => Xu(u, (e, t, [r]) => e.type !== "html" || Qi.test(e.value) || xt.has(r.type) ? e : { ...e, type: "jsx" });
|
|
3147
|
+
}
|
|
3148
|
+
var na = ra, oa = function() {
|
|
3149
|
+
let u = this.Parser.prototype, e = u.inlineMethods;
|
|
3150
|
+
e.splice(e.indexOf("text"), 0, "liquid"), u.inlineTokenizers.liquid = t;
|
|
3151
|
+
function t(r, n) {
|
|
3152
|
+
let o = n.match(/^(\{%.*?%\}|\{\{.*?\}\})/su);
|
|
3153
|
+
if (o) return r(o[0])({ type: "liquidNode", value: o[0] });
|
|
3154
|
+
}
|
|
3155
|
+
t.locator = function(r, n) {
|
|
3156
|
+
return r.indexOf("{", n);
|
|
3157
|
+
};
|
|
3158
|
+
}, ia = oa, aa = function() {
|
|
3159
|
+
let u = "wikiLink", e = /^\[\[(?<linkContents>.+?)\]\]/su, t = this.Parser.prototype, r = t.inlineMethods;
|
|
3160
|
+
r.splice(r.indexOf("link"), 0, u), t.inlineTokenizers.wikiLink = n;
|
|
3161
|
+
function n(o, a) {
|
|
3162
|
+
let i = e.exec(a);
|
|
3163
|
+
if (i) {
|
|
3164
|
+
let D = i.groups.linkContents.trim();
|
|
3165
|
+
return o(i[0])({ type: u, value: D });
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
n.locator = function(o, a) {
|
|
3169
|
+
return o.indexOf("[", a);
|
|
3170
|
+
};
|
|
3171
|
+
}, Da = aa;
|
|
3172
|
+
function _t({ isMDX: u }) {
|
|
3173
|
+
return (e) => {
|
|
3174
|
+
let t = (0, Gi.default)().use(Hi.default, { commonmark: !0, ...u && { blocks: [Yi] } }).use(Vi.default).use(ta).use(Wi.default).use(u ? ua : Vt).use(ia).use(u ? na : Vt).use(Da);
|
|
3175
|
+
return t.run(t.parse(e));
|
|
3176
|
+
};
|
|
3177
|
+
}
|
|
3178
|
+
function Vt() {
|
|
3179
|
+
}
|
|
3180
|
+
var Wt = { astFormat: "mdast", hasPragma: Et, hasIgnorePragma: Mo, locStart: me, locEnd: ve }, Ht = { ...Wt, parse: _t({ isMDX: !1 }) }, sa = { ...Wt, parse: _t({ isMDX: !0 }) }, la = { mdast: $i };
|
|
3181
|
+
return er(rt);
|
|
3182
|
+
});
|
|
3183
|
+
})(We)), We.exports;
|
|
3184
|
+
}
|
|
3185
|
+
var Zt = /* @__PURE__ */ ha();
|
|
3186
|
+
const Fa = /* @__PURE__ */ fa(Zt), Ca = /* @__PURE__ */ pa({
|
|
3187
|
+
__proto__: null,
|
|
3188
|
+
default: Fa
|
|
3189
|
+
}, [Zt]);
|
|
3190
|
+
export {
|
|
3191
|
+
Ca as m
|
|
3192
|
+
};
|